mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
171 lines
6.3 MiB
171 lines
6.3 MiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0000":function(e,t,r){"use strict";e.exports=p;var n=r("92ba"),i=r("24ad").compareCells;function o(e,t,r){this.vertices=e,this.adjacent=t,this.boundary=r,this.lastVisited=-1}function a(e,t,r){this.vertices=e,this.cell=t,this.index=r}function s(e,t){return i(e.vertices,t.vertices)}function l(e){for(var t=["function orient(){var tuple=this.tuple;return test("],r=0;r<=e;++r)r>0&&t.push(","),t.push("tuple[",r,"]");t.push(")}return orient");var i=new Function("test",t.join("")),o=n[e+1];return o||(o=n),i(o)}o.prototype.flip=function(){var e=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=e;var t=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=t};var u=[];function c(e,t,r){this.dimension=e,this.vertices=t,this.simplices=r,this.interior=r.filter((function(e){return!e.boundary})),this.tuple=new Array(e+1);for(var n=0;n<=e;++n)this.tuple[n]=this.vertices[n];var i=u[e];i||(i=u[e]=l(e)),this.orient=i}var f=c.prototype;function p(e,t){var r=e.length;if(0===r)throw new Error("Must have at least d+1 points");var i=e[0].length;if(r<=i)throw new Error("Must input at least d+1 points");var a=e.slice(0,i+1),s=n.apply(void 0,a);if(0===s)throw new Error("Input not in general position");for(var l=new Array(i+1),u=0;u<=i;++u)l[u]=u;s<0&&(l[0]=1,l[1]=0);var f=new o(l,new Array(i+1),!1),p=f.adjacent,d=new Array(i+2);for(u=0;u<=i;++u){for(var h=l.slice(),v=0;v<=i;++v)v===u&&(h[v]=-1);var m=h[0];h[0]=h[1],h[1]=m;var g=new o(h,new Array(i+1),!0);p[u]=g,d[u]=g}d[i+1]=f;for(u=0;u<=i;++u){h=p[u].vertices;var y=p[u].adjacent;for(v=0;v<=i;++v){var b=h[v];if(b<0)y[v]=f;else for(var x=0;x<=i;++x)p[x].vertices.indexOf(b)<0&&(y[v]=p[x])}}var A=new c(i,a,d),w=!!t;for(u=i+1;u<r;++u)A.insert(e[u],w);return A.boundary()}f.handleBoundaryDegeneracy=function(e,t){var r=this.dimension,n=this.vertices.length-1,i=this.tuple,o=this.vertices,a=[e];e.lastVisited=-n;while(a.length>0){e=a.pop();e.vertices;for(var s=e.adjacent,l=0;l<=r;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-n)){for(var c=u.vertices,f=0;f<=r;++f){var p=c[f];i[f]=p<0?t:o[p]}var d=this.orient();if(d>0)return u;u.lastVisited=-n,0===d&&a.push(u)}}}return null},f.walk=function(e,t){var r=this.vertices.length-1,n=this.dimension,i=this.vertices,o=this.tuple,a=t?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[a];e:while(!s.boundary){for(var l=s.vertices,u=s.adjacent,c=0;c<=n;++c)o[c]=i[l[c]];s.lastVisited=r;for(c=0;c<=n;++c){var f=u[c];if(!(f.lastVisited>=r)){var p=o[c];o[c]=e;var d=this.orient();if(o[c]=p,d<0){s=f;continue e}f.boundary?f.lastVisited=-r:f.lastVisited=r}}return}return s},f.addPeaks=function(e,t){var r=this.vertices.length-1,n=this.dimension,i=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,f=[t];t.lastVisited=r,t.vertices[t.vertices.indexOf(-1)]=r,t.boundary=!1,u.push(t);var p=[];while(f.length>0){t=f.pop();var d=t.vertices,h=t.adjacent,v=d.indexOf(r);if(!(v<0))for(var m=0;m<=n;++m)if(m!==v){var g=h[m];if(g.boundary&&!(g.lastVisited>=r)){var y=g.vertices;if(g.lastVisited!==-r){for(var b=0,x=0;x<=n;++x)y[x]<0?(b=x,l[x]=e):l[x]=i[y[x]];var A=this.orient();if(A>0){y[b]=r,g.boundary=!1,u.push(g),f.push(g),g.lastVisited=r;continue}g.lastVisited=-r}var w=g.adjacent,_=d.slice(),E=h.slice(),k=new o(_,E,!0);c.push(k);var T=w.indexOf(t);if(!(T<0)){w[T]=k,E[v]=g,_[m]=-1,E[m]=t,h[m]=k,k.flip();for(x=0;x<=n;++x){var C=_[x];if(!(C<0||C===r)){for(var S=new Array(n-1),O=0,M=0;M<=n;++M){var P=_[M];P<0||M===x||(S[O++]=P)}p.push(new a(S,k,x))}}}}}}p.sort(s);for(m=0;m+1<p.length;m+=2){var B=p[m],L=p[m+1],D=B.index,I=L.index;D<0||I<0||(B.cell.adjacent[B.index]=L.cell,L.cell.adjacent[L.index]=B.cell)}},f.insert=function(e,t){var r=this.vertices;r.push(e);var n=this.walk(e,t);if(n){for(var i=this.dimension,o=this.tuple,a=0;a<=i;++a){var s=n.vertices[a];o[a]=s<0?e:r[s]}var l=this.orient(o);l<0||(0!==l||(n=this.handleBoundaryDegeneracy(n,e),n))&&this.addPeaks(e,n)}},f.boundary=function(){for(var e=this.dimension,t=[],r=this.simplices,n=r.length,i=0;i<n;++i){var o=r[i];if(o.boundary){for(var a=new Array(e),s=o.vertices,l=0,u=0,c=0;c<=e;++c)s[c]>=0?a[l++]=s[c]:u=1&c;if(u===(1&e)){var f=a[0];a[0]=a[1],a[1]=f}t.push(a)}}return t}},"0004":function(e,t,r){var n=r("8586");function i(e,t){var r=n(t),i=[];return i=i.concat(r(e)),i=i.concat(r(null)),i}e.exports=i},"0005":function(e,t,r){"use strict";function n(e){for(var t=1,r=1;r<e.length;++r)for(var n=0;n<r;++n)if(e[r]<e[n])t=-t;else if(e[n]===e[r])return 0;return t}e.exports=n},"000c":function(e,t,r){"use strict";e.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(e){return e.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(e){var t=e.slice(0,3);return t[1]=t[1]+"%",t[2]=t[2]+"%",t},suffix:["°","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(e){var t=e.slice(0,4);return t[1]=t[1]+"%",t[2]=t[2]+"%",t},suffix:["°","%","%",""]}}}},"000f":function(e,t,r){"use strict";e.exports=x;var n=r("efce"),i=r("b205"),o=r("1d5b"),a=new Uint8Array(4),s=new Float32Array(a.buffer);function l(e,t,r,n){return a[0]=n,a[1]=r,a[2]=t,a[3]=e,s[0]}var u=r("b482"),c=r("b5bb"),f=r("fd01"),p=f.createShader,d=f.createPickShader,h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function v(e,t){for(var r=0,n=0;n<3;++n){var i=e[n]-t[n];r+=i*i}return Math.sqrt(r)}function m(e){for(var t=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],r=0;r<3;++r)t[0][r]=Math.max(e[0][r],t[0][r]),t[1][r]=Math.min(e[1][r],t[1][r]);return t}function g(e,t,r,n){this.arcLength=e,this.position=t,this.index=r,this.dataCoordinate=n}function y(e,t,r,n,i,o){this.gl=e,this.shader=t,this.pickShader=r,this.buffer=n,this.vao=i,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=o,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=y.prototype;function x(e){var t=e.gl||e.scene&&e.scene.gl,r=p(t);r.attributes.position.location=0,r.attributes.nextPosition.location=1,r.attributes.arcLength.location=2,r.attributes.lineWidth.location=3,r.attributes.color.location=4;var a=d(t);a.attributes.position.location=0,a.attributes.nextPosition.location=1,a.attributes.arcLength.location=2,a.attributes.lineWidth.location=3,a.attributes.color.location=4;for(var s=n(t),l=i(t,[{buffer:s,size:3,offset:0,stride:48},{buffer:s,size:3,offset:12,stride:48},{buffer:s,size:1,offset:24,stride:48},{buffer:s,size:1,offset:28,stride:48},{buffer:s,size:4,offset:32,stride:48}]),u=c(new Array(1024),[256,1,4]),f=0;f<1024;++f)u.data[f]=255;var h=o(t,u);h.wrap=t.REPEAT;var v=new y(t,r,a,s,l,h);return v.update(e),v}b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(e){this.pickId=e},b.drawTransparent=b.draw=function(e){if(this.vertexCount){var t=this.gl,r=this.shader,n=this.vao;r.bind(),r.uniforms={model:e.model||h,view:e.view||h,projection:e.projection||h,clipBounds:m(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[t.drawingBufferWidth,t.drawingBufferHeight],pixelRatio:this.pixelRatio},n.bind(),n.draw(t.TRIANGLE_STRIP,this.vertexCount),n.unbind()}},b.drawPick=function(e){if(this.vertexCount){var t=this.gl,r=this.pickShader,n=this.vao;r.bind(),r.uniforms={model:e.model||h,view:e.view||h,projection:e.projection||h,pickId:this.pickId,clipBounds:m(this.clipBounds),screenShape:[t.drawingBufferWidth,t.drawingBufferHeight],pixelRatio:this.pixelRatio},n.bind(),n.draw(t.TRIANGLE_STRIP,this.vertexCount),n.unbind()}},b.update=function(e){var t,r;this.dirty=!0;var n=!!e.connectGaps;"dashScale"in e&&(this.dashScale=e.dashScale),this.hasAlpha=!1,"opacity"in e&&(this.opacity=+e.opacity,this.opacity<1&&(this.hasAlpha=!0));var i=[],o=[],a=[],s=0,l=0,f=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],p=e.position||e.positions;if(p){var d=e.color||e.colors||[0,0,0,1],h=e.lineWidth||1,m=!1;e:for(t=1;t<p.length;++t){var g,y,b,x=p[t-1],A=p[t];for(o.push(s),a.push(x.slice()),r=0;r<3;++r){if(isNaN(x[r])||isNaN(A[r])||!isFinite(x[r])||!isFinite(A[r])){if(!n&&i.length>0){for(var w=0;w<24;++w)i.push(i[i.length-12]);l+=2,m=!0}continue e}f[0][r]=Math.min(f[0][r],x[r],A[r]),f[1][r]=Math.max(f[1][r],x[r],A[r])}Array.isArray(d[0])?(g=d.length>t-1?d[t-1]:d.length>0?d[d.length-1]:[0,0,0,1],y=d.length>t?d[t]:d.length>0?d[d.length-1]:[0,0,0,1]):g=y=d,3===g.length&&(g=[g[0],g[1],g[2],1]),3===y.length&&(y=[y[0],y[1],y[2],1]),!this.hasAlpha&&g[3]<1&&(this.hasAlpha=!0),b=Array.isArray(h)?h.length>t-1?h[t-1]:h.length>0?h[h.length-1]:[0,0,0,1]:h;var _=s;if(s+=v(x,A),m){for(r=0;r<2;++r)i.push(x[0],x[1],x[2],A[0],A[1],A[2],_,b,g[0],g[1],g[2],g[3]);l+=2,m=!1}i.push(x[0],x[1],x[2],A[0],A[1],A[2],_,b,g[0],g[1],g[2],g[3],x[0],x[1],x[2],A[0],A[1],A[2],_,-b,g[0],g[1],g[2],g[3],A[0],A[1],A[2],x[0],x[1],x[2],s,-b,y[0],y[1],y[2],y[3],A[0],A[1],A[2],x[0],x[1],x[2],s,b,y[0],y[1],y[2],y[3]),l+=4}}if(this.buffer.update(i),o.push(s),a.push(p[p.length-1].slice()),this.bounds=f,this.vertexCount=l,this.points=a,this.arcLength=o,"dashes"in e){var E=e.dashes,k=E.slice();for(k.unshift(0),t=1;t<k.length;++t)k[t]=k[t-1]+k[t];var T=c(new Array(1024),[256,1,4]);for(t=0;t<256;++t){for(r=0;r<4;++r)T.set(t,0,r,0);1&u.le(k,k[k.length-1]*t/255)?T.set(t,0,0,0):T.set(t,0,0,255)}this.texture.setPixels(T)}},b.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()},b.pick=function(e){if(!e)return null;if(e.id!==this.pickId)return null;var t=l(e.value[0],e.value[1],e.value[2],0),r=u.le(this.arcLength,t);if(r<0)return null;if(r===this.arcLength.length-1)return new g(this.arcLength[this.arcLength.length-1],this.points[this.points.length-1].slice(),r);for(var n=this.points[r],i=this.points[Math.min(r+1,this.points.length-1)],o=(t-this.arcLength[r])/(this.arcLength[r+1]-this.arcLength[r]),a=1-o,s=[0,0,0],c=0;c<3;++c)s[c]=a*n[c]+o*i[c];var f=Math.min(o<.5?r:r+1,this.points.length-1);return new g(t,s,f,this.points[f])}},"0052":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("path",{fill:"currentColor",d:"M10.11 11.24h19.43v39.13H10.11zM30.58 11.24h19.56v21.49H30.58zM30.58 33.7h19.56v16.66H30.58z"}))};t.default=u},"0054":function(e,t,r){"use strict";var n=r("3aa8");e.exports=function(e,t){t.surfacecolor?n(e,t,{vals:t.surfacecolor,containerStr:"",cLetter:"c"}):n(e,t,{vals:t.z,containerStr:"",cLetter:"c"})}},"0082":function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=[];e.exports=function(e,t){if(-1===o.indexOf(e)){o.push(e);var r=1e3;i(t)?r=t:"long"===t&&(r=3e3);var a=n.select("body").selectAll(".plotly-notifier").data([0]);a.enter().append("div").classed("plotly-notifier",!0);var s=a.selectAll(".notifier-note").data(o);s.enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var i=n.select(this);i.append("button").classed("notifier-close",!0).html("×").on("click",(function(){i.transition().call(l)}));for(var o=i.append("p"),a=e.split(/<br\s*\/?>/g),s=0;s<a.length;s++)s&&o.append("br"),o.append("span").text(a[s]);"stick"===t?i.transition().duration(350).style("opacity",1):i.transition().duration(700).style("opacity",1).transition().delay(r).call(l)}))}function l(e){e.duration(700).style("opacity",0).each("end",(function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),n.select(this).remove()}))}}},"00a3":function(e,t,r){"use strict";function n(e,t,r,n){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+r;return t=Math.max(0,Math.min(t,n)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}e.exports=n},"00ac":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=s(r("4d26"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(){return c(this,r),t.apply(this,arguments)}return p(r,[{key:"render",value:function(){var e=this.props,t=e.backgroundDark,r=e.children,n=e.onClose,o=e.relative,s=(0,a.default)("modalbox",{"modalbox--dark":t,"modalbox--relative":o});return i.default.createElement("div",{className:s},i.default.createElement("div",{className:"modalbox__cover",onClick:n}),i.default.createElement("div",{className:"modalbox__content"},r))}}]),r}(i.Component);t.default=x,x.propTypes={backgroundDark:o.default.bool,relative:o.default.bool,children:o.default.node,onClose:o.default.func}},"00bd":function(e,t,r){"use strict";var n={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,r){var i,o,a,s,l,u={},c=!1,f=-1,p=0,d=-1;for(o=0;o<r.length;o++)i=r[o][0].trace,a=i.stackgroup||"",a?a in u?l=u[a]:(l=u[a]=p,p++):i.fill in n&&d>=0?l=d:(l=d=p,p++),l<f&&(c=!0),i._groupIndex=f=l;var h=r.slice();c&&h.sort((function(e,t){var r=e[0].trace,n=t[0].trace;return r._groupIndex-n._groupIndex||r.index-n.index}));var v={};for(o=0;o<h.length;o++)i=h[o][0].trace,a=i.stackgroup||"",!0===i.visible?(i._nexttrace=null,i.fill in n&&(s=v[a],i._prevtrace=s||null,s&&(s._nexttrace=i)),i._ownfill=i.fill&&("tozero"===i.fill.substr(0,6)||"toself"===i.fill||"to"===i.fill.substr(0,2)&&!i._prevtrace),v[a]=i):i._prevtrace=i._nexttrace=i._ownfill=null;return h}},"00d6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M15 7.063H6v4.625h9zm11 0h-9v4.625h9zM6 24.938h9v-4.625H6zm11 0h9v-4.625h-9zm-5.5-6.625h9v-4.625h-9zm11-4.625v4.625h9v-4.625zm-13 0h-9v4.625h9z"}))};t.default=u},"00ee":function(e,t,r){var n=r("b622"),i=n("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"00fd":function(e,t,r){var n=r("9e69"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;function l(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(l){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}e.exports=l},"00fe":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"ohlc",basePlotModule:r("91cd"),categories:["cartesian","svg","showLegend"],meta:{description:["The ohlc (short for Open-High-Low-Close) is a style of financial chart describing","open, high, low and close for a given `x` coordinate (most likely time).","The tip of the lines represent the `low` and `high` values and","the horizontal segments represent the `open` and `close` values.","Sample points where the close value is higher (lower) then the open","value are called increasing (decreasing).","By default, increasing items are drawn in green whereas","decreasing are drawn in red."].join(" ")},attributes:r("6657"),supplyDefaults:r("9143"),calc:r("bb14").calc,plot:r("a56d"),style:r("b0f1"),hoverPoints:r("d945").hoverPoints,selectPoints:r("ab9c")}},"0103":function(e,t,r){"use strict";var n=r("7f20"),i=r("7831");function o(e){return e instanceof Uint8Array||e instanceof Uint8ClampedArray||!!(Array.isArray(e)&&(e[0]>1||0===e[0])&&(e[1]>1||0===e[1])&&(e[2]>1||0===e[2])&&(!e[3]||e[3]>1))}e.exports=function(e,t){"float"!==t&&t||(t="array"),"uint"===t&&(t="uint8"),"uint_clamped"===t&&(t="uint8_clamped");var r=i(t),a=new r(4),s="uint8"!==t&&"uint8_clamped"!==t;return e.length&&"string"!==typeof e||(e=n(e),e[0]/=255,e[1]/=255,e[2]/=255),o(e)?(a[0]=e[0],a[1]=e[1],a[2]=e[2],a[3]=null!=e[3]?e[3]:255,s&&(a[0]/=255,a[1]/=255,a[2]/=255,a[3]/=255),a):(s?(a[0]=e[0],a[1]=e[1],a[2]=e[2],a[3]=null!=e[3]?e[3]:1):(a[0]=Math.min(Math.max(Math.floor(255*e[0]),0),255),a[1]=Math.min(Math.max(Math.floor(255*e[1]),0),255),a[2]=Math.min(Math.max(Math.floor(255*e[2]),0),255),a[3]=null==e[3]?255:Math.min(Math.max(Math.floor(255*e[3]),0),255)),a)}},"0119":function(e,t,r){"use strict";e.exports=i;var n=32;function i(e,t){t<=4*n?o(0,t-1,e):p(0,t-1,e)}function o(e,t,r){for(var n=2*(e+1),i=e+1;i<=t;++i){var o=r[n++],a=r[n++],s=i,l=n-2;while(s-- >e){var u=r[l-2],c=r[l-1];if(u<o)break;if(u===o&&c<a)break;r[l]=u,r[l+1]=c,l-=2}r[l]=o,r[l+1]=a}}function a(e,t,r){e*=2,t*=2;var n=r[e],i=r[e+1];r[e]=r[t],r[e+1]=r[t+1],r[t]=n,r[t+1]=i}function s(e,t,r){e*=2,t*=2,r[e]=r[t],r[e+1]=r[t+1]}function l(e,t,r,n){e*=2,t*=2,r*=2;var i=n[e],o=n[e+1];n[e]=n[t],n[e+1]=n[t+1],n[t]=n[r],n[t+1]=n[r+1],n[r]=i,n[r+1]=o}function u(e,t,r,n,i){e*=2,t*=2,i[e]=i[t],i[t]=r,i[e+1]=i[t+1],i[t+1]=n}function c(e,t,r){e*=2,t*=2;var n=r[e],i=r[t];return!(n<i)&&(n!==i||r[e+1]>r[t+1])}function f(e,t,r,n){e*=2;var i=n[e];return i<t||i===t&&n[e+1]<r}function p(e,t,r){var i=(t-e+1)/6|0,d=e+i,h=t-i,v=e+t>>1,m=v-i,g=v+i,y=d,b=m,x=v,A=g,w=h,_=e+1,E=t-1,k=0;c(y,b,r)&&(k=y,y=b,b=k),c(A,w,r)&&(k=A,A=w,w=k),c(y,x,r)&&(k=y,y=x,x=k),c(b,x,r)&&(k=b,b=x,x=k),c(y,A,r)&&(k=y,y=A,A=k),c(x,A,r)&&(k=x,x=A,A=k),c(b,w,r)&&(k=b,b=w,w=k),c(b,x,r)&&(k=b,b=x,x=k),c(A,w,r)&&(k=A,A=w,w=k);for(var T=r[2*b],C=r[2*b+1],S=r[2*A],O=r[2*A+1],M=2*y,P=2*x,B=2*w,L=2*d,D=2*v,I=2*h,j=0;j<2;++j){var R=r[M+j],F=r[P+j],N=r[B+j];r[L+j]=R,r[D+j]=F,r[I+j]=N}s(m,e,r),s(g,t,r);for(var z=_;z<=E;++z)if(f(z,T,C,r))z!==_&&a(z,_,r),++_;else if(!f(z,S,O,r))while(1){if(f(E,S,O,r)){f(E,T,C,r)?(l(z,_,E,r),++_,--E):(a(z,E,r),--E);break}if(--E<z)break}u(e,_-1,T,C,r),u(t,E+1,S,O,r),_-2-e<=n?o(e,_-2,r):p(e,_-2,r),t-(E+2)<=n?o(E+2,t,r):p(E+2,t,r),E-_<=n?o(_,E,r):p(_,E,r)}},"014c":function(e,t,r){"use strict";e.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},"019a":function(e,t,r){"use strict";e.exports=l;var n=r("0642"),i=r("fc26"),o=["xaxis","yaxis","zaxis"],a=[0,0,0];function s(e){for(var t=new Array(3),r=0;r<3;++r){for(var n=e[r],i=new Array(n.length),o=0;o<n.length;++o)i[o]=n[o].x;t[r]=i}return t}function l(e){for(var t=e.axesOptions,r=e.glplot.axesPixels,l=e.fullSceneLayout,u=[[],[],[]],c=0;c<3;++c){var f=l[o[c]];if(f._length=(r[c].hi-r[c].lo)*r[c].pixelsPerDataUnit/e.dataScale[c],Math.abs(f._length)===1/0||isNaN(f._length))u[c]=[];else{f._input_range=f.range.slice(),f.range[0]=r[c].lo/e.dataScale[c],f.range[1]=r[c].hi/e.dataScale[c],f._m=1/(e.dataScale[c]*r[c].pixelsPerDataUnit),f.range[0]===f.range[1]&&(f.range[0]-=1,f.range[1]+=1);var p=f.tickmode;if("auto"===f.tickmode){f.tickmode="linear";var d=f.nticks||i.constrain(f._length/40,4,9);n.autoTicks(f,Math.abs(f.range[1]-f.range[0])/d)}for(var h=n.calcTicks(f,{msUTC:!0}),v=0;v<h.length;++v)h[v].x=h[v].x*e.dataScale[c],"date"===f.type&&(h[v].text=h[v].text.replace(/\<br\>/g," "));u[c]=h,f.tickmode=p}}t.ticks=u;for(c=0;c<3;++c){a[c]=.5*(e.glplot.bounds[0][c]+e.glplot.bounds[1][c]);for(v=0;v<2;++v)t.bounds[v][c]=e.glplot.bounds[v][c]}e.contourLevels=s(u)}},"01a1":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,15H15C15,16.66 13.66,18 12,18C10.34,18 9,16.66 9,15H5V5H19M19,3H5C3.89,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3Z"}))};e.exports=s},"01db":function(e,t,r){"use strict";e.exports=r("b964")},"020f":function(e,t,r){var n=r("242e"),i=r("1304");function o(e,t){return e&&n(e,i(t))}e.exports=o},"0226":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5C20.55,15.5 21,15.95 21,16.5V20C21,20.55 20.55,21 20,21C10.61,21 3,13.39 3,4C3,3.45 3.45,3 4,3H7.5C8.05,3 8.5,3.45 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"}))};e.exports=s},"0230":function(e,t,r){var n=r("320c");function i(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function o(e,t,r,n){if(this._calendar=e,this._year=t,this._month=r,this._day=n,0===this._calendar._validateLevel&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function a(e,t){return e=""+e,"000000".substring(0,t-e.length)+e}function s(){this.shortYearCutoff="+10"}function l(e){this.local=this.regionalOptions[e]||this.regionalOptions[""]}n(i.prototype,{instance:function(e,t){e=(e||"gregorian").toLowerCase(),t=t||"";var r=this._localCals[e+"-"+t];if(!r&&this.calendars[e]&&(r=new this.calendars[e](t),this._localCals[e+"-"+t]=r),!r)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,e);return r},newDate:function(e,t,r,n,i){return n=(null!=e&&e.year?e.calendar():"string"===typeof n?this.instance(n,i):n)||this.instance(),n.newDate(e,t,r)},substituteDigits:function(e){return function(t){return(t+"").replace(/[0-9]/g,(function(t){return e[t]}))}},substituteChineseDigits:function(e,t){return function(r){var n="",i=0;while(r>0){var o=r%10;n=(0===o?"":e[o]+t[i])+n,i++,r=Math.floor(r/10)}return 0===n.indexOf(e[1]+t[1])&&(n=n.substr(1)),n||e[0]}}}),n(o.prototype,{newDate:function(e,t,r){return this._calendar.newDate(null==e?this:e,t,r)},year:function(e){return 0===arguments.length?this._year:this.set(e,"y")},month:function(e){return 0===arguments.length?this._month:this.set(e,"m")},day:function(e){return 0===arguments.length?this._day:this.set(e,"d")},date:function(e,t,r){if(!this._calendar.isValid(e,t,r))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=e,this._month=t,this._day=r,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(e,t){return this._calendar.add(this,e,t)},set:function(e,t){return this._calendar.set(this,e,t)},compareTo:function(e){if(this._calendar.name!==e._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,e._calendar.local.name);var t=this._year!==e._year?this._year-e._year:this._month!==e._month?this.monthOfYear()-e.monthOfYear():this._day-e._day;return 0===t?0:t<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(e){return this._calendar.fromJD(e)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(e){return this._calendar.fromJSDate(e)},toString:function(){return(this.year()<0?"-":"")+a(Math.abs(this.year()),4)+"-"+a(this.month(),2)+"-"+a(this.day(),2)}}),n(s.prototype,{_validateLevel:0,newDate:function(e,t,r){return null==e?this.today():(e.year&&(this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate),r=e.day(),t=e.month(),e=e.year()),new o(this,e,t,r))},today:function(){return this.fromJSDate(new Date)},epoch:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return t.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return(t.year()<0?"-":"")+a(Math.abs(t.year()),4)},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear),12},monthOfYear:function(e,t){var r=this._validate(e,t,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth);return(r.month()+this.monthsInYear(r)-this.firstMonth)%this.monthsInYear(r)+this.minMonth},fromMonthOfYear:function(e,t){var r=(t+this.firstMonth-2*this.minMonth)%this.monthsInYear(e)+this.minMonth;return this._validate(e,r,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth),r},daysInYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return this.leapYear(t)?366:365},dayOfYear:function(e,t,r){var n=this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate);return n.toJD()-this.newDate(n.year(),this.fromMonthOfYear(n.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(e,t,r){var n=this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(n))+2)%this.daysInWeek()},extraInfo:function(e,t,r){return this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate),{}},add:function(e,t,r){return this._validate(e,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate),this._correctAdd(e,this._add(e,t,r),t,r)},_add:function(e,t,r){if(this._validateLevel++,"d"===r||"w"===r){var n=e.toJD()+t*("w"===r?this.daysInWeek():1),i=e.calendar().fromJD(n);return this._validateLevel--,[i.year(),i.month(),i.day()]}try{var o=e.year()+("y"===r?t:0),a=e.monthOfYear()+("m"===r?t:0),s=(i=e.day(),function(e){while(a<e.minMonth)o--,a+=e.monthsInYear(o);var t=e.monthsInYear(o);while(a>t-1+e.minMonth)o++,a-=t,t=e.monthsInYear(o)});"y"===r?(e.month()!==this.fromMonthOfYear(o,a)&&(a=this.newDate(o,e.month(),this.minDay).monthOfYear()),a=Math.min(a,this.monthsInYear(o)),i=Math.min(i,this.daysInMonth(o,this.fromMonthOfYear(o,a)))):"m"===r&&(s(this),i=Math.min(i,this.daysInMonth(o,this.fromMonthOfYear(o,a))));var l=[o,this.fromMonthOfYear(o,a),i];return this._validateLevel--,l}catch(u){throw this._validateLevel--,u}},_correctAdd:function(e,t,r,n){if(!this.hasYearZero&&("y"===n||"m"===n)&&(0===t[0]||e.year()>0!==t[0]>0)){var i={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[n],o=r<0?-1:1;t=this._add(e,r*i[0]+o*i[1],i[2])}return e.date(t[0],t[1],t[2])},set:function(e,t,r){this._validate(e,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate);var n="y"===r?t:e.year(),i="m"===r?t:e.month(),o="d"===r?t:e.day();return"y"!==r&&"m"!==r||(o=Math.min(o,this.daysInMonth(n,i))),e.date(n,i,o)},isValid:function(e,t,r){this._validateLevel++;var n=this.hasYearZero||0!==e;if(n){var i=this.newDate(e,t,this.minDay);n=t>=this.minMonth&&t-this.minMonth<this.monthsInYear(i)&&r>=this.minDay&&r-this.minDay<this.daysInMonth(i)}return this._validateLevel--,n},toJSDate:function(e,t,r){var n=this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate);return u.instance().fromJD(this.toJD(n)).toJSDate()},fromJSDate:function(e){return this.fromJD(u.instance().fromJSDate(e).toJD())},_validate:function(e,t,r,n){if(e.year){if(0===this._validateLevel&&this.name!==e.calendar().name)throw(u.local.differentCalendars||u.regionalOptions[""].differentCalendars).replace(/\{0\}/,this.local.name).replace(/\{1\}/,e.calendar().local.name);return e}try{if(this._validateLevel++,1===this._validateLevel&&!this.isValid(e,t,r))throw n.replace(/\{0\}/,this.local.name);var i=this.newDate(e,t,r);return this._validateLevel--,i}catch(o){throw this._validateLevel--,o}}}),l.prototype=new s,n(l.prototype,{name:"Gregorian",jdEpoch:1721425.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Gregorian",epochs:["BCE","CE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);e=t.year()+(t.year()<0?1:0);return e%4===0&&(e%100!==0||e%400===0)},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(4-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var n=this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate);e=n.year(),t=n.month(),r=n.day(),e<0&&e++,t<3&&(t+=12,e--);var i=Math.floor(e/100),o=2-i+Math.floor(i/4);return Math.floor(365.25*(e+4716))+Math.floor(30.6001*(t+1))+r+o-1524.5},fromJD:function(e){var t=Math.floor(e+.5),r=Math.floor((t-1867216.25)/36524.25);r=t+1+r-Math.floor(r/4);var n=r+1524,i=Math.floor((n-122.1)/365.25),o=Math.floor(365.25*i),a=Math.floor((n-o)/30.6001),s=n-o-Math.floor(30.6001*a),l=a-(a>13.5?13:1),u=i-(l>2.5?4716:4715);return u<=0&&u--,this.newDate(u,l,s)},toJSDate:function(e,t,r){var n=this._validate(e,t,r,u.local.invalidDate||u.regionalOptions[""].invalidDate),i=new Date(n.year(),n.month()-1,n.day());return i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0),i.setHours(i.getHours()>12?i.getHours()+2:0),i},fromJSDate:function(e){return this.newDate(e.getFullYear(),e.getMonth()+1,e.getDate())}});var u=e.exports=new i;u.cdate=o,u.baseCalendar=s,u.calendars.gregorian=l},"0271":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o=n[i];return e.a=o.a,e.b=o.b,e.y=o.y,e}},"0272":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=l(i),a=r("fc55"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=1,h=38,v=40,m=[h,v],g=function(e){return m.indexOf(e)>-1},y=function(e){return Number(String(e).replace(/%/g,""))},b=1,x=t.EditableInput=function(e){function t(e){c(this,t);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t=y(e.target.value);if(!isNaN(t)&&g(e.keyCode)){var n=r.getArrowOffset(),i=e.keyCode===h?t+n:t-n;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+b++,r}return p(t,e),n(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return u({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||d}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,s.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.default.createElement("div",{style:t.wrap},o.default.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?o.default.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(i.PureComponent||i.Component);t.default=x},"02ab":function(e,t,r){"use strict";e.exports=a;var n=a.canvas=document.createElement("canvas"),i=n.getContext("2d"),o=s([32,126]);function a(e,t){Array.isArray(e)&&(e=e.join(", "));var r,n={},a=16,l=.05;t&&(2===t.length&&"number"===typeof t[0]?r=s(t):Array.isArray(t)?r=t:(t.o?r=s(t.o):t.pairs&&(r=t.pairs),t.fontSize&&(a=t.fontSize),null!=t.threshold&&(l=t.threshold))),r||(r=o),i.font=a+"px "+e;for(var u=0;u<r.length;u++){var c=r[u],f=i.measureText(c[0]).width+i.measureText(c[1]).width,p=i.measureText(c).width;if(Math.abs(f-p)>a*l){var d=(p-f)/a;n[c]=1e3*d}}return n}function s(e){for(var t=[],r=e[0];r<=e[1];r++)for(var n=String.fromCharCode(r),i=e[0];i<e[1];i++){var o=String.fromCharCode(i),a=n+o;t.push(a)}return t}a.createPairs=s,a.ascii=o},"02e4":function(e,t,r){"use strict";var n=r("98e7"),i=r("efcd").makeHoverPointText;function o(e,t,r,o){var a=e.cd,s=a[0].t,l=s.r,u=s.theta,c=n.hoverPoints(e,t,r,o);if(c&&!1!==c[0].index){var f=c[0];if(void 0===f.index)return c;var p=e.subplot,d=f.cd[f.index],h=f.trace;if(d.r=l[f.index],d.theta=u[f.index],p.isPtInside(d))return f.xLabelVal=void 0,f.yLabelVal=void 0,i(d,h,p,f),c}}e.exports={hoverPoints:o}},"02ea":function(e,t,r){"use strict";var n=r("d115"),i=r("f4e9"),o=r("94d5").hovertemplateAttrs,a=r("a876"),s=r("9092").extendFlat,l=r("cb34").overrideAll;function u(e){return{valType:"boolean",role:"info",dflt:!1,description:["Determines whether or not these contour lines are projected","on the",e,"plane.","If `highlight` is set to *true* (the default), the projected","lines are shown on hover.","If `show` is set to *true*, the projected lines are shown","in permanence."].join(" ")}}function c(e){return{show:{valType:"boolean",role:"info",dflt:!1,description:["Determines whether or not contour lines about the",e,"dimension are drawn."].join(" ")},start:{valType:"number",dflt:null,role:"style",editType:"plot",description:["Sets the starting contour level value.","Must be less than `contours.end`"].join(" ")},end:{valType:"number",dflt:null,role:"style",editType:"plot",description:["Sets the end contour level value.","Must be more than `contours.start`"].join(" ")},size:{valType:"number",dflt:null,min:0,role:"style",editType:"plot",description:["Sets the step between each contour level.","Must be positive."].join(" ")},project:{x:u("x"),y:u("y"),z:u("z")},color:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color of the contour lines."},usecolormap:{valType:"boolean",role:"info",dflt:!1,description:["An alternate to *color*.","Determines whether or not the contour lines are colored using","the trace *colorscale*."].join(" ")},width:{valType:"number",role:"style",min:1,max:16,dflt:2,description:"Sets the width of the contour lines."},highlight:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not contour lines about the",e,"dimension are highlighted on hover."].join(" ")},highlightcolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color of the highlighted contour lines."},highlightwidth:{valType:"number",role:"style",min:1,max:16,dflt:2,description:"Sets the width of the highlighted contour lines."}}}var f=e.exports=l(s({z:{valType:"data_array",description:"Sets the z coordinates."},x:{valType:"data_array",description:"Sets the x coordinates."},y:{valType:"data_array",description:"Sets the y coordinates."},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,description:["Sets the text elements associated with each z value.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,description:"Same as `text`."},hovertemplate:o(),connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in."].join(" ")},surfacecolor:{valType:"data_array",description:["Sets the surface color values,","used for setting a color scale independent of `z`."].join(" ")}},i("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:c("x"),y:c("y"),z:c("z")},hidesurface:{valType:"boolean",role:"info",dflt:!1,description:["Determines whether or not a surface is drawn.","For example, set `hidesurface` to *false*","`contours.x.show` to *true* and","`contours.y.show` to *true* to draw a wire frame plot."].join(" ")},lightposition:{x:{valType:"number",role:"style",min:-1e5,max:1e5,dflt:10,description:"Numeric vector, representing the X coordinate for each vertex."},y:{valType:"number",role:"style",min:-1e5,max:1e5,dflt:1e4,description:"Numeric vector, representing the Y coordinate for each vertex."},z:{valType:"number",role:"style",min:-1e5,max:1e5,dflt:0,description:"Numeric vector, representing the Z coordinate for each vertex."}},lighting:{ambient:{valType:"number",role:"style",min:0,max:1,dflt:.8,description:"Ambient light increases overall color visibility but can wash out the image."},diffuse:{valType:"number",role:"style",min:0,max:1,dflt:.8,description:"Represents the extent that incident rays are reflected in a range of angles."},specular:{valType:"number",role:"style",min:0,max:2,dflt:.05,description:"Represents the level that incident rays are reflected in a single direction, causing shine."},roughness:{valType:"number",role:"style",min:0,max:1,dflt:.5,description:"Alters specular reflection; the rougher the surface, the wider and less contrasty the shine."},fresnel:{valType:"number",role:"style",min:0,max:5,dflt:.2,description:["Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective","when viewing it from the edge of the paper (almost 90 degrees), causing shine."].join(" ")}},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,description:["Sets the opacity of the surface.","Please note that in the case of using high `opacity` values for example a value","greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an","overlay of multiple transparent surfaces may not perfectly be sorted in depth by the","webgl API. This behavior may be improved in the near future and is subject to change."].join(" ")},opacityscale:{valType:"any",role:"style",editType:"calc",description:["Sets the opacityscale."," The opacityscale must be an array containing"," arrays mapping a normalized value to an opacity value."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 1], [0.5, 0.2], [1, 1]]` means that higher/lower values would have"," higher opacity values and those in the middle would be more transparent"," Alternatively, `opacityscale` may be a palette name string"," of the following list: 'min', 'max', 'extremes' and 'uniform'."," The default is 'uniform'."].join("")},_deprecated:{zauto:s({},i.zauto,{description:"Obsolete. Use `cauto` instead."}),zmin:s({},i.zmin,{description:"Obsolete. Use `cmin` instead."}),zmax:s({},i.zmax,{description:"Obsolete. Use `cmax` instead."})},hoverinfo:s({},a.hoverinfo),showlegend:s({},a.showlegend,{dflt:!1})}),"calc","nested");f.x.editType=f.y.editType=f.z.editType="calc+clearAxisTypes",f.transforms=void 0},"030a":function(e,t,r){"use strict";var n=r("c17d");n.register([r("f725"),r("b7e7"),r("3eab"),r("4fc7"),r("90a6"),r("b905"),r("5cc5"),r("664d"),r("6578"),r("3efe"),r("6ca5"),r("831f"),r("4746"),r("21dd"),r("6d0a"),r("f36e"),r("a8b9"),r("372f"),r("f17e"),r("6626"),r("0eb8"),r("f522"),r("2781"),r("388d"),r("c80f"),r("46c1"),r("2f68"),r("b7bb"),r("f3ca"),r("44d4"),r("f366"),r("01db"),r("7016"),r("d47b"),r("f846"),r("aa2c"),r("82e4"),r("f2a9"),r("bd75"),r("e2f4"),r("dff2"),r("75ac"),r("1cfc"),r("ff5b"),r("2d12")]),n.register([r("2594"),r("4b14"),r("9633"),r("d2d4")]),n.register([r("e1f5")]),e.exports=n},"0316":function(e,t,r){"use strict";var n=r("0642");e.exports=function(e,t,r){var i={},o=r[t.subplot]._subplot,a=o.mockAxis,s=e.lonlat;return i.lonLabel=n.tickText(a,a.c2l(s[0]),!0).text,i.latLabel=n.tickText(a,a.c2l(s[1]),!0).text,i}},"0320":function(e,t,r){"use strict";var n=r("b3ca"),i=r("ef00"),o=r("0984"),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),l=n.hasCommandModifier,u=n.isCtrlKeyCommand;function c(e){return a&&e.altKey||u(e)}function f(e){return l(e)?e.shiftKey?"redo":"undo":null}function p(e){return!a&&e.shiftKey?null:c(e)?"delete-word":"delete"}function d(e){return l(e)&&a?"backspace-to-start-of-line":c(e)?"backspace-word":"backspace"}function h(e){switch(e.keyCode){case 66:return l(e)?"bold":null;case 68:return u(e)?"delete":null;case 72:return u(e)?"backspace":null;case 73:return l(e)?"italic":null;case 74:return l(e)?"code":null;case 75:return a&&u(e)?"secondary-cut":null;case 77:return u(e)?"split-block":null;case 79:return u(e)?"split-block":null;case 84:return a&&u(e)?"transpose-characters":null;case 85:return l(e)?"underline":null;case 87:return a&&u(e)?"backspace-word":null;case 89:return u(e)?a?"secondary-paste":"redo":null;case 90:return f(e)||null;case i.RETURN:return"split-block";case i.DELETE:return p(e);case i.BACKSPACE:return d(e);case i.LEFT:return s&&l(e)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&l(e)?"move-selection-to-end-of-block":null;default:return null}}e.exports=h},"0324":function(e,t,r){"use strict";e.exports=function(e){for(var t=0;t<e.length;t++){var r=e[t];if("scatter"===r.type){var n=r.fill;if("none"!==n&&"toself"!==n&&(r.opacity=void 0,"tonexty"===n||"tonextx"===n))for(var i=t-1;i>=0;i--){var o=e[i];if("scatter"===o.type&&o.xaxis===r.xaxis&&o.yaxis===r.yaxis){o.opacity=void 0;break}}}}}},"0359":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#25fdfc",d:"M5.087 39l9.391-12.913 8.218 7.043L37.957 12",strokeMiterlimit:"10",strokeWidth:"2.348"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M12.13 37.826l11.74-15.261 8.217 7.044 8.217-11.739",strokeMiterlimit:"10",strokeWidth:"2.348"})))};t.default=u},"0365":function(e,t){function r(e){var t=new Float32Array(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}e.exports=r},"0366":function(e,t,r){var n=r("1c0b");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},"0379":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=i.strTranslate,a=r("73c9"),s=r("63dc").LINE_SPACING;function l(e,t){return e.node().getBoundingClientRect()[t]}var u=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;t.convertToTspans=function(e,r,i){var a=e.text(),s=!e.attr("data-notex")&&"undefined"!==typeof MathJax&&a.match(u),c=n.select(e.node().parentNode);if(!c.empty()){var f=e.attr("class")?e.attr("class").split(" ")[0]:"text";return f+="-math",c.selectAll("svg."+f).remove(),c.selectAll("g."+f+"-group").remove(),e.style("display",null).attr({"data-unformatted":a,"data-math":"N"}),s?(r&&r._promises||[]).push(new Promise((function(t){e.style("display","none");var r=parseInt(e.node().style.fontSize,10),n={fontSize:r};d(s[2],n,(function(n,s,u){c.selectAll("svg."+f).remove(),c.selectAll("g."+f+"-group").remove();var d=n&&n.select("svg");if(!d||!d.node())return p(),void t();var h=c.append("g").classed(f+"-group",!0).attr({"pointer-events":"none","data-unformatted":a,"data-math":"Y"});h.node().appendChild(d.node()),s&&s.node()&&d.node().insertBefore(s.node().cloneNode(!0),d.node().firstChild),d.attr({class:f,height:u.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var v=e.node().style.fill||"black",m=d.select("g");m.attr({fill:v,stroke:v});var g=l(m,"width"),y=l(m,"height"),b=+e.attr("x")-g*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],x=r||l(e,"height"),A=-x/4;"y"===f[0]?(h.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+o(-g/2,A-y/2)}),d.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===f[0]?d.attr({x:e.attr("x"),y:A-y/2}):"a"===f[0]&&0!==f.indexOf("atitle")?d.attr({x:0,y:A}):d.attr({x:b,y:+e.attr("y")+A-y/2}),i&&i.call(e,h),t(h)}))}))):p(),e}function p(){c.empty()||(f=e.attr("class")+"-math",c.select("svg."+f).remove()),e.text("").style("white-space","pre");var r=L(e.node(),a);r&&e.style("pointer-events","all"),t.positionText(e),i&&i.call(e)}};var c=/(<|<|<)/g,f=/(>|>|>)/g;function p(e){return e.replace(c,"\\lt ").replace(f,"\\gt ")}function d(e,t,r){var o,a,s,l;MathJax.Hub.Queue((function(){return a=i.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if(o=MathJax.Hub.config.menuSettings.renderer,"SVG"!==o)return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+i.randstr({},64);return l=n.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(p(e)),MathJax.Hub.Typeset(l.node())}),(function(){var t=n.select("body").select("#MathJax_SVG_glyphs");if(l.select(".MathJax_SVG").empty()||!l.select("svg").node())i.log("There was an error in the tex syntax.",e),r();else{var a=l.select("svg").node().getBoundingClientRect();r(l.select(".MathJax_SVG"),t,a)}if(l.remove(),"SVG"!==o)return MathJax.Hub.setRenderer(o)}),(function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(a)}))}var h={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},v={sub:"0.3em",sup:"-0.6em"},m={sub:"-0.21em",sup:"0.42em"},g="",y=["http:","https:","mailto:","",void 0,":"],b=t.NEWLINES=/(\r\n?|\n)/g,x=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,w=/<br(\s+.*)?>/i;t.BR_TAG_ALL=/<br(\s+.*)?>/gi;var _=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,k=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,T=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function C(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&P(n)}var S=/(^|;)\s*color:/;t.plainText=function(e,t){t=t||{};for(var r=void 0!==t.len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],i="...",o=i.length,a=e.split(x),s=[],l="",u=0,c=0;c<a.length;c++){var f=a[c],p=f.match(A),d=p&&p[2].toLowerCase();if(d)-1!==n.indexOf(d)&&(s.push(f),l=d);else{var h=f.length;if(u+h<r)s.push(f),u+=h;else if(u<r){var v=r-u;l&&("br"!==l||v<=o||h<=o)&&s.pop(),r>o?s.push(f.substr(0,v-o)+i):s.push(f.substr(0,v));break}l=""}}return s.join("")};var O={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},M=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function P(e){return e.replace(M,(function(e,t){var r;return r="#"===t.charAt(0)?B("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):O[t],r||e}))}function B(e){if(!(e>1114111)){var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}}function L(e,t){t=t.replace(b," ");var r,o=!1,l=[],u=-1;function c(){u++;var t=document.createElementNS(a.svg,"tspan");n.select(t).attr({class:"line",dy:u*s+"em"}),e.appendChild(t),r=t;var i=l;if(l=[{node:t}],i.length>1)for(var o=1;o<i.length;o++)f(i[o])}function f(e){var t,i=e.type,o={};if("a"===i){t="a";var s=e.target,u=e.href,c=e.popup;u&&(o={"xlink:xlink:show":"_blank"===s||"_"!==s.charAt(0)?"new":"replace",target:s,"xlink:xlink:href":u},c&&(o.onclick='window.open(this.href.baseVal,this.target.baseVal,"'+c+'");return false;'))}else t="tspan";e.style&&(o.style=e.style);var f=document.createElementNS(a.svg,t);if("sup"===i||"sub"===i){p(r,g),r.appendChild(f);var d=document.createElementNS(a.svg,"tspan");p(d,g),n.select(d).attr("dy",m[i]),o.dy=v[i],r.appendChild(f),r.appendChild(d)}else r.appendChild(f);n.select(f).attr(o),r=e.node=f,l.push(e)}function p(e,t){e.appendChild(document.createTextNode(t))}function d(e){if(1!==l.length){var n=l.pop();e!==n.type&&i.log("Start tag <"+n.type+"> doesnt match end tag <"+e+">. Pretending it did match.",t),r=l[l.length-1].node}else i.log("Ignoring unexpected end tag </"+e+">.",t)}var O=w.test(t);O?c():(r=e,l=[{node:e}]);for(var M=t.split(x),B=0;B<M.length;B++){var L=M[B],D=L.match(A),I=D&&D[2].toLowerCase(),j=h[I];if("br"===I)c();else if(void 0===j)p(r,P(L));else if(D[1])d(I);else{var R=D[4],F={type:I},N=C(R,_);if(N?(N=N.replace(S,"$1 fill:"),j&&(N+=";"+j)):j&&(N=j),N&&(F.style=N),"a"===I){o=!0;var z=C(R,E);if(z){var U=document.createElement("a");U.href=z,-1!==y.indexOf(U.protocol)&&(F.href=encodeURI(decodeURI(z)),F.target=C(R,k)||"_blank",F.popup=C(R,T))}}f(F)}}return o}function D(e,t,r){var n,o,a,s=r.horizontalAlign,l=r.verticalAlign||"top",u=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return o="bottom"===l?function(){return u.bottom-n.height}:"middle"===l?function(){return u.top+(u.height-n.height)/2}:function(){return u.top},a="right"===s?function(){return u.right-n.width}:"center"===s?function(){return u.left+(u.width-n.width)/2}:function(){return u.left},function(){n=this.node().getBoundingClientRect();var e=a()-c.left,t=o()-c.top,s=r.gd||{};if(r.gd){s._fullLayout._calcInverseTransform(s);var l=i.apply3DTransform(s._fullLayout._invTransform)(e,t);e=l[0],t=l[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}t.convertEntities=P,t.sanitizeHTML=function(e){e=e.replace(b," ");for(var t=document.createElement("p"),r=t,i=[],o=e.split(x),a=0;a<o.length;a++){var s=o[a],l=s.match(A),u=l&&l[2].toLowerCase();if(u in h)if(l[1])i.length&&(r=i.pop());else{var c=l[4],f=C(c,_),p=f?{style:f}:{};if("a"===u){var d=C(c,E);if(d){var v=document.createElement("a");if(v.href=d,-1!==y.indexOf(v.protocol)){p.href=encodeURI(decodeURI(d));var m=C(c,k);m&&(p.target=m)}}}var g=document.createElement(u);r.appendChild(g),n.select(g).attr(p),r=g,i.push(g)}else r.appendChild(document.createTextNode(P(s)))}var w="innerHTML";return t[w]},t.lineCount=function(e){return e.selectAll("tspan.line").size()||1},t.positionText=function(e,t,r){return e.each((function(){var e=n.select(this);function i(t,r){return void 0===r?(r=e.attr(t),null===r&&(e.attr(t,0),r=0)):e.attr(t,r),r}var o=i("x",t),a=i("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:o,y:a})}))},t.makeEditable=function(e,t){var r=t.gd,i=t.delegate,o=n.dispatch("edit","input","cancel"),a=i||e;if(e.style({"pointer-events":i?"none":"all"}),1!==e.size())throw new Error("boo");function s(){u(),e.style({opacity:0});var t,r=a.attr("class");t=r?"."+r.split(" ")[0]+"-math-group":"[class*=-math-group]",t&&n.select(e.node().parentNode).select(t).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}function u(){var i=n.select(r),a=i.select(".svg-container"),s=a.append("div"),u=e.node().style,c=parseFloat(u.fontSize||12),f=t.text;void 0===f&&(f=e.attr("data-unformatted")),s.classed("plugin-editable editable",!0).style({position:"absolute","font-family":u.fontFamily||"Arial","font-size":c,color:t.fill||u.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-c/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(f).call(D(e,a,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,i=n.select(this).attr("class");t=i?"."+i.split(" ")[0]+"-math-group":"[class*=-math-group]",t&&n.select(e.node().parentNode).select(t).style({opacity:0});var a=this.textContent;n.select(this).transition().duration(0).remove(),n.select(document).on("mouseup",null),o.edit.call(e,a)})).on("focus",(function(){var e=this;r._editing=!0,n.select(document).on("mouseup",(function(){if(n.event.target===e)return!1;document.activeElement===s.node()&&s.node().blur()}))})).on("keyup",(function(){27===n.event.which?(r._editing=!1,e.style({opacity:1}),n.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),o.cancel.call(e,this.textContent)):(o.input.call(e,this.textContent),n.select(this).call(D(e,a,t)))})).on("keydown",(function(){13===n.event.which&&this.blur()})).call(l)}return t.immediate?s():a.on("click",s),n.rebind(e,o,"on")}},"037d":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){var r=e._fullLayout,i=t.uid,o=r._splomScenes;o||(o=r._splomScenes={});var a={dirty:!0,selectBatch:[],unselectBatch:[]},s={matrix:!1,selectBatch:[],unselectBatch:[]},l=o[t.uid];return l||(l=o[i]=n.extendFlat({},a,s),l.draw=function(){l.matrix&&l.matrix.draw&&(l.selectBatch.length||l.unselectBatch.length?l.matrix.draw(l.unselectBatch,l.selectBatch):l.matrix.draw()),l.dirty=!1},l.destroy=function(){l.matrix&&l.matrix.destroy&&l.matrix.destroy(),l.matrixOptions=null,l.selectBatch=null,l.unselectBatch=null,l=null}),l.dirty||n.extendFlat(l,a),l}},"0382":function(e,t,r){"use strict";e.exports={attributes:r("86d2"),supplyDefaults:r("447e"),calc:r("de229"),plot:r("0cc1"),style:r("464d"),hoverPoints:r("cbb8"),eventData:r("3e97"),moduleType:"trace",name:"image",basePlotModule:r("91cd"),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{description:["Display an image, i.e. data on a 2D regular raster.","By default, when an image is displayed in a subplot,","its y axis will be reversed (ie. `autorange: 'reversed'`),","constrained to the domain (ie. `constrain: 'domain'`)","and it will have the same scale as its x axis (ie. `scaleanchor: 'x,`)","in order for pixels to be rendered as squares."].join(" ")}}},"038d":function(e,t,r){"use strict";var n=r("0642"),i=r("8bd8"),o=r("fc26").fillText;function a(e,t,r){if(!t.hovertemplate){var n=r.hi||t.hoverinfo,a=String(r.loc),s="all"===n?i.hoverinfo.flags:n.split("+"),l=-1!==s.indexOf("name"),u=-1!==s.indexOf("location"),c=-1!==s.indexOf("z"),f=-1!==s.indexOf("text"),p=!l&&u,d=[];p?e.nameOverride=a:(l&&(e.nameOverride=t.name),u&&d.push(a)),c&&d.push(e.zLabel),f&&o(r,t,d),e.extraText=d.join("<br>")}}e.exports=function(e,t,r){var i,o,s,l,u=e.cd,c=u[0].trace,f=e.subplot,p=[t,r],d=[t+360,r];for(o=0;o<u.length;o++)if(i=u[o],l=!1,i._polygons){for(s=0;s<i._polygons.length;s++)i._polygons[s].contains(p)&&(l=!l),i._polygons[s].contains(d)&&(l=!l);if(l)break}if(l&&i)return e.x0=e.x1=e.xa.c2p(i.ct),e.y0=e.y1=e.ya.c2p(i.ct),e.index=i.index,e.location=i.loc,e.z=i.z,e.zLabel=n.tickText(f.mockAxis,f.mockAxis.c2l(i.z),"hover").text,e.hovertemplate=i.hovertemplate,a(e,c,i),[e]}},"0397":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=k,t.containerConnectedContextTypes=void 0;var i=c(r("ab5b")),o=l(r("d7bc")),a=c(r("5968")),s=r("4578");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function p(e,t){if(null==e)return{};var r,n,i=d(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function d(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E={localize:o.default.func,container:o.default.object,data:o.default.array,defaultContainer:o.default.object,fullContainer:o.default.object,fullData:o.default.array,fullLayout:o.default.object,getValObject:o.default.func,graphDiv:o.default.object,layout:o.default.object,onUpdate:o.default.func,plotly:o.default.object,updateContainer:o.default.func,traceIndexes:o.default.array,customConfig:o.default.object,hasValidCustomConfigVisibilityRules:o.default.bool};function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(r){g(o,r);var n=b(o);function o(e,t){var r;return h(this,o),r=n.call(this,e,t),r.setLocals(e,t),r}return m(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(t,r){this.plotProps=(0,a.default)(t,r,e),this.attr=t.attr,o.modifyPlotProps(t,r,this.plotProps)}},{key:"getChildContext",value:function(){return{description:this.plotProps.description,attr:this.attr}}},{key:"render",value:function(){var t=Object.assign({},this.plotProps,this.props),r=t.plotProps,n=void 0===r?this.plotProps:r,o=p(t,["plotProps"]),s=e&&e.displayName?e.displayName:null;return(0,a.isVisibleGivenCustomConfig)(o.isVisible,o,this.context,s)?i.default.createElement(e,f({},o,{plotProps:n})):null}}],[{key:"modifyPlotProps",value:function(r,n,i){e.modifyPlotProps&&e.modifyPlotProps(r,n,i),t.modifyPlotProps&&t.modifyPlotProps(r,n,i)}}]),o}(i.Component);r.displayName="ContainerConnected".concat((0,s.getDisplayName)(e)),r.contextTypes=E,r.childContextTypes={description:o.default.string,attr:o.default.string};var n=e.plotly_editor_traits;return r.plotly_editor_traits=n,r}t.containerConnectedContextTypes=E},"039b":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V12H19V19Z"}))};e.exports=s},"03d7":function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("d115"),a=r("72a4").DESELECTDIM,s=r("2df3"),l=r("93a6").resizeText,u=s.styleTextPoints;function c(e,t,r){var s=r||n.select(e).selectAll("g.waterfalllayer").selectAll("g.trace");l(e,s,"waterfall"),s.style("opacity",(function(e){return e[0].trace.opacity})),s.each((function(t){var r=n.select(this),s=t[0].trace;r.selectAll(".point > path").each((function(e){if(!e.isBlank){var t=s[e.dir].marker;n.select(this).call(o.fill,t.color).call(o.stroke,t.line.color).call(i.dashLine,t.line.dash,t.line.width).style("opacity",s.selectedpoints&&!e.selected?a:1)}})),u(r,s,e),r.selectAll(".lines").each((function(){var e=s.connector.line;i.lineGroupStyle(n.select(this).selectAll("path"),e.width,e.color,e.dash)}))}))}e.exports={style:c}},"03dd":function(e,t,r){var n=r("eac5"),i=r("57a5"),o=Object.prototype,a=o.hasOwnProperty;function s(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}e.exports=s},"0435":function(e,t,r){"use strict";var n=r("107c"),i=r("a876"),o=r("94d5").hovertemplateAttrs,a=r("f4e9"),s=r("78df").FORMAT_LINK,l=r("9092").extendFlat;e.exports=l({z:{valType:"data_array",editType:"calc",description:"Sets the z data."},x:l({},n.x,{impliedEdits:{xtype:"array"}}),x0:l({},n.x0,{impliedEdits:{xtype:"scaled"}}),dx:l({},n.dx,{impliedEdits:{xtype:"scaled"}}),y:l({},n.y,{impliedEdits:{ytype:"array"}}),y0:l({},n.y0,{impliedEdits:{ytype:"scaled"}}),dy:l({},n.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:l({},n.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:l({},n.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:l({},n.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:l({},n.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:l({},n.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:l({},n.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc",description:"Sets the text elements associated with each z value."},hovertext:{valType:"data_array",editType:"calc",description:"Same as `text`."},transpose:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:"Transposes the z data."},xtype:{valType:"enumerated",values:["array","scaled"],role:"info",editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's x coordinates are given by *x*","(the default behavior when `x` is provided).","If *scaled*, the heatmap's x coordinates are given by *x0* and *dx*","(the default behavior when `x` is not provided)."].join(" ")},ytype:{valType:"enumerated",values:["array","scaled"],role:"info",editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's y coordinates are given by *y*","(the default behavior when `y` is provided)","If *scaled*, the heatmap's y coordinates are given by *y0* and *dy*","(the default behavior when `y` is not provided)"].join(" ")},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,role:"style",editType:"calc",description:["Picks a smoothing algorithm use to smooth `z` data."].join(" ")},hoverongaps:{valType:"boolean",dflt:!0,role:"style",editType:"none",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data have hover labels associated with them."].join(" ")},connectgaps:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in.","It is defaulted to true if `z` is a","one dimensional array and `zsmooth` is not false;","otherwise it is defaulted to false."].join(" ")},xgap:{valType:"number",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the horizontal gap (in pixels) between bricks."},ygap:{valType:"number",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the vertical gap (in pixels) between bricks."},zhoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. See:",s].join(" ")},hovertemplate:o(),showlegend:l({},i.showlegend,{dflt:!1})},{transforms:void 0},a("",{cLetter:"z",autoColorDflt:!1}))},"0446":function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("fc26"),a=r("83d1"),s=r("0642");e.exports=function(e,t,r,l){var u=e._fullLayout;if(0!==t.length){var c,f,p,d;l&&(c=l());var h=n.ease(r.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(d),d=null,y()})),f=Date.now(),d=window.requestAnimationFrame(b),Promise.resolve()}function v(e){var t=e.xaxis,r=e.yaxis;u._defs.select("#"+e.clipId+"> rect").call(a.setTranslate,0,0).call(a.setScale,1,1),e.plot.call(a.setTranslate,t._offset,r._offset).call(a.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(a.setPointGroupScale,1,1),n.selectAll(".textpoint").call(a.setTextPointsScale,1,1),n.call(a.hideOutsideRangePoints,e)}function m(t,r){var n=t.plotinfo,i=n.xaxis,l=n.yaxis,u=i._length,c=l._length,f=!!t.xr1,p=!!t.yr1,d=[];if(f){var h=o.simpleMap(t.xr0,i.r2l),v=o.simpleMap(t.xr1,i.r2l),m=h[1]-h[0],g=v[1]-v[0];d[0]=(h[0]*(1-r)+r*v[0]-h[0])/(h[1]-h[0])*u,d[2]=u*(1-r+r*g/m),i.range[0]=i.l2r(h[0]*(1-r)+r*v[0]),i.range[1]=i.l2r(h[1]*(1-r)+r*v[1])}else d[0]=0,d[2]=u;if(p){var y=o.simpleMap(t.yr0,l.r2l),b=o.simpleMap(t.yr1,l.r2l),x=y[1]-y[0],A=b[1]-b[0];d[1]=(y[1]*(1-r)+r*b[1]-y[1])/(y[0]-y[1])*c,d[3]=c*(1-r+r*A/x),l.range[0]=i.l2r(y[0]*(1-r)+r*b[0]),l.range[1]=l.l2r(y[1]*(1-r)+r*b[1])}else d[1]=0,d[3]=c;s.drawOne(e,i,{skipTitle:!0}),s.drawOne(e,l,{skipTitle:!0}),s.redrawComponents(e,[i._id,l._id]);var w=f?u/d[2]:1,_=p?c/d[3]:1,E=f?d[0]:0,k=p?d[1]:0,T=f?d[0]/d[2]*u:0,C=p?d[1]/d[3]*c:0,S=i._offset-T,O=l._offset-C;n.clipRect.call(a.setTranslate,E,k).call(a.setScale,1/w,1/_),n.plot.call(a.setTranslate,S,O).call(a.setScale,w,_),a.setPointGroupScale(n.zoomScalePts,1/w,1/_),a.setTextPointsScale(n.zoomScaleTxt,1/w,1/_)}function g(){for(var r={},n=0;n<t.length;n++){var o=t[n],a=o.plotinfo.xaxis,s=o.plotinfo.yaxis;o.xr1&&(r[a._name+".range"]=o.xr1.slice()),o.yr1&&(r[s._name+".range"]=o.yr1.slice())}return c&&c(),i.call("relayout",e,r).then((function(){for(var e=0;e<t.length;e++)v(t[e].plotinfo)}))}function y(){for(var r={},n=0;n<t.length;n++){var o=t[n],a=o.plotinfo.xaxis,s=o.plotinfo.yaxis;o.xr0&&(r[a._name+".range"]=o.xr0.slice()),o.yr0&&(r[s._name+".range"]=o.yr0.slice())}return i.call("relayout",e,r).then((function(){for(var e=0;e<t.length;e++)v(t[e].plotinfo)}))}function b(){p=Date.now();for(var e=Math.min(1,(p-f)/r.duration),n=h(e),i=0;i<t.length;i++)m(t[i],n);p-f>r.duration?(g(),d=window.cancelAnimationFrame(b)):d=window.requestAnimationFrame(b)}s.redrawComponents(e)}},"044b":function(e,t){function r(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function n(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&r(e.slice(0,0))}
|
||
/*!
|
||
* Determine if an object is a Buffer
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/
|
||
e.exports=function(e){return null!=e&&(r(e)||n(e)||!!e._isBuffer)}},"0452":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=b(r("ab5b")),o=g(r("d7bc")),a=r("bfcd"),s=r("d58a"),l=r("df26"),u=r("dccc"),c=g(r("6b75")),f=g(r("7de8")),p=g(r("b3f5")),d=g(r("67b9")),h=r("b4fd"),v=r("178d"),m=g(r("b012"));function g(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t,r){return t&&w(e.prototype,t),r&&w(e,r),e}function E(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&&k(e,t)}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}function T(e){var t=O();return function(){var r,n=M(e);if(t){var i=M(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}var P=function(e){E(r,e);var t=T(r);function r(e,n){var i;return A(this,r),i=t.call(this,e,n),i.state={editorState:e.value.toString().trim().length?i.createEditorStateFromHTML(e.value):a.EditorState.createEmpty(i.getDecorator())},i.getDecorator=i.getDecorator.bind(S(i)),i.createEditorStateFromHTML=i.createEditorStateFromHTML.bind(S(i)),i.getEditorStateAsHTML=i.getEditorStateAsHTML.bind(S(i)),i.focus=i.focus.bind(S(i)),i.getParentContainerVerticalOffset=i.getParentContainerVerticalOffset.bind(S(i)),i.onChange=i.onChange.bind(S(i)),i.onBlur=i.onBlur.bind(S(i)),i.onFocus=i.onFocus.bind(S(i)),i.onLinkEditorBlur=i.onLinkEditorBlur.bind(S(i)),i.onLinkEditorFocus=i.onLinkEditorFocus.bind(S(i)),i.onLinkEditorChange=i.onLinkEditorChange.bind(S(i)),i.onLinkEditorClose=i.onLinkEditorClose.bind(S(i)),i.onKeyCommand=i.onKeyCommand.bind(S(i)),i.onReturnPressed=i.onReturnPressed.bind(S(i)),i.onStyleButtonToggle=i.onStyleButtonToggle.bind(S(i)),i.renderLinkEditor=i.renderLinkEditor.bind(S(i)),i}return _(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.state,r=t.linkEditorFocus,n=t.editorFocus;if(!r&&!n){var i=this.createEditorStateFromHTML(e.value);this.setState({editorState:i})}}},{key:"shouldComponentUpdate",value:function(e,t){var r=this.props,n=r.placeholder,i=r.value,o=this.state,a=o.editorState,s=o.linkEditorFocus;return!(!s&&n===e.placeholder&&i===e.value&&a===t.editorState)||e.value!==this.getEditorStateAsHTML(a)}},{key:"getDecorator",value:function(){return new a.CompositeDecorator([{strategy:v.findLinkEntities,component:c.default,props:{style:u.STYLE_MAP[u.LINK]}}])}},{key:"createEditorStateFromHTML",value:function(e){var t,r=(0,l.stateFromHTML)(e,{inlineStyles:(t={},x(t,u.SUPERSCRIPT,{element:"sup"}),x(t,u.SUBSCRIPT,{element:"sub"}),t),defaultBlockTag:null}),n=this.getDecorator();return a.EditorState.createWithContent(r),a.EditorState.createWithContent(r,n)}},{key:"getEditorStateAsHTML",value:function(e){var t=e.getCurrentContent();return(0,s.stateToHTML)(t,{defaultBlockTag:null,inlineStyles:u.STYLES_TO_HTML_TAGS})}},{key:"focus",value:function(){this.editorInput.focus()}},{key:"getParentContainerVerticalOffset",value:function(){return document.querySelector(".panel").scrollTop}},{key:"onChange",value:function(e){var t=this.state.selectedLinkID,r=e.getSelection(),n=(0,h.getEntityKeyAt)(e,r),i={editorState:e};(0,h.cursorHasLink)(e,r)?t!==n&&Object.assign(i,{selectedLinkID:n}):Object.assign(i,{selectedLinkID:null}),this.setState(i);var o=this.getEditorStateAsHTML(e).replace(/<br>\n*/,"<br>");this.props.value!==o&&(0,d.default)(this.props.onChange,[o])}},{key:"onBlur",value:function(){this.setState({editorFocus:!1})}},{key:"onFocus",value:function(){this.setState({editorFocus:!0})}},{key:"onLinkEditorBlur",value:function(){this.setState({linkEditorFocus:!1})}},{key:"onLinkEditorFocus",value:function(){this.setState({linkEditorFocus:!0})}},{key:"onLinkEditorChange",value:function(e,t){var r=this.state.editorState,n=r.getSelection();a.Entity.replaceData(e,{url:t});var i=a.RichUtils.toggleLink(r,n,e);this.onChange(i)}},{key:"onLinkEditorClose",value:function(){this.focus(),this.setState({linkEditorFocus:!1,selectedLinkID:null})}},{key:"onKeyCommand",value:function(e){var t=(0,h.handleKeyCommand)(this.state.editorState,e);return!!t&&(this.onChange(t),!0)}},{key:"onReturnPressed",value:function(){var e=(0,h.insertSoftNewline)(this.state.editorState);return this.onChange(e),!0}},{key:"onStyleButtonToggle",value:function(e){var t=(0,h.toggleInlineStyle)(this.state.editorState,e);t&&this.onChange(t)}},{key:"renderLinkEditor",value:function(e){if(!e)return null;var t=(0,h.getEntityByKey)(e),r=t.getData().url,n=(0,m.default)();return i.default.createElement(f.default,{onFocus:this.onLinkEditorFocus,onURLChange:this.onLinkEditorChange,onBlur:this.onLinkEditorBlur,onClose:this.onLinkEditorClose,coordinates:n,linkID:e,linkURL:r})}},{key:"render",value:function(){var e=this,t=this.state,r=t.editorState,n=t.selectedLinkID,o=Boolean(n);return i.default.createElement("div",{className:"rich-text-editor__root"},i.default.createElement(p.default,{styles:u.INLINE_STYLES,currentStyle:r.getCurrentInlineStyle(),linkIsSelected:o,onToggle:this.onStyleButtonToggle}),i.default.createElement("div",{className:"rich-text-editor__editor",onClick:this.focus},i.default.createElement(a.Editor,{customStyleMap:u.STYLE_MAP,editorState:r,handleReturn:this.onReturnPressed,handleKeyCommand:this.onKeyCommand,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.props.placeholder,spellCheck:!1,ref:function(t){return e.editorInput=t}})),this.renderLinkEditor(n))}}]),r}(i.Component);P.propTypes={onChange:o.default.func.isRequired,placeholder:o.default.string,value:o.default.any},P.defaultProps={placeholder:"",value:""};var B=P;t.default=B},"0468":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,2H4C2.9,2 2,2.9 2,4V22L6,18H20C21.1,18 22,17.1 22,16V4C22,2.89 21.1,2 20,2Z"}))};e.exports=s},"046b":function(e,t,r){"use strict";var n=r("fc26"),i={"X,X div":"direction:ltr;font-family:'Open Sans', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:'Open Sans', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var o in i){var a=o.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");n.addStyleRule(a,i[o])}},"048b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M17.5 19c-.188.375-.625.5-1 .313a.856.856 0 0 1-.25-.188l.813-1.188c.063 0 .125.063.188.063.375.188.438.688.25 1zm2 5.75c-.375-.188-.813-.063-1.063.313-.188.313-.063.813.313 1 .313.188.813.063 1-.25a.867.867 0 0 0-.25-1.063zM17.25 27c-.375-.188-.875-.063-1.063.313-.188.313-.063.813.313 1 .313.188.813.063 1-.25A.867.867 0 0 0 17.25 27zm0-4.5c-.375-.188-.813-.063-1.063.313-.188.313-.063.813.313 1s.813.063 1-.25c.188-.375.125-.813-.25-1.063zm2.25-11.312c-.313-.188-.813-.063-1 .313-.188.313-.063.813.25 1a.867.867 0 0 0 1.063-.25c.188-.375.063-.813-.313-1.063zm0 4.562c-.313-.25-.813-.125-1 .25s-.063.813.25 1c.375.25.813.125 1.063-.25.188-.375.063-.813-.313-1zm0 4.5c-.375-.188-.813-.063-1 .313-.25.313-.125.813.25 1s.813.063 1-.25c.25-.375.125-.875-.25-1.063zm-6.812 6.813c-.313-.25-.813-.125-1 .25s-.063.813.25 1c.375.25.875.125 1.063-.25s.063-.813-.313-1zM15 24.75c-.375-.188-.813-.063-1.063.313-.188.375-.063.813.313 1 .313.25.813.125 1-.25S15.313 25 15 24.75zM18.75 8c.375.188.813.063 1-.313.25-.375.125-.813-.25-1-.375-.25-.813-.125-1 .25-.25.375-.125.813.25 1.063zm-4.312 13.625a.814.814 0 0 0 .813-.313.928.928 0 0 0 0-.813zM21.75 27c-.375-.188-.813-.063-1.063.313-.188.313-.063.75.25 1 .438-.188.813-.375 1.188-.563a.976.976 0 0 0-.375-.75zm6.063-14.5a.758.758 0 0 0 .938-.125c-.125-.438-.25-.875-.438-1.25-.313-.063-.625.063-.813.375s-.063.813.313 1zM18.75 3.438c.313.188.75.125.938-.188-.438-.125-.875-.188-1.313-.313.063.25.188.438.375.5zM21 5.688c.375.25.813.125 1.063-.25.188-.375.063-.813-.313-1-.375-.25-.813-.125-1 .25-.25.375-.125.813.25 1zM27.5 20.5c-.188.375-.063.813.313 1 .063.063.125.063.188.125.188-.438.375-.938.563-1.375-.375-.25-.813-.125-1.063.25zm-1.25 2c-.313-.25-.813-.125-1 .25s-.063.813.25 1.063c.375.188.875.063 1.063-.313s.063-.813-.313-1zM24.063 6.688c-.375-.188-.875-.063-1.063.25-.188.375-.063.813.313 1.063.313.188.813.063 1-.313.188-.313.063-.813-.25-1zm2.187 11.25c-.313-.188-.813-.063-1 .313s-.063.813.25 1c.375.25.875.125 1.063-.25s.063-.813-.313-1.063zm2.313-2.25c-.375-.188-.813-.063-1.063.313-.188.313-.063.813.313 1 .313.188.813.063 1-.25a.867.867 0 0 0-.25-1.063zm-4.5-4.5c-.375-.188-.875-.063-1.063.313-.188.313-.063.813.313 1 .313.188.813.063 1-.25a.867.867 0 0 0-.25-1.063zm2.25 2.25c-.375-.188-.813-.063-1.063.313-.188.375-.063.813.313 1 .313.188.813.125 1-.25s.063-.813-.25-1.063zM21.75 22.5a.867.867 0 0 0-1.063.25c-.188.375-.063.875.313 1.063s.813.063 1-.313c.25-.313.125-.813-.25-1zm4.563-13.562c-.375-.188-.813-.063-1.063.313-.188.313-.063.813.313 1 .313.188.813.063 1-.25.188-.375.063-.875-.25-1.063zm-2.25 6.812c-.375-.25-.875-.125-1.063.25s-.063.813.313 1c.313.25.813.125 1-.25s.063-.813-.25-1zm-2.313-2.312c-.313-.188-.813-.063-1 .313s-.063.813.25 1c.375.188.813.125 1.063-.25.188-.375.063-.813-.313-1.063zm0 4.562c-.313-.25-.813-.125-1 .25s-.063.813.25 1c.375.25.813.125 1.063-.25.188-.375.063-.813-.313-1zm0-9.062c-.313-.188-.813-.063-1 .313-.188.313-.063.813.25 1a.867.867 0 0 0 1.063-.25c.188-.375.063-.875-.313-1.063zM24 20.25c-.313-.25-.813-.125-1 .25s-.063.813.25 1c.375.25.813.125 1.063-.25.188-.375.063-.813-.313-1zm0 4.5c-.375-.188-.813-.063-1 .313-.25.313-.125.813.25 1s.813.063 1-.25c.25-.375.125-.813-.25-1.063zM32 16c0 8.813-7.188 16-16 16S0 24.812 0 16C0 7.187 7.188 0 16 0s16 7.188 16 16zM7 27.375L14.75 16.5l-13.063-3a16.224 16.224 0 0 0-.188 2.5c0 4 1.625 7.625 4.25 10.25a7 7 0 0 0 1.25 1.125zM30.5 16c0-4-1.625-7.625-4.25-10.25-2.438-2.438-5.813-4.063-9.5-4.25V16l-.125.438L8.25 28.251a14.245 14.245 0 0 0 7.75 2.25c4 0 7.625-1.625 10.25-4.25s4.25-6.25 4.25-10.25z"}))};t.default=u},"04a4":function(e,t,r){"use strict";var n=r("9351"),i=r("dbd1"),o=r("15dd"),a=r("794e"),s=r("578f"),l=r("44c3"),u=r("a92a"),c=r("91b8"),f=r("7ad0"),p=r("f889"),d=r("5ccc"),h=r("8df8")({tablet:!0,featureDetect:!0});function v(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function m(e,t){var r=null;try{r=e.getContext("webgl",t),r||(r=e.getContext("experimental-webgl",t))}catch(n){return null}return r}function g(e){var t=Math.round(Math.log(Math.abs(e))/Math.log(10));if(t<0){var r=Math.round(Math.pow(10,-t));return Math.ceil(e*r)/r}if(t>0){r=Math.round(Math.pow(10,t));return Math.ceil(e/r)*r}return Math.ceil(e)}function y(e){return"boolean"!==typeof e||e}function b(e){e=e||{},e.camera=e.camera||{};var t=e.canvas;if(!t)if(t=document.createElement("canvas"),e.container){var r=e.container;r.appendChild(t)}else document.body.appendChild(t);var f=e.gl;if(f||(e.glOptions&&(h=!!e.glOptions.preserveDrawingBuffer),f=m(t,e.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:h})),!f)throw new Error("webgl not supported");var p=e.bounds||[[-10,-10,-10],[10,10,10]],b=new v,A=l(f,f.drawingBufferWidth,f.drawingBufferHeight,{preferFloat:!h}),w=d(f),_=e.cameraObject&&!0===e.cameraObject._ortho||e.camera.projection&&"orthographic"===e.camera.projection.type||!1,E={eye:e.camera.eye||[2,0,0],center:e.camera.center||[0,0,0],up:e.camera.up||[0,1,0],zoomMin:e.camera.zoomMax||.1,zoomMax:e.camera.zoomMin||100,mode:e.camera.mode||"turntable",_ortho:_},k=e.axes||{},T=i(f,k);T.enable=!k.disable;var C=e.spikes||{},S=a(f,C),O=[],M=[],P=[],B=[],L=!0,D=!0,I=new Array(16),j=new Array(16),R={view:null,projection:I,model:j,_ortho:!1},F=(D=!0,[f.drawingBufferWidth,f.drawingBufferHeight]),N=e.cameraObject||n(t,E),z={gl:f,contextLost:!1,pixelRatio:e.pixelRatio||1,canvas:t,selection:b,camera:N,axes:T,axesPixels:null,spikes:S,bounds:p,objects:O,shape:F,aspect:e.aspectRatio||[1,1,1],pickRadius:e.pickRadius||10,zNear:e.zNear||.01,zFar:e.zFar||1e3,fovy:e.fovy||Math.PI/4,clearColor:e.clearColor||[0,0,0,0],autoResize:y(e.autoResize),autoBounds:y(e.autoBounds),autoScale:!!e.autoScale,autoCenter:y(e.autoCenter),clipToBounds:y(e.clipToBounds),snapToData:!!e.snapToData,onselect:e.onselect||null,onrender:e.onrender||null,onclick:e.onclick||null,cameraParams:R,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(e){this.aspect[0]=e.x,this.aspect[1]=e.y,this.aspect[2]=e.z,D=!0},setBounds:function(e,t){this.bounds[0][e]=t.min,this.bounds[1][e]=t.max},setClearColor:function(e){this.clearColor=e},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},U=[f.drawingBufferWidth/z.pixelRatio|0,f.drawingBufferHeight/z.pixelRatio|0];function H(){if(!z._stopped&&z.autoResize){var e=t.parentNode,r=1,n=1;e&&e!==document.body?(r=e.clientWidth,n=e.clientHeight):(r=window.innerWidth,n=window.innerHeight);var i=0|Math.ceil(r*z.pixelRatio),o=0|Math.ceil(n*z.pixelRatio);if(i!==t.width||o!==t.height){t.width=i,t.height=o;var a=t.style;a.position=a.position||"absolute",a.left="0px",a.top="0px",a.width=r+"px",a.height=n+"px",L=!0}}}function V(){for(var e=O.length,t=B.length,r=0;r<t;++r)P[r]=0;e:for(r=0;r<e;++r){var n=O[r],i=n.pickSlots;if(i){for(var o=0;o<t;++o)if(P[o]+i<255){M[r]=o,n.setPickBase(P[o]+1),P[o]+=i;continue e}var a=s(f,F);M[r]=t,B.push(a),P.push(i),n.setPickBase(1),t+=1}else M[r]=-1}while(t>0&&0===P[t-1])P.pop(),B.pop().dispose()}function Q(){if(z.contextLost)return!0;f.isContextLost()&&(z.contextLost=!0,z.mouseListener.enabled=!1,z.selection.object=null,z.oncontextloss&&z.oncontextloss())}function W(){if(!Q()){f.colorMask(!0,!0,!0,!0),f.depthMask(!0),f.disable(f.BLEND),f.enable(f.DEPTH_TEST),f.depthFunc(f.LEQUAL);for(var e=O.length,t=B.length,r=0;r<t;++r){var n=B[r];n.shape=U,n.begin();for(var i=0;i<e;++i)if(M[i]===r){var o=O[i];o.drawPick&&(o.pixelRatio=1,o.drawPick(R))}n.end()}}}z.autoResize&&H(),window.addEventListener("resize",H),z.update=function(e){z._stopped||(e=e||{},L=!0,D=!0)},z.add=function(e){z._stopped||(e.axes=T,O.push(e),M.push(-1),L=!0,D=!0,V())},z.remove=function(e){if(!z._stopped){var t=O.indexOf(e);t<0||(O.splice(t,1),M.pop(),L=!0,D=!0,V())}},z.dispose=function(){if(!z._stopped&&(z._stopped=!0,window.removeEventListener("resize",H),t.removeEventListener("webglcontextlost",Q),z.mouseListener.enabled=!1,!z.contextLost)){T.dispose(),S.dispose();for(var e=0;e<O.length;++e)O[e].dispose();A.dispose();for(e=0;e<B.length;++e)B[e].dispose();w.dispose(),f=null,T=null,S=null,O=[]}},z._mouseRotating=!1,z._prevButtons=0,z.enableMouseListeners=function(){z.mouseListener=c(t,(function(e,t,r){if(!z._stopped){var n=B.length,i=O.length,o=b.object;b.distance=1/0,b.mouse[0]=t,b.mouse[1]=r,b.object=null,b.screen=null,b.dataCoordinate=b.dataPosition=null;var a=!1;if(e&&z._prevButtons)z._mouseRotating=!0;else{z._mouseRotating&&(D=!0),z._mouseRotating=!1;for(var s=0;s<n;++s){var l=B[s].query(t,U[1]-r-1,z.pickRadius);if(l){if(l.distance>b.distance)continue;for(var u=0;u<i;++u){var c=O[u];if(M[u]===s){var f=c.pick(l);f&&(b.buttons=e,b.screen=l.coord,b.distance=l.distance,b.object=c,b.index=f.distance,b.dataPosition=f.position,b.dataCoordinate=f.dataCoordinate,b.data=f,a=!0)}}}}}o&&o!==b.object&&(o.highlight&&o.highlight(null),L=!0),b.object&&(b.object.highlight&&b.object.highlight(b.data),L=!0),a=a||b.object!==o,a&&z.onselect&&z.onselect(b),1&e&&!(1&z._prevButtons)&&z.onclick&&z.onclick(b),z._prevButtons=e}}))},t.addEventListener("webglcontextlost",Q);var K=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],q=[K[0].slice(),K[1].slice()];function G(){if(!Q()){H();var e=z.camera.tick();R.view=z.camera.matrix,L=L||e,D=D||e,T.pixelRatio=z.pixelRatio,S.pixelRatio=z.pixelRatio;var t=O.length,r=K[0],n=K[1];r[0]=r[1]=r[2]=1/0,n[0]=n[1]=n[2]=-1/0;for(var i=0;i<t;++i){var a=O[i];a.pixelRatio=z.pixelRatio,a.axes=z.axes,L=L||!!a.dirty,D=D||!!a.dirty;var s=a.bounds;if(s)for(var l=s[0],c=s[1],p=0;p<3;++p)r[p]=Math.min(r[p],l[p]),n[p]=Math.max(n[p],c[p])}var d=z.bounds;if(z.autoBounds)for(p=0;p<3;++p){if(n[p]<r[p])r[p]=-1,n[p]=1;else{r[p]===n[p]&&(r[p]-=1,n[p]+=1);var h=.05*(n[p]-r[p]);r[p]=r[p]-h,n[p]=n[p]+h}d[0][p]=r[p],d[1][p]=n[p]}var v=!1;for(p=0;p<3;++p)v=v||q[0][p]!==d[0][p]||q[1][p]!==d[1][p],q[0][p]=d[0][p],q[1][p]=d[1][p];if(D=D||v,L=L||v,L){if(v){var m=[0,0,0];for(i=0;i<3;++i)m[i]=g((d[1][i]-d[0][i])/10);T.autoTicks?T.update({bounds:d,tickSpacing:m}):T.update({bounds:d})}var y=f.drawingBufferWidth,E=f.drawingBufferHeight;F[0]=y,F[1]=E,U[0]=0|Math.max(y/z.pixelRatio,1),U[1]=0|Math.max(E/z.pixelRatio,1),x(z,_);for(i=0;i<t;++i){a=O[i];a.axesBounds=d,z.clipToBounds&&(a.clipBounds=d)}b.object&&(z.snapToData?S.position=b.dataCoordinate:S.position=b.dataPosition,S.bounds=d),D&&(D=!1,W()),z.axesPixels=o(z.axes,R,y,E),z.onrender&&z.onrender(),f.bindFramebuffer(f.FRAMEBUFFER,null),f.viewport(0,0,y,E),z.clearRGBA(),f.depthMask(!0),f.colorMask(!0,!0,!0,!0),f.enable(f.DEPTH_TEST),f.depthFunc(f.LEQUAL),f.disable(f.BLEND),f.disable(f.CULL_FACE);var k=!1;T.enable&&(k=k||T.isTransparent(),T.draw(R)),S.axes=T,b.object&&S.draw(R),f.disable(f.CULL_FACE);for(i=0;i<t;++i){a=O[i];a.axes=T,a.pixelRatio=z.pixelRatio,a.isOpaque&&a.isOpaque()&&a.draw(R),a.isTransparent&&a.isTransparent()&&(k=!0)}if(k){A.shape=F,A.bind(),f.clear(f.DEPTH_BUFFER_BIT),f.colorMask(!1,!1,!1,!1),f.depthMask(!0),f.depthFunc(f.LESS),T.enable&&T.isTransparent()&&T.drawTransparent(R);for(i=0;i<t;++i){a=O[i];a.isOpaque&&a.isOpaque()&&a.draw(R)}f.enable(f.BLEND),f.blendEquation(f.FUNC_ADD),f.blendFunc(f.ONE,f.ONE_MINUS_SRC_ALPHA),f.colorMask(!0,!0,!0,!0),f.depthMask(!1),f.clearColor(0,0,0,0),f.clear(f.COLOR_BUFFER_BIT),T.isTransparent()&&T.drawTransparent(R);for(i=0;i<t;++i){a=O[i];a.isTransparent&&a.isTransparent()&&a.drawTransparent(R)}f.bindFramebuffer(f.FRAMEBUFFER,null),f.blendFunc(f.ONE,f.ONE_MINUS_SRC_ALPHA),f.disable(f.DEPTH_TEST),w.bind(),A.color[0].bind(0),w.uniforms.accumBuffer=0,u(f),f.disable(f.BLEND)}L=!1;for(i=0;i<t;++i)O[i].dirty=!1}}}function $(){z._stopped||z.contextLost||(G(),requestAnimationFrame($))}return z.enableMouseListeners(),$(),z.redraw=function(){z._stopped||(L=!0,G())},z}function x(e,t){var r=e.bounds,n=e.cameraParams,i=n.projection,o=n.model,a=e.gl.drawingBufferWidth,s=e.gl.drawingBufferHeight,l=e.zNear,u=e.zFar,c=e.fovy,d=a/s;t?(p(i,-d,d,-1,1,l,u),n._ortho=!0):(f(i,c,d,l,u),n._ortho=!1);for(var h=0;h<16;++h)o[h]=0;o[15]=1;var v=0;for(h=0;h<3;++h)v=Math.max(v,r[1][h]-r[0][h]);for(h=0;h<3;++h)e.autoScale?o[5*h]=e.aspect[h]/(r[1][h]-r[0][h]):o[5*h]=1/v,e.autoCenter&&(o[12+h]=.5*-o[5*h]*(r[0][h]+r[1][h]))}e.exports={createScene:b,createCamera:n}},"04ad":function(e,t,r){"use strict";e.exports={moduleType:"component",name:"rangeselector",schema:{subplots:{xaxis:{rangeselector:r("d2d9")}}},layoutAttributes:r("d2d9"),handleDefaults:r("f7c1"),draw:r("887c")}},"04e9":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TraceTypeSelectorButton=void 0;var i=p(r("ab5b")),o=c(r("d7bc")),a=r("8704"),s=c(r("71a6")),l=r("4578"),u=r("e419");function c(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=function(e,t){return e?e(t).map((function(e,t){return e.onClick?i.default.createElement("a",{className:"trace-item__actions__item",key:t,"aria-label":e.label,"data-microtip-position":"top-left",role:"tooltip",onClick:e.onClick,target:"_blank"},e.icon):null})):null},E=function(e){var t=e.item,r=e.active,n=e.handleClick,o=e.actions,a=e.showActions,s=e.complex,u=t.label,c=t.value,f=t.icon,p=(0,l.renderTraceIcon)(f||c),d=(0,l.renderTraceIcon)(f||c,"TraceType");return i.default.createElement("div",{className:"trace-item".concat(r?" trace-item--active":""),onClick:n},i.default.createElement("div",{className:"trace-item__actions"},o&&a?_(o,t):null),i.default.createElement("div",{className:"trace-item__image"},!s&&i.default.createElement("div",{className:"trace-item__image__svg"},i.default.createElement(p,null)),s&&i.default.createElement("div",{className:"trace-item__image__wrapper"},i.default.createElement(d,null))),i.default.createElement("div",{className:"trace-item__label"},u))};E.propTypes={item:o.default.object,active:o.default.bool,complex:o.default.bool,handleClick:o.default.func,actions:o.default.func,showActions:o.default.bool},E.contextTypes={localize:o.default.func};var k=function(e){m(r,e);var t=y(r);function r(e){var n;return d(this,r),n=t.call(this,e),n.selectAndClose=n.selectAndClose.bind(x(n)),n.actions=n.actions.bind(x(n)),n.renderCategories=n.renderCategories.bind(x(n)),n.renderGrid=n.renderGrid.bind(x(n)),n.renderSingleBlock=n.renderSingleBlock.bind(x(n)),n}return v(r,[{key:"selectAndClose",value:function(e){var t=this.props,r=t.updateContainer,n=t.glByDefault,i=t.fullContainer.type,o=(0,l.traceTypeToPlotlyInitFigure)(e);(i&&i.endsWith("gl")||!u.TRACES_WITH_GL.includes(i)&&n)&&u.TRACES_WITH_GL.includes(o.type)&&!o.type.endsWith("gl")&&(o.type+="gl"),r(o),this.context.handleClose()}},{key:"actions",value:function(e){var t=this,r=e.value,n=this.context,o=n.localize,s=n.chartHelp,l=function(e,r){e.stopPropagation(),r(),t.context.handleClose()};return[{label:o("Charts like this by Plotly users."),onClick:s[r]&&s[r].feedQuery&&function(e){return l(e,(function(){return window.open("https://plot.ly/feed/?q=".concat(s[r]?s[r].feedQuery:r),"_blank")}))},icon:i.default.createElement(a.SearchIcon,null)},{label:o("View tutorials on this chart type."),onClick:s[r]&&s[r].helpDoc&&function(e){return l(e,(function(){return window.open(s[r].helpDoc,"_blank")}))},icon:i.default.createElement(a.ThumnailViewIcon,null)},{label:o("See a basic example."),onClick:s[r]&&s[r].examplePlot&&function(e){return l(e,s[r].examplePlot)},icon:i.default.createElement(a.GraphIcon,null)}]}},{key:"renderCategories",value:function(){var e=this,t=this.props.fullValue,r=this.context,n=r.localize,o=r.chartHelp,a=this.props.traceTypesConfig,s=a.traces,l=a.categories,u=a.complex;return l(n).map((function(r,a){var l=s(n).filter((function(e){var t=e.category.value;return t===r.value})).filter((function(e){return"scattergl"!==e.value&&"scatterpolargl"!==e.value})),c=4,f=l.length>c&&!r.maxColumns||r.maxColumns&&r.maxColumns>1?"trace-grid__column trace-grid__column--double":"trace-grid__column";return i.default.createElement("div",{className:f,key:a},i.default.createElement("div",{className:"trace-grid__column__header"},r.label),i.default.createElement("div",{className:"trace-grid__column__items"},l.map((function(r){return i.default.createElement(E,{complex:u,key:r.value,active:t===r.value,item:r,actions:e.actions,handleClick:function(){return e.selectAndClose(r.value)},showActions:Boolean(o)})}))))}))}},{key:"renderGrid",value:function(){return i.default.createElement("div",{className:"trace-grid"},this.renderCategories())}},{key:"renderSingleBlock",value:function(){var e=this,t=this.props.fullValue,r=this.context.localize,n=this.props.traceTypesConfig,o=n.traces,a=n.complex;return i.default.createElement("div",{className:"trace-grid-single-block"},o(r).map((function(r){return i.default.createElement(E,{key:r.value,complex:a,active:t===r.value,item:r,actions:e.actions,showActions:!1,handleClick:function(){return e.selectAndClose(r.value)},style:{display:"inline-block"}})})))}},{key:"render",value:function(){var e=this.context.localize,t=this.props.traceTypesConfig.categories;return i.default.createElement(s.default,{title:e("Select Trace Type")},t?this.renderGrid():this.renderSingleBlock())}}]),r}(i.Component);k.propTypes={updateContainer:o.default.func,fullValue:o.default.string,fullContainer:o.default.object,glByDefault:o.default.bool,traceTypesConfig:o.default.object},k.contextTypes={handleClose:o.default.func,localize:o.default.func,mapBoxAccess:o.default.bool,chartHelp:o.default.object};var T=function(e){m(r,e);var t=y(r);function r(){return d(this,r),t.apply(this,arguments)}return v(r,[{key:"render",value:function(){var e=this.props,t=e.handleClick,r=e.container,n=e.traceTypesConfig.traces,o=this.context.localize,a=(0,l.plotlyTraceToCustomTrace)(r),s=n(o).find((function(e){return e.value===a})),u=s.label,c=s.icon,f=s.value,p=(0,l.renderTraceIcon)(c||f);return i.default.createElement("div",{className:"trace-type-select-button",onClick:t||null},i.default.createElement("div",{className:"trace-type-select-button__icon"},i.default.createElement(p,null)),u)}}]),r}(i.Component);t.TraceTypeSelectorButton=T,T.propTypes={handleClick:o.default.func.isRequired,container:o.default.object,traceTypesConfig:o.default.object.isRequired},T.contextTypes={localize:o.default.func};var C=k;t.default=C},"055a":function(e,t,r){"use strict";t.counter=function(e,t,r,n){var i=(t||"")+(r?"":"$"),o=!1===n?"":"^";return"xy"===e?new RegExp(o+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+i):new RegExp(o+e+"([2-9]|[1-9][0-9]+)?"+i)}},"0564":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteImage=i.deleteImage.bind(y(i)),i.updateImage=i.updateImage.bind(y(i)),i.moveImage=i.moveImage.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.imageIndex,n=t.container,i=t.fullContainer,o=n.images||[],a=i.images||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("images[].".concat(t)):null},updateContainer:this.updateImage,deleteContainer:this.deleteImage,container:this.container,fullContainer:this.fullContainer,moveContainer:this.moveImage}}},{key:"updateImage",value:function(e){var t={},r=this.props.imageIndex;for(var n in e){var i="images[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteImage",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_IMAGE,payload:{imageIndex:this.props.imageIndex}})}},{key:"moveImage",value:function(e){if(this.context.onUpdate){var t=this.props.imageIndex,r="up"===e?t-1:t+1;this.context.onUpdate({type:s.EDITOR_ACTIONS.MOVE_TO,payload:{fromIndex:t,toIndex:r,path:"layout.images"}})}}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="ImageConnected".concat((0,a.getDisplayName)(e)),t.propTypes={imageIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func,moveContainer:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"057f":function(e,t,r){var n=r("fc6a"),i=r("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},"0591":function(e,t,r){"use strict";e.exports={attributes:r("cba1"),supplyDefaults:r("bc74"),calc:r("c1d8"),plot:r("c63d"),moduleType:"trace",name:"pointcloud",basePlotModule:r("078e"),categories:["gl","gl2d","showLegend"],meta:{description:["The data visualized as a point cloud set in `x` and `y`","using the WebGl plotting engine."].join(" ")}}},"05a6":function(e,t,r){"use strict";var n=r("cea5");function i(e){return"a"+e}function o(e){return"d"+e}function a(e,t){return"c"+e+"_"+t}function s(e){return"s"+e}function l(e,t){return"t"+e+"_"+t}function u(e){return"o"+e}function c(e){return"x"+e}function f(e){return"p"+e}function p(e,t){return"d"+e+"_"+t}function d(e){return"i"+e}function h(e,t){return"u"+e+"_"+t}function v(e){return"b"+e}function m(e){return"y"+e}function g(e){return"e"+e}function y(e){return"v"+e}e.exports=C;var b="V",x="P",A="N",w="Q",_="X",E="T";function k(e,t,r){for(var n=0,i=0;i<e;++i)t&1<<i&&(n|=1<<r[i]);return n}function T(e,t,r,T,C,S){var O=S.length,M=C.length;if(M<2)throw new Error("ndarray-extract-contour: Dimension must be at least 2");for(var P="extractContour"+C.join("_"),B=[],L=[],D=[],I=0;I<O;++I)D.push(i(I));for(I=0;I<T;++I)D.push(c(I));for(I=0;I<M;++I)L.push(s(I)+"="+i(0)+".shape["+I+"]|0");for(I=0;I<O;++I){L.push(o(I)+"="+i(I)+".data",u(I)+"="+i(I)+".offset|0");for(var j=0;j<M;++j)L.push(l(I,j)+"="+i(I)+".stride["+j+"]|0")}for(I=0;I<O;++I){L.push(f(I)+"="+u(I)),L.push(a(I,0));for(j=1;j<1<<M;++j){for(var R=[],F=0;F<M;++F)j&1<<F&&R.push("-"+l(I,F));L.push(p(I,j)+"=("+R.join("")+")|0"),L.push(a(I,j)+"=0")}}for(I=0;I<O;++I)for(j=0;j<M;++j){var N=[l(I,C[j])];j>0&&N.push(l(I,C[j-1])+"*"+s(C[j-1])),L.push(h(I,C[j])+"=("+N.join("-")+")|0")}for(I=0;I<M;++I)L.push(d(I)+"=0");L.push(A+"=0");var z=["2"];for(I=M-2;I>=0;--I)z.push(s(C[I]));L.push(w+"=("+z.join("*")+")|0",x+"=mallocUint32("+w+")",b+"=mallocUint32("+w+")",_+"=0"),L.push(v(0)+"=0");for(j=1;j<1<<M;++j){var U=[],H=[];for(F=0;F<M;++F)j&1<<F&&(0===H.length?U.push("1"):U.unshift(H.join("*"))),H.push(s(C[F]));var V="";U[0].indexOf(s(C[M-2]))<0&&(V="-");var Q=k(M,j,C);L.push(g(Q)+"=(-"+U.join("-")+")|0",m(Q)+"=("+V+U.join("-")+")|0",v(Q)+"=0")}function W(e,t){B.push("for(",d(C[e]),"=",t,";",d(C[e]),"<",s(C[e]),";","++",d(C[e]),"){")}function K(e){for(var t=0;t<O;++t)B.push(f(t),"+=",h(t,C[e]),";");B.push("}")}function q(e){for(var t=e-1;t>=0;--t)W(t,0);var r=[];for(t=0;t<O;++t)S[t]?r.push(o(t)+".get("+f(t)+")"):r.push(o(t)+"["+f(t)+"]");for(t=0;t<T;++t)r.push(c(t));B.push(x,"[",_,"++]=phase(",r.join(),");");for(t=0;t<e;++t)K(t);for(var n=0;n<O;++n)B.push(f(n),"+=",h(n,C[e]),";")}function G(e){for(var t=0;t<O;++t)S[t]?B.push(a(t,0),"=",o(t),".get(",f(t),");"):B.push(a(t,0),"=",o(t),"[",f(t),"];");var r=[];for(t=0;t<O;++t)r.push(a(t,0));for(t=0;t<T;++t)r.push(c(t));B.push(v(0),"=",x,"[",_,"]=phase(",r.join(),");");for(var n=1;n<1<<M;++n)B.push(v(n),"=",x,"[",_,"+",g(n),"];");var i=[];for(n=1;n<1<<M;++n)i.push("("+v(0)+"!=="+v(n)+")");B.push("if(",i.join("||"),"){");var s=[];for(t=0;t<M;++t)s.push(d(t));for(t=0;t<O;++t){s.push(a(t,0));for(n=1;n<1<<M;++n)S[t]?B.push(a(t,n),"=",o(t),".get(",f(t),"+",p(t,n),");"):B.push(a(t,n),"=",o(t),"[",f(t),"+",p(t,n),"];"),s.push(a(t,n))}for(t=0;t<1<<M;++t)s.push(v(t));for(t=0;t<T;++t)s.push(c(t));B.push("vertex(",s.join(),");",y(0),"=",b,"[",_,"]=",A,"++;");var l=(1<<M)-1,u=v(l);for(n=0;n<M;++n)if(0===(e&~(1<<n))){for(var h=l^1<<n,m=v(h),w=[],E=h;E>0;E=E-1&h)w.push(b+"["+_+"+"+g(E)+"]");w.push(y(0));for(E=0;E<O;++E)1&n?w.push(a(E,l),a(E,h)):w.push(a(E,h),a(E,l));1&n?w.push(u,m):w.push(m,u);for(E=0;E<T;++E)w.push(c(E));B.push("if(",u,"!==",m,"){","face(",w.join(),")}")}B.push("}",_,"+=1;")}function $(){for(var e=1;e<1<<M;++e)B.push(E,"=",g(e),";",g(e),"=",m(e),";",m(e),"=",E,";")}function Y(e,t){if(e<0)G(t);else{q(e),B.push("if(",s(C[e]),">0){",d(C[e]),"=1;"),Y(e-1,t|1<<C[e]);for(var r=0;r<O;++r)B.push(f(r),"+=",h(r,C[e]),";");e===M-1&&(B.push(_,"=0;"),$()),W(e,2),Y(e-1,t),e===M-1&&(B.push("if(",d(C[M-1]),"&1){",_,"=0;}"),$()),K(e),B.push("}")}}L.push(y(0)+"=0",E+"=0"),Y(M-1,0),B.push("freeUint32(",b,");freeUint32(",x,");");var X=["'use strict';","function ",P,"(",D.join(),"){","var ",L.join(),";",B.join(""),"}","return ",P].join(""),Z=new Function("vertex","face","phase","mallocUint32","freeUint32",X);return Z(e,t,r,n.mallocUint32,n.freeUint32)}function C(e){function t(e){throw new Error("ndarray-extract-contour: "+e)}"object"!==typeof e&&t("Must specify arguments");var r=e.order;Array.isArray(r)||t("Must specify order");var n=e.arrayArguments||1;n<1&&t("Must have at least one array argument");var i=e.scalarArguments||0;i<0&&t("Scalar arg count must be > 0"),"function"!==typeof e.vertex&&t("Must specify vertex creation function"),"function"!==typeof e.cell&&t("Must specify cell creation function"),"function"!==typeof e.phase&&t("Must specify phase function");for(var o=e.getters||[],a=new Array(n),s=0;s<n;++s)o.indexOf(s)>=0?a[s]=!0:a[s]=!1;return T(e.vertex,e.cell,e.phase,i,r,a)}},"05ae":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=f(i),a=r("fc55"),s=f(a),l=r("8daa"),u=r("36ad"),c=f(u);function f(e){return e&&e.__esModule?e:{default:e}}var p=13,d=t.Swatch=function(e){var t=e.color,r=e.style,i=e.onClick,a=void 0===i?function(){}:i,l=e.onHover,u=e.title,f=void 0===u?t:u,d=e.children,h=e.focus,v=e.focusStyle,m=void 0===v?{}:v,g="transparent"===t,y=(0,s.default)({default:{swatch:n({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,h?m:{})}}),b=function(e){return a(t,e)},x=function(e){return e.keyCode===p&&a(t,e)},A=function(e){return l(t,e)},w={};return l&&(w.onMouseOver=A),o.default.createElement("div",n({style:y.swatch,onClick:b,title:f,tabIndex:0,onKeyDown:x},w),d,g&&o.default.createElement(c.default,{borderRadius:y.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,l.handleFocus)(d)},"05d6":function(e,t,r){"use strict";e.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeCapture:"node-capture",nodeCentered:"node-entered",nodeLabelGuide:"node-label-guide",nodeLabel:"node-label",nodeLabelTextPath:"node-label-text-path"}}},"0625":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("0642"),a=r("8797"),s=r("7f9e"),l=r("3aa8"),u=r("d064"),c=r("1b6a"),f=r("2d0e"),p=r("0c3a"),d=r("d706"),h=r("e806").BADNUM;function v(e){for(var t=[],r=e.length,n=0;n<r;n++){var i=e[n];i!==h&&t.push(i)}return t}function m(e,t,r){for(var n=[],i=-1,o=0;o<r.length;o++)if(t[o]!==h){i++,n[i]=[];for(var a=0;a<r[o].length;a++)e[a]!==h&&n[i].push(r[o][a])}return n}e.exports=function(e,t){var r,h,g,y,b,x,A,w,_,E,k,T=o.getFromId(e,t.xaxis||"x"),C=o.getFromId(e,t.yaxis||"y"),S=n.traceIs(t,"contour"),O=n.traceIs(t,"histogram"),M=n.traceIs(t,"gl2d"),P=S?"best":t.zsmooth;if(T._minDtick=0,C._minDtick=0,O)k=s(e,t),y=k.orig_x,r=k.x,h=k.x0,g=k.dx,w=k.orig_y,b=k.y,x=k.y0,A=k.dy,_=k.z;else{var B=t.z;i.isArray1D(B)?(u(t,T,C,"x","y",["z"]),r=t._x,b=t._y,B=t._z):(y=t.x?T.makeCalcdata(t,"x"):[],w=t.y?C.makeCalcdata(t,"y"):[],r=a(t,T,"x",y),b=a(t,C,"y",w),t._x=r,t._y=b),h=t.x0,g=t.dx,x=t.y0,A=t.dy,_=c(B,t,T,C)}function L(e){P=t._input.zsmooth=t.zsmooth=!1,i.warn('cannot use zsmooth: "fast": '+e)}if((T.rangebreaks||C.rangebreaks)&&(_=m(r,b,_),O||(r=v(r),b=v(b),t._x=r,t._y=b)),O||!S&&!t.connectgaps||(t._emptypoints=p(_),f(_,t._emptypoints)),"fast"===P)if("log"===T.type||"log"===C.type)L("log axis found");else if(!O){if(r.length){var D=(r[r.length-1]-r[0])/(r.length-1),I=Math.abs(D/100);for(E=0;E<r.length-1;E++)if(Math.abs(r[E+1]-r[E]-D)>I){L("x scale is not linear");break}}if(b.length&&"fast"===P){var j=(b[b.length-1]-b[0])/(b.length-1),R=Math.abs(j/100);for(E=0;E<b.length-1;E++)if(Math.abs(b[E+1]-b[E]-j)>R){L("y scale is not linear");break}}}var F=i.maxRowLength(_),N="scaled"===t.xtype?"":r,z=d(t,N,h,g,F,T),U="scaled"===t.ytype?"":b,H=d(t,U,x,A,_.length,C);M||(t._extremes[T._id]=o.findExtremes(T,z),t._extremes[C._id]=o.findExtremes(C,H));var V={x:z,y:H,z:_,text:t._text||t.text,hovertext:t._hovertext||t.hovertext};if(t.xperiodalignment&&y&&(V.orig_x=y),t.yperiodalignment&&w&&(V.orig_y=w),N&&N.length===z.length-1&&(V.xCenter=N),U&&U.length===H.length-1&&(V.yCenter=U),O&&(V.xRanges=k.xRanges,V.yRanges=k.yRanges,V.pts=k.pts),S||l(e,t,{vals:_,cLetter:"z"}),S&&t.contours&&"heatmap"===t.contours.coloring){var Q={type:"contour"===t.type?"heatmap":"histogram2d",xcalendar:t.xcalendar,ycalendar:t.ycalendar};V.xfill=d(Q,N,h,g,F,T),V.yfill=d(Q,U,x,A,_.length,C)}return[V]}},"0642":function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("bb71"),a=r("371e"),s=r("fc26"),l=s.strTranslate,u=r("0379"),c=r("1999"),f=r("d115"),p=r("83d1"),d=r("d798"),h=r("da6a2"),v=r("e806"),m=v.ONEMAXYEAR,g=v.ONEAVGYEAR,y=v.ONEMINYEAR,b=v.ONEMAXQUARTER,x=v.ONEAVGQUARTER,A=v.ONEMINQUARTER,w=v.ONEMAXMONTH,_=v.ONEAVGMONTH,E=v.ONEMINMONTH,k=v.ONEWEEK,T=v.ONEDAY,C=T/2,S=v.ONEHOUR,O=v.ONEMIN,M=v.ONESEC,P=v.MINUS_SIGN,B=v.BADNUM,L=r("63dc"),D=L.MID_SHIFT,I=L.CAP_SHIFT,j=L.LINE_SPACING,R=L.OPPOSITE_SIDE,F=3,N=e.exports={};N.setConvert=r("1a40");var z=r("0b77"),U=r("3c1c"),H=U.idSort,V=U.isLinked;N.id2name=U.id2name,N.name2id=U.name2id,N.cleanId=U.cleanId,N.list=U.list,N.listIds=U.listIds,N.getFromId=U.getFromId,N.getFromTrace=U.getFromTrace;var Q=r("ce56");N.getAutoRange=Q.getAutoRange,N.findExtremes=Q.findExtremes;var W=1e-4;function K(e){var t=(e[1]-e[0])*W;return[e[0]-t,e[1]+t]}N.coerceRef=function(e,t,r,n,i,o){var a=n.charAt(n.length-1),l=r._fullLayout._subplots[a+"axis"],u=n+"ref",c={};return i||(i=l[0]||("string"===typeof o?o:o[0])),o||(o=i),l=l.concat(l.map((function(e){return e+" domain"}))),c[u]={valType:"enumerated",values:l.concat(o?"string"===typeof o?[o]:o:[]),dflt:i},s.coerce(e,t,c,u)},N.getRefType=function(e){return void 0===e?e:"paper"===e?"paper":"pixel"===e?"pixel":/( domain)$/.test(e)?"domain":"range"},N.coercePosition=function(e,t,r,n,i,o){var a,l,u=N.getRefType(n);if("range"!==u)a=s.ensureNumber,l=r(i,o);else{var c=N.getFromId(t,n);o=c.fraction2r(o),l=r(i,o),a=c.cleanPos}e[i]=a(l)},N.cleanPosition=function(e,t,r){var n="paper"===r||"pixel"===r?s.ensureNumber:N.getFromId(t,r).cleanPos;return n(e)},N.redrawComponents=function(e,t){t=t||N.listIds(e);var r=e._fullLayout;function n(n,i,o,s){for(var l=a.getComponentMethod(n,i),u={},c=0;c<t.length;c++)for(var f=r[N.id2name(t[c])],p=f[o],d=0;d<p.length;d++){var h=p[d];if(!u[h]&&(l(e,h),u[h]=1,s))return}}n("annotations","drawOne","_annIndices"),n("shapes","drawOne","_shapeIndices"),n("images","draw","_imgIndices",!0)};var q=N.getDataConversions=function(e,t,r,n){var i,o="x"===r||"y"===r||"z"===r?r:n;if(Array.isArray(o)){if(i={type:z(n,void 0,{autotypenumbers:e._fullLayout.autotypenumbers}),_categories:[]},N.setConvert(i),"category"===i.type)for(var a=0;a<n.length;a++)i.d2c(n[a])}else i=N.getFromTrace(e,t,o);return i?{d2c:i.d2c,c2d:i.c2d}:"ids"===o?{d2c:$,c2d:$}:{d2c:G,c2d:G}};function G(e){return+e}function $(e){return String(e)}function Y(e,t,r,n,o){var a=0,s=0,l=0,u=0;function c(t){return(1+100*(t-e)/r.dtick)%100<2}for(var f=0;f<t.length;f++)t[f]%1===0?l++:i(t[f])||u++,c(t[f])&&a++,c(t[f]+r.dtick/2)&&s++;var p=t.length-u;if(l===p&&"date"!==r.type)r.dtick<1?e=n-.5*r.dtick:(e-=.5,e+r.dtick<n&&(e+=r.dtick));else if(s<.1*p&&(a>.3*p||c(n)||c(o))){var d=r.dtick/2;e+=e+d<n?d:-d}return e}function X(e,t,r,n,i){var o=s.findExactDates(t,i),a=.8;if(o.exactDays>a){var l=Number(r.substr(1));o.exactYears>a&&l%12===0?e=N.tickIncrement(e,"M6","reverse")+1.5*T:o.exactMonths>a?e=N.tickIncrement(e,"M1","reverse")+15.5*T:e-=C;var u=N.tickIncrement(e,r);if(u<=n)return u}return e}function Z(e){return+e.substring(1)}function J(e){var t;function r(){return!(i(e.dtick)||"M"!==e.dtick.charAt(0))}var n=r(),o=N.getTickFormat(e);if(o){var a=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(o)||(/%[HI]/.test(o)?(t=S,a&&!n&&e.dtick<S&&(e.dtick=S)):/%p/.test(o)?(t=C,a&&!n&&e.dtick<C&&(e.dtick=C)):/%[Aadejuwx]/.test(o)?(t=T,a&&!n&&e.dtick<T&&(e.dtick=T)):/%[UVW]/.test(o)?(t=k,a&&!n&&e.dtick<k&&(e.dtick=k)):/%[Bbm]/.test(o)?(t=_,a&&(n?Z(e.dtick)<1:e.dtick<E)&&(e.dtick="M1")):/%[q]/.test(o)?(t=x,a&&(n?Z(e.dtick)<3:e.dtick<A)&&(e.dtick="M3")):/%[Yy]/.test(o)&&(t=g,a&&(n?Z(e.dtick)<12:e.dtick<y)&&(e.dtick="M12")))}n=r(),n&&e.tick0===e._dowTick0&&(e.tick0=e._rawTick0),e._definedDelta=t}function ee(e,t,r){for(var n=0;n<e.length;n++){var i=e[n].value,o=n,a=n+1;n<e.length-1?(o=n,a=n+1):n>0?(o=n-1,a=n):(o=n,a=n);var s,l=e[o].value,u=e[a].value,c=Math.abs(u-l),f=r||c,p=0;f>=y?p=c>=y&&c<=m?c:g:r===x&&f>=A?p=c>=A&&c<=b?c:x:f>=E?p=c>=E&&c<=w?c:_:r===k&&f>=k?p=k:f>=T?p=T:r===C&&f>=C?p=C:r===S&&f>=S&&(p=S),p>=c&&(p=c,s=!0);var d=i+p;if(t.rangebreaks&&p>0){for(var h=84,v=0,O=0;O<h;O++){var M=(O+.5)/h;t.maskBreaks(i*(1-M)+M*d)!==B&&v++}p*=v/h,p||(e[n].drop=!0),s&&c>k&&(p=c)}(p>0||0===n)&&(e[n].periodX=i+p/2)}}function te(e){var t=e.tickvals,r=e.ticktext,n=new Array(t.length),i=s.simpleMap(e.range,e.r2l),o=K(i),a=Math.min(o[0],o[1]),l=Math.max(o[0],o[1]),u=0;Array.isArray(r)||(r=[]);var c="category"===e.type?e.d2l_noadd:e.d2l;"log"===e.type&&"L"!==String(e.dtick).charAt(0)&&(e.dtick="L"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1));for(var f=0;f<t.length;f++){var p=c(t[f]);p>a&&p<l&&(void 0===r[f]?n[u]=N.tickText(e,p):n[u]=fe(e,p,String(r[f])),u++)}return u<t.length&&n.splice(u,t.length-u),e.rangebreaks&&(n=n.filter((function(t){return e.maskBreaks(t.x)!==B}))),n}N.getDataToCoordFunc=function(e,t,r,n){return q(e,t,r,n).d2c},N.counterLetter=function(e){var t=e.charAt(0);return"x"===t?"y":"y"===t?"x":void 0},N.minDtick=function(e,t,r,n){-1===["log","category","multicategory"].indexOf(e.type)&&n?void 0===e._minDtick?(e._minDtick=t,e._forceTick0=r):e._minDtick&&((e._minDtick/t+1e-6)%1<2e-6&&((r-e._forceTick0)/t%1+1.000001)%1<2e-6?(e._minDtick=t,e._forceTick0=r):((t/e._minDtick+1e-6)%1>2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.saveRangeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,i=0;i<r.length;i++){var o=r[i],a=void 0===o._rangeInitial,s=a||!(o.range[0]===o._rangeInitial[0]&&o.range[1]===o._rangeInitial[1]);(a&&!1===o.autorange||t&&s)&&(o._rangeInitial=o.range.slice(),n=!0)}return n},N.saveShowSpikeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,i="on",o=0;o<r.length;o++){var a=r[o],s=void 0===a._showSpikeInitial,l=s||!(a.showspikes===a._showspikes);(s||t&&l)&&(a._showSpikeInitial=a.showspikes,n=!0),"on"!==i||a.showspikes||(i="off")}return e._fullLayout._cartesianSpikesEnabled=i,n},N.autoBin=function(e,t,r,n,o,a){var l,u=s.aggNums(Math.min,null,e),c=s.aggNums(Math.max,null,e);if("category"===t.type||"multicategory"===t.type)return{start:u-.5,end:c+.5,size:Math.max(1,Math.round(a)||1),_dataSpan:c-u};if(o||(o=t.calendar),l="log"===t.type?{type:"linear",range:[u,c]}:{type:t.type,range:s.simpleMap([u,c],t.c2r,0,o),calendar:o},N.setConvert(l),a=a&&h.dtick(a,l.type),a)l.dtick=a,l.tick0=h.tick0(void 0,l.type,o);else{var f;if(r)f=(c-u)/r;else{var p=s.distinctVals(e),d=Math.pow(10,Math.floor(Math.log(p.minDiff)/Math.LN10)),v=d*s.roundUp(p.minDiff/d,[.9,1.9,4.9,9.9],!0);f=Math.max(v,2*s.stdev(e)/Math.pow(e.length,n?.25:.4)),i(f)||(f=1)}N.autoTicks(l,f)}var m,g,y=l.dtick,b=N.tickIncrement(N.tickFirst(l),y,"reverse",o);if("number"===typeof y)b=Y(b,e,l,u,c),g=1+Math.floor((c-b)/y),m=b+g*y;else{"M"===l.dtick.charAt(0)&&(b=X(b,e,y,u,o)),m=b,g=0;while(m<=c)m=N.tickIncrement(m,y,!1,o),g++}return{start:t.c2r(b,0,o),end:t.c2r(m,0,o),size:y,_dataSpan:c-u}},N.prepTicks=function(e,t){var r=s.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var n,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(n=e.tickfont?1.2*(e.tickfont.size||12):15,i=e._length/n):(n="y"===e._id.charAt(0)?40:80,i=s.constrain(e._length/n,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,N.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&J(e),e.tick0||(e.tick0="date"===e.type?"2000-01-01":0),"date"===e.type&&e.dtick<.1&&(e.dtick=.1),ce(e)},N.calcTicks=function(e,t){N.prepTicks(e,t);var r=s.simpleMap(e.range,e.r2l,void 0,void 0,t);if("array"===e.tickmode)return te(e);var n=K(r),o=n[0],a=n[1],l=r[1]<r[0],u=Math.min(r[0],r[1]),c=Math.max(r[0],r[1]),f="log"===e.type&&!(i(e.dtick)||"L"===e.dtick.charAt(0)),p="period"===e.ticklabelmode;if(e._tmin=N.tickFirst(e,t),e._tmin<o!==l)return[];"category"!==e.type&&"multicategory"!==e.type||(a=l?Math.max(-.5,a):Math.min(e._categories.length-.5,a));var d=e._tmin;e.rangebreaks&&e._tick0Init!==e.tick0&&(d=We(d,e),l||(d=N.tickIncrement(d,e.dtick,!l,e.calendar))),p&&(d=N.tickIncrement(d,e.dtick,!l,e.calendar));for(var h,v=Math.max(1e3,e._length||0),m=[],g=null;l?d>=a:d<=a;d=N.tickIncrement(d,e.dtick,l,e.calendar)){if(e.rangebreaks&&!l){if(d<o)continue;if(e.maskBreaks(d)===B&&We(d,e)>=c)break}if(m.length>v||d===g)break;g=d;var y=!1;f&&d!==(0|d)&&(y=!0),m.push({minor:y,value:d})}if(p&&ee(m,e,e._definedDelta),e.rangebreaks){var b="y"===e._id.charAt(0),x=1;"auto"===e.tickmode&&(x=e.tickfont?e.tickfont.size:12);var A=NaN;for(h=m.length-1;h>-1;h--)if(m[h].drop)m.splice(h,1);else{m[h].value=We(m[h].value,e);var w=e.c2p(m[h].value);(b?A>w-x:A<w+x)?m.splice(l?h+1:h,1):A=w}}Qe(e)&&360===Math.abs(r[1]-r[0])&&m.pop(),e._tmax=(m[m.length-1]||{}).value,e._prevDateHead="",e._inCalcTicks=!0;var _,E,k=[];for(h=0;h<m.length;h++){var T=m[h].minor,C=m[h].value;_=N.tickText(e,C,!1,T),E=m[h].periodX,void 0!==E&&(_.periodX=E,(E>c||E<u)&&(E>c&&(_.periodX=c),E<u&&(_.periodX=u),_.text=" ",e._prevDateHead="")),k.push(_)}return e._inCalcTicks=!1,k};var re=[2,5,10],ne=[1,2,3,6,12],ie=[1,2,5,10,15,30],oe=[1,2,3,7,14],ae=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],se=[-.301,0,.301,.699,1],le=[15,30,45,90,180];function ue(e,t,r){return t*s.roundUp(e/t,r)}function ce(e){var t=e.dtick;if(e._tickexponent=0,i(t)||"string"===typeof t||(t=1),"category"!==e.type&&"multicategory"!==e.type||(e._tickround=null),"date"===e.type){var r=e.r2l(e.tick0),n=e.l2r(r).replace(/(^-|i)/g,""),o=n.length;if("M"===String(t).charAt(0))o>10||"01-01"!==n.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12===0?"y":"m";else if(t>=T&&o<=10||t>=15*T)e._tickround="d";else if(t>=O&&o<=16||t>=S)e._tickround="M";else if(t>=M&&o<=19||t>=O)e._tickround="S";else{var a=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(o,a)-20,e._tickround<0&&(e._tickround=4)}}else if(i(t)||"L"===t.charAt(0)){var s=e.range.map(e.r2d||Number);i(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),u=Math.floor(Math.log(l)/Math.LN10+.01),c=void 0===e.minexponent?3:e.minexponent;Math.abs(u)>c&&(xe(e.exponentformat)&&!Ae(u)?e._tickexponent=3*Math.round((u-1)/3):e._tickexponent=u)}else e._tickround=null}function fe(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}function pe(e,t,r,n){var o=e._tickround,a=r&&e.hoverformat||N.getTickFormat(e);n&&(o=i(o)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[o]);var l,u=s.formatDate(t.x,a,o,e._dateFormat,e.calendar,e._extraFormat),c=u.indexOf("\n");if(-1!==c&&(l=u.substr(c+1),u=u.substr(0,c)),n&&("00:00:00"===u||"00:00"===u?(u=l,l=""):8===u.length&&(u=u.replace(/:00$/,""))),l)if(r)"d"===o?u+=", "+l:u=l+(u?", "+u:"");else if(e._inCalcTicks&&e._prevDateHead===l){var f=-1!==(e.ticklabelposition||"").indexOf("inside"),p=e._realSide||e.side;(!f&&"top"===p||f&&"bottom"===p)&&(u+="<br> ")}else e._prevDateHead=l,u+="<br>"+l;t.text=u}function de(e,t,r,n,o){var a=e.dtick,l=t.x,u=e.tickformat,c="string"===typeof a&&a.charAt(0);if("never"===o&&(o=""),n&&"L"!==c&&(a="L3",c="L"),u||"L"===c)t.text=we(Math.pow(10,l),e,o,n);else if(i(a)||"D"===c&&s.mod(l+.01,1)<.1){var f=Math.round(l),p=Math.abs(f),d=e.exponentformat;"power"===d||xe(d)&&Ae(f)?(t.text=0===f?1:1===f?"10":"10<sup>"+(f>1?"":P)+p+"</sup>",t.fontSize*=1.25):("e"===d||"E"===d)&&p>2?t.text="1"+d+(f>0?"+":P)+p:(t.text=we(Math.pow(10,l),e,"","fakehover"),"D1"===a&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==c)throw"unrecognized dtick "+String(a);t.text=String(Math.round(Math.pow(10,s.mod(l,1)))),t.fontSize*=.75}if("D1"===e.dtick){var h=String(t.text).charAt(0);"0"!==h&&"1"!==h||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(l<0?.5:.25)))}}function he(e,t){var r=e._categories[Math.round(t.x)];void 0===r&&(r=""),t.text=String(r)}function ve(e,t,r){var n=Math.round(t.x),i=e._categories[n]||[],o=void 0===i[1]?"":String(i[1]),a=void 0===i[0]?"":String(i[0]);r?t.text=a+" - "+o:(t.text=o,t.text2=a)}function me(e,t,r,n,i){"never"===i?i="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(i="hide"),t.text=we(t.x,e,i,n)}function ge(e,t,r,n,i){if("radians"!==e.thetaunit||r)t.text=we(t.x,e,i,n);else{var o=t.x/180;if(0===o)t.text="0";else{var a=ye(o);if(a[1]>=100)t.text=we(s.deg2rad(t.x),e,i,n);else{var l=t.x<0;1===a[1]?1===a[0]?t.text="π":t.text=a[0]+"π":t.text=["<sup>",a[0],"</sup>","⁄","<sub>",a[1],"</sub>","π"].join(""),l&&(t.text=P+t.text)}}}}function ye(e){function t(e,t){return Math.abs(e-t)<=1e-6}function r(e,n){return t(n,0)?e:r(n,e%n)}function n(e){var r=1;while(!t(Math.round(e*r)/r,e))r*=10;return r}var i=n(e),o=e*i,a=Math.abs(r(o,i));return[Math.round(o/a),Math.round(i/a)]}N.autoTicks=function(e,t){var r;function n(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=s.dateTick0(e.calendar,0);var o=2*t;if(o>g)t/=g,r=n(10),e.dtick="M"+12*ue(t,r,re);else if(o>_)t/=_,e.dtick="M"+ue(t,1,ne);else if(o>T){e.dtick=ue(t,T,e._hasDayOfWeekBreaks?[1,2,7,14]:oe);var a=N.getTickFormat(e),l="period"===e.ticklabelmode;l&&(e._rawTick0=e.tick0),/%[uVW]/.test(a)?e.tick0=s.dateTick0(e.calendar,2):e.tick0=s.dateTick0(e.calendar,1),l&&(e._dowTick0=e.tick0)}else o>S?e.dtick=ue(t,S,ne):o>O?e.dtick=ue(t,O,ie):o>M?e.dtick=ue(t,M,ie):(r=n(10),e.dtick=ue(t,r,re))}else if("log"===e.type){e.tick0=0;var u=s.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(u[1]-u[0])<1){var c=1.5*Math.abs((u[1]-u[0])/t);t=Math.abs(Math.pow(10,u[1])-Math.pow(10,u[0]))/c,r=n(10),e.dtick="L"+ue(t,r,re)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):Qe(e)?(e.tick0=0,r=1,e.dtick=ue(t,r,le)):(e.tick0=0,r=n(10),e.dtick=ue(t,r,re));if(0===e.dtick&&(e.dtick=1),!i(e.dtick)&&"string"!==typeof e.dtick){var f=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(f)}},N.tickIncrement=function(e,t,r,o){var a=r?-1:1;if(i(t))return s.increment(e,a*t);var l=t.charAt(0),u=a*Number(t.substr(1));if("M"===l)return s.incrementMonth(e,u,o);if("L"===l)return Math.log(Math.pow(10,e)+u)/Math.LN10;if("D"===l){var c="D2"===t?se:ae,f=e+.01*a,p=s.roundUp(s.mod(f,1),c,r);return Math.floor(f)+Math.log(n.round(Math.pow(10,p),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e,t){var r=e.r2l||Number,o=s.simpleMap(e.range,r,void 0,void 0,t),a=o[1]<o[0],l=a?Math.floor:Math.ceil,u=K(o)[0],c=e.dtick,f=r(e.tick0);if(i(c)){var p=l((u-f)/c)*c+f;return"category"!==e.type&&"multicategory"!==e.type||(p=s.constrain(p,0,e._categories.length-1)),p}var d=c.charAt(0),h=Number(c.substr(1));if("M"===d){var v,m,g,y=0,b=f;while(y<10){if(v=N.tickIncrement(b,c,a,e.calendar),(v-u)*(b-u)<=0)return a?Math.min(b,v):Math.max(b,v);m=(u-(b+v)/2)/(v-b),g=d+(Math.abs(Math.round(m))||1)*h,b=N.tickIncrement(b,g,m<0?!a:a,e.calendar),y++}return s.error("tickFirst did not converge",e),b}if("L"===d)return Math.log(l((Math.pow(10,u)-f)/h)*h+f)/Math.LN10;if("D"===d){var x="D2"===c?se:ae,A=s.roundUp(s.mod(u,1),x,a);return Math.floor(u)+Math.log(n.round(Math.pow(10,A),1))/Math.LN10}throw"unrecognized dtick "+String(c)},N.tickText=function(e,t,r,n){var i,o=fe(e,t),a="array"===e.tickmode,l=r||a,u=e.type,c="category"===u?e.d2l_noadd:e.d2l;if(a&&Array.isArray(e.ticktext)){var f=s.simpleMap(e.range,e.r2l),p=(Math.abs(f[1]-f[0])-(e._lBreaks||0))/1e4;for(i=0;i<e.ticktext.length;i++)if(Math.abs(t-c(e.tickvals[i]))<p)break;if(i<e.ticktext.length)return o.text=String(e.ticktext[i]),o}function d(n){if(void 0===n)return!0;if(r)return"none"===n;var i={first:e._tmin,last:e._tmax}[n];return"all"!==n&&t!==i}var h=r?"never":"none"!==e.exponentformat&&d(e.showexponent)?"hide":"";if("date"===u?pe(e,o,r,l):"log"===u?de(e,o,r,l,h):"category"===u?he(e,o):"multicategory"===u?ve(e,o,r):Qe(e)?ge(e,o,r,l,h):me(e,o,r,l,h),n||(e.tickprefix&&!d(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!d(e.showticksuffix)&&(o.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var v=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};o.xbnd=[v(o.x-.5),v(o.x+e.dtick-.5)]}return o},N.hoverLabelText=function(e,t,r){if(r!==B&&r!==t)return N.hoverLabelText(e,t)+" - "+N.hoverLabelText(e,r);var n="log"===e.type&&t<=0,i=N.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":P+i:i};var be=["f","p","n","μ","m","","k","M","G","T"];function xe(e){return"SI"===e||"B"===e}function Ae(e){return e>14||e<-15}function we(e,t,r,n){var o=e<0,a=t._tickround,l=r||t.exponentformat||"B",u=t._tickexponent,c=N.getTickFormat(t),f=t.separatethousands;if(n){var p={exponentformat:l,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:i(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};ce(p),a=(Number(p._tickround)||0)+4,u=p._tickexponent,t.hoverformat&&(c=t.hoverformat)}if(c)return t._numFormat(c)(e).replace(/-/g,P);var d,h=Math.pow(10,-a)/2;if("none"===l&&(u=0),e=Math.abs(e),e<h)e="0",o=!1;else{if(e+=h,u&&(e*=Math.pow(10,-u),a+=u),0===a)e=String(Math.floor(e));else if(a<0){e=String(Math.round(e)),e=e.substr(0,e.length+a);for(var v=a;v<0;v++)e+="0"}else{e=String(e);var m=e.indexOf(".")+1;m&&(e=e.substr(0,m+a).replace(/\.?0+$/,""))}e=s.numSeparate(e,t._separators,f)}u&&"hide"!==l&&(xe(l)&&Ae(u)&&(l="power"),d=u<0?P+-u:"power"!==l?"+"+u:String(u),"e"===l||"E"===l?e+=l+d:"power"===l?e+="×10<sup>"+d+"</sup>":"B"===l&&9===u?e+="B":xe(l)&&(e+=be[u/3+5]));return o?P+e:e}function _e(e,t){var r,n=[],i=function(e,t){var r=e.xbnd[t];null!==r&&n.push(s.extendFlat({},e,{x:r}))};if(t.length){for(r=0;r<t.length;r++)i(t[r],0);i(t[r-1],1)}return n}function Ee(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i];n[o.text2]?n[o.text2].push(o.x):n[o.text2]=[o.x]}for(var a in n)r.push(fe(e,s.interp(n[a],.5),a));return r}function ke(e,t){var r,n,i=[],o=t.length&&t[t.length-1].x<t[0].x,a=function(e,t){var r=e.xbnd[t];null!==r&&i.push(s.extendFlat({},e,{x:r}))};if(e.showdividers&&t.length){for(r=0;r<t.length;r++){var l=t[r];l.text2!==n&&a(l,o?1:0),n=l.text2}a(t[r-1],o?0:1)}return i}function Te(e,t){var r,n,i,o;return e._selections[t].size()?(r=1/0,n=-1/0,i=1/0,o=-1/0,e._selections[t].each((function(){var e=je(this),t=p.bBox(e.node().parentNode);r=Math.min(r,t.top),n=Math.max(n,t.bottom),i=Math.min(i,t.left),o=Math.max(o,t.right)}))):(r=0,n=0,i=0,o=0),{top:r,bottom:n,left:i,right:o,height:n-r,width:o-i}}function Ce(e){return void 0!==e.periodX?e.periodX:e.x}function Se(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),i=r("left"),o=r("right"),a=r("bottom"),s=r("inside"),l=a||i||n||o;if(!l&&!s)return[0,0];var u=e.side,c=l?(e.tickwidth||0)/2:0,f=F,p=e.tickfont?e.tickfont.size:12;return(a||n)&&(c+=p*I,f+=(e.linewidth||0)/2),(i||o)&&(c+=(e.linewidth||0)/2,f+=F),s&&"top"===u&&(f-=p*(1-I)),(i||n)&&(c=-c),"bottom"!==u&&"right"!==u||(f=-f),[l?c:0,s?f:0]}function Oe(e){return[e.text,e.x,e.axInfo,e.font,e.fontSize,e.fontColor].join("_")}function Me(e,t,r){var n=t._id+"divider",i=r.vals,o=r.layer.selectAll("path."+n).data(i,Oe);o.exit().remove(),o.enter().insert("path",":first-child").classed(n,1).classed("crisp",1).call(f.stroke,t.dividercolor).style("stroke-width",p.crispRound(e,t.dividerwidth,1)+"px"),o.attr("transform",r.transFn).attr("d",r.path)}function Pe(e){var t=e.title.font.size,r=(e.title.text.match(u.BR_TAG_ALL)||[]).length;return e.title.hasOwnProperty("standoff")?r?t*(I+r*j):t*I:r?t*(r+1)*j:t}function Be(e,t){var r,n=e._fullLayout,i=t._id,o=i.charAt(0),a=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+Pe(t);else{var s=-1!==(t.ticklabelposition||"").indexOf("inside");if("multicategory"===t.type)r=t._depth;else{var l=1.5*a;s&&(l=.5*a,"outside"===t.ticks&&(l+=t.ticklen)),r=10+l+(t.linewidth?t.linewidth-1:0)}s||(r+="x"===o?"top"===t.side?a*(t.showticklabels?1:0):a*(t.showticklabels?1.5:.5):"right"===t.side?a*(t.showticklabels?1:.5):a*(t.showticklabels?.5:0))}var u,f,d,h,v=N.getPxPosition(e,t);if("x"===o?(f=t._offset+t._length/2,d="top"===t.side?v-r:v+r):(d=t._offset+t._length/2,f="right"===t.side?v+r:v-r,u={rotate:"-90",offset:0}),"multicategory"!==t.type){var m=t._selections[t._id+"tick"];if(h={selection:m,side:t.side},m&&m.node()&&m.node().parentNode){var g=p.getTranslate(m.node().parentNode);h.offsetLeft=g.x,h.offsetTop=g.y}t.title.hasOwnProperty("standoff")&&(h.pad=0)}return c.draw(e,i+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[o],avoid:h,transform:u,attributes:{x:f,y:d,"text-anchor":"middle"}})}function Le(e,t){var r=e.l2p(t);return r>1&&r<e._length-1}function De(e,t,r,n){var i=r._mainAxis;if(i){var o=e._fullLayout,a=t._id.charAt(0),s=N.counterLetter(t._id),l=t._offset+(Math.abs(n[0])<Math.abs(n[1])===("x"===a)?0:t._length),u=o._plots[r._mainSubplot];if(!(u.mainplotinfo||u).overlays.length)return d(r,l);for(var c=N.list(e,s),f=0;f<c.length;f++){var p=c[f];if(p._mainAxis===i&&d(p,l))return!0}}function d(e){if(!e.showline||!e.linewidth)return!1;var r=Math.max((e.linewidth+t.zerolinewidth)/2,1);function n(e){return"number"===typeof e&&Math.abs(e-l)<r}if(n(e._mainLinePosition)||n(e._mainMirrorPosition))return!0;var i=e._linepositions||{};for(var o in i)if(n(i[o][0])||n(i[o][1]))return!0}}function Ie(e,t){for(var r=e._fullData,n=t._mainSubplot,i=t._id.charAt(0),o=0;o<r.length;o++){var s=r[o];if(!0===s.visible&&s.xaxis+s.yaxis===n){if(a.traceIs(s,"bar-like")&&s.orientation==={x:"h",y:"v"}[i])return!0;if(s.fill&&s.fill.charAt(s.fill.length-1)===i)return!0}}return!1}function je(e){var t=n.select(e),r=t.select(".text-math-group");return r.empty()?t.select("text"):r}function Re(e){return e._id+".automargin"}function Fe(e){return Re(e)+".mirror"}function Ne(e){return e._id+".rangeslider"}function ze(e,t){var r,n,i=[];for(r=0;r<t.length;r++){var o=[],a=e._fullData[t[r]].xaxis,s=e._fullData[t[r]].yaxis;if(a&&s){for(n=0;n<i.length;n++)-1===i[n].x.indexOf(a)&&-1===i[n].y.indexOf(s)||o.push(n);if(o.length){var l,u=i[o[0]];if(o.length>1)for(n=1;n<o.length;n++)l=i[o[n]],Ue(u.x,l.x),Ue(u.y,l.y);Ue(u.x,[a]),Ue(u.y,[s])}else i.push({x:[a],y:[s]})}}return i}function Ue(e,t){for(var r=0;r<t.length;r++)-1===e.indexOf(t[r])&&e.push(t[r])}function He(e,t,r){var n,i,o=[],a=[],l=e.layout;for(n=0;n<t.length;n++)o.push(N.getFromId(e,t[n]));for(n=0;n<r.length;n++)a.push(N.getFromId(e,r[n]));var u=Object.keys(d),c=["anchor","domain","overlaying","position","side","tickangle","editType"],f=["linear","log"];for(n=0;n<u.length;n++){var p=u[n],h=o[0][p],v=a[0][p],m=!0,g=!1,y=!1;if("_"!==p.charAt(0)&&"function"!==typeof h&&-1===c.indexOf(p)){for(i=1;i<o.length&&m;i++){var b=o[i][p];"type"===p&&-1!==f.indexOf(h)&&-1!==f.indexOf(b)&&h!==b?g=!0:b!==h&&(m=!1)}for(i=1;i<a.length&&m;i++){var x=a[i][p];"type"===p&&-1!==f.indexOf(v)&&-1!==f.indexOf(x)&&v!==x?y=!0:a[i][p]!==v&&(m=!1)}m&&(g&&(l[o[0]._name].type="linear"),y&&(l[a[0]._name].type="linear"),Ve(l,p,o,a,e._fullLayout._dfltTitle))}}for(n=0;n<e._fullLayout.annotations.length;n++){var A=e._fullLayout.annotations[n];-1!==t.indexOf(A.xref)&&-1!==r.indexOf(A.yref)&&s.swapAttrs(l.annotations[n],["?"])}}function Ve(e,t,r,n,i){var o,a=s.nestedProperty,l=a(e[r[0]._name],t).get(),u=a(e[n[0]._name],t).get();for("title"===t&&(l&&l.text===i.x&&(l.text=i.y),u&&u.text===i.y&&(u.text=i.x)),o=0;o<r.length;o++)a(e,r[o]._name+"."+t).set(u);for(o=0;o<n.length;o++)a(e,n[o]._name+"."+t).set(l)}function Qe(e){return"angularaxis"===e._id}function We(e,t){for(var r=t._rangebreaks.length,n=0;n<r;n++){var i=t._rangebreaks[n];if(e>=i.min&&e<i.max)return i.max}return e}N.getTickFormat=function(e){var t,r,n;function i(e){return"string"!==typeof e?e:Number(e.replace("M",""))*_}function o(e,t){var r=["L","D"];if(typeof e===typeof t){if("number"===typeof e)return e-t;var n=r.indexOf(e.charAt(0)),i=r.indexOf(t.charAt(0));return n===i?Number(e.replace(/(L|D)/g,""))-Number(t.replace(/(L|D)/g,"")):n-i}return"number"===typeof e?1:-1}function a(e,t,r){var n=r||function(e){return e},i=t[0],o=t[1];return(!i&&"number"!==typeof i||n(i)<=n(e))&&(!o&&"number"!==typeof o||n(o)>=n(e))}function s(e,t){var r=null===t[0],n=null===t[1],i=o(e,t[0])>=0,a=o(e,t[1])<=0;return(r||i)&&(n||a)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case"date":case"linear":for(t=0;t<e.tickformatstops.length;t++)if(n=e.tickformatstops[t],n.enabled&&a(e.dtick,n.dtickrange,i)){r=n;break}break;case"log":for(t=0;t<e.tickformatstops.length;t++)if(n=e.tickformatstops[t],n.enabled&&s(e.dtick,n.dtickrange)){r=n;break}break;default:}return r?r.value:e.tickformat},N.getSubplots=function(e,t){var r=e._fullLayout._subplots,n=r.cartesian.concat(r.gl2d||[]),i=t?N.findSubplotsWithAxis(n,t):n;return i.sort((function(e,t){var r=e.substr(1).split("y"),n=t.substr(1).split("y");return r[0]===n[0]?+r[1]-+n[1]:+r[0]-+n[0]})),i},N.findSubplotsWithAxis=function(e,t){for(var r=new RegExp("x"===t._id.charAt(0)?"^"+t._id+"y":t._id+"$"),n=[],i=0;i<e.length;i++){var o=e[i];r.test(o)&&n.push(o)}return n},N.makeClipPaths=function(e){var t=e._fullLayout;if(!t._hasOnlyLargeSploms){var r,i,o={_offset:0,_length:t.width,_id:""},a={_offset:0,_length:t.height,_id:""},s=N.list(e,"x",!0),l=N.list(e,"y",!0),u=[];for(r=0;r<s.length;r++)for(u.push({x:s[r],y:a}),i=0;i<l.length;i++)0===r&&u.push({x:o,y:l[i]}),u.push({x:s[r],y:l[i]});var c=t._clips.selectAll(".axesclip").data(u,(function(e){return e.x._id+e.y._id}));c.enter().append("clipPath").classed("axesclip",!0).attr("id",(function(e){return"clip"+t._uid+e.x._id+e.y._id})).append("rect"),c.exit().remove(),c.each((function(e){n.select(this).select("rect").attr({x:e.x._offset||0,y:e.y._offset||0,width:e.x._length||1,height:e.y._length||1})}))}},N.draw=function(e,t,r){var n=e._fullLayout;"redraw"===t&&n._paper.selectAll("g.subplot").each((function(e){var t=e[0],r=n._plots[t];if(r){var i=r.xaxis,o=r.yaxis;r.xaxislayer.selectAll("."+i._id+"tick").remove(),r.yaxislayer.selectAll("."+o._id+"tick").remove(),r.xaxislayer.selectAll("."+i._id+"tick2").remove(),r.yaxislayer.selectAll("."+o._id+"tick2").remove(),r.xaxislayer.selectAll("."+i._id+"divider").remove(),r.yaxislayer.selectAll("."+o._id+"divider").remove(),r.gridlayer&&r.gridlayer.selectAll("path").remove(),r.zerolinelayer&&r.zerolinelayer.selectAll("path").remove(),n._infolayer.select(".g-"+i._id+"title").remove(),n._infolayer.select(".g-"+o._id+"title").remove()}}));var i=t&&"redraw"!==t?t:N.listIds(e);return s.syncOrAsync(i.map((function(t){return function(){if(t){var n=N.getFromId(e,t),i=N.drawOne(e,n,r);return n._r=n.range.slice(),n._rl=s.simpleMap(n._r,n.r2l),i}}})))},N.drawOne=function(e,t,r){var n,i,l;r=r||{},t.setScale();var u=e._fullLayout,c=t._id,f=c.charAt(0),p=N.counterLetter(c),d=u._plots[t._mainSubplot];if(d){var h=d[f+"axislayer"],v=t._mainLinePosition,m=t._mainMirrorPosition,g=t._vals=N.calcTicks(t),y=[t.mirror,v,m].join("_");for(n=0;n<g.length;n++)g[n].axInfo=y;t._selections={},t._tickAngles&&(t._prevTickAngles=t._tickAngles),t._tickAngles={},t._depth=null;var b={};if(t.visible){var x,A,w=N.makeTransTickFn(t),_=N.makeTransTickLabelFn(t),E="inside"===t.ticks,k="outside"===t.ticks;if("boundaries"===t.tickson){var T=_e(t,g);A=N.clipEnds(t,T),x=E?A:T}else A=N.clipEnds(t,g),x=E&&"period"!==t.ticklabelmode?A:g;var C=t._gridVals=A,S=ke(t,g);if(!u._hasOnlyLargeSploms){var O=t._subplotsWith,M={};for(n=0;n<O.length;n++){i=O[n],l=u._plots[i];var P=l[p+"axis"],B=P._mainAxis._id;if(!M[B]){M[B]=1;var L="x"===f?"M0,"+P._offset+"v"+P._length:"M"+P._offset+",0h"+P._length;N.drawGrid(e,t,{vals:C,counterAxis:P,layer:l.gridlayer.select("."+c),path:L,transFn:w}),N.drawZeroLine(e,t,{counterAxis:P,layer:l.zerolinelayer,path:L,transFn:w})}}}var D=N.getTickSigns(t),I=[];if(t.ticks){var F,z,U,H=N.makeTickPath(t,v,D[2]);if(t._anchorAxis&&t.mirror&&!0!==t.mirror?(F=N.makeTickPath(t,m,D[3]),z=H+F):(F="",z=H),t.showdividers&&k&&"boundaries"===t.tickson){var V={};for(n=0;n<S.length;n++)V[S[n].x]=1;U=function(e){return V[e.x]?F:z}}else U=z;N.drawTicks(e,t,{vals:x,layer:h,path:U,transFn:w}),"allticks"===t.mirror&&(I=Object.keys(t._linepositions||{}))}for(n=0;n<I.length;n++){i=I[n],l=u._plots[i];var Q=t._linepositions[i]||[],W=N.makeTickPath(t,Q[0],D[0])+N.makeTickPath(t,Q[1],D[1]);N.drawTicks(e,t,{vals:x,layer:l[f+"axislayer"],path:W,transFn:w})}var K=[];if(K.push((function(){return N.drawLabels(e,t,{vals:g,layer:h,transFn:_,labelFns:N.makeLabelFns(t,v)})})),"multicategory"===t.type){var q={x:2,y:10}[f];K.push((function(){var r={x:"height",y:"width"}[f],n=$()[r]+q+(t._tickAngles[c+"tick"]?t.tickfont.size*j:0);return N.drawLabels(e,t,{vals:Ee(t,g),layer:h,cls:c+"tick2",repositionOnUpdate:!0,secondary:!0,transFn:w,labelFns:N.makeLabelFns(t,v+n*D[4])})})),K.push((function(){return t._depth=D[4]*($("tick2")[t.side]-v),Me(e,t,{vals:S,layer:h,path:N.makeTickPath(t,v,D[4],t._depth),transFn:w})}))}else t.title.hasOwnProperty("standoff")&&K.push((function(){t._depth=D[4]*($()[t.side]-v)}));var G=a.getComponentMethod("rangeslider","isVisible")(t);return K.push((function(){var r,n,i,s,l=t.side.charAt(0),c=R[t.side].charAt(0),d=N.getPxPosition(e,t),h=k?t.ticklen:0;if((t.automargin||G)&&("multicategory"===t.type?r=$("tick2"):(r=$(),"x"===f&&"b"===l&&(t._depth=Math.max(r.width>0?r.bottom-d:0,h)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var v=[0,1];if("x"===f){if("b"===l?n[l]=t._depth:(n[l]=t._depth=Math.max(r.width>0?d-r.top:0,h),v.reverse()),r.width>0){var m=r.right-(t._offset+t._length);m>0&&(n.xr=1,n.r=m);var g=t._offset-r.left;g>0&&(n.xl=0,n.l=g)}}else if("l"===l?n[l]=t._depth=Math.max(r.height>0?d-r.left:0,h):(n[l]=t._depth=Math.max(r.height>0?r.right-d:0,h),v.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var b=t._offset-r.top;b>0&&(n.yt=1,n.t=b)}n[p]="free"===t.anchor?t.position:t._anchorAxis.domain[v[0]],t.title.text!==u._dfltTitle[f]&&(n[l]+=Pe(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&(i={x:0,y:0,r:0,l:0,t:0,b:0},i[c]=t.linewidth,t.mirror&&!0!==t.mirror&&(i[c]+=h),!0===t.mirror||"ticks"===t.mirror?i[p]=t._anchorAxis.domain[v[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(i[p]=[t._counterDomainMin,t._counterDomainMax][v[1]]))}G&&(s=a.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),o.autoMargin(e,Re(t),n),o.autoMargin(e,Fe(t),i),o.autoMargin(e,Ne(t),s)})),r.skipTitle||G&&"bottom"===t.side||K.push((function(){return Be(e,t)})),s.syncOrAsync(K)}}function $(e){var r=c+(e||"tick");return b[r]||(b[r]=Te(t,r)),b[r]}},N.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,i=[-1,1,n,-n];return"inside"!==e.ticks===("x"===t)&&(i=i.map((function(e){return-e}))),e.side&&i.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),i},N.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return l(e._offset+e.l2p(t.x),0)}:function(t){return l(0,e._offset+e.l2p(t.x))}},N.makeTransTickLabelFn=function(e){var t=Se(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return l(r+e._offset+e.l2p(Ce(t)),n)}:function(t){return l(n,r+e._offset+e.l2p(Ce(t)))}},N.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var i=e._id.charAt(0),o=(e.linewidth||1)/2;return"x"===i?"M0,"+(t+o*r)+"v"+n*r:"M"+(t+o*r)+",0h"+n*r},N.makeLabelFns=function(e,t,r){var n=e.ticklabelposition||"",o=function(e){return-1!==n.indexOf(e)},a=o("top"),l=o("left"),u=o("right"),c=o("bottom"),f=c||l||a||u,p=o("inside"),d="inside"===n&&"inside"===e.ticks||!p&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,v=0,m=d?e.ticklen:0;if(p?m*=-1:f&&(m=0),d&&(h+=m,r)){var g=s.deg2rad(r);h=m*Math.cos(g)+1,v=m*Math.sin(g)}e.showticklabels&&(d||e.showline)&&(h+=.2*e.tickfont.size),h+=(e.linewidth||1)/2*(p?-1:1);var y,b,x,A,w,_={labelStandoff:h,labelShift:v},E=0,k=e.side,T=e._id.charAt(0),C=e.tickangle;if("x"===T)w=!p&&"bottom"===k||p&&"top"===k,A=w?1:-1,p&&(A*=-1),y=v*A,b=t+h*A,x=w?1:-.2,90===Math.abs(C)&&(p?x+=D:x=-90===C&&"bottom"===k?I:90===C&&"top"===k?D:.5,E=D/2*(C/90)),_.xFn=function(e){return e.dx+y+E*e.fontSize},_.yFn=function(e){return e.dy+b+e.fontSize*x},_.anchorFn=function(e,t){if(f){if(l)return"end";if(u)return"start"}return i(t)&&0!==t&&180!==t?t*A<0!==p?"end":"start":"middle"},_.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==p?-n:0};else if("y"===T){if(w=!p&&"left"===k||p&&"right"===k,A=w?1:-1,p&&(A*=-1),y=h,b=v*A,x=0,p||90!==Math.abs(C)||(x=-90===C&&"left"===k||90===C&&"right"===k?I:.5),p){var S=i(C)?+C:0;if(0!==S){var O=s.deg2rad(S);E=Math.abs(Math.sin(O))*I*A,x=0}}_.xFn=function(e){return e.dx+t-(y+e.fontSize*x)*A+E*e.fontSize},_.yFn=function(e){return e.dy+b+e.fontSize*D},_.anchorFn=function(e,t){return i(t)&&90===Math.abs(t)?"middle":w?"end":"start"},_.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return _},N.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",i=r.vals;"period"===t.ticklabelmode&&(i=i.slice(),i.shift());var o=r.layer.selectAll("path."+n).data(t.ticks?i:[],Oe);o.exit().remove(),o.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(f.stroke,t.tickcolor).style("stroke-width",p.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),o.attr("transform",r.transFn)},N.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",i=r.vals,o=r.counterAxis;if(!1===t.showgrid)i=[];else if(o&&N.shouldShowZeroLine(e,t,o))for(var a="array"===t.tickmode,s=0;s<i.length;s++){var l=i[s].x;if(a?!l:Math.abs(l)<t.dtick/100){if(i=i.slice(0,s).concat(i.slice(s+1)),!a)break;s--}}var u=r.layer.selectAll("path."+n).data(i,Oe);u.exit().remove(),u.enter().append("path").classed(n,1).classed("crisp",!1!==r.crisp),t._gw=p.crispRound(e,t.gridwidth,1),u.attr("transform",r.transFn).attr("d",r.path).call(f.stroke,t.gridcolor||"#ddd").style("stroke-width",t._gw+"px"),"function"===typeof r.path&&u.attr("d",r.path)},N.drawZeroLine=function(e,t,r){r=r||r;var n=t._id+"zl",i=N.shouldShowZeroLine(e,t,r.counterAxis),o=r.layer.selectAll("path."+n).data(i?[{x:0,id:t._id}]:[]);o.exit().remove(),o.enter().append("path").classed(n,1).classed("zl",1).classed("crisp",!1!==r.crisp).each((function(){r.layer.selectAll("path").sort((function(e,t){return H(e.id,t.id)}))})),o.attr("transform",r.transFn).attr("d",r.path).call(f.stroke,t.zerolinecolor||f.defaultLine).style("stroke-width",p.crispRound(e,t.zerolinewidth,t._gw||1)+"px")},N.drawLabels=function(e,t,r){r=r||{};var o=e._fullLayout,a=t._id,c=a.charAt(0),f=r.cls||a+"tick",d=r.vals,h=r.labelFns,v=r.secondary?0:t.tickangle,m=(t._prevTickAngles||{})[f],g=r.layer.selectAll("g."+f).data(t.showticklabels?d:[],Oe),y=[];function b(e,o){var a=-1!==(t.ticklabelposition||"").indexOf("inside");e.each((function(e){var s=n.select(this),c=s.select(".text-math-group"),f=h.anchorFn(e,o),d=r.transFn.call(s.node(),e)+(i(o)&&0!==+o?" rotate("+o+","+h.xFn(e)+","+(h.yFn(e)-e.fontSize/2)+")":""),v=u.lineCount(s),m=j*e.fontSize,g=h.heightFn(e,i(o)?+o:0,(v-1)*m);if(g&&(d+=l(0,g)),c.empty()){var y=s.select("text");y.attr({transform:d,"text-anchor":f}),a&&(y.style({opacity:100}),t._hideOutOfRangeInsideTickLabels&&t._hideOutOfRangeInsideTickLabels())}else{var b=p.bBox(c.node()).width,x=b*{end:-.5,start:.5}[f];c.attr("transform",d+l(x,0))}}))}function x(){return y.length&&Promise.all(y)}g.enter().append("g").classed(f,1).append("text").attr("text-anchor","middle").each((function(t){var r=n.select(this),i=e._promises.length;r.call(u.positionText,h.xFn(t),h.yFn(t)).call(p.font,t.font,t.fontSize,t.fontColor).text(t.text).call(u.convertToTspans,e),e._promises[i]?y.push(e._promises.pop().then((function(){b(r,v)}))):b(r,v)})),g.exit().remove(),r.repositionOnUpdate&&g.each((function(e){n.select(this).select("text").call(u.positionText,h.xFn(e),h.yFn(e))})),t._hideOutOfRangeInsideTickLabels=void 0,-1!==(t.ticklabelposition||"").indexOf("inside")&&(t._hideOutOfRangeInsideTickLabels=function(){var e=s.simpleMap(t.range,t.r2l),r=t.l2p(e[0]),i=t.l2p(e[1]),o=Math.min(r,i)+t._offset,a=Math.max(r,i)+t._offset,l="x"===t._id.charAt(0);g.each((function(e){var r=n.select(this),i=r.select(".text-math-group");if(i.empty()){var s=p.bBox(r.node()),u=!1;l?(s.right>a||s.left<o)&&(u=!0):(s.bottom>a||s.top+(t.tickangle?0:e.fontSize/4)<o)&&(u=!0),u&&r.select("text").style({opacity:0})}}))}),b(g,m+1?m:v);var A=null;function w(){if(b(g,v),d.length&&"x"===c&&!i(v)&&("log"!==t.type||"D"!==String(t.dtick).charAt(0))){A=0;var e,n=0,o=[];if(g.each((function(e){n=Math.max(n,e.fontSize);var r=t.l2p(e.x),i=je(this),a=p.bBox(i.node());o.push({top:0,bottom:10,height:10,left:r-a.width/2,right:r+a.width/2+2,width:a.width+2})})),"boundaries"!==t.tickson&&!t.showdividers||r.secondary){var a=d.length,l=Math.abs((d[a-1].x-d[0].x)*t._m)/(a-1),u=t.ticklabelposition||"",f=function(e){return-1!==u.indexOf(e)},h=f("top"),m=f("left"),y=f("right"),x=f("bottom"),w=x||m||h||y,_=w?(t.tickwidth||0)+2*F:0,E=l<2.5*n||"multicategory"===t.type;for(e=0;e<o.length-1;e++)if(s.bBoxIntersect(o[e],o[e+1],_)){A=E?90:30;break}}else{var k=2;for(t.ticks&&(k+=t.tickwidth/2),e=0;e<o.length;e++){var T=d[e].xbnd,C=o[e];if(null!==T[0]&&C.left-t.l2p(T[0])<k||null!==T[1]&&t.l2p(T[1])-C.right<k){A=90;break}}}A&&b(g,A)}}t._selections&&(t._selections[f]=g);var _=[x];t.automargin&&o._redrawFromAutoMarginCount&&90===m?(A=90,_.push((function(){b(g,m)}))):_.push(w),t._tickAngles&&_.push((function(){t._tickAngles[f]=null===A?i(v)?v:0:A}));var E=t._anchorAxis;E&&E.autorange&&-1!==(t.ticklabelposition||"").indexOf("inside")&&!V(o,t._id)&&(o._insideTickLabelsAutorange||(o._insideTickLabelsAutorange={}),o._insideTickLabelsAutorange[E._name+".autorange"]=E.autorange,_.push((function(){g.each((function(e,r){var n=je(this);t._vals[r].bb=p.bBox(n.node())}))})));var k=s.syncOrAsync(_);return k&&k.then&&e._promises.push(k),k},N.getPxPosition=function(e,t){var r,n=e._fullLayout._size,i=t._id.charAt(0),o=t.side;return"free"!==t.anchor?r=t._anchorAxis:"x"===i?r={_offset:n.t+(1-(t.position||0))*n.h,_length:0}:"y"===i&&(r={_offset:n.l+(t.position||0)*n.w,_length:0}),"top"===o||"left"===o?r._offset:"bottom"===o||"right"===o?r._offset+r._length:void 0},N.shouldShowZeroLine=function(e,t,r){var n=s.simpleMap(t.range,t.r2l);return n[0]*n[1]<=0&&t.zeroline&&("linear"===t.type||"-"===t.type)&&!(t.rangebreaks&&t.maskBreaks(0)===B)&&(Le(t,0)||!De(e,t,r,n)||Ie(e,t))},N.clipEnds=function(e,t){return t.filter((function(t){return Le(e,t.x)}))},N.allowAutoMargin=function(e){for(var t=N.list(e,"",!0),r=0;r<t.length;r++){var n=t[r];n.automargin&&(o.allowAutoMargin(e,Re(n)),n.mirror&&o.allowAutoMargin(e,Fe(n))),a.getComponentMethod("rangeslider","isVisible")(n)&&o.allowAutoMargin(e,Ne(n))}},N.swap=function(e,t){for(var r=ze(e,t),n=0;n<r.length;n++)He(e,r[n].x,r[n].y)}},"0644":function(e,t,r){var n=r("3818"),i=1,o=4;function a(e){return n(e,i|o)}e.exports=a},"0648":function(e,t,r){var n=r("5ecd");n=n.slice().filter((function(e){return!/^(gl\_|texture)/.test(e)})),e.exports=n.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},"0681":function(e,t,r){"use strict";var n=r("fc26"),i={gaussian:function(e){return 1/Math.sqrt(2*Math.PI)*Math.exp(-.5*e*e)}};t.makeKDE=function(e,t,r){var n=r.length,o=i.gaussian,a=e.bandwidth,s=1/(n*a);return function(e){for(var t=0,i=0;i<n;i++)t+=o((e-r[i])/a);return s*t}},t.getPositionOnKdePath=function(e,t,r){var i,o;"h"===t.orientation?(i="y",o="x"):(i="x",o="y");var a=n.findPointOnPath(e.path,r,o,{pathLength:e.pathLength}),s=e.posCenterPx,l=a[i],u="both"===t.side?2*s-l:s;return[l,u]},t.getKdeValue=function(e,r,n){var i=e.pts.map(t.extractVal),o=t.makeKDE(e,r,i);return o(n)/e.posDensityScale},t.extractVal=function(e){return e.v}},"06a2":function(e,t,r){"use strict";var n,i=r("a671"),o=r("2031"),a=r("1a94"),s=r("96ae"),l=r("f508"),u=r("986b"),c=r("1c4a"),f=Object.defineProperty,p=Object.defineProperties;e.exports=n=function(e,t){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");p(this,{__list__:l("w",s(e)),__context__:l("w",t),__nextIndex__:l("w",0)}),t&&(a(t.on),t.on("_add",this._onAdd),t.on("_delete",this._onDelete),t.on("_clear",this._onClear))},delete n.prototype.constructor,p(n.prototype,o({_next:l((function(){var e;if(this.__list__)return this.__redo__&&(e=this.__redo__.shift(),void 0!==e)?e:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()})),next:l((function(){return this._createResult(this._next())})),_createResult:l((function(e){return void 0===e?{done:!0,value:void 0}:{done:!1,value:this._resolve(e)}})),_resolve:l((function(e){return this.__list__[e]})),_unBind:l((function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)})),toString:l((function(){return"[object "+(this[c.toStringTag]||"Object")+"]"}))},u({_onAdd:l((function(e){e>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(t,r){t>=e&&(this.__redo__[r]=++t)}),this),this.__redo__.push(e)):f(this,"__redo__",l("c",[e])))})),_onDelete:l((function(e){var t;e>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(t=this.__redo__.indexOf(e),-1!==t&&this.__redo__.splice(t,1),this.__redo__.forEach((function(t,r){t>e&&(this.__redo__[r]=--t)}),this)))})),_onClear:l((function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0}))}))),f(n.prototype,c.iterator,l((function(){return this})))},"06ad":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("60dc");function a(e,t,r,i,o){for(var a=o+"Layout",s=!1,l=0;l<r.length;l++){var u=r[l];if(n.traceIs(u,a)){s=!0;break}}s&&(i(o+"mode"),i(o+"gap"),i(o+"groupgap"))}function s(e,t,r){function n(r,n){return i.coerce(e,t,o,r,n)}a(e,t,r,n,"box")}e.exports={supplyLayoutDefaults:s,_supply:a}},"06cf":function(e,t,r){var n=r("83ab"),i=r("d1e7"),o=r("5c6c"),a=r("fc6a"),s=r("c04e"),l=r("5135"),u=r("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(r){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"0714":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.FilterValue=t.FilterOperation=void 0;var i=p(r("5174")),o=p(r("d7bc")),a=f(r("ab5b")),s=p(r("f51b")),l=p(r("0956")),u=r("4578");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){return{inequality:[{value:"!=",label:e("Target ≠ Reference")},{value:"<",label:e("Target < Reference")},{value:"<=",label:e("Target ≤ Reference")},{value:"=",label:e("Target = Reference")},{value:">",label:e("Target > Reference")},{value:">=",label:e("Target ≥ Reference")}],inrange:[{value:"[]",label:e("Lower ≤ Target ≤ Upper")},{value:"()",label:e("Lower < Target < Upper")},{value:"[)",label:e("Lower ≤ Target < Upper")},{value:"(]",label:e("Lower < Target ≤ Upper")}],exrange:[{value:")(",label:e("Lower ≤ Target ≤ Upper")},{value:"][",label:e("Lower < Target < Upper")},{value:")[",label:e("Lower ≤ Target < Upper")},{value:"](",label:e("Lower < Target ≤ Upper")}],inset:[{value:"{}",label:e("Include")}],exset:[{value:"}{",label:e("Exclude")}]}},S=function(e,t){var r="inequality",n=C(t);for(var i in n)if(n.hasOwnProperty(i)&&-1!==n[i].map((function(e){return e.value})).indexOf(e)){r=i;break}return r},O=function(e){x(r,e);var t=w(r);function r(e,n){var i;g(this,r),i=t.call(this,e,n);var o=n.localize;return i.state={operation:S(i.props.fullValue,o),operator:C(o).inequality[0].value},i.setOperation=i.setOperation.bind(E(i)),i}return b(r,[{key:"setOperation",value:function(e){var t=this.context.localize,r=C(t)[e][0].value;this.setState({operation:e,operator:r}),this.props.updatePlot(r)}},{key:"render",value:function(){var e=this.props,t=e.fullValue,r=e.updatePlot,n=e.backgroundDark,o=e.attr,l=this.context.localize,u=[{label:l("Inequality"),value:"inequality"},{label:l("Include Range"),value:"inrange"},{label:l("Exclude Range"),value:"exrange"},{label:l("Include Values"),value:"inset"},{label:l("Exclude Values"),value:"exset"}],c=t&&t.length>0?t:this.state.operator;return a.default.createElement("div",null,a.default.createElement(i.default,m({},this.props,{attr:o}),a.default.createElement(s.default,{backgroundDark:n,options:u,value:S(c,l),onChange:this.setOperation,clearable:!1}),"inset"===this.state.operation||"exset"===this.state.operation?null:a.default.createElement(s.default,{backgroundDark:n,options:C(l)[this.state.operation],value:c,onChange:r,clearable:!1})))}}]),r}(a.Component);O.propTypes=h({fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),O.contextTypes={localize:o.default.func};var M=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.state={value:"",valueMax:""},i.setValue=i.setValue.bind(E(i)),i.setValueMax=i.setValueMax.bind(E(i)),i}return b(r,[{key:"setValue",value:function(e){var t,r=this.context,n=r.localize,i=r.container,o=S(i.operation,n);this.setState({value:e}),t="inrange"===o||"exrange"===o?[e,this.state.valueMax]:e,"inset"!==o&&"exset"!==o||(t=t.split(","),t=t.map((function(e){return e.trim()}))),this.props.updatePlot(t)}},{key:"setValueMax",value:function(e){this.setState({valueMax:e}),this.props.updatePlot([this.state.value,e])}},{key:"render",value:function(){var e=this.context,t=e.localize,r=e.container,n=r&&r.operation?r.operation:"=",o=this.props,s=o.fullValue,u=o.attr,c=o.defaultValue,f=S(n,t),p=t("Reference");"inrange"===f||"exrange"===f?p=t("Lower Bound"):"inset"!==f&&"exset"!==f||(p=t("Values"));var d=s;return"inset"!==f&&"exset"!==f||!Array.isArray(s)?Array.isArray(s)&&(d=s[0]):d=s.join(", "),a.default.createElement("div",null,a.default.createElement(i.default,m({},this.props,{label:p}),a.default.createElement(l.default,{value:d,defaultValue:d,onUpdate:this.setValue})),"inrange"!==f&&"exrange"!==f?null:a.default.createElement(i.default,m({},this.props,{label:t("Upper Bound"),attr:u}),a.default.createElement(l.default,{value:Array.isArray(s)?s[1]:s,defaultValue:c,onUpdate:this.setValueMax})))}}]),r}(a.Component);M.propTypes=h({defaultValue:o.default.string,fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),M.contextTypes={localize:o.default.func,container:o.default.object};var P=(0,u.connectToContainer)(O);t.FilterOperation=P;var B=(0,u.connectToContainer)(M);t.FilterValue=B},"073f":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M2,2H16V16H2V2M22,8V22H8V18H18V8H22M4,4V14H14V4H4Z"}))};e.exports=s},"0746":function(e,t,r){"use strict";var n=r("24be"),i=r("ac96"),o=r("24f7"),a=r("d8db"),s=r("321f"),l=o.List,u=o.Map,c=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}},f=function(e,t,r){return e.withMutations((function(e){var n=t.getKey(),i=r.getKey();c(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),r=t.indexOf(n)+1,o=t.toArray();return o.splice(r,0,i),e.merge({children:l(o)})})),c(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),c(n,e,(function(e){return e.merge({nextSibling:i})})),c(i,e,(function(e){return e.merge({prevSibling:n})}))}))},p=function(e,t){t.isCollapsed()||a(!1);var r=t.getAnchorKey(),o=e.getBlockMap(),l=o.get(r),c=l.getText();if(!c){var p=l.getType();if("unordered-list-item"===p||"ordered-list-item"===p)return s(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var d=t.getAnchorOffset(),h=l.getCharacterList(),v=i(),m=l instanceof n,g=l.merge({text:c.slice(0,d),characterList:h.slice(0,d)}),y=g.merge({key:v,text:c.slice(d),characterList:h.slice(d),data:u()}),b=o.toSeq().takeUntil((function(e){return e===l})),x=o.toSeq().skipUntil((function(e){return e===l})).rest(),A=b.concat([[r,g],[v,y]],x).toOrderedMap();return m&&(l.getChildKeys().isEmpty()||a(!1),A=f(A,g,y)),e.merge({blockMap:A,selectionBefore:t,selectionAfter:t.merge({anchorKey:v,anchorOffset:0,focusKey:v,focusOffset:0,isBackward:!1})})};e.exports=p},"075f":function(e,t){var r=1e-6,n=1e-6;t.vertexNormals=function(e,t,n){for(var i=t.length,o=new Array(i),a=void 0===n?r:n,s=0;s<i;++s)o[s]=[0,0,0];for(s=0;s<e.length;++s)for(var l=e[s],u=0,c=l[l.length-1],f=l[0],p=0;p<l.length;++p){u=c,c=f,f=l[(p+1)%l.length];for(var d=t[u],h=t[c],v=t[f],m=new Array(3),g=0,y=new Array(3),b=0,x=0;x<3;++x)m[x]=d[x]-h[x],g+=m[x]*m[x],y[x]=v[x]-h[x],b+=y[x]*y[x];if(g*b>a){var A=o[c],w=1/Math.sqrt(g*b);for(x=0;x<3;++x){var _=(x+1)%3,E=(x+2)%3;A[x]+=w*(y[_]*m[E]-y[E]*m[_])}}}for(s=0;s<i;++s){A=o[s];var k=0;for(x=0;x<3;++x)k+=A[x]*A[x];if(k>a)for(w=1/Math.sqrt(k),x=0;x<3;++x)A[x]*=w;else for(x=0;x<3;++x)A[x]=0}return o},t.faceNormals=function(e,t,r){for(var i=e.length,o=new Array(i),a=void 0===r?n:r,s=0;s<i;++s){for(var l=e[s],u=new Array(3),c=0;c<3;++c)u[c]=t[l[c]];var f=new Array(3),p=new Array(3);for(c=0;c<3;++c)f[c]=u[1][c]-u[0][c],p[c]=u[2][c]-u[0][c];var d=new Array(3),h=0;for(c=0;c<3;++c){var v=(c+1)%3,m=(c+2)%3;d[c]=f[v]*p[m]-f[m]*p[v],h+=d[c]*d[c]}h=h>a?1/Math.sqrt(h):0;for(c=0;c<3;++c)d[c]*=h;o[s]=d}return o}},"076f":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e");e.exports=function(e,t,r,o){var a,s=o("x"),l=o("y"),u=i.getComponentMethod("calendars","handleTraceDefaults");if(u(e,t,["x","y"],r),s){var c=n.minRowLength(s);l?a=Math.min(c,n.minRowLength(l)):(a=c,o("y0"),o("dy"))}else{if(!l)return 0;a=n.minRowLength(l),o("x0"),o("dx")}return t._length=a,a}},"078e":function(e,t,r){"use strict";var n=r("cb34").overrideAll,i=r("e212"),o=r("a685"),a=r("73c9"),s=r("d301"),l=r("91cd"),u=r("927d"),c=r("ad62").getSubplotData;t.name="gl2d",t.attr=["xaxis","yaxis"],t.idRoot=["x","y"],t.idRegex=s.idRegex,t.attrRegex=s.attrRegex,t.attributes=r("3ff7"),t.supplyLayoutDefaults=function(e,t,r){t._has("cartesian")||l.supplyLayoutDefaults(e,t,r)},t.layoutAttrOverrides=n(l.layoutAttributes,"plot","from-root"),t.baseLayoutAttrOverrides=n({plot_bgcolor:o.plot_bgcolor,hoverlabel:u.hoverlabel},"plot","nested"),t.plot=function(e){for(var t=e._fullLayout,r=e._fullData,n=t._subplots.gl2d,o=0;o<n.length;o++){var a=n[o],s=t._plots[a],l=c(r,"gl2d",a),u=s._scene2d;void 0===u&&(u=new i({id:a,graphDiv:e,container:e.querySelector(".gl-container"),staticPlot:e._context.staticPlot,plotGlPixelRatio:e._context.plotGlPixelRatio},t),s._scene2d=u),u.plot(l,e.calcdata,t,e.layout)}},t.clean=function(e,t,r,n){for(var i=n._subplots.gl2d||[],o=0;o<i.length;o++){var a=i[o],s=n._plots[a];if(s._scene2d){var u=c(e,"gl2d",a);0===u.length&&(s._scene2d.destroy(),delete n._plots[a])}}l.clean.apply(this,arguments)},t.drawFramework=function(e){e._context.staticPlot||l.drawFramework(e)},t.toSVG=function(e){for(var t=e._fullLayout,r=t._subplots.gl2d,n=0;n<r.length;n++){var i=t._plots[r[n]],o=i._scene2d,s=o.toImage("png"),l=t._glimages.append("svg:image");l.attr({xmlns:a.svg,"xlink:href":s,x:0,y:0,width:"100%",height:"100%",preserveAspectRatio:"none"}),o.destroy()}},t.updateFx=function(e){for(var t=e._fullLayout,r=t._subplots.gl2d,n=0;n<r.length;n++){var i=t._plots[r[n]]._scene2d;i.updateFx(t.dragmode)}}},"0793":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2===0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r};t.default=n},"07c7":function(e,t){function r(){return!1}e.exports=r},"07db":function(e,t,r){var n=r("e19f").sprintf,i=r("b42a"),o=r("b2dd"),a=r("911e");function s(e,t,r){"use strict";var s=o(t)||"of unknown name (see npm glsl-shader-name)",l="unknown type";void 0!==r&&(l=r===i.FRAGMENT_SHADER?"fragment":"vertex");for(var u=n("Error compiling %s shader %s:\n",l,s),c=n("%s%s",u,e),f=e.split("\n"),p={},d=0;d<f.length;d++){var h=f[d];if(""!==h&&"\0"!==h){var v=parseInt(h.split(":")[2]);if(isNaN(v))throw new Error(n("Could not parse error: %s",h));p[v]=h}}var m=a(t).split("\n");for(d=0;d<m.length;d++)if(p[d+3]||p[d+2]||p[d+1]){var g=m[d];if(u+=g+"\n",p[d+1]){var y=p[d+1];y=y.substr(y.split(":",3).join(":").length+1).trim(),u+=n("^^^ %s\n\n",y)}}return{long:u.trim(),short:c.trim()}}e.exports=s},"07dd":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("a08c"),a=r("4183");function s(e,t,r,i){function a(r,i){return n.coerce(e,t,o,r,i)}l(e,t,r,i,a)}function l(e,t,r,n,o){var s=o("isomin"),l=o("isomax");void 0!==l&&null!==l&&void 0!==s&&null!==s&&s>l&&(t.isomin=null,t.isomax=null);var u=o("x"),c=o("y"),f=o("z"),p=o("value");if(u&&u.length&&c&&c.length&&f&&f.length&&p&&p.length){var d=i.getComponentMethod("calendars","handleTraceDefaults");d(e,t,["x","y","z"],n),["x","y","z"].forEach((function(e){var t="caps."+e,r=o(t+".show");r&&o(t+".fill");var n="slices."+e,i=o(n+".show");i&&(o(n+".fill"),o(n+".locations"))}));var h=o("spaceframe.show");h&&o("spaceframe.fill");var v=o("surface.show");v&&(o("surface.count"),o("surface.fill"),o("surface.pattern"));var m=o("contour.show");m&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach((function(e){o(e)})),a(e,t,n,o,{prefix:"",cLetter:"c"}),t._length=null}else t.visible=!1}e.exports={supplyDefaults:s,supplyIsoDefaults:l}},"0804":function(e,t,r){"use strict";t.projNames={equirectangular:"equirectangular",mercator:"mercator",orthographic:"orthographic","natural earth":"naturalEarth",kavrayskiy7:"kavrayskiy7",miller:"miller",robinson:"robinson",eckert4:"eckert4","azimuthal equal area":"azimuthalEqualArea","azimuthal equidistant":"azimuthalEquidistant","conic equal area":"conicEqualArea","conic conformal":"conicConformal","conic equidistant":"conicEquidistant",gnomonic:"gnomonic",stereographic:"stereographic",mollweide:"mollweide",hammer:"hammer","transverse mercator":"transverseMercator","albers usa":"albersUsa","winkel tripel":"winkel3",aitoff:"aitoff",sinusoidal:"sinusoidal"},t.axesNames=["lonaxis","lataxis"],t.lonaxisSpan={orthographic:180,"azimuthal equal area":360,"azimuthal equidistant":360,"conic conformal":180,gnomonic:160,stereographic:180,"transverse mercator":180,"*":360},t.lataxisSpan={"conic conformal":150,stereographic:179.5,"*":180},t.scopeDefaults={world:{lonaxisRange:[-180,180],lataxisRange:[-90,90],projType:"equirectangular",projRotate:[0,0,0]},usa:{lonaxisRange:[-180,-50],lataxisRange:[15,80],projType:"albers usa"},europe:{lonaxisRange:[-30,60],lataxisRange:[30,85],projType:"conic conformal",projRotate:[15,0,0],projParallels:[0,60]},asia:{lonaxisRange:[22,160],lataxisRange:[-15,55],projType:"mercator",projRotate:[0,0,0]},africa:{lonaxisRange:[-30,60],lataxisRange:[-40,40],projType:"mercator",projRotate:[0,0,0]},"north america":{lonaxisRange:[-180,-45],lataxisRange:[5,85],projType:"conic conformal",projRotate:[-100,0,0],projParallels:[29.5,45.5]},"south america":{lonaxisRange:[-100,-30],lataxisRange:[-60,15],projType:"mercator",projRotate:[0,0,0]}},t.clipPad=.001,t.precision=.1,t.landColor="#F0DC82",t.waterColor="#3399FF",t.locationmodeToLayer={"ISO-3":"countries","USA-states":"subunits","country names":"countries"},t.sphereSVG={type:"Sphere"},t.fillLayers={ocean:1,land:1,lakes:1},t.lineLayers={subunits:1,countries:1,coastlines:1,rivers:1,frame:1},t.layers=["bg","ocean","land","lakes","subunits","countries","coastlines","rivers","lataxis","lonaxis","frame","backplot","frontplot"],t.layersForChoropleth=["bg","ocean","land","subunits","countries","coastlines","lataxis","lonaxis","frame","backplot","rivers","lakes","frontplot"],t.layerNameToAdjective={ocean:"ocean",land:"land",lakes:"lake",subunits:"subunit",countries:"country",coastlines:"coastline",rivers:"river",frame:"frame"}},"0848":function(e,t,r){},"085f":function(e,t,r){"use strict";var n=r("abc0"),i=Math.pow(2,-1074),o=-1>>>0;function a(e,t){if(isNaN(e)||isNaN(t))return NaN;if(e===t)return e;if(0===e)return t<0?-i:i;var r=n.hi(e),a=n.lo(e);return t>e===e>0?a===o?(r+=1,a=0):a+=1:0===a?(a=o,r-=1):a-=1,n.pack(a,r)}e.exports=a},"087d":function(e,t){function r(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}e.exports=r},"0895":function(e,t,r){"use strict";var n=r("320c");function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r("58b1"),l=r("ab5b"),u=r("d8db"),c=r("681d"),f=r("3b8c").setDraftEditorSelection,p=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t=e.call.apply(e,[this].concat(n))||this,a(i(t),"leaf",void 0),t}o(t,e);var r=t.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,r=t.block,n=t.start,i=t.text,o=r.getKey(),a=n+i.length;if(e.hasEdgeWithin(o,n,a)){var s=this.leaf;s||u(!1);var l,p=s.firstChild;p||u(!1),p.nodeType===Node.TEXT_NODE?l=p:c(p)?l=s:(l=p.firstChild,l||u(!1)),f(e,l,o,n,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;t||u(!1);var r=t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection;return r},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var i=this.props,o=i.customStyleMap,a=i.customStyleFn,u=i.offsetKey,c=i.styleSet,f=c.reduce((function(e,t){var r={},i=o[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(r.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),n(e,i,r)}),{});if(a){var p=a(c,t);f=n(f,p)}return l.createElement("span",{"data-offset-key":u,ref:function(t){return e.leaf=t},style:f},l.createElement(s,null,r))},t}(l.Component);e.exports=p},"089c":function(e,t,r){"use strict";e.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},"08cc":function(e,t,r){var n=r("1a8c");function i(e){return e===e&&!n(e)}e.exports=i},"08ed":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"barpolar",basePlotModule:r("c07c"),categories:["polar","bar","showLegend"],attributes:r("792f"),layoutAttributes:r("4ce7"),supplyDefaults:r("5da2"),supplyLayoutDefaults:r("25f3"),calc:r("ce20").calc,crossTraceCalc:r("ce20").crossTraceCalc,plot:r("ec16"),colorbar:r("f3cf"),formatLabels:r("98e74"),style:r("2df3").style,styleOnSelect:r("2df3").styleOnSelect,hoverPoints:r("f11b"),selectPoints:r("7000"),meta:{hrName:"bar_polar",description:["The data visualized by the radial span of the bars is set in `r`"].join(" ")}}},"08f4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M17.313 5.313h-2.625v8L0 18.688l16 8 16-8-14.688-5.375zM9 20a1.68 1.68 0 0 1-1.688-1.688c0-.875.75-1.625 1.688-1.625s1.688.75 1.688 1.625A1.68 1.68 0 0 1 9 20zm6.688 4.688C14.75 24.688 14 23.938 14 23s.75-1.688 1.688-1.688c.875 0 1.625.75 1.625 1.688s-.75 1.688-1.625 1.688zm8-7.375c.875 0 1.625.75 1.625 1.688s-.75 1.688-1.625 1.688c-.938 0-1.688-.75-1.688-1.688s.75-1.688 1.688-1.688zm-5-1c0 .938-.75 1.688-1.688 1.688s-1.688-.75-1.688-1.688c0-.875.75-1.625 1.688-1.625s1.688.75 1.688 1.625zM5.313 7c0 .938-.75 1.688-1.625 1.688C2.75 8.688 2 7.938 2 7s.75-1.688 1.688-1.688c.875 0 1.625.75 1.625 1.688zM12 11.688c0 .875-.75 1.625-1.688 1.625-.875 0-1.625-.75-1.625-1.625 0-.938.75-1.688 1.625-1.688.938 0 1.688.75 1.688 1.688zm-8.687 2c0 .875-.75 1.625-1.625 1.625-.938 0-1.688-.75-1.688-1.625C0 12.75.75 12 1.688 12c.875 0 1.625.75 1.625 1.688zm26.687 0c0 .875-.75 1.625-1.688 1.625-.875 0-1.625-.75-1.625-1.625 0-.938.75-1.688 1.625-1.688.938 0 1.688.75 1.688 1.688zM23.313 9c0 .938-.75 1.688-1.625 1.688C20.75 10.688 20 9.938 20 9s.75-1.688 1.688-1.688c.875 0 1.625.75 1.625 1.688zM32 7a1.68 1.68 0 0 1-1.688 1.688c-.875 0-1.625-.75-1.625-1.688s.75-1.688 1.625-1.688C31.25 5.312 32 6.062 32 7z"}))};t.default=u},"090e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedText=void 0;var i=f(r("5174")),o=f(r("0956")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e,t=this.props.fullValue;return this.props.multiValued&&(e=t,t=""),s.default.createElement(i.default,this.props,s.default.createElement(o.default,{value:t,defaultValue:this.props.defaultValue,placeholder:e,onUpdate:this.props.updatePlot,onChange:this.props.onChange}))}}]),r}(s.Component);t.UnconnectedText=k,k.propTypes=d({defaultValue:a.default.any,fullValue:a.default.any,multiValued:a.default.bool,updatePlot:a.default.func,onChange:a.default.func},i.default.propTypes),k.displayName="UnconnectedText";var T=(0,l.connectToContainer)(k);t.default=T},"0919":function(e,t,r){"use strict";var n=r("6e58"),i=r("cec7"),o=r("3b74"),a=r("8dde"),s=r("409f"),l=r("306c"),u=r("ae13"),c=r("1385"),f=r("74d6"),p=r("b68b"),d=Object.keys(i),h={"ISO-3":l,"USA-states":l,"country names":v};function v(e){for(var t=0;t<d.length;t++){var r=d[t],n=new RegExp(i[r]);if(n.test(e.trim().toLowerCase()))return r}return u.log("Unrecognized country name: "+e+"."),!1}function m(e,t,r){if(!t||"string"!==typeof t)return!1;var n,i,o,a=h[e](t);if(a){if("USA-states"===e)for(n=[],o=0;o<r.length;o++)i=r[o],i.properties&&i.properties.gu&&"USA"===i.properties.gu&&n.push(i);else n=r;for(o=0;o<n.length;o++)if(i=n[o],i.id===a)return i;u.log(["Location with id",a,"does not have a matching topojson feature at this resolution."].join(" "))}return!1}function g(e){var t,r,n,i,o=e.geometry,a=o.coordinates,s=e.id,l=[];function u(e){for(var t=0;t<e.length-1;t++)if(e[t][0]>0&&e[t+1][0]<0)return t;return null}switch(t="RUS"===s||"FJI"===s?function(e){var t;if(null===u(e))t=e;else for(t=new Array(e.length),i=0;i<e.length;i++)t[i]=[e[i][0]<0?e[i][0]+360:e[i][0],e[i][1]];l.push(p.tester(t))}:"ATA"===s?function(e){var t=u(e);if(null===t)return l.push(p.tester(e));var r=new Array(e.length+1),n=0;for(i=0;i<e.length;i++)i>t?r[n++]=[e[i][0]+360,e[i][1]]:i===t?(r[n++]=e[i],r[n++]=[e[i][0],-90]):r[n++]=e[i];var o=p.tester(r);o.pts.pop(),l.push(o)}:function(e){l.push(p.tester(e))},o.type){case"MultiPolygon":for(r=0;r<a.length;r++)for(n=0;n<a[r].length;n++)t(a[r][n]);break;case"Polygon":for(r=0;r<a.length;r++)t(a[r]);break}return l}function y(e){var t=e.geojson,r=window.PlotlyGeoAssets||{},n="string"===typeof t?r[t]:t;return c(n)?n:(u.error("Oops ... something went wrong when fetching "+t),!1)}function b(e){var t=e[0].trace,r=y(t);if(!r)return!1;var n,i={},o=[];for(n=0;n<t._length;n++){var a=e[n];(a.loc||0===a.loc)&&(i[a.loc]=a)}function s(e){var r=f(e,t.featureidkey||"id").get(),n=i[r];if(n){var a=e.geometry;if("Polygon"===a.type||"MultiPolygon"===a.type){var s={type:"Feature",id:r,geometry:a,properties:{}};s.properties.ct=x(s),n.fIn=e,n.fOut=s,o.push(s)}else u.log(["Location",n.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete i[r]}switch(r.type){case"FeatureCollection":var l=r.features;for(n=0;n<l.length;n++)s(l[n]);break;case"Feature":s(r);break;default:return u.warn(["Invalid GeoJSON type",(r.type||"none")+".","Traces with locationmode *geojson-id* only support","*FeatureCollection* and *Feature* types."].join(" ")),!1}for(var c in i)u.log(["Location *"+c+"*","does not have a matching feature with id-key","*"+t.featureidkey+"*."].join(" "));return o}function x(e){var t,r=e.geometry;if("MultiPolygon"===r.type)for(var n=r.coordinates,i=0,s=0;s<n.length;s++){var l={type:"Polygon",coordinates:n[s]},u=o.default(l);u>i&&(i=u,t=l)}else t=r;return a.default(t).geometry.coordinates}function A(e){var t=window.PlotlyGeoAssets||{},r=[];function i(e){return new Promise((function(r,i){n.json(e,(function(n,o){if(n){delete t[e];var a=404===n.status?'GeoJSON at URL "'+e+'" does not exist.':"Unexpected error while fetching from "+e;return i(new Error(a))}return t[e]=o,r(o)}))}))}function o(e){return new Promise((function(r,n){var i=0,o=setInterval((function(){return t[e]&&"pending"!==t[e]?(clearInterval(o),r(t[e])):i>100?(clearInterval(o),n("Unexpected error while fetching from "+e)):void i++}),50)}))}for(var a=0;a<e.length;a++){var s=e[a][0].trace,l=s.geojson;"string"===typeof l&&(t[l]?"pending"===t[l]&&r.push(o(l)):(t[l]="pending",r.push(i(l))))}return r}function w(e){return s.default(e)}e.exports={locationToFeature:m,feature2polygons:g,getTraceGeojson:y,extractTraceFeature:b,fetchTraceGeoData:A,computeBbox:w}},"093d":function(e,t,r){"use strict";var n=r("f7bf"),i=r("3bd6");function o(e,t){for(var r=n(t),o=e.length,a=new Array(o),s=0;s<o;++s)a[s]=i(e[s],r);return a}e.exports=o},"0945":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14C0,17.31 2.69,20 6,20H19C21.76,20 24,17.76 24,15C24,12.36 21.95,10.22 19.35,10.03Z"}))};e.exports=s},"0948":function(e,t,r){"use strict";var n=r("0fba");function i(e){var t=e.length,r=e.words,i=0;if(1===t)i=r[0];else if(2===t)i=r[0]+67108864*r[1];else for(var o=0;o<t;o++){var a=r[o];i+=a*Math.pow(67108864,o)}return n(e)*i}e.exports=i},"0956":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("43fa")),o=l(r("ab5b")),a=u(r("d7bc"));function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(e){var n;return c(this,r),n=t.call(this,e),n.state={value:e.value},n}return p(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.state.value&&this.setState({value:e.value})}},{key:"render",value:function(){var e=this;return o.default.createElement(i.default,{className:"text-input ".concat(this.props.editableClassName?this.props.editableClassName:""),placeholder:this.props.placeholder,text:this.state.value,type:"text",onChange:function(t){e.props.onChange&&e.props.onChange(t),e.setState({value:t})},onUpdate:this.props.onUpdate})}}]),r}(o.Component);t.default=x,x.propTypes={defaultValue:a.default.any,editableClassName:a.default.string,onUpdate:a.default.func.isRequired,onChange:a.default.func,placeholder:a.default.string,value:a.default.any}},"0970":function(e,t){function r(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e}e.exports=r},"0984":function(e,t,r){"use strict";var n=r("28bf"),i=r("41f4"),o=r("6ddf"),a=r("ad65");function s(e,t,r,n){if(e===r)return!0;if(!r.startsWith(e))return!1;var o=r.slice(e.length);return!!t&&(o=n?n(o):o,i.contains(o,t))}function l(e){return"Windows"===n.platformName?e.replace(/^\s*NT/,""):e}var u={isBrowser:function(e){return s(n.browserName,n.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(n.browserArchitecture,null,e)},isDevice:function(e){return s(n.deviceName,null,e)},isEngine:function(e){return s(n.engineName,n.engineVersion,e)},isPlatform:function(e){return s(n.platformName,n.platformFullVersion,e,l)},isPlatformArchitecture:function(e){return s(n.platformArchitecture,null,e)}};e.exports=o(u,a)},"09bd":function(e,t,r){"use strict";var n=r("215c").hasColorscale,i=r("3aa8"),o=r("de81");e.exports=function(e,t){o.hasLines(t)&&n(t,"line")&&i(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),o.hasMarkers(t)&&(n(t,"marker")&&i(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),n(t,"marker.line")&&i(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}},"09cf":function(e,t,r){"use strict";e.exports=r("a522")},"09d9":function(e,t,r){"use strict";var n,i=r("e0f6"),o=r("f508"),a=r("1c4a"),s=r("06a2"),l=Object.defineProperty;n=e.exports=function(e){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");e=String(e),s.call(this,e),l(this,"__length__",o("",e.length))},i&&i(n,s),delete n.prototype.constructor,n.prototype=Object.create(s.prototype,{_next:o((function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()})),_resolve:o((function(e){var t,r=this.__list__[e];return this.__nextIndex__===this.__length__?r:(t=r.charCodeAt(0),t>=55296&&t<=56319?r+this.__list__[this.__nextIndex__++]:r)}))}),l(n.prototype,a.toStringTag,o("c","String Iterator"))},"0a3e":function(e,t,r){"use strict";var n=r("306c");function i(e){return[e]}e.exports={keyFun:function(e){return e.key},repeat:i,descend:n,wrap:i,unwrap:function(e){return e[0]}}},"0a4a":function(e,t,r){"use strict";r.r(t),r.d(t,"forceCenter",(function(){return n})),r.d(t,"forceCollide",(function(){return M})),r.d(t,"forceLink",(function(){return D})),r.d(t,"forceManyBody",(function(){return de})),r.d(t,"forceRadial",(function(){return he})),r.d(t,"forceSimulation",(function(){return pe})),r.d(t,"forceX",(function(){return ve})),r.d(t,"forceY",(function(){return me}));var n=function(e,t){var r;function n(){var n,i,o=r.length,a=0,s=0;for(n=0;n<o;++n)i=r[n],a+=i.x,s+=i.y;for(a=a/o-e,s=s/o-t,n=0;n<o;++n)i=r[n],i.x-=a,i.y-=s}return null==e&&(e=0),null==t&&(t=0),n.initialize=function(e){r=e},n.x=function(t){return arguments.length?(e=+t,n):e},n.y=function(e){return arguments.length?(t=+e,n):t},n},i=function(e){return function(){return e}},o=function(){return 1e-6*(Math.random()-.5)},a=function(e){var t=+this._x.call(null,e),r=+this._y.call(null,e);return s(this.cover(t,r),t,r,e)};function s(e,t,r,n){if(isNaN(t)||isNaN(r))return e;var i,o,a,s,l,u,c,f,p,d=e._root,h={data:n},v=e._x0,m=e._y0,g=e._x1,y=e._y1;if(!d)return e._root=h,e;while(d.length)if((u=t>=(o=(v+g)/2))?v=o:g=o,(c=r>=(a=(m+y)/2))?m=a:y=a,i=d,!(d=d[f=c<<1|u]))return i[f]=h,e;if(s=+e._x.call(null,d.data),l=+e._y.call(null,d.data),t===s&&r===l)return h.next=d,i?i[f]=h:e._root=h,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(u=t>=(o=(v+g)/2))?v=o:g=o,(c=r>=(a=(m+y)/2))?m=a:y=a}while((f=c<<1|u)===(p=(l>=a)<<1|s>=o));return i[p]=d,i[f]=h,e}function l(e){var t,r,n,i,o=e.length,a=new Array(o),l=new Array(o),u=1/0,c=1/0,f=-1/0,p=-1/0;for(r=0;r<o;++r)isNaN(n=+this._x.call(null,t=e[r]))||isNaN(i=+this._y.call(null,t))||(a[r]=n,l[r]=i,n<u&&(u=n),n>f&&(f=n),i<c&&(c=i),i>p&&(p=i));if(u>f||c>p)return this;for(this.cover(u,c).cover(f,p),r=0;r<o;++r)s(this,a[r],l[r],e[r]);return this}var u=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var r=this._x0,n=this._y0,i=this._x1,o=this._y1;if(isNaN(r))i=(r=Math.floor(e))+1,o=(n=Math.floor(t))+1;else{var a,s,l=i-r,u=this._root;while(r>e||e>=i||n>t||t>=o)switch(s=(t<n)<<1|e<r,a=new Array(4),a[s]=u,u=a,l*=2,s){case 0:i=r+l,o=n+l;break;case 1:r=i-l,o=n+l;break;case 2:i=r+l,n=o-l;break;case 3:r=i-l,n=o-l;break}this._root&&this._root.length&&(this._root=u)}return this._x0=r,this._y0=n,this._x1=i,this._y1=o,this},c=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},f=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},p=function(e,t,r,n,i){this.node=e,this.x0=t,this.y0=r,this.x1=n,this.y1=i},d=function(e,t,r){var n,i,o,a,s,l,u,c=this._x0,f=this._y0,d=this._x1,h=this._y1,v=[],m=this._root;m&&v.push(new p(m,c,f,d,h)),null==r?r=1/0:(c=e-r,f=t-r,d=e+r,h=t+r,r*=r);while(l=v.pop())if(!(!(m=l.node)||(i=l.x0)>d||(o=l.y0)>h||(a=l.x1)<c||(s=l.y1)<f))if(m.length){var g=(i+a)/2,y=(o+s)/2;v.push(new p(m[3],g,y,a,s),new p(m[2],i,y,g,s),new p(m[1],g,o,a,y),new p(m[0],i,o,g,y)),(u=(t>=y)<<1|e>=g)&&(l=v[v.length-1],v[v.length-1]=v[v.length-1-u],v[v.length-1-u]=l)}else{var b=e-+this._x.call(null,m.data),x=t-+this._y.call(null,m.data),A=b*b+x*x;if(A<r){var w=Math.sqrt(r=A);c=e-w,f=t-w,d=e+w,h=t+w,n=m.data}}return n},h=function(e){if(isNaN(o=+this._x.call(null,e))||isNaN(a=+this._y.call(null,e)))return this;var t,r,n,i,o,a,s,l,u,c,f,p,d=this._root,h=this._x0,v=this._y0,m=this._x1,g=this._y1;if(!d)return this;if(d.length)while(1){if((u=o>=(s=(h+m)/2))?h=s:m=s,(c=a>=(l=(v+g)/2))?v=l:g=l,t=d,!(d=d[f=c<<1|u]))return this;if(!d.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(r=t,p=f)}while(d.data!==e)if(n=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,n?(i?n.next=i:delete n.next,this):t?(i?t[f]=i:delete t[f],(d=t[0]||t[1]||t[2]||t[3])&&d===(t[3]||t[2]||t[1]||t[0])&&!d.length&&(r?r[p]=d:this._root=d),this):(this._root=i,this)};function v(e){for(var t=0,r=e.length;t<r;++t)this.remove(e[t]);return this}var m=function(){return this._root},g=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},y=function(e){var t,r,n,i,o,a,s=[],l=this._root;l&&s.push(new p(l,this._x0,this._y0,this._x1,this._y1));while(t=s.pop())if(!e(l=t.node,n=t.x0,i=t.y0,o=t.x1,a=t.y1)&&l.length){var u=(n+o)/2,c=(i+a)/2;(r=l[3])&&s.push(new p(r,u,c,o,a)),(r=l[2])&&s.push(new p(r,n,c,u,a)),(r=l[1])&&s.push(new p(r,u,i,o,c)),(r=l[0])&&s.push(new p(r,n,i,u,c))}return this},b=function(e){var t,r=[],n=[];this._root&&r.push(new p(this._root,this._x0,this._y0,this._x1,this._y1));while(t=r.pop()){var i=t.node;if(i.length){var o,a=t.x0,s=t.y0,l=t.x1,u=t.y1,c=(a+l)/2,f=(s+u)/2;(o=i[0])&&r.push(new p(o,a,s,c,f)),(o=i[1])&&r.push(new p(o,c,s,l,f)),(o=i[2])&&r.push(new p(o,a,f,c,u)),(o=i[3])&&r.push(new p(o,c,f,l,u))}n.push(t)}while(t=n.pop())e(t.node,t.x0,t.y0,t.x1,t.y1);return this};function x(e){return e[0]}var A=function(e){return arguments.length?(this._x=e,this):this._x};function w(e){return e[1]}var _=function(e){return arguments.length?(this._y=e,this):this._y};function E(e,t,r){var n=new k(null==t?x:t,null==r?w:r,NaN,NaN,NaN,NaN);return null==e?n:n.addAll(e)}function k(e,t,r,n,i,o){this._x=e,this._y=t,this._x0=r,this._y0=n,this._x1=i,this._y1=o,this._root=void 0}function T(e){var t={data:e.data},r=t;while(e=e.next)r=r.next={data:e.data};return t}var C=E.prototype=k.prototype;function S(e){return e.x+e.vx}function O(e){return e.y+e.vy}C.copy=function(){var e,t,r=new k(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return r;if(!n.length)return r._root=T(n),r;e=[{source:n,target:r._root=new Array(4)}];while(n=e.pop())for(var i=0;i<4;++i)(t=n.source[i])&&(t.length?e.push({source:t,target:n.target[i]=new Array(4)}):n.target[i]=T(t));return r},C.add=a,C.addAll=l,C.cover=u,C.data=c,C.extent=f,C.find=d,C.remove=h,C.removeAll=v,C.root=m,C.size=g,C.visit=y,C.visitAfter=b,C.x=A,C.y=_;var M=function(e){var t,r,n=1,a=1;function s(){for(var e,i,s,u,c,f,p,d=t.length,h=0;h<a;++h)for(i=E(t,S,O).visitAfter(l),e=0;e<d;++e)s=t[e],f=r[s.index],p=f*f,u=s.x+s.vx,c=s.y+s.vy,i.visit(v);function v(e,t,r,i,a){var l=e.data,d=e.r,h=f+d;if(!l)return t>u+h||i<u-h||r>c+h||a<c-h;if(l.index>s.index){var v=u-l.x-l.vx,m=c-l.y-l.vy,g=v*v+m*m;g<h*h&&(0===v&&(v=o(),g+=v*v),0===m&&(m=o(),g+=m*m),g=(h-(g=Math.sqrt(g)))/g*n,s.vx+=(v*=g)*(h=(d*=d)/(p+d)),s.vy+=(m*=g)*h,l.vx-=v*(h=1-h),l.vy-=m*h)}}}function l(e){if(e.data)return e.r=r[e.data.index];for(var t=e.r=0;t<4;++t)e[t]&&e[t].r>e.r&&(e.r=e[t].r)}function u(){if(t){var n,i,o=t.length;for(r=new Array(o),n=0;n<o;++n)i=t[n],r[i.index]=+e(i,n,t)}}return"function"!==typeof e&&(e=i(null==e?1:+e)),s.initialize=function(e){t=e,u()},s.iterations=function(e){return arguments.length?(a=+e,s):a},s.strength=function(e){return arguments.length?(n=+e,s):n},s.radius=function(t){return arguments.length?(e="function"===typeof t?t:i(+t),u(),s):e},s},P=r("6f04");function B(e){return e.index}function L(e,t){var r=e.get(t);if(!r)throw new Error("missing: "+t);return r}var D=function(e){var t,r,n,a,s,l=B,u=p,c=i(30),f=1;function p(e){return 1/Math.min(a[e.source.index],a[e.target.index])}function d(n){for(var i=0,a=e.length;i<f;++i)for(var l,u,c,p,d,h,v,m=0;m<a;++m)l=e[m],u=l.source,c=l.target,p=c.x+c.vx-u.x-u.vx||o(),d=c.y+c.vy-u.y-u.vy||o(),h=Math.sqrt(p*p+d*d),h=(h-r[m])/h*n*t[m],p*=h,d*=h,c.vx-=p*(v=s[m]),c.vy-=d*v,u.vx+=p*(v=1-v),u.vy+=d*v}function h(){if(n){var i,o,u=n.length,c=e.length,f=Object(P["a"])(n,l);for(i=0,a=new Array(u);i<c;++i)o=e[i],o.index=i,"object"!==typeof o.source&&(o.source=L(f,o.source)),"object"!==typeof o.target&&(o.target=L(f,o.target)),a[o.source.index]=(a[o.source.index]||0)+1,a[o.target.index]=(a[o.target.index]||0)+1;for(i=0,s=new Array(c);i<c;++i)o=e[i],s[i]=a[o.source.index]/(a[o.source.index]+a[o.target.index]);t=new Array(c),v(),r=new Array(c),m()}}function v(){if(n)for(var r=0,i=e.length;r<i;++r)t[r]=+u(e[r],r,e)}function m(){if(n)for(var t=0,i=e.length;t<i;++t)r[t]=+c(e[t],t,e)}return null==e&&(e=[]),d.initialize=function(e){n=e,h()},d.links=function(t){return arguments.length?(e=t,h(),d):e},d.id=function(e){return arguments.length?(l=e,d):l},d.iterations=function(e){return arguments.length?(f=+e,d):f},d.strength=function(e){return arguments.length?(u="function"===typeof e?e:i(+e),v(),d):u},d.distance=function(e){return arguments.length?(c="function"===typeof e?e:i(+e),m(),d):c},d},I={value:function(){}};function j(){for(var e,t=0,r=arguments.length,n={};t<r;++t){if(!(e=arguments[t]+"")||e in n||/[\s.]/.test(e))throw new Error("illegal type: "+e);n[e]=[]}return new R(n)}function R(e){this._=e}function F(e,t){return e.trim().split(/^|\s+/).map((function(e){var r="",n=e.indexOf(".");if(n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}}))}function N(e,t){for(var r,n=0,i=e.length;n<i;++n)if((r=e[n]).name===t)return r.value}function z(e,t,r){for(var n=0,i=e.length;n<i;++n)if(e[n].name===t){e[n]=I,e=e.slice(0,n).concat(e.slice(n+1));break}return null!=r&&e.push({name:t,value:r}),e}R.prototype=j.prototype={constructor:R,on:function(e,t){var r,n=this._,i=F(e+"",n),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);while(++o<a)if(r=(e=i[o]).type)n[r]=z(n[r],e.name,t);else if(null==t)for(r in n)n[r]=z(n[r],e.name,null);return this}while(++o<a)if((r=(e=i[o]).type)&&(r=N(n[r],e.name)))return r},copy:function(){var e={},t=this._;for(var r in t)e[r]=t[r].slice();return new R(e)},call:function(e,t){if((r=arguments.length-2)>0)for(var r,n,i=new Array(r),o=0;o<r;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(n=this._[e],o=0,r=n.length;o<r;++o)n[o].value.apply(t,i)},apply:function(e,t,r){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var n=this._[e],i=0,o=n.length;i<o;++i)n[i].value.apply(t,r)}};var U,H,V=j,Q=0,W=0,K=0,q=1e3,G=0,$=0,Y=0,X="object"===typeof performance&&performance.now?performance:Date,Z="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function J(){return $||(Z(ee),$=X.now()+Y)}function ee(){$=0}function te(){this._call=this._time=this._next=null}function re(e,t,r){var n=new te;return n.restart(e,t,r),n}function ne(){J(),++Q;var e,t=U;while(t)(e=$-t._time)>=0&&t._call.call(null,e),t=t._next;--Q}function ie(){$=(G=X.now())+Y,Q=W=0;try{ne()}finally{Q=0,ae(),$=0}}function oe(){var e=X.now(),t=e-G;t>q&&(Y-=t,G=e)}function ae(){var e,t,r=U,n=1/0;while(r)r._call?(n>r._time&&(n=r._time),e=r,r=r._next):(t=r._next,r._next=null,r=e?e._next=t:U=t);H=e,se(n)}function se(e){if(!Q){W&&(W=clearTimeout(W));var t=e-$;t>24?(e<1/0&&(W=setTimeout(ie,e-X.now()-Y)),K&&(K=clearInterval(K))):(K||(G=X.now(),K=setInterval(oe,q)),Q=1,Z(ie))}}function le(e){return e.x}function ue(e){return e.y}te.prototype=re.prototype={constructor:te,restart:function(e,t,r){if("function"!==typeof e)throw new TypeError("callback is not a function");r=(null==r?J():+r)+(null==t?0:+t),this._next||H===this||(H?H._next=this:U=this,H=this),this._call=e,this._time=r,se()},stop:function(){this._call&&(this._call=null,this._time=1/0,se())}};var ce=10,fe=Math.PI*(3-Math.sqrt(5)),pe=function(e){var t,r=1,n=.001,i=1-Math.pow(n,1/300),o=0,a=.6,s=Object(P["a"])(),l=re(c),u=V("tick","end");function c(){f(),u.call("tick",t),r<n&&(l.stop(),u.call("end",t))}function f(n){var l,u,c=e.length;void 0===n&&(n=1);for(var f=0;f<n;++f)for(r+=(o-r)*i,s.each((function(e){e(r)})),l=0;l<c;++l)u=e[l],null==u.fx?u.x+=u.vx*=a:(u.x=u.fx,u.vx=0),null==u.fy?u.y+=u.vy*=a:(u.y=u.fy,u.vy=0);return t}function p(){for(var t,r=0,n=e.length;r<n;++r){if(t=e[r],t.index=r,null!=t.fx&&(t.x=t.fx),null!=t.fy&&(t.y=t.fy),isNaN(t.x)||isNaN(t.y)){var i=ce*Math.sqrt(r),o=r*fe;t.x=i*Math.cos(o),t.y=i*Math.sin(o)}(isNaN(t.vx)||isNaN(t.vy))&&(t.vx=t.vy=0)}}function d(t){return t.initialize&&t.initialize(e),t}return null==e&&(e=[]),p(),t={tick:f,restart:function(){return l.restart(c),t},stop:function(){return l.stop(),t},nodes:function(r){return arguments.length?(e=r,p(),s.each(d),t):e},alpha:function(e){return arguments.length?(r=+e,t):r},alphaMin:function(e){return arguments.length?(n=+e,t):n},alphaDecay:function(e){return arguments.length?(i=+e,t):+i},alphaTarget:function(e){return arguments.length?(o=+e,t):o},velocityDecay:function(e){return arguments.length?(a=1-e,t):1-a},force:function(e,r){return arguments.length>1?(null==r?s.remove(e):s.set(e,d(r)),t):s.get(e)},find:function(t,r,n){var i,o,a,s,l,u=0,c=e.length;for(null==n?n=1/0:n*=n,u=0;u<c;++u)s=e[u],i=t-s.x,o=r-s.y,a=i*i+o*o,a<n&&(l=s,n=a);return l},on:function(e,r){return arguments.length>1?(u.on(e,r),t):u.on(e)}}},de=function(){var e,t,r,n,a=i(-30),s=1,l=1/0,u=.81;function c(n){var i,o=e.length,a=E(e,le,ue).visitAfter(p);for(r=n,i=0;i<o;++i)t=e[i],a.visit(d)}function f(){if(e){var t,r,i=e.length;for(n=new Array(i),t=0;t<i;++t)r=e[t],n[r.index]=+a(r,t,e)}}function p(e){var t,r,i,o,a,s=0,l=0;if(e.length){for(i=o=a=0;a<4;++a)(t=e[a])&&(r=Math.abs(t.value))&&(s+=t.value,l+=r,i+=r*t.x,o+=r*t.y);e.x=i/l,e.y=o/l}else{t=e,t.x=t.data.x,t.y=t.data.y;do{s+=n[t.data.index]}while(t=t.next)}e.value=s}function d(e,i,a,c){if(!e.value)return!0;var f=e.x-t.x,p=e.y-t.y,d=c-i,h=f*f+p*p;if(d*d/u<h)return h<l&&(0===f&&(f=o(),h+=f*f),0===p&&(p=o(),h+=p*p),h<s&&(h=Math.sqrt(s*h)),t.vx+=f*e.value*r/h,t.vy+=p*e.value*r/h),!0;if(!(e.length||h>=l)){(e.data!==t||e.next)&&(0===f&&(f=o(),h+=f*f),0===p&&(p=o(),h+=p*p),h<s&&(h=Math.sqrt(s*h)));do{e.data!==t&&(d=n[e.data.index]*r/h,t.vx+=f*d,t.vy+=p*d)}while(e=e.next)}}return c.initialize=function(t){e=t,f()},c.strength=function(e){return arguments.length?(a="function"===typeof e?e:i(+e),f(),c):a},c.distanceMin=function(e){return arguments.length?(s=e*e,c):Math.sqrt(s)},c.distanceMax=function(e){return arguments.length?(l=e*e,c):Math.sqrt(l)},c.theta=function(e){return arguments.length?(u=e*e,c):Math.sqrt(u)},c},he=function(e,t,r){var n,o,a,s=i(.1);function l(e){for(var i=0,s=n.length;i<s;++i){var l=n[i],u=l.x-t||1e-6,c=l.y-r||1e-6,f=Math.sqrt(u*u+c*c),p=(a[i]-f)*o[i]*e/f;l.vx+=u*p,l.vy+=c*p}}function u(){if(n){var t,r=n.length;for(o=new Array(r),a=new Array(r),t=0;t<r;++t)a[t]=+e(n[t],t,n),o[t]=isNaN(a[t])?0:+s(n[t],t,n)}}return"function"!==typeof e&&(e=i(+e)),null==t&&(t=0),null==r&&(r=0),l.initialize=function(e){n=e,u()},l.strength=function(e){return arguments.length?(s="function"===typeof e?e:i(+e),u(),l):s},l.radius=function(t){return arguments.length?(e="function"===typeof t?t:i(+t),u(),l):e},l.x=function(e){return arguments.length?(t=+e,l):t},l.y=function(e){return arguments.length?(r=+e,l):r},l},ve=function(e){var t,r,n,o=i(.1);function a(e){for(var i,o=0,a=t.length;o<a;++o)i=t[o],i.vx+=(n[o]-i.x)*r[o]*e}function s(){if(t){var i,a=t.length;for(r=new Array(a),n=new Array(a),i=0;i<a;++i)r[i]=isNaN(n[i]=+e(t[i],i,t))?0:+o(t[i],i,t)}}return"function"!==typeof e&&(e=i(null==e?0:+e)),a.initialize=function(e){t=e,s()},a.strength=function(e){return arguments.length?(o="function"===typeof e?e:i(+e),s(),a):o},a.x=function(t){return arguments.length?(e="function"===typeof t?t:i(+t),s(),a):e},a},me=function(e){var t,r,n,o=i(.1);function a(e){for(var i,o=0,a=t.length;o<a;++o)i=t[o],i.vy+=(n[o]-i.y)*r[o]*e}function s(){if(t){var i,a=t.length;for(r=new Array(a),n=new Array(a),i=0;i<a;++i)r[i]=isNaN(n[i]=+e(t[i],i,t))?0:+o(t[i],i,t)}}return"function"!==typeof e&&(e=i(null==e?0:+e)),a.initialize=function(e){t=e,s()},a.strength=function(e){return arguments.length?(o="function"===typeof e?e:i(+e),s(),a):o},a.y=function(t){return arguments.length?(e="function"===typeof t?t:i(+t),s(),a):e},a}},"0a5b":function(e,t,r){"use strict";var n=r("d115");e.exports=function(e,t,r){r("newshape.drawdirection"),r("newshape.layer"),r("newshape.fillcolor"),r("newshape.fillrule"),r("newshape.opacity");var i=r("newshape.line.width");if(i){var o=(e||{}).plot_bgcolor||"#FFF";r("newshape.line.color",n.contrast(o)),r("newshape.line.dash")}r("activeshape.fillcolor"),r("activeshape.opacity")}},"0ac6":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,4C14.21,4 16,5.79 16,8C16,10.21 14.21,12 12,12C9.79,12 8,10.21 8,8C8,5.79 9.79,4 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"}))};e.exports=s},"0adf":function(e,t,r){"use strict";var n=r("3aa8"),i=r("fc26"),o=r("d064"),a=r("1b6a"),s=r("2d0e"),l=r("0c3a"),u=r("d706"),c=r("eb12"),f=r("9b68"),p=r("8a7d");function d(e,t){var r,c,f,p,d,h,v,m=t._carpetTrace,g=m.aaxis,y=m.baxis;g._minDtick=0,y._minDtick=0,i.isArray1D(t.z)&&o(t,g,y,"a","b",["z"]),r=t._a=t._a||t.a,p=t._b=t._b||t.b,r=r?g.makeCalcdata(t,"_a"):[],p=p?y.makeCalcdata(t,"_b"):[],c=t.a0||0,f=t.da||1,d=t.b0||0,h=t.db||1,v=t._z=a(t._z||t.z,t.transpose),t._emptypoints=l(v),s(v,t._emptypoints);var b=i.maxRowLength(v),x="scaled"===t.xtype?"":r,A=u(t,x,c,f,b,g),w="scaled"===t.ytype?"":p,_=u(t,w,d,h,v.length,y),E={a:A,b:_,z:v};return"levels"===t.contours.type&&"none"!==t.contours.coloring&&n(e,t,{vals:v,containerStr:"",cLetter:"z"}),[E]}e.exports=function(e,t){var r=t._carpetTrace=f(e,t);if(r&&r.visible&&"legendonly"!==r.visible){if(!t.a||!t.b){var n=e.data[r.index],i=e.data[t.index];i.a||(i.a=n.a),i.b||(i.b=n.b),c(i,t,t._defaultColor,e._fullLayout)}var o=d(e,t);return p(t,t._z),o}}},"0af2":function(e,t,r){"use strict";var n=r("09bd"),i=r("70b4").calcMarkerSize,o=r("c879"),a=r("0642"),s=r("b326").TOO_MANY_POINTS;e.exports=function(e,t){var r=e._fullLayout,l=t.subplot,u=r[l].radialaxis,c=r[l].angularaxis,f=t._r=u.makeCalcdata(t,"r"),p=t._theta=c.makeCalcdata(t,"theta"),d=t._length,h={};d<f.length&&(f=f.slice(0,d)),d<p.length&&(p=p.slice(0,d)),h.r=f,h.theta=p,n(e,t);var v,m=h.opts=o.style(e,t);return d<s?v=i(t,d):m.marker&&(v=2*(m.marker.sizeAvg||Math.max(m.marker.size,3))),t._extremes.x=a.findExtremes(u,f,{ppad:v}),[{x:!1,y:!1,t:h,trace:t}]}},"0b07":function(e,t,r){var n=r("34ac"),i=r("3698");function o(e,t){var r=i(e,t);return n(r)?r:void 0}e.exports=o},"0b1d":function(e,t,r){"use strict";var n=r("c01c"),i=r("a026"),o=r("e100"),a=r("0dd1"),s=6;function l(e,t){for(var r=new Array(e.length-1),n=1;n<e.length;++n)for(var i=r[n-1]=new Array(e.length-1),o=0,a=0;o<e.length;++o)o!==t&&(i[a++]=e[n][o]);return r}function u(e){for(var t=new Array(e),r=0;r<e;++r){t[r]=new Array(e);for(var n=0;n<e;++n)t[r][n]=["m",n,"[",e-r-2,"]"].join("")}return t}function c(e){if(1===e.length)return e[0];if(2===e.length)return["sum(",e[0],",",e[1],")"].join("");var t=e.length>>1;return["sum(",c(e.slice(0,t)),",",c(e.slice(t)),")"].join("")}function f(e,t){if("m"===e.charAt(0)){if("w"===t.charAt(0)){var r=e.split("[");return["w",t.substr(1),"m",r[0].substr(1)].join("")}return["prod(",e,",",t,")"].join("")}return f(t,e)}function p(e){return!0&e?"-":""}function d(e){if(2===e.length)return[["diff(",f(e[0][0],e[1][1]),",",f(e[1][0],e[0][1]),")"].join("")];for(var t=[],r=0;r<e.length;++r)t.push(["scale(",c(d(l(e,r))),",",p(r),e[0][r],")"].join(""));return t}function h(e,t){for(var r=[],n=0;n<t-2;++n)r.push(["prod(m",e,"[",n,"],m",e,"[",n,"])"].join(""));return c(r)}function v(e){for(var t=[],r=[],s=u(e),f=0;f<e;++f)s[0][f]="1",s[e-1][f]="w"+f;for(f=0;f<e;++f)0===(1&f)?t.push.apply(t,d(l(s,f))):r.push.apply(r,d(l(s,f)));var p=c(t),v=c(r),m="exactInSphere"+e,g=[];for(f=0;f<e;++f)g.push("m"+f);var y=["function ",m,"(",g.join(),"){"];for(f=0;f<e;++f){y.push("var w",f,"=",h(f,e),";");for(var b=0;b<e;++b)b!==f&&y.push("var w",f,"m",b,"=scale(w",f,",m",b,"[0]);")}y.push("var p=",p,",n=",v,",d=diff(p,n);return d[d.length-1];}return ",m);var x=new Function("sum","diff","prod","scale",y.join(""));return x(i,o,n,a)}function m(){return 0}function g(){return 0}function y(){return 0}var b=[m,g,y];function x(e){var t=b[e.length];return t||(t=b[e.length]=v(e.length)),t.apply(void 0,e)}function A(){while(b.length<=s)b.push(v(b.length));for(var t=[],r=["slow"],n=0;n<=s;++n)t.push("a"+n),r.push("o"+n);var i=["function testInSphere(",t.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(n=2;n<=s;++n)i.push("case ",n,":return o",n,"(",t.slice(0,n).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return testInSphere"),r.push(i.join(""));var o=Function.apply(void 0,r);e.exports=o.apply(void 0,[x].concat(b));for(n=0;n<=s;++n)e.exports[n]=b[n]}A()},"0b4f":function(e,t,r){"use strict";e.exports={attributes:r("5348"),supplyDefaults:r("cba5"),calc:r("edf7"),colorbar:{min:"cmin",max:"cmax"},plot:r("6fa6"),moduleType:"trace",name:"volume",basePlotModule:r("134c"),categories:["gl3d","showLegend"],meta:{description:["Draws volume trace between iso-min and iso-max values with coordinates given by","four 1-dimensional arrays containing the `value`, `x`, `y` and `z` of every vertex","of a uniform or non-uniform 3-D grid. Horizontal or vertical slices, caps as well as","spaceframe between iso-min and iso-max values could also be drawn using this trace."].join(" ")}}},"0b77":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("e806").BADNUM,a=i.isArrayOrTypedArray,s=i.isDateTime,l=i.cleanNumber,u=Math.round;function c(e,t){return t?n(e):"number"===typeof e}function f(e,t){for(var r=e.length,n=0;n<r;n++)if(c(e[n],t))return!0;return!1}function p(e,t){for(var r=e.length,i=d(r),o=0,a=0,l={},c=0;c<r;c+=i){var f=u(c),p=e[f],h=String(p);l[h]||(l[h]=1,s(p,t)&&o++,n(p)&&a++)}return o>2*a}function d(e){return Math.max(1,(e-1)/1e3)}function h(e,t){for(var r=e.length,n=d(r),i=0,a=0,s={},c=0;c<r;c+=n){var f=u(c),p=e[f],h=String(p);if(!s[h]){s[h]=1;var v=typeof p;"boolean"===v?a++:(t?l(p)!==o:"number"===v)?i++:"string"===v&&a++}}return a>2*i}function v(e){return a(e[0])&&a(e[1])}e.exports=function(e,t,r){var n=e,i=r.noMultiCategory;if(a(n)&&!n.length)return"-";if(!i&&v(n))return"multicategory";if(i&&Array.isArray(n[0])){for(var o=[],s=0;s<n.length;s++)if(a(n[s]))for(var l=0;l<n[s].length;l++)o.push(n[s][l]);n=o}if(p(n,t))return"date";var u="strict"!==r.autotypenumbers;return h(n,u)?"category":f(n,u)?"linear":"-"}},"0b79":function(e,t,r){var n=r("0230"),i=r("320c"),o=n.instance();function a(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Taiwan",jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=this._t2gYear(t.year());return o.leapYear(e)},weekOfYear:function(e,t,r){var i=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=this._t2gYear(i.year());return o.weekOfYear(e,i.month(),i.day())},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);e=this._t2gYear(i.year());return o.toJD(e,i.month(),i.day())},fromJD:function(e){var t=o.fromJD(e),r=this._g2tYear(t.year());return this.newDate(r,t.month(),t.day())},_t2gYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)},_g2tYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)}}),n.calendars.taiwan=a},"0bab":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.laTeXToHTML=t.htmlToLaTeX=t.hasTextExpression=t.isLaTeXExpr=void 0;var n=function(){return/\\text\{([^}]*)}/g},i=function(){return/^\$[\s\S]*\$$/},o=function(e){return e.replace(/<[^>]*>/g,"").trim()},a=function(e){var t,r,i=[],o=JSON.stringify(e),a=n();while(null!==(t=a.exec(o)))r=t[1].trim().replace("\\n",""),i.push(r);return i.join("<br>")},s=function(e){return e?"$".concat(e,"$"):"$$"},l=function(e){return e?"\\text{".concat(e,"}"):"\\text{}"},u=function(e){return i().test(e)};t.isLaTeXExpr=u;var c=function(e){var t=n(),r=JSON.stringify(e);return t.test(r)};t.hasTextExpression=c;var f=function(e){var t="<br>",r=e.trim();return""===r||""===r.replace(t,"")?s(l()):s(r.split(t).map((function(e){return e.length?l(o(e)):""})).join("\n"))};t.htmlToLaTeX=f;var p=function(e){var t=e.trim();return a(t)};t.laTeXToHTML=p},"0bca":function(e,t,r){"use strict";var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r("cb49"),c=r("22af"),f=r("ab5b"),p=r("a6b3"),d=r("e97a"),h=r("a759"),v=r("0de2"),m=r("b4a5"),g=r("24f7"),y=r("d8db"),b=r("38bc"),x=10,A=(g.List,function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}),w=function(e,t){var r=e.getNextSiblingKey();return!!r&&t.getBlockForKey(r).getType()===e.getType()},_=function(e,t,r){var n=[],i=!0,o=!1,a=void 0;try{for(var s,l=r.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;if(u.type!==t)break;n.push(u)}}catch(h){o=!0,a=h}finally{try{i||null==l["return"]||l["return"]()}finally{if(o)throw a}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),d=p[0].key;return r.push(f.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":c.encode(d,0,0)},p)),r},E=function(e,t){var r=t.get(e.getType())||t.get("unstyled"),n=r.wrapper,i=r.element||t.get("unstyled").element;return{Element:i,wrapperTemplate:n}},k=function(e,t){var r=t(e);if(!r)return{};var n=r.component,i=r.props,o=r.editable;return{CustomComponent:n,customProps:i,customEditable:o}},T=function(e,t,r,n,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":r,key:e.getKey(),ref:o},l=n(e);return l&&(a.className=l),void 0!==i.customEditable&&(a=s({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},C=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=e.call.apply(e,[this].concat(n))||this,l(o(t),"wrapperRef",f.createRef()),t}a(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,r=t.block,n=t.direction,i=t.tree,o=!r.getChildKeys().isEmpty(),a=r!==e.block||i!==e.tree||n!==e.direction||A(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var r=this.wrapperRef.current;if(r){var n,i=d.getScrollParent(r),o=v(i);if(i===window){var a=h(r),s=a.y+a.height,l=m().height;n=s-l,n>0&&window.scrollTo(o.x,o.y+n+x)}else{b(r)||y(!1);var u=r,c=u.offsetHeight+u.offsetTop,f=i.offsetHeight+o.y;n=c-f,n>0&&p.setTop(i,p.getTop(i)+n+x)}}}},r.render=function(){var e=this,r=this.props,n=r.block,o=r.blockRenderMap,a=r.blockRendererFn,l=r.blockStyleFn,p=r.contentState,d=r.decorator,h=r.editorKey,v=r.editorState,m=r.customStyleFn,g=r.customStyleMap,y=r.direction,b=r.forceSelection,x=r.selection,C=r.tree,S=null;n.children.size&&(S=n.children.reduce((function(r,n){var i=c.encode(n,0,0),u=p.getBlockForKey(n),d=k(u,a),m=d.CustomComponent||t,g=E(u,o),y=g.Element,b=g.wrapperTemplate,x=T(u,h,i,l,d,null),A=s({},e.props,{tree:v.getBlockTree(n),blockProps:d.customProps,offsetKey:i,block:u});return r.push(f.createElement(y,x,f.createElement(m,A))),!b||w(u,p)||_(b,y,r),r}),[]));var O=n.getKey(),M=c.encode(O,0,0),P=k(n,a),B=P.CustomComponent,L=null!=B?f.createElement(B,i({},this.props,{tree:v.getBlockTree(O),blockProps:P.customProps,offsetKey:M,block:n})):f.createElement(u,{block:n,children:S,contentState:p,customStyleFn:m,customStyleMap:g,decorator:d,direction:y,forceSelection:b,hasSelection:A(x,O),selection:x,tree:C});if(n.getParentKey())return L;var D=E(n,o),I=D.Element,j=T(n,h,M,l,P,this.wrapperRef);return f.createElement(I,j,L)},t}(f.Component);e.exports=C},"0bd1":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("b3ca"),a=r("ef00"),s=r("5a4c"),l=r("0984"),u=r("4f8d"),c=r("1c40"),f=r("bdc3"),p=r("6147"),d=r("30f2"),h=r("d114"),v=r("ba3b"),m=r("dc1a"),g=r("b6e2"),y=r("a1c8"),b=r("4988"),x=o.isOptionKeyCommand,A=l.isBrowser("Chrome");function w(e,t,r){switch(e){case"redo":return i.redo(t);case"delete":return g(t);case"delete-word":return p(t);case"backspace":return m(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return c(t,r);case"split-block":return d(t);case"transpose-characters":return y(t);case"move-selection-to-start-of-block":return v(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}function _(e,t){var r=t.which,o=e._latestEditorState;function s(r){var n=e.props[r];return!!n&&(n(t),!0)}switch(r){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&u(e.props.handleReturn(t,o)))return;break;case a.ESC:if(t.preventDefault(),s("onEscape"))return;break;case a.TAB:if(s("onTab"))return;break;case a.UP:if(s("onUpArrow"))return;break;case a.RIGHT:if(s("onRightArrow"))return;break;case a.DOWN:if(s("onDownArrow"))return;break;case a.LEFT:if(s("onLeftArrow"))return;break;case a.SPACE:A&&x(t)&&t.preventDefault()}var l=e.props.keyBindingFn(t);if(null!=l&&""!==l)if("undo"!==l){if(t.preventDefault(),!e.props.handleKeyCommand||!u(e.props.handleKeyCommand(l,o,t.timeStamp))){var c=w(l,o,t);c!==o&&e.update(c)}}else b(t,o,e.update);else if(r===a.SPACE&&A&&x(t)){var f=n.replaceText(o.getCurrentContent(),o.getSelection()," ");e.update(i.push(o,f,"insert-characters"))}}e.exports=_},"0bea":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.SubplotAccordion,null,n.default.createElement(o.PlotlySection,{name:r("Base Map"),attr:"style"},n.default.createElement(o.MapboxStyleDropdown,{label:r("Tile Source"),attr:"style"})),n.default.createElement(o.PlotlySection,{name:r("Layers"),attr:"style"},n.default.createElement(o.MapboxLayersAccordion,null,n.default.createElement(o.Radio,{attr:"below",options:[{label:r("Below Data"),value:"traces"},{label:r("Above Data"),value:""}]}),n.default.createElement(o.MapboxSourceArray,{label:r("Tile Source URL"),attr:"source",show:!0}))),n.default.createElement(o.PlotlySection,{name:r("Map Positioning")},n.default.createElement(o.Numeric,{label:r("Center Latitude"),attr:"center.lat"}),n.default.createElement(o.Numeric,{label:r("Center Longitude"),attr:"center.lon"}),n.default.createElement(o.Numeric,{label:r("Zoom Level"),attr:"zoom",min:0}),n.default.createElement(o.Numeric,{label:r("Bearing"),attr:"bearing"}),n.default.createElement(o.Numeric,{label:r("Pitch"),attr:"pitch",min:0}),n.default.createElement(o.Dropdown,{label:r("Bounds Fitting"),attr:"fitbounds",options:[{label:r("Off"),value:!1},{label:r("Locations"),value:"locations"},{label:r("GeoJSON"),value:"geojson"}],clearable:!1})),n.default.createElement(o.PlotlySection,{name:r("Map Projection")},n.default.createElement(o.Dropdown,{label:r("Region"),attr:"scope",options:[{label:r("World"),value:"world"},{label:r("USA"),value:"usa"},{label:r("Europe"),value:"europe"},{label:r("Asia"),value:"asia"},{label:r("Africa"),value:"africa"},{label:r("North America"),value:"north america"},{label:r("South America"),value:"south america"}],clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Projection"),attr:"projection.type",clearable:!1,options:[{label:r("Equirectangular"),value:"equirectangular"},{label:r("Mercator"),value:"mercator"},{label:r("Orthographic"),value:"orthographic"},{label:r("Natural Earth"),value:"natural earth"},{label:r("Albers USA"),value:"albers usa"},{label:r("Winkel Tripel"),value:"winkel tripel"},{label:r("Robinson"),value:"robinson"},{label:r("Miller"),value:"miller"},{label:r("Kavrayskiy 7"),value:"kavrayskiy7"},{label:r("Eckert 4"),value:"eckert4"},{label:r("Azimuthal Equal Area"),value:"azimuthal equal area"},{label:r("Azimuthal Equidistant"),value:"azimuthal equidistant"},{label:r("Conic Equal Area"),value:"conic equal area"},{label:r("Conic Conformal"),value:"conic conformal"},{label:r("Conic Equidistant"),value:"conic equidistant"},{label:r("Gnomonic"),value:"gnomonic"},{label:r("Stereographic"),value:"stereographic"},{label:r("Mollweide"),value:"mollweide"},{label:r("Hammer"),value:"hammer"},{label:r("Transverse Mercator"),value:"transverse mercator"},{label:r("Aitoff"),value:"aitoff"},{label:r("Sinusoidal"),value:"sinusoidal"}]}),n.default.createElement(o.Numeric,{label:r("Scale"),attr:"projection.scale",min:0}),n.default.createElement(o.Numeric,{label:r("Center Latitude"),attr:"projection.rotation.lon",min:0}),n.default.createElement(o.Numeric,{label:r("Center Longitude"),attr:"projection.rotation.lat",min:0}),n.default.createElement(o.Numeric,{label:r("Roll"),attr:"projection.rotation.roll",min:0})),n.default.createElement(o.PlotlySection,{name:r("Base Map"),attr:"visible"},n.default.createElement(o.Radio,{attr:"visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Resolution"),attr:"resolution",options:[{label:r("1:110,000,000"),value:110},{label:r("1:50,000,000"),value:50}]})),n.default.createElement(o.PlotlySection,{name:r("Country Borders"),attr:"showcountries"},n.default.createElement(o.Radio,{attr:"showcountries",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"countrywidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Border Color"),attr:"countrycolor"})),n.default.createElement(o.PlotlySection,{name:r("Sub-Country Unit Borders"),attr:"showsubunits"},n.default.createElement(o.Radio,{attr:"showsubunits",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"subunitwidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Border Color"),attr:"subunitcolor"})),n.default.createElement(o.PlotlySection,{name:r("Coastlines"),attr:"showcoastlines"},n.default.createElement(o.Radio,{attr:"showcoastlines",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"coastlinewidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"coastlinecolor"})),n.default.createElement(o.PlotlySection,{name:r("Oceans"),attr:"showocean"},n.default.createElement(o.Radio,{attr:"showocean",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"oceancolor"})),n.default.createElement(o.PlotlySection,{name:r("Land"),attr:"showland"},n.default.createElement(o.Radio,{attr:"showland",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"landcolor"})),n.default.createElement(o.PlotlySection,{name:r("Lakes"),attr:"showlakes"},n.default.createElement(o.Radio,{attr:"showlakes",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"lakecolor"})),n.default.createElement(o.PlotlySection,{name:r("Rivers"),attr:"showrivers"},n.default.createElement(o.Radio,{attr:"showrivers",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"riverwidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"rivercolor"})),n.default.createElement(o.PlotlySection,{name:r("Map Frame"),attr:"showframe"},n.default.createElement(o.Radio,{attr:"showframe",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"framewidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"framecolor"})))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},"0c39":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("371e"),a=r("0642"),s=r("424b"),l=r("6dcc"),u=r("c005"),c=r("9547"),f=r("5913");function p(e,t){var r,o,p,h,v=[],g=[],y=a.getFromId(e,"h"===t.orientation?t.yaxis:t.xaxis),b="h"===t.orientation?"y":"x",x={x:"y",y:"x"}[b],A=t[b+"calendar"],w=t.cumulative,_=d(e,t,y,b),E=_[0],k=_[1],T="string"===typeof E.size,C=[],S=T?C:E,O=[],M=[],P=[],B=0,L=t.histnorm,D=t.histfunc,I=-1!==L.indexOf("density");w.enabled&&I&&(L=L.replace(/ ?density$/,""),I=!1);var j,R="max"===D||"min"===D,F=R?null:0,N=l.count,z=u[L],U=!1,H=function(e){return y.r2c(e,0,A)};i.isArrayOrTypedArray(t[x])&&"count"!==D&&(j=t[x],U="avg"===D,N=l[D]),r=H(E.start),p=H(E.end)+(r-a.tickIncrement(r,E.size,!1,A))/1e6;while(r<p&&v.length<1e6){if(o=a.tickIncrement(r,E.size,!1,A),v.push((r+o)/2),g.push(F),P.push([]),C.push(r),I&&O.push(1/(o-r)),U&&M.push(0),o<=r)break;r=o}C.push(r),T||"date"!==y.type||(S={start:H(S.start),end:H(S.end),size:S.size}),e._fullLayout._roundFnOpts||(e._fullLayout._roundFnOpts={});var V=t["_"+b+"bingroup"],Q={leftGap:1/0,rightGap:1/0};V&&(e._fullLayout._roundFnOpts[V]||(e._fullLayout._roundFnOpts[V]=Q),Q=e._fullLayout._roundFnOpts[V]);var W,K=g.length,q=!0,G=Q.leftGap,$=Q.rightGap,Y={};for(r=0;r<k.length;r++){var X=k[r];h=i.findBin(X,S),h>=0&&h<K&&(B+=N(h,r,g,j,M),q&&P[h].length&&X!==k[P[h][0]]&&(q=!1),P[h].push(r),Y[r]=h,G=Math.min(G,X-C[h]),$=Math.min($,C[h+1]-X))}Q.leftGap=G,Q.rightGap=$,q||(W=function(t,r){return function(){var n=e._fullLayout._roundFnOpts[V];return f(n.leftGap,n.rightGap,C,y,A)(t,r)}}),U&&(B=c(g,M)),z&&z(g,B,O),w.enabled&&m(g,w.direction,w.currentbin);var Z=Math.min(v.length,g.length),J=[],ee=0,te=Z-1;for(r=0;r<Z;r++)if(g[r]){ee=r;break}for(r=Z-1;r>=ee;r--)if(g[r]){te=r;break}for(r=ee;r<=te;r++)if(n(v[r])&&n(g[r])){var re={p:v[r],s:g[r],b:0};w.enabled||(re.pts=P[r],q?re.ph0=re.ph1=P[r].length?k[P[r][0]]:v[r]:(t._computePh=!0,re.ph0=W(C[r]),re.ph1=W(C[r+1],!0))),J.push(re)}return 1===J.length&&(J[0].width1=a.tickIncrement(J[0].p,E.size,!1,A)-J[0].p),s(J,t),i.isArrayOrTypedArray(t.selectedpoints)&&i.tagSelected(J,t,Y),J}function d(e,t,r,s,l){var u,c,f,p,d,v,m,g=s+"bins",y=e._fullLayout,b=t["_"+s+"bingroup"],x=y._histogramBinOpts[b],A="overlay"===y.barmode,w=function(e){return r.r2c(e,0,p)},_=function(e){return r.c2r(e,0,p)},E="date"===r.type?function(e){return e||0===e?i.cleanDate(e,null,p):null}:function(e){return n(e)?Number(e):null};function k(e,t,r){t[e+"Found"]?(t[e]=E(t[e]),null===t[e]&&(t[e]=r[e])):(v[e]=t[e]=r[e],i.nestedProperty(c[0],g+"."+e).set(r[e]))}if(t["_"+s+"autoBinFinished"])delete t["_"+s+"autoBinFinished"];else{c=x.traces;var T=[],C=!0,S=!1,O=!1;for(u=0;u<c.length;u++)if(f=c[u],f.visible){var M=x.dirs[u];d=f["_"+M+"pos0"]=r.makeCalcdata(f,M),T=i.concat(T,d),delete f["_"+s+"autoBinFinished"],!0===t.visible&&(C?C=!1:(delete f._autoBin,f["_"+s+"autoBinFinished"]=1),o.traceIs(f,"2dMap")&&(S=!0),"histogram2dcontour"===f.type&&(O=!0))}p=c[0][s+"calendar"];var P=a.autoBin(T,r,x.nbins,S,p,x.sizeFound&&x.size),B=c[0]._autoBin={};if(v=B[x.dirs[0]]={},O&&(x.size||(P.start=_(a.tickIncrement(w(P.start),P.size,!0,p))),void 0===x.end&&(P.end=_(a.tickIncrement(w(P.end),P.size,!1,p)))),A&&!o.traceIs(t,"2dMap")&&0===P._dataSpan&&"category"!==r.type&&"multicategory"!==r.type){if(l)return[P,d,!0];P=h(e,t,r,s,g)}m=f.cumulative||{},m.enabled&&"include"!==m.currentbin&&("decreasing"===m.direction?P.start=_(a.tickIncrement(w(P.start),P.size,!0,p)):P.end=_(a.tickIncrement(w(P.end),P.size,!1,p))),x.size=P.size,x.sizeFound||(v.size=P.size,i.nestedProperty(c[0],g+".size").set(P.size)),k("start",x,P),k("end",x,P)}d=t["_"+s+"pos0"],delete t["_"+s+"pos0"];var L=t._input[g]||{},D=i.extendFlat({},x),I=x.start,j=r.r2l(L.start),R=void 0!==j;if((x.startFound||R)&&j!==r.r2l(I)){var F=R?j:i.aggNums(Math.min,null,d),N={type:"category"===r.type||"multicategory"===r.type?"linear":r.type,r2l:r.r2l,dtick:x.size,tick0:I,calendar:p,range:[F,a.tickIncrement(F,x.size,!1,p)].map(r.l2r)},z=a.tickFirst(N);z>r.r2l(F)&&(z=a.tickIncrement(z,x.size,!0,p)),D.start=r.l2r(z),R||i.nestedProperty(t,g+".start").set(D.start)}var U=x.end,H=r.r2l(L.end),V=void 0!==H;if((x.endFound||V)&&H!==r.r2l(U)){var Q=V?H:i.aggNums(Math.max,null,d);D.end=r.l2r(Q),V||i.nestedProperty(t,g+".start").set(D.end)}var W="autobin"+s;return!1===t._input[W]&&(t._input[g]=i.extendFlat({},t[g]||{}),delete t._input[W],delete t[W]),[D,d]}function h(e,t,r,n,o){var a,s,l,u=e._fullLayout,c=v(e,t),f=!1,p=1/0,h=[t];for(a=0;a<c.length;a++)if(s=c[a],s===t)f=!0;else if(f){var m=d(e,s,r,n,!0),g=m[0],y=m[2];s["_"+n+"autoBinFinished"]=1,s["_"+n+"pos0"]=m[1],y?h.push(s):p=Math.min(p,g.size)}else l=u._histogramBinOpts[s["_"+n+"bingroup"]],p=Math.min(p,l.size||s[o].size);var b=new Array(h.length);for(a=0;a<h.length;a++)for(var x=h[a]["_"+n+"pos0"],A=0;A<x.length;A++)if(void 0!==x[A]){b[a]=x[A];break}for(isFinite(p)||(p=i.distinctVals(b).minDiff),a=0;a<h.length;a++){s=h[a];var w=s[n+"calendar"],_={start:r.c2r(b[a]-p/2,0,w),end:r.c2r(b[a]+p/2,0,w),size:p};s._input[o]=s[o]=_,l=u._histogramBinOpts[s["_"+n+"bingroup"]],l&&i.extendFlat(l,_)}return t[o]}function v(e,t){for(var r=t.xaxis,n=t.yaxis,i=t.orientation,o=[],a=e._fullData,s=0;s<a.length;s++){var l=a[s];"histogram"===l.type&&!0===l.visible&&l.orientation===i&&l.xaxis===r&&l.yaxis===n&&o.push(l)}return o}function m(e,t,r){var n,i,o;function a(t){o=e[t],e[t]/=2}function s(t){i=e[t],e[t]=o+i/2,o+=i}if("half"===r)if("increasing"===t)for(a(0),n=1;n<e.length;n++)s(n);else for(a(e.length-1),n=e.length-2;n>=0;n--)s(n);else if("increasing"===t){for(n=1;n<e.length;n++)e[n]+=e[n-1];"exclude"===r&&(e.unshift(0),e.pop())}else{for(n=e.length-2;n>=0;n--)e[n]+=e[n+1];"exclude"===r&&(e.push(0),e.shift())}}e.exports={calc:p,calcAllAutoBins:d}},"0c3a":function(e,t,r){"use strict";var n=r("fc26").maxRowLength;e.exports=function(e){var t,r,i,o,a,s,l,u,c=[],f={},p=[],d=e[0],h=[],v=[0,0,0],m=n(e);for(r=0;r<e.length;r++)for(t=h,h=d,d=e[r+1]||[],i=0;i<m;i++)void 0===h[i]&&(s=(void 0!==h[i-1]?1:0)+(void 0!==h[i+1]?1:0)+(void 0!==t[i]?1:0)+(void 0!==d[i]?1:0),s?(0===r&&s++,0===i&&s++,r===e.length-1&&s++,i===h.length-1&&s++,s<4&&(f[[r,i]]=[r,i,s]),c.push([r,i,s])):p.push([r,i]));while(p.length){for(l={},u=!1,a=p.length-1;a>=0;a--)o=p[a],r=o[0],i=o[1],s=((f[[r-1,i]]||v)[2]+(f[[r+1,i]]||v)[2]+(f[[r,i-1]]||v)[2]+(f[[r,i+1]]||v)[2])/20,s&&(l[o]=[r,i,s],p.splice(a,1),u=!0);if(!u)throw"findEmpties iterated with no new neighbors";for(o in l)f[o]=l[o],c.push(l[o])}return c.sort((function(e,t){return t[2]-e[2]}))}},"0c45":function(e,t,r){"use strict";r("da67");function n(e,t){var r,n=e.getSelection(),i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i,l=a.getBlockForKey(i);return t>l.getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})}e.exports=n},"0c4d":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,2C6.48,2 2,6.48 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12C22,6.48 17.52,2 12,2Z"}))};e.exports=s},"0c5d":function(e,t,r){"use strict";var n=r("fc26"),i=r("8173"),o=r("d61b"),a=r("41f8"),s=r("348d");e.exports=function(e,t,r,l){function u(r,i){return n.coerce(e,t,s,r,i)}function c(r){return n.coerce2(e,t,s,r)}i(e,t,u,l),!1!==t.visible&&(o(e,t,u,c),a(e,t,u,l),u("hovertemplate"))}},"0c85":function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray,i=r("c258"),o=r("0a3e").wrap;function a(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=.5;return t}e.exports=function(e,t){var r,s;return i.hasColorscale(t,"line")&&n(t.line.color)?(r=t.line.color,s=i.extractOpts(t.line).colorscale,i.calc(e,t,{vals:r,containerStr:"line",cLetter:"c"})):(r=a(t._length),s=[[0,t.line.color],[1,t.line.color]]),o({lineColor:r,cscale:s})}},"0cb3":function(e,t,r){"use strict";var n=1,i=6,o=16;function a(e){var t;return 0===e.readUInt16LE(0)&&(t=e.readUInt16LE(2),t===n)}function s(e,t){var r=e.readUInt8(t);return 0===r?256:r}function l(e,t){var r=i+t*o;return{width:s(e,r),height:s(e,r+1)}}function u(e){var t,r=e.readUInt16LE(4),n=l(e,0);if(1===r)return n;for(n.images=[{width:n.width,height:n.height}],t=1;t<r;t+=1)n.images.push(l(e,t));return n}e.exports={detect:a,calculate:u}},"0cc1":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=i.strTranslate,a=r("73c9"),s=r("000c"),l=i.isIOS()||i.isSafari()||i.isIE();e.exports=function(e,t,r,u){var c=t.xaxis,f=t.yaxis,p=!(l||e._context._exportedPlot);i.makeTraceGroups(u,r,"im").each((function(t){var r=n.select(this),l=t[0],u=l.trace,d=p&&!u._hasZ&&u._hasSource&&"linear"===c.type&&"linear"===f.type;u._fastImage=d;var h,v,m,g,y,b,x=l.z,A=l.x0,w=l.y0,_=l.w,E=l.h,k=u.dx,T=u.dy;b=0;while(void 0===h&&b<_)h=c.c2p(A+b*k),b++;b=_;while(void 0===v&&b>0)v=c.c2p(A+b*k),b--;b=0;while(void 0===g&&b<E)g=f.c2p(w+b*T),b++;b=E;while(void 0===y&&b>0)y=f.c2p(w+b*T),b--;if(v<h&&(m=v,v=h,h=m),y<g&&(m=g,g=y,y=m),!d){var C=.5;h=Math.max(-C*c._length,h),v=Math.min((1+C)*c._length,v),g=Math.max(-C*f._length,g),y=Math.min((1+C)*f._length,y)}var S=Math.round(v-h),O=Math.round(y-g),M=S<=0||O<=0;if(M){var P=r.selectAll("image").data([]);P.exit().remove()}else{var B=r.selectAll("image").data([t]);B.enter().append("svg:image").attr({xmlns:a.svg,preserveAspectRatio:"none"}),B.exit().remove();var L="image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: crisp-edges; image-rendering: pixelated;";if(d){var D=i.simpleMap(c.range,c.r2l),I=i.simpleMap(f.range,f.r2l),j=D[1]<D[0],R=I[1]>I[0];if(j||R){var F=h+S/2,N=g+O/2;L+="transform:"+o(F+"px",N+"px")+"scale("+(j?-1:1)+","+(R?-1:1)+")"+o(-F+"px",-N+"px")+";"}}B.attr("style",L);var z=new Promise((function(e){if(u._hasZ)e();else if(u._hasSource)if(u._canvas&&u._canvas.el.width===_&&u._canvas.el.height===E&&u._canvas.source===u.source)e();else{var t=document.createElement("canvas");t.width=_,t.height=E;var r=t.getContext("2d");u._image=u._image||new Image;var n=u._image;n.onload=function(){r.drawImage(n,0,0),u._canvas={el:t,source:u.source},e()},n.setAttribute("src",u.source)}})).then((function(){var e,t;if(u._hasZ)t=U((function(e,t){return x[t][e]})),e=t.toDataURL("image/png");else if(u._hasSource)if(d)e=u.source;else{var r=u._canvas.el.getContext("2d"),n=r.getImageData(0,0,_,E).data;t=U((function(e,t){var r=4*(t*_+e);return[n[r],n[r+1],n[r+2],n[r+3]]})),e=t.toDataURL("image/png")}B.attr({"xlink:href":e,height:O,width:S,x:h,y:g})}));e._promises.push(z)}function U(e){var t=document.createElement("canvas");t.width=S,t.height=O;var r,n=t.getContext("2d"),o=function(e){return i.constrain(Math.round(c.c2p(A+e*k)-h),0,S)},a=function(e){return i.constrain(Math.round(f.c2p(w+e*T)-g),0,O)},p=s.colormodel[u.colormodel],d=p.colormodel||u.colormodel,v=p.fmt;for(b=0;b<l.w;b++){var m=o(b),y=o(b+1);if(y!==m&&!isNaN(y)&&!isNaN(m))for(var x=0;x<l.h;x++){var _=a(x),E=a(x+1);E===_||isNaN(E)||isNaN(_)||!e(b,x)||(r=u._scaler(e(b,x)),n.fillStyle=r?d+"("+v(r).join(",")+")":"rgba(0,0,0,0)",n.fillRect(m,_,y-m,E-_))}}return t}}))}},"0cec":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26").isArrayOrTypedArray,o=r("e806").BADNUM,a=r("371e"),s=r("0642"),l=r("6add").getAxisGroup,u=r("8b25");function c(e,t){for(var r=t.xaxis,n=t.yaxis,i=e._fullLayout,o=e._fullData,s=e.calcdata,l=[],u=[],c=0;c<o.length;c++){var p=o[c];if(!0===p.visible&&a.traceIs(p,"bar")&&p.xaxis===r._id&&p.yaxis===n._id&&("h"===p.orientation?l.push(s[c]):u.push(s[c]),p._computePh))for(var d=e.calcdata[c],h=0;h<d.length;h++)"function"===typeof d[h].ph0&&(d[h].ph0=d[h].ph0()),"function"===typeof d[h].ph1&&(d[h].ph1=d[h].ph1())}var v={xCat:"category"===r.type||"multicategory"===r.type,yCat:"category"===n.type||"multicategory"===n.type,mode:i.barmode,norm:i.barnorm,gap:i.bargap,groupgap:i.bargroupgap};f(e,r,n,u,v),f(e,n,r,l,v)}function f(e,t,r,n,i){if(n.length){var o,a,s,l,u;switch(p(r,n),i.mode){case"overlay":d(t,r,n,i);break;case"group":for(o=[],a=[],s=0;s<n.length;s++)l=n[s],u=l[0].trace,void 0===u.offset?a.push(l):o.push(l);a.length&&h(e,t,r,a,i),o.length&&d(t,r,o,i);break;case"stack":case"relative":for(o=[],a=[],s=0;s<n.length;s++)l=n[s],u=l[0].trace,void 0===u.base?a.push(l):o.push(l);a.length&&v(e,t,r,a,i),o.length&&d(t,r,o,i);break}T(n,t)}}function p(e,t){var r,o;for(r=0;r<t.length;r++){var a,s=t[r],l=s[0].trace,u="funnel"===l.type?l._base:l.base,c="h"===l.orientation?l.xcalendar:l.ycalendar,f="category"===e.type||"multicategory"===e.type?function(){return null}:e.d2c;if(i(u)){for(o=0;o<Math.min(u.length,s.length);o++)a=f(u[o],0,c),n(a)?(s[o].b=+a,s[o].hasB=1):s[o].b=0;for(;o<s.length;o++)s[o].b=0}else{a=f(u,0,c);var p=n(a);for(a=p?a:0,o=0;o<s.length;o++)s[o].b=a,p&&(s[o].hasB=1)}}}function d(e,t,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=new u([o],{unitMinDiff:n.xCat||n.yCat,sepNegVal:!1,overlapNoMerge:!n.norm});m(e,a,n),n.norm?(_(a),k(t,a,n)):A(t,a)}}function h(e,t,r,n,i){var o=new u(n,{sepNegVal:!1,overlapNoMerge:!i.norm});g(e,t,o,i),E(o),i.norm?(_(o),k(r,o,i)):A(r,o)}function v(e,t,r,n,i){var a=new u(n,{sepNegVal:"relative"===i.mode,overlapNoMerge:!(i.norm||"stack"===i.mode||"relative"===i.mode)});m(t,a,i),w(r,a,i);for(var s=0;s<n.length;s++)for(var l=n[s],c=0;c<l.length;c++){var f=l[c];if(f.s!==o){var p=f.b+f.s===a.get(f.p,f.s);p&&(f._outmost=!0)}}i.norm&&k(r,a,i)}function m(e,t,r){for(var n=t.minDiff,i=t.traces,o=n*(1-r.gap),a=o,s=a*(1-(r.groupgap||0)),l=-s/2,u=0;u<i.length;u++){var c=i[u],f=c[0].t;f.barwidth=s,f.poffset=l,f.bargroupwidth=o,f.bardelta=n}t.binWidth=i[0][0].t.barwidth/100,y(t),b(e,t),x(e,t)}function g(e,t,r,n){for(var i=e._fullLayout,o=r.positions,a=r.distinctPositions,s=r.minDiff,u=r.traces,c=u.length,f=o.length!==a.length,p=s*(1-n.gap),d=l(i,t._id)+u[0][0].trace.orientation,h=i._alignmentOpts[d]||{},v=0;v<c;v++){var m,g=u[v],A=g[0].trace,w=h[A.alignmentgroup]||{},_=Object.keys(w.offsetGroups||{}).length;m=_?p/_:f?p/c:p;var E,k=m*(1-(n.groupgap||0));E=_?((2*A._offsetIndex+1-_)*m-k)/2:f?((2*v+1-c)*m-k)/2:-k/2;var T=g[0].t;T.barwidth=k,T.poffset=E,T.bargroupwidth=p,T.bardelta=s}r.binWidth=u[0][0].t.barwidth/100,y(r),b(t,r),x(t,r,f)}function y(e){var t,r,o=e.traces;for(t=0;t<o.length;t++){var a,s=o[t],l=s[0],u=l.trace,c=l.t,f=u._offset||u.offset,p=c.poffset;if(i(f)){for(a=Array.prototype.slice.call(f,0,s.length),r=0;r<a.length;r++)n(a[r])||(a[r]=p);for(r=a.length;r<s.length;r++)a.push(p);c.poffset=a}else void 0!==f&&(c.poffset=f);var d=u._width||u.width,h=c.barwidth;if(i(d)){var v=Array.prototype.slice.call(d,0,s.length);for(r=0;r<v.length;r++)n(v[r])||(v[r]=h);for(r=v.length;r<s.length;r++)v.push(h);if(c.barwidth=v,void 0===f){for(a=[],r=0;r<s.length;r++)a.push(p+(h-v[r])/2);c.poffset=a}}else void 0!==d&&(c.barwidth=d,void 0===f&&(c.poffset=p+(h-d)/2))}}function b(e,t){for(var r=t.traces,n=C(e),i=0;i<r.length;i++)for(var o=r[i],a=o[0].t,s=a.poffset,l=Array.isArray(s),u=a.barwidth,c=Array.isArray(u),f=0;f<o.length;f++){var p=o[f],d=p.w=c?u[f]:u;p[n]=p.p+(l?s[f]:s)+d/2}}function x(e,t,r){var n=t.traces,i=t.minDiff,o=i/2;s.minDtick(e,t.minDiff,t.distinctPositions[0],r);for(var a=0;a<n.length;a++){var l,u,c,f,p=n[a],d=p[0],h=d.trace,v=[];for(f=0;f<p.length;f++)l=p[f],u=l.p-o,c=l.p+o,v.push(u,c);if(h.width||h.offset){var m=d.t,g=m.poffset,y=m.barwidth,b=Array.isArray(g),x=Array.isArray(y);for(f=0;f<p.length;f++){l=p[f];var A=b?g[f]:g,w=x?y[f]:y;u=l.p+A,c=u+w,v.push(u,c)}}h._extremes[e._id]=s.findExtremes(e,v,{padded:!1})}}function A(e,t){for(var r=t.traces,n=C(e),i=0;i<r.length;i++){for(var o=r[i],a=o[0].trace,l=[],u=!1,c=0;c<o.length;c++){var f=o[c],p=f.b,d=p+f.s;f[n]=d,l.push(d),f.hasB&&l.push(p),f.hasB&&f.b||(u=!0)}a._extremes[e._id]=s.findExtremes(e,l,{tozero:u,padded:!0})}}function w(e,t,r){var n,i,a,l,u,c,f=C(e),p=t.traces;for(l=0;l<p.length;l++)if(n=p[l],i=n[0].trace,"funnel"===i.type)for(u=0;u<n.length;u++)c=n[u],c.s!==o&&t.put(c.p,-.5*c.s);for(l=0;l<p.length;l++){n=p[l],i=n[0].trace,a="funnel"===i.type;var d=[];for(u=0;u<n.length;u++)if(c=n[u],c.s!==o){var h;h=a?c.s:c.s+c.b;var v=t.put(c.p,h),m=v+h;c.b=v,c[f]=m,r.norm||(d.push(m),c.hasB&&d.push(v))}r.norm||(i._extremes[e._id]=s.findExtremes(e,d,{tozero:!0,padded:!0}))}}function _(e){for(var t=e.traces,r=0;r<t.length;r++)for(var n=t[r],i=0;i<n.length;i++){var a=n[i];a.s!==o&&e.put(a.p,a.b+a.s)}}function E(e){for(var t=e.traces,r=0;r<t.length;r++){var n=t[r],i=n[0].trace;if(void 0===i.base)for(var a=new u([n],{sepNegVal:!0,overlapNoMerge:!0}),s=0;s<n.length;s++){var l=n[s];if(l.p!==o){var c=a.put(l.p,l.b+l.s);c&&(l.b=c)}}}}function k(e,t,r){var i=t.traces,a=C(e),l="fraction"===r.norm?1:100,u=l/1e9,c=e.l2c(e.c2l(0)),f="stack"===r.mode?l:c;function p(t){return n(e.c2l(t))&&(t<c-u||t>f+u||!n(c))}for(var d=0;d<i.length;d++){for(var h=i[d],v=h[0].trace,m=[],g=!1,y=!1,b=0;b<h.length;b++){var x=h[b];if(x.s!==o){var A=Math.abs(l/t.get(x.p,x.s));x.b*=A,x.s*=A;var w=x.b,_=w+x.s;x[a]=_,m.push(_),y=y||p(_),x.hasB&&(m.push(w),y=y||p(w)),x.hasB&&x.b||(g=!0)}}v._extremes[e._id]=s.findExtremes(e,m,{tozero:g,padded:y})}}function T(e,t){var r,i,o,a=C(t),s={},l=1/0,u=-1/0;for(r=0;r<e.length;r++)for(o=e[r],i=0;i<o.length;i++){var c=o[i].p;n(c)&&(l=Math.min(l,c),u=Math.max(u,c))}var f=1e4/(u-l),p=s.round=function(e){return String(Math.round(f*(e-l)))};for(r=0;r<e.length;r++){o=e[r],o[0].t.extents=s;var d=o[0].t.poffset,h=Array.isArray(d);for(i=0;i<o.length;i++){var v=o[i],m=v[a]-v.w/2;if(n(m)){var g=v[a]+v.w/2,y=p(v.p);s[y]?s[y]=[Math.min(m,s[y][0]),Math.max(g,s[y][1])]:s[y]=[m,g]}v.p0=v.p+(h?d[i]:d),v.p1=v.p0+v.w,v.s0=v.b,v.s1=v.s0+v.s}}}function C(e){return e._id.charAt(0)}e.exports={crossTraceCalc:c,setGroupPositions:f}},"0cfb":function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("cc12");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(e,t,r){(function(e){var n=r("2b3e"),i=r("07c7"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?n.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||i;e.exports=c}).call(this,r("62e4")(e))},"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("c430"),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"0d59":function(e,t,r){"use strict";e.exports={cellPad:8,columnExtentOffset:10,columnTitleOffset:28,emptyHeaderHeight:16,latexCheck:/^\$.*\$$/,goldenRatio:1.618,lineBreaker:"<br>",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},"0d82":function(e,t,r){"use strict";var n=r("57c7"),i=r("6eee"),o=function(e,t){var r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i(e,t),u=l.getBlockMap(),c=u.keySeq(),f=c.indexOf(r),p=c.indexOf(a)+1;return n(u.slice(f,p).map((function(e,t){var n=e.getText(),i=e.getCharacterList();return r===a?e.merge({text:n.slice(o,s),characterList:i.slice(o,s)}):t===r?e.merge({text:n.slice(o),characterList:i.slice(o)}):t===a?e.merge({text:n.slice(0,s),characterList:i.slice(0,s)}):e})))};e.exports=o},"0dd1":function(e,t,r){"use strict";var n=r("c01c"),i=r("d1bd");function o(e,t){var r=e.length;if(1===r){var o=n(e[0],t);return o[0]?o:[o[1]]}var a=new Array(2*r),s=[.1,.1],l=[.1,.1],u=0;n(e[0],t,s),s[0]&&(a[u++]=s[0]);for(var c=1;c<r;++c){n(e[c],t,l);var f=s[1];i(f,l[0],s),s[0]&&(a[u++]=s[0]);var p=l[1],d=s[1],h=p+d,v=h-p,m=d-v;s[1]=h,m&&(a[u++]=m)}return s[1]&&(a[u++]=s[1]),0===u&&(a[u++]=0),a.length=u,a}e.exports=o},"0dd7":function(e,t,r){"use strict";var n=r("9092").extendFlat,i=r("f4e9"),o=r("4852").scales,a="Note that `autocolorscale` must be true for this attribute to work.";e.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:o.Reds,role:"style",editType:"calc",description:["Sets the default sequential colorscale for positive values.",a].join(" ")},sequentialminus:{valType:"colorscale",dflt:o.Blues,role:"style",editType:"calc",description:["Sets the default sequential colorscale for negative values.",a].join(" ")},diverging:{valType:"colorscale",dflt:o.RdBu,role:"style",editType:"calc",description:["Sets the default diverging colorscale.",a].join(" ")}},coloraxis:n({_isSubplotObj:!0,editType:"calc",description:[""].join(" ")},i("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},"0de2":function(e,t,r){"use strict";var n=r("f372"),i=r("3310");function o(e){var t=n(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var r=i(e),o=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-o.clientWidth,s=e.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,a)),r.y=Math.max(0,Math.min(r.y,s)),r}e.exports=o},"0dfe":function(e,t,r){"use strict";var n=r("fb5a"),i=r("107c").line,o=r("a876"),a=r("94d5").hovertemplateAttrs,s=r("94d5").texttemplateAttrs,l=r("55eb"),u=r("9092").extendFlat,c=r("d115");function f(e){return{marker:{color:u({},n.marker.color,{arrayOk:!1,editType:"style",description:"Sets the marker color of all "+e+" values."}),line:{color:u({},n.marker.line.color,{arrayOk:!1,editType:"style",description:"Sets the line color of all "+e+" values."}),width:u({},n.marker.line.width,{arrayOk:!1,editType:"style",description:"Sets the line width of all "+e+" values."}),editType:"style"},editType:"style"},editType:"style"}}e.exports={measure:{valType:"data_array",dflt:[],role:"info",editType:"calc",description:["An array containing types of values.","By default the values are considered as 'relative'.","However; it is possible to use 'total' to compute the sums.","Also 'absolute' could be applied to reset the computed total","or to declare an initial value where needed."].join(" ")},base:{valType:"number",dflt:null,arrayOk:!1,role:"info",editType:"calc",description:["Sets where the bar base is drawn (in position axis units)."].join(" ")},x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,hovertext:n.hovertext,hovertemplate:a({},{keys:l.eventDataKeys}),hoverinfo:u({},o.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],role:"info",editType:"plot",arrayOk:!1,description:["Determines which trace information appear on the graph.","In the case of having multiple waterfalls, totals","are computed separately (per trace)."].join(" ")},texttemplate:s({editType:"plot"},{keys:l.eventDataKeys.concat(["label"])}),text:n.text,textposition:n.textposition,insidetextanchor:n.insidetextanchor,textangle:n.textangle,textfont:n.textfont,insidetextfont:n.insidetextfont,outsidetextfont:n.outsidetextfont,constraintext:n.constraintext,cliponaxis:n.cliponaxis,orientation:n.orientation,offset:n.offset,width:n.width,increasing:f("increasing"),decreasing:f("decreasing"),totals:f("intermediate sums and total"),connector:{line:{color:u({},i.color,{dflt:c.defaultLine}),width:u({},i.width,{editType:"plot"}),dash:i.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",role:"info",editType:"plot",description:["Sets the shape of connector lines."].join(" ")},visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if connector lines are drawn. "].join(" ")},editType:"plot"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup}},"0e9a":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"streamtube",basePlotModule:r("134c"),categories:["gl3d","showLegend"],attributes:r("be2a"),supplyDefaults:r("82d4"),colorbar:{min:"cmin",max:"cmax"},calc:r("e1e5").calc,plot:r("fc03"),eventData:function(e,t){return e.tubex=e.x,e.tubey=e.y,e.tubez=e.z,e.tubeu=t.traceCoordinate[3],e.tubev=t.traceCoordinate[4],e.tubew=t.traceCoordinate[5],e.norm=t.traceCoordinate[6],e.divergence=t.traceCoordinate[7],delete e.x,delete e.y,delete e.z,e},meta:{description:["Use a streamtube trace to visualize flow in a vector field.","","Specify a vector field using 6 1D arrays of equal length,","3 position arrays `x`, `y` and `z`","and 3 vector component arrays `u`, `v`, and `w`.","","By default, the tubes' starting positions will be cut from the vector field's","x-z plane at its minimum y value.","To specify your own starting position, use attributes `starts.x`, `starts.y`","and `starts.z`.","The color is encoded by the norm of (u, v, w), and the local radius","by the divergence of (u, v, w)."].join(" ")}}},"0eb7":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("107c"),a=r("de69"),s=r("de81"),l=r("076f"),u=r("5793"),c=r("6b78"),f=r("5047"),p=r("59be"),d=r("eb07"),h=r("e9f7"),v=r("3802");e.exports=function(e,t,r,m){function g(r,i){return n.coerce(e,t,o,r,i)}var y=l(e,t,m,g);if(y||(t.visible=!1),t.visible){u(e,t,m,g);var b=c(e,t,m,g),x=!b&&y<a.PTS_LINESONLY?"lines+markers":"lines";g("text"),g("hovertext"),g("mode",x),s.hasLines(t)&&(p(e,t,r,m,g),d(e,t,g),g("connectgaps"),g("line.simplify")),s.hasMarkers(t)&&f(e,t,r,m,g,{gradient:!0}),s.hasText(t)&&(g("texttemplate"),h(e,t,m,g));var A=[];(s.hasMarkers(t)||s.hasText(t))&&(g("cliponaxis"),g("marker.maxdisplayed"),A.push("points")),g("fill",b?b.fillDflt:"none"),"none"!==t.fill&&(v(e,t,r,g),s.hasLines(t)||d(e,t,g));var w=(t.line||{}).color,_=(t.marker||{}).color;"tonext"!==t.fill&&"toself"!==t.fill||A.push("fills"),g("hoveron",A.join("+")||"points"),"fills"!==t.hoveron&&g("hovertemplate");var E=i.getComponentMethod("errorbars","supplyDefaults");E(e,t,w||_||r,{axis:"y"}),E(e,t,w||_||r,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(t,g)}}},"0eb8":function(e,t,r){"use strict";e.exports=r("3ee9")},"0ed8":function(e,t,r){"use strict";var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=r("0895"),u=r("22af"),c=r("ab5b"),f=r("a6b3"),p=r("e97a"),d=r("7d90"),h=r("9a31"),v=r("6152"),m=r("a759"),g=r("0de2"),y=r("b4a5"),b=r("d8db"),x=r("38bc"),A=r("8164"),w=10,_=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=e.call.apply(e,[this].concat(n))||this,s(o(t),"_node",void 0),t}a(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||_(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var r=this._node;if(null!=r){var n,i=p.getScrollParent(r),o=g(i);if(i===window){var a=m(r),s=a.y+a.height,l=y().height;n=s-l,n>0&&window.scrollTo(o.x,o.y+n+w)}else{x(r)||b(!1);var u=r.offsetHeight+r.offsetTop,c=i.offsetTop+i.offsetHeight,d=c+o.y;n=u-d,n>0&&f.setTop(i,f.getTop(i)+n+w)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,r=t.getKey(),n=t.getText(),o=this.props.tree.size-1,a=_(this.props.selection,r);return this.props.tree.map((function(s,f){var p=s.get("leaves");if(0===p.size)return null;var v=p.size-1,m=p.map((function(i,s){var p=u.encode(r,f,s),d=i.get("start"),h=i.get("end");return c.createElement(l,{key:p,offsetKey:p,block:t,start:d,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:n.slice(d,h),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:f===o&&s===v})})).toArray(),g=s.get("decoratorKey");if(null==g)return m;if(!e.props.decorator)return m;var y=A(e.props.decorator),b=y.getComponentForKey(g);if(!b)return m;var x=y.getPropsForKey(g),w=u.encode(r,f,0),_=p.first().get("start"),E=p.last().get("end"),k=n.slice(_,E),T=t.getEntityAt(s.get("start")),C=h.getHTMLDirIfDifferent(d.getDirection(k),e.props.direction),S={contentState:e.props.contentState,decoratedText:k,dir:C,start:_,end:E,blockKey:r,entityKey:T,offsetKey:w};return c.createElement(b,i({},x,S,{key:w}),m)})).toArray()},r.render=function(){var e=this,t=this.props,r=t.direction,n=t.offsetKey,i=v({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return c.createElement("div",{"data-offset-key":n,className:i,ref:function(t){return e._node=t}},this._renderChildren())},t}(c.Component);e.exports=E},"0edd":function(e,t,r){"use strict";var n=r("a18f"),i=r("13c3"),o=r("53a5");e.exports=function(e){var t,r=n(e);return r.space?(t=Array(3),t[0]=o(r.values[0],0,255),t[1]=o(r.values[1],0,255),t[2]=o(r.values[2],0,255),"h"===r.space[0]&&(t=i.rgb(t)),t.push(o(r.alpha,0,1)),t):[]}},"0f0f":function(e,t,r){var n=r("8eeb"),i=r("9934");function o(e,t){return e&&n(t,i(t),e)}e.exports=o},"0f2e":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"}))};e.exports=s},"0f32":function(e,t,r){var n=r("b047c"),i=r("1a8c"),o="Expected a function";function a(e,t,r){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(o);return i(r)&&(a="leading"in r?!!r.leading:a,s="trailing"in r?!!r.trailing:s),n(e,t,{leading:a,maxWait:t,trailing:s})}e.exports=a},"0f37":function(e,t,r){"use strict";e.exports=function(e,t){(e.attr("class")||"").split(" ").forEach((function(t){0===t.indexOf("cursor-")&&e.classed(t,!1)})),t&&e.classed("cursor-"+t,!0)}},"0f3e":function(e,t,r){"use strict";e.exports=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}},"0fba":function(e,t,r){"use strict";var n=r("8e3f");function i(e){return e.cmp(new n(0))}e.exports=i},"100e":function(e,t,r){var n=r("cd9d"),i=r("2286"),o=r("c1c9");function a(e,t){return o(i(e,t,n),e+"")}e.exports=a},1039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("path",{fill:"#119dff",d:"M13 18.66h6.27v29.33H13z"}),o.default.createElement("path",{fill:"#09ffff",d:"M20.59 18.67h5.65v7.23h-5.65zM34.36 11.83h5.42v24.11h-5.42z"}),o.default.createElement("path",{fill:"#119dff",d:"M27.4 25.9h5.45v10.05H27.4zM40.95 11.83h6.19V48h-6.19z"}),o.default.createElement("path",{fill:"none",stroke:"#119dff",d:"M13 18.53h13.31M27.47 35.65h12.32M34.41 12.06h12.73M20.52 25.61h12.32",strokeMiterlimit:"10",strokeWidth:".75"}))};t.default=u},1041:function(e,t,r){var n=r("8eeb"),i=r("a029");function o(e,t){return n(e,i(e),t)}e.exports=o},1063:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("path",{fill:"#119dff",d:"M18.2 35.4l-5.6-10.8h34.8l-5.7 10.8H18.2z"}),o.default.createElement("path",{fill:"#0083d3",d:"M24.2 48l-5.5-10.8h22.6L35.8 48H24.2z"}),o.default.createElement("path",{fill:"#09ffff",d:"M12.2 22.8L6.5 12h47l-5.6 10.8H12.2z"}))};t.default=u},"106b":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.texttemplate,e,"txt"),n.mergeArray(t.hovertext,e,"htx"),n.mergeArray(t.customdata,e,"data"),n.mergeArray(t.textposition,e,"tp"),t.textfont&&(n.mergeArrayCastPositive(t.textfont.size,e,"ts"),n.mergeArray(t.textfont.color,e,"tc"),n.mergeArray(t.textfont.family,e,"tf"));var i=t.marker;if(i){n.mergeArrayCastPositive(i.size,e,"ms"),n.mergeArrayCastPositive(i.opacity,e,"mo"),n.mergeArray(i.symbol,e,"mx"),n.mergeArray(i.color,e,"mc");var o=i.line;i.line&&(n.mergeArray(o.color,e,"mlc"),n.mergeArrayCastPositive(o.width,e,"mlw"));var a=i.gradient;a&&"none"!==a.type&&(n.mergeArray(a.type,e,"mgt"),n.mergeArray(a.color,e,"mgc"))}}},"107c":function(e,t,r){"use strict";var n=r("94d5").texttemplateAttrs,i=r("94d5").hovertemplateAttrs,o=r("f4e9"),a=r("9845"),s=r("db54").dash,l=r("83d1"),u=r("de69"),c=r("9092").extendFlat;function f(e){return{valType:"any",dflt:0,role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the period positioning in milliseconds or *M<n>* on the "+e+" axis.","Special values in the form of *M<n>* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function p(e){return{valType:"any",role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function d(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",role:"style",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:f("x"),yperiod:f("y"),xperiod0:p("x0"),yperiod0:p("y0"),xperiodalignment:d("x"),yperiodalignment:d("y"),stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:n({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+u.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:i({},{keys:u.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:c({},s,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:c({symbol:{valType:"enumerated",values:l.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:c({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},o("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},o("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:a({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}},1085:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("c400").getTopojsonFeatures,a=r("2169"),s=r("0919"),l=r("ce56").findExtremes,u=r("e806").BADNUM,c=r("70b4").calcMarkerSize,f=r("de81"),p=r("cebf");function d(e,t,r){var o=t.layers.frontplot.select(".scatterlayer"),s=i.makeTraceGroups(o,r,"trace scattergeo");function l(e,t){e.lonlat[0]===u&&n.select(t).remove()}s.selectAll("*").remove(),s.each((function(t){var r=n.select(this),o=t[0].trace;if(f.hasLines(o)||"none"!==o.fill){var s=a.calcTraceToLineCoords(t),u="none"!==o.fill?a.makePolygon(s):a.makeLine(s);r.selectAll("path.js-line").data([{geojson:u,trace:o}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}f.hasMarkers(o)&&r.selectAll("path.point").data(i.identity).enter().append("path").classed("point",!0).each((function(e){l(e,this)})),f.hasText(o)&&r.selectAll("g").data(i.identity).enter().append("g").append("text").each((function(e){l(e,this)})),p(e,t)}))}function h(e,t){var r,n,i=e[0].trace,a=t[i.geo],f=a._subplot,p=i._length;if(Array.isArray(i.locations)){var d=i.locationmode,h="geojson-id"===d?s.extractTraceFeature(e):o(i,f.topojson);for(r=0;r<p;r++){n=e[r];var v="geojson-id"===d?n.fOut:s.locationToFeature(d,n.loc,h);n.lonlat=v?v.properties.ct:[u,u]}}var m,g,y={padded:!0};if("geojson"===a.fitbounds&&"geojson-id"===i.locationmode){var b=s.computeBbox(s.getTraceGeojson(i));m=[b[0],b[2]],g=[b[1],b[3]]}else{for(m=new Array(p),g=new Array(p),r=0;r<p;r++)n=e[r],m[r]=n.lonlat[0],g[r]=n.lonlat[1];y.ppad=c(i,p)}i._extremes.lon=l(a.lonaxis._ax,m,y),i._extremes.lat=l(a.lataxis._ax,g,y)}e.exports={calcGeoJSON:h,plot:d}},"10b8":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("e806").BADNUM,a=r("2169"),s=r("c258"),l=r("83d1"),u=r("1978"),c=r("de81"),f=r("d0b7"),p=r("c4c7").appendArrayPointValue,d=r("0379").NEWLINES,h=r("0379").BR_TAG_ALL;function v(){return{geojson:a.makeBlank(),layout:{visibility:"none"},paint:{}}}function m(e){var t,r,o,a,c=e[0].trace,f=c.marker,p=c.selectedpoints,d=i.isArrayOrTypedArray(f.color),h=i.isArrayOrTypedArray(f.size),v=i.isArrayOrTypedArray(f.opacity);function m(e){return c.opacity*e}function g(e){return e/2}d&&(r=s.hasColorscale(c,"marker")?s.makeColorScaleFuncFromTrace(f):i.identity),h&&(o=u(c)),v&&(a=function(e){var t=n(e)?+i.constrain(e,0,1):0;return m(t)});var y,b=[];for(t=0;t<e.length;t++){var A=e[t],w=A.lonlat;if(!x(w)){var _={};r&&(_.mcc=A.mcc=r(A.mc)),o&&(_.mrc=A.mrc=o(A.ms)),a&&(_.mo=a(A.mo)),p&&(_.selected=A.selected||0),b.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:_})}}if(p)for(y=l.makeSelectedPointStyleFns(c),t=0;t<b.length;t++){var E=b[t].properties;y.selectedOpacityFn&&(E.mo=m(y.selectedOpacityFn(E))),y.selectedColorFn&&(E.mcc=y.selectedColorFn(E)),y.selectedSizeFn&&(E.mrc=y.selectedSizeFn(E))}return{geojson:{type:"FeatureCollection",features:b},mcc:d||y&&y.selectedColorFn?{type:"identity",property:"mcc"}:f.color,mrc:h||y&&y.selectedSizeFn?{type:"identity",property:"mrc"}:g(f.size),mo:v||y&&y.selectedOpacityFn?{type:"identity",property:"mo"}:m(f.opacity)}}function g(e,t){for(var r=t._fullLayout,n=e[0].trace,o=n.marker||{},a=o.symbol,s=o.angle,l="circle"!==a?y(a):b,u="auto"!==s?y(s,!0):b,f=c.hasText(n)?y(n.text):b,v=[],m=0;m<e.length;m++){var g=e[m];if(!x(g.lonlat)){var A,w=n.texttemplate;if(w){var _=Array.isArray(w)?w[m]||"":w,E=n._module.formatLabels(g,n,r),k={};p(k,n,g.i);var T=n._meta||{};A=i.texttemplateString(_,E,r._d3locale,k,g,T)}else A=f(m);A&&(A=A.replace(d,"").replace(h,"\n")),v.push({type:"Feature",geometry:{type:"Point",coordinates:g.lonlat},properties:{symbol:l(m),angle:u(m),text:A}})}}return{type:"FeatureCollection",features:v}}function y(e,t){return i.isArrayOrTypedArray(e)?t?function(t){return n(e[t])?+e[t]:0}:function(t){return e[t]}:e?function(){return e}:b}function b(){return""}function x(e){return e[0]===o}e.exports=function(e,t){var r,n=t[0].trace,o=!0===n.visible&&0!==n._length,s="none"!==n.fill,l=c.hasLines(n),u=c.hasMarkers(n),p=c.hasText(n),d=u&&"circle"===n.marker.symbol,h=u&&"circle"!==n.marker.symbol,y=v(),b=v(),x=v(),A=v(),w={fill:y,line:b,circle:x,symbol:A};if(!o)return w;if((s||l)&&(r=a.calcTraceToLineCoords(t)),s&&(y.geojson=a.makePolygon(r),y.layout.visibility="visible",i.extendFlat(y.paint,{"fill-color":n.fillcolor})),l&&(b.geojson=a.makeLine(r),b.layout.visibility="visible",i.extendFlat(b.paint,{"line-width":n.line.width,"line-color":n.line.color,"line-opacity":n.opacity})),d){var _=m(t);x.geojson=_.geojson,x.layout.visibility="visible",i.extendFlat(x.paint,{"circle-color":_.mcc,"circle-radius":_.mrc,"circle-opacity":_.mo})}if((h||p)&&(A.geojson=g(t,e),i.extendFlat(A.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),h&&(i.extendFlat(A.layout,{"icon-size":n.marker.size/10}),"angle"in n.marker&&"auto"!==n.marker.angle&&i.extendFlat(A.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),A.layout["icon-allow-overlap"]=n.marker.allowoverlap,i.extendFlat(A.paint,{"icon-opacity":n.opacity*n.marker.opacity,"icon-color":n.marker.color})),p)){var E=(n.marker||{}).size,k=f(n.textposition,E);i.extendFlat(A.layout,{"text-size":n.textfont.size,"text-anchor":k.anchor,"text-offset":k.offset}),i.extendFlat(A.paint,{"text-color":n.textfont.color,"text-opacity":n.opacity})}return w}},"110c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M9 4.063h22.25c.375.125.625.563.438.938-2.5 7.313-5 14.625-7.563 21.938-.125.5-.563.875-1.063 1H.812c-.438-.063-.688-.563-.5-.938 2.5-7.313 5.063-14.625 7.563-21.938.125-.5.625-.875 1.125-1m.375 1.875a83.164 83.164 0 0 1-1.25 3.625h3.688c.438-1.188.813-2.438 1.25-3.625H9.375m5.5 0a83.164 83.164 0 0 1-1.25 3.625c1.25 0 2.438.063 3.688 0a83.164 83.164 0 0 1 1.25-3.625h-3.688m5.5 0a83.164 83.164 0 0 1-1.25 3.625h3.688a83.164 83.164 0 0 1 1.25-3.625h-3.688m5.5 0a83.164 83.164 0 0 1-1.25 3.625h3.563c.125.063.125-.063.188-.188.375-1.125.813-2.313 1.188-3.438h-3.688M7.5 11.438c-.438 1.188-.813 2.438-1.25 3.625h3.688a83.164 83.164 0 0 1 1.25-3.625H7.5m4.25 3.625h3.625c.438-1.188.875-2.438 1.313-3.625H13c-.438 1.188-.813 2.438-1.25 3.625m6.75-3.625c-.438 1.188-.813 2.438-1.25 3.625h3.625c.438-1.188.875-2.438 1.313-3.625H18.5m5.5 0a82.752 82.752 0 0 0-1.25 3.625h3.625c.438-1.188.875-2.438 1.313-3.625H24M4.375 20.563H8a82.752 82.752 0 0 0 1.25-3.625H5.625a82.752 82.752 0 0 0-1.25 3.625m6.75-3.625a82.752 82.752 0 0 0-1.25 3.625H13.5a82.752 82.752 0 0 0 1.25-3.625h-3.625m5.5 0a82.752 82.752 0 0 0-1.25 3.625H19a82.752 82.752 0 0 0 1.25-3.625h-3.625m5.5 0a82.752 82.752 0 0 0-1.25 3.625H24.5a82.752 82.752 0 0 0 1.25-3.625h-3.625m-18.375 5.5c-.438 1.188-.875 2.438-1.313 3.625h3.688c.438-1.188.813-2.438 1.25-3.625-1.188 0-2.438-.063-3.625 0m5.438 0a83.164 83.164 0 0 1-1.25 3.625h3.688c.438-1.188.813-2.438 1.25-3.625-1.188 0-2.438-.063-3.688 0m5.5 0a83.164 83.164 0 0 1-1.25 3.625h3.688c.438-1.188.813-2.438 1.25-3.625-1.25 0-2.438-.063-3.688 0m5.5.125c-.438 1.188-.813 2.313-1.25 3.5h3.688a82.752 82.752 0 0 0 1.25-3.625h-3.625c-.063-.063-.063.063-.063.125z"}))};t.default=u},1126:function(e,t,r){"use strict";e.exports=function(e){return!!e&&("symbol"===typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},"113d":function(e,t,r){"use strict";var n=r("8bd8"),i=r("f4e9"),o=r("94d5").hovertemplateAttrs,a=r("a876"),s=r("9092").extendFlat;e.exports=s({locations:{valType:"data_array",editType:"calc",description:["Sets which features found in *geojson* to plot using","their feature `id` field."].join(" ")},z:{valType:"data_array",editType:"calc",description:"Sets the color values."},geojson:{valType:"any",role:"info",editType:"calc",description:["Sets the GeoJSON data associated with this trace.","It can be set as a valid GeoJSON object or as a URL string.","Note that we only accept GeoJSONs of type *FeatureCollection* or *Feature*","with geometries of type *Polygon* or *MultiPolygon*."].join(" ")},featureidkey:s({},n.featureidkey,{description:["Sets the key in GeoJSON features which is used as id to match the items","included in the `locations` array.","Support nested property, for example *properties.name*."].join(" ")}),below:{valType:"string",role:"info",editType:"plot",description:["Determines if the choropleth polygons will be inserted","before the layer with the specified ID.","By default, choroplethmapbox traces are placed above the water layers.","If set to '',","the layer will be inserted above every existing layer."].join(" ")},text:n.text,hovertext:n.hovertext,marker:{line:{color:s({},n.marker.line.color,{editType:"plot"}),width:s({},n.marker.line.width,{editType:"plot"}),editType:"calc"},opacity:s({},n.marker.opacity,{editType:"plot"}),editType:"calc"},selected:{marker:{opacity:s({},n.selected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},unselected:{marker:{opacity:s({},n.unselected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},hoverinfo:n.hoverinfo,hovertemplate:o({},{keys:["properties"]}),showlegend:s({},a.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},1148:function(e,t,r){"use strict";var n=r("a691"),i=r("1d80");e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},1155:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.375 16a8.377 8.377 0 0 0-1.063-4.063c-.75-1.188-1.75-2.125-2.938-2.875-1.313-.688-2.625-1.063-4-1.063-1.813 0-3.438.563-4.875 1.625a8.428 8.428 0 0 1 2.563 4.188h-.75a7.712 7.712 0 0 0-2.313-3.75 7.717 7.717 0 0 0-2.313 3.75h-.75c.438-1.625 1.25-3 2.563-4.188-1.438-1.063-3.063-1.625-4.875-1.625-1.375 0-2.688.375-4 1.063-1.188.75-2.188 1.688-2.938 2.875-.688 1.25-1.063 2.625-1.063 4.063s.375 2.813 1.063 4.063c.75 1.188 1.75 2.125 2.938 2.875 1.313.688 2.625 1.063 4 1.063 1.813 0 3.438-.563 4.875-1.625-1.188-1.063-2-2.313-2.5-3.875h.75a7.872 7.872 0 0 0 2.25 3.438 7.854 7.854 0 0 0 2.25-3.438h.75c-.5 1.563-1.313 2.813-2.5 3.875 1.438 1.063 3.063 1.625 4.875 1.625 1.375 0 2.688-.375 4-1.063 1.188-.75 2.188-1.688 2.938-2.875A8.377 8.377 0 0 0 29.375 16zm-23.25-1.937h1.25l-.625 3.875h-.813l.5-2.938-1.063 2.938h-.625V15l-.5 2.938h-.813l.688-3.875h1.188v2.375zm3.75 1.625c0 .188-.063.375-.063.563-.063.313-.125.625-.188.875 0 .25-.063.438-.125.625v.188h-.625v-.375c-.188.313-.5.438-.875.438-.25 0-.375-.063-.5-.188-.188-.188-.25-.438-.25-.688 0-.375.125-.688.375-.875a2.157 2.157 0 0 1 1.125-.313h.313v-.188c0-.188-.188-.25-.563-.25-.188 0-.5 0-.813.125 0-.188.063-.438.125-.688.313-.125.625-.188.938-.188.75 0 1.125.313 1.125.938zm-.937.812H8.75c-.438 0-.688.188-.688.5 0 .188.063.313.25.313s.313-.063.438-.188.188-.313.188-.625zm3.25-1.687l-.125.75c-.188-.063-.375-.063-.625-.063s-.375.063-.375.25c0 .063 0 .125.063.188l.25.125c.375.25.563.5.563.875 0 .688-.375 1.063-1.25 1.063-.375 0-.688-.063-.813-.063 0-.188.063-.438.125-.75.313.063.563.125.688.125.313 0 .5-.063.5-.25 0-.063-.063-.188-.063-.188-.125-.125-.188-.188-.375-.188-.375-.188-.563-.5-.563-.875 0-.688.375-1.063 1.188-1.063.375 0 .688 0 .813.063zm1.25 0h.375l-.063.813h-.438c0 .188-.063.375-.063.563 0 .063-.063.125-.063.25 0 .188-.063.25-.125.313v.25c0 .188.125.25.313.25.063 0 .125 0 .25-.063l-.125.75c-.125 0-.313.063-.625.063-.438 0-.625-.25-.625-.688 0-.25 0-.563.125-.875l.313-2.063h.813zm2.937 1.062c0 .313 0 .563-.063.813h-1.625c0 .188.063.375.125.438.125.125.313.188.563.188.313 0 .563-.063.875-.25l-.125.813c-.188.063-.5.125-.875.125-.875 0-1.375-.5-1.375-1.375 0-.625.125-1.063.438-1.375.25-.313.563-.5.938-.5s.688.125.875.313c.188.188.25.438.25.813zM14.75 16h.938v-.188l-.063-.125c0-.063-.063-.125-.063-.125-.063 0-.125-.063-.188-.063h-.125c-.25 0-.438.125-.5.5zm3.688-1.187c-.063.063-.125.375-.313.938-.188-.063-.313.063-.5.313-.125.5-.188 1.125-.313 1.875h-.875l.063-.188c.188-1.25.313-2.25.438-2.938h.813l-.125.438c.188-.188.313-.313.438-.375.125-.125.25-.125.375-.063zm2.812-.625l-.188.813c-.25-.125-.5-.188-.688-.188-.375 0-.625.125-.813.375s-.25.563-.25 1.063c0 .313.063.563.188.688.125.188.313.25.563.25.188 0 .438-.063.688-.188l-.125.875a2.322 2.322 0 0 1-.75.125c-.438 0-.75-.188-1.063-.5-.25-.25-.375-.625-.375-1.188 0-.625.188-1.188.563-1.625.313-.438.75-.688 1.313-.688.188 0 .5.063.938.188zm2.375 1.5s-.063.125-.063.25v.313c-.063.25-.125.563-.188.938 0 .375-.063.625-.125.75h-.625v-.375c-.188.313-.5.438-.875.438-.25 0-.375-.063-.5-.188-.188-.188-.25-.438-.25-.688 0-.375.125-.688.375-.875.313-.188.625-.313 1.063-.313h.313c.063-.063.063-.125.063-.188 0-.188-.188-.25-.5-.25-.25 0-.563 0-.875.125 0-.188 0-.438.125-.688.375-.125.625-.188.938-.188.75 0 1.125.313 1.125.938zm-.937.812H22.5c-.438 0-.688.188-.688.5 0 .188.125.313.25.313.188 0 .313-.063.438-.188s.188-.313.188-.625zm2.937-1.687c-.125.188-.25.5-.313.938-.188-.063-.313.063-.438.313s-.188.875-.375 1.875h-.813l.063-.188c.188-1 .313-2 .375-2.938h.813c0 .188-.063.313-.063.438.125-.188.25-.313.375-.375.188-.063.313-.125.375-.063zm2.063-.75h.875l-.688 3.875h-.75l.063-.313a.892.892 0 0 1-.75.375c-.375 0-.563-.125-.688-.375a1.235 1.235 0 0 1-.375-.875c0-.625.188-1.063.5-1.438.188-.313.5-.5.875-.5.313 0 .563.125.813.375zm-.313 2.062c0-.375-.188-.563-.438-.563a.515.515 0 0 0-.5.313c-.063.125-.125.375-.125.75s.125.563.375.563c.188 0 .375-.063.5-.25s.188-.438.188-.813z"}))};t.default=u},1157:function(e,t,r){var n,i;
|
||
/*!
|
||
* jQuery JavaScript Library v3.6.0
|
||
* https://jquery.com/
|
||
*
|
||
* Includes Sizzle.js
|
||
* https://sizzlejs.com/
|
||
*
|
||
* Copyright OpenJS Foundation and other contributors
|
||
* Released under the MIT license
|
||
* https://jquery.org/license
|
||
*
|
||
* Date: 2021-03-02T17:08Z
|
||
*/(function(t,r){"use strict";"object"===typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)})("undefined"!==typeof window?window:this,(function(r,o){"use strict";var a=[],s=Object.getPrototypeOf,l=a.slice,u=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},c=a.push,f=a.indexOf,p={},d=p.toString,h=p.hasOwnProperty,v=h.toString,m=v.call(Object),g={},y=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},b=function(e){return null!=e&&e===e.window},x=r.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,r){r=r||x;var n,i,o=r.createElement("script");if(o.text=e,t)for(n in A)i=t[n]||t.getAttribute&&t.getAttribute(n),i&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?p[d.call(e)]||"object":typeof e}var E="3.6.0",k=function(e,t){return new k.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,r=_(e);return!y(e)&&!b(e)&&("array"===r||0===t||"number"===typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:E,constructor:k,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:a.sort,splice:a.splice},k.extend=k.fn.extend=function(){var e,t,r,n,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"===typeof a&&(u=a,a=arguments[s]||{},s++),"object"===typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(u&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[t],o=i&&!Array.isArray(r)?[]:i||k.isPlainObject(r)?r:{},i=!1,a[t]=k.extend(u,o,n)):void 0!==n&&(a[t]=n));return a},k.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==d.call(e))&&(t=s(e),!t||(r=h.call(t,"constructor")&&t.constructor,"function"===typeof r&&v.call(r)===m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){w(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(T(e)){for(r=e.length;n<r;n++)if(!1===t.call(e[n],n,e[n]))break}else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var r=t||[];return null!=e&&(T(Object(e))?k.merge(r,"string"===typeof e?[e]:e):c.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:f.call(t,e,r)},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n,i=[],o=0,a=e.length,s=!r;o<a;o++)n=!t(e[o],o),n!==s&&i.push(e[o]);return i},map:function(e,t,r){var n,i,o=0,a=[];if(T(e))for(n=e.length;o<n;o++)i=t(e[o],o,r),null!=i&&a.push(i);else for(o in e)i=t(e[o],o,r),null!=i&&a.push(i);return u(a)},guid:1,support:g}),"function"===typeof Symbol&&(k.fn[Symbol.iterator]=a[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var C=
|
||
/*!
|
||
* Sizzle CSS Selector Engine v2.3.6
|
||
* https://sizzlejs.com/
|
||
*
|
||
* Copyright JS Foundation and other contributors
|
||
* Released under the MIT license
|
||
* https://js.foundation/
|
||
*
|
||
* Date: 2021-02-16
|
||
*/
|
||
function(e){var t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x="sizzle"+1*new Date,A=e.document,w=0,_=0,E=le(),k=le(),T=le(),C=le(),S=function(e,t){return e===t&&(f=!0),0},O={}.hasOwnProperty,M=[],P=M.pop,B=M.push,L=M.push,D=M.slice,I=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",z=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",U=new RegExp(R+"+","g"),H=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),V=new RegExp("^"+R+"*,"+R+"*"),Q=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),W=new RegExp(R+"|>"),K=new RegExp(z),q=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(M=D.call(A.childNodes),A.childNodes),M[A.childNodes.length].nodeType}catch(Ce){L={apply:M.length?function(e,t){B.apply(e,D.call(t))}:function(e,t){var r=e.length,n=0;while(e[r++]=t[n++]);e.length=r-1}}}function se(e,t,n,i){var o,s,u,c,f,h,g,y=t&&t.ownerDocument,A=t?t.nodeType:9;if(n=n||[],"string"!==typeof e||!e||1!==A&&9!==A&&11!==A)return n;if(!i&&(p(t),t=t||d,v)){if(11!==A&&(f=J.exec(e)))if(o=f[1]){if(9===A){if(!(u=t.getElementById(o)))return n;if(u.id===o)return n.push(u),n}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return n.push(u),n}else{if(f[2])return L.apply(n,t.getElementsByTagName(e)),n;if((o=f[3])&&r.getElementsByClassName&&t.getElementsByClassName)return L.apply(n,t.getElementsByClassName(o)),n}if(r.qsa&&!C[e+" "]&&(!m||!m.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===A&&(W.test(e)||Q.test(e))){y=ee.test(e)&&ge(t.parentNode)||t,y===t&&r.scope||((c=t.getAttribute("id"))?c=c.replace(ne,ie):t.setAttribute("id",c=x)),h=a(e),s=h.length;while(s--)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);g=h.join(",")}try{return L.apply(n,y.querySelectorAll(g)),n}catch(w){C(e,!0)}finally{c===x&&t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,n,i)}function le(){var e=[];function t(r,i){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=i}return t}function ue(e){return e[x]=!0,e}function ce(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(Ce){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var r=e.split("|"),i=r.length;while(i--)n.attrHandle[r[i]]=t}function pe(e,t){var r=t&&e,n=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(r)while(r=r.nextSibling)if(r===t)return-1;return e?1:-1}function de(e){return function(t){var r=t.nodeName.toLowerCase();return"input"===r&&t.type===e}}function he(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function ve(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ue((function(t){return t=+t,ue((function(r,n){var i,o=e([],r.length,t),a=o.length;while(a--)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))}))}))}function ge(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in r=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!$.test(t||r&&r.nodeName||"HTML")},p=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:A;return a!=d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,v=!o(d),A!=d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),r.scope=ce((function(e){return h.appendChild(e).appendChild(d.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),r.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),r.getElementsByTagName=ce((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),r.getElementsByClassName=Z.test(d.getElementsByClassName),r.getById=ce((function(e){return h.appendChild(e).id=x,!d.getElementsByName||!d.getElementsByName(x).length})),r.getById?(n.filter["ID"]=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}},n.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&v){var r=t.getElementById(e);return r?[r]:[]}}):(n.filter["ID"]=function(e){var t=e.replace(te,re);return function(e){var r="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},n.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&v){var r,n,i,o=t.getElementById(e);if(o){if(r=o.getAttributeNode("id"),r&&r.value===e)return[o];i=t.getElementsByName(e),n=0;while(o=i[n++])if(r=o.getAttributeNode("id"),r&&r.value===e)return[o]}return[]}}),n.find["TAG"]=r.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(r=o[i++])1===r.nodeType&&n.push(r);return n}return o},n.find["CLASS"]=r.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],m=[],(r.qsa=Z.test(d.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),t=d.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(r.matchesSelector=Z.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){r.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",z)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(h.compareDocumentPosition),b=t||Z.test(h.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!r.sortDetached&&t.compareDocumentPosition(e)===n?e==d||e.ownerDocument==A&&b(A,e)?-1:t==d||t.ownerDocument==A&&b(A,t)?1:c?I(c,e)-I(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return f=!0,0;var r,n=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==d?-1:t==d?1:i?-1:o?1:c?I(c,e)-I(c,t):0;if(i===o)return pe(e,t);r=e;while(r=r.parentNode)a.unshift(r);r=t;while(r=r.parentNode)s.unshift(r);while(a[n]===s[n])n++;return n?pe(a[n],s[n]):a[n]==A?-1:s[n]==A?1:0},d):d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),r.matchesSelector&&v&&!C[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ce){C(t,!0)}return se(t,d,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=d&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=d&&p(e);var i=n.attrHandle[t.toLowerCase()],o=i&&O.call(n.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:r.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ne,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],i=0,o=0;if(f=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(S),f){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return c=null,e},i=se.getText=function(e){var t,r="",n=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[n++])r+=i(t);return r},n=se.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return G["CHILD"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&K.test(r)&&(t=a(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&E(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var i=se.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(U," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,l){var u,c,f,p,d,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){while(v){p=t;while(p=p[v])if(s?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){p=m,f=p[x]||(p[x]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),u=c[e]||[],d=u[0]===w&&u[1],b=d&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[v]||(b=d=0)||h.pop())if(1===p.nodeType&&++b&&p===t){c[e]=[w,d,b];break}}else if(y&&(p=t,f=p[x]||(p[x]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),u=c[e]||[],d=u[0]===w&&u[1],b=d),!1===b)while(p=++d&&p&&p[v]||(b=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===g:1===p.nodeType)&&++b&&(y&&(f=p[x]||(p[x]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[e]=[w,b]),p===t))break;return b-=i,b===n||b%n===0&&b/n>=0}}},PSEUDO:function(e,t){var r,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,r){var n,o=i(e,t),a=o.length;while(a--)n=I(e,o[a]),e[n]=!(r[n]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:ue((function(e){var t=[],r=[],n=s(e.replace(H,"$1"));return n[x]?ue((function(e,t,r,i){var o,a=n(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,n(t,null,o,r),t[0]=null,!r.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,re),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ue((function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var r;do{if(r=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return r=r.toLowerCase(),r===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos["empty"](e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,r){return[r<0?r+t:r]})),even:me((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:me((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:me((function(e,t,r){for(var n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e})),gt:me((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}},n.pseudos["nth"]=n.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function xe(e,t,r){var n=t.dir,i=t.next,o=i||n,a=r&&"parentNode"===o,s=_++;return t.first?function(t,r,i){while(t=t[n])if(1===t.nodeType||a)return e(t,r,i);return!1}:function(t,r,l){var u,c,f,p=[w,s];if(l){while(t=t[n])if((1===t.nodeType||a)&&e(t,r,l))return!0}else while(t=t[n])if(1===t.nodeType||a)if(f=t[x]||(t[x]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[n]||t;else{if((u=c[o])&&u[0]===w&&u[1]===s)return p[2]=u[2];if(c[o]=p,p[2]=e(t,r,l))return!0}return!1}}function Ae(e){return e.length>1?function(t,r,n){var i=e.length;while(i--)if(!e[i](t,r,n))return!1;return!0}:e[0]}function we(e,t,r){for(var n=0,i=t.length;n<i;n++)se(e,t[n],r);return r}function _e(e,t,r,n,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(r&&!r(o,n,i)||(a.push(o),u&&t.push(s)));return a}function Ee(e,t,r,n,i,o){return n&&!n[x]&&(n=Ee(n)),i&&!i[x]&&(i=Ee(i,o)),ue((function(o,a,s,l){var u,c,f,p=[],d=[],h=a.length,v=o||we(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?v:_e(v,p,e,s,l),g=r?i||(o?e:h||n)?[]:a:m;if(r&&r(m,g,s,l),n){u=_e(g,d),n(u,[],s,l),c=u.length;while(c--)(f=u[c])&&(g[d[c]]=!(m[d[c]]=f))}if(o){if(i||e){if(i){u=[],c=g.length;while(c--)(f=g[c])&&u.push(m[c]=f);i(null,g=[],u,l)}c=g.length;while(c--)(f=g[c])&&(u=i?I(o,f):p[c])>-1&&(o[u]=!(a[u]=f))}}else g=_e(g===a?g.splice(h,g.length):g),i?i(null,a,g,l):L.apply(a,g)}))}function ke(e){for(var t,r,i,o=e.length,a=n.relative[e[0].type],s=a||n.relative[" "],l=a?1:0,c=xe((function(e){return e===t}),s,!0),f=xe((function(e){return I(t,e)>-1}),s,!0),p=[function(e,r,n){var i=!a&&(n||r!==u)||((t=r).nodeType?c(e,r,n):f(e,r,n));return t=null,i}];l<o;l++)if(r=n.relative[e[l].type])p=[xe(Ae(p),r)];else{if(r=n.filter[e[l].type].apply(null,e[l].matches),r[x]){for(i=++l;i<o;i++)if(n.relative[e[i].type])break;return Ee(l>1&&Ae(p),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),r,l<i&&ke(e.slice(l,i)),i<o&&ke(e=e.slice(i)),i<o&&be(e))}p.push(r)}return Ae(p)}function Te(e,t){var r=t.length>0,i=e.length>0,o=function(o,a,s,l,c){var f,h,m,g=0,y="0",b=o&&[],x=[],A=u,_=o||i&&n.find["TAG"]("*",c),E=w+=null==A?1:Math.random()||.1,k=_.length;for(c&&(u=a==d||a||c);y!==k&&null!=(f=_[y]);y++){if(i&&f){h=0,a||f.ownerDocument==d||(p(f),s=!v);while(m=e[h++])if(m(f,a||d,s)){l.push(f);break}c&&(w=E)}r&&((f=!m&&f)&&g--,o&&b.push(f))}if(g+=y,r&&y!==g){h=0;while(m=t[h++])m(b,x,a,s);if(o){if(g>0)while(y--)b[y]||x[y]||(x[y]=P.call(l));x=_e(x)}L.apply(l,x),c&&!o&&x.length>0&&g+t.length>1&&se.uniqueSort(l)}return c&&(w=E,u=A),b};return r?ue(o):o}return ye.prototype=n.filters=n.pseudos,n.setFilters=new ye,a=se.tokenize=function(e,t){var r,i,o,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=n.preFilter;while(s){for(a in r&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=Q.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(H," ")}),s=s.slice(r.length)),n.filter)!(i=G[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?se.error(e):k(e,l).slice(0)},s=se.compile=function(e,t){var r,n=[],i=[],o=T[e+" "];if(!o){t||(t=a(e)),r=t.length;while(r--)o=ke(t[r]),o[x]?n.push(o):i.push(o);o=T(e,Te(i,n)),o.selector=e}return o},l=se.select=function(e,t,r,i){var o,l,u,c,f,p="function"===typeof e&&e,d=!i&&a(e=p.selector||e);if(r=r||[],1===d.length){if(l=d[0]=d[0].slice(0),l.length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&v&&n.relative[l[1].type]){if(t=(n.find["ID"](u.matches[0].replace(te,re),t)||[])[0],!t)return r;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}o=G["needsContext"].test(e)?0:l.length;while(o--){if(u=l[o],n.relative[c=u.type])break;if((f=n.find[c])&&(i=f(u.matches[0].replace(te,re),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),e=i.length&&be(l),!e)return L.apply(r,i),r;break}}}return(p||s(e,d))(i,t,!v,r,!t||ee.test(e)&&ge(t.parentNode)||t),r},r.sortStable=x.split("").sort(S).join("")===x,r.detectDuplicates=!!f,p(),r.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),r.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||fe(j,(function(e,t,r){var n;if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),se}(r);k.find=C,k.expr=C.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=C.uniqueSort,k.text=C.getText,k.isXMLDoc=C.isXML,k.contains=C.contains,k.escapeSelector=C.escape;var S=function(e,t,r){var n=[],i=void 0!==r;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&k(e).is(r))break;n.push(e)}return n},O=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},M=k.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,r){return y(t)?k.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?k.grep(e,(function(e){return e===t!==r})):"string"!==typeof t?k.grep(e,(function(e){return f.call(t,e)>-1!==r})):k.filter(t,e,r)}k.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?k.find.matchesSelector(n,e)?[n]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!==typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<n;t++)if(k.contains(i[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)k.find(e,i[t],r);return n>1?k.uniqueSort(r):r},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"===typeof e&&M.test(e)?k(e):e||[],!1).length}});var D,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,j=k.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||D,"string"===typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),B.test(n[1])&&k.isPlainObject(t))for(n in t)y(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return i=x.getElementById(n[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==r.ready?r.ready(e):e(k):k.makeArray(e,this)};j.prototype=k.fn,D=k(x);var R=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,i=this.length,o=[],a="string"!==typeof e&&k(e);if(!M.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&k.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(e){return e?"string"===typeof e?f.call(k(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,r){return S(e,"parentNode",r)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,r){return S(e,"nextSibling",r)},prevUntil:function(e,t,r){return S(e,"previousSibling",r)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(r,n){var i=k.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"===typeof n&&(i=k.filter(n,i)),this.length>1&&(F[e]||k.uniqueSort(i),R.test(e)&&i.reverse()),this.pushStack(i)}}));var z=/[^\x20\t\r\n\f]+/g;function U(e){var t={};return k.each(e.match(z)||[],(function(e,r){t[r]=!0})),t}function H(e){return e}function V(e){throw e}function Q(e,t,r,n){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(r):e&&y(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}k.Callbacks=function(e){e="string"===typeof e?U(e):k.extend({},e);var t,r,n,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,n=t=!0;a.length;s=-1){r=a.shift();while(++s<o.length)!1===o[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=o.length,r=!1)}e.memory||(r=!1),t=!1,i&&(o=r?[]:"")},u={add:function(){return o&&(r&&!t&&(s=o.length-1,a.push(r)),function t(r){k.each(r,(function(r,n){y(n)?e.unique&&u.has(n)||o.push(n):n&&n.length&&"string"!==_(n)&&t(n)}))}(arguments),r&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){var r;while((r=k.inArray(t,o,r))>-1)o.splice(r,1),r<=s&&s--})),this},has:function(e){return e?k.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||t||(o=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=r||[],r=[e,r.slice?r.slice():r],a.push(r),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(r){k.each(t,(function(t,n){var i=y(e[n[4]])&&e[n[4]];o[n[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,u=function(){var r,u;if(!(e<o)){if(r=n.apply(s,l),r===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"===typeof r||"function"===typeof r)&&r.then,y(u)?i?u.call(r,a(o,t,H,i),a(o,t,V,i)):(o++,u.call(r,a(o,t,H,i),a(o,t,V,i),a(o,t,H,t.notifyWith))):(n!==H&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},c=i?u:function(){try{u()}catch(r){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(r,c.stackTrace),e+1>=o&&(n!==V&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?c():(k.Deferred.getStackHook&&(c.stackTrace=k.Deferred.getStackHook()),r.setTimeout(c))}}return k.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:H,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:H)),t[2][3].add(a(0,r,y(n)?n:V))})).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},o={};return k.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),i=l.call(arguments),o=k.Deferred(),a=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?l.call(arguments):r,--t||o.resolveWith(n,i)}};if(t<=1&&(Q(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||y(i[r]&&i[r].then)))return o.then();while(r--)Q(i[r],a(r),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&W.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){r.setTimeout((function(){throw e}))};var K=k.Deferred();function q(){x.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),k.ready()}k.fn.ready=function(e){return K.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||K.resolveWith(x,[k]))}}),k.ready.then=K.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?r.setTimeout(k.ready):(x.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var G=function(e,t,r,n,i,o,a){var s=0,l=e.length,u=null==r;if("object"===_(r))for(s in i=!0,r)G(e,t,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,y(n)||(a=!0),u&&(a?(t.call(e,n),t=null):(u=t,t=function(e,t,r){return u.call(k(e),r)})),t))for(;s<l;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return i?e:u?t.call(e):l?t(e[0],r):o},$=/^-ms-/,Y=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Z(e){return e.replace($,"ms-").replace(Y,X)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=k.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"===typeof t)i[Z(t)]=r;else for(n in t)i[Z(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(t)]},access:function(e,t,r){return void 0===t||t&&"string"===typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){Array.isArray(t)?t=t.map(Z):(t=Z(t),t=t in n?[t]:t.match(z)||[]),r=t.length;while(r--)delete n[t[r]]}(void 0===t||k.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var te=new ee,re=new ee,ne=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;function oe(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ne.test(e)?JSON.parse(e):e)}function ae(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(ie,"-$&").toLowerCase(),r=e.getAttribute(n),"string"===typeof r){try{r=oe(r)}catch(i){}re.set(e,t,r)}else r=void 0;return r}k.extend({hasData:function(e){return re.hasData(e)||te.hasData(e)},data:function(e,t,r){return re.access(e,t,r)},removeData:function(e,t){re.remove(e,t)},_data:function(e,t,r){return te.access(e,t,r)},_removeData:function(e,t){te.remove(e,t)}}),k.fn.extend({data:function(e,t){var r,n,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=re.get(o),1===o.nodeType&&!te.get(o,"hasDataAttrs"))){r=a.length;while(r--)a[r]&&(n=a[r].name,0===n.indexOf("data-")&&(n=Z(n.slice(5)),ae(o,n,i[n])));te.set(o,"hasDataAttrs",!0)}return i}return"object"===typeof e?this.each((function(){re.set(this,e)})):G(this,(function(t){var r;if(o&&void 0===t)return r=re.get(o,e),void 0!==r?r:(r=ae(o,e),void 0!==r?r:void 0);this.each((function(){re.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){re.remove(this,e)}))}}),k.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=te.get(e,t),r&&(!n||Array.isArray(r)?n=te.access(e,t,k.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=k.queue(e,t),n=r.length,i=r.shift(),o=k._queueHooks(e,t),a=function(){k.dequeue(e,t)};"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return te.get(e,r)||te.access(e,r,{empty:k.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",r])}))})}}),k.fn.extend({queue:function(e,t){var r=2;return"string"!==typeof e&&(t=e,e="fx",r--),arguments.length<r?k.queue(this[0],e):void 0===t?this:this.each((function(){var r=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=k.Deferred(),o=this,a=this.length,s=function(){--n||i.resolveWith(o,[o])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)r=te.get(o[a],e+"queueHooks"),r&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,le=new RegExp("^(?:([+-])=|)("+se+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"],ce=x.documentElement,fe=function(e){return k.contains(e.ownerDocument,e)},pe={composed:!0};ce.getRootNode&&(fe=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(pe)===e.ownerDocument});var de=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&fe(e)&&"none"===k.css(e,"display")};function he(e,t,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return k.css(e,t,"")},l=s(),u=r&&r[3]||(k.cssNumber[t]?"":"px"),c=e.nodeType&&(k.cssNumber[t]||"px"!==u&&+l)&&le.exec(k.css(e,t));if(c&&c[3]!==u){l/=2,u=u||c[3],c=+l||1;while(a--)k.style(e,t,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,k.style(e,t,c+u),r=r||[]}return r&&(c=+c||+l||0,i=r[1]?c+(r[1]+1)*r[2]:+r[2],n&&(n.unit=u,n.start=c,n.end=i)),i}var ve={};function me(e){var t,r=e.ownerDocument,n=e.nodeName,i=ve[n];return i||(t=r.body.appendChild(r.createElement(n)),i=k.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ve[n]=i,i)}function ge(e,t){for(var r,n,i=[],o=0,a=e.length;o<a;o++)n=e[o],n.style&&(r=n.style.display,t?("none"===r&&(i[o]=te.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&de(n)&&(i[o]=me(n))):"none"!==r&&(i[o]="none",te.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}k.fn.extend({show:function(){return ge(this,!0)},hide:function(){return ge(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){de(this)?k(this).show():k(this).hide()}))}});var ye=/^(?:checkbox|radio)$/i,be=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=x.createDocumentFragment(),t=e.appendChild(x.createElement("div")),r=x.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),t.appendChild(r),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",g.option=!!t.lastChild})();var Ae={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var r;return r="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?k.merge([e],r):r}function _e(e,t){for(var r=0,n=e.length;r<n;r++)te.set(e[r],"globalEval",!t||te.get(t[r],"globalEval"))}Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td,g.option||(Ae.optgroup=Ae.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function ke(e,t,r,n,i){for(var o,a,s,l,u,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if(o=e[d],o||0===o)if("object"===_(o))k.merge(p,o.nodeType?[o]:o);else if(Ee.test(o)){a=a||f.appendChild(t.createElement("div")),s=(be.exec(o)||["",""])[1].toLowerCase(),l=Ae[s]||Ae._default,a.innerHTML=l[1]+k.htmlPrefilter(o)+l[2],c=l[0];while(c--)a=a.lastChild;k.merge(p,a.childNodes),a=f.firstChild,a.textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(n&&k.inArray(o,n)>-1)i&&i.push(o);else if(u=fe(o),a=we(f.appendChild(o),"script"),u&&_e(a),r){c=0;while(o=a[c++])xe.test(o.type||"")&&r.push(o)}return f}var Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Se(){return!1}function Oe(e,t){return e===Me()===("focus"===t)}function Me(){try{return x.activeElement}catch(e){}}function Pe(e,t,r,n,i,o){var a,s;if("object"===typeof t){for(s in"string"!==typeof r&&(n=n||r,r=void 0),t)Pe(e,s,r,n,t[s],o);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"===typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,i=function(e){return k().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,i,n,r)}))}function Be(e,t,r){r?(te.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,i,o=te.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=l.call(arguments),te.set(this,t,o),n=r(this,t),this[t](),i=te.get(this,t),o!==i||n?te.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(te.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&k.event.add(e,t,Ce)}k.event={global:{},add:function(e,t,r,n,i){var o,a,s,l,u,c,f,p,d,h,v,m=te.get(e);if(J(e)){r.handler&&(o=r,r=o.handler,i=o.selector),i&&k.find.matchesSelector(ce,i),r.guid||(r.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return"undefined"!==typeof k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(z)||[""],u=t.length;while(u--)s=Te.exec(t[u])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:v,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=l[d])||(p=l[d]=[],p.delegateCount=0,f.setup&&!1!==f.setup.call(e,n,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,r,n,i){var o,a,s,l,u,c,f,p,d,h,v,m=te.hasData(e)&&te.get(e);if(m&&(l=m.events)){t=(t||"").match(z)||[""],u=t.length;while(u--)if(s=Te.exec(t[u])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},d=(n?f.delegateType:f.bindType)||d,p=l[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&v!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||k.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)k.event.remove(e,d+t[u],r,n,!0);k.isEmptyObject(l)&&te.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=new Array(arguments.length),l=k.event.fix(e),u=(te.get(this,"events")||Object.create(null))[l.type]||[],c=k.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){a=k.event.handlers.call(this,l,u),t=0;while((i=a[t++])&&!l.isPropagationStopped()){l.currentTarget=i.elem,r=0;while((o=i.handlers[r++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,n=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==n&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,i,o,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},r=0;r<l;r++)n=t[r],i=n.selector+" ",void 0===a[i]&&(a[i]=n.needsContext?k(i,this).index(u)>-1:k.find(i,this,null,[u]).length),a[i]&&o.push(n);o.length&&s.push({elem:u,handlers:o})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&Be(t,"click",Ce),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&Be(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&P(t,"input")&&te.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return Be(this,e,Oe),!1},trigger:function(){return Be(this,e),!0},_default:function(){return!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===n||k.contains(n,i))||(e.type=o.origType,r=o.handler.apply(this,arguments),e.type=t),r}}})),k.fn.extend({on:function(e,t,r,n){return Pe(this,e,t,r,n)},one:function(e,t,r,n){return Pe(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,k(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"===typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!==typeof t||(r=t,t=void 0),!1===r&&(r=Se),this.each((function(){k.event.remove(this,e,r,t)}))}});var Le=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var r,n,i,o,a,s,l;if(1===t.nodeType){if(te.hasData(e)&&(o=te.get(e),l=o.events,l))for(i in te.remove(t,"handle events"),l)for(r=0,n=l[i].length;r<n;r++)k.event.add(t,i,l[i][r]);re.hasData(e)&&(a=re.access(e),s=k.extend({},a),re.set(t,s))}}function ze(e,t){var r=t.nodeName.toLowerCase();"input"===r&&ye.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ue(e,t,r,n){t=u(t);var i,o,a,s,l,c,f=0,p=e.length,d=p-1,h=t[0],v=y(h);if(v||p>1&&"string"===typeof h&&!g.checkClone&&De.test(h))return e.each((function(i){var o=e.eq(i);v&&(t[0]=h.call(this,i,o.html())),Ue(o,t,r,n)}));if(p&&(i=ke(t,e[0].ownerDocument,!1,e,n),o=i.firstChild,1===i.childNodes.length&&(i=o),o||n)){for(a=k.map(we(i,"script"),Re),s=a.length;f<p;f++)l=i,f!==d&&(l=k.clone(l,!0,!0),s&&k.merge(a,we(l,"script"))),r.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,k.map(a,Fe),f=0;f<s;f++)l=a[f],xe.test(l.type||"")&&!te.access(l,"globalEval")&&k.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Ie,""),l,c))}return e}function He(e,t,r){for(var n,i=t?k.filter(t,e):e,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||k.cleanData(we(n)),n.parentNode&&(r&&fe(n)&&_e(we(n,"script")),n.parentNode.removeChild(n));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,o,a,s=e.cloneNode(!0),l=fe(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!k.isXMLDoc(e))for(a=we(s),o=we(e),n=0,i=o.length;n<i;n++)ze(o[n],a[n]);if(t)if(r)for(o=o||we(e),a=a||we(s),n=0,i=o.length;n<i;n++)Ne(o[n],a[n]);else Ne(e,s);return a=we(s,"script"),a.length>0&&_e(a,!l&&we(e,"script")),s},cleanData:function(e){for(var t,r,n,i=k.event.special,o=0;void 0!==(r=e[o]);o++)if(J(r)){if(t=r[te.expando]){if(t.events)for(n in t.events)i[n]?k.event.remove(r,n):k.removeEvent(r,n,t.handle);r[te.expando]=void 0}r[re.expando]&&(r[re.expando]=void 0)}}}),k.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return G(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.appendChild(e)}}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Le.test(e)&&!Ae[(be.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;r<n;r++)t=this[r]||{},1===t.nodeType&&(k.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,(function(t){var r=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(we(this)),r&&r.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var r,n=[],i=k(e),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),k(i[a])[t](r),c.apply(n,r.get());return this.pushStack(n)}}));var Ve=new RegExp("^("+se+")(?!px)[a-z%]+$","i"),Qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},We=function(e,t,r){var n,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=r.call(e),t)e.style[i]=o[i];return n},Ke=new RegExp(ue.join("|"),"i");function qe(e,t,r){var n,i,o,a,s=e.style;return r=r||Qe(e),r&&(a=r.getPropertyValue(t)||r[t],""!==a||fe(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&Ve.test(a)&&Ke.test(t)&&(n=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=r.width,s.width=n,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ce.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ce.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,l,u=x.createElement("div"),c=x.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=x.createElement("table"),t=x.createElement("tr"),n=x.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ce.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ce.removeChild(e)),s}}))})();var $e=["Webkit","Moz","ms"],Ye=x.createElement("div").style,Xe={};function Ze(e){var t=e[0].toUpperCase()+e.slice(1),r=$e.length;while(r--)if(e=$e[r]+t,e in Ye)return e}function Je(e){var t=k.cssProps[e]||Xe[e];return t||(e in Ye?e:Xe[e]=Ze(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,rt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function it(e,t,r){var n=le.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ot(e,t,r,n,i,o){var a="width"===t?1:0,s=0,l=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=k.css(e,r+ue[a],!0,i)),n?("content"===r&&(l-=k.css(e,"padding"+ue[a],!0,i)),"margin"!==r&&(l-=k.css(e,"border"+ue[a]+"Width",!0,i))):(l+=k.css(e,"padding"+ue[a],!0,i),"padding"!==r?l+=k.css(e,"border"+ue[a]+"Width",!0,i):s+=k.css(e,"border"+ue[a]+"Width",!0,i));return!n&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function at(e,t,r){var n=Qe(e),i=!g.boxSizingReliable()||r,o=i&&"border-box"===k.css(e,"boxSizing",!1,n),a=o,s=qe(e,t,n),l="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(s)){if(!r)return s;s="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&P(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,n),a=l in e,a&&(s=e[l])),s=parseFloat(s)||0,s+ot(e,t,r||(o?"border":"content"),a,n,s)+"px"}function st(e,t,r,n,i){return new st.prototype.init(e,t,r,n,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=qe(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Z(t),l=tt.test(t),u=e.style;if(l||(t=Je(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(e,!1,n))?i:u[t];o=typeof r,"string"===o&&(i=le.exec(r))&&i[1]&&(r=he(e,t,i),o="number"),null!=r&&r===r&&("number"!==o||l||(r+=i&&i[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==r||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(l?u.setProperty(t,r):u[t]=r))}},css:function(e,t,r,n){var i,o,a,s=Z(t),l=tt.test(t);return l||(t=Je(s)),a=k.cssHooks[t]||k.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=qe(e,t,n)),"normal"===i&&t in nt&&(i=nt[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,r,n){if(r)return!et.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,n):We(e,rt,(function(){return at(e,t,n)}))},set:function(e,r,n){var i,o=Qe(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=a||n,l=s&&"border-box"===k.css(e,"boxSizing",!1,o),u=n?ot(e,t,n,l,o):0;return l&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ot(e,t,"border",!1,o)-.5)),u&&(i=le.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=k.css(e,t)),it(e,r,u)}}})),k.cssHooks.marginLeft=Ge(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"===typeof r?r.split(" "):[r];n<4;n++)i[e+ue[n]+t]=o[n]||o[n-2]||o[0];return i}},"margin"!==e&&(k.cssHooks[e+t].set=it)})),k.fn.extend({css:function(e,t){return G(this,(function(e,t,r){var n,i,o={},a=0;if(Array.isArray(t)){for(n=Qe(e),i=t.length;a<i;a++)o[t[a]]=k.css(e,t[a],!1,n);return o}return void 0!==r?k.style(e,t,r):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=st,st.prototype={constructor:st,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(k.cssNumber[r]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,r=st.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=st.prototype.init,k.fx.step={};var lt,ut,ct=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function pt(){ut&&(!1===x.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(pt):r.setTimeout(pt,k.fx.interval),k.fx.tick())}function dt(){return r.setTimeout((function(){lt=void 0})),lt=Date.now()}function ht(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)r=ue[n],i["margin"+r]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,r){for(var n,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,t,e))return n}function mt(e,t,r){var n,i,o,a,s,l,u,c,f="width"in t||"height"in t,p=this,d={},h=e.style,v=e.nodeType&&de(e),m=te.get(e,"fxshow");for(n in r.queue||(a=k._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[n],ct.test(i)){if(delete t[n],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[n])continue;v=!0}d[n]=m&&m[n]||k.style(e,n)}if(l=!k.isEmptyObject(t),l||!k.isEmptyObject(d))for(n in f&&1===e.nodeType&&(r.overflow=[h.overflow,h.overflowX,h.overflowY],u=m&&m.display,null==u&&(u=te.get(e,"display")),c=k.css(e,"display"),"none"===c&&(u?c=u:(ge([e],!0),u=e.style.display||u,c=k.css(e,"display"),ge([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===k.css(e,"float")&&(l||(p.done((function(){h.display=u})),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),r.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=r.overflow[0],h.overflowX=r.overflow[1],h.overflowY=r.overflow[2]}))),l=!1,d)l||(m?"hidden"in m&&(v=m.hidden):m=te.access(e,"fxshow",{display:u}),o&&(m.hidden=!v),v&&ge([e],!0),p.done((function(){for(n in v||ge([e]),te.remove(e,"fxshow"),d)k.style(e,n,d[n])}))),l=vt(v?m[n]:0,n,p),n in m||(m[n]=l.start,v&&(l.end=l.start,l.start=0))}function gt(e,t){var r,n,i,o,a;for(r in e)if(n=Z(r),i=t[n],o=e[r],Array.isArray(o)&&(i=o[1],o=e[r]=o[0]),r!==n&&(e[n]=o,delete e[r]),a=k.cssHooks[n],a&&"expand"in a)for(r in o=a.expand(o),delete e[n],o)r in e||(e[r]=o[r],t[r]=i);else t[n]=i}function yt(e,t,r){var n,i,o=0,a=yt.prefilters.length,s=k.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=lt||dt(),r=Math.max(0,u.startTime+u.duration-t),n=r/u.duration||0,o=1-n,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,r]),o<1&&l?r:(l||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},r),originalProperties:t,originalOptions:r,startTime:lt||dt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=k.Tween(e,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var r=0,n=t?u.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)u.tweens[r].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(gt(c,u.opts.specialEasing);o<a;o++)if(n=yt.prefilters[o].call(u,e,c,u.opts),n)return y(n.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,vt,u),y(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(yt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return he(r.elem,e,le.exec(t),r),r}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(z);for(var r,n=0,i=e.length;n<i;n++)r=e[n],yt.tweeners[r]=yt.tweeners[r]||[],yt.tweeners[r].unshift(t)},prefilters:[mt],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),k.speed=function(e,t,r){var n=e&&"object"===typeof e?k.extend({},e):{complete:r||!r&&t||y(e)&&e,duration:e,easing:r&&t||t&&!y(t)&&t};return k.fx.off?n.duration=0:"number"!==typeof n.duration&&(n.duration in k.fx.speeds?n.duration=k.fx.speeds[n.duration]:n.duration=k.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&k.dequeue(this,n.queue)},n},k.fn.extend({fadeTo:function(e,t,r,n){return this.filter(de).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=k.isEmptyObject(e),o=k.speed(t,r,n),a=function(){var t=yt(this,k.extend({},e),o);(i||te.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!==typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=k.timers,a=te.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&&ft.test(i)&&n(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(r),t=!1,o.splice(i,1));!t&&r||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=te.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],o=k.timers,a=n?n.length:0;for(r.finish=!0,k.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var r=k.fn[t];k.fn[t]=function(e,n,i){return null==e||"boolean"===typeof e?r.apply(this,arguments):this.animate(ht(t,!0),e,n,i)}})),k.each({slideDown:ht("show"),slideUp:ht("hide"),slideToggle:ht("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),k.timers=[],k.fx.tick=function(){var e,t=0,r=k.timers;for(lt=Date.now();t<r.length;t++)e=r[t],e()||r[t]!==e||r.splice(t--,1);r.length||k.fx.stop(),lt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ut||(ut=!0,pt())},k.fx.stop=function(){ut=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=x.createElement("input"),t=x.createElement("select"),r=t.appendChild(x.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=r.selected,e=x.createElement("input"),e.value="t",e.type="radio",g.radioValue="t"===e.value}();var bt,xt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return G(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof e.getAttribute?k.prop(e,t,r):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?bt:void 0)),void 0!==r?null===r?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:(n=k.find.attr(e,t),null==n?void 0:n))},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(z);if(i&&1===e.nodeType)while(r=i[n++])e.removeAttribute(r)}}),bt={set:function(e,t,r){return!1===t?k.removeAttr(e,r):e.setAttribute(r,r),r}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=xt[t]||k.find.attr;xt[t]=function(e,t,n){var i,o,a=t.toLowerCase();return n||(o=xt[a],xt[a]=i,i=null!=r(e,t,n)?a:null,xt[a]=o),i}}));var At=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function _t(e){var t=e.match(z)||[];return t.join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(z)||[]}k.fn.extend({prop:function(e,t){return G(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,r,n,i,o,a,s,l=0;if(y(e))return this.each((function(t){k(this).addClass(e.call(this,t,Et(this)))}));if(t=kt(e),t.length)while(r=this[l++])if(i=Et(r),n=1===r.nodeType&&" "+_t(i)+" ",n){a=0;while(o=t[a++])n.indexOf(" "+o+" ")<0&&(n+=o+" ");s=_t(n),i!==s&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,n,i,o,a,s,l=0;if(y(e))return this.each((function(t){k(this).removeClass(e.call(this,t,Et(this)))}));if(!arguments.length)return this.attr("class","");if(t=kt(e),t.length)while(r=this[l++])if(i=Et(r),n=1===r.nodeType&&" "+_t(i)+" ",n){a=0;while(o=t[a++])while(n.indexOf(" "+o+" ")>-1)n=n.replace(" "+o+" "," ");s=_t(n),i!==s&&r.setAttribute("class",s)}return this},toggleClass:function(e,t){var r=typeof e,n="string"===r||Array.isArray(e);return"boolean"===typeof t&&n?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(r){k(this).toggleClass(e.call(this,r,Et(this),t),t)})):this.each((function(){var t,i,o,a;if(n){i=0,o=k(this),a=kt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==r||(t=Et(this),t&&te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;t=" "+e+" ";while(r=this[n++])if(1===r.nodeType&&(" "+_t(Et(r))+" ").indexOf(t)>-1)return!0;return!1}});var Tt=/\r/g;k.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=y(e),this.each((function(r){var i;1===this.nodeType&&(i=n?e.call(this,r,k(this).val()):e,null==i?i="":"number"===typeof i?i+="":Array.isArray(i)&&(i=k.map(i,(function(e){return null==e?"":e+""}))),t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:(r=i.value,"string"===typeof r?r.replace(Tt,""):null==r?"":r)):void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:_t(k.text(e))}},select:{get:function(e){var t,r,n,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(n=o<0?l:a?o:0;n<l;n++)if(r=i[n],(r.selected||n===o)&&!r.disabled&&(!r.parentNode.disabled||!P(r.parentNode,"optgroup"))){if(t=k(r).val(),a)return t;s.push(t)}return s},set:function(e,t){var r,n,i=e.options,o=k.makeArray(t),a=i.length;while(a--)n=i[a],(n.selected=k.inArray(k.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var Ct=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,i){var o,a,s,l,u,c,f,p,d=[n||x],v=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||x,3!==n.nodeType&&8!==n.nodeType&&!Ct.test(v+k.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),u=v.indexOf(":")<0&&"on"+v,e=e[k.expando]?e:new k.Event(v,"object"===typeof e&&e),e.isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),f=k.event.special[v]||{},i||!f.trigger||!1!==f.trigger.apply(n,t))){if(!i&&!f.noBubble&&!b(n)){for(l=f.delegateType||v,Ct.test(l+v)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(n.ownerDocument||x)&&d.push(s.defaultView||s.parentWindow||r)}o=0;while((a=d[o++])&&!e.isPropagationStopped())p=a,e.type=o>1?l:f.bindType||v,c=(te.get(a,"events")||Object.create(null))[e.type]&&te.get(a,"handle"),c&&c.apply(a,t),c=u&&a[u],c&&c.apply&&J(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),t)||!J(n)||u&&y(n[v])&&!b(n)&&(s=n[u],s&&(n[u]=null),k.event.triggered=v,e.isPropagationStopped()&&p.addEventListener(v,St),n[v](),e.isPropagationStopped()&&p.removeEventListener(v,St),k.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,r){var n=k.extend(new k.Event,r,{type:e,isSimulated:!0});k.event.trigger(n,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return k.event.trigger(e,t,r,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var r=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=te.access(n,t);i||n.addEventListener(e,r,!0),te.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=te.access(n,t)-1;i?te.access(n,t,i):(n.removeEventListener(e,r,!0),te.remove(n,t))}}}));var Ot=r.location,Mt={guid:Date.now()},Pt=/\?/;k.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(i){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Bt=/\[\]$/,Lt=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function jt(e,t,r,n){var i;if(Array.isArray(t))k.each(t,(function(t,i){r||Bt.test(e)?n(e,i):jt(e+"["+("object"===typeof i&&null!=i?t:"")+"]",i,r,n)}));else if(r||"object"!==_(t))n(e,t);else for(i in t)jt(e+"["+i+"]",t[i],r,n)}k.param=function(e,t){var r,n=[],i=function(e,t){var r=y(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){i(this.name,this.value)}));else for(r in e)jt(r,e[r],t,i);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&It.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var r=k(this).val();return null==r?null:Array.isArray(r)?k.map(r,(function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}})):{name:t.name,value:r.replace(Lt,"\r\n")}})).get()}});var Rt=/%20/g,Ft=/#.*$/,Nt=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ht=/^(?:GET|HEAD)$/,Vt=/^\/\//,Qt={},Wt={},Kt="*/".concat("*"),qt=x.createElement("a");function Gt(e){return function(t,r){"string"!==typeof t&&(r=t,t="*");var n,i=0,o=t.toLowerCase().match(z)||[];if(y(r))while(n=o[i++])"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function $t(e,t,r,n){var i={},o=e===Wt;function a(s){var l;return i[s]=!0,k.each(e[s]||[],(function(e,s){var u=s(t,r,n);return"string"!==typeof u||o||i[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Yt(e,t){var r,n,i=k.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&k.extend(!0,e,n),e}function Xt(e,t,r){var n,i,o,a,s=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){l.unshift(i);break}if(l[0]in r)o=l[0];else{for(i in r){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),r[o]}function Zt(e,t,r,n){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(r[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift(),o)if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]],a)){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}qt.href=Ot.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Ut.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,k.ajaxSettings),t):Yt(k.ajaxSettings,e)},ajaxPrefilter:Gt(Qt),ajaxTransport:Gt(Wt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,u,c,f,p,d=k.ajaxSetup({},t),h=d.context||d,v=d.context&&(h.nodeType||h.jquery)?k(h):k.event,m=k.Deferred(),g=k.Callbacks("once memory"),y=d.statusCode||{},b={},A={},w="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a){a={};while(t=zt.exec(o))a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)_.always(e[_.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),E(0,t),this}};if(m.promise(_),d.url=((e||d.url||Ot.href)+"").replace(Vt,Ot.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(z)||[""],null==d.crossDomain){l=x.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=qt.protocol+"//"+qt.host!==l.protocol+"//"+l.host}catch(T){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!==typeof d.data&&(d.data=k.param(d.data,d.traditional)),$t(Qt,d,t,_),u)return _;for(f in c=k.event&&d.global,c&&0===k.active++&&k.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ht.test(d.type),i=d.url.replace(Ft,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Rt,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"===typeof d.data)&&(i+=(Pt.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Nt,"$1"),p=(Pt.test(i)?"&":"?")+"_="+Mt.guid+++p),d.url=i+p),d.ifModified&&(k.lastModified[i]&&_.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&_.setRequestHeader("If-None-Match",k.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&_.setRequestHeader("Content-Type",d.contentType),_.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Kt+"; q=0.01":""):d.accepts["*"]),d.headers)_.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,_,d)||u))return _.abort();if(w="abort",g.add(d.complete),_.done(d.success),_.fail(d.error),n=$t(Wt,d,t,_),n){if(_.readyState=1,c&&v.trigger("ajaxSend",[_,d]),u)return _;d.async&&d.timeout>0&&(s=r.setTimeout((function(){_.abort("timeout")}),d.timeout));try{u=!1,n.send(b,E)}catch(T){if(u)throw T;E(-1,T)}}else E(-1,"No Transport");function E(e,t,a,l){var f,p,b,x,A,w=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",_.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(x=Xt(d,_,a)),!f&&k.inArray("script",d.dataTypes)>-1&&k.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),x=Zt(d,x,_,f),f?(d.ifModified&&(A=_.getResponseHeader("Last-Modified"),A&&(k.lastModified[i]=A),A=_.getResponseHeader("etag"),A&&(k.etag[i]=A)),204===e||"HEAD"===d.type?w="nocontent":304===e?w="notmodified":(w=x.state,p=x.data,b=x.error,f=!b)):(b=w,!e&&w||(w="error",e<0&&(e=0))),_.status=e,_.statusText=(t||w)+"",f?m.resolveWith(h,[p,w,_]):m.rejectWith(h,[_,w,b]),_.statusCode(y),y=void 0,c&&v.trigger(f?"ajaxSuccess":"ajaxError",[_,d,f?p:b]),g.fireWith(h,[_,w]),c&&(v.trigger("ajaxComplete",[_,d]),--k.active||k.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,r){return k.get(e,t,r,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,r,n,i){return y(r)&&(i=i||n,n=r,r=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:r,success:n},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,r){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,r)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(r){k(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},er=k.ajaxSettings.xhr();g.cors=!!er&&"withCredentials"in er,g.ajax=er=!!er,k.ajaxTransport((function(e){var t,n;if(g.cors||er&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),x.head.appendChild(t[0])},abort:function(){r&&r()}}}));var tr=[],rr=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||k.expando+"_"+Mt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rr,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||k.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?k(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tr.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),g.createHTMLDocument=function(){var e=x.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),k.parseHTML=function(e,t,r){return"string"!==typeof e?[]:("boolean"===typeof t&&(r=t,t=!1),t||(g.createHTMLDocument?(t=x.implementation.createHTMLDocument(""),n=t.createElement("base"),n.href=x.location.href,t.head.appendChild(n)):t=x),i=B.exec(e),o=!r&&[],i?[t.createElement(i[1])]:(i=ke([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var n,i,o},k.fn.load=function(e,t,r){var n,i,o,a=this,s=e.indexOf(" ");return s>-1&&(n=_t(e.slice(s)),e=e.slice(0,s)),y(t)?(r=t,t=void 0):t&&"object"===typeof t&&(i="POST"),a.length>0&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(n?k("<div>").append(k.parseHTML(e)).find(n):e)})).always(r&&function(e,t){a.each((function(){r.apply(this,o||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,r){var n,i,o,a,s,l,u,c=k.css(e,"position"),f=k(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=k.css(e,"top"),l=k.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(n=f.position(),a=n.top,i=n.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,r,k.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===k.css(n,"position"))t=n.getBoundingClientRect();else{t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;while(e&&(e===r.body||e===r.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==n&&1===e.nodeType&&(i=k(e).offset(),i.top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(n,"marginTop",!0),left:t.left-i.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ce}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;k.fn[e]=function(n){return G(this,(function(e,n,i){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[n];o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):e[n]=i}),e,n,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=Ge(g.pixelPosition,(function(e,r){if(r)return r=qe(e,t),Ve.test(r)?k(e).position()[t]+"px":r}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){k.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!==typeof i),s=r||(!0===i||!0===o?"margin":"border");return G(this,(function(t,r,i){var o;return b(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?k.css(t,r,s):k.style(t,r,i,s)}),t,a?i:void 0,a)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){k.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var nr=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var r,n,i;if("string"===typeof t&&(r=e[t],t=e,e=r),y(e))return n=l.call(arguments,2),i=function(){return e.apply(t||this,n.concat(l.call(arguments)))},i.guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=P,k.isFunction=y,k.isWindow=b,k.camelCase=Z,k.type=_,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(nr,"")},n=[],i=function(){return k}.apply(t,n),void 0===i||(e.exports=i);var ir=r.jQuery,or=r.$;return k.noConflict=function(e){return r.$===k&&(r.$=or),e&&r.jQuery===k&&(r.jQuery=ir),k},"undefined"===typeof o&&(r.jQuery=r.$=k),k}))},"119e":function(e,t,r){"use strict";var n=r("fc26"),i=r("a651"),o=r("81f0").defaults;e.exports=function(e,t,r,a){var s,l,u=a.type,c=a.attributes,f=a.handleDefaults,p=a.partition||"x",d=t._subplots[u],h=d.length,v=h&&d[0].replace(/\d+$/,"");function m(e,t){return n.coerce(s,l,c,e,t)}for(var g=0;g<h;g++){var y=d[g];s=e[y]?e[y]:e[y]={},l=i.newContainer(t,y,v),m("uirevision",t.uirevision);var b={};b[p]=[g/h,(g+1)/h],o(l,t,m,b),a.id=y,f(s,l,m,a)}}},"11ab":function(e,t,r){"use strict";var n=r("6c77"),i=r("19b2");function o(e,t){var r,o=Array.isArray(t);function a(e){return i(e)?+e:null}return-1!==n.COMPARISON_OPS2.indexOf(e)?r=a(o?t[0]:t):-1!==n.INTERVAL_OPS.indexOf(e)?r=o?[a(t[0]),a(t[1])]:[a(t),a(t)]:-1!==n.SET_OPS.indexOf(e)&&(r=o?t.map(a):[a(t)]),r}function a(e){return function(t){t=o(e,t);var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return{start:r,end:n,size:n-r}}}function s(e){return function(t){return t=o(e,t),{start:t,end:1/0,size:1/0}}}e.exports={"[]":a("[]"),"][":a("]["),">":s(">"),"<":s("<"),"=":s("=")}},"11e1":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("d115"),a=r("9103"),s=r("40c0");e.exports=function(e,t,r,l){function u(r,n){return i.coerce(e,t,s,r,n)}var c=u("x"),f=u("y"),p=u("cumulative.enabled");p&&(u("cumulative.direction"),u("cumulative.currentbin")),u("text"),u("hovertext"),u("hovertemplate");var d=u("orientation",f&&!c?"h":"v"),h="v"===d?"x":"y",v="v"===d?"y":"x",m=c&&f?Math.min(i.minRowLength(c)&&i.minRowLength(f)):i.minRowLength(t[h]||[]);if(m){t._length=m;var g=n.getComponentMethod("calendars","handleTraceDefaults");g(e,t,["x","y"],l);var y=t[v];y&&u("histfunc"),u("histnorm"),u("autobin"+h),a(e,t,u,r,l),i.coerceSelectionMarkerOpacity(t,u);var b=(t.marker.line||{}).color,x=n.getComponentMethod("errorbars","supplyDefaults");x(e,t,b||o.defaultLine,{axis:"y"}),x(e,t,b||o.defaultLine,{axis:"x",inherit:"y"})}else t.visible=!1}},"122d":function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("a651"),a=r("119e"),s=r("ad62").getSubplotData,l=r("d92f"),u=r("27e3"),c=r("5008"),f=r("d18b"),p=r("743b"),d=r("0b77"),h=r("ddde"),v=r("7a52"),m=r("f510"),g=m.axisNames;function y(e,t,r,a){var d=r("bgcolor");a.bgColor=i.combine(d,a.paper_bgcolor);var y=r("sector");r("hole");var x,A=s(a.fullData,m.name,a.id),w=a.layoutOut;function _(e,t){return r(x+"."+e,t)}for(var E=0;E<g.length;E++){x=g[E],n.isPlainObject(e[x])||(e[x]={});var k=e[x],T=o.newContainer(t,x);T._id=T._name=x,T._attr=a.id+"."+x,T._traceIndices=A.map((function(e){return e._expandedIndex}));var C=m.axisName2dataArray[x],S=b(k,T,_,A,C,a);f(k,T,_,{axData:A,dataAttr:C});var O,M,P=_("visible");switch(v(T,t,w),_("uirevision",t.uirevision),P&&(O=_("color"),M=O===k.color?O:a.font.color),T._m=1,x){case"radialaxis":var B=_("autorange",!T.isValidRange(k.range));k.autorange=B,!B||"linear"!==S&&"-"!==S||_("rangemode"),"reversed"===B&&(T._m=-1),_("range"),T.cleanRange("range",{dfltRange:[0,1]}),P&&(_("side"),_("angle",y[0]),_("title.text"),n.coerceFont(_,"title.font",{family:a.font.family,size:Math.round(1.2*a.font.size),color:M}));break;case"angularaxis":if("date"===S){n.log("Polar plots do not support date angular axes yet.");for(var L=0;L<A.length;L++)A[L].visible=!1;S=k.type=T.type="linear"}_("linear"===S?"thetaunit":"period");var D=_("direction");_("rotation",{counterclockwise:0,clockwise:90}[D]);break}if(P){l(k,T,_,T.type),c(k,T,_,T.type,{tickSuffixDflt:"degrees"===T.thetaunit?"°":void 0}),u(k,T,_,{outerTicks:!0});var I=_("showticklabels");I&&(n.coerceFont(_,"tickfont",{family:a.font.family,size:a.font.size,color:M}),_("tickangle"),_("tickformat")),p(k,T,_,{dfltColor:O,bgColor:a.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:h[x]}),_("layer")}"category"!==S&&_("hoverformat"),T._input=k}"category"===t.angularaxis.type&&r("gridshape")}function b(e,t,r,n,i,o){var a=r("autotypenumbers",o.autotypenumbersDflt),s=r("type");if("-"===s){for(var l,u=0;u<n.length;u++)if(n[u].visible){l=n[u];break}l&&l[i]&&(t.type=d(l[i],"gregorian",{noMultiCategory:!0,autotypenumbers:a})),"-"===t.type?t.type="linear":e.type=t.type}return t.type}e.exports=function(e,t,r){a(e,t,r,{type:m.name,attributes:h,handleDefaults:y,font:t.font,autotypenumbersDflt:t.autotypenumbers,paper_bgcolor:t.paper_bgcolor,fullData:r,layoutOut:t})}},1276:function(e,t,r){"use strict";var n=r("d784"),i=r("44e7"),o=r("825a"),a=r("1d80"),s=r("4840"),l=r("8aa5"),u=r("50c4"),c=r("14c3"),f=r("9263"),p=r("d039"),d=[].push,h=Math.min,v=4294967295,m=!p((function(){return!RegExp(v,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),o=void 0===r?v:r>>>0;if(0===o)return[];if(void 0===e)return[n];if(!i(e))return t.call(n,e,o);var s,l,u,c=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,p+"g");while(s=f.call(m,n)){if(l=m.lastIndex,l>h&&(c.push(n.slice(h,s.index)),s.length>1&&s.index<n.length&&d.apply(c,s.slice(1)),u=s[0].length,h=l,c.length>=o))break;m.lastIndex===s.index&&m.lastIndex++}return h===n.length?!u&&m.test("")||c.push(""):c.push(n.slice(h)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,r):n.call(String(i),t,r)},function(e,i){var a=r(n,e,this,i,n!==t);if(a.done)return a.value;var f=o(e),p=String(this),d=s(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(m?"y":"g"),b=new d(m?f:"^(?:"+f.source+")",y),x=void 0===i?v:i>>>0;if(0===x)return[];if(0===p.length)return null===c(b,p)?[p]:[];var A=0,w=0,_=[];while(w<p.length){b.lastIndex=m?w:0;var E,k=c(b,m?p:p.slice(w));if(null===k||(E=h(u(b.lastIndex+(m?0:w)),p.length))===A)w=l(p,w,g);else{if(_.push(p.slice(A,w)),_.length===x)return _;for(var T=1;T<=k.length-1;T++)if(_.push(k[T]),_.length===x)return _;w=A=E}}return _.push(p.slice(A)),_}]}),!m)},1290:function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},"12c1":function(e,t,r){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function i(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(i(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(i(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r<t.length-1},getCommands:function(){return t},getPreviousCommand:function(){return t[r-1]},getIndex:function(){return r}}}},"12e0":function(e,t,r){"use strict";e.exports=r("0230"),r("54ea"),r("87d2"),r("ad2d"),r("d402"),r("fd3b"),r("becc"),r("3e43"),r("aaa9"),r("a7c5"),r("8a0e"),r("c107"),r("2d7d"),r("0b79"),r("1bbd"),r("7abc")},1304:function(e,t,r){var n=r("cd9d");function i(e){return"function"==typeof e?e:n}e.exports=i},1310:function(e,t){function r(e){return null!=e&&"object"==typeof e}e.exports=r},1330:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M9,4C11.21,4 13,5.79 13,8C13,10.21 11.21,12 9,12C6.79,12 5,10.21 5,8C5,5.79 6.79,4 9,4M9,6C7.9,6 7,6.9 7,8C7,9.1 7.9,10 9,10C10.1,10 11,9.1 11,8C11,6.9 10.1,6 9,6M9,13C11.67,13 17,14.34 17,17V20H1V17C1,14.34 6.33,13 9,13M9,14.9C6.03,14.9 2.9,16.36 2.9,17V18.1H15.1V17C15.1,16.36 11.97,14.9 9,14.9M15,4C17.21,4 19,5.79 19,8C19,10.21 17.21,12 15,12C14.53,12 14.08,11.92 13.67,11.77C14.5,10.74 15,9.43 15,8C15,6.57 14.5,5.26 13.67,4.23C14.08,4.08 14.53,4 15,4M23,17V20H19V16.5C19,15.25 18.24,14.1 16.97,13.18C19.68,13.62 23,14.9 23,17Z"}))};e.exports=s},"134c":function(e,t,r){"use strict";var n=r("cb34").overrideAll,i=r("927d"),o=r("bb88"),a=r("ad62").getSubplotData,s=r("fc26"),l=r("73c9"),u="gl3d",c="scene";t.name=u,t.attr=c,t.idRoot=c,t.idRegex=t.attrRegex=s.counterRegex("scene"),t.attributes=r("cdaf"),t.layoutAttributes=r("f409"),t.baseLayoutAttrOverrides=n({hoverlabel:i.hoverlabel},"plot","nested"),t.supplyLayoutDefaults=r("9f41"),t.plot=function(e){for(var t=e._fullLayout,r=e._fullData,n=t._subplots[u],i=0;i<n.length;i++){var s=n[i],l=a(r,u,s),c=t[s],f=c.camera,p=c._scene;p||(p=new o({id:s,graphDiv:e,container:e.querySelector(".gl-container"),staticPlot:e._context.staticPlot,plotGlPixelRatio:e._context.plotGlPixelRatio,camera:f},t),c._scene=p),p.viewInitial||(p.viewInitial={up:{x:f.up.x,y:f.up.y,z:f.up.z},eye:{x:f.eye.x,y:f.eye.y,z:f.eye.z},center:{x:f.center.x,y:f.center.y,z:f.center.z}}),p.plot(l,t,e.layout)}},t.clean=function(e,t,r,n){for(var i=n._subplots[u]||[],o=0;o<i.length;o++){var a=i[o];!t[a]&&n[a]._scene&&(n[a]._scene.destroy(),n._infolayer&&n._infolayer.selectAll(".annotation-"+a).remove())}},t.toSVG=function(e){for(var t=e._fullLayout,r=t._subplots[u],n=t._size,i=0;i<r.length;i++){var o=t[r[i]],a=o.domain,s=o._scene,c=s.toImage("png"),f=t._glimages.append("svg:image");f.attr({xmlns:l.svg,"xlink:href":c,x:n.l+n.w*a.x[0],y:n.t+n.h*(1-a.y[1]),width:n.w*(a.x[1]-a.x[0]),height:n.h*(a.y[1]-a.y[0]),preserveAspectRatio:"none"}),s.destroy()}},t.cleanId=function(e){if(e.match(/^scene[0-9]*$/)){var t=e.substr(5);return"1"===t&&(t=""),c+t}},t.updateFx=function(e){for(var t=e._fullLayout,r=t._subplots[u],n=0;n<r.length;n++){var i=t[r[n]]._scene;i.updateFx(t.dragmode,t.hovermode)}}},"134d":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedNumeric=void 0;var i=f(r("5174")),o=f(r("d8d0")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e,t=this.props.fullValue;return this.props.multiValued&&(e=t,t=""),s.default.createElement(i.default,this.props,s.default.createElement(o.default,{value:t,defaultValue:this.props.defaultValue,placeholder:e,step:this.props.step,stepmode:this.props.stepmode,min:this.props.min,max:this.props.max,onChange:this.props.updatePlot,onUpdate:this.props.updatePlot,showArrows:!this.props.hideArrows,showSlider:this.props.showSlider}))}}]),r}(s.Component);t.UnconnectedNumeric=k,k.propTypes=d({defaultValue:a.default.any,fullValue:a.default.any,min:a.default.number,max:a.default.number,multiValued:a.default.bool,hideArrows:a.default.bool,showSlider:a.default.bool,step:a.default.number,stepmode:a.default.string,updatePlot:a.default.func},i.default.propTypes),k.displayName="UnconnectedNumeric";var T=(0,l.connectToContainer)(k);t.default=T},1359:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.SliderAccordion,null,n.default.createElement(o.Radio,{attr:"visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.PlotlySection,{name:r("Background")},n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"bgcolor"}),n.default.createElement(o.ColorPicker,{label:r("Active Color"),attr:"activebgcolor"})),n.default.createElement(o.PlotlySection,{name:r("Border")},n.default.createElement(o.Numeric,{label:r("Width"),attr:"borderwidth"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"bordercolor"})),n.default.createElement(o.PlotlySection,{name:r("Font")},n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"font.family"}),n.default.createElement(o.Numeric,{label:r("Size"),attr:"font.size"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"font.color"})),n.default.createElement(o.PlotlySection,{name:r("Length"),attr:"len"},n.default.createElement(o.Numeric,{label:r("Length"),attr:"len",step:.02}),n.default.createElement(o.Dropdown,{label:r("Length Mode"),attr:"lenmode",options:[{label:r("Fraction of canvas"),value:"fraction"},{label:r("Pixels"),value:"pixels"}]})),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning"),attr:"x"},n.default.createElement(o.Numeric,{label:r("Position"),attr:"x",showSlider:!0,step:.02}),n.default.createElement(o.Radio,{label:r("Anchor"),attr:"xanchor",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning"),attr:"y"},n.default.createElement(o.Numeric,{label:r("Position"),attr:"y",showSlider:!0,step:.02}),n.default.createElement(o.Radio,{label:r("Anchor"),attr:"yanchor",options:[{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]})),n.default.createElement(o.PlotlySection,{name:r("Padding")},n.default.createElement(o.Numeric,{label:r("Top"),attr:"pad.t",units:"px"}),n.default.createElement(o.Numeric,{label:r("Bottom"),attr:"pad.b",units:"px"}),n.default.createElement(o.Numeric,{label:r("Left"),attr:"pad.l",units:"px"}),n.default.createElement(o.Numeric,{label:r("Right"),attr:"pad.r",units:"px"})),n.default.createElement(o.PlotlySection,{name:r("Ticks")},n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"tickcolor"}),n.default.createElement(o.Numeric,{label:r("Length"),attr:"ticklen"}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"tickwidth"})))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},1368:function(e,t,r){(function(t,r){
|
||
/*!
|
||
* @overview es6-promise - a tiny implementation of Promises/A+.
|
||
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
||
* @license Licensed under MIT license
|
||
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
||
* @version v4.2.8+1e68dce6
|
||
*/
|
||
(function(t,r){e.exports=r()})(0,(function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function n(e){return"function"===typeof e}var i=void 0;i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var o=i,a=0,s=void 0,l=void 0,u=function(e,t){w[a]=e,w[a+1]=t,a+=2,2===a&&(l?l(_):k())};function c(e){l=e}function f(e){u=e}var p="undefined"!==typeof window?window:void 0,d=p||{},h=d.MutationObserver||d.WebKitMutationObserver,v="undefined"===typeof self&&"undefined"!==typeof t&&"[object process]"==={}.toString.call(t),m="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function g(){return function(){return t.nextTick(_)}}function y(){return"undefined"!==typeof s?function(){s(_)}:A()}function b(){var e=0,t=new h(_),r=document.createTextNode("");return t.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}function x(){var e=new MessageChannel;return e.port1.onmessage=_,function(){return e.port2.postMessage(0)}}function A(){var e=setTimeout;return function(){return e(_,1)}}var w=new Array(1e3);function _(){for(var e=0;e<a;e+=2){var t=w[e],r=w[e+1];t(r),w[e]=void 0,w[e+1]=void 0}a=0}function E(){try{var e=Function("return this")().require("vertx");return s=e.runOnLoop||e.runOnContext,y()}catch(t){return A()}}var k=void 0;function T(e,t){var r=this,n=new this.constructor(O);void 0===n[S]&&$(n);var i=r._state;if(i){var o=arguments[i-1];u((function(){return W(i,n,o,r._result)}))}else V(r,n,e,t);return n}function C(e){var t=this;if(e&&"object"===typeof e&&e.constructor===t)return e;var r=new t(O);return N(r,e),r}k=v?g():h?b():m?x():void 0===p?E():A();var S=Math.random().toString(36).substring(2);function O(){}var M=void 0,P=1,B=2;function L(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function I(e,t,r,n){try{e.call(t,r,n)}catch(i){return i}}function j(e,t,r){u((function(e){var n=!1,i=I(r,t,(function(r){n||(n=!0,t!==r?N(e,r):U(e,r))}),(function(t){n||(n=!0,H(e,t))}),"Settle: "+(e._label||" unknown promise"));!n&&i&&(n=!0,H(e,i))}),e)}function R(e,t){t._state===P?U(e,t._result):t._state===B?H(e,t._result):V(t,void 0,(function(t){return N(e,t)}),(function(t){return H(e,t)}))}function F(e,t,r){t.constructor===e.constructor&&r===T&&t.constructor.resolve===C?R(e,t):void 0===r?U(e,t):n(r)?j(e,t,r):U(e,t)}function N(t,r){if(t===r)H(t,L());else if(e(r)){var n=void 0;try{n=r.then}catch(i){return void H(t,i)}F(t,r,n)}else U(t,r)}function z(e){e._onerror&&e._onerror(e._result),Q(e)}function U(e,t){e._state===M&&(e._result=t,e._state=P,0!==e._subscribers.length&&u(Q,e))}function H(e,t){e._state===M&&(e._state=B,e._result=t,u(z,e))}function V(e,t,r,n){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+P]=r,i[o+B]=n,0===o&&e._state&&u(Q,e)}function Q(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)n=t[a],i=t[a+r],n?W(r,n,i,o):i(o);e._subscribers.length=0}}function W(e,t,r,i){var o=n(r),a=void 0,s=void 0,l=!0;if(o){try{a=r(i)}catch(u){l=!1,s=u}if(t===a)return void H(t,D())}else a=i;t._state!==M||(o&&l?N(t,a):!1===l?H(t,s):e===P?U(t,a):e===B&&H(t,a))}function K(e,t){try{t((function(t){N(e,t)}),(function(t){H(e,t)}))}catch(r){H(e,r)}}var q=0;function G(){return q++}function $(e){e[S]=q++,e._state=void 0,e._result=void 0,e._subscribers=[]}function Y(){return new Error("Array Methods must be provided an Array")}var X=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(O),this.promise[S]||$(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?U(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&U(this.promise,this._result))):H(this.promise,Y())}return e.prototype._enumerate=function(e){for(var t=0;this._state===M&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===C){var i=void 0,o=void 0,a=!1;try{i=e.then}catch(l){a=!0,o=l}if(i===T&&e._state!==M)this._settledAt(e._state,t,e._result);else if("function"!==typeof i)this._remaining--,this._result[t]=e;else if(r===ne){var s=new r(O);a?H(s,o):F(s,e,i),this._willSettleAt(s,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===M&&(this._remaining--,e===B?H(n,r):this._result[t]=r),0===this._remaining&&U(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;V(e,void 0,(function(e){return r._settledAt(P,t,e)}),(function(e){return r._settledAt(B,t,e)}))},e}();function Z(e){return new X(this,e).promise}function J(e){var t=this;return o(e)?new t((function(r,n){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(r,n)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function ee(e){var t=this,r=new t(O);return H(r,e),r}function te(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function re(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ne=function(){function e(t){this[S]=G(),this._result=this._state=void 0,this._subscribers=[],O!==t&&("function"!==typeof t&&te(),this instanceof e?K(this,t):re())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var t=this,r=t.constructor;return n(e)?t.then((function(t){return r.resolve(e()).then((function(){return t}))}),(function(t){return r.resolve(e()).then((function(){throw t}))})):t.then(e,e)},e}();function ie(){var e=void 0;if("undefined"!==typeof r)e=r;else if("undefined"!==typeof self)e=self;else try{e=Function("return this")()}catch(i){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(i){}if("[object Promise]"===n&&!t.cast)return}e.Promise=ne}return ne.prototype.then=T,ne.all=Z,ne.race=J,ne.resolve=C,ne.reject=ee,ne._setScheduler=c,ne._setAsap=f,ne._asap=u,ne.polyfill=ie,ne.Promise=ne,ne}))}).call(this,r("4362"),r("c8ba"))},"1368e":function(e,t,r){var n=r("da03"),i=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},1376:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},1385:function(e,t,r){"use strict";e.exports=function(e){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(e):"[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.prototype}},"13a0":function(e,t,r){"use strict";var n=r("c947"),i=r("19b2"),o=r("fc26"),a=r("c258").makeColorScaleFuncFromTrace,s=r("86b8").makePullColorFn,l=r("86b8").generateExtendedColors,u=r("c258").calc,c=r("e806").ALMOST_EQUAL,f={},p={};function d(e,t,r){var n=0,i=e.children;if(i){for(var o=i.length,a=0;a<o;a++)n+=d(i[a],t,r);r.branches&&n++}else r.leaves&&n++;return e.value=e.data.data.value=n,t._values||(t._values=[]),t._values[e.data.data.i]=n,n}t.calc=function(e,t){var r,l,f,p,h=e._fullLayout,v=t.ids,m=o.isArrayOrTypedArray(v),g=t.labels,y=t.parents,b=t.values,x=o.isArrayOrTypedArray(b),A=[],w={},_={},E=function(e,t){w[e]?w[e].push(t):w[e]=[t],_[t]=1},k=function(e){return e||"number"===typeof e},T=function(e){return!x||i(b[e])&&b[e]>=0};m?(r=Math.min(v.length,y.length),l=function(e){return k(v[e])&&T(e)},f=function(e){return String(v[e])}):(r=Math.min(g.length,y.length),l=function(e){return k(g[e])&&T(e)},f=function(e){return String(g[e])}),x&&(r=Math.min(r,b.length));for(var C=0;C<r;C++)if(l(C)){var S=f(C),O=k(y[C])?String(y[C]):"",M={i:C,id:S,pid:O,label:k(g[C])?String(g[C]):""};x&&(M.v=+b[C]),A.push(M),E(O,S)}if(w[""]){if(w[""].length>1){for(var P=o.randstr(),B=0;B<A.length;B++)""===A[B].pid&&(A[B].pid=P);A.unshift({hasMultipleRoots:!0,id:P,pid:"",label:""})}}else{var L,D=[];for(L in w)_[L]||D.push(L);if(1!==D.length)return o.warn(["Multiple implied roots, cannot build",t.type,"hierarchy of",t.name+".","These roots include:",D.join(", ")].join(" "));L=D[0],A.unshift({hasImpliedRoot:!0,id:L,pid:"",label:L})}try{p=n.stratify().id((function(e){return e.id})).parentId((function(e){return e.pid}))(A)}catch(U){return o.warn(["Failed to build",t.type,"hierarchy of",t.name+".","Error:",U.message].join(" "))}var I=n.hierarchy(p),j=!1;if(x)switch(t.branchvalues){case"remainder":I.sum((function(e){return e.data.v}));break;case"total":I.each((function(e){var r=e.data.data,n=r.v;if(e.children){var i=e.children.reduce((function(e,t){return e+t.data.data.v}),0);if((r.hasImpliedRoot||r.hasMultipleRoots)&&(n=i),n<i*c)return j=!0,o.warn(["Total value for node",e.data.data.id,"of",t.name,"is smaller than the sum of its children.","\nparent value =",n,"\nchildren sum =",i].join(" "))}e.value=n}));break}else d(I,t,{branches:-1!==t.count.indexOf("branches"),leaves:-1!==t.count.indexOf("leaves")});if(!j){var R,F;t.sort&&I.sort((function(e,t){return t.value-e.value}));var N=t.marker.colors||[],z=!!N.length;return t._hasColorscale?(z||(N=x?t.values:t._values),u(e,t,{vals:N,containerStr:"marker",cLetter:"c"}),F=a(t.marker)):R=s(h["_"+t.type+"colormap"]),I.each((function(e){var r=e.data.data;r.color=t._hasColorscale?F(N[r.i]):R(N[r.i],r.id)})),A[0].hierarchy=I,A}},t._runCrossTraceCalc=function(e,t){var r=t._fullLayout,n=t.calcdata,i=r[e+"colorway"],o=r["_"+e+"colormap"];r["extend"+e+"colors"]&&(i=l(i,"treemap"===e?p:f));var a,s=0;function u(e){var t=e.data.data,r=t.id;!1===t.color&&(o[r]?t.color=o[r]:e.parent?e.parent.parent?t.color=e.parent.data.data.color:(o[r]=t.color=i[s%i.length],s++):t.color=a)}for(var c=0;c<n.length;c++){var d=n[c],h=d[0];h.trace.type===e&&h.hierarchy&&(a=h.trace.root.color,h.hierarchy.each(u))}},t.crossTraceCalc=function(e){return t._runCrossTraceCalc("sunburst",e)}},"13a4":function(e,t,r){"use strict";var n=r("fc26"),i=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,r,o){return e="left"===r?0:"center"===r?1:"right"===r?2:n.constrain(Math.floor(3*e),0,2),t="bottom"===o?0:"middle"===o?1:"top"===o?2:n.constrain(Math.floor(3*t),0,2),i[t][e]}},"13c3":function(e,t,r){"use strict";var n=r("1bea");e.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,r,n,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return o=255*l,[o,o,o];r=l<.5?l*(1+s):l+s-l*s,t=2*l-r,i=[0,0,0];for(var u=0;u<3;u++)n=a+1/3*-(u-1),n<0?n++:n>1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[u]=255*o;return i}},n.hsl=function(e){var t,r,n,i=e[0]/255,o=e[1]/255,a=e[2]/255,s=Math.min(i,o,a),l=Math.max(i,o,a),u=l-s;return l===s?t=0:i===l?t=(o-a)/u:o===l?t=2+(a-i)/u:a===l&&(t=4+(i-o)/u),t=Math.min(60*t,360),t<0&&(t+=360),n=(s+l)/2,r=l===s?0:n<=.5?u/(l+s):u/(2-l-s),[t,100*r,100*n]}},"13c4":function(e,t,r){"use strict";var n=r("371e"),i=r("bb71"),o=r("3c1c"),a=r("7559"),s=r("236d").eraseActiveShape,l=r("fc26"),u=l._,c=e.exports={};function f(e,t){var r,i,a=t.currentTarget,s=a.getAttribute("data-attr"),l=a.getAttribute("data-val")||!0,u=e._fullLayout,c={},f=o.list(e,null,!0),p=u._cartesianSpikesEnabled;if("zoom"===s){var d,h="in"===l?.5:2,v=(1+h)/2,m=(1-h)/2;for(i=0;i<f.length;i++)if(r=f[i],!r.fixedrange)if(d=r._name,"auto"===l)c[d+".autorange"]=!0;else if("reset"===l){if(void 0===r._rangeInitial)c[d+".autorange"]=!0;else{var g=r._rangeInitial.slice();c[d+".range[0]"]=g[0],c[d+".range[1]"]=g[1]}void 0!==r._showSpikeInitial&&(c[d+".showspikes"]=r._showSpikeInitial,"on"!==p||r._showSpikeInitial||(p="off"))}else{var y=[r.r2l(r.range[0]),r.r2l(r.range[1])],b=[v*y[0]+m*y[1],v*y[1]+m*y[0]];c[d+".range[0]"]=r.l2r(b[0]),c[d+".range[1]"]=r.l2r(b[1])}}else"hovermode"!==s||"x"!==l&&"y"!==l||(l=u._isHoriz?"y":"x",a.setAttribute("data-val",l)),c[s]=l;u._cartesianSpikesEnabled=p,n.call("_guiRelayout",e,c)}function p(e,t){for(var r=t.currentTarget,i=r.getAttribute("data-attr"),o=r.getAttribute("data-val")||!0,a=e._fullLayout._subplots.gl3d||[],s={},l=i.split("."),u=0;u<a.length;u++)s[a[u]+"."+l[1]]=o;var c="pan"===o?o:"zoom";s.dragmode=c,n.call("_guiRelayout",e,s)}function d(e,t){for(var r=t.currentTarget,i=r.getAttribute("data-attr"),o="resetLastSave"===i,a="resetDefault"===i,s=e._fullLayout,l=s._subplots.gl3d||[],u={},c=0;c<l.length;c++){var f,p=l[c],d=p+".camera",h=p+".aspectratio",v=p+".aspectmode",m=s[p]._scene;o?(u[d+".up"]=m.viewInitial.up,u[d+".eye"]=m.viewInitial.eye,u[d+".center"]=m.viewInitial.center,f=!0):a&&(u[d+".up"]=null,u[d+".eye"]=null,u[d+".center"]=null,f=!0),f&&(u[h+".x"]=m.viewInitial.aspectratio.x,u[h+".y"]=m.viewInitial.aspectratio.y,u[h+".z"]=m.viewInitial.aspectratio.z,u[v]=m.viewInitial.aspectmode)}n.call("_guiRelayout",e,u)}function h(e,t){var r=t.currentTarget,n=r._previousVal,i=e._fullLayout,o=i._subplots.gl3d||[],a=["xaxis","yaxis","zaxis"],s={},l={};if(n)l=n,r._previousVal=null;else{for(var u=0;u<o.length;u++){var c=o[u],f=i[c],p=c+".hovermode";s[p]=f.hovermode,l[p]=!1;for(var d=0;d<3;d++){var h=a[d],v=c+"."+h+".showspikes";l[v]=!1,s[v]=f[h].showspikes}}r._previousVal=s}return l}function v(e,t){var r=h(e,t);n.call("_guiRelayout",e,r)}function m(e,t){for(var r=t.currentTarget,i=r.getAttribute("data-attr"),o=r.getAttribute("data-val")||!0,a=e._fullLayout,s=a._subplots.geo||[],l=0;l<s.length;l++){var u=s[l],c=a[u];if("zoom"===i){var f=c.projection.scale,p="in"===o?2*f:.5*f;n.call("_guiRelayout",e,u+".projection.scale",p)}}"reset"===i&&A(e,"geo")}function g(e){var t=e._fullLayout;return!t.hovermode&&(t._has("cartesian")?t._isHoriz?"y":"x":"closest")}function y(e){var t=g(e);n.call("_guiRelayout",e,"hovermode",t)}function b(e){for(var t=e._fullLayout,r="on"===t._cartesianSpikesEnabled,n=o.list(e,null,!0),i={},a=0;a<n.length;a++){var s=n[a];i[s._name+".showspikes"]=!!r||s._showSpikeInitial}return i}function x(e,t){for(var r=t.currentTarget,i=r.getAttribute("data-val"),o=e._fullLayout,a=o._subplots.mapbox||[],s=1.05,l={},u=0;u<a.length;u++){var c=a[u],f=o[c].zoom,p="in"===i?s*f:f/s;l[c+".zoom"]=p}n.call("_guiRelayout",e,l)}function A(e,t){for(var r=e._fullLayout,i=r._subplots[t]||[],o={},a=0;a<i.length;a++)for(var s=i[a],l=r[s]._subplot,u=l.viewInitial,c=Object.keys(u),f=0;f<c.length;f++){var p=c[f];o[s+"."+p]=u[p]}n.call("_guiRelayout",e,o)}c.toImage={name:"toImage",title:function(e){var t=e._context.toImageButtonOptions||{},r=t.format||"png";return u(e,"png"===r?"Download plot as a png":"Download plot")},icon:a.camera,click:function(e){var t=e._context.toImageButtonOptions,r={format:t.format||"png"};l.notifier(u(e,"Taking snapshot - this may take a few seconds"),"long"),"svg"!==r.format&&l.isIE()&&(l.notifier(u(e,"IE only supports svg. Changing format to svg."),"long"),r.format="svg"),["filename","width","height","scale"].forEach((function(e){e in t&&(r[e]=t[e])})),n.call("downloadImage",e,r).then((function(t){l.notifier(u(e,"Snapshot succeeded")+" - "+t,"long")})).catch((function(){l.notifier(u(e,"Sorry, there was a problem downloading your snapshot!"),"long")}))}},c.sendDataToCloud={name:"sendDataToCloud",title:function(e){return u(e,"Edit in Chart Studio")},icon:a.disk,click:function(e){i.sendDataToCloud(e)}},c.editInChartStudio={name:"editInChartStudio",title:function(e){return u(e,"Edit in Chart Studio")},icon:a.pencil,click:function(e){i.sendDataToCloud(e)}},c.zoom2d={name:"zoom2d",title:function(e){return u(e,"Zoom")},attr:"dragmode",val:"zoom",icon:a.zoombox,click:f},c.pan2d={name:"pan2d",title:function(e){return u(e,"Pan")},attr:"dragmode",val:"pan",icon:a.pan,click:f},c.select2d={name:"select2d",title:function(e){return u(e,"Box Select")},attr:"dragmode",val:"select",icon:a.selectbox,click:f},c.lasso2d={name:"lasso2d",title:function(e){return u(e,"Lasso Select")},attr:"dragmode",val:"lasso",icon:a.lasso,click:f},c.drawclosedpath={name:"drawclosedpath",title:function(e){return u(e,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:a.drawclosedpath,click:f},c.drawopenpath={name:"drawopenpath",title:function(e){return u(e,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:a.drawopenpath,click:f},c.drawline={name:"drawline",title:function(e){return u(e,"Draw line")},attr:"dragmode",val:"drawline",icon:a.drawline,click:f},c.drawrect={name:"drawrect",title:function(e){return u(e,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:a.drawrect,click:f},c.drawcircle={name:"drawcircle",title:function(e){return u(e,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:a.drawcircle,click:f},c.eraseshape={name:"eraseshape",title:function(e){return u(e,"Erase active shape")},icon:a.eraseshape,click:s},c.zoomIn2d={name:"zoomIn2d",title:function(e){return u(e,"Zoom in")},attr:"zoom",val:"in",icon:a.zoom_plus,click:f},c.zoomOut2d={name:"zoomOut2d",title:function(e){return u(e,"Zoom out")},attr:"zoom",val:"out",icon:a.zoom_minus,click:f},c.autoScale2d={name:"autoScale2d",title:function(e){return u(e,"Autoscale")},attr:"zoom",val:"auto",icon:a.autoscale,click:f},c.resetScale2d={name:"resetScale2d",title:function(e){return u(e,"Reset axes")},attr:"zoom",val:"reset",icon:a.home,click:f},c.hoverClosestCartesian={name:"hoverClosestCartesian",title:function(e){return u(e,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:a.tooltip_basic,gravity:"ne",click:f},c.hoverCompareCartesian={name:"hoverCompareCartesian",title:function(e){return u(e,"Compare data on hover")},attr:"hovermode",val:function(e){return e._fullLayout._isHoriz?"y":"x"},icon:a.tooltip_compare,gravity:"ne",click:f},c.zoom3d={name:"zoom3d",title:function(e){return u(e,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:a.zoombox,click:p},c.pan3d={name:"pan3d",title:function(e){return u(e,"Pan")},attr:"scene.dragmode",val:"pan",icon:a.pan,click:p},c.orbitRotation={name:"orbitRotation",title:function(e){return u(e,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:a["3d_rotate"],click:p},c.tableRotation={name:"tableRotation",title:function(e){return u(e,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:a["z-axis"],click:p},c.resetCameraDefault3d={name:"resetCameraDefault3d",title:function(e){return u(e,"Reset camera to default")},attr:"resetDefault",icon:a.home,click:d},c.resetCameraLastSave3d={name:"resetCameraLastSave3d",title:function(e){return u(e,"Reset camera to last save")},attr:"resetLastSave",icon:a.movie,click:d},c.hoverClosest3d={name:"hoverClosest3d",title:function(e){return u(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:a.tooltip_basic,gravity:"ne",click:v},c.zoomInGeo={name:"zoomInGeo",title:function(e){return u(e,"Zoom in")},attr:"zoom",val:"in",icon:a.zoom_plus,click:m},c.zoomOutGeo={name:"zoomOutGeo",title:function(e){return u(e,"Zoom out")},attr:"zoom",val:"out",icon:a.zoom_minus,click:m},c.resetGeo={name:"resetGeo",title:function(e){return u(e,"Reset")},attr:"reset",val:null,icon:a.autoscale,click:m},c.hoverClosestGeo={name:"hoverClosestGeo",title:function(e){return u(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:a.tooltip_basic,gravity:"ne",click:y},c.hoverClosestGl2d={name:"hoverClosestGl2d",title:function(e){return u(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:a.tooltip_basic,gravity:"ne",click:y},c.hoverClosestPie={name:"hoverClosestPie",title:function(e){return u(e,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:a.tooltip_basic,gravity:"ne",click:y},c.resetViewSankey={name:"resetSankeyGroup",title:function(e){return u(e,"Reset view")},icon:a.home,click:function(e){for(var t={"node.groups":[],"node.x":[],"node.y":[]},r=0;r<e._fullData.length;r++){var i=e._fullData[r]._viewInitial;t["node.groups"].push(i.node.groups.slice()),t["node.x"].push(i.node.x.slice()),t["node.y"].push(i.node.y.slice())}n.call("restyle",e,t)}},c.toggleHover={name:"toggleHover",title:function(e){return u(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:a.tooltip_basic,gravity:"ne",click:function(e,t){var r=h(e,t);r.hovermode=g(e),n.call("_guiRelayout",e,r)}},c.resetViews={name:"resetViews",title:function(e){return u(e,"Reset views")},icon:a.home,click:function(e,t){var r=t.currentTarget;r.setAttribute("data-attr","zoom"),r.setAttribute("data-val","reset"),f(e,t),r.setAttribute("data-attr","resetLastSave"),d(e,t),A(e,"geo"),A(e,"mapbox")}},c.toggleSpikelines={name:"toggleSpikelines",title:function(e){return u(e,"Toggle Spike Lines")},icon:a.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(e){var t=e._fullLayout,r=t._cartesianSpikesEnabled;t._cartesianSpikesEnabled="on"===r?"off":"on",n.call("_guiRelayout",e,b(e))}},c.resetViewMapbox={name:"resetViewMapbox",title:function(e){return u(e,"Reset view")},attr:"reset",icon:a.home,click:function(e){A(e,"mapbox")}},c.zoomInMapbox={name:"zoomInMapbox",title:function(e){return u(e,"Zoom in")},attr:"zoom",val:"in",icon:a.zoom_plus,click:x},c.zoomOutMapbox={name:"zoomOutMapbox",title:function(e){return u(e,"Zoom out")},attr:"zoom",val:"out",icon:a.zoom_minus,click:x}},1417:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],p=t[9],d=t[10],h=t[11],v=t[12],m=t[13],g=t[14],y=t[15],b=r[0],x=r[1],A=r[2],w=r[3];return e[0]=b*n+x*s+A*f+w*v,e[1]=b*i+x*l+A*p+w*m,e[2]=b*o+x*u+A*d+w*g,e[3]=b*a+x*c+A*h+w*y,b=r[4],x=r[5],A=r[6],w=r[7],e[4]=b*n+x*s+A*f+w*v,e[5]=b*i+x*l+A*p+w*m,e[6]=b*o+x*u+A*d+w*g,e[7]=b*a+x*c+A*h+w*y,b=r[8],x=r[9],A=r[10],w=r[11],e[8]=b*n+x*s+A*f+w*v,e[9]=b*i+x*l+A*p+w*m,e[10]=b*o+x*u+A*d+w*g,e[11]=b*a+x*c+A*h+w*y,b=r[12],x=r[13],A=r[14],w=r[15],e[12]=b*n+x*s+A*f+w*v,e[13]=b*i+x*l+A*p+w*m,e[14]=b*o+x*u+A*d+w*g,e[15]=b*a+x*c+A*h+w*y,e}e.exports=r},"144c":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,2H4C2.9,2 2,2.9 2,4V22L6,18H20C21.1,18 22,17.1 22,16V4C22,2.9 21.1,2 20,2M20,16H6L4,18V4H20"}))};e.exports=s},"145a":function(e,t,r){"use strict";var n=r("ad62").getModuleCalcData,i=r("3e11"),o="parcats";t.name=o,t.plot=function(e,t,r,a){var s=n(e.calcdata,o);if(s.length){var l=s[0];i(e,l,r,a)}},t.clean=function(e,t,r,n){var i=n._has&&n._has("parcats"),o=t._has&&t._has("parcats");i&&!o&&n._paperdiv.selectAll(".parcats").remove()}},1477:function(e,t,r){"use strict";var n=r("dcf3");function i(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(r){e=!1}return e}e.exports=n&&i()},1479:function(e,t){function r(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=0,e[2]=-r,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=r,e[9]=0,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},"14ab":function(e,t,r){"use strict";e.exports=function(){var e,t=Object.assign;return"function"===typeof t&&(e={foo:"raz"},t(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"14b6":function(e,t,r){"use strict";var n=r("bb4a"),i=r("cb34").overrideAll,o=r("a651").templatedArray;e.exports=i(o("annotation",{visible:n.visible,x:{valType:"any",role:"info",description:["Sets the annotation's x position."].join(" ")},y:{valType:"any",role:"info",description:["Sets the annotation's y position."].join(" ")},z:{valType:"any",role:"info",description:["Sets the annotation's z position."].join(" ")},ax:{valType:"number",role:"info",description:["Sets the x component of the arrow tail about the arrow head (in pixels)."].join(" ")},ay:{valType:"number",role:"info",description:["Sets the y component of the arrow tail about the arrow head (in pixels)."].join(" ")},xanchor:n.xanchor,xshift:n.xshift,yanchor:n.yanchor,yshift:n.yshift,text:n.text,textangle:n.textangle,font:n.font,width:n.width,height:n.height,opacity:n.opacity,align:n.align,valign:n.valign,bgcolor:n.bgcolor,bordercolor:n.bordercolor,borderpad:n.borderpad,borderwidth:n.borderwidth,showarrow:n.showarrow,arrowcolor:n.arrowcolor,arrowhead:n.arrowhead,startarrowhead:n.startarrowhead,arrowside:n.arrowside,arrowsize:n.arrowsize,startarrowsize:n.startarrowsize,arrowwidth:n.arrowwidth,standoff:n.standoff,startstandoff:n.startstandoff,hovertext:n.hovertext,hoverlabel:n.hoverlabel,captureevents:n.captureevents}),"calc","from-root")},"14c3":function(e,t,r){var n=r("c6b6"),i=r("9263");e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"14cf":function(e,t,r){"use strict";e.exports=function(){var e,t,r=Array.from;return"function"===typeof r&&(e=["raz","dwa"],t=r(e),Boolean(t&&t!==e&&"dwa"===t[1]))}},"14e0":function(e,t,r){!function(t,n){e.exports=n(r("ab5b"),r("8bc8"))}(0,(function(e,t){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=82)}([function(t,r){t.exports=e},function(e,t,r){(function(t){if("production"!==t.env.NODE_ENV){var n="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n};e.exports=r(120)(i,!0)}else e.exports=r(122)()}).call(t,r(26))},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(43),i=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(113),o=n(i),a=r(117),s=n(a),l=r(43),u=n(l);t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(86),i=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t){var r=e.exports={version:"2.6.2"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(40)("wks"),i=r(29),o=r(11).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,r){e.exports=t},function(e,t,r){"use strict";t.__esModule=!0;var n=r(69),i=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,i.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){var n=r(11),i=r(6),o=r(34),a=r(19),s=r(14),l=function(e,t,r){var u,c,f,p=e&l.F,d=e&l.G,h=e&l.S,v=e&l.P,m=e&l.B,g=e&l.W,y=d?i:i[t]||(i[t]={}),b=y.prototype,x=d?n:h?n[t]:(n[t]||{}).prototype;for(u in d&&(r=t),r)(c=!p&&x&&void 0!==x[u])&&s(y,u)||(f=c?x[u]:r[u],y[u]=d&&"function"!=typeof x[u]?r[u]:m&&c?o(f,n):g&&x[u]==f?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,e&l.R&&b&&!b[u]&&a(b,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(20),i=r(58),o=r(35),a=Object.defineProperty;t.f=r(13)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){e.exports=!r(22)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(61),i=r(37);e.exports=function(e){return n(i(e))}},function(e,t,r){var n,i;!function(){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)o.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(r.default=r,e.exports=r):(n=[],void 0!==(i=function(){return r}.apply(t,n))&&(e.exports=i))}()},function(e,t,r){"use strict";function n(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function i(e,t,r){var n=r;if("object"!==("undefined"===typeof t?"undefined":C(t)))return"undefined"!==typeof n?("number"===typeof n&&(n+="px"),void(e.style[t]=n)):O(e,t);for(var o in t)t.hasOwnProperty(o)&&i(e,o,t[o])}function o(e){var t=void 0,r=void 0,n=void 0,i=e.ownerDocument,o=i.body,a=i&&i.documentElement;return t=e.getBoundingClientRect(),r=t.left,n=t.top,r-=a.clientLeft||o.clientLeft||0,n-=a.clientTop||o.clientTop||0,{left:r,top:n}}function a(e,t){var r=e["page"+(t?"Y":"X")+"Offset"],n="scroll"+(t?"Top":"Left");if("number"!==typeof r){var i=e.document;r=i.documentElement[n],"number"!==typeof r&&(r=i.body[n])}return r}function s(e){return a(e)}function l(e){return a(e,!0)}function u(e){var t=o(e),r=e.ownerDocument,n=r.defaultView||r.parentWindow;return t.left+=s(n),t.top+=l(n),t}function c(e){return null!==e&&void 0!==e&&e==e.window}function f(e){return c(e)?e.document:9===e.nodeType?e:e.ownerDocument}function p(e,t,r){var n=r,i="",o=f(e);return n=n||o.defaultView.getComputedStyle(e,null),n&&(i=n.getPropertyValue(t)||n[t]),i}function d(e,t){var r=e[B]&&e[B][t];if(M.test(r)&&!P.test(t)){var n=e.style,i=n[D],o=e[L][D];e[L][D]=e[B][D],n[D]="fontSize"===t?"1em":r||0,r=n.pixelLeft+I,n[D]=i,e[L][D]=o}return""===r?"auto":r}function h(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function v(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function m(e,t,r){"static"===i(e,"position")&&(e.style.position="relative");var o=-999,a=-999,s=h("left",r),l=h("top",r),c=v(s),f=v(l);"left"!==s&&(o=999),"top"!==l&&(a=999);var p="",d=u(e);("left"in t||"top"in t)&&(p=Object(T.c)(e)||"",Object(T.e)(e,"none")),"left"in t&&(e.style[c]="",e.style[s]=o+"px"),"top"in t&&(e.style[f]="",e.style[l]=a+"px"),n(e);var m=u(e),g={};for(var y in t)if(t.hasOwnProperty(y)){var b=h(y,r),x="left"===y?o:a,A=d[y]-m[y];g[b]=b===y?x+A:x-A}i(e,g),n(e),("left"in t||"top"in t)&&Object(T.e)(e,p);var w={};for(var _ in t)if(t.hasOwnProperty(_)){var E=h(_,r),k=t[_]-d[_];w[E]=_===E?g[E]+k:g[E]-k}i(e,w)}function g(e,t){var r=u(e),n=Object(T.b)(e),i={x:n.x,y:n.y};"left"in t&&(i.x=n.x+t.left-r.left),"top"in t&&(i.y=n.y+t.top-r.top),Object(T.d)(e,i)}function y(e,t,r){if(r.ignoreShake){var n=u(e),i=n.left.toFixed(0),o=n.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(i===a&&o===s)return}r.useCssRight||r.useCssBottom?m(e,t,r):r.useCssTransform&&Object(T.a)()in document.body.style?g(e,t,r):m(e,t,r)}function b(e,t){for(var r=0;r<e.length;r++)t(e[r])}function x(e){return"border-box"===O(e,"boxSizing")}function A(e,t,r){var n={},i=e.style,o=void 0;for(o in t)t.hasOwnProperty(o)&&(n[o]=i[o],i[o]=t[o]);for(o in r.call(e),t)t.hasOwnProperty(o)&&(i[o]=n[o])}function w(e,t,r){var n=0,i=void 0,o=void 0,a=void 0;for(o=0;o<t.length;o++)if(i=t[o])for(a=0;a<r.length;a++){var s=void 0;s="border"===i?""+i+r[a]+"Width":i+r[a],n+=parseFloat(O(e,s))||0}return n}function _(e,t,r){var n=r;if(c(e))return"width"===t?z.viewportWidth(e):z.viewportHeight(e);if(9===e.nodeType)return"width"===t?z.docWidth(e):z.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=O(e),s=x(e,a),l=0;(null===o||void 0===o||o<=0)&&(o=void 0,l=O(e,t),(null===l||void 0===l||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===n&&(n=s?N:R);var u=void 0!==o||s,f=o||l;return n===R?u?f-w(e,["border","padding"],i,a):l:u?n===N?f:f+(n===F?-w(e,["border"],i,a):w(e,["margin"],i,a)):l+w(e,j.slice(n),i,a)}function E(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=void 0,i=t[0];return 0!==i.offsetWidth?n=_.apply(void 0,t):A(i,U,(function(){n=_.apply(void 0,t)})),n}function k(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}var T=r(137),C="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},S=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,O=void 0,M=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),P=/^(top|right|bottom|left)$/,B="currentStyle",L="runtimeStyle",D="left",I="px";"undefined"!==typeof window&&(O=window.getComputedStyle?p:d);var j=["margin","border","padding"],R=-1,F=2,N=1,z={};b(["Width","Height"],(function(e){z["doc"+e]=function(t){var r=t.document;return Math.max(r.documentElement["scroll"+e],r.body["scroll"+e],z["viewport"+e](r))},z["viewport"+e]=function(t){var r="client"+e,n=t.document,i=n.body,o=n.documentElement,a=o[r];return"CSS1Compat"===n.compatMode&&a||i&&i[r]||a}}));var U={position:"absolute",visibility:"hidden",display:"block"};b(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);z["outer"+t]=function(t,r){return t&&E(t,e,r?0:N)};var r="width"===e?["Left","Right"]:["Top","Bottom"];z[e]=function(t,n){var o=n;if(void 0===o)return t&&E(t,e,R);if(t){var a=O(t);return x(t)&&(o+=w(t,["padding","border"],r,a)),i(t,e,o)}}}));var H={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:f,offset:function(e,t,r){if("undefined"===typeof t)return u(e);y(e,t,r||{})},isWindow:c,each:b,css:i,clone:function(e){var t=void 0,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(r.overflow[t]=e.overflow[t]);return r},mix:k,getWindowScrollLeft:function(e){return s(e)},getWindowScrollTop:function(e){return l(e)},merge:function(){for(var e={},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var i=0;i<r.length;i++)H.mix(e,r[i]);return e},viewportWidth:0,viewportHeight:0};k(H,z),t.a=H},function(e,t,r){"use strict";t.__esModule=!0;var n=r(69),i=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e,t,r){return t in e?(0,i.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){var n=r(12),i=r(23);e.exports=r(13)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(21);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},function(e,t){e.exports={}},function(e,t){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===r||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!v){var e=i(a);v=!0;for(var t=h.length;t;){for(d=h,h=[];++m<t;)d&&d[m].run();m=-1,t=h.length}d=null,v=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,f,p=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:r}catch(e){c=r}try{f="function"===typeof clearTimeout?clearTimeout:n}catch(e){f=n}}();var d,h=[],v=!1,m=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];h.push(new l(e,t)),1!==h.length||v||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,r){var n=r(60),i=r(41);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(37);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";function n(e,t,r,n){var i=s.a.unstable_batchedUpdates?function(e){s.a.unstable_batchedUpdates(r,e)}:r;return o()(e,t,i,n)}t.a=n;var i=r(125),o=r.n(i),a=r(8),s=r.n(a)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_NPREVIEWCOLORS=t.DEFAULT_SWATCH_WIDTH=t.DEFAULT_BREAKPOINTS=t.DEFAULT_LOG_BREAKPOINTS=t.DEFAULT_SCALE=t.DEFAULT_SWATCHES=t.DEFAULT_NCOLORS=t.DEFAULT_LIGHTNESS=t.DEFAULT_GAMMA=t.DEFAULT_HUE=t.DEFAULT_ROTATIONS=t.DEFAULT_START=t.CUBEHELIX=t.CMOCEAN=t.BUILTINS=t.BREWER=t.COLORSCALE_DESCRIPTIONS=t.SCALES_WITHOUT_LOG=t.COLORSCALE_TYPES=void 0;var n=r(56),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o=(t.COLORSCALE_TYPES=["sequential","divergent","categorical","cyclical","cubehelix","cmocean","custom"],t.SCALES_WITHOUT_LOG=["divergent","categorical","custom"],t.COLORSCALE_DESCRIPTIONS={sequential:"Use sequential colorscales for data that smoothly changes value and has meaningful order.",divergent:"Use divergent colorscales for data that smoothly changes around a centerpoint (such as zero).",categorical:"Use categorical colorscales for data that has distinct groups and a non-meaningful order.",cyclical:"Use cyclical colorscales for data that has a natural cycle, such as angular, diurnal or seasonal data.",cubehelix:'Cubehelix colorscales are like sequential scales, but have the added benefit of printing clearly in black & white. Adjust the "start" slider to change the scale\'s base color. A cubehelix scale with 0 rotation transitions through a single base color. A scale with non-zero rotation "rotates" through other colors. Change the rotation slightly to add a touch of another color, change it more to create a scale with multiple colors.',cmocean:"cmocean colorscales are a mix of sequential and diverging scales. They were originally developed for oceanography data, but can be applied beautifully to any other type of data as well.",custom:"Select a sequential or categorical colorscale, then set customized breakpoints for it in the text box above. The breakpoints should have meaning to your data. For example, you could color data related to human age by groups in between the years 0, 5, 13, 20, 40, and 70. Click the preview colorscale below when you are satisfied with your breakpoints."},t.BREWER={sequential:["Purples","Blues","Greens","Oranges","Reds","YlOrBr","YlOrRd","OrRd","PuRd","RdPu","BuPu","PuBu","PuBuGn","GnBu","BuGn","YlGnBu","YlGn","Greys"],divergent:["Spectral","RdYlGn","RdBu","PiYG","PRGn","RdYlBu","BrBG","RdGy"],categorical:["Set1","Pastel1","Dark2","Set2","Pastel2","Set3"]},t.BUILTINS={sequential:{Viridis:["#440154","#482878","#3e4989","#31688e","#26828e","#1f9e89","#35b779","#6ece58","#b5de2b","#fde725"],Cividis:["#00224e","#123570","#3b496c","#575d6d","#707173","#8a8678","#a59c74","#c3b369","#e1cc55","#fee838"],Inferno:["#000004","#1b0c41","#4a0c6b","#781c6d","#a52c60","#cf4446","#ed6925","#fb9b06","#f7d13d","#fcffa4"],Magma:["#000004","#180f3d","#440f76","#721f81","#9e2f7f","#cd4071","#f1605d","#fd9668","#feca8d","#fcfdbf"],Plasma:["#0d0887","#46039f","#7201a8","#9c179e","#bd3786","#d8576b","#ed7953","#fb9f3a","#fdca26","#f0f921"]},categorical:{D3:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],G10:["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395"],T10:["#4c78a8","#f58518","#e45756","#72b7b2","#54a24b","#eeca3b","#b279a2","#ff9da6","#9d755d","#bab0ac"],Alphabet:["#AA0DFE","#3283FE","#85660D","#782AB6","#565656","#1C8356","#16FF32","#F7E1A0","#E2E2E2","#1CBE4F","#C4451C","#DEA0FD","#FE00FA","#325A9B","#FEAF16","#F8A19F","#90AD1C","#F6222E","#1CFFCE","#2ED9FF","#B10DA1","#C075A6","#FC1CBF","#B00068","#FBE426","#FA0087"],Dark24:["#2E91E5","#E15F99","#1CA71C","#FB0D0D","#DA16FF","#222A2A","#B68100","#750D86","#EB663B","#511CFB","#00A08B","#FB00D1","#FC0080","#B2828D","#6C7C32","#778AAE","#862A16","#A777F1","#620042","#1616A7","#DA60CA","#6C4516","#0D2A63","#AF0038"],Light24:["#FD3216","#00FE35","#6A76FC","#FED4C4","#FE00CE","#0DF9FF","#F6F926","#FF9616","#479B55","#EEA6FB","#DC587D","#D626FF","#6E899C","#00B5F7","#B68E00","#C9FBE5","#FF0092","#22FFA7","#E3EE9E","#86CE00","#BC7196","#7E7DCD","#FC6955","#E48F72"]},cyclical:{Twilight:["#e2d9e2","#9ebbc9","#6785be","#5e43a5","#421257","#471340","#8e2c50","#ba6657","#ceac94","#e2d9e2"],IceFire:["#000000","#001f4d","#003786","#0e58a8","#217eb8","#30a4ca","#54c8df","#9be4ef","#e1e9d1","#f3d573","#e7b000","#da8200","#c65400","#ac2301","#820000","#4c0000","#040100"],Edge:["#313131","#3d019d","#3810dc","#2d47f9","#2593ff","#2adef6","#60fdfa","#aefdff","#f3f3f1","#fffda9","#fafd5b","#f7da29","#ff8e25","#f8432d","#d90d39","#97023d","#313131"],Phase:["rgb(167, 119, 12)","rgb(197, 96, 51)","rgb(217, 67, 96)","rgb(221, 38, 163)","rgb(196, 59, 224)","rgb(153, 97, 244)","rgb(95, 127, 228)","rgb(40, 144, 183)","rgb(15, 151, 136)","rgb(39, 153, 79)","rgb(119, 141, 17)","rgb(167, 119, 12)"],HSV:["#ff0000","#ffa700","#afff00","#08ff00","#00ff9f","#00b7ff","#0010ff","#9700ff","#ff00bf","#ff0018"],mrybm:["#f884f7","#f968c4","#ea4388","#cf244b","#b51a15","#bd4304","#cc6904","#d58f04","#cfaa27","#a19f62","#588a93","#2269c4","#3e3ef0","#6b4ef9","#956bfa","#cd7dfe"],mygbm:["#ef55f1","#fb84ce","#fbafa1","#fcd471","#f0ed35","#c6e516","#96d310","#61c10b","#31ac28","#439064","#3d719a","#284ec8","#2e21ea","#6324f5","#9139fa","#c543fa"]}},t.CMOCEAN={turbid:["rgb(232, 245, 171)","rgb(220, 219, 137)","rgb(209, 193, 107)","rgb(199, 168, 83)","rgb(186, 143, 66)","rgb(170, 121, 60)","rgb(151, 103, 58)","rgb(129, 87, 56)","rgb(104, 72, 53)","rgb(80, 59, 46)","rgb(57, 45, 37)","rgb(34, 30, 27)"],thermal:["rgb(3, 35, 51)","rgb(13, 48, 100)","rgb(53, 50, 155)","rgb(93, 62, 153)","rgb(126, 77, 143)","rgb(158, 89, 135)","rgb(193, 100, 121)","rgb(225, 113, 97)","rgb(246, 139, 69)","rgb(251, 173, 60)","rgb(246, 211, 70)","rgb(231, 250, 90)"],haline:["rgb(41, 24, 107)","rgb(42, 35, 160)","rgb(15, 71, 153)","rgb(18, 95, 142)","rgb(38, 116, 137)","rgb(53, 136, 136)","rgb(65, 157, 133)","rgb(81, 178, 124)","rgb(111, 198, 107)","rgb(160, 214, 91)","rgb(212, 225, 112)","rgb(253, 238, 153)"],solar:["rgb(51, 19, 23)","rgb(79, 28, 33)","rgb(108, 36, 36)","rgb(135, 47, 32)","rgb(157, 66, 25)","rgb(174, 88, 20)","rgb(188, 111, 19)","rgb(199, 137, 22)","rgb(209, 164, 32)","rgb(217, 192, 44)","rgb(222, 222, 59)","rgb(224, 253, 74)"],ice:["rgb(3, 5, 18)","rgb(25, 25, 51)","rgb(44, 42, 87)","rgb(58, 60, 125)","rgb(62, 83, 160)","rgb(62, 109, 178)","rgb(72, 134, 187)","rgb(89, 159, 196)","rgb(114, 184, 205)","rgb(149, 207, 216)","rgb(192, 229, 232)","rgb(234, 252, 253)"],gray:["rgb(0, 0, 0)","rgb(16, 16, 16)","rgb(38, 38, 38)","rgb(59, 59, 59)","rgb(81, 80, 80)","rgb(102, 101, 101)","rgb(124, 123, 122)","rgb(146, 146, 145)","rgb(171, 171, 170)","rgb(197, 197, 195)","rgb(224, 224, 223)","rgb(254, 254, 253)"],oxy:["rgb(63, 5, 5)","rgb(101, 6, 13)","rgb(138, 17, 9)","rgb(96, 95, 95)","rgb(119, 118, 118)","rgb(142, 141, 141)","rgb(166, 166, 165)","rgb(193, 192, 191)","rgb(222, 222, 220)","rgb(239, 248, 90)","rgb(230, 210, 41)","rgb(220, 174, 25)"],deep:["rgb(253, 253, 204)","rgb(206, 236, 179)","rgb(156, 219, 165)","rgb(111, 201, 163)","rgb(86, 177, 163)","rgb(76, 153, 160)","rgb(68, 130, 155)","rgb(62, 108, 150)","rgb(62, 82, 143)","rgb(64, 60, 115)","rgb(54, 43, 77)","rgb(39, 26, 44)"],dense:["rgb(230, 240, 240)","rgb(191, 221, 229)","rgb(156, 201, 226)","rgb(129, 180, 227)","rgb(115, 154, 228)","rgb(117, 127, 221)","rgb(120, 100, 202)","rgb(119, 74, 175)","rgb(113, 50, 141)","rgb(100, 31, 104)","rgb(80, 20, 66)","rgb(54, 14, 36)"],algae:["rgb(214, 249, 207)","rgb(186, 228, 174)","rgb(156, 209, 143)","rgb(124, 191, 115)","rgb(85, 174, 91)","rgb(37, 157, 81)","rgb(7, 138, 78)","rgb(13, 117, 71)","rgb(23, 95, 61)","rgb(25, 75, 49)","rgb(23, 55, 35)","rgb(17, 36, 20)"],matter:["rgb(253, 237, 176)","rgb(250, 205, 145)","rgb(246, 173, 119)","rgb(240, 142, 98)","rgb(231, 109, 84)","rgb(216, 80, 83)","rgb(195, 56, 90)","rgb(168, 40, 96)","rgb(138, 29, 99)","rgb(107, 24, 93)","rgb(76, 21, 80)","rgb(47, 15, 61)"],speed:["rgb(254, 252, 205)","rgb(239, 225, 156)","rgb(221, 201, 106)","rgb(194, 182, 59)","rgb(157, 167, 21)","rgb(116, 153, 5)","rgb(75, 138, 20)","rgb(35, 121, 36)","rgb(11, 100, 44)","rgb(18, 78, 43)","rgb(25, 56, 34)","rgb(23, 35, 18)"],amp:["rgb(241, 236, 236)","rgb(230, 209, 203)","rgb(221, 182, 170)","rgb(213, 156, 137)","rgb(205, 129, 103)","rgb(196, 102, 73)","rgb(186, 74, 47)","rgb(172, 44, 36)","rgb(149, 19, 39)","rgb(120, 14, 40)","rgb(89, 13, 31)","rgb(60, 9, 17)"],tempo:["rgb(254, 245, 244)","rgb(222, 224, 210)","rgb(189, 206, 181)","rgb(153, 189, 156)","rgb(110, 173, 138)","rgb(65, 157, 129)","rgb(25, 137, 125)","rgb(18, 116, 117)","rgb(25, 94, 106)","rgb(28, 72, 93)","rgb(25, 51, 80)","rgb(20, 29, 67)"],phase:["rgb(167, 119, 12)","rgb(197, 96, 51)","rgb(217, 67, 96)","rgb(221, 38, 163)","rgb(196, 59, 224)","rgb(153, 97, 244)","rgb(95, 127, 228)","rgb(40, 144, 183)","rgb(15, 151, 136)","rgb(39, 153, 79)","rgb(119, 141, 17)","rgb(167, 119, 12)"],balance:["rgb(23, 28, 66)","rgb(41, 58, 143)","rgb(11, 102, 189)","rgb(69, 144, 185)","rgb(142, 181, 194)","rgb(210, 216, 219)","rgb(230, 210, 204)","rgb(213, 157, 137)","rgb(196, 101, 72)","rgb(172, 43, 36)","rgb(120, 14, 40)","rgb(60, 9, 17)"],delta:["rgb(16, 31, 63)","rgb(38, 62, 144)","rgb(30, 110, 161)","rgb(60, 154, 171)","rgb(140, 193, 186)","rgb(217, 229, 218)","rgb(239, 226, 156)","rgb(195, 182, 59)","rgb(115, 152, 5)","rgb(34, 120, 36)","rgb(18, 78, 43)","rgb(23, 35, 18)"],curl:["rgb(20, 29, 67)","rgb(28, 72, 93)","rgb(18, 115, 117)","rgb(63, 156, 129)","rgb(153, 189, 156)","rgb(223, 225, 211)","rgb(241, 218, 206)","rgb(224, 160, 137)","rgb(203, 101, 99)","rgb(164, 54, 96)","rgb(111, 23, 91)","rgb(51, 13, 53)"]},t.CUBEHELIX=[{start:300,rotations:-1.5},{start:0,rotations:-.4},{start:0,rotations:-.1},{start:100,rotations:.4},{start:200,rotations:-.1},{start:200,rotations:-.4},{start:200,rotations:.4},{start:300,rotations:-.1}],t.DEFAULT_START=300,t.DEFAULT_ROTATIONS=-1.5,t.DEFAULT_HUE=1,t.DEFAULT_GAMMA=1,t.DEFAULT_LIGHTNESS=[.85,.15],t.DEFAULT_NCOLORS=10,t.DEFAULT_SWATCHES=9);t.DEFAULT_SCALE=i.default.scale(["#fafa6e","#2A4858"]).mode("lch").colors(o),t.DEFAULT_LOG_BREAKPOINTS=4,t.DEFAULT_BREAKPOINTS=[0,1],t.DEFAULT_SWATCH_WIDTH=20,t.DEFAULT_NPREVIEWCOLORS=10},function(e,t,r){var n=r(89);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(40)("keys"),i=r(29);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){var n=r(6),i=r(11),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(28)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(93),o=n(i),a=r(103),s=n(a),l="function"===typeof s.default&&"symbol"===typeof o.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"===typeof s.default&&"symbol"===l(o.default)?function(e){return"undefined"===typeof e?"undefined":l(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":l(e)}},function(e,t,r){var n=r(20),i=r(97),o=r(41),a=r(39)("IE_PROTO"),s=function(){},l=function(){var e,t=r(59)("iframe"),n=o.length;for(t.style.display="none",r(98).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(12).f,i=r(14),o=r(7)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){t.f=r(7)},function(e,t,r){var n=r(11),i=r(6),o=r(28),a=r(46),s=r(12).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(30),i=r(23),o=r(15),a=r(35),s=r(14),l=r(58),u=Object.getOwnPropertyDescriptor;t.f=r(13)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";(function(t){var r=function(){};"production"!==t.env.NODE_ENV&&(r=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var i=2;i<n;i++)r[i-2]=arguments[i];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var o=0,a="Warning: "+t.replace(/%s/g,(function(){return r[o++]}));"undefined"!==typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}}),e.exports=r}).call(t,r(26))},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(18),a=r.n(o),s=r(24),l=r.n(s),u=r(2),c=r.n(u),f=r(9),p=r.n(f),d=r(3),h=r.n(d),v=r(4),m=r.n(v),g=r(0),y=r.n(g),b=r(1),x=r.n(b),A=r(16),w=r.n(A),_=r(32),E=function(e){function t(){var e,r,n,i;c()(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=n=h()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.state={clickFocused:!1},n.setHandleRef=function(e){n.handle=e},n.handleMouseUp=function(){document.activeElement===n.handle&&n.setClickFocus(!0)},n.handleBlur=function(){n.setClickFocus(!1)},n.handleKeyDown=function(){n.setClickFocus(!1)},i=r,h()(n,i)}return m()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.onMouseUpListener=Object(_.a)(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,r=e.vertical,n=e.offset,o=e.style,s=e.disabled,u=e.min,c=e.max,f=e.value,p=e.tabIndex,d=l()(e,["prefixCls","vertical","offset","style","disabled","min","max","value","tabIndex"]),h=w()(this.props.className,a()({},t+"-handle-click-focused",this.state.clickFocused)),v=r?{bottom:n+"%"}:{left:n+"%"},m=i()({},o,v);return y.a.createElement("div",i()({ref:this.setHandleRef,tabIndex:s?null:p||0},d,{className:h,style:m,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"slider","aria-valuemin":u,"aria-valuemax":c,"aria-valuenow":f,"aria-disabled":!!s}))}}]),t}(y.a.Component);t.a=E,E.propTypes={prefixCls:x.a.string,className:x.a.string,vertical:x.a.bool,offset:x.a.number,style:x.a.object,disabled:x.a.bool,min:x.a.number,max:x.a.number,value:x.a.number,tabIndex:x.a.number}},function(e,t,r){"use strict";(function(e){function n(){return"production"!==e.env.NODE_ENV}function i(e,t){try{return Object.keys(t).some((function(r){return e.target===Object(b.findDOMNode)(t[r])}))}catch(e){return!1}}function o(e,t){var r=t.min,n=t.max;return e<r||e>n}function a(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function s(e,t){var r=t.marks,n=t.step,i=t.min,o=Object.keys(r).map(parseFloat);if(null!==n){var a=Math.round((e-i)/n)*n+i;o.push(a)}var s=o.map((function(t){return Math.abs(e-t)}));return o[s.indexOf(Math.min.apply(Math,y()(s)))]}function l(e){var t=e.toString(),r=0;return t.indexOf(".")>=0&&(r=t.length-t.indexOf(".")-1),r}function u(e,t){return e?t.clientY:t.pageX}function c(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function f(e,t){var r=t.getBoundingClientRect();return e?r.top+.5*r.height:window.pageXOffset+r.left+.5*r.width}function p(e,t){var r=t.max,n=t.min;return e<=n?n:e>=r?r:e}function d(e,t){var r=t.step,n=isFinite(s(e,t))?s(e,t):0;return null===r?n:parseFloat(n.toFixed(l(r)))}function h(e){e.stopPropagation(),e.preventDefault()}function v(e,t,r){var n={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},i=n[e](Object.keys(r.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(r.marks)[i];return r.step?n[e](t,r.step):Object.keys(r.marks).length&&r.marks[o]?r.marks[o]:t}function m(e){switch(e.keyCode){case x.a.UP:case x.a.RIGHT:return function(e,t){return v("increase",e,t)};case x.a.DOWN:case x.a.LEFT:return function(e,t){return v("decrease",e,t)};case x.a.END:return function(e,t){return t.max};case x.a.HOME:return function(e,t){return t.min};case x.a.PAGE_UP:return function(e,t){return e+2*t.step};case x.a.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}}t.g=n,t.h=i,t.j=o,t.i=a,t.e=u,t.f=c,t.c=f,t.a=p,t.b=d,t.k=h,t.d=m;var g=r(81),y=r.n(g),b=r(8),x=(r.n(b),r(173))}).call(t,r(26))},function(e,t){function r(e,t){var r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"===typeof btoa){var o=n(i);return[r].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([o]).join("\n")}return[r].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,r){"string"===typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"===typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=h[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(c(n.parts[o],t))}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(c(n.parts[o],t));h[n.id]={id:n.id,refs:1,parts:a}}}}function i(e,t){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s=o[1],l=o[2],u=o[3],c={css:s,media:l,sourceMap:u};n[a]?n[a].parts.push(c):r.push(n[a]={id:a,parts:[c]})}return r}function o(e,t){var r=m(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=b[b.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),b.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=b.indexOf(e);t>=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",u(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",u(t,e.attrs),o(e,t),t}function u(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}function c(e,t){var r,n,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=y++;r=g||(g=s(t)),n=f.bind(null,r,u,!1),i=f.bind(null,r,u,!0)}else e.sourceMap&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&"function"===typeof URL.revokeObjectURL&&"function"===typeof Blob&&"function"===typeof btoa?(r=l(t),n=d.bind(null,r,t),i=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),i=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}function f(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=A(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function d(e,t,r){var n=r.css,i=r.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(n=x(n)),i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(e){var t;return function(){return"undefined"===typeof t&&(t=e.apply(this,arguments)),t}}((function(){return window&&document&&document.all&&!window.atob})),m=function(e){var t={};return function(r){return"undefined"===typeof t[r]&&(t[r]=e.call(this,r)),t[r]}}((function(e){return document.querySelector(e)})),g=null,y=0,b=[],x=r(181);e.exports=function(e,t){if("undefined"!==typeof DEBUG&&DEBUG&&"object"!==typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"===typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=i(e,t);return n(r,t),function(e){for(var o=[],a=0;a<r.length;a++){var s=r[a],l=h[s.id];l.refs--,o.push(l)}e&&n(i(e,t),t);for(a=0;a<o.length;a++){l=o[a];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete h[l.id]}}}};var A=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(0),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=r(33),c=function(e){function t(){return n(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props.colorscale?this.props.colorscale:u.DEFAULT_SCALE;return l.default.createElement("div",{style:{width:"100%"},className:"colorscale-container"},this.props.label?l.default.createElement("div",{className:"colorscale-label",style:{fontWeight:600,fontSize:"12px",color:"#2a3f5f",display:"inline-block",width:"25%",textAlign:"start"}},this.props.label):null,l.default.createElement("div",{className:"colorscale-palette-container",style:{display:"inline-block",textAlign:"start",width:this.props.label?"75%":"100%"}},l.default.createElement("div",{className:"colorscale-block",style:{fontSize:"0px",display:"inline-block",width:"100%"},onClick:function(){return e.props.onClick(t,e.props.start,e.props.rot)}},t.map((function(e,r){return l.default.createElement("div",{key:r,className:"colorscale-swatch",style:{backgroundColor:e,width:100/t.length+"%",height:"20px",margin:"0 auto",display:"inline-block",cursor:"pointer"}})})))))}}]),t}(s.Component);t.default=c},function(e,t,r){(function(e){var r,n;(function(){var i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C,S,O,M,P,B,L,D,I,j,R,F,N,z,U,H,V,Q,W,K,q,G,$,Y,X,Z,J,ee,te,re,ne,ie,oe,ae,se,le,ue,ce,fe,pe,de,he,ve,me,ge,ye,be,xe,Ae,we,_e,Ee,ke,Te,Ce,Se,Oe,Me,Pe=[].slice;Te=function(){var e,t,r,n,i;for(e={},i="Boolean Number String Function Array Date RegExp Undefined Null".split(" "),n=0,t=i.length;n<t;n++)r=i[n],e["[object "+r+"]"]=r.toLowerCase();return function(t){var r;return r=Object.prototype.toString.call(t),e[r]||"object"}}(),Y=function(e,t,r){return null==t&&(t=0),null==r&&(r=1),e<t&&(e=t),e>r&&(e=r),e},Ce=function(e){return e.length>=3?Array.prototype.slice.call(e):e[0]},E=function(e){var t,r;for(e._clipped=!1,e._unclipped=e.slice(0),t=r=0;r<3;t=++r)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]<0&&(e[t]=0),e[t]>255&&(e[t]=255)):3===t&&(e[t]<0&&(e[t]=0),e[t]>1&&(e[t]=1));return e._clipped||delete e._unclipped,e},s=Math.PI,Ae=Math.round,T=Math.cos,P=Math.floor,oe=Math.pow,X=Math.log,_e=Math.sin,Ee=Math.sqrt,g=Math.atan2,ee=Math.max,m=Math.abs,c=2*s,l=s/3,o=s/180,u=180/s,_=function(){return arguments[0]instanceof i?arguments[0]:function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,arguments,(function(){}))},_.default=_,v=[],"undefined"!==typeof e&&null!==e&&null!=e.exports&&(e.exports=_),r=[],void 0!==(n=function(){return _}.apply(t,r))&&(e.exports=n),_.version="1.4.1",h={},p=[],d=!1,i=function(){function e(){var e,t,r,n,i,o,a,s,l;for(o=this,t=[],s=0,n=arguments.length;s<n;s++)null!=(e=arguments[s])&&t.push(e);if(t.length>1&&(a=t[t.length-1]),null!=h[a])o._rgb=E(h[a](Ce(t.slice(0,-1))));else{for(d||(p=p.sort((function(e,t){return t.p-e.p})),d=!0),l=0,i=p.length;l<i&&(r=p[l],!(a=r.test.apply(r,t)));l++);a&&(o._rgb=E(h[a].apply(h,t)))}null==o._rgb&&console.warn("unknown format: "+t),null==o._rgb&&(o._rgb=[0,0,0]),3===o._rgb.length&&o._rgb.push(1)}return e.prototype.toString=function(){return this.hex()},e}(),_._input=h,_.brewer=A={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},function(){var e,t;for(e in t=[],A)t.push(A[e.toLowerCase()]=A[e])}(),Se={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},_.colors=Se,W=function(){var e,t,r,n,i,o,s,l,u;return t=Ce(arguments),i=t[0],e=t[1],r=t[2],l=(i+16)/116,s=isNaN(e)?l:l+e/500,u=isNaN(r)?l:l-r/200,l=a.Yn*K(l),s=a.Xn*K(s),u=a.Zn*K(u),o=Me(3.2404542*s-1.5371385*l-.4985314*u),n=Me(-.969266*s+1.8760108*l+.041556*u),r=Me(.0556434*s-.2040259*l+1.0572252*u),[o,n,r,t.length>3?t[3]:1]},Me=function(e){return 255*(e<=.00304?12.92*e:1.055*oe(e,1/2.4)-.055)},K=function(e){return e>a.t1?e*e*e:a.t2*(e-a.t0)},a={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},de=function(){var e,t,r,n,i,o,a,s;return n=Ce(arguments),r=n[0],t=n[1],e=n[2],i=ye(r,t,e),o=i[0],a=i[1],s=i[2],[116*a-16,500*(o-a),200*(a-s)]},be=function(e){return(e/=255)<=.04045?e/12.92:oe((e+.055)/1.055,2.4)},Oe=function(e){return e>a.t3?oe(e,1/3):e/a.t2+a.t0},ye=function(){var e,t,r,n,i,o,s;return n=Ce(arguments),r=n[0],t=n[1],e=n[2],r=be(r),t=be(t),e=be(e),i=Oe((.4124564*r+.3575761*t+.1804375*e)/a.Xn),o=Oe((.2126729*r+.7151522*t+.072175*e)/a.Yn),s=Oe((.0193339*r+.119192*t+.9503041*e)/a.Zn),[i,o,s]},_.lab=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["lab"]),(function(){}))},h.lab=W,i.prototype.lab=function(){return de(this._rgb)},y=function(e){var t,r,n,i,o,a,s,l,u,c,f;return e=function(){var t,r,n;for(n=[],r=0,t=e.length;r<t;r++)i=e[r],n.push(_(i));return n}(),2===e.length?(u=function(){var t,r,n;for(n=[],r=0,t=e.length;r<t;r++)i=e[r],n.push(i.lab());return n}(),o=u[0],a=u[1],t=function(e){var t,r;return r=function(){var r,n;for(n=[],t=r=0;r<=2;t=++r)n.push(o[t]+e*(a[t]-o[t]));return n}(),_.lab.apply(_,r)}):3===e.length?(c=function(){var t,r,n;for(n=[],r=0,t=e.length;r<t;r++)i=e[r],n.push(i.lab());return n}(),o=c[0],a=c[1],s=c[2],t=function(e){var t,r;return r=function(){var r,n;for(n=[],t=r=0;r<=2;t=++r)n.push((1-e)*(1-e)*o[t]+2*(1-e)*e*a[t]+e*e*s[t]);return n}(),_.lab.apply(_,r)}):4===e.length?(f=function(){var t,r,n;for(n=[],r=0,t=e.length;r<t;r++)i=e[r],n.push(i.lab());return n}(),o=f[0],a=f[1],s=f[2],l=f[3],t=function(e){var t,r;return r=function(){var r,n;for(n=[],t=r=0;r<=2;t=++r)n.push((1-e)*(1-e)*(1-e)*o[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*s[t]+e*e*e*l[t]);return n}(),_.lab.apply(_,r)}):5===e.length&&(r=y(e.slice(0,3)),n=y(e.slice(2,5)),t=function(e){return e<.5?r(2*e):n(2*(e-.5))}),t},_.bezier=function(e){var t;return t=y(e),t.scale=function(){return _.scale(t)},t},_.cubehelix=function(e,t,r,n,i){var o,a,s;return null==e&&(e=300),null==t&&(t=-1.5),null==r&&(r=1),null==n&&(n=1),null==i&&(i=[0,1]),o=0,"array"===Te(i)?a=i[1]-i[0]:(a=0,i=[i,i]),s=function(s){var l,u,f,p,d,h,v,m,g;return l=c*((e+120)/360+t*s),v=oe(i[0]+a*s,n),h=0!==o?r[0]+s*o:r,u=h*v*(1-v)/2,p=T(l),g=_e(l),m=v+u*(-.14861*p+1.78277*g),d=v+u*(-.29227*p-.90649*g),f=v+u*(1.97294*p),_(E([255*m,255*d,255*f,1]))},s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?n:(n=e,s)},s.hue=function(e){return null==e?r:(r=e,"array"===Te(r)?0===(o=r[1]-r[0])&&(r=r[1]):o=0,s)},s.lightness=function(e){return null==e?i:("array"===Te(e)?(i=e,a=e[1]-e[0]):(i=[e,e],a=0),s)},s.scale=function(){return _.scale(s)},s.hue(r),s},_.random=function(){var e,t,r;for(t="0123456789abcdef",e="#",r=0;r<6;++r)e+=t.charAt(P(16*Math.random()));return new i(e)},v=[],F=function(e,t,r,n){var i,o,a,s;for(null==r&&(r=.5),null==n&&(n="rgb"),"object"!==Te(e)&&(e=_(e)),"object"!==Te(t)&&(t=_(t)),a=0,o=v.length;a<o;a++)if(i=v[a],n===i[0]){s=i[1](e,t,r,n);break}if(null==s)throw"color mode "+n+" is not supported";return s.alpha(e.alpha()+r*(t.alpha()-e.alpha()))},_.interpolate=F,i.prototype.interpolate=function(e,t,r){return F(this,e,t,r)},_.mix=F,i.prototype.mix=i.prototype.interpolate,h.rgb=function(){var e,t,r,n;for(e in t=Ce(arguments),r=[],t)n=t[e],r.push(n);return r},_.rgb=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["rgb"]),(function(){}))},i.prototype.rgb=function(e){return null==e&&(e=!0),e?this._rgb.map(Math.round).slice(0,3):this._rgb.slice(0,3)},i.prototype.rgba=function(e){return null==e&&(e=!0),e?[Math.round(this._rgb[0]),Math.round(this._rgb[1]),Math.round(this._rgb[2]),this._rgb[3]]:this._rgb.slice(0)},p.push({p:3,test:function(e){var t;return t=Ce(arguments),"array"===Te(t)&&3===t.length||4===t.length&&"number"===Te(t[3])&&t[3]>=0&&t[3]<=1?"rgb":void 0}}),h.lrgb=h.rgb,U=function(e,t,r,n){var o,a;return o=e._rgb,a=t._rgb,new i(Ee(oe(o[0],2)*(1-r)+oe(a[0],2)*r),Ee(oe(o[1],2)*(1-r)+oe(a[1],2)*r),Ee(oe(o[2],2)*(1-r)+oe(a[2],2)*r),n)},f=function(e){var t,r,n,o,a,s;for(r=1/e.length,s=[0,0,0,0],o=0,n=e.length;o<n;o++)t=e[o],a=t._rgb,s[0]+=oe(a[0],2)*r,s[1]+=oe(a[1],2)*r,s[2]+=oe(a[2],2)*r,s[3]+=a[3]*r;return s[0]=Ee(s[0]),s[1]=Ee(s[1]),s[2]=Ee(s[2]),s[3]>1&&(s[3]=1),new i(E(s))},v.push(["lrgb",U]),_.average=function(e,t){var r,n,i,o,a,l,u,c,p,d,h,v,m;if(null==t&&(t="rgb"),p=e.length,e=e.map((function(e){return _(e)})),u=e.splice(0,1)[0],"lrgb"===t)return f(e);for(c in v=u.get(t),o=[],a=0,l=0,v)v[c]=v[c]||0,o.push(isNaN(v[c])?0:1),"h"!==t.charAt(c)||isNaN(v[c])||(r=v[c]/180*s,a+=T(r),l+=_e(r));for(n=u.alpha(),h=0,d=e.length;h<d;h++)for(c in i=e[h],m=i.get(t),n+=i.alpha(),v)isNaN(m[c])||(o[c]+=1,"h"===t.charAt(c)?(r=m[c]/180*s,a+=T(r),l+=_e(r)):v[c]+=m[c]);for(c in v)if("h"===t.charAt(c)){for(r=g(l/o[c],a/o[c])/s*180;r<0;)r+=360;for(;r>=360;)r-=360;v[c]=r}else v[c]=v[c]/o[c];return _(v,t).alpha(n/p)},L=function(e){var t,r,n,i,o,a;if(e.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return 4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),a=parseInt(e,16),i=a>>16,n=a>>8&255,r=255&a,[i,n,r,1];if(e.match(/^#?([A-Fa-f0-9]{8})$/))return 9===e.length&&(e=e.substr(1)),a=parseInt(e,16),i=a>>24&255,n=a>>16&255,r=a>>8&255,t=Ae((255&a)/255*100)/100,[i,n,r,t];if(null!=h.css&&(o=h.css(e)))return o;throw"unknown color: "+e},ue=function(e,t){var r,n,i,o,a,s,l;return null==t&&(t="auto"),a=e[0],i=e[1],n=e[2],r=e[3],"auto"===t&&(t=r<1?"rgba":"rgb"),a=Math.round(a),i=Math.round(i),n=Math.round(n),l=a<<16|i<<8|n,s="000000"+l.toString(16),s=s.substr(s.length-6),o="0"+Ae(255*r).toString(16),o=o.substr(o.length-2),"#"+function(){switch(t.toLowerCase()){case"rgba":return s+o;case"argb":return o+s;default:return s}}()},h.hex=function(e){return L(e)},_.hex=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["hex"]),(function(){}))},i.prototype.hex=function(e){return null==e&&(e="auto"),ue(this._rgb,e)},p.push({p:4,test:function(e){if(1===arguments.length&&"string"===Te(e))return"hex"}}),j=function(){var e,t,r,n,i,o,a,s,l,u,c,f,p,d;if(e=Ce(arguments),i=e[0],c=e[1],a=e[2],0===c)l=n=t=255*a;else{for(d=[0,0,0],r=[0,0,0],p=a<.5?a*(1+c):a+c-a*c,f=2*a-p,i/=360,d[0]=i+1/3,d[1]=i,d[2]=i-1/3,o=s=0;s<=2;o=++s)d[o]<0&&(d[o]+=1),d[o]>1&&(d[o]-=1),6*d[o]<1?r[o]=f+6*(p-f)*d[o]:2*d[o]<1?r[o]=p:3*d[o]<2?r[o]=f+(p-f)*(2/3-d[o])*6:r[o]=f;u=[Ae(255*r[0]),Ae(255*r[1]),Ae(255*r[2])],l=u[0],n=u[1],t=u[2]}return e.length>3?[l,n,t,e[3]]:[l,n,t]},fe=function(e,t,r){var n,i,o,a,s;return void 0!==e&&e.length>=3&&(a=e,e=a[0],t=a[1],r=a[2]),e/=255,t/=255,r/=255,o=Math.min(e,t,r),ee=Math.max(e,t,r),i=(ee+o)/2,ee===o?(s=0,n=Number.NaN):s=i<.5?(ee-o)/(ee+o):(ee-o)/(2-ee-o),e===ee?n=(t-r)/(ee-o):t===ee?n=2+(r-e)/(ee-o):r===ee&&(n=4+(e-t)/(ee-o)),n*=60,n<0&&(n+=360),[n,s,i]},_.hsl=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["hsl"]),(function(){}))},h.hsl=j,i.prototype.hsl=function(){return fe(this._rgb)},R=function(){var e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g;if(e=Ce(arguments),i=e[0],v=e[1],g=e[2],g*=255,0===v)l=n=t=g;else switch(360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360),i/=60,o=P(i),r=i-o,a=g*(1-v),s=g*(1-v*r),m=g*(1-v*(1-r)),o){case 0:u=[g,m,a],l=u[0],n=u[1],t=u[2];break;case 1:c=[s,g,a],l=c[0],n=c[1],t=c[2];break;case 2:f=[a,g,m],l=f[0],n=f[1],t=f[2];break;case 3:p=[a,s,g],l=p[0],n=p[1],t=p[2];break;case 4:d=[m,a,g],l=d[0],n=d[1],t=d[2];break;case 5:h=[g,a,s],l=h[0],n=h[1],t=h[2]}return[l,n,t,e.length>3?e[3]:1]},pe=function(){var e,t,r,n,i,o,a,s,l;return a=Ce(arguments),o=a[0],r=a[1],e=a[2],i=Math.min(o,r,e),ee=Math.max(o,r,e),t=ee-i,l=ee/255,0===ee?(n=Number.NaN,s=0):(s=t/ee,o===ee&&(n=(r-e)/t),r===ee&&(n=2+(e-o)/t),e===ee&&(n=4+(o-r)/t),(n*=60)<0&&(n+=360)),[n,s,l]},_.hsv=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["hsv"]),(function(){}))},h.hsv=R,i.prototype.hsv=function(){return pe(this._rgb)},ne=function(e){var t,r,n;return"number"===Te(e)&&e>=0&&e<=16777215?(n=e>>16,r=e>>8&255,t=255&e,[n,r,t,1]):(console.warn("unknown num color: "+e),[0,0,0,1])},me=function(){var e,t,r,n;return n=Ce(arguments),r=n[0],t=n[1],e=n[2],(r<<16)+(t<<8)+e},_.num=function(e){return new i(e,"num")},i.prototype.num=function(e){return null==e&&(e="rgb"),me(this._rgb,e)},h.num=ne,p.push({p:1,test:function(e){if(1===arguments.length&&"number"===Te(e)&&e>=0&&e<=16777215)return"num"}}),B=function(){var e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b;if(r=Ce(arguments),s=r[0],i=r[1],t=r[2],i/=100,a=a/100*255,e=255*i,0===i)f=a=n=t;else switch(360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360),s/=60,l=P(s),o=s-l,u=t*(1-i),c=u+e*(1-o),y=u+e*o,b=u+e,l){case 0:p=[b,y,u],f=p[0],a=p[1],n=p[2];break;case 1:d=[c,b,u],f=d[0],a=d[1],n=d[2];break;case 2:h=[u,b,y],f=h[0],a=h[1],n=h[2];break;case 3:v=[u,c,b],f=v[0],a=v[1],n=v[2];break;case 4:m=[y,u,b],f=m[0],a=m[1],n=m[2];break;case 5:g=[b,u,c],f=g[0],a=g[1],n=g[2]}return[f,a,n,r.length>3?r[3]:1]},le=function(){var e,t,r,n,i,o,a,s,l;return l=Ce(arguments),s=l[0],i=l[1],t=l[2],a=Math.min(s,i,t),ee=Math.max(s,i,t),n=ee-a,r=100*n/255,e=a/(255-n)*100,0===n?o=Number.NaN:(s===ee&&(o=(i-t)/n),i===ee&&(o=2+(t-s)/n),t===ee&&(o=4+(s-i)/n),(o*=60)<0&&(o+=360)),[o,r,e]},_.hcg=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["hcg"]),(function(){}))},h.hcg=B,i.prototype.hcg=function(){return le(this._rgb)},C=function(e){var t,r,n,i,o,a,s,l;if(e=e.toLowerCase(),null!=_.colors&&_.colors[e])return L(_.colors[e]);if(o=e.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(s=o.slice(1,4),i=a=0;a<=2;i=++a)s[i]=+s[i];s[3]=1}else if(o=e.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(s=o.slice(1,5),i=l=0;l<=3;i=++l)s[i]=+s[i];else if(o=e.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(s=o.slice(1,4),i=t=0;t<=2;i=++t)s[i]=Ae(2.55*s[i]);s[3]=1}else if(o=e.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(s=o.slice(1,5),i=r=0;r<=2;i=++r)s[i]=Ae(2.55*s[i]);s[3]=+s[3]}else(o=e.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?(n=o.slice(1,4),n[1]*=.01,n[2]*=.01,s=j(n),s[3]=1):(o=e.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&(n=o.slice(1,4),n[1]*=.01,n[2]*=.01,s=j(n),s[3]=+o[4]);return s},se=function(e){var t;return t=e[3]<1?"rgba":"rgb","rgb"===t?t+"("+e.slice(0,3).map(Ae).join(",")+")":"rgba"===t?t+"("+e.slice(0,3).map(Ae).join(",")+","+e[3]+")":void 0},xe=function(e){return Ae(100*e)/100},I=function(e,t){var r;return r=t<1?"hsla":"hsl",e[0]=xe(e[0]||0),e[1]=xe(100*e[1])+"%",e[2]=xe(100*e[2])+"%","hsla"===r&&(e[3]=t),r+"("+e.join(",")+")"},h.css=function(e){return C(e)},_.css=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["css"]),(function(){}))},i.prototype.css=function(e){return null==e&&(e="rgb"),"rgb"===e.slice(0,3)?se(this._rgb):"hsl"===e.slice(0,3)?I(this.hsl(),this.alpha()):void 0},h.named=function(e){return L(Se[e])},p.push({p:5,test:function(e){if(1===arguments.length&&null!=Se[e])return"named"}}),i.prototype.name=function(e){var t,r;for(r in arguments.length&&(Se[e]&&(this._rgb=L(Se[e])),this._rgb[3]=1),t=this.hex("rgb"),Se)if(t===Se[r])return r;return t},q=function(){var e,t,r,n;return n=Ce(arguments),r=n[0],e=n[1],t=n[2],t*=o,[r,T(t)*e,_e(t)*e]},G=function(){var e,t,r,n,i,o,a,s,l,u,c;return r=Ce(arguments),s=r[0],i=r[1],a=r[2],u=q(s,i,a),e=u[0],t=u[1],n=u[2],c=W(e,t,n),l=c[0],o=c[1],n=c[2],[l,o,n,r.length>3?r[3]:1]},Q=function(){var e,t,r,n,i,o;return o=Ce(arguments),i=o[0],e=o[1],t=o[2],r=Ee(e*e+t*t),n=(g(t,e)*u+360)%360,0===Ae(1e4*r)&&(n=Number.NaN),[i,r,n]},he=function(){var e,t,r,n,i,o,a;return o=Ce(arguments),i=o[0],r=o[1],t=o[2],a=de(i,r,t),n=a[0],e=a[1],t=a[2],Q(n,e,t)},_.lch=function(){var e;return e=Ce(arguments),new i(e,"lch")},_.hcl=function(){var e;return e=Ce(arguments),new i(e,"hcl")},h.lch=G,h.hcl=function(){var e,t,r,n;return n=Ce(arguments),t=n[0],e=n[1],r=n[2],G([r,e,t])},i.prototype.lch=function(){return he(this._rgb)},i.prototype.hcl=function(){return he(this._rgb).reverse()},ae=function(e){var t,r,n,i,o,a,s,l,u;return null==e&&(e="rgb"),l=Ce(arguments),s=l[0],i=l[1],t=l[2],s/=255,i/=255,t/=255,o=1-Math.max(s,Math.max(i,t)),n=o<1?1/(1-o):0,r=(1-s-o)*n,a=(1-i-o)*n,u=(1-t-o)*n,[r,a,u,o]},k=function(){var e,t,r,n,i,o,a,s,l;return t=Ce(arguments),n=t[0],a=t[1],l=t[2],o=t[3],e=t.length>4?t[4]:1,1===o?[0,0,0,e]:(s=n>=1?0:255*(1-n)*(1-o),i=a>=1?0:255*(1-a)*(1-o),r=l>=1?0:255*(1-l)*(1-o),[s,i,r,e])},h.cmyk=function(){return k(Ce(arguments))},_.cmyk=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["cmyk"]),(function(){}))},i.prototype.cmyk=function(){return ae(this._rgb)},h.gl=function(){var e,t,r,n,i;for(n=function(){var e,r;for(t in e=Ce(arguments),r=[],e)i=e[t],r.push(i);return r}.apply(this,arguments),e=r=0;r<=2;e=++r)n[e]*=255;return n},_.gl=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["gl"]),(function(){}))},i.prototype.gl=function(){var e;return e=this._rgb,[e[0]/255,e[1]/255,e[2]/255,e[3]]},ve=function(e,t,r){var n;return n=Ce(arguments),e=n[0],t=n[1],r=n[2],e=Z(e),t=Z(t),r=Z(r),.2126*e+.7152*t+.0722*r},Z=function(e){return e/=255,e<=.03928?e/12.92:oe((e+.055)/1.055,2.4)},V=function(e,t,r,n){var o,a;return o=e._rgb,a=t._rgb,new i(o[0]+r*(a[0]-o[0]),o[1]+r*(a[1]-o[1]),o[2]+r*(a[2]-o[2]),n)},v.push(["rgb",V]),i.prototype.luminance=function(e,t){var r,n,i,o,a;return null==t&&(t="rgb"),arguments.length?(o=this._rgb,0===e?o=[0,0,0,this._rgb[3]]:1===e?o=[255,255,255,this[3]]:(r=ve(this._rgb),n=1e-7,i=20,a=function(r,o){var s,l;return l=r.interpolate(o,.5,t),s=l.luminance(),Math.abs(e-s)<n||!i--?l:s>e?a(r,l):a(l,o)},o=r>e?a(_("black"),this).rgba():a(this,_("white")).rgba()),_(o).alpha(this.alpha())):ve(this._rgb)},ke=function(e){var t,r,n,i;return i=e/100,i<66?(n=255,r=-155.25485562709179-.44596950469579133*(r=i-2)+104.49216199393888*X(r),t=i<20?0:.8274096064007395*(t=i-10)-254.76935184120902+115.67994401066147*X(t)):(n=351.97690566805693+.114206453784165*(n=i-55)-40.25366309332127*X(n),r=325.4494125711974+.07943456536662342*(r=i-50)-28.0852963507957*X(r),t=255),[n,r,t]},ge=function(){var e,t,r,n,i,o,a,s;for(o=Ce(arguments),i=o[0],o[1],e=o[2],n=1e3,r=4e4,t=.4;r-n>t;)s=.5*(r+n),a=ke(s),a[2]/a[0]>=e/i?r=s:n=s;return Ae(s)},_.temperature=_.kelvin=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["temperature"]),(function(){}))},h.temperature=h.kelvin=h.K=ke,i.prototype.temperature=function(){return ge(this._rgb)},i.prototype.kelvin=i.prototype.temperature,_.contrast=function(e,t){var r,n,o,a;return"string"!==(o=Te(e))&&"number"!==o||(e=new i(e)),"string"!==(a=Te(t))&&"number"!==a||(t=new i(t)),r=e.luminance(),n=t.luminance(),r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},_.distance=function(e,t,r){var n,o,a,s,l,u,c;for(o in null==r&&(r="lab"),"string"!==(l=Te(e))&&"number"!==l||(e=new i(e)),"string"!==(u=Te(t))&&"number"!==u||(t=new i(t)),a=e.get(r),s=t.get(r),c=0,a)n=(a[o]||0)-(s[o]||0),c+=n*n;return Math.sqrt(c)},_.deltaE=function(e,t,r,n){var o,a,l,u,c,f,p,d,h,v,y,b,x,A,w,_,E,k,C,S,O,M,P,B,L,D,I;for(null==r&&(r=1),null==n&&(n=1),"string"!==(E=Te(e))&&"number"!==E||(e=new i(e)),"string"!==(k=Te(t))&&"number"!==k||(t=new i(t)),C=e.lab(),o=C[0],l=C[1],c=C[2],S=t.lab(),a=S[0],u=S[1],f=S[2],p=Ee(l*l+c*c),d=Ee(u*u+f*f),P=o<16?.511:.040975*o/(1+.01765*o),O=.0638*p/(1+.0131*p)+.638,_=p<1e-6?0:180*g(c,l)/s;_<0;)_+=360;for(;_>=360;)_-=360;return B=_>=164&&_<=345?.56+m(.2*T(s*(_+168)/180)):.36+m(.4*T(s*(_+35)/180)),h=p*p*p*p,w=Ee(h/(h+1900)),M=O*(w*B+1-w),A=o-a,x=p-d,y=l-u,b=c-f,v=y*y+b*b-x*x,L=A/(r*P),D=x/(n*O),I=M,Ee(L*L+D*D+v/(I*I))},i.prototype.get=function(e){var t,r,n,i,o,a;return n=this,o=e.split("."),i=o[0],t=o[1],a=n[i](),t?(r=i.indexOf(t),r>-1?a[r]:console.warn("unknown channel "+t+" in mode "+i)):a},i.prototype.set=function(e,t){var r,n,i,o,a,s;if(i=this,a=e.split("."),o=a[0],r=a[1],r)if(s=i[o](),(n=o.indexOf(r))>-1)if("string"===Te(t))switch(t.charAt(0)){case"+":case"-":s[n]+=+t;break;case"*":s[n]*=+t.substr(1);break;case"/":s[n]/=+t.substr(1);break;default:s[n]=+t}else s[n]=t;else console.warn("unknown channel "+r+" in mode "+o);else s=t;return _(s,o).alpha(i.alpha())},i.prototype.clipped=function(){return this._rgb._clipped||!1},i.prototype.alpha=function(e){return arguments.length?_.rgb([this._rgb[0],this._rgb[1],this._rgb[2],e]):this._rgb[3]},i.prototype.darken=function(e){var t,r;return null==e&&(e=1),r=this,t=r.lab(),t[0]-=a.Kn*e,_.lab(t).alpha(r.alpha())},i.prototype.brighten=function(e){return null==e&&(e=1),this.darken(-e)},i.prototype.darker=i.prototype.darken,i.prototype.brighter=i.prototype.brighten,i.prototype.saturate=function(e){var t,r;return null==e&&(e=1),r=this,t=r.lch(),t[1]+=e*a.Kn,t[1]<0&&(t[1]=0),_.lch(t).alpha(r.alpha())},i.prototype.desaturate=function(e){return null==e&&(e=1),this.saturate(-e)},i.prototype.premultiply=function(){var e,t;return t=this.rgb(),e=this.alpha(),_(t[0]*e,t[1]*e,t[2]*e,e)},b=function(e,t,r){if(!b[r])throw"unknown blend mode "+r;return b[r](e,t)},x=function(e){return function(t,r){var n,i;return n=_(r).rgb(),i=_(t).rgb(),_(e(n,i),"rgb")}},M=function(e){return function(t,r){var n,i,o;for(o=[],n=i=0;i<=3;n=++i)o[n]=e(t[n],r[n]);return o}},re=function(e,t){return e},te=function(e,t){return e*t/255},S=function(e,t){return e>t?t:e},$=function(e,t){return e>t?e:t},we=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},ie=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},w=function(e,t){return 255*(1-(1-t/255)/(e/255))},O=function(e,t){return 255===e?255:(e=t/255*255/(1-e/255),e>255?255:e)},b.normal=x(M(re)),b.multiply=x(M(te)),b.screen=x(M(we)),b.overlay=x(M(ie)),b.darken=x(M(S)),b.lighten=x(M($)),b.dodge=x(M(O)),b.burn=x(M(w)),_.blend=b,_.analyze=function(e){var t,r,n,i;for(n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},r=0,t=e.length;r<t;r++)null==(i=e[r])||isNaN(i)||(n.values.push(i),n.sum+=i,i<n.min&&(n.min=i),i>n.max&&(n.max=i),n.count+=1);return n.domain=[n.min,n.max],n.limits=function(e,t){return _.limits(n,e,t)},n},_.scale=function(e,t){var r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w;return c="rgb",f=_("#ccc"),v=0,a=[0,1],h=[],d=[0,0],r=!1,i=[],p=!1,u=0,l=1,o=!1,n={},m=!0,s=1,A=function(e){var t,r,n,o,a,s;if(null==e&&(e=["#fff","#000"]),null!=e&&"string"===Te(e)&&null!=_.brewer&&(e=_.brewer[e]||_.brewer[e.toLowerCase()]||e),"array"===Te(e)){for(1===e.length&&(e=[e[0],e[0]]),e=e.slice(0),t=n=0,o=e.length-1;0<=o?n<=o:n>=o;t=0<=o?++n:--n)r=e[t],"string"===Te(r)&&(e[t]=_(r));for(h.length=0,t=s=0,a=e.length-1;0<=a?s<=a:s>=a;t=0<=a?++s:--s)h.push(t/(e.length-1))}return x(),i=e},y=function(e){var t,n;if(null!=r){for(n=r.length-1,t=0;t<n&&e>=r[t];)t++;return t-1}return 0},w=function(e){return e},b=function(e,t){var o,a,p,v,g,b,x,A;if(null==t&&(t=!1),isNaN(e)||null===e)return f;if(t?A=e:r&&r.length>2?(o=y(e),A=o/(r.length-2)):A=l!==u?(e-u)/(l-u):1,t||(A=w(A)),1!==s&&(A=oe(A,s)),A=d[0]+A*(1-d[0]-d[1]),A=Math.min(1,Math.max(0,A)),v=Math.floor(1e4*A),m&&n[v])a=n[v];else{if("array"===Te(i))for(p=g=0,x=h.length-1;0<=x?g<=x:g>=x;p=0<=x?++g:--g){if(b=h[p],A<=b){a=i[p];break}if(A>=b&&p===h.length-1){a=i[p];break}if(A>b&&A<h[p+1]){A=(A-b)/(h[p+1]-b),a=_.interpolate(i[p],i[p+1],A,c);break}}else"function"===Te(i)&&(a=i(A));m&&(n[v]=a)}return a},x=function(){return n={}},A(e),g=function(e){var t;return t=_(b(e)),p&&t[p]?t[p]():t},g.classes=function(e){var t;return null!=e?("array"===Te(e)?(r=e,a=[e[0],e[e.length-1]]):(t=_.analyze(a),r=0===e?[t.min,t.max]:_.limits(t,"e",e)),g):r},g.domain=function(e){var t,r,n,o,s,c,f;if(!arguments.length)return a;if(u=e[0],l=e[e.length-1],h=[],n=i.length,e.length===n&&u!==l)for(s=0,o=e.length;s<o;s++)r=e[s],h.push((r-u)/(l-u));else for(t=f=0,c=n-1;0<=c?f<=c:f>=c;t=0<=c?++f:--f)h.push(t/(n-1));return a=[u,l],g},g.mode=function(e){return arguments.length?(c=e,x(),g):c},g.range=function(e,t){return A(e,t),g},g.out=function(e){return p=e,g},g.spread=function(e){return arguments.length?(v=e,g):v},g.correctLightness=function(e){return null==e&&(e=!0),o=e,x(),w=o?function(e){var t,r,n,i,o,a,s,l,u;for(t=b(0,!0).lab()[0],r=b(1,!0).lab()[0],s=t>r,n=b(e,!0).lab()[0],o=t+(r-t)*e,i=n-o,l=0,u=1,a=20;Math.abs(i)>.01&&a-- >0;)!function(){s&&(i*=-1),i<0?(l=e,e+=.5*(u-e)):(u=e,e+=.5*(l-e)),n=b(e,!0).lab()[0],i=n-o}();return e}:function(e){return e},g},g.padding=function(e){return null!=e?("number"===Te(e)&&(e=[e,e]),d=e,g):d},g.colors=function(t,n){var o,s,l,u,c,f,p,d;if(arguments.length<2&&(n="hex"),c=[],0===arguments.length)c=i.slice(0);else if(1===t)c=[g(.5)];else if(t>1)s=a[0],o=a[1]-s,c=function(){f=[];for(var e=0;0<=t?e<t:e>t;0<=t?e++:e--)f.push(e);return f}.apply(this).map((function(e){return g(s+e/(t-1)*o)}));else{if(e=[],p=[],r&&r.length>2)for(l=d=1,u=r.length;1<=u?d<u:d>u;l=1<=u?++d:--d)p.push(.5*(r[l-1]+r[l]));else p=a;c=p.map((function(e){return g(e)}))}return _[n]&&(c=c.map((function(e){return e[n]()}))),c},g.cache=function(e){return null!=e?(m=e,g):m},g.gamma=function(e){return null!=e?(s=e,g):s},g.nodata=function(e){return null!=e?(f=_(e),g):f},g},null==_.scales&&(_.scales={}),_.scales.cool=function(){return _.scale([_.hsl(180,1,.9),_.hsl(250,.7,.4)])},_.scales.hot=function(){return _.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},_.analyze=function(e,t,r){var n,i,o,a,s,l,u;if(s={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},null==r&&(r=function(){return!0}),n=function(e){null==e||isNaN(e)||(s.values.push(e),s.sum+=e,e<s.min&&(s.min=e),e>s.max&&(s.max=e),s.count+=1)},u=function(e,i){if(r(e,i))return n(null!=t&&"function"===Te(t)?t(e):null!=t&&"string"===Te(t)||"number"===Te(t)?e[t]:e)},"array"===Te(e))for(a=0,o=e.length;a<o;a++)l=e[a],u(l);else for(i in e)l=e[i],u(l,i);return s.domain=[s.min,s.max],s.limits=function(e,t){return _.limits(s,e,t)},s},_.limits=function(e,t,r){var n,i,o,a,s,l,u,c,f,p,d,h,v,g,y,b,x,A,w,E,k,T,C,S,O,M,B,L,D,I,j,R,F,N,z,U,H,V,Q,W,K,q,G,$,Y,Z,J,te,re,ne,ie,ae,se,le,ue;if(null==t&&(t="equal"),null==r&&(r=7),"array"===Te(e)&&(e=_.analyze(e)),O=e.min,ee=e.max,e.sum,le=e.values.sort((function(e,t){return e-t})),1===r)return[O,ee];if(C=[],"c"===t.substr(0,1)&&(C.push(O),C.push(ee)),"e"===t.substr(0,1)){for(C.push(O),E=j=1,z=r-1;1<=z?j<=z:j>=z;E=1<=z?++j:--j)C.push(O+E/r*(ee-O));C.push(ee)}else if("l"===t.substr(0,1)){if(O<=0)throw"Logarithmic scales are only possible for values > 0";for(M=Math.LOG10E*X(O),S=Math.LOG10E*X(ee),C.push(O),E=ue=1,U=r-1;1<=U?ue<=U:ue>=U;E=1<=U?++ue:--ue)C.push(oe(10,M+E/r*(S-M)));C.push(ee)}else if("q"===t.substr(0,1)){for(C.push(O),E=n=1,q=r-1;1<=q?n<=q:n>=q;E=1<=q?++n:--n)R=(le.length-1)*E/r,F=P(R),F===R?C.push(le[F]):(N=R-F,C.push(le[F]*(1-N)+le[F+1]*N));C.push(ee)}else if("k"===t.substr(0,1)){for(L=le.length,g=new Array(L),A=new Array(r),ne=!0,D=0,b=null,b=[],b.push(O),E=i=1,G=r-1;1<=G?i<=G:i>=G;E=1<=G?++i:--i)b.push(O+E/r*(ee-O));for(b.push(ee);ne;){for(k=o=0,$=r-1;0<=$?o<=$:o>=$;k=0<=$?++o:--o)A[k]=0;for(E=a=0,Y=L-1;0<=Y?a<=Y:a>=Y;E=0<=Y?++a:--a){for(se=le[E],B=Number.MAX_VALUE,k=s=0,Z=r-1;0<=Z?s<=Z:s>=Z;k=0<=Z?++s:--s)(w=m(b[k]-se))<B&&(B=w,y=k);A[y]++,g[E]=y}for(I=new Array(r),k=l=0,J=r-1;0<=J?l<=J:l>=J;k=0<=J?++l:--l)I[k]=null;for(E=u=0,te=L-1;0<=te?u<=te:u>=te;E=0<=te?++u:--u)x=g[E],null===I[x]?I[x]=le[E]:I[x]+=le[E];for(k=c=0,re=r-1;0<=re?c<=re:c>=re;k=0<=re?++c:--c)I[k]*=1/A[k];for(ne=!1,k=f=0,H=r-1;0<=H?f<=H:f>=H;k=0<=H?++f:--f)if(I[k]!==b[E]){ne=!0;break}b=I,D++,D>200&&(ne=!1)}for(T={},k=p=0,V=r-1;0<=V?p<=V:p>=V;k=0<=V?++p:--p)T[k]=[];for(E=d=0,Q=L-1;0<=Q?d<=Q:d>=Q;E=0<=Q?++d:--d)x=g[E],T[x].push(le[E]);for(ie=[],k=h=0,W=r-1;0<=W?h<=W:h>=W;k=0<=W?++h:--h)ie.push(T[k][0]),ie.push(T[k][T[k].length-1]);for(ie=ie.sort((function(e,t){return e-t})),C.push(ie[0]),E=v=1,K=ie.length-1;v<=K;E=v+=2)ae=ie[E],isNaN(ae)||-1!==C.indexOf(ae)||C.push(ae)}return C},D=function(e,t,r){var n,i,o,a;return n=Ce(arguments),e=n[0],t=n[1],r=n[2],isNaN(e)&&(e=0),e/=360,e<1/3?(i=(1-t)/3,a=(1+t*T(c*e)/T(l-c*e))/3,o=1-(i+a)):e<2/3?(e-=1/3,a=(1-t)/3,o=(1+t*T(c*e)/T(l-c*e))/3,i=1-(a+o)):(e-=2/3,o=(1-t)/3,i=(1+t*T(c*e)/T(l-c*e))/3,a=1-(o+i)),a=Y(r*a*3),o=Y(r*o*3),i=Y(r*i*3),[255*a,255*o,255*i,n.length>3?n[3]:1]},ce=function(){var e,t,r,n,i,o,a,s;return a=Ce(arguments),o=a[0],t=a[1],e=a[2],c=2*Math.PI,o/=255,t/=255,e/=255,i=Math.min(o,t,e),n=(o+t+e)/3,s=1-i/n,0===s?r=0:(r=(o-t+(o-e))/2,r/=Math.sqrt((o-t)*(o-t)+(o-e)*(t-e)),r=Math.acos(r),e>t&&(r=c-r),r/=c),[360*r,s,n]},_.hsi=function(){return function(e,t,r){r.prototype=e.prototype;var n=new r,i=e.apply(n,t);return Object(i)===i?i:n}(i,Pe.call(arguments).concat(["hsi"]),(function(){}))},h.hsi=D,i.prototype.hsi=function(){return ce(this._rgb)},N=function(e,t,r,n){var i,o,a,s,l,u,c,f,p,d,h,v;return"hsl"===n?(h=e.hsl(),v=t.hsl()):"hsv"===n?(h=e.hsv(),v=t.hsv()):"hcg"===n?(h=e.hcg(),v=t.hcg()):"hsi"===n?(h=e.hsi(),v=t.hsi()):"lch"!==n&&"hcl"!==n||(n="hcl",h=e.hcl(),v=t.hcl()),"h"===n.substr(0,1)&&(a=h[0],p=h[1],u=h[2],s=v[0],d=v[1],c=v[2]),isNaN(a)||isNaN(s)?isNaN(a)?isNaN(s)?o=Number.NaN:(o=s,1!==u&&0!==u||"hsv"===n||(f=d)):(o=a,1!==c&&0!==c||"hsv"===n||(f=p)):(i=s>a&&s-a>180?s-(a+360):s<a&&a-s>180?s+360-a:s-a,o=a+r*i),null==f&&(f=p+r*(d-p)),l=u+r*(c-u),_[n](o,f,l)},v=v.concat(function(){var e,t,r,n;for(r=["hsv","hsl","hsi","hcl","lch","hcg"],n=[],t=0,e=r.length;t<e;t++)J=r[t],n.push([J,N]);return n}()),H=function(e,t,r,n){var i,o;return i=e.num(),o=t.num(),_.num(i+(o-i)*r,"num")},v.push(["num",H]),z=function(e,t,r,n){var o,a;return o=e.lab(),a=t.lab(),new i(o[0]+r*(a[0]-o[0]),o[1]+r*(a[1]-o[1]),o[2]+r*(a[2]-o[2]),n)},v.push(["lab",z])}).call(this)}).call(t,r(83)(e))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(85);t.default=n.a},function(e,t,r){e.exports=!r(13)&&!r(22)((function(){return 7!=Object.defineProperty(r(59)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(21),i=r(11).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(14),i=r(15),o=r(91)(!1),a=r(39)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},function(e,t,r){var n=r(36);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(38),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){"use strict";var n=r(95)(!0);r(64)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){"use strict";var n=r(28),i=r(10),o=r(65),a=r(19),s=r(25),l=r(96),u=r(45),c=r(66),f=r(7)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,m,g){l(r,t,h);var y,b,x,A=function(e){if(!p&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",_="values"==v,E=!1,k=e.prototype,T=k[f]||k["@@iterator"]||v&&k[v],C=T||A(v),S=v?_?A("entries"):C:void 0,O="Array"==t&&k.entries||T;if(O&&(x=c(O.call(new e)))!==Object.prototype&&x.next&&(u(x,w,!0),n||"function"==typeof x[f]||a(x,f,d)),_&&T&&"values"!==T.name&&(E=!0,C=function(){return T.call(this)}),n&&!g||!p&&!E&&k[f]||a(k,f,C),s[t]=C,s[w]=d,v)if(y={values:_?C:A("values"),keys:m?C:A("keys"),entries:S},g)for(b in y)b in k||o(k,b,y[b]);else i(i.P+i.F*(p||E),t,y);return y}},function(e,t,r){e.exports=r(19)},function(e,t,r){var n=r(14),i=r(31),o=r(39)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(60),i=r(41).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,s,l=n(e),u=1;u<arguments.length;u++){for(var c in r=Object(arguments[u]),r)o.call(r,c)&&(l[c]=r[c]);if(i){s=i(r);for(var f=0;f<s.length;f++)a.call(r,s[f])&&(l[s[f]]=r[s[f]])}}return l}},function(e,t,r){e.exports={default:r(129),__esModule:!0}},function(e,t,r){"use strict";function n(e,t,r){return r?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function i(e,t,r){var n=e[t]||{};return l()({},n,r)}function o(e,t,r,i){var o=r.points;for(var a in e)if(e.hasOwnProperty(a)&&n(e[a].points,o,i))return t+"-placement-"+a;return""}function a(e,t){this[e]=t}t.a=i,t.b=o,t.c=a;var s=r(5),l=r.n(s)},function(e,t,r){"use strict";function n(e,t,r){return e.left<r.left||e.left+t.width>r.right}function i(e,t,r){return e.top<r.top||e.top+t.height>r.bottom}function o(e,t,r){return e.left>r.right||e.left+t.width<r.left}function a(e,t,r){return e.top>r.bottom||e.top+t.height<r.top}function s(e,t,r){var n=[];return p.a.each(e,(function(e){n.push(e.replace(t,(function(e){return r[e]})))})),n}function l(e,t){return e[t]=-e[t],e}function u(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function c(e,t){e[0]=u(e[0],t.width),e[1]=u(e[1],t.height)}function f(e,t,r,u){var f=r.points,g=r.offset||[0,0],y=r.targetOffset||[0,0],b=r.overflow,x=r.source||e;g=[].concat(g),y=[].concat(y),b=b||{};var A={},w=0,_=Object(d.a)(x),E=Object(v.a)(x);c(g,E),c(y,t);var k=Object(m.a)(E,t,f,g,y),T=p.a.merge(E,k);if(_&&(b.adjustX||b.adjustY)&&u){if(b.adjustX&&n(k,E,_)){var C=s(f,/[lr]/gi,{l:"r",r:"l"}),S=l(g,0),O=l(y,0);o(Object(m.a)(E,t,C,S,O),E,_)||(w=1,f=C,g=S,y=O)}if(b.adjustY&&i(k,E,_)){var M=s(f,/[tb]/gi,{t:"b",b:"t"}),P=l(g,1),B=l(y,1);a(Object(m.a)(E,t,M,P,B),E,_)||(w=1,f=M,g=P,y=B)}w&&(k=Object(m.a)(E,t,f,g,y),p.a.mix(T,k));var L=n(k,E,_),D=i(k,E,_);(L||D)&&(f=r.points,g=r.offset||[0,0],y=r.targetOffset||[0,0]),A.adjustX=b.adjustX&&L,A.adjustY=b.adjustY&&D,(A.adjustX||A.adjustY)&&(T=Object(h.a)(k,E,_,A))}return T.width!==E.width&&p.a.css(x,"width",p.a.width(x)+T.width-E.width),T.height!==E.height&&p.a.css(x,"height",p.a.height(x)+T.height-E.height),p.a.offset(x,{left:T.left,top:T.top},{useCssRight:r.useCssRight,useCssBottom:r.useCssBottom,useCssTransform:r.useCssTransform,ignoreShake:r.ignoreShake}),{points:f,offset:g,targetOffset:y,overflow:A}}var p=r(17),d=r(72),h=r(139),v=r(74),m=r(140);t.a=f},function(e,t,r){"use strict";function n(e){for(var t={left:0,right:1/0,top:0,bottom:1/0},r=Object(o.a)(e),n=i.a.getDocument(e),s=n.defaultView||n.parentWindow,l=n.body,u=n.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===l||r===u||"visible"===i.a.css(r,"overflow")){if(r===l||r===u)break}else{var c=i.a.offset(r);c.left+=r.clientLeft,c.top+=r.clientTop,t.top=Math.max(t.top,c.top),t.right=Math.min(t.right,c.left+r.clientWidth),t.bottom=Math.min(t.bottom,c.top+r.clientHeight),t.left=Math.max(t.left,c.left)}r=Object(o.a)(r)}var f=null;i.a.isWindow(e)||9===e.nodeType||(f=e.style.position,"absolute"===i.a.css(e,"position")&&(e.style.position="fixed"));var p=i.a.getWindowScrollLeft(s),d=i.a.getWindowScrollTop(s),h=i.a.viewportWidth(s),v=i.a.viewportHeight(s),m=u.scrollWidth,g=u.scrollHeight;if(e.style&&(e.style.position=f),Object(a.a)(e))t.left=Math.max(t.left,p),t.top=Math.max(t.top,d),t.right=Math.min(t.right,p+h),t.bottom=Math.min(t.bottom,d+v);else{var y=Math.max(m,p+h);t.right=Math.min(t.right,y);var b=Math.max(g,d+v);t.bottom=Math.min(t.bottom,b)}return t.top>=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}var i=r(17),o=r(73),a=r(138);t.a=n},function(e,t,r){"use strict";function n(e){if(i.a.isWindow(e)||9===e.nodeType)return null;var t=i.a.getDocument(e),r=t.body,n=void 0,o=i.a.css(e,"position");if("fixed"!==o&&"absolute"!==o)return"html"===e.nodeName.toLowerCase()?null:e.parentNode;for(n=e.parentNode;n&&n!==r;n=n.parentNode)if("static"!==(o=i.a.css(n,"position")))return n;return null}var i=r(17);t.a=n},function(e,t,r){"use strict";function n(e){var t=void 0,r=void 0,n=void 0;if(i.a.isWindow(e)||9===e.nodeType){var o=i.a.getWindow(e);t={left:i.a.getWindowScrollLeft(o),top:i.a.getWindowScrollTop(o)},r=i.a.viewportWidth(o),n=i.a.viewportHeight(o)}else t=i.a.offset(e),r=i.a.outerWidth(e),n=i.a.outerHeight(e);return t.width=r,t.height=n,t}var i=r(17);t.a=n},function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},function(e,t,r){"use strict";var n={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}};t.a=n},function(e,t,r){"use strict";var n=r(24),i=r.n(n),o=r(2),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(1),h=r.n(d),v=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return e.hiddenClassName||e.visible},t.prototype.render=function(){var e=this.props,t=e.hiddenClassName,r=e.visible,n=i()(e,["hiddenClassName","visible"]);return t||p.a.Children.count(n.children)>1?(!r&&t&&(n.className+=" "+t),p.a.createElement("div",n)):p.a.Children.only(n.children)},t}(f.Component);v.propTypes={children:h.a.any,className:h.a.string,visible:h.a.bool,hiddenClassName:h.a.string},t.a=v},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(0),a=r.n(o),s=function(e){var t=e.className,r=e.included,n=e.vertical,o=e.offset,s=e.length,l=e.style,u=n?{bottom:o+"%",height:s+"%"}:{left:o+"%",width:s+"%"},c=i()({},l,u);return r?a.a.createElement("div",{className:t,style:c}):null};t.a=s},function(e,t,r){"use strict";function n(){}function i(e){var t,r;return r=t=function(e){function t(e){p()(this,t);var r=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));if(r.onMouseDown=function(e){if(0===e.button){var t=r.props.vertical,n=L.e(t,e);if(L.h(e,r.handlesRefs)){var i=L.c(t,e.target);r.dragOffset=n-i,n=i}else r.dragOffset=0;r.removeDocumentEvents(),r.onStart(n),r.addDocumentMouseEvents()}},r.onTouchStart=function(e){if(!L.i(e)){var t=r.props.vertical,n=L.f(t,e);if(L.h(e,r.handlesRefs)){var i=L.c(t,e.target);r.dragOffset=n-i,n=i}else r.dragOffset=0;r.onStart(n),r.addDocumentTouchEvents(),L.k(e)}},r.onFocus=function(e){var t=r.props,n=t.onFocus,i=t.vertical;if(L.h(e,r.handlesRefs)){var o=L.c(i,e.target);r.dragOffset=0,r.onStart(o),L.k(e),n&&n(e)}},r.onBlur=function(e){var t=r.props.onBlur;r.onEnd(e),t&&t(e)},r.onMouseUp=function(){r.handlesRefs[r.prevMovedHandleIndex]&&r.handlesRefs[r.prevMovedHandleIndex].clickFocus()},r.onMouseMove=function(e){if(r.sliderRef){var t=L.e(r.props.vertical,e);r.onMove(e,t-r.dragOffset)}else r.onEnd()},r.onTouchMove=function(e){if(!L.i(e)&&r.sliderRef){var t=L.f(r.props.vertical,e);r.onMove(e,t-r.dragOffset)}else r.onEnd()},r.onKeyDown=function(e){r.sliderRef&&L.h(e,r.handlesRefs)&&r.onKeyboard(e)},r.onClickMarkLabel=function(e,t){e.stopPropagation(),r.onChange({value:t}),r.onEnd()},r.saveSlider=function(e){r.sliderRef=e},L.g()){var n=e.step,i=e.max,o=e.min,a=!isFinite(i-o)||(i-o)%n===0;O()(!n||Math.floor(n)!==n||a,"Slider[max] - Slider[min] (%s) should be a multiple of Slider[step] (%s)",i-o,n)}return r.handlesRefs={},r}return x()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument}},{key:"componentWillUnmount",value:function(){y()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this)&&y()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=e.getBoundingClientRect();return this.props.vertical?t.top:t.left+window.pageXOffset}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=Object(k.a)(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=Object(k.a)(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=Object(k.a)(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=Object(k.a)(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){this.props.disabled||this.handlesRefs[0].focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach((function(t){e.handlesRefs[t]&&e.handlesRefs[t].blur&&e.handlesRefs[t].blur()}))}},{key:"calcValue",value:function(e){var t=this.props,r=t.vertical,n=t.min,i=t.max,o=Math.abs(Math.max(e,0)/this.getSliderLength());return r?(1-o)*(i-n)+n:o*(i-n)+n}},{key:"calcValueByPos",value:function(e){var t=e-this.getSliderStart();return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,r=t.min;return(e-r)/(t.max-r)*100}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,r=this.props,i=r.prefixCls,o=r.className,a=r.marks,s=r.dots,u=r.step,f=r.included,p=r.disabled,d=r.vertical,h=r.min,v=r.max,m=r.children,g=r.maximumTrackStyle,b=r.style,x=r.railStyle,A=r.dotStyle,_=r.activeDotStyle,E=y()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"render",this).call(this),k=E.tracks,T=E.handles,S=C()(i,(e={},c()(e,i+"-with-marks",Object.keys(a).length),c()(e,i+"-disabled",p),c()(e,i+"-vertical",d),c()(e,o,o),e));return w.a.createElement("div",{ref:this.saveSlider,className:S,onTouchStart:p?n:this.onTouchStart,onMouseDown:p?n:this.onMouseDown,onMouseUp:p?n:this.onMouseUp,onKeyDown:p?n:this.onKeyDown,onFocus:p?n:this.onFocus,onBlur:p?n:this.onBlur,style:b},w.a.createElement("div",{className:i+"-rail",style:l()({},g,x)}),k,w.a.createElement(M.a,{prefixCls:i,vertical:d,marks:a,dots:s,step:u,included:f,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:v,min:h,dotStyle:A,activeDotStyle:_}),T,w.a.createElement(P.a,{className:i+"-mark",onClickLabel:p?n:this.onClickMarkLabel,vertical:d,marks:a,included:f,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:v,min:h}),m)}}]),t}(e),t.displayName="ComponentEnhancer("+e.displayName+")",t.propTypes=l()({},e.propTypes,{min:E.a.number,max:E.a.number,step:E.a.number,marks:E.a.object,included:E.a.bool,className:E.a.string,prefixCls:E.a.string,disabled:E.a.bool,children:E.a.any,onBeforeChange:E.a.func,onChange:E.a.func,onAfterChange:E.a.func,handle:E.a.func,dots:E.a.bool,vertical:E.a.bool,style:E.a.object,minimumTrackStyle:E.a.object,maximumTrackStyle:E.a.object,handleStyle:E.a.oneOfType([E.a.object,E.a.arrayOf(E.a.object)]),trackStyle:E.a.oneOfType([E.a.object,E.a.arrayOf(E.a.object)]),railStyle:E.a.object,dotStyle:E.a.object,activeDotStyle:E.a.object,autoFocus:E.a.bool,onFocus:E.a.func,onBlur:E.a.func}),t.defaultProps=l()({},e.defaultProps,{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,r=a()(e,["index"]);return delete r.dragging,null===r.value?null:w.a.createElement(B.a,l()({},r,{key:t}))},onBeforeChange:n,onChange:n,onAfterChange:n,included:!0,disabled:!1,dots:!1,vertical:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),r}t.a=i;var o=r(24),a=r.n(o),s=r(5),l=r.n(s),u=r(18),c=r.n(u),f=r(2),p=r.n(f),d=r(9),h=r.n(d),v=r(3),m=r.n(v),g=r(155),y=r.n(g),b=r(4),x=r.n(b),A=r(0),w=r.n(A),_=r(1),E=r.n(_),k=r(32),T=r(16),C=r.n(T),S=r(50),O=r.n(S),M=r(162),P=r(163),B=r(51),L=r(52)},function(e,t,r){var n=r(10),i=r(6),o=r(22);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o((function(){r(1)})),"Object",a)}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(164),i=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,i.default)(e)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getColorscale=t.COLOR_PICKER_CONSTANTS=t.Colorscale=void 0;var i=r(55),o=n(i),a=r(84),s=n(a),l=r(33),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(l);t.default=s.default,t.Colorscale=o.default,t.COLOR_PICKER_CONSTANTS=u,t.getColorscale=a.getColorscale},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t,r,n,i){var o=m.default.scale(e).mode("lch");if(n){var a=Array(t).fill().map((function(e,t){return t+1}));o=o.classes(m.default.limits(a,"l",r))}var s=o.colors(t);return n||"categorical"!==i||(s=function(e,t){var r=Array.apply(null,new Array(t));return r=r.map((function(){return e})),[].concat.apply([],r)}(e,t).slice(0,t)),s}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorscalePaletteSelector=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.getColorscale=l;var f=r(0),p=n(f),d=r(55),h=n(d),v=r(56),m=n(v),g=r(57),y=n(g),b=r(153),x=n(b),A=r(177),w=n(A);r(179),r(182);var _=r(33);r(184);var E=x.default.Handle,k=function(e){function t(e){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return T.call(r),r.state={colorscale:r.props.colorscale||_.DEFAULT_SCALE,nSwatches:(r.props.colorscale||_.DEFAULT_SCALE).length,previousColorscale:r.props.colorscale||_.DEFAULT_SCALE,colorscaleType:r.props.colorscaleType||r.props.initialColorscaleType,log:!1,logBreakpoints:_.DEFAULT_LOG_BREAKPOINTS,customBreakpoints:_.DEFAULT_BREAKPOINTS,previousCustomBreakpoints:null,cubehelix:{start:_.DEFAULT_START,rotations:_.DEFAULT_ROTATIONS}},r.onClick=r.onClick.bind(r),r.setColorscaleType=r.setColorscaleType.bind(r),r.updateCubehelixStart=r.updateCubehelixStart.bind(r),r.updateCubehelixRotations=r.updateCubehelixRotations.bind(r),r.updateCubehelix=r.updateCubehelix.bind(r),r.toggleLog=r.toggleLog.bind(r),r.handle=r.handle.bind(r),r}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this.setState({colorscaleOnMount:this.props.colorscale})}},{key:"setColorscaleType",value:function(e){var t=e.value;if(t!==this.state.colorscaleType){var r=this.state.log;_.SCALES_WITHOUT_LOG.indexOf(t)>=0&&(r=!1),this.setState({colorscaleType:t,log:r})}}},{key:"renderSwatchControls",value:function(){var e=null,t=null;return this.props.fixSwatches||(e=p.default.createElement("div",{className:"noWrap inlineBlock"},p.default.createElement("span",{className:"textLabel spaceRight"},"Swatches:"),p.default.createElement("span",{className:"textLabel spaceRight"},this.state.nSwatches)),t=p.default.createElement(x.default,{min:1,max:100,defaultValue:this.state.nSwatches,handle:this.handle,onAfterChange:this.updateSwatchNumber})),p.default.createElement("div",null,e,_.SCALES_WITHOUT_LOG.indexOf(this.state.colorscaleType)<0&&p.default.createElement("div",{className:"noWrap inlineBlock alignTop"},p.default.createElement("span",{className:"textLabel spaceRight spaceLeft"},"Log scale"),p.default.createElement("input",{type:"checkbox",name:"log",value:"log",onChange:this.toggleLog,defaultChecked:this.state.log,className:"spaceRightZeroTop alignMiddle"}),this.state.log&&p.default.createElement("span",null,p.default.createElement("span",{className:"textLabel spaceRight spaceLeft"},"Breakpoints:"," "),p.default.createElement("input",{type:"number",step:"1",min:"1",max:"10",value:""+this.state.logBreakpoints,onChange:this.updateBreakpoints}))),t)}},{key:"render",value:function(){var e=_.COLORSCALE_TYPES.map((function(e){return{label:e+" scales",value:e}})),t="colorscalePickerContainer"+(this.props.className?" "+this.props.className:"");return p.default.createElement("div",{className:t,style:{width:this.props.width||"300px"}},p.default.createElement("div",{className:"colorscalePickerTopContainer"},p.default.createElement(w.default,{options:e,value:this.state.colorscaleType,onChange:this.setColorscaleType,placeholder:"Select colorscale",noResultsText:"Colorscale not found",clearable:!1,searchable:!1})),p.default.createElement(C,{colorscaleType:this.props.colorscaleType||this.state.colorscaleType,colorscaleOnMount:this.state.colorscaleOnMount,onClick:this.onClick,previousColorscale:this.state.previousColorscale,customBreakpoints:this.state.customBreakpoints,nSwatches:this.state.nSwatches,cubehelix:this.state.cubehelix,updateCubehelixStartState:this.updateCubehelixStartState,updateCubehelixStart:this.updateCubehelixStart,handle:this.handle,updateCubehelixRotState:this.updateCubehelixRotState,updateCubehelixRotations:this.updateCubehelixRotations,updateBreakpointArray:this.updateBreakpointArray,scaleLength:this.props.scaleLength}),this.props.disableSwatchControls?null:this.renderSwatchControls())}}]),t}(f.Component),T=function(){var e=this;this.handle=function(e){var t=e.value,r=e.dragging,n=e.index,o=i(e,["value","dragging","index"]);return p.default.createElement(y.default,{prefixCls:"rc-slider-tooltip",overlay:t,visible:r,placement:"top",key:n},p.default.createElement(E,u({value:t},o)))},this.toggleLog=function(){var t=l(e.state.previousColorscale,e.state.nSwatches,e.state.logBreakpoints,!e.state.log,e.state.colorscaleType);e.setState({log:!e.state.log,colorscale:t}),e.props.onChange(t)},this.onClick=function(t,r,n){if(e.state.customBreakpoints!==e.state.previousCustomBreakpoints||"custom"!==e.state.colorscaleType){var i=l(t,t.length,e.state.logBreakpoints,e.state.log,e.state.colorscaleType),o=t;"custom"===e.state.colorscaleType&&(o=e.state.previousColorscale),r||n?e.setState({previousColorscale:o,colorscale:i,nSwatches:t.length,previousCustomBreakpoints:null,cubehelix:{start:r,rotations:n}}):e.setState({previousColorscale:o,colorscale:i,nSwatches:t.length,previousCustomBreakpoints:"custom"===e.state.colorscaleType?e.state.customBreakpoints:null}),e.props.onChange(i,e.state.colorscaleType)}},this.updateSwatchNumber=function(t){var r=l(e.state.previousColorscale,t,e.state.logBreakpoints,e.state.log,e.state.colorscaleType);e.setState({nSwatches:t,colorscale:r,customBreakpoints:_.DEFAULT_BREAKPOINTS}),e.props.onChange(r)},this.updateBreakpoints=function(t){var r=t.currentTarget.valueAsNumber,n=l(e.state.previousColorscale,e.state.nSwatches,r,e.state.log,e.state.colorscaleType);e.setState({logBreakpoints:r,colorscale:n}),e.props.onChange(n)},this.updateBreakpointArray=function(t){var r=t.currentTarget.value.replace(/,\s*$/,"").split(",").map(Number);e.setState({customBreakpoints:r})},this.updateCubehelixStart=function(t){var r=e.state.cubehelix.rotations;e.updateCubehelix(t,r)},this.updateCubehelixRotations=function(t){var r=e.state.cubehelix.start;e.updateCubehelix(r,t)},this.updateCubehelixStartState=function(t){var r=e.state.cubehelix;r.start=t,e.setState({cubehelix:r})},this.updateCubehelixRotState=function(t){var r=e.state.cubehelix;r.rotations=t,e.setState({cubehelix:r})},this.updateCubehelix=function(t,r){var n=m.default.cubehelix().start(t).rotations(e.state.cubehelix.rotations).gamma(_.DEFAULT_GAMMA).lightness(_.DEFAULT_LIGHTNESS).scale().correctLightness().colors(_.DEFAULT_NCOLORS);e.onClick(n,t,r)}};t.default=k,k.defaultProps={initialColorscaleType:"sequential"};var C=t.ColorscalePaletteSelector=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.colorscaleType,r=e.colorscaleOnMount,n=e.onClick,i=e.previousColorscale,o=e.customBreakpoints,a=e.nSwatches,s=e.cubehelix,l=e.updateCubehelixStartState,u=e.updateCubehelixStart,c=e.handle,f=e.updateCubehelixRotState,d=e.updateCubehelixRotations,v=e.updateBreakpointArray,g=e.scaleLength;return p.default.createElement("div",{className:"colorscalePickerBottomContainer"},p.default.createElement("div",{style:{margin:"0 auto"}},p.default.createElement(h.default,{key:"reset",colorscale:r,onClick:n,label:"RESET",scaleLength:g||_.DEFAULT_NPREVIEWCOLORS}),_.BUILTINS.hasOwnProperty(t)&&Object.keys(_.BUILTINS[t]).map((function(e,r){return p.default.createElement(h.default,{key:r,onClick:n,colorscale:_.BUILTINS[t][e],label:e,scaleLength:_.BUILTINS[t][e].length})})),_.BREWER.hasOwnProperty(t)&&_.BREWER[t].map((function(e,t){return p.default.createElement(h.default,{key:t,onClick:n,colorscale:m.default.brewer[e],label:e,scaleLength:m.default.brewer[e].length})})),"cubehelix"===t&&_.CUBEHELIX.map((function(e,t){return p.default.createElement(h.default,{key:t,onClick:n,colorscale:m.default.cubehelix().start(e.start).rotations(e.rotations).gamma(_.DEFAULT_GAMMA).lightness(_.DEFAULT_LIGHTNESS).scale().correctLightness().colors(g||_.DEFAULT_NPREVIEWCOLORS),start:e.start,rot:e.rotations,label:"s"+e.start+" r"+e.rotations,scaleLength:g})})),"cmocean"===t&&Object.keys(_.CMOCEAN).map((function(e,t){return p.default.createElement(h.default,{key:t,onClick:n,colorscale:_.CMOCEAN[e],label:e,scaleLength:_.CMOCEAN[e].length})})),"custom"===t&&p.default.createElement(h.default,{onClick:n,colorscale:m.default.scale(i).classes(o).mode("lch").colors(g||a),maxWidth:200,label:"Preview",scaleLength:g}),p.default.createElement("p",{className:"colorscaleDescription"},_.COLORSCALE_DESCRIPTIONS[t]),["custom","cubehelix"].includes(t)?p.default.createElement("div",{className:"colorscaleControlPanel"},"cubehelix"===t&&p.default.createElement("div",null,p.default.createElement("div",{className:"noWrap"},p.default.createElement("span",{className:"textLabel"},"Start: "),p.default.createElement("span",{className:"textLabel"},s.start),p.default.createElement(x.default,{min:0,max:300,step:1,value:s.start,onChange:l,onAfterChange:u,handle:c})),p.default.createElement("div",{className:"noWrap"},p.default.createElement("span",{className:"textLabel"},"Rotations: "),p.default.createElement("span",{className:"textLabel"},s.rotations),p.default.createElement(x.default,{min:-1.5,max:1.5,step:.1,value:s.rotations,onChange:f,onAfterChange:d,handle:c}))),p.default.createElement("div",null,"custom"===t&&p.default.createElement("div",{className:"colorscaleControlsRow"},p.default.createElement("p",{className:"textLabel zeroSpace"},"Decimals between 0 and 1, or numbers between MIN and MAX of your data, separated by commas:"),p.default.createElement("input",{type:"text",defaultValue:o.join(", "),onChange:v}),p.default.createElement("p",{className:"textLabel spaceTop"},o.length-1," breakpoints:"," ",o.join(" | "))))):null))}}]),t}(f.Component)},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(24),a=r.n(o),s=r(2),l=r.n(s),u=r(3),c=r.n(u),f=r(4),p=r.n(f),d=r(0),h=r.n(d),v=r(1),m=r.n(v),g=r(123),y=r(151),b=r(152),x=function(e){function t(){var r,n,i;l()(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=n=c()(this,e.call.apply(e,[this].concat(a))),n.getPopupElement=function(){var e=n.props,t=e.arrowContent,r=e.overlay,i=e.prefixCls,o=e.id;return[h.a.createElement("div",{className:i+"-arrow",key:"arrow"},t),h.a.createElement(b.a,{key:"content",trigger:n.trigger,prefixCls:i,id:o,overlay:r})]},n.saveTrigger=function(e){n.trigger=e},i=r,c()(n,i)}return p()(t,e),t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.render=function(){var e=this.props,t=e.overlayClassName,r=e.trigger,n=e.mouseEnterDelay,o=e.mouseLeaveDelay,s=e.overlayStyle,l=e.prefixCls,u=e.children,c=e.onVisibleChange,f=e.afterVisibleChange,p=e.transitionName,d=e.animation,v=e.placement,m=e.align,b=e.destroyTooltipOnHide,x=e.defaultVisible,A=e.getTooltipContainer,w=a()(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),_=i()({},w);return"visible"in this.props&&(_.popupVisible=this.props.visible),h.a.createElement(g.a,i()({popupClassName:t,ref:this.saveTrigger,prefixCls:l,popup:this.getPopupElement,action:r,builtinPlacements:y.a,popupPlacement:v,popupAlign:m,getPopupContainer:A,onPopupVisibleChange:c,afterPopupVisibleChange:f,popupTransitionName:p,popupAnimation:d,defaultPopupVisible:x,destroyPopupOnHide:b,mouseLeaveDelay:o,popupStyle:s,mouseEnterDelay:n},_),u)},t}(d.Component);x.propTypes={trigger:m.a.any,children:m.a.any,defaultVisible:m.a.bool,visible:m.a.bool,placement:m.a.string,transitionName:m.a.oneOfType([m.a.string,m.a.object]),animation:m.a.any,onVisibleChange:m.a.func,afterVisibleChange:m.a.func,overlay:m.a.oneOfType([m.a.node,m.a.func]).isRequired,overlayStyle:m.a.object,overlayClassName:m.a.string,prefixCls:m.a.string,mouseEnterDelay:m.a.number,mouseLeaveDelay:m.a.number,getTooltipContainer:m.a.func,destroyTooltipOnHide:m.a.bool,align:m.a.object,arrowContent:m.a.any,id:m.a.string},x.defaultProps={prefixCls:"rc-tooltip",mouseEnterDelay:0,destroyTooltipOnHide:!1,mouseLeaveDelay:.1,align:{},placement:"right",trigger:["hover"],arrowContent:null},t.a=x},function(e,t,r){e.exports={default:r(87),__esModule:!0}},function(e,t,r){r(88),e.exports=r(6).Object.assign},function(e,t,r){var n=r(10);n(n.S+n.F,"Object",{assign:r(90)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(27),i=r(42),o=r(30),a=r(31),s=r(61),l=Object.assign;e.exports=!l||r(22)((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||Object.keys(l({},t)).join("")!=n}))?function(e,t){for(var r=a(e),l=arguments.length,u=1,c=i.f,f=o.f;l>u;)for(var p,d=s(arguments[u++]),h=c?n(d).concat(c(d)):n(d),v=h.length,m=0;v>m;)f.call(d,p=h[m++])&&(r[p]=d[p]);return r}:l},function(e,t,r){var n=r(15),i=r(62),o=r(92);e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(38),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},function(e,t,r){e.exports={default:r(94),__esModule:!0}},function(e,t,r){r(63),r(99),e.exports=r(46).f("iterator")},function(e,t,r){var n=r(38),i=r(37);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,r){"use strict";var n=r(44),i=r(23),o=r(45),a={};r(19)(a,r(7)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(12),i=r(20),o=r(27);e.exports=r(13)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,l=0;s>l;)n.f(e,r=a[l++],t[r]);return e}},function(e,t,r){var n=r(11).document;e.exports=n&&n.documentElement},function(e,t,r){r(100);for(var n=r(11),i=r(19),o=r(25),a=r(7)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=n[u],f=c&&c.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},function(e,t,r){"use strict";var n=r(101),i=r(102),o=r(25),a=r(15);e.exports=r(64)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){e.exports={default:r(104),__esModule:!0}},function(e,t,r){r(105),r(110),r(111),r(112),e.exports=r(6).Symbol},function(e,t,r){"use strict";var n=r(11),i=r(14),o=r(13),a=r(10),s=r(65),l=r(106).KEY,u=r(22),c=r(40),f=r(45),p=r(29),d=r(7),h=r(46),v=r(47),m=r(107),g=r(108),y=r(20),b=r(21),x=r(15),A=r(35),w=r(23),_=r(44),E=r(109),k=r(48),T=r(12),C=r(27),S=k.f,O=T.f,M=E.f,P=n.Symbol,B=n.JSON,L=B&&B.stringify,D=d("_hidden"),I=d("toPrimitive"),j={}.propertyIsEnumerable,R=c("symbol-registry"),F=c("symbols"),N=c("op-symbols"),z=Object.prototype,U="function"==typeof P,H=n.QObject,V=!H||!H.prototype||!H.prototype.findChild,Q=o&&u((function(){return 7!=_(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=S(z,t);n&&delete z[t],O(e,t,r),n&&e!==z&&O(z,t,n)}:O,W=function(e){var t=F[e]=_(P.prototype);return t._k=e,t},K=U&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},q=function(e,t,r){return e===z&&q(N,t,r),y(e),t=A(t,!0),y(r),i(F,t)?(r.enumerable?(i(e,D)&&e[D][t]&&(e[D][t]=!1),r=_(r,{enumerable:w(0,!1)})):(i(e,D)||O(e,D,w(1,{})),e[D][t]=!0),Q(e,t,r)):O(e,t,r)},G=function(e,t){y(e);for(var r,n=m(t=x(t)),i=0,o=n.length;o>i;)q(e,r=n[i++],t[r]);return e},$=function(e,t){return void 0===t?_(e):G(_(e),t)},Y=function(e){var t=j.call(this,e=A(e,!0));return!(this===z&&i(F,e)&&!i(N,e))&&(!(t||!i(this,e)||!i(F,e)||i(this,D)&&this[D][e])||t)},X=function(e,t){if(e=x(e),t=A(t,!0),e!==z||!i(F,t)||i(N,t)){var r=S(e,t);return!r||!i(F,t)||i(e,D)&&e[D][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=M(x(e)),n=[],o=0;r.length>o;)i(F,t=r[o++])||t==D||t==l||n.push(t);return n},J=function(e){for(var t,r=e===z,n=M(r?N:x(e)),o=[],a=0;n.length>a;)!i(F,t=n[a++])||r&&!i(z,t)||o.push(F[t]);return o};U||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(r){this===z&&t.call(N,r),i(this,D)&&i(this[D],e)&&(this[D][e]=!1),Q(this,e,w(1,r))};return o&&V&&Q(z,e,{configurable:!0,set:t}),W(e)},s(P.prototype,"toString",(function(){return this._k})),k.f=X,T.f=q,r(67).f=E.f=Z,r(30).f=Y,r(42).f=J,o&&!r(28)&&s(z,"propertyIsEnumerable",Y,!0),h.f=function(e){return W(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:P});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var re=C(d.store),ne=0;re.length>ne;)v(re[ne++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=P(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:$,defineProperty:q,defineProperties:G,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),B&&a(a.S+a.F*(!U||u((function(){var e=P();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!K(t))return t}),n[1]=t,L.apply(B,n)}}),P.prototype[I]||r(19)(P.prototype,I,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(e,t,r){var n=r(29)("meta"),i=r(21),o=r(14),a=r(12).f,s=0,l=Object.isExtensible||function(){return!0},u=!r(22)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},p=function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},d=function(e){return u&&h.NEED&&l(e)&&!o(e,n)&&c(e),e},h=e.exports={KEY:n,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,r){var n=r(27),i=r(42),o=r(30);e.exports=function(e){var t=n(e),r=i.f;if(r)for(var a,s=r(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,r){var n=r(36);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(15),i=r(67).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},function(e,t){},function(e,t,r){r(47)("asyncIterator")},function(e,t,r){r(47)("observable")},function(e,t,r){e.exports={default:r(114),__esModule:!0}},function(e,t,r){r(115),e.exports=r(6).Object.setPrototypeOf},function(e,t,r){var n=r(10);n(n.S,"Object",{setPrototypeOf:r(116).set})},function(e,t,r){var n=r(21),i=r(20),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(34)(Function.call,r(48).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(118),__esModule:!0}},function(e,t,r){r(119);var n=r(6).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(10);n(n.S,"Object",{create:r(44)})},function(e,t,r){"use strict";(function(t){function n(){return null}var i=r(68),o=r(49),a=r(121),s=function(){};"production"!==t.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,r){function l(e){var t=e&&(T&&e[T]||e[C]);if("function"===typeof t)return t}function u(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function c(e){this.message=e,this.stack=""}function f(e){function n(n,l,u,f,p,d,h){if(f=f||S,d=d||u,h!==o){if(r){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var m=f+":"+u;!i[m]&&a<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),i[m]=!0,a++)}}return null==l[u]?n?new c(null===l[u]?"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(l,u,f,p,d)}if("production"!==t.env.NODE_ENV)var i={},a=0;var l=n.bind(null,!1);return l.isRequired=n.bind(null,!0),l}function p(e){function t(t,r,n,i,o,a){var s=t[r];return w(s)!==e?new c("Invalid "+i+" `"+o+"` of type `"+_(s)+"` supplied to `"+n+"`, expected `"+e+"`."):null}return f(t)}function d(e){function t(t,r,n,i,a){if("function"!==typeof e)return new c("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new c("Invalid "+i+" `"+a+"` of type `"+w(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,n,i,a+"["+l+"]",o);if(u instanceof Error)return u}return null}return f(t)}function h(e){function t(t,r,n,i,o){if(!(t[r]instanceof e)){var a=e.name||S;return new c("Invalid "+i+" `"+o+"` of type `"+k(t[r])+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}return null}return f(t)}function v(e){function r(t,r,n,i,o){for(var a=t[r],s=0;s<e.length;s++)if(u(a,e[s]))return null;return new c("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+n+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(r):("production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOf, expected an instance of array."),n)}function m(e){function t(t,r,n,i,a){if("function"!==typeof e)return new c("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=t[r],l=w(s);if("object"!==l)return new c("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected an object.");for(var u in s)if(s.hasOwnProperty(u)){var f=e(s,u,n,i,a+"."+u,o);if(f instanceof Error)return f}return null}return f(t)}function g(e){function r(t,r,n,i,a){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,r,n,i,a,o))return null;return new c("Invalid "+i+" `"+a+"` supplied to `"+n+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),n;for(var i=0;i<e.length;i++){var a=e[i];if("function"!==typeof a)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(a)+" at index "+i+"."),n}return f(r)}function y(e){function t(t,r,n,i,a){var s=t[r],l=w(s);if("object"!==l)return new c("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var f=e[u];if(f){var p=f(s,u,n,i,a+"."+u,o);if(p)return p}}return null}return f(t)}function b(e){function t(t,r,n,a,s){var l=t[r],u=w(l);if("object"!==u)return new c("Invalid "+a+" `"+s+"` of type `"+u+"` supplied to `"+n+"`, expected `object`.");var f=i({},t[r],e);for(var p in f){var d=e[p];if(!d)return new c("Invalid "+a+" `"+s+"` key `"+p+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=d(l,p,n,a,s+"."+p,o);if(h)return h}return null}return f(t)}function x(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(x);if(null===t||e(t))return!0;var r=l(t);if(!r)return!1;var n,i=r.call(t);if(r!==t.entries){for(;!(n=i.next()).done;)if(!x(n.value))return!1}else for(;!(n=i.next()).done;){var o=n.value;if(o&&!x(o[1]))return!1}return!0;default:return!1}}function A(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":A(t,e)?"symbol":t}function _(e){if("undefined"===typeof e||null===e)return""+e;var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function k(e){return e.constructor&&e.constructor.name?e.constructor.name:S}var T="function"===typeof Symbol&&Symbol.iterator,C="@@iterator",S="<<anonymous>>",O={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(n)}(),arrayOf:d,element:function(){function t(t,r,n,i,o){var a=t[r];return e(a)?null:new c("Invalid "+i+" `"+o+"` of type `"+w(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return f(t)}(),instanceOf:h,node:function(){function e(e,t,r,n,i){return x(e[t])?null:new c("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")}return f(e)}(),objectOf:m,oneOf:v,oneOfType:g,shape:y,exact:b};return c.prototype=Error.prototype,O.checkPropTypes=a,O.PropTypes=O,O}}).call(t,r(26))},function(e,t,r){"use strict";(function(t){function n(e,r,n,s,l){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var c;try{if("function"!==typeof e[u]){var f=Error((s||"React class")+": "+n+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.");throw f.name="Invariant Violation",f}c=e[u](r,u,s,n,null,o)}catch(e){c=e}if(!c||c instanceof Error||i((s||"React class")+": type specification of "+n+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in a)){a[c.message]=!0;var p=l?l():"";i("Failed "+n+" type: "+c.message+(null!=p?p:""))}}}var i=function(){};if("production"!==t.env.NODE_ENV){var o=r(49),a={};i=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=n}).call(t,r(26))},function(e,t,r){"use strict";function n(){}var i=r(49);e.exports=function(){function e(e,t,r,n,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";function n(){}function i(){return""}function o(){return window.document}var a=r(5),s=r.n(a),l=r(2),u=r.n(l),c=r(3),f=r.n(c),p=r(4),d=r.n(p),h=r(0),v=r.n(h),m=r(1),g=r.n(m),y=r(8),b=(r.n(y),r(124)),x=r(32),A=r(128),w=r(131),_=r(16),E=r.n(_),k=r(70),T=r(132),C=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],S=!!y.createPortal,O={rcTrigger:g.a.shape({onPopupMouseDown:g.a.func})},M=function(e){function t(r){u()(this,t);var n=f()(this,e.call(this,r));P.call(n);var i=void 0;return i="popupVisible"in r?!!r.popupVisible:!!r.defaultPopupVisible,n.prevPopupVisible=i,n.state={popupVisible:i},n}return d()(t,e),t.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},t.prototype.componentWillMount=function(){var e=this;C.forEach((function(t){e["fire"+t]=function(r){e.fireEvents(t,r)}}))},t.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},t.prototype.componentWillReceiveProps=function(e){var t=e.popupVisible;void 0!==t&&this.setState({popupVisible:t})},t.prototype.componentDidUpdate=function(e,t){var r=this.props,n=this.state,i=function(){t.popupVisible!==n.popupVisible&&r.afterPopupVisibleChange(n.popupVisible)};if(S||this.renderComponent(null,i),this.prevPopupVisible=t.popupVisible,n.popupVisible){var o=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(o=r.getDocument(),this.clickOutsideHandler=Object(x.a)(o,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(o=o||r.getDocument(),this.touchOutsideHandler=Object(x.a)(o,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(o=o||r.getDocument(),this.contextMenuOutsideHandler1=Object(x.a)(o,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(x.a)(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},t.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},t.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},t.prototype.getPopupAlign=function(){var e=this.props,t=e.popupPlacement,r=e.popupAlign,n=e.builtinPlacements;return t&&n?Object(k.a)(n,t,r):r},t.prototype.setPopupVisible=function(e,t){var r=this.props.alignPoint;this.clearDelayTimer(),this.state.popupVisible!==e&&("popupVisible"in this.props||this.setState({popupVisible:e}),this.props.onPopupVisibleChange(e)),r&&t&&this.setPoint(t)},t.prototype.delaySetPopupVisible=function(e,t,r){var n=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=r?{pageX:r.pageX,pageY:r.pageY}:null;this.delayTimer=setTimeout((function(){n.setPopupVisible(e,o),n.clearDelayTimer()}),i)}else this.setPopupVisible(e,r)},t.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},t.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},t.prototype.createTwoChains=function(e){var t=this.props.children.props,r=this.props;return t[e]&&r[e]?this["fire"+e]:t[e]||r[e]},t.prototype.isClickToShow=function(){var e=this.props,t=e.action,r=e.showAction;return-1!==t.indexOf("click")||-1!==r.indexOf("click")},t.prototype.isContextMenuToShow=function(){var e=this.props,t=e.action,r=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==r.indexOf("contextMenu")},t.prototype.isClickToHide=function(){var e=this.props,t=e.action,r=e.hideAction;return-1!==t.indexOf("click")||-1!==r.indexOf("click")},t.prototype.isMouseEnterToShow=function(){var e=this.props,t=e.action,r=e.showAction;return-1!==t.indexOf("hover")||-1!==r.indexOf("mouseEnter")},t.prototype.isMouseLeaveToHide=function(){var e=this.props,t=e.action,r=e.hideAction;return-1!==t.indexOf("hover")||-1!==r.indexOf("mouseLeave")},t.prototype.isFocusToShow=function(){var e=this.props,t=e.action,r=e.showAction;return-1!==t.indexOf("focus")||-1!==r.indexOf("focus")},t.prototype.isBlurToHide=function(){var e=this.props,t=e.action,r=e.hideAction;return-1!==t.indexOf("focus")||-1!==r.indexOf("blur")},t.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},t.prototype.fireEvents=function(e,t){var r=this.props.children.props[e];r&&r(t);var n=this.props[e];n&&n(t)},t.prototype.close=function(){this.setPopupVisible(!1)},t.prototype.render=function(){var e=this,t=this.state.popupVisible,r=this.props,n=r.children,i=r.forceRender,o=r.alignPoint,a=r.className,s=v.a.Children.only(n),l={key:"trigger"};this.isContextMenuToShow()?l.onContextMenu=this.onContextMenu:l.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(l.onClick=this.onClick,l.onMouseDown=this.onMouseDown,l.onTouchStart=this.onTouchStart):(l.onClick=this.createTwoChains("onClick"),l.onMouseDown=this.createTwoChains("onMouseDown"),l.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(l.onMouseEnter=this.onMouseEnter,o&&(l.onMouseMove=this.onMouseMove)):l.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?l.onMouseLeave=this.onMouseLeave:l.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(l.onFocus=this.onFocus,l.onBlur=this.onBlur):(l.onFocus=this.createTwoChains("onFocus"),l.onBlur=this.createTwoChains("onBlur"));var u=E()(s&&s.props&&s.props.className,a);u&&(l.className=u);var c=v.a.cloneElement(s,l);if(!S)return v.a.createElement(A.a,{parent:this,visible:t,autoMount:!1,forceRender:i,getComponent:this.getComponent,getContainer:this.getContainer},(function(t){var r=t.renderComponent;return e.renderComponent=r,c}));var f=void 0;return(t||this._component||i)&&(f=v.a.createElement(w.a,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[c,f]},t}(v.a.Component);M.propTypes={children:g.a.any,action:g.a.oneOfType([g.a.string,g.a.arrayOf(g.a.string)]),showAction:g.a.any,hideAction:g.a.any,getPopupClassNameFromAlign:g.a.any,onPopupVisibleChange:g.a.func,afterPopupVisibleChange:g.a.func,popup:g.a.oneOfType([g.a.node,g.a.func]).isRequired,popupStyle:g.a.object,prefixCls:g.a.string,popupClassName:g.a.string,className:g.a.string,popupPlacement:g.a.string,builtinPlacements:g.a.object,popupTransitionName:g.a.oneOfType([g.a.string,g.a.object]),popupAnimation:g.a.any,mouseEnterDelay:g.a.number,mouseLeaveDelay:g.a.number,zIndex:g.a.number,focusDelay:g.a.number,blurDelay:g.a.number,getPopupContainer:g.a.func,getDocument:g.a.func,forceRender:g.a.bool,destroyPopupOnHide:g.a.bool,mask:g.a.bool,maskClosable:g.a.bool,onPopupAlign:g.a.func,popupAlign:g.a.object,popupVisible:g.a.bool,defaultPopupVisible:g.a.bool,maskTransitionName:g.a.oneOfType([g.a.string,g.a.object]),maskAnimation:g.a.string,stretch:g.a.string,alignPoint:g.a.bool},M.contextTypes=O,M.childContextTypes=O,M.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:i,getDocument:o,onPopupVisibleChange:n,afterPopupVisibleChange:n,onPopupAlign:n,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var P=function(){var e=this;this.onMouseEnter=function(t){var r=e.props.mouseEnterDelay;e.fireEvents("onMouseEnter",t),e.delaySetPopupVisible(!0,r,r?null:t)},this.onMouseMove=function(t){e.fireEvents("onMouseMove",t),e.setPoint(t)},this.onMouseLeave=function(t){e.fireEvents("onMouseLeave",t),e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){e.clearDelayTimer()},this.onPopupMouseLeave=function(t){t.relatedTarget&&!t.relatedTarget.setTimeout&&e._component&&e._component.getPopupDomNode&&Object(b.a)(e._component.getPopupDomNode(),t.relatedTarget)||e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onFocus=function(t){e.fireEvents("onFocus",t),e.clearDelayTimer(),e.isFocusToShow()&&(e.focusTime=Date.now(),e.delaySetPopupVisible(!0,e.props.focusDelay))},this.onMouseDown=function(t){e.fireEvents("onMouseDown",t),e.preClickTime=Date.now()},this.onTouchStart=function(t){e.fireEvents("onTouchStart",t),e.preTouchTime=Date.now()},this.onBlur=function(t){e.fireEvents("onBlur",t),e.clearDelayTimer(),e.isBlurToHide()&&e.delaySetPopupVisible(!1,e.props.blurDelay)},this.onContextMenu=function(t){t.preventDefault(),e.fireEvents("onContextMenu",t),e.setPopupVisible(!0,t)},this.onContextMenuClose=function(){e.isContextMenuToShow()&&e.close()},this.onClick=function(t){if(e.fireEvents("onClick",t),e.focusTime){var r=void 0;if(e.preClickTime&&e.preTouchTime?r=Math.min(e.preClickTime,e.preTouchTime):e.preClickTime?r=e.preClickTime:e.preTouchTime&&(r=e.preTouchTime),Math.abs(r-e.focusTime)<20)return;e.focusTime=0}e.preClickTime=0,e.preTouchTime=0,t&&t.preventDefault&&t.preventDefault();var n=!e.state.popupVisible;(e.isClickToHide()&&!n||n&&e.isClickToShow())&&e.setPopupVisible(!e.state.popupVisible,t)},this.onPopupMouseDown=function(){var t=e.context.rcTrigger,r=void 0===t?{}:t;e.hasPopupMouseDown=!0,clearTimeout(e.mouseDownTimeout),e.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),r.onPopupMouseDown&&r.onPopupMouseDown.apply(r,arguments)},this.onDocumentClick=function(t){if(!e.props.mask||e.props.maskClosable){var r=t.target,n=Object(y.findDOMNode)(e);Object(b.a)(n,r)||e.hasPopupMouseDown||e.close()}},this.getRootDomNode=function(){return Object(y.findDOMNode)(e)},this.getPopupClassNameFromAlign=function(t){var r=[],n=e.props,i=n.popupPlacement,o=n.builtinPlacements,a=n.prefixCls,s=n.alignPoint,l=n.getPopupClassNameFromAlign;return i&&o&&r.push(Object(k.b)(o,a,t,s)),l&&r.push(l(t)),r.join(" ")},this.getComponent=function(){var t=e.props,r=t.prefixCls,n=t.destroyPopupOnHide,i=t.popupClassName,o=t.action,a=t.onPopupAlign,l=t.popupAnimation,u=t.popupTransitionName,c=t.popupStyle,f=t.mask,p=t.maskAnimation,d=t.maskTransitionName,h=t.zIndex,m=t.popup,g=t.stretch,y=t.alignPoint,b=e.state,x=b.popupVisible,A=b.point,w=e.getPopupAlign(),_={};return e.isMouseEnterToShow()&&(_.onMouseEnter=e.onPopupMouseEnter),e.isMouseLeaveToHide()&&(_.onMouseLeave=e.onPopupMouseLeave),_.onMouseDown=e.onPopupMouseDown,_.onTouchStart=e.onPopupMouseDown,v.a.createElement(T.a,s()({prefixCls:r,destroyPopupOnHide:n,visible:x,point:y&&A,className:i,action:o,align:w,onAlign:a,animation:l,getClassNameFromAlign:e.getPopupClassNameFromAlign},_,{stretch:g,getRootDomNode:e.getRootDomNode,style:c,mask:f,zIndex:h,transitionName:u,maskAnimation:p,maskTransitionName:d,ref:e.savePopup}),"function"===typeof m?m():m)},this.getContainer=function(){var t=e.props,r=document.createElement("div");return r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%",(t.getPopupContainer?t.getPopupContainer(Object(y.findDOMNode)(e)):t.getDocument().body).appendChild(r),r},this.setPoint=function(t){e.props.alignPoint&&t&&e.setState({point:{pageX:t.pageX,pageY:t.pageY}})},this.handlePortalUpdate=function(){e.prevPopupVisible!==e.state.popupVisible&&e.props.afterPopupVisibleChange(e.state.popupVisible)},this.savePopup=function(t){e._component=t}};t.a=M},function(e,t,r){"use strict";function n(e,t){for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}t.a=n},function(e,t,r){"use strict";function n(e,t,r,n){function i(t){var n=new o.default(t);r.call(e,n)}if(e.addEventListener){var a=function(){var r=!1;return"object"===typeof n?r=n.capture||!1:"boolean"===typeof n&&(r=n),e.addEventListener(t,i,n||!1),{v:{remove:function(){e.removeEventListener(t,i,r)}}}}();if("object"===typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,i),{remove:function(){e.detachEvent("on"+t,i)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var i=r(126),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return null===e||void 0===e}function o(){return p}function a(){return d}function s(e){var t=e.type,r="function"===typeof e.stopPropagation||"boolean"===typeof e.cancelBubble;u.default.call(this),this.nativeEvent=e;var n=a;"defaultPrevented"in e?n=e.defaultPrevented?o:a:"getPreventDefault"in e?n=e.getPreventDefault()?o:a:"returnValue"in e&&(n=e.returnValue===d?o:a),this.isDefaultPrevented=n;var i=[],s=void 0,l=void 0,c=h.concat();for(v.forEach((function(e){t.match(e.reg)&&(c=c.concat(e.props),e.fix&&i.push(e.fix))})),s=c.length;s;)l=c[--s],this[l]=e[l];for(!this.target&&r&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=i.length;s;)(0,i[--s])(this,e);this.timeStamp=e.timeStamp||Date.now()}Object.defineProperty(t,"__esModule",{value:!0});var l=r(127),u=n(l),c=r(68),f=n(c),p=!0,d=!1,h=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"],v=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){i(e.which)&&(e.which=i(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var r=void 0,n=void 0,i=void 0,o=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,u=t.detail;o&&(i=o/120),u&&(i=0-(u%3===0?u/3:u)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(n=0,r=0-i):a===e.VERTICAL_AXIS&&(r=0,n=i)),void 0!==s&&(n=s/120),void 0!==l&&(r=-1*l/120),r||n||(n=i),void 0!==r&&(e.deltaX=r),void 0!==n&&(e.deltaY=n),void 0!==i&&(e.delta=i)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var r=void 0,n=void 0,o=void 0,a=e.target,s=t.button;return a&&i(e.pageX)&&!i(t.clientX)&&(r=a.ownerDocument||document,n=r.documentElement,o=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),e.which||void 0===s||(e.which=1&s?1:2&s?3:4&s?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===a?e.toElement:e.fromElement),e}}],m=u.default.prototype;(0,f.default)(s.prototype,m,{constructor:s,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=d,m.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=p,m.stopPropagation.call(this)}}),t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(){return!1}function i(){return!0}function o(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),o.prototype={isEventObject:1,constructor:o,isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n,preventDefault:function(){this.isDefaultPrevented=i},stopPropagation:function(){this.isPropagationStopped=i},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=o,e.exports=t.default},function(e,t,r){"use strict";var n=r(2),i=r.n(n),o=r(9),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(8),h=r.n(d),v=r(1),m=r.n(v),g=function(e){function t(){var e,r,n,o;i()(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return r=n=l()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.removeContainer=function(){n.container&&(h.a.unmountComponentAtNode(n.container),n.container.parentNode.removeChild(n.container),n.container=null)},n.renderComponent=function(e,t){var r=n.props,i=r.visible,o=r.getComponent,a=r.forceRender,s=r.getContainer,l=r.parent;(i||l._component||a)&&(n.container||(n.container=s()),h.a.unstable_renderSubtreeIntoContainer(l,o(e),n.container,(function(){t&&t.call(this)})))},o=r,l()(n,o)}return c()(t,e),a()(t,[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}]),t}(p.a.Component);g.propTypes={autoMount:m.a.bool,autoDestroy:m.a.bool,visible:m.a.bool,forceRender:m.a.bool,parent:m.a.any,getComponent:m.a.func.isRequired,getContainer:m.a.func.isRequired,children:m.a.func.isRequired},g.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1},t.a=g},function(e,t,r){r(130);var n=r(6).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(10);n(n.S+n.F*!r(13),"Object",{defineProperty:r(12).f})},function(e,t,r){"use strict";var n=r(2),i=r.n(n),o=r(9),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(8),h=r.n(d),v=r(1),m=r.n(v),g=function(e){function t(){return i()(this,t),l()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c()(t,e),a()(t,[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?h.a.createPortal(this.props.children,this._container):null}}]),t}(p.a.Component);g.propTypes={getContainer:m.a.func.isRequired,children:m.a.node.isRequired,didUpdate:m.a.func},t.a=g},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(2),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(1),h=r.n(d),v=r(8),m=r.n(v),g=r(133),y=r(144),b=r(150),x=r(77),A=r(70),w=function(e){function t(r){a()(this,t);var n=l()(this,e.call(this,r));return _.call(n),n.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},n.savePopupRef=A.c.bind(n,"popupInstance"),n.saveAlignRef=A.c.bind(n,"alignInstance"),n}return c()(t,e),t.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},t.prototype.componentDidUpdate=function(){this.setStretchSize()},t.prototype.getPopupDomNode=function(){return m.a.findDOMNode(this.popupInstance)},t.prototype.getMaskTransitionName=function(){var e=this.props,t=e.maskTransitionName,r=e.maskAnimation;return!t&&r&&(t=e.prefixCls+"-"+r),t},t.prototype.getTransitionName=function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},t.prototype.getClassName=function(e){return this.props.prefixCls+" "+this.props.className+" "+e},t.prototype.getPopupElement=function(){var e=this,t=this.savePopupRef,r=this.state,n=r.stretchChecked,o=r.targetHeight,a=r.targetWidth,s=this.props,l=s.align,u=s.visible,c=s.prefixCls,f=s.style,d=s.getClassNameFromAlign,h=s.destroyPopupOnHide,v=s.stretch,m=s.children,x=s.onMouseEnter,A=s.onMouseLeave,w=s.onMouseDown,_=s.onTouchStart,E=this.getClassName(this.currentAlignClassName||d(l)),k=c+"-hidden";u||(this.currentAlignClassName=null);var T={};v&&(-1!==v.indexOf("height")?T.height=o:-1!==v.indexOf("minHeight")&&(T.minHeight=o),-1!==v.indexOf("width")?T.width=a:-1!==v.indexOf("minWidth")&&(T.minWidth=a),n||(T.visibility="hidden",setTimeout((function(){e.alignInstance&&e.alignInstance.forceAlign()}),0)));var C=i()({},T,f,this.getZIndexStyle()),S={className:E,prefixCls:c,ref:t,onMouseEnter:x,onMouseLeave:A,onMouseDown:w,onTouchStart:_,style:C};return h?p.a.createElement(y.a,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},u?p.a.createElement(g.a,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:l,onAlign:this.onAlign},p.a.createElement(b.a,i()({visible:!0},S),m)):null):p.a.createElement(y.a,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},p.a.createElement(g.a,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:u,childrenProps:{visible:"xVisible"},disabled:!u,align:l,onAlign:this.onAlign},p.a.createElement(b.a,i()({hiddenClassName:k},S),m)))},t.prototype.getZIndexStyle=function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},t.prototype.getMaskElement=function(){var e=this.props,t=void 0;if(e.mask){var r=this.getMaskTransitionName();t=p.a.createElement(x.a,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),r&&(t=p.a.createElement(y.a,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:r},t))}return t},t.prototype.render=function(){return p.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())},t}(f.Component);w.propTypes={visible:h.a.bool,style:h.a.object,getClassNameFromAlign:h.a.func,onAlign:h.a.func,getRootDomNode:h.a.func,align:h.a.any,destroyPopupOnHide:h.a.bool,className:h.a.string,prefixCls:h.a.string,onMouseEnter:h.a.func,onMouseLeave:h.a.func,onMouseDown:h.a.func,onTouchStart:h.a.func,stretch:h.a.string,children:h.a.node,point:h.a.shape({pageX:h.a.number,pageY:h.a.number})};var _=function(){var e=this;this.onAlign=function(t,r){var n=e.props,i=n.getClassNameFromAlign(r);e.currentAlignClassName!==i&&(e.currentAlignClassName=i,t.className=e.getClassName(i)),n.onAlign(t,r)},this.setStretchSize=function(){var t=e.props,r=t.stretch,n=t.getRootDomNode,i=t.visible,o=e.state,a=o.stretchChecked,s=o.targetHeight,l=o.targetWidth;if(r&&i){var u=n();if(u){var c=u.offsetHeight,f=u.offsetWidth;s===c&&l===f&&a||e.setState({stretchChecked:!0,targetHeight:c,targetWidth:f})}}else a&&e.setState({stretchChecked:!1})},this.getTargetElement=function(){return e.props.getRootDomNode()},this.getAlignTarget=function(){var t=e.props.point;return t||e.getTargetElement}};t.a=w},function(e,t,r){"use strict";var n=r(134);t.a=n.a},function(e,t,r){"use strict";function n(e){return"function"===typeof e&&e?e():null}function i(e){return"object"===typeof e&&e?e:null}var o=r(2),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(1),h=r.n(d),v=r(8),m=r.n(v),g=r(135),y=r(32),b=r(143),x=function(e){function t(){var r,o,s;a()(this,t);for(var u=arguments.length,c=Array(u),f=0;f<u;f++)c[f]=arguments[f];return r=o=l()(this,e.call.apply(e,[this].concat(c))),o.forceAlign=function(){var e=o.props,t=e.disabled,r=e.target,a=e.align,s=e.onAlign;if(!t&&r){var l=m.a.findDOMNode(o),u=void 0,c=n(r),f=i(r);c?u=Object(g.a)(l,c,a):f&&(u=Object(g.b)(l,f,a)),s&&s(l,u)}},s=r,l()(o,s)}return c()(t,e),t.prototype.componentDidMount=function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()},t.prototype.componentDidUpdate=function(e){var t=!1,r=this.props;if(!r.disabled){var o=m.a.findDOMNode(this),a=o?o.getBoundingClientRect():null;if(e.disabled)t=!0;else{var s=n(e.target),l=n(r.target),u=i(e.target),c=i(r.target);Object(b.c)(s)&&Object(b.c)(l)?t=!1:(s!==l||s&&!l&&c||u&&c&&l||c&&!Object(b.b)(u,c))&&(t=!0);var f=this.sourceRect||{};t||!o||f.width===a.width&&f.height===a.height||(t=!0)}this.sourceRect=a}t&&this.forceAlign(),r.monitorWindowResize&&!r.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()},t.prototype.componentWillUnmount=function(){this.stopMonitorWindowResize()},t.prototype.startMonitorWindowResize=function(){this.resizeHandler||(this.bufferMonitor=Object(b.a)(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=Object(y.a)(window,"resize",this.bufferMonitor))},t.prototype.stopMonitorWindowResize=function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},t.prototype.render=function(){var e=this,t=this.props,r=t.childrenProps,n=t.children,i=p.a.Children.only(n);if(r){var o={};return Object.keys(r).forEach((function(t){o[t]=e.props[r[t]]})),p.a.cloneElement(i,o)}return i},t}(f.Component);x.propTypes={childrenProps:h.a.object,align:h.a.object.isRequired,target:h.a.oneOfType([h.a.func,h.a.shape({clientX:h.a.number,clientY:h.a.number,pageX:h.a.number,pageY:h.a.number})]),onAlign:h.a.func,monitorBufferTime:h.a.number,monitorWindowResize:h.a.bool,disabled:h.a.bool,children:h.a.any},x.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1},t.a=x},function(e,t,r){"use strict";var n=r(136),i=r(142);r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return i.a})),n.a},function(e,t,r){"use strict";function n(e){var t=Object(s.a)(e),r=Object(l.a)(e);return!t||r.left+r.width<=t.left||r.top+r.height<=t.top||r.left>=t.right||r.top>=t.bottom}function i(e,t,r){var i=r.target||t,a=Object(l.a)(i),s=!n(i);return Object(o.a)(e,a,r,s)}var o=r(71),a=r(73),s=r(72),l=r(74);i.__getOffsetParent=a.a,i.__getVisibleRectForElement=s.a,t.a=i},function(e,t,r){"use strict";function n(){if(void 0!==f)return f;f="";var e=document.createElement("p").style;for(var t in p)t+"Transform"in e&&(f=t);return f}function i(){return n()?n()+"TransitionProperty":"transitionProperty"}function o(){return n()?n()+"Transform":"transform"}function a(e,t){var r=i();r&&(e.style[r]=t,"transitionProperty"!==r&&(e.style.transitionProperty=t))}function s(e,t){var r=o();r&&(e.style[r]=t,"transform"!==r&&(e.style.transform=t))}function l(e){return e.style.transitionProperty||e.style[i()]}function u(e){var t=window.getComputedStyle(e,null),r=t.getPropertyValue("transform")||t.getPropertyValue(o());if(r&&"none"!==r){var n=r.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(n[12]||n[4],0),y:parseFloat(n[13]||n[5],0)}}return{x:0,y:0}}function c(e,t){var r=window.getComputedStyle(e,null),n=r.getPropertyValue("transform")||r.getPropertyValue(o());if(n&&"none"!==n){var i=void 0,a=n.match(d);a?(a=a[1],i=a.split(",").map((function(e){return parseFloat(e,10)})),i[4]=t.x,i[5]=t.y,s(e,"matrix("+i.join(",")+")")):(i=n.match(h)[1].split(",").map((function(e){return parseFloat(e,10)})),i[12]=t.x,i[13]=t.y,s(e,"matrix3d("+i.join(",")+")"))}else s(e,"translateX("+t.x+"px) translateY("+t.y+"px) translateZ(0)")}t.a=o,t.e=a,t.c=l,t.b=u,t.d=c;var f=void 0,p={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"},d=/matrix\((.*)\)/,h=/matrix3d\((.*)\)/},function(e,t,r){"use strict";function n(e){if(i.a.isWindow(e)||9===e.nodeType)return!1;var t=i.a.getDocument(e),r=t.body,n=null;for(n=e.parentNode;n&&n!==r;n=n.parentNode)if("fixed"===i.a.css(n,"position"))return!0;return!1}t.a=n;var i=r(17)},function(e,t,r){"use strict";function n(e,t,r,n){var o=i.a.clone(e),a={width:t.width,height:t.height};return n.adjustX&&o.left<r.left&&(o.left=r.left),n.resizeWidth&&o.left>=r.left&&o.left+a.width>r.right&&(a.width-=o.left+a.width-r.right),n.adjustX&&o.left+a.width>r.right&&(o.left=Math.max(r.right-a.width,r.left)),n.adjustY&&o.top<r.top&&(o.top=r.top),n.resizeHeight&&o.top>=r.top&&o.top+a.height>r.bottom&&(a.height-=o.top+a.height-r.bottom),n.adjustY&&o.top+a.height>r.bottom&&(o.top=Math.max(r.bottom-a.height,r.top)),i.a.mix(o,a)}var i=r(17);t.a=n},function(e,t,r){"use strict";function n(e,t,r,n,o){var a=Object(i.a)(t,r[1]),s=Object(i.a)(e,r[0]),l=[s.left-a.left,s.top-a.top];return{left:e.left-l[0]+n[0]-o[0],top:e.top-l[1]+n[1]-o[1]}}var i=r(141);t.a=n},function(e,t,r){"use strict";function n(e,t){var r=t.charAt(0),n=t.charAt(1),i=e.width,o=e.height,a=e.left,s=e.top;return"c"===r?s+=o/2:"b"===r&&(s+=o),"c"===n?a+=i/2:"r"===n&&(a+=i),{left:a,top:s}}t.a=n},function(e,t,r){"use strict";function n(e,t,r){var n=void 0,s=void 0,l=i.a.getDocument(e),u=l.defaultView||l.parentWindow,c=i.a.getWindowScrollLeft(u),f=i.a.getWindowScrollTop(u),p=i.a.viewportWidth(u),d=i.a.viewportHeight(u);n="pageX"in t?t.pageX:c+t.clientX,s="pageY"in t?t.pageY:f+t.clientY;var h={left:n,top:s,width:0,height:0},v=n>=0&&n<=c+p&&s>=0&&s<=f+d,m=[r.points[0],"cc"];return Object(o.a)(e,h,a({},r,{points:m}),v)}var i=r(17),o=r(71),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.a=n},function(e,t,r){"use strict";function n(e,t){function r(){i&&(clearTimeout(i),i=null)}function n(){r(),i=setTimeout(e,t)}var i=void 0;return n.clear=r,n}function i(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY)}function o(e){return e&&"object"===typeof e&&e.window===e}t.a=n,t.b=i,t.c=o},function(e,t,r){"use strict";function n(e){var t=e.children;return y.a.isValidElement(t)&&!t.key?y.a.cloneElement(t,{key:E}):t}function i(){}var o=r(5),a=r.n(o),s=r(18),l=r.n(s),u=r(2),c=r.n(u),f=r(9),p=r.n(f),d=r(3),h=r.n(d),v=r(4),m=r.n(v),g=r(0),y=r.n(g),b=r(1),x=r.n(b),A=r(145),w=r(146),_=r(76),E="rc_animate_"+Date.now(),k=function(e){function t(e){c()(this,t);var r=h()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return T.call(r),r.currentlyAnimatingKeys={},r.keysToEnter=[],r.keysToLeave=[],r.state={children:Object(A.e)(n(e))},r.childrenRefs={},r}return m()(t,e),p()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,r=this.state.children;t&&(r=r.filter((function(e){return!!e.props[t]}))),r.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var r=Object(A.e)(n(e)),i=this.props;i.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var o=i.showProp,a=this.currentlyAnimatingKeys,s=i.exclusive?Object(A.e)(n(i)):this.state.children,u=[];o?(s.forEach((function(e){var t=e&&Object(A.a)(r,e.key),n=void 0;(n=t&&t.props[o]||!e.props[o]?t:y.a.cloneElement(t||e,l()({},o,!0)))&&u.push(n)})),r.forEach((function(e){e&&Object(A.a)(s,e.key)||u.push(e)}))):u=Object(A.d)(s,r),this.setState({children:u}),r.forEach((function(e){var r=e&&e.key;if(!e||!a[r]){var n=e&&Object(A.a)(s,r);if(o){var i=e.props[o];n?!Object(A.b)(s,r,o)&&i&&t.keysToEnter.push(r):i&&t.keysToEnter.push(r)}else n||t.keysToEnter.push(r)}})),s.forEach((function(e){var n=e&&e.key;if(!e||!a[n]){var i=e&&Object(A.a)(r,n);if(o){var s=e.props[o];i?!Object(A.b)(r,n,o)&&s&&t.keysToLeave.push(n):s&&t.keysToLeave.push(n)}else i||t.keysToLeave.push(n)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var r=this.props.showProp;return r?Object(A.b)(e,t,r):Object(A.a)(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var r=this.state.children,n=null;r&&(n=r.map((function(r){if(null===r||void 0===r)return r;if(!r.key)throw new Error("must set key for <rc-animate> children");return y.a.createElement(w.a,{key:r.key,ref:function(t){e.childrenRefs[r.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},r)})));var i=t.component;if(i){var o=t;return"string"===typeof i&&(o=a()({className:t.className,style:t.style},t.componentProps)),y.a.createElement(i,o,n)}return n[0]||null}}]),t}(y.a.Component);k.isAnimate=!0,k.propTypes={component:x.a.any,componentProps:x.a.object,animation:x.a.object,transitionName:x.a.oneOfType([x.a.string,x.a.object]),transitionEnter:x.a.bool,transitionAppear:x.a.bool,exclusive:x.a.bool,transitionLeave:x.a.bool,onEnd:x.a.func,onEnter:x.a.func,onLeave:x.a.func,onAppear:x.a.func,showProp:x.a.string,children:x.a.node},k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:i,onEnter:i,onLeave:i,onAppear:i};var T=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,r){var i=e.props;if(delete e.currentlyAnimatingKeys[t],!i.exclusive||i===e.nextProps){var o=Object(A.e)(n(i));e.isValidChildByKey(o,t)?"appear"===r?_.a.allowAppearCallback(i)&&(i.onAppear(t),i.onEnd(t,!0)):_.a.allowEnterCallback(i)&&(i.onEnter(t),i.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var i=Object(A.e)(n(r));if(e.isValidChildByKey(i,t))e.performEnter(t);else{var o=function(){_.a.allowLeaveCallback(r)&&(r.onLeave(t),r.onEnd(t,!1))};Object(A.c)(e.state.children,i,r.showProp)?o():e.setState({children:i},o)}}}};t.a=k},function(e,t,r){"use strict";function n(e){var t=[];return u.a.Children.forEach(e,(function(e){t.push(e)})),t}function i(e,t){var r=null;return e&&e.forEach((function(e){r||e&&e.key===t&&(r=e)})),r}function o(e,t,r){var n=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[r]){if(n)throw new Error("two child with same key for <rc-animate> children");n=e}})),n}function a(e,t,r){var n=e.length===t.length;return n&&e.forEach((function(e,i){var o=t[i];e&&o&&(e&&!o||!e&&o||e.key!==o.key||r&&e.props[r]!==o.props[r])&&(n=!1)})),n}function s(e,t){var r=[],n={},o=[];return e.forEach((function(e){e&&i(t,e.key)?o.length&&(n[e.key]=o,o=[]):o.push(e)})),t.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(n,e.key)&&(r=r.concat(n[e.key])),r.push(e)})),r=r.concat(o)}t.e=n,t.a=i,t.b=o,t.c=a,t.d=s;var l=r(0),u=r.n(l)},function(e,t,r){"use strict";var n=r(2),i=r.n(n),o=r(9),a=r.n(o),s=r(3),l=r.n(s),u=r(4),c=r.n(u),f=r(0),p=r.n(f),d=r(8),h=r.n(d),v=r(1),m=r.n(v),g=r(147),y=r(76),b={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},x=function(e){function t(){return i()(this,t),l()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c()(t,e),a()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){y.a.isEnterSupported(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){y.a.isAppearSupported(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){y.a.isLeaveSupported(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var r=this,n=h.a.findDOMNode(this),i=this.props,o=i.transitionName,a="object"===typeof o;this.stop();var s=function(){r.stopper=null,t()};if((g.b||!i.animation[e])&&o&&i[b[e]]){var l=a?o[e]:o+"-"+e,u=l+"-active";a&&o[e+"Active"]&&(u=o[e+"Active"]),this.stopper=Object(g.a)(n,{name:l,active:u},s)}else this.stopper=i.animation[e](n,s)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(p.a.Component);x.propTypes={children:m.a.any},t.a=x},function(e,t,r){"use strict";function n(e,t){for(var r=window.getComputedStyle(e,null),n="",i=0;i<d.length&&!(n=r.getPropertyValue(d[i]+t));i++);return n}function i(e){if(f){var t=parseFloat(n(e,"transition-delay"))||0,r=parseFloat(n(e,"transition-duration"))||0,i=parseFloat(n(e,"animation-delay"))||0,o=parseFloat(n(e,"animation-duration"))||0,a=Math.max(r+t,o+i);e.rcEndAnimTimeout=setTimeout((function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()}),1e3*a+200)}}function o(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}r.d(t,"b",(function(){return f}));var a=r(43),s=r.n(a),l=r(148),u=r(149),c=r.n(u),f=0!==l.a.endEvents.length,p=["Webkit","Moz","O","ms"],d=["-webkit-","-moz-","-o-","ms-",""],h=function(e,t,r){var n="object"===("undefined"===typeof t?"undefined":s()(t)),a=n?t.name:t,u=n?t.active:t+"-active",f=r,p=void 0,d=void 0,h=c()(e);return r&&"[object Object]"===Object.prototype.toString.call(r)&&(f=r.end,p=r.start,d=r.active),e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),o(e),h.remove(a),h.remove(u),l.a.removeEndEventListener(e,e.rcEndListener),e.rcEndListener=null,f&&f())},l.a.addEndEventListener(e,e.rcEndListener),p&&p(),h.add(a),e.rcAnimTimeout=setTimeout((function(){e.rcAnimTimeout=null,h.add(u),d&&setTimeout(d,0),i(e)}),30),{stop:function(){e.rcEndListener&&e.rcEndListener()}}};h.style=function(e,t,r){e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),o(e),l.a.removeEndEventListener(e,e.rcEndListener),e.rcEndListener=null,r&&r())},l.a.addEndEventListener(e,e.rcEndListener),e.rcAnimTimeout=setTimeout((function(){for(var r in t)t.hasOwnProperty(r)&&(e.style[r]=t[r]);e.rcAnimTimeout=null,i(e)}),0)},h.setTransition=function(e,t,r){var n=t,i=r;void 0===r&&(i=n,n=""),n=n||"",p.forEach((function(t){e.style[t+"Transition"+n]=i}))},h.isCssAnimationSupported=f,t.a=h},function(e,t,r){"use strict";function n(e,t,r){e.addEventListener(t,r,!1)}function i(e,t,r){e.removeEventListener(t,r,!1)}var o={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},a={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},s=[],l=[];"undefined"!==typeof window&&"undefined"!==typeof document&&function(){function e(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];for(var o in i)if(o in r){t.push(i[o]);break}}}var t=document.createElement("div"),r=t.style;"AnimationEvent"in window||(delete o.animationstart.animation,delete a.animationend.animation),"TransitionEvent"in window||(delete o.transitionstart.transition,delete a.transitionend.transition),e(o,s),e(a,l)}();var u={startEvents:s,addStartEventListener:function(e,t){0!==s.length?s.forEach((function(r){n(e,r,t)})):window.setTimeout(t,0)},removeStartEventListener:function(e,t){0!==s.length&&s.forEach((function(r){i(e,r,t)}))},endEvents:l,addEndEventListener:function(e,t){0!==l.length?l.forEach((function(r){n(e,r,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==l.length&&l.forEach((function(r){i(e,r,t)}))}};t.a=u},function(e,t,r){function n(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}try{var i=r(75)}catch(e){i=r(75)}var o=/\s+/,a=Object.prototype.toString;e.exports=function(e){return new n(e)},n.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~i(t,e)||t.push(e),this.el.className=t.join(" "),this},n.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),r=i(t,e);return~r&&t.splice(r,1),this.el.className=t.join(" "),this},n.prototype.removeMatching=function(e){for(var t=this.array(),r=0;r<t.length;r++)e.test(t[r])&&this.remove(t[r]);return this},n.prototype.toggle=function(e,t){return this.list?("undefined"!==typeof t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):("undefined"!==typeof t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},n.prototype.array=function(){var e=this.el.getAttribute("class")||"",t=e.replace(/^\s+|\s+$/g,""),r=t.split(o);return""===r[0]&&r.shift(),r},n.prototype.has=n.prototype.contains=function(e){return this.list?this.list.contains(e):!!~i(this.array(),e)}},function(e,t,r){"use strict";var n=r(2),i=r.n(n),o=r(3),a=r.n(o),s=r(4),l=r.n(s),u=r(0),c=r.n(u),f=r(1),p=r.n(f),d=r(77),h=function(e){function t(){return i()(this,t),a()(this,e.apply(this,arguments))}return l()(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),c.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:e.style},c.a.createElement(d.a,{className:e.prefixCls+"-content",visible:e.visible},e.children))},t}(u.Component);h.propTypes={hiddenClassName:p.a.string,className:p.a.string,prefixCls:p.a.string,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onMouseDown:p.a.func,onTouchStart:p.a.func,children:p.a.any},t.a=h},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n={adjustX:1,adjustY:1},i=[0,0],o={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:i}}},function(e,t,r){"use strict";var n=r(2),i=r.n(n),o=r(3),a=r.n(o),s=r(4),l=r.n(s),u=r(0),c=r.n(u),f=r(1),p=r.n(f),d=function(e){function t(){return i()(this,t),a()(this,e.apply(this,arguments))}return l()(t,e),t.prototype.componentDidUpdate=function(){var e=this.props.trigger;e&&e.forcePopupAlign()},t.prototype.render=function(){var e=this.props,t=e.overlay,r=e.prefixCls,n=e.id;return c.a.createElement("div",{className:r+"-inner",id:n,role:"tooltip"},"function"===typeof t?t():t)},t}(c.a.Component);d.propTypes={prefixCls:p.a.string,overlay:p.a.oneOfType([p.a.node,p.a.func]).isRequired,id:p.a.string,trigger:p.a.any},t.a=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(154),i=r(174),o=r(51),a=r(176);r.d(t,"Range",(function(){return i.a})),r.d(t,"Handle",(function(){return o.a})),r.d(t,"createSliderWithTooltip",(function(){return a.a})),n.a.Range=i.a,n.a.Handle=o.a,n.a.createSliderWithTooltip=a.a,t.default=n.a},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(2),a=r.n(o),s=r(9),l=r.n(s),u=r(3),c=r.n(u),f=r(4),p=r.n(f),d=r(0),h=r.n(d),v=r(1),m=r.n(v),g=r(50),y=r.n(g),b=r(78),x=r(79),A=r(52),w=function(e){function t(e){a()(this,t);var r=c()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.onEnd=function(){r.setState({dragging:!1}),r.removeDocumentEvents(),r.props.onAfterChange(r.getValue())};var n=void 0!==e.defaultValue?e.defaultValue:e.min,i=void 0!==e.value?e.value:n;return r.state={value:r.trimAlignValue(i),dragging:!1},A.g()&&(y()(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecate, please use trackStyle instead."),y()(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecate, please use railStyle instead.")),r}return p()(t,e),l()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,r=e.disabled;t&&!r&&this.focus()}},{key:"componentWillReceiveProps",value:function(e){if("value"in e||"min"in e||"max"in e){var t=this.state.value,r=void 0!==e.value?e.value:t,n=this.trimAlignValue(r,e);n!==t&&(this.setState({value:n}),A.j(r,e)&&this.props.onChange(n))}}},{key:"onChange",value:function(e){var t=this.props;!("value"in t)&&this.setState(e);var r=e.value;t.onChange(r)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,r=this.getValue();t.onBeforeChange(r);var n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==r&&(this.prevMovedHandleIndex=0,this.onChange({value:n}))}},{key:"onMove",value:function(e,t){A.k(e);var r=this.state.value,n=this.calcValueByPos(t);n!==r&&this.onChange({value:n})}},{key:"onKeyboard",value:function(e){var t=A.d(e);if(t){A.k(e);var r=this.state,n=r.value,i=t(n,this.props),o=this.trimAlignValue(i);if(o===n)return;this.onChange({value:o})}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){return this.props.min}},{key:"getUpperBound",value:function(){return this.state.value}},{key:"trimAlignValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var r=i()({},this.props,t),n=A.a(e,r);return A.b(n,r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.prefixCls,n=t.vertical,o=t.included,a=t.disabled,s=t.minimumTrackStyle,l=t.trackStyle,u=t.handleStyle,c=t.tabIndex,f=t.min,p=t.max,d=t.handle,v=this.state,m=v.value,g=v.dragging,y=this.calcOffset(m),x=d({className:r+"-handle",prefixCls:r,vertical:n,offset:y,value:m,dragging:g,disabled:a,min:f,max:p,index:0,tabIndex:c,style:u[0]||u,ref:function(t){return e.saveHandle(0,t)}}),A=l[0]||l;return{tracks:h.a.createElement(b.a,{className:r+"-track",vertical:n,included:o,offset:0,length:y,style:i()({},s,A)}),handles:x}}}]),t}(h.a.Component);w.propTypes={defaultValue:m.a.number,value:m.a.number,disabled:m.a.bool,autoFocus:m.a.bool,tabIndex:m.a.number,min:m.a.number,max:m.a.number},t.a=Object(x.a)(w)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(156),o=n(i),a=r(159),s=n(a);t.default=function e(t,r,n){null===t&&(t=Function.prototype);var i=(0,s.default)(t,r);if(void 0===i){var a=(0,o.default)(t);return null===a?void 0:e(a,r,n)}if("value"in i)return i.value;var l=i.get;return void 0!==l?l.call(n):void 0}},function(e,t,r){e.exports={default:r(157),__esModule:!0}},function(e,t,r){r(158),e.exports=r(6).Object.getPrototypeOf},function(e,t,r){var n=r(31),i=r(66);r(80)("getPrototypeOf",(function(){return function(e){return i(n(e))}}))},function(e,t,r){e.exports={default:r(160),__esModule:!0}},function(e,t,r){r(161);var n=r(6).Object;e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)}},function(e,t,r){var n=r(15),i=r(48).f;r(80)("getOwnPropertyDescriptor",(function(){return function(e,t){return i(n(e),t)}}))},function(e,t,r){"use strict";var n=r(18),i=r.n(n),o=r(5),a=r.n(o),s=r(0),l=r.n(s),u=r(1),c=r.n(u),f=r(16),p=r.n(f),d=r(50),h=r.n(d),v=function(e,t,r,n,i,o){h()(!r||n>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var a=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(r)for(var s=i;s<=o;s+=n)-1===a.indexOf(s)&&a.push(s);return a},m=function(e){var t=e.prefixCls,r=e.vertical,n=e.marks,o=e.dots,s=e.step,u=e.included,c=e.lowerBound,f=e.upperBound,d=e.max,h=e.min,m=e.dotStyle,g=e.activeDotStyle,y=d-h,b=v(0,n,o,s,h,d).map((function(e){var n,o=Math.abs(e-h)/y*100+"%",s=!u&&e===f||u&&e<=f&&e>=c,d=r?a()({bottom:o},m):a()({left:o},m);s&&(d=a()({},d,g));var v=p()((n={},i()(n,t+"-dot",!0),i()(n,t+"-dot-active",s),n));return l.a.createElement("span",{className:v,style:d,key:e})}));return l.a.createElement("div",{className:t+"-step"},b)};m.propTypes={prefixCls:c.a.string,activeDotStyle:c.a.object,dotStyle:c.a.object,min:c.a.number,max:c.a.number,upperBound:c.a.number,lowerBound:c.a.number,included:c.a.bool,dots:c.a.bool,step:c.a.number,marks:c.a.object,vertical:c.a.bool},t.a=m},function(e,t,r){"use strict";var n=r(5),i=r.n(n),o=r(18),a=r.n(o),s=r(0),l=r.n(s),u=r(1),c=r.n(u),f=r(16),p=r.n(f),d=function(e){var t=e.className,r=e.vertical,n=e.marks,o=e.included,s=e.upperBound,u=e.lowerBound,c=e.max,f=e.min,d=e.onClickLabel,h=Object.keys(n),v=h.length,m=v>1?100/(v-1):100,g=.9*m,y=c-f,b=h.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var c,h=n[e],v="object"===typeof h&&!l.a.isValidElement(h),m=v?h.label:h;if(!m&&0!==m)return null;var b=!o&&e===s||o&&e<=s&&e>=u,x=p()((c={},a()(c,t+"-text",!0),a()(c,t+"-text-active",b),c)),A={marginBottom:"-50%",bottom:(e-f)/y*100+"%"},w={width:g+"%",marginLeft:-g/2+"%",left:(e-f)/y*100+"%"},_=r?A:w,E=v?i()({},_,h.style):_;return l.a.createElement("span",{className:x,style:E,key:e,onMouseDown:function(t){return d(t,e)},onTouchStart:function(t){return d(t,e)}},m)}));return l.a.createElement("div",{className:t},b)};d.propTypes={className:c.a.string,vertical:c.a.bool,marks:c.a.object,included:c.a.bool,upperBound:c.a.number,lowerBound:c.a.number,max:c.a.number,min:c.a.number,onClickLabel:c.a.func},t.a=d},function(e,t,r){e.exports={default:r(165),__esModule:!0}},function(e,t,r){r(63),r(166),e.exports=r(6).Array.from},function(e,t,r){"use strict";var n=r(34),i=r(10),o=r(31),a=r(167),s=r(168),l=r(62),u=r(169),c=r(170);i(i.S+i.F*!r(172)((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,f,p=o(e),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=c(p);if(m&&(v=n(v,h>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(t=l(p.length),r=new d(t);t>g;g++)u(r,g,m?v(p[g],g):p[g]);else for(f=y.call(p),r=new d;!(i=f.next()).done;g++)u(r,g,m?a(f,v,[i.value,g],!0):i.value);return r.length=g,r}})},function(e,t,r){var n=r(20);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var o=e.return;throw void 0!==o&&n(o.call(e)),t}}},function(e,t,r){var n=r(25),i=r(7)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){"use strict";var n=r(12),i=r(23);e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){var n=r(171),i=r(7)("iterator"),o=r(25);e.exports=r(6).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(36),i=r(7)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){var n=r(7)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},e(o)}catch(e){}return r}},function(e,t,r){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigation.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=n},function(e,t,r){"use strict";var n=r(18),i=r.n(n),o=r(5),a=r.n(o),s=r(81),l=r.n(s),u=r(2),c=r.n(u),f=r(9),p=r.n(f),d=r(3),h=r.n(d),v=r(4),m=r.n(v),g=r(0),y=r.n(g),b=r(1),x=r.n(b),A=r(16),w=r.n(A),_=r(175),E=r.n(_),k=r(78),T=r(79),C=r(52),S=function(e){function t(e){c()(this,t);var r=h()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.onEnd=function(){r.setState({handle:null}),r.removeDocumentEvents(),r.props.onAfterChange(r.getValue())};var n=e.count,i=e.min,o=e.max,a=Array.apply(void 0,l()(Array(n+1))).map((function(){return i})),s="defaultValue"in e?e.defaultValue:a,u=void 0!==e.value?e.value:s,f=u.map((function(e,t){return r.trimAlignValue(e,t)})),p=f[0]===o?0:f.length-1;return r.state={handle:null,recent:p,bounds:f},r}return m()(t,e),p()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;if(("value"in e||"min"in e||"max"in e)&&(this.props.min!==e.min||this.props.max!==e.max||!E()(this.props.value,e.value))){var r=this.state.bounds,n=e.value||r,i=n.map((function(r,n){return t.trimAlignValue(r,n,e)}));if((i.length!==r.length||!i.every((function(e,t){return e===r[t]})))&&(this.setState({bounds:i}),n.some((function(t){return C.j(t,e)})))){var o=n.map((function(t){return C.a(t,e)}));this.props.onChange(o)}}}},{key:"onChange",value:function(e){var t=this.props;"value"in t?void 0!==e.handle&&this.setState({handle:e.handle}):this.setState(e);var r=a()({},this.state,e),n=r.bounds;t.onChange(n)}},{key:"onStart",value:function(e){var t=this.props,r=this.state,n=this.getValue();t.onBeforeChange(n);var i=this.calcValueByPos(e);this.startValue=i,this.startPosition=e;var o=this.getClosestBound(i);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(i,o),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),i!==n[this.prevMovedHandleIndex]){var a=[].concat(l()(r.bounds));a[this.prevMovedHandleIndex]=i,this.onChange({bounds:a})}}},{key:"onMove",value:function(e,t){C.k(e);var r=this.state,n=this.calcValueByPos(t);n!==r.bounds[r.handle]&&this.moveTo(n)}},{key:"onKeyboard",value:function(e){var t=C.d(e);if(t){C.k(e);var r=this.state,n=this.props,i=r.bounds,o=r.handle,a=i[o],s=t(a,n),l=this.trimAlignValue(s);if(l===a)return;this.moveTo(l,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,r=0,n=1;n<t.length-1;++n)e>t[n]&&(r=n);return Math.abs(t[r+1]-e)<Math.abs(t[r]-e)&&(r+=1),r}},{key:"getBoundNeedMoving",value:function(e,t){var r=this.state,n=r.bounds,i=r.recent,o=t,a=n[t+1]===n[t];return a&&n[i]===n[t]&&(o=i),a&&e!==n[t+1]&&(o=e<n[t+1]?t:t+1),o}},{key:"getLowerBound",value:function(){return this.state.bounds[0]}},{key:"getUpperBound",value:function(){var e=this.state.bounds;return e[e.length-1]}},{key:"getPoints",value:function(){var e=this.props,t=e.marks,r=e.step,n=e.min,i=e.max,o=this._getPointsCache;if(!o||o.marks!==t||o.step!==r){var s=a()({},t);if(null!==r)for(var l=n;l<=i;l+=r)s[l]=l;var u=Object.keys(s).map(parseFloat);u.sort((function(e,t){return e-t})),this._getPointsCache={marks:t,step:r,points:u}}return this._getPointsCache.points}},{key:"moveTo",value:function(e,t){var r=this,n=this.state,i=this.props,o=[].concat(l()(n.bounds));o[n.handle]=e;var a=n.handle;!1!==i.pushable?this.pushSurroundingHandles(o,a):i.allowCross&&(o.sort((function(e,t){return e-t})),a=o.indexOf(e)),this.onChange({handle:a,bounds:o}),t&&this.setState({},(function(){r.handlesRefs[a].focus()}))}},{key:"pushSurroundingHandles",value:function(e,t){var r=e[t],n=this.props.pushable;n=Number(n);var i=0;if(e[t+1]-r<n&&(i=1),r-e[t-1]<n&&(i=-1),0!==i){var o=t+i,a=i*(e[o]-r);this.pushHandle(e,o,i,n-a)||(e[t]=e[o]-i*n)}}},{key:"pushHandle",value:function(e,t,r,n){for(var i=e[t],o=e[t];r*(o-i)<n;){if(!this.pushHandleOnePoint(e,t,r))return e[t]=i,!1;o=e[t]}return!0}},{key:"pushHandleOnePoint",value:function(e,t,r){var n=this.getPoints(),i=n.indexOf(e[t]),o=i+r;if(o>=n.length||o<0)return!1;var a=t+r,s=n[o],l=this.props.pushable,u=r*(e[a]-s);return!!this.pushHandle(e,a,r,l-u)&&(e[t]=s,!0)}},{key:"trimAlignValue",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=a()({},this.props,r),i=C.a(e,n),o=this.ensureValueNotConflict(t,i,n);return C.b(o,n)}},{key:"ensureValueNotConflict",value:function(e,t,r){var n=r.allowCross,i=r.pushable,o=this.state||{},a=o.bounds;if(e=void 0===e?o.handle:e,i=Number(i),!n&&null!=e&&void 0!==a){if(e>0&&t<=a[e-1]+i)return a[e-1]+i;if(e<a.length-1&&t>=a[e+1]-i)return a[e+1]-i}return t}},{key:"render",value:function(){var e=this,t=this.state,r=t.handle,n=t.bounds,o=this.props,a=o.prefixCls,s=o.vertical,l=o.included,u=o.disabled,c=o.min,f=o.max,p=o.handle,d=o.trackStyle,h=o.handleStyle,v=o.tabIndex,m=n.map((function(t){return e.calcOffset(t)})),g=a+"-handle",b=n.map((function(t,n){var o;return p({className:w()((o={},i()(o,g,!0),i()(o,g+"-"+(n+1),!0),o)),prefixCls:a,vertical:s,offset:m[n],value:t,dragging:r===n,index:n,tabIndex:v[n]||0,min:c,max:f,disabled:u,style:h[n],ref:function(t){return e.saveHandle(n,t)}})}));return{tracks:n.slice(0,-1).map((function(e,t){var r,n=t+1,o=w()((r={},i()(r,a+"-track",!0),i()(r,a+"-track-"+n,!0),r));return y.a.createElement(k.a,{className:o,vertical:s,included:l,offset:m[n-1],length:m[n]-m[n-1],style:d[t],key:n})})),handles:b}}}]),t}(y.a.Component);S.displayName="Range",S.propTypes={defaultValue:x.a.arrayOf(x.a.number),value:x.a.arrayOf(x.a.number),count:x.a.number,pushable:x.a.oneOfType([x.a.bool,x.a.number]),allowCross:x.a.bool,disabled:x.a.bool,tabIndex:x.a.arrayOf(x.a.number),min:x.a.number,max:x.a.number},S.defaultProps={count:1,allowCross:!0,pushable:!1,tabIndex:[]},t.a=Object(T.a)(S)},function(e,t){e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],f=t[u];if(!1===(i=r?r.call(n,c,f,u):void 0)||void 0===i&&c!==f)return!1}return!0}},function(e,t,r){"use strict";function n(e){var t,r;return r=t=function(t){function r(e){f()(this,r);var t=v()(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.handleTooltipVisibleChange=function(e,r){t.setState((function(t){return{visibles:u()({},t.visibles,s()({},e,r))}}))},t.handleWithTooltip=function(e){var r=e.value,n=e.dragging,i=e.index,a=e.disabled,s=o()(e,["value","dragging","index","disabled"]),l=t.props,c=l.tipFormatter,f=l.tipProps,p=l.handleStyle,d=f.prefixCls,h=void 0===d?"rc-slider-tooltip":d,v=f.overlay,m=void 0===v?c(r):v,g=f.placement,y=void 0===g?"top":g,x=f.visible,A=void 0!==x&&x,E=o()(f,["prefixCls","overlay","placement","visible"]),k=void 0;return k=Array.isArray(p)?p[i]||p[0]:p,b.a.createElement(w.default,u()({},E,{prefixCls:h,overlay:m,placement:y,visible:!a&&(t.state.visibles[i]||n)||A,key:i}),b.a.createElement(_.a,u()({},s,{style:u()({},k),value:r,onMouseEnter:function(){return t.handleTooltipVisibleChange(i,!0)},onMouseLeave:function(){return t.handleTooltipVisibleChange(i,!1)}})))},t.state={visibles:{}},t}return g()(r,t),d()(r,[{key:"render",value:function(){return b.a.createElement(e,u()({},this.props,{handle:this.handleWithTooltip}))}}]),r}(b.a.Component),t.propTypes={tipFormatter:A.a.func,handleStyle:A.a.oneOfType([A.a.object,A.a.arrayOf(A.a.object)]),tipProps:A.a.object},t.defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{}},r}t.a=n;var i=r(24),o=r.n(i),a=r(18),s=r.n(a),l=r(5),u=r.n(l),c=r(2),f=r.n(c),p=r(9),d=r.n(p),h=r(3),v=r.n(h),m=r(4),g=r.n(m),y=r(0),b=r.n(y),x=r(1),A=r.n(x),w=r(57),_=r(51)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"Async",(function(){return Q})),r.d(t,"AsyncCreatable",(function(){return Z})),r.d(t,"Creatable",(function(){return W})),r.d(t,"Value",(function(){return M})),r.d(t,"Option",(function(){return O})),r.d(t,"defaultMenuRenderer",(function(){return b})),r.d(t,"defaultArrowRenderer",(function(){return p})),r.d(t,"defaultClearRenderer",(function(){return d})),r.d(t,"defaultFilterOptions",(function(){return y}));var n=r(178),i=r.n(n),o=r(16),a=r.n(o),s=r(1),l=r.n(s),u=r(0),c=r.n(u),f=r(8),p=(r.n(f),function(e){var t=e.onMouseDown;return c.a.createElement("span",{className:"Select-arrow",onMouseDown:t})});p.propTypes={onMouseDown:l.a.func};var d=function(){return c.a.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"×"}})},h=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],v=function(e){for(var t=0;t<h.length;t++)e=e.replace(h[t].letters,h[t].base);return e},m=function(e){return e.replace(/^\s+|\s+$/g,"")},g=function(e){return"undefined"!==typeof e&&null!==e&&""!==e},y=function(e,t,r,n){return n.ignoreAccents&&(t=v(t)),n.ignoreCase&&(t=t.toLowerCase()),n.trimFilter&&(t=m(t)),r&&(r=r.map((function(e){return e[n.valueKey]}))),e.filter((function(e){if(r&&r.indexOf(e[n.valueKey])>-1)return!1;if(n.filterOption)return n.filterOption.call(void 0,e,t);if(!t)return!0;var i=e[n.valueKey],o=e[n.labelKey],a=g(i),s=g(o);if(!a&&!s)return!1;var l=a?String(i):null,u=s?String(o):null;return n.ignoreAccents&&(l&&"label"!==n.matchProp&&(l=v(l)),u&&"value"!==n.matchProp&&(u=v(u))),n.ignoreCase&&(l&&"label"!==n.matchProp&&(l=l.toLowerCase()),u&&"value"!==n.matchProp&&(u=u.toLowerCase())),"start"===n.matchPos?l&&"label"!==n.matchProp&&l.substr(0,t.length)===t||u&&"value"!==n.matchProp&&u.substr(0,t.length)===t:l&&"label"!==n.matchProp&&l.indexOf(t)>=0||u&&"value"!==n.matchProp&&u.indexOf(t)>=0}))},b=function(e){var t=e.focusedOption,r=e.focusOption,n=e.inputValue,i=e.instancePrefix,o=e.onFocus,s=e.onOptionRef,l=e.onSelect,u=e.optionClassName,f=e.optionComponent,p=e.optionRenderer,d=e.options,h=e.removeValue,v=e.selectValue,m=e.valueArray,g=e.valueKey,y=f;return d.map((function(e,f){var d=m&&m.some((function(t){return t[g]===e[g]})),b=e===t,x=a()(u,{"Select-option":!0,"is-selected":d,"is-focused":b,"is-disabled":e.disabled});return c.a.createElement(y,{className:x,focusOption:r,inputValue:n,instancePrefix:i,isDisabled:e.disabled,isFocused:b,isSelected:d,key:"option-"+f+"-"+e[g],onFocus:o,onSelect:l,option:e,optionIndex:f,ref:function(e){s(e,b)},removeValue:h,selectValue:v},p(e,f,n))}))};b.propTypes={focusOption:l.a.func,focusedOption:l.a.object,inputValue:l.a.string,instancePrefix:l.a.string,onFocus:l.a.func,onOptionRef:l.a.func,onSelect:l.a.func,optionClassName:l.a.string,optionComponent:l.a.func,optionRenderer:l.a.func,options:l.a.array,removeValue:l.a.func,selectValue:l.a.func,valueArray:l.a.array,valueKey:l.a.string};var x=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},A="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},w=(function(){function e(e){this.value=e}function t(t){function r(e,t){return new Promise((function(r,i){var s={key:e,arg:t,resolve:r,reject:i,next:null};a?a=a.next=s:(o=a=s,n(e,t))}))}function n(r,o){try{var a=t[r](o),s=a.value;s instanceof e?Promise.resolve(s.value).then((function(e){n("next",e)}),(function(e){n("throw",e)})):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?n(o.key,o.arg):a=null}var o,a;this._invoke=r,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),_=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),E=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},C=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},S=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},O=function(e){function t(e){w(this,t);var r=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseMove=r.handleMouseMove.bind(r),r.handleTouchStart=r.handleTouchStart.bind(r),r.handleTouchEnd=r.handleTouchEnd.bind(r),r.handleTouchMove=r.handleTouchMove.bind(r),r.onFocus=r.onFocus.bind(r),r}return T(t,e),_(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,r=e.instancePrefix,n=e.optionIndex,i=a()(this.props.className,t.className);return t.disabled?c.a.createElement("div",{className:i,onMouseDown:x,onClick:x},this.props.children):c.a.createElement("div",{className:i,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:r+"-option-"+n,title:t.title},this.props.children)}}]),t}(c.a.Component);O.propTypes={children:l.a.node,className:l.a.string,instancePrefix:l.a.string.isRequired,isDisabled:l.a.bool,isFocused:l.a.bool,isSelected:l.a.bool,onFocus:l.a.func,onSelect:l.a.func,onUnfocus:l.a.func,option:l.a.object.isRequired,optionIndex:l.a.number};var M=function(e){function t(e){w(this,t);var r=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleMouseDown=r.handleMouseDown.bind(r),r.onRemove=r.onRemove.bind(r),r.handleTouchEndRemove=r.handleTouchEndRemove.bind(r),r.handleTouchMove=r.handleTouchMove.bind(r),r.handleTouchStart=r.handleTouchStart.bind(r),r}return T(t,e),_(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return c.a.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")}},{key:"renderLabel",value:function(){return this.props.onClick||this.props.value.href?c.a.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):c.a.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return c.a.createElement("div",{className:a()("Select-value",this.props.value.disabled?"Select-value-disabled":"",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(c.a.Component);M.propTypes={children:l.a.node,disabled:l.a.bool,id:l.a.string,onClick:l.a.func,onRemove:l.a.func,value:l.a.object.isRequired};var P=function(e){return"string"===typeof e?e:null!==e&&JSON.stringify(e)||""},B=l.a.oneOfType([l.a.string,l.a.node]),L=l.a.oneOfType([l.a.string,l.a.number]),D=1,I=function(e,t){var r=e.inputValue,n=e.isPseudoFocused,i=e.isFocused,o=t.onSelectResetsInput;return!r||!o&&!(!i&&n||i&&!n)},j=function(e,t,r){var n=e.inputValue,i=e.isPseudoFocused,o=e.isFocused,a=t.onSelectResetsInput;return!n||!a&&!r&&!i&&!o},R=function(e,t){var r="undefined"===typeof e?"undefined":A(e);if("string"!==r&&"number"!==r&&"boolean"!==r)return e;var n=t.options,i=t.valueKey;if(n)for(var o=0;o<n.length;o++)if(String(n[o][i])===String(e))return n[o]},F=function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},N=function(e){function t(e){w(this,t);var r=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return["clearValue","focusOption","getOptionLabel","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleTouchEnd","handleTouchEndClearValue","handleTouchMove","handleTouchOutside","handleTouchStart","handleValueClick","onOptionRef","removeValue","selectValue"].forEach((function(e){return r[e]=r[e].bind(r)})),r.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},r}return T(t,e),_(t,[{key:"componentWillMount",value:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++D)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:F(e[0],this.props.multi)})}},{key:"componentDidMount",value:function(){"undefined"!==typeof this.props.autofocus&&"undefined"!==typeof console&&console.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(e){var t=this.getValueArray(e.value,e);e.required?this.setState({required:F(t[0],e.multi)}):this.props.required&&this.setState({required:!1}),this.state.inputValue&&this.props.value!==e.value&&e.onSelectResetsInput&&this.setState({inputValue:this.handleInputValueChange("")})}},{key:"componentDidUpdate",value:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var r=Object(f.findDOMNode)(this.focused),n=Object(f.findDOMNode)(this.menu),i=n.scrollTop,o=i+n.offsetHeight,a=r.offsetTop,s=a+r.offsetHeight;(i>a||o<s)&&(n.scrollTop=r.offsetTop),this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var l=Object(f.findDOMNode)(this.focused),u=Object(f.findDOMNode)(this.menu),c=l.getBoundingClientRect(),p=u.getBoundingClientRect();c.bottom>p.bottom?u.scrollTop=l.offsetTop+l.clientHeight-u.offsetHeight:c.top<p.top&&(u.scrollTop=l.offsetTop)}if(this.props.scrollMenuIntoView&&this.menuContainer){var d=this.menuContainer.getBoundingClientRect();window.innerHeight<d.bottom+this.props.menuBuffer&&window.scrollBy(0,d.bottom+this.props.menuBuffer-window.innerHeight)}if(e.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu()),t.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(this.state.isOpen);var h=this.state.isOpen?this.props.onOpen:this.props.onClose;h&&h()}}},{key:"componentWillUnmount",value:function(){this.toggleTouchOutsideEvent(!1)}},{key:"toggleTouchOutsideEvent",value:function(e){var t=e?document.addEventListener?"addEventListener":"attachEvent":document.removeEventListener?"removeEventListener":"detachEvent",r=document.addEventListener?"":"on";document[t](r+"touchstart",this.handleTouchOutside),document[t](r+"mousedown",this.handleTouchOutside)}},{key:"handleTouchOutside",value:function(e){this.wrapper&&!this.wrapper.contains(e.target)&&this.closeMenu()}},{key:"focus",value:function(){this.input&&this.input.focus()}},{key:"blurInput",value:function(){this.input&&this.input.blur()}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchEndClearValue",value:function(e){this.dragging||this.clearValue(e)}},{key:"handleMouseDown",value:function(e){if(!(this.props.disabled||"mousedown"===e.type&&0!==e.button)){if("INPUT"===e.target.tagName)return void(this.state.isFocused?this.state.isOpen||this.setState({isOpen:!0,isPseudoFocused:!1,focusedOption:null}):(this._openAfterFocus=this.props.openOnClick,this.focus()));if(e.preventDefault(),!this.props.searchable)return this.focus(),this.setState({isOpen:!this.state.isOpen,focusedOption:null});if(this.state.isFocused){this.focus();var t=this.input,r=!0;"function"===typeof t.getInput&&(t=t.getInput()),t.value="",this._focusAfterClear&&(r=!1,this._focusAfterClear=!1),this.setState({isOpen:r,isPseudoFocused:!1,focusedOption:null})}else this._openAfterFocus=this.props.openOnClick,this.focus(),this.setState({focusedOption:null})}}},{key:"handleMouseDownOnArrow",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(this.state.isOpen?(e.stopPropagation(),e.preventDefault(),this.closeMenu()):this.setState({isOpen:!0}))}},{key:"handleMouseDownOnMenu",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this._openAfterFocus=!0,this.focus())}},{key:"closeMenu",value:function(){this.props.onCloseResetsInput?this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}):this.setState({isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}),this.hasScrolledToOption=!1}},{key:"handleInputFocus",value:function(e){if(!this.props.disabled){var t=this.state.isOpen||this._openAfterFocus||this.props.openOnFocus;t=!this._focusAfterClear&&t,this.props.onFocus&&this.props.onFocus(e),this.setState({isFocused:!0,isOpen:!!t}),this._focusAfterClear=!1,this._openAfterFocus=!1}}},{key:"handleInputBlur",value:function(e){if(!this.menu||this.menu!==document.activeElement&&!this.menu.contains(document.activeElement)){this.props.onBlur&&this.props.onBlur(e);var t={isFocused:!1,isOpen:!1,isPseudoFocused:!1};this.props.onBlurResetsInput&&(t.inputValue=this.handleInputValueChange("")),this.setState(t)}else this.focus()}},{key:"handleInputChange",value:function(e){var t=e.target.value;this.state.inputValue!==e.target.value&&(t=this.handleInputValueChange(t)),this.setState({inputValue:t,isOpen:!0,isPseudoFocused:!1})}},{key:"setInputValue",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==("undefined"===typeof t?"undefined":A(t))&&(e=""+t)}this.setState({inputValue:e})}},{key:"handleInputValueChange",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==("undefined"===typeof t?"undefined":A(t))&&(e=""+t)}return e}},{key:"handleKeyDown",value:function(e){if(!this.props.disabled&&("function"!==typeof this.props.onInputKeyDown||(this.props.onInputKeyDown(e),!e.defaultPrevented)))switch(e.keyCode){case 8:!this.state.inputValue&&this.props.backspaceRemoves&&(e.preventDefault(),this.popValue());break;case 9:if(e.shiftKey||!this.state.isOpen||!this.props.tabSelectsValue)break;e.preventDefault(),this.selectFocusedOption();break;case 13:e.preventDefault(),e.stopPropagation(),this.state.isOpen?this.selectFocusedOption():this.focusNextOption();break;case 27:e.preventDefault(),this.state.isOpen?(this.closeMenu(),e.stopPropagation()):this.props.clearable&&this.props.escapeClearsValue&&(this.clearValue(e),e.stopPropagation());break;case 32:if(this.props.searchable)break;if(e.preventDefault(),!this.state.isOpen){this.focusNextOption();break}e.stopPropagation(),this.selectFocusedOption();break;case 38:e.preventDefault(),this.focusPreviousOption();break;case 40:e.preventDefault(),this.focusNextOption();break;case 33:e.preventDefault(),this.focusPageUpOption();break;case 34:e.preventDefault(),this.focusPageDownOption();break;case 35:if(e.shiftKey)break;e.preventDefault(),this.focusEndOption();break;case 36:if(e.shiftKey)break;e.preventDefault(),this.focusStartOption();break;case 46:!this.state.inputValue&&this.props.deleteRemoves&&(e.preventDefault(),this.popValue())}}},{key:"handleValueClick",value:function(e,t){this.props.onValueClick&&this.props.onValueClick(e,t)}},{key:"handleMenuScroll",value:function(e){if(this.props.onMenuScrollToBottom){var t=e.target;t.scrollHeight>t.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r="object"===("undefined"===typeof t?"undefined":A(t))?t:this.props;if(r.multi){if("string"===typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map((function(e){return R(e,r)})).filter((function(e){return e}))}var n=R(e,r);return n?[n]:[]}},{key:"setValue",value:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.required){var r=F(e,this.props.multi);this.setState({required:r})}this.props.simpleValue&&e&&(e=this.props.multi?e.map((function(e){return e[t.props.valueKey]})).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange&&this.props.onChange(e)}},{key:"selectValue",value:function(e){var t=this;this.props.closeOnSelect&&(this.hasScrolledToOption=!1);var r=this.props.onSelectResetsInput?"":this.state.inputValue;this.props.multi?this.setState({focusedIndex:null,inputValue:this.handleInputValueChange(r),isOpen:!this.props.closeOnSelect},(function(){t.getValueArray(t.props.value).some((function(r){return r[t.props.valueKey]===e[t.props.valueKey]}))?t.removeValue(e):t.addValue(e)})):this.setState({inputValue:this.handleInputValueChange(r),isOpen:!this.props.closeOnSelect,isPseudoFocused:this.state.isFocused},(function(){t.setValue(e)}))}},{key:"addValue",value:function(e){var t=this.getValueArray(this.props.value),r=this._visibleOptions.filter((function(e){return!e.disabled})),n=r.indexOf(e);this.setValue(t.concat(e)),this.props.closeOnSelect&&(r.length-1===n?this.focusOption(r[n-1]):r.length>n&&this.focusOption(r[n+1]))}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,r=this.getValueArray(this.props.value);this.setValue(r.filter((function(r){return r[t.props.valueKey]!==e[t.props.valueKey]}))),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1},this.focus),this._focusAfterClear=!0)}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map((function(e,t){return{option:e,index:t}})).filter((function(e){return!e.option.disabled}));if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen){var r={focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null),isOpen:!0};return this.props.onSelectResetsInput&&(r.inputValue=""),void this.setState(r)}if(t.length){for(var n=-1,i=0;i<t.length;i++)if(this._focusedOption===t[i].option){n=i;break}if("next"===e&&-1!==n)n=(n+1)%t.length;else if("previous"===e)n>0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e){var o=n-this.props.pageSize;n=o<0?0:o}else if("page_down"===e){var a=n+this.props.pageSize;n=a>t.length-1?t.length-1:a}-1===n&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return c.a.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},c.a.createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var r=this,n=this.props.valueRenderer||this.getOptionLabel,i=this.props.valueComponent;if(!e.length)return j(this.state,this.props,t)?c.a.createElement("div",{className:"Select-placeholder"},this.props.placeholder):null;var o=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map((function(t,a){return c.a.createElement(i,{disabled:r.props.disabled||!1===t.clearableValue,id:r._instancePrefix+"-value-"+a,instancePrefix:r._instancePrefix,key:"value-"+a+"-"+t[r.props.valueKey],onClick:o,onRemove:r.removeValue,placeholder:r.props.placeholder,value:t,values:e},n(t,a),c.a.createElement("span",{className:"Select-aria-only"}," "))})):I(this.state,this.props)?(t&&(o=null),c.a.createElement(i,{disabled:this.props.disabled,id:this._instancePrefix+"-value-item",instancePrefix:this._instancePrefix,onClick:o,placeholder:this.props.placeholder,value:e[0]},n(e[0]))):void 0}},{key:"renderInput",value:function(e,t){var r,n=this,o=a()("Select-input",this.props.inputProps.className),s=this.state.isOpen,l=a()((r={},E(r,this._instancePrefix+"-list",s),E(r,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),r)),u=this.state.inputValue;!u||this.props.onSelectResetsInput||this.state.isFocused||(u="");var f=k({},this.props.inputProps,{"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-expanded":""+s,"aria-haspopup":""+s,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-owns":l,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return n.input=e},role:"combobox",required:this.state.required,tabIndex:this.props.tabIndex,value:u});if(this.props.inputRenderer)return this.props.inputRenderer(f);if(this.props.disabled||!this.props.searchable){var p=C(this.props.inputProps,[]),d=a()(E({},this._instancePrefix+"-list",s));return c.a.createElement("div",k({},p,{"aria-expanded":s,"aria-owns":d,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-disabled":""+this.props.disabled,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],className:o,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return n.input=e},role:"combobox",style:{border:0,width:1,display:"inline-block"},tabIndex:this.props.tabIndex||0}))}return this.props.autosize?c.a.createElement(i.a,k({id:this.props.id},f,{className:o,minWidth:"5"})):c.a.createElement("div",{className:o,key:"input-wrap",style:{display:"inline-block"}},c.a.createElement("input",k({id:this.props.id},f)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.multi?this.props.clearAllText:this.props.clearValueText,r=this.props.clearRenderer();return c.a.createElement("span",{"aria-label":t,className:"Select-clear-zone",onMouseDown:this.clearValue,onTouchEnd:this.handleTouchEndClearValue,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,title:t},r)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,r=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return r?c.a.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},r):null}}},{key:"filterOptions",value:function(e){var t=this.state.inputValue,r=this.props.options||[];return this.props.filterOptions?("function"===typeof this.props.filterOptions?this.props.filterOptions:y)(r,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,trimFilter:this.props.trimFilter,valueKey:this.props.valueKey}):r}},{key:"onOptionRef",value:function(e,t){t&&(this.focused=e)}},{key:"renderMenu",value:function(e,t,r){return e&&e.length?this.props.menuRenderer({focusedOption:r,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onOptionRef:this.onOptionRef,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,removeValue:this.removeValue,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey}):this.props.noResultsText?c.a.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var r=e.map((function(e){return P(e[t.props.valueKey])})).join(this.props.delimiter);return c.a.createElement("input",{disabled:this.props.disabled,name:this.props.name,ref:function(e){return t.value=e},type:"hidden",value:r})}return e.map((function(e,r){return c.a.createElement("input",{disabled:t.props.disabled,key:"hidden."+r,name:t.props.name,ref:"value"+r,type:"hidden",value:P(e[t.props.valueKey])})}))}}},{key:"getFocusableOptionIndex",value:function(e){var t=this._visibleOptions;if(!t.length)return null;var r=this.props.valueKey,n=this.state.focusedOption||e;if(n&&!n.disabled){var i=-1;if(t.some((function(e,t){var o=e[r]===n[r];return o&&(i=t),o})),-1!==i)return i}for(var o=0;o<t.length;o++)if(!t[o].disabled)return o;return null}},{key:"renderOuter",value:function(e,t,r){var n=this,i=this.renderMenu(e,t,r);return i?c.a.createElement("div",{ref:function(e){return n.menuContainer=e},className:"Select-menu-outer",style:this.props.menuContainerStyle},c.a.createElement("div",{className:"Select-menu",id:this._instancePrefix+"-list",onMouseDown:this.handleMouseDownOnMenu,onScroll:this.handleMenuScroll,ref:function(e){return n.menu=e},role:"listbox",style:this.props.menuStyle,tabIndex:-1},i)):null}},{key:"render",value:function(){var e=this,t=this.getValueArray(this.props.value),r=this._visibleOptions=this.filterOptions(this.props.multi&&this.props.removeSelected?t:null),n=this.state.isOpen;this.props.multi&&!r.length&&t.length&&!this.state.inputValue&&(n=!1);var i=this.getFocusableOptionIndex(t[0]),o=null;o=this._focusedOption=null!==i?r[i]:null;var s=a()("Select",this.props.className,{"has-value":t.length,"is-clearable":this.props.clearable,"is-disabled":this.props.disabled,"is-focused":this.state.isFocused,"is-loading":this.props.isLoading,"is-open":n,"is-pseudo-focused":this.state.isPseudoFocused,"is-searchable":this.props.searchable,"Select--multi":this.props.multi,"Select--rtl":this.props.rtl,"Select--single":!this.props.multi}),l=null;return this.props.multi&&!this.props.disabled&&t.length&&!this.state.inputValue&&this.state.isFocused&&this.props.backspaceRemoves&&(l=c.a.createElement("span",{id:this._instancePrefix+"-backspace-remove-message",className:"Select-aria-only","aria-live":"assertive"},this.props.backspaceToRemoveMessage.replace("{label}",t[t.length-1][this.props.labelKey]))),c.a.createElement("div",{ref:function(t){return e.wrapper=t},className:s,style:this.props.wrapperStyle},this.renderHiddenField(t),c.a.createElement("div",{ref:function(t){return e.control=t},className:"Select-control",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,style:this.props.style},c.a.createElement("div",{className:"Select-multi-value-wrapper",id:this._instancePrefix+"-value"},this.renderValue(t,n),this.renderInput(t,i)),l,this.renderLoading(),this.renderClear(),this.renderArrow()),n?this.renderOuter(r,t,o):null)}}]),t}(c.a.Component);N.propTypes={"aria-describedby":l.a.string,"aria-label":l.a.string,"aria-labelledby":l.a.string,arrowRenderer:l.a.func,autoBlur:l.a.bool,autoFocus:l.a.bool,autofocus:l.a.bool,autosize:l.a.bool,backspaceRemoves:l.a.bool,backspaceToRemoveMessage:l.a.string,className:l.a.string,clearAllText:B,clearRenderer:l.a.func,clearValueText:B,clearable:l.a.bool,closeOnSelect:l.a.bool,deleteRemoves:l.a.bool,delimiter:l.a.string,disabled:l.a.bool,escapeClearsValue:l.a.bool,filterOption:l.a.func,filterOptions:l.a.any,id:l.a.string,ignoreAccents:l.a.bool,ignoreCase:l.a.bool,inputProps:l.a.object,inputRenderer:l.a.func,instanceId:l.a.string,isLoading:l.a.bool,joinValues:l.a.bool,labelKey:l.a.string,matchPos:l.a.string,matchProp:l.a.string,menuBuffer:l.a.number,menuContainerStyle:l.a.object,menuRenderer:l.a.func,menuStyle:l.a.object,multi:l.a.bool,name:l.a.string,noResultsText:B,onBlur:l.a.func,onBlurResetsInput:l.a.bool,onChange:l.a.func,onClose:l.a.func,onCloseResetsInput:l.a.bool,onFocus:l.a.func,onInputChange:l.a.func,onInputKeyDown:l.a.func,onMenuScrollToBottom:l.a.func,onOpen:l.a.func,onSelectResetsInput:l.a.bool,onValueClick:l.a.func,openOnClick:l.a.bool,openOnFocus:l.a.bool,optionClassName:l.a.string,optionComponent:l.a.func,optionRenderer:l.a.func,options:l.a.array,pageSize:l.a.number,placeholder:B,removeSelected:l.a.bool,required:l.a.bool,resetValue:l.a.any,rtl:l.a.bool,scrollMenuIntoView:l.a.bool,searchable:l.a.bool,simpleValue:l.a.bool,style:l.a.object,tabIndex:L,tabSelectsValue:l.a.bool,trimFilter:l.a.bool,value:l.a.any,valueComponent:l.a.func,valueKey:l.a.string,valueRenderer:l.a.func,wrapperStyle:l.a.object},N.defaultProps={arrowRenderer:p,autosize:!0,backspaceRemoves:!0,backspaceToRemoveMessage:"Press backspace to remove {label}",clearable:!0,clearAllText:"Clear all",clearRenderer:d,clearValueText:"Clear value",closeOnSelect:!0,deleteRemoves:!0,delimiter:",",disabled:!1,escapeClearsValue:!0,filterOptions:y,ignoreAccents:!0,ignoreCase:!0,inputProps:{},isLoading:!1,joinValues:!1,labelKey:"label",matchPos:"any",matchProp:"any",menuBuffer:0,menuRenderer:b,multi:!1,noResultsText:"No results found",onBlurResetsInput:!0,onCloseResetsInput:!0,onSelectResetsInput:!0,openOnClick:!0,optionComponent:O,pageSize:5,placeholder:"Select...",removeSelected:!0,required:!1,rtl:!1,scrollMenuIntoView:!0,searchable:!0,simpleValue:!1,tabSelectsValue:!0,trimFilter:!0,valueComponent:M,valueKey:"value"};var z={autoload:l.a.bool.isRequired,cache:l.a.any,children:l.a.func.isRequired,ignoreAccents:l.a.bool,ignoreCase:l.a.bool,loadOptions:l.a.func.isRequired,loadingPlaceholder:l.a.oneOfType([l.a.string,l.a.node]),multi:l.a.bool,noResultsText:l.a.oneOfType([l.a.string,l.a.node]),onChange:l.a.func,onInputChange:l.a.func,options:l.a.array.isRequired,placeholder:l.a.oneOfType([l.a.string,l.a.node]),searchPromptText:l.a.oneOfType([l.a.string,l.a.node]),value:l.a.any},U={},H=function(e){return c.a.createElement(N,e)},V={autoload:!0,cache:U,children:H,ignoreAccents:!0,ignoreCase:!0,loadingPlaceholder:"Loading...",options:[],searchPromptText:"Type to search"},Q=function(e){function t(e,r){w(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n._cache=e.cache===U?{}:e.cache,n.state={inputValue:"",isLoading:!1,options:e.options},n.onInputChange=n.onInputChange.bind(n),n}return T(t,e),_(t,[{key:"componentDidMount",value:function(){this.props.autoload&&this.loadOptions("")}},{key:"componentWillReceiveProps",value:function(e){e.options!==this.props.options&&this.setState({options:e.options})}},{key:"componentWillUnmount",value:function(){this._callback=null}},{key:"loadOptions",value:function(e){var t=this,r=this.props.loadOptions,n=this._cache;if(n&&Object.prototype.hasOwnProperty.call(n,e))return this._callback=null,void this.setState({isLoading:!1,options:n[e]});var i=function r(i,o){var a=o&&o.options||[];n&&(n[e]=a),r===t._callback&&(t._callback=null,t.setState({isLoading:!1,options:a}))};this._callback=i;var o=r(e,i);o&&o.then((function(e){return i(0,e)}),(function(e){return i()})),this._callback&&!this.state.isLoading&&this.setState({isLoading:!0})}},{key:"onInputChange",value:function(e){var t=this.props,r=t.ignoreAccents,n=t.ignoreCase,i=t.onInputChange,o=e;if(i){var a=i(o);null!=a&&"object"!==("undefined"===typeof a?"undefined":A(a))&&(o=""+a)}var s=o;return r&&(s=v(s)),n&&(s=s.toLowerCase()),this.setState({inputValue:o}),this.loadOptions(s),o}},{key:"noResultsText",value:function(){var e=this.props,t=e.loadingPlaceholder,r=e.noResultsText,n=e.searchPromptText,i=this.state,o=i.inputValue;return i.isLoading?t:o&&r?r:n}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.loadingPlaceholder,i=t.placeholder,o=this.state,a=o.isLoading,s=o.options,l={noResultsText:this.noResultsText(),placeholder:a?n:i,options:a&&n?[]:s,ref:function(t){return e.select=t}};return r(k({},this.props,l,{isLoading:a,onInputChange:this.onInputChange}))}}]),t}(u.Component);Q.propTypes=z,Q.defaultProps=V;var W=function(e){function t(e,r){w(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.filterOptions=n.filterOptions.bind(n),n.menuRenderer=n.menuRenderer.bind(n),n.onInputKeyDown=n.onInputKeyDown.bind(n),n.onInputChange=n.onInputChange.bind(n),n.onOptionSelect=n.onOptionSelect.bind(n),n}return T(t,e),_(t,[{key:"createNewOption",value:function(){var e=this.props,t=e.isValidNewOption,r=e.newOptionCreator,n=e.onNewOptionClick,i=e.options,o=void 0===i?[]:i;if(t({label:this.inputValue})){var a=r({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});this.isOptionUnique({option:a,options:o})&&(n?n(a):(o.unshift(a),this.select.selectValue(a)))}}},{key:"filterOptions",value:function(){var e=this.props,t=e.filterOptions,r=e.isValidNewOption,n=e.promptTextCreator,i=e.showNewOptionAtTop,o=(arguments.length<=2?void 0:arguments[2])||[],a=t.apply(void 0,arguments)||[];if(r({label:this.inputValue})){var s=this.props.newOptionCreator,l=s({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});if(this.isOptionUnique({option:l,options:o.concat(a)})){var u=n(this.inputValue);this._createPlaceholderOption=s({label:u,labelKey:this.labelKey,valueKey:this.valueKey}),i?a.unshift(this._createPlaceholderOption):a.push(this._createPlaceholderOption)}}return a}},{key:"isOptionUnique",value:function(e){var t=e.option,r=e.options,n=this.props.isOptionUnique;return r=r||this.props.options,n({labelKey:this.labelKey,option:t,options:r,valueKey:this.valueKey})}},{key:"menuRenderer",value:function(e){return(0,this.props.menuRenderer)(k({},e,{onSelect:this.onOptionSelect,selectValue:this.onOptionSelect}))}},{key:"onInputChange",value:function(e){var t=this.props.onInputChange;return this.inputValue=e,t&&(this.inputValue=t(e)),this.inputValue}},{key:"onInputKeyDown",value:function(e){var t=this.props,r=t.shouldKeyDownEventCreateNewOption,n=t.onInputKeyDown,i=this.select.getFocusedOption();i&&i===this._createPlaceholderOption&&r(e)?(this.createNewOption(),e.preventDefault()):n&&n(e)}},{key:"onOptionSelect",value:function(e){e===this._createPlaceholderOption?this.createNewOption():this.select.selectValue(e)}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,r=t.ref,n=C(t,["ref"]),i=this.props.children;return i||(i=K),i(k({},n,{allowCreate:!0,filterOptions:this.filterOptions,menuRenderer:this.menuRenderer,onInputChange:this.onInputChange,onInputKeyDown:this.onInputKeyDown,ref:function(t){e.select=t,t&&(e.labelKey=t.props.labelKey,e.valueKey=t.props.valueKey),r&&r(t)}}))}}]),t}(c.a.Component),K=function(e){return c.a.createElement(N,e)},q=function(e){var t=e.option,r=e.options,n=e.labelKey,i=e.valueKey;return!r||!r.length||0===r.filter((function(e){return e[n]===t[n]||e[i]===t[i]})).length},G=function(e){return!!e.label},$=function(e){var t=e.label,r=e.labelKey,n=e.valueKey,i={};return i[n]=t,i[r]=t,i.className="Select-create-option-placeholder",i},Y=function(e){return'Create option "'+e+'"'},X=function(e){switch(e.keyCode){case 9:case 13:case 188:return!0;default:return!1}};W.isOptionUnique=q,W.isValidNewOption=G,W.newOptionCreator=$,W.promptTextCreator=Y,W.shouldKeyDownEventCreateNewOption=X,W.defaultProps={filterOptions:y,isOptionUnique:q,isValidNewOption:G,menuRenderer:b,newOptionCreator:$,promptTextCreator:Y,shouldKeyDownEventCreateNewOption:X,showNewOptionAtTop:!0},W.propTypes={children:l.a.func,filterOptions:l.a.any,isOptionUnique:l.a.func,isValidNewOption:l.a.func,menuRenderer:l.a.any,newOptionCreator:l.a.func,onInputChange:l.a.func,onInputKeyDown:l.a.func,onNewOptionClick:l.a.func,options:l.a.array,promptTextCreator:l.a.func,ref:l.a.func,shouldKeyDownEventCreateNewOption:l.a.func,showNewOptionAtTop:l.a.bool};var Z=function(e){function t(){return w(this,t),S(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return T(t,e),_(t,[{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this;return c.a.createElement(Q,this.props,(function(t){var r=t.ref,n=C(t,["ref"]),i=r;return c.a.createElement(W,n,(function(t){var r=t.ref,n=C(t,["ref"]),o=r;return e.props.children(k({},n,{ref:function(t){o(t),i(t),e.select=t}}))}))}))}}]),t}(c.a.Component),J=function(e){return c.a.createElement(N,e)};Z.propTypes={children:l.a.func.isRequired},Z.defaultProps={children:J},N.Async=Q,N.AsyncCreatable=Z,N.Creatable=W,N.Value=M,N.Option=O,t.default=N},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=r(0),f=n(c),p=r(1),d=n(p),h={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},v=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],m=function(e){return v.forEach((function(t){return delete e[t]})),e},g=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},y=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),b=function(){return y?"_"+Math.random().toString(36).substr(2,12):void 0},x=function(e){function t(e){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.inputRef=function(e){r.input=e,"function"===typeof r.props.inputRef&&r.props.inputRef(e)},r.placeHolderSizerRef=function(e){r.placeHolderSizer=e},r.sizerRef=function(e){r.sizer=e},r.state={inputWidth:e.minWidth,inputId:e.id||b()},r}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||b()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(g(e,this.sizer),this.placeHolderSizer&&g(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!==typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0,e<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return y&&e?f.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&void 0!==e?e:t})),t=l({},this.props.style);t.display||(t.display="inline-block");var r=l({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),n=i(this.props,[]);return m(n),n.className=this.props.inputClassName,n.id=this.state.inputId,n.style=r,f.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),f.default.createElement("input",l({},n,{ref:this.inputRef})),f.default.createElement("div",{ref:this.sizerRef,style:h},e),this.props.placeholder?f.default.createElement("div",{ref:this.placeHolderSizerRef,style:h},this.props.placeholder):null)}}]),t}(c.Component);x.propTypes={className:d.default.string,defaultValue:d.default.any,extraWidth:d.default.oneOfType([d.default.number,d.default.string]),id:d.default.string,injectStyles:d.default.bool,inputClassName:d.default.string,inputRef:d.default.func,inputStyle:d.default.object,minWidth:d.default.oneOfType([d.default.number,d.default.string]),onAutosize:d.default.func,onChange:d.default.func,placeholder:d.default.string,placeholderIsMinWidth:d.default.bool,style:d.default.object,value:d.default.any},x.defaultProps={minWidth:1,injectStyles:!0},t.default=x},function(e,t,r){var n=r(180);"string"===typeof n&&(n=[[e.i,n,""]]);var i={transform:void 0};r(54)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(53)(void 0),t.push([e.i,"/**\n * React Select\n * ============\n * Created by Jed Watson and Joss Mackison for KeystoneJS, http://www.keystonejs.com/\n * https://twitter.com/jedwatson https://twitter.com/jossmackison https://twitter.com/keystonejs\n * MIT License: https://github.com/JedWatson/react-select\n*/\n.Select {\n position: relative;\n}\n.Select input::-webkit-contacts-auto-fill-button,\n.Select input::-webkit-credentials-auto-fill-button {\n display: none !important;\n}\n.Select input::-ms-clear {\n display: none !important;\n}\n.Select input::-ms-reveal {\n display: none !important;\n}\n.Select,\n.Select div,\n.Select input,\n.Select span {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.Select.is-disabled .Select-arrow-zone {\n cursor: default;\n pointer-events: none;\n opacity: 0.35;\n}\n.Select.is-disabled > .Select-control {\n background-color: #f9f9f9;\n}\n.Select.is-disabled > .Select-control:hover {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.Select.is-open > .Select-control {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n background: #fff;\n border-color: #b3b3b3 #ccc #d9d9d9;\n}\n.Select.is-open > .Select-control .Select-arrow {\n top: -2px;\n border-color: transparent transparent #999;\n border-width: 0 5px 5px;\n}\n.Select.is-searchable.is-open > .Select-control {\n cursor: text;\n}\n.Select.is-searchable.is-focused:not(.is-open) > .Select-control {\n cursor: text;\n}\n.Select.is-focused > .Select-control {\n background: #fff;\n}\n.Select.is-focused:not(.is-open) > .Select-control {\n border-color: #007eff;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1);\n background: #fff;\n}\n.Select.has-value.is-clearable.Select--single > .Select-control .Select-value {\n padding-right: 42px;\n}\n.Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {\n color: #333;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label {\n cursor: pointer;\n text-decoration: none;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n color: #007eff;\n outline: none;\n text-decoration: underline;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n background: #fff;\n}\n.Select.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select.is-open .Select-arrow,\n.Select .Select-arrow-zone:hover > .Select-arrow {\n border-top-color: #666;\n}\n.Select.Select--rtl {\n direction: rtl;\n text-align: right;\n}\n.Select-control {\n background-color: #fff;\n border-color: #d9d9d9 #ccc #b3b3b3;\n border-radius: 4px;\n border: 1px solid #ccc;\n color: #333;\n cursor: default;\n display: table;\n border-spacing: 0;\n border-collapse: separate;\n height: 36px;\n outline: none;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.Select-control:hover {\n -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n}\n.Select-control .Select-input:focus {\n outline: none;\n background: #fff;\n}\n.Select-placeholder,\n.Select--single > .Select-control .Select-value {\n bottom: 0;\n color: #aaa;\n left: 0;\n line-height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n position: absolute;\n right: 0;\n top: 0;\n max-width: 100%;\n overflow: hidden;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.Select-input {\n height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n vertical-align: middle;\n}\n.Select-input > input {\n width: 100%;\n background: none transparent;\n border: 0 none;\n -webkit-box-shadow: none;\n box-shadow: none;\n cursor: default;\n display: inline-block;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n outline: none;\n line-height: 17px;\n /* For IE 8 compatibility */\n padding: 8px 0 12px;\n /* For IE 8 compatibility */\n -webkit-appearance: none;\n}\n.is-focused .Select-input > input {\n cursor: text;\n}\n.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select-control:not(.is-searchable) > .Select-input {\n outline: none;\n}\n.Select-loading-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 16px;\n}\n.Select-loading {\n -webkit-animation: Select-animation-spin 400ms infinite linear;\n animation: Select-animation-spin 400ms infinite linear;\n width: 16px;\n height: 16px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n border-radius: 50%;\n border: 2px solid #ccc;\n border-right-color: #333;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n.Select-clear-zone {\n -webkit-animation: Select-animation-fadeIn 200ms;\n animation: Select-animation-fadeIn 200ms;\n color: #999;\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 17px;\n}\n.Select-clear-zone:hover {\n color: #D0021B;\n}\n.Select-clear {\n display: inline-block;\n font-size: 18px;\n line-height: 1;\n}\n.Select--multi .Select-clear-zone {\n width: 17px;\n}\n.Select-arrow-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 25px;\n padding-right: 5px;\n}\n.Select--rtl .Select-arrow-zone {\n padding-right: 0;\n padding-left: 5px;\n}\n.Select-arrow {\n border-color: #999 transparent transparent;\n border-style: solid;\n border-width: 5px 5px 2.5px;\n display: inline-block;\n height: 0;\n width: 0;\n position: relative;\n}\n.Select-control > *:last-child {\n padding-right: 5px;\n}\n.Select--multi .Select-multi-value-wrapper {\n display: inline-block;\n}\n.Select .Select-aria-only {\n position: absolute;\n display: inline-block;\n height: 1px;\n width: 1px;\n margin: -1px;\n clip: rect(0, 0, 0, 0);\n overflow: hidden;\n float: left;\n}\n@-webkit-keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.Select-menu-outer {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n background-color: #fff;\n border: 1px solid #ccc;\n border-top-color: #e6e6e6;\n -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin-top: -1px;\n max-height: 200px;\n position: absolute;\n left: 0;\n top: 100%;\n width: 100%;\n z-index: 1;\n -webkit-overflow-scrolling: touch;\n}\n.Select-menu {\n max-height: 198px;\n overflow-y: auto;\n}\n.Select-option {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n background-color: #fff;\n color: #666666;\n cursor: pointer;\n display: block;\n padding: 8px 10px;\n}\n.Select-option:last-child {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.Select-option.is-selected {\n background-color: #f5faff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.04);\n color: #333;\n}\n.Select-option.is-focused {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n color: #333;\n}\n.Select-option.is-disabled {\n color: #cccccc;\n cursor: default;\n}\n.Select-noresults {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #999999;\n cursor: default;\n display: block;\n padding: 8px 10px;\n}\n.Select--multi .Select-input {\n vertical-align: middle;\n margin-left: 10px;\n padding: 0;\n}\n.Select--multi.Select--rtl .Select-input {\n margin-left: 0;\n margin-right: 10px;\n}\n.Select--multi.has-value .Select-input {\n margin-left: 5px;\n}\n.Select--multi .Select-value {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n border-radius: 2px;\n border: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border: 1px solid rgba(0, 126, 255, 0.24);\n color: #007eff;\n display: inline-block;\n font-size: 0.9em;\n line-height: 1.4;\n margin-left: 5px;\n margin-top: 5px;\n vertical-align: top;\n}\n.Select--multi .Select-value-icon,\n.Select--multi .Select-value-label {\n display: inline-block;\n vertical-align: middle;\n}\n.Select--multi .Select-value-label {\n border-bottom-right-radius: 2px;\n border-top-right-radius: 2px;\n cursor: default;\n padding: 2px 5px;\n}\n.Select--multi a.Select-value-label {\n color: #007eff;\n cursor: pointer;\n text-decoration: none;\n}\n.Select--multi a.Select-value-label:hover {\n text-decoration: underline;\n}\n.Select--multi .Select-value-icon {\n cursor: pointer;\n border-bottom-left-radius: 2px;\n border-top-left-radius: 2px;\n border-right: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-right: 1px solid rgba(0, 126, 255, 0.24);\n padding: 1px 5px 3px;\n}\n.Select--multi .Select-value-icon:hover,\n.Select--multi .Select-value-icon:focus {\n background-color: #d8eafd;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 113, 230, 0.08);\n color: #0071e6;\n}\n.Select--multi .Select-value-icon:active {\n background-color: #c2e0ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.24);\n}\n.Select--multi.Select--rtl .Select-value {\n margin-left: 0;\n margin-right: 5px;\n}\n.Select--multi.Select--rtl .Select-value-icon {\n border-right: none;\n border-left: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-left: 1px solid rgba(0, 126, 255, 0.24);\n}\n.Select--multi.is-disabled .Select-value {\n background-color: #fcfcfc;\n border: 1px solid #e3e3e3;\n color: #333;\n}\n.Select--multi.is-disabled .Select-value-icon {\n cursor: not-allowed;\n border-right: 1px solid #e3e3e3;\n}\n.Select--multi.is-disabled .Select-value-icon:hover,\n.Select--multi.is-disabled .Select-value-icon:focus,\n.Select--multi.is-disabled .Select-value-icon:active {\n background-color: #fcfcfc;\n}\n@keyframes Select-animation-spin {\n to {\n -webkit-transform: rotate(1turn);\n transform: rotate(1turn);\n }\n}\n@-webkit-keyframes Select-animation-spin {\n to {\n -webkit-transform: rotate(1turn);\n }\n}\n",""])},function(e,t){e.exports=function(e){var t="undefined"!==typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!==typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,r){var n=r(183);"string"===typeof n&&(n=[[e.i,n,""]]);var i={transform:void 0};r(54)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(53)(void 0),t.push([e.i,".rc-slider {\n position: relative;\n height: 14px;\n padding: 5px 0;\n width: 100%;\n border-radius: 6px;\n -ms-touch-action: none;\n touch-action: none;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.rc-slider * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.rc-slider-rail {\n position: absolute;\n width: 100%;\n background-color: #e9e9e9;\n height: 4px;\n border-radius: 6px;\n}\n.rc-slider-track {\n position: absolute;\n left: 0;\n height: 4px;\n border-radius: 6px;\n background-color: #abe2fb;\n}\n.rc-slider-handle {\n position: absolute;\n margin-left: -7px;\n margin-top: -5px;\n width: 14px;\n height: 14px;\n cursor: pointer;\n cursor: -webkit-grab;\n cursor: grab;\n border-radius: 50%;\n border: solid 2px #96dbfa;\n background-color: #fff;\n -ms-touch-action: pan-x;\n touch-action: pan-x;\n}\n.rc-slider-handle:focus {\n border-color: #57c5f7;\n -webkit-box-shadow: 0 0 0 5px #96dbfa;\n box-shadow: 0 0 0 5px #96dbfa;\n outline: none;\n}\n.rc-slider-handle-click-focused:focus {\n border-color: #96dbfa;\n -webkit-box-shadow: unset;\n box-shadow: unset;\n}\n.rc-slider-handle:hover {\n border-color: #57c5f7;\n}\n.rc-slider-handle:active {\n border-color: #57c5f7;\n -webkit-box-shadow: 0 0 5px #57c5f7;\n box-shadow: 0 0 5px #57c5f7;\n cursor: -webkit-grabbing;\n cursor: grabbing;\n}\n.rc-slider-mark {\n position: absolute;\n top: 18px;\n left: 0;\n width: 100%;\n font-size: 12px;\n}\n.rc-slider-mark-text {\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n color: #999;\n}\n.rc-slider-mark-text-active {\n color: #666;\n}\n.rc-slider-step {\n position: absolute;\n width: 100%;\n height: 4px;\n background: transparent;\n}\n.rc-slider-dot {\n position: absolute;\n bottom: -2px;\n margin-left: -4px;\n width: 8px;\n height: 8px;\n border: 2px solid #e9e9e9;\n background-color: #fff;\n cursor: pointer;\n border-radius: 50%;\n vertical-align: middle;\n}\n.rc-slider-dot-active {\n border-color: #96dbfa;\n}\n.rc-slider-disabled {\n background-color: #e9e9e9;\n}\n.rc-slider-disabled .rc-slider-track {\n background-color: #ccc;\n}\n.rc-slider-disabled .rc-slider-handle,\n.rc-slider-disabled .rc-slider-dot {\n border-color: #ccc;\n -webkit-box-shadow: none;\n box-shadow: none;\n background-color: #fff;\n cursor: not-allowed;\n}\n.rc-slider-disabled .rc-slider-mark-text,\n.rc-slider-disabled .rc-slider-dot {\n cursor: not-allowed !important;\n}\n.rc-slider-vertical {\n width: 14px;\n height: 100%;\n padding: 0 5px;\n}\n.rc-slider-vertical .rc-slider-rail {\n height: 100%;\n width: 4px;\n}\n.rc-slider-vertical .rc-slider-track {\n left: 5px;\n bottom: 0;\n width: 4px;\n}\n.rc-slider-vertical .rc-slider-handle {\n margin-left: -5px;\n margin-bottom: -7px;\n -ms-touch-action: pan-y;\n touch-action: pan-y;\n}\n.rc-slider-vertical .rc-slider-mark {\n top: 0;\n left: 18px;\n height: 100%;\n}\n.rc-slider-vertical .rc-slider-step {\n height: 100%;\n width: 4px;\n}\n.rc-slider-vertical .rc-slider-dot {\n left: 2px;\n margin-bottom: -4px;\n}\n.rc-slider-vertical .rc-slider-dot:first-child {\n margin-bottom: -4px;\n}\n.rc-slider-vertical .rc-slider-dot:last-child {\n margin-bottom: -4px;\n}\n.rc-slider-tooltip-zoom-down-enter,\n.rc-slider-tooltip-zoom-down-appear {\n -webkit-animation-duration: .3s;\n animation-duration: .3s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n display: block !important;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n}\n.rc-slider-tooltip-zoom-down-leave {\n -webkit-animation-duration: .3s;\n animation-duration: .3s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n display: block !important;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n}\n.rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,\n.rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {\n -webkit-animation-name: rcSliderTooltipZoomDownIn;\n animation-name: rcSliderTooltipZoomDownIn;\n -webkit-animation-play-state: running;\n animation-play-state: running;\n}\n.rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {\n -webkit-animation-name: rcSliderTooltipZoomDownOut;\n animation-name: rcSliderTooltipZoomDownOut;\n -webkit-animation-play-state: running;\n animation-play-state: running;\n}\n.rc-slider-tooltip-zoom-down-enter,\n.rc-slider-tooltip-zoom-down-appear {\n -webkit-transform: scale(0, 0);\n -ms-transform: scale(0, 0);\n transform: scale(0, 0);\n -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.rc-slider-tooltip-zoom-down-leave {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@-webkit-keyframes rcSliderTooltipZoomDownIn {\n 0% {\n opacity: 0;\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n }\n 100% {\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(1, 1);\n transform: scale(1, 1);\n }\n}\n@keyframes rcSliderTooltipZoomDownIn {\n 0% {\n opacity: 0;\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n }\n 100% {\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(1, 1);\n transform: scale(1, 1);\n }\n}\n@-webkit-keyframes rcSliderTooltipZoomDownOut {\n 0% {\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(1, 1);\n transform: scale(1, 1);\n }\n 100% {\n opacity: 0;\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n }\n}\n@keyframes rcSliderTooltipZoomDownOut {\n 0% {\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(1, 1);\n transform: scale(1, 1);\n }\n 100% {\n opacity: 0;\n -webkit-transform-origin: 50% 100%;\n transform-origin: 50% 100%;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n }\n}\n.rc-slider-tooltip {\n position: absolute;\n left: -9999px;\n top: -9999px;\n visibility: visible;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.rc-slider-tooltip * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.rc-slider-tooltip-hidden {\n display: none;\n}\n.rc-slider-tooltip-placement-top {\n padding: 4px 0 8px 0;\n}\n.rc-slider-tooltip-inner {\n padding: 6px 2px;\n min-width: 24px;\n height: 24px;\n font-size: 12px;\n line-height: 1;\n color: #fff;\n text-align: center;\n text-decoration: none;\n background-color: #6c6c6c;\n border-radius: 6px;\n -webkit-box-shadow: 0 0 4px #d9d9d9;\n box-shadow: 0 0 4px #d9d9d9;\n}\n.rc-slider-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {\n bottom: 4px;\n left: 50%;\n margin-left: -4px;\n border-width: 4px 4px 0;\n border-top-color: #6c6c6c;\n}\n",""])},function(e,t,r){var n=r(185);"string"===typeof n&&(n=[[e.i,n,""]]);var i={transform:void 0};r(54)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(53)(void 0),t.push([e.i,'.colorscalePickerContainer {\n max-height: 550px;\n max-width: 700px;\n min-width: 295px;\n overflow-y: auto;\n overflow-x: hidden;\n background: rgba(242, 245, 250, 0.9);\n border: 1px solid #c8d4e3;\n position: absolute;\n z-index: 99;\n font-family: Helvetica, sans-serif;\n padding: 10px;\n resize: horizontal;\n text-align: left;\n}\n\n.colorscalePickerContainer::-webkit-scrollbar {\n width: 5px;\n background-color: #dfe8f3;\n}\n\n.colorscalePickerContainer::-webkit-scrollbar-thumb {\n background-color: #a2b1c6;\n}\n\n.colorscalePickerContainer::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);\n background-color: #dfe8f3;\n}\n\n.colorscalePickerContainer .textLabel {\n color: rgb(80, 103, 132);\n font-size: 12px;\n vertical-align: top;\n font-weight: 600;\n text-transform: uppercase;\n}\n\n.colorscalePickerContainer .spaceRight {\n margin-right: 5px;\n}\n.colorscalePickerContainer .spaceRightZeroTop {\n margin-right: 5px;\n margin-top: 0;\n}\n.colorscalePickerContainer .spaceLeft {\n margin-left: 5px;\n}\n.colorscalePickerContainer .spaceTop {\n margin-top: 5px;\n}\n.colorscalePickerContainer .alignMiddle {\n vertical-align: middle;\n}\n.colorscalePickerContainer .alignTop {\n vertical-align: top;\n}\n.colorscalePickerContainer .zeroSpace {\n margin: 0;\n}\n.colorscalePickerContainer .noWrap {\n white-space: nowrap;\n}\n.colorscalePickerContainer .inlineBlock {\n display: inline-block;\n}\n\n.colorscalePickerBottomContainer {\n padding: 10px 0;\n}\n\n.colorscaleDescription {\n font-size: 13px;\n color: #506784;\n border: 1px solid #c8d4e3;\n padding: 10px;\n border-radius: 2px;\n text-align: left;\n line-height: 1.4em;\n}\n\n.colorscaleControlPanel {\n display: block;\n padding: 10px;\n width: 80%;\n margin: 0 auto;\n}\n\n.colorscalePickerContainer input[type="range"] {\n width: 200px;\n}\n\n.colorscalePickerContainer input[type="number"] {\n vertical-align: top;\n margin-top: -4px;\n margin-right: 5px;\n}\n\n.colorscalePickerContainer input[type="text"] {\n text-align: center;\n font-size: 12px;\n width: 90%;\n margin-top: 5px;\n padding: 5px;\n border: 1px solid #dfe8f3;\n}\n\n.colorscaleControlsRow {\n margin-top: 20px;\n}\n\n.colorscaleControlsRow div {\n display: inline;\n}\n\n.colorscaleControlPanel .rc-slider-tooltip {\n opacity: 1;\n z-index: 999;\n font-family: Helvetica, sans-serif;\n}\n\n.colorscaleControlPanel .rc-slider-rail {\n background-color: #a2b1c6;\n}\n\n.Select.is-focused:not(.is-open) > .Select-control {\n border-color: #c8d4e3 !important;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n',""])}])}))},1529:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M28.438 15.188l-.563-6.938c1.063-1.063 1.313-2.75.625-4.125-.625-1.375-2.063-2.188-3.625-2.063-1.5.125-2.813 1.188-3.188 2.688l-3.438.125c-.938-1.5-2.75-2.188-4.438-1.563-1.688.563-2.688 2.313-2.375 4.063l-4.375 1.75C5.873 8 4.123 7.75 2.748 8.5a3.647 3.647 0 0 0-1.875 3.938c.25 1.563 1.563 2.75 3.125 3l2 6.938c-1 .938-1.313 2.313-.938 3.625s1.438 2.25 2.75 2.563c1.313.25 2.688-.188 3.563-1.188l5.125.875c.938 1.438 2.688 2.063 4.313 1.5s2.688-2.188 2.438-3.938l3.625-3.438c1.938.375 3.875-.938 4.25-2.875.438-1.938-.75-3.875-2.688-4.313zm-3.375 6.25l-2.625 2.5c-.938-1.188-2.563-1.625-4-1.125-1.5.5-2.5 1.813-2.5 3.375l-3.75-.625a3.65 3.65 0 0 0-1.125-3.25c-.938-.875-2.188-1.188-3.375-.875l-1.75-6.313c1.688-.688 2.563-2.563 2.063-4.313l4.25-1.688a3.725 3.725 0 0 0 4.063 1.125c1.5-.563 2.438-1.938 2.438-3.5l2.875-.063c.5 1.875 2.438 3.063 4.375 2.625l.5 5.875c-1.313.375-2.25 1.438-2.563 2.75-.313 1.25.125 2.625 1.125 3.5z"}))};t.default=u},1540:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=u(o),s=r("d7bc"),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},v=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],m=function(e){return v.forEach((function(t){return delete e[t]})),e},g=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},y=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),b=function(){return y?"_"+Math.random().toString(36).substr(2,12):void 0},x=function(e){function t(e){f(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.inputRef=function(e){r.input=e,"function"===typeof r.props.inputRef&&r.props.inputRef(e)},r.placeHolderSizerRef=function(e){r.placeHolderSizer=e},r.sizerRef=function(e){r.sizer=e},r.state={inputWidth:e.minWidth,inputId:e.id||b()},r}return d(t,e),i(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||b()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(g(e,this.sizer),this.placeHolderSizer&&g(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!==typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2;var t="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0;e+=t,e<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return y&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&void 0!==e?e:t})),t=n({},this.props.style);t.display||(t.display="inline-block");var r=n({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=c(this.props,[]);return m(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=r,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",n({},i,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:h},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:h},this.props.placeholder):null)}}]),t}(o.Component);x.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},x.defaultProps={minWidth:1,injectStyles:!0},t.default=x},"158b":function(e,t,r){"use strict";e.exports=s;var n=r("8e58"),i=n("lo<p0",["p0"]),o=8;function a(e,t,r,n,i,o){for(var a=2*e,s=a*(r+1)+t,l=r+1;l<n;++l,s+=a)for(var u=i[s],c=l,f=a*(l-1);c>r&&i[f+t]>u;--c,f-=a){for(var p=f,d=f+a,h=0;h<a;++h,++p,++d){var v=i[p];i[p]=i[d],i[d]=v}var m=o[c];o[c]=o[c-1],o[c-1]=m}}function s(e,t,r,n,s,l){if(n<=r+1)return r;var u=r,c=n,f=n+r>>>1,p=2*e,d=f,h=s[p*f+t];while(u<c){if(c-u<o){a(e,t,u,c,s,l),h=s[p*f+t];break}var v=c-u,m=Math.random()*v+u|0,g=s[p*m+t],y=Math.random()*v+u|0,b=s[p*y+t],x=Math.random()*v+u|0,A=s[p*x+t];g<=b?A>=b?(d=y,h=b):g>=A?(d=m,h=g):(d=x,h=A):b>=A?(d=y,h=b):A>=g?(d=m,h=g):(d=x,h=A);for(var w=p*(c-1),_=p*d,E=0;E<p;++E,++w,++_){var k=s[w];s[w]=s[_],s[_]=k}var T=l[c-1];l[c-1]=l[d],l[d]=T,d=i(e,t,u,c-1,s,l,h);for(w=p*(c-1),_=p*d,E=0;E<p;++E,++w,++_){k=s[w];s[w]=s[_],s[_]=k}T=l[c-1];if(l[c-1]=l[d],l[d]=T,f<d){c=d-1;while(u<c&&s[p*(c-1)+t]===h)c-=1;c+=1}else{if(!(d<f))break;u=d+1;while(u<c&&s[p*u+t]===h)u+=1}}return i(e,t,r,f,s,l,s[p*f+t])}},1590:function(e,t,r){"use strict";var n=r("40c0"),i=r("4274"),o=r("0435"),a=r("a876"),s=r("94d5").hovertemplateAttrs,l=r("f4e9"),u=r("9092").extendFlat;e.exports=u({x:n.x,y:n.y,z:{valType:"data_array",editType:"calc",description:"Sets the aggregation data."},marker:{color:{valType:"data_array",editType:"calc",description:"Sets the aggregation data."},editType:"calc"},histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:i("x"),nbinsy:n.nbinsy,ybins:i("y"),autobinx:n.autobinx,autobiny:n.autobiny,bingroup:u({},n.bingroup,{description:["Set the `xbingroup` and `ybingroup` default prefix","For example, setting a `bingroup` of *1* on two histogram2d traces","will make them their x-bins and y-bins match separately."].join(" ")}),xbingroup:u({},n.bingroup,{description:["Set a group of histogram traces which will have compatible x-bin settings.","Using `xbingroup`, histogram2d and histogram2dcontour traces ","(on axes of the same axis type) can have compatible x-bin settings.","Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup`"].join(" ")}),ybingroup:u({},n.bingroup,{description:["Set a group of histogram traces which will have compatible y-bin settings.","Using `ybingroup`, histogram2d and histogram2dcontour traces ","(on axes of the same axis type) can have compatible y-bin settings.","Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup`"].join(" ")}),xgap:o.xgap,ygap:o.ygap,zsmooth:o.zsmooth,zhoverformat:o.zhoverformat,hovertemplate:s({},{keys:"z"}),showlegend:u({},a.showlegend,{dflt:!1})},l("",{cLetter:"z",autoColorDflt:!1}))},"159b":function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("17c2"),a=r("9112");for(var s in i){var l=n[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(c){u.forEach=o}}},"15c2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M30.313 18.375l-2.375-2.188-4.438-11.5 1.063-1.375 4.063 7.563zm-12.5 5.188l-10.25-7L11.001 5h11.875l4.375 11.25zM24 2.938l-1.063 1.375H10.812l-3-1.625 7.75-.938zm-17.125 0l3.438 1.875-3.375 11.688-5.313 2.875v-7.813zM1.75 20.063l5.438-2.938 10.313 7-.938 6.125-9.313-2.563zm22.75 7l-7.25 3.063.875-5.938 9.5-7.375 2.75 2.563z"}))};t.default=u},"15c3":function(e,t,r){"use strict";e.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},"15dd":function(e,t,r){"use strict";e.exports=g;var n=r("4ffa"),i=r("1767"),o=r("a4f3"),a=r("1417"),s=r("ed2e"),l=r("6259"),u=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),c=new Float32Array(16);function f(e,t,r){this.lo=e,this.hi=t,this.pixelsPerDataUnit=r}var p=[0,0,0,1],d=[0,0,0,1];function h(e,t,r,n,i){for(var o=0;o<3;++o){for(var a=p,s=d,u=0;u<3;++u)s[u]=a[u]=r[u];s[3]=a[3]=1,s[o]+=1,l(s,s,t),s[3]<0&&(e[o]=1/0),a[o]-=1,l(a,a,t),a[3]<0&&(e[o]=1/0);var c=(a[0]/a[3]-s[0]/s[3])*n,f=(a[1]/a[3]-s[1]/s[3])*i;e[o]=.25*Math.sqrt(c*c+f*f)}return e}var v=[new f(1/0,-1/0,1/0),new f(1/0,-1/0,1/0),new f(1/0,-1/0,1/0)],m=[0,0,0];function g(e,t,r,l,f){var p=t.model||u,d=t.view||u,g=t.projection||u,y=t._ortho||!1,b=e.bounds,x=(f=f||o(p,d,g,b,y),f.axis);a(c,d,p),a(c,g,c);for(var A=v,w=0;w<3;++w)A[w].lo=1/0,A[w].hi=-1/0,A[w].pixelsPerDataUnit=1/0;var _=n(s(c,c));s(c,c);for(var E=0;E<3;++E){var k=(E+1)%3,T=(E+2)%3,C=m;e:for(w=0;w<2;++w){var S=[];if(x[E]<0!==!!w){C[E]=b[w][E];for(var O=0;O<2;++O){C[k]=b[O^w][k];for(var M=0;M<2;++M)C[T]=b[M^O^w][T],S.push(C.slice())}var P=y?5:4;for(O=P;O===P;++O){if(0===S.length)continue e;S=i.positive(S,_[O])}for(O=0;O<S.length;++O){T=S[O];var B=h(m,c,T,r,l);for(M=0;M<3;++M)A[M].lo=Math.min(A[M].lo,T[M]),A[M].hi=Math.max(A[M].hi,T[M]),M!==E&&(A[M].pixelsPerDataUnit=Math.min(A[M].pixelsPerDataUnit,Math.abs(B[M])))}}}}return A}},1676:function(e,t,r){"use strict";var n=r("f9d8"),i=r("7388"),o=["xyz","xzy","yxz","yzx","zxy","zyx"],a=function(e,t,r,o){for(var a=e.points,s=e.velocities,l=e.divergences,u=[],c=[],f=[],p=[],d=[],h=[],v=0,m=0,g=i.create(),y=i.create(),b=8,x=0;x<a.length;x++){var A=a[x],w=s[x],_=l[x];0===t&&(_=.05*r),m=n.length(w)/o,g=i.create(),n.copy(g,w),g[3]=_;for(var E=0;E<b;E++)d[E]=[A[0],A[1],A[2],E];if(p.length>0)for(E=0;E<b;E++){var k=(E+1)%b;u.push(p[E],d[E],d[k],d[k],p[k],p[E]),f.push(y,g,g,g,y,y),h.push(v,m,m,m,v,v);var T=u.length;c.push([T-6,T-5,T-4],[T-3,T-2,T-1])}var C=p;p=d,d=C;var S=y;y=g,g=S;var O=v;v=m,m=O}return{positions:u,cells:c,vectors:f,vertexIntensity:h}},s=function(e,t,r,i){for(var o=0,s=0;s<e.length;s++)for(var l=e[s].velocities,u=0;u<l.length;u++)o=Math.max(o,n.length(l[u]));var c=e.map((function(e){return a(e,r,i,o)})),f=[],p=[],d=[],h=[];for(s=0;s<c.length;s++){var v=c[s],m=f.length;f=f.concat(v.positions),d=d.concat(v.vectors),h=h.concat(v.vertexIntensity);for(u=0;u<v.cells.length;u++){var g=v.cells[u],y=[];p.push(y);for(var b=0;b<g.length;b++)y.push(g[b]+m)}}return{positions:f,cells:p,vectors:d,vertexIntensity:h,colormap:t}},l=function(e,t){var r,n=e.length;for(r=0;r<n;r++){var i=e[r];if(i===t)return r;if(i>t)return r-1}return r},u=function(e,t,r){return e<t?t:e>r?r:e},c=function(e,t,r){var i=t.vectors,o=t.meshgrid,a=e[0],s=e[1],c=e[2],f=o[0].length,p=o[1].length,d=o[2].length,h=l(o[0],a),v=l(o[1],s),m=l(o[2],c),g=h+1,y=v+1,b=m+1;if(h=u(h,0,f-1),g=u(g,0,f-1),v=u(v,0,p-1),y=u(y,0,p-1),m=u(m,0,d-1),b=u(b,0,d-1),h<0||v<0||m<0||g>f-1||y>p-1||b>d-1)return n.create();var x,A,w,_,E,k,T=o[0][h],C=o[0][g],S=o[1][v],O=o[1][y],M=o[2][m],P=o[2][b],B=(a-T)/(C-T),L=(s-S)/(O-S),D=(c-M)/(P-M);switch(isFinite(B)||(B=.5),isFinite(L)||(L=.5),isFinite(D)||(D=.5),r.reversedX&&(h=f-1-h,g=f-1-g),r.reversedY&&(v=p-1-v,y=p-1-y),r.reversedZ&&(m=d-1-m,b=d-1-b),r.filled){case 5:E=m,k=b,w=v*d,_=y*d,x=h*d*p,A=g*d*p;break;case 4:E=m,k=b,x=h*d,A=g*d,w=v*d*f,_=y*d*f;break;case 3:w=v,_=y,E=m*p,k=b*p,x=h*p*d,A=g*p*d;break;case 2:w=v,_=y,x=h*p,A=g*p,E=m*p*f,k=b*p*f;break;case 1:x=h,A=g,E=m*f,k=b*f,w=v*f*d,_=y*f*d;break;default:x=h,A=g,w=v*f,_=y*f,E=m*f*p,k=b*f*p;break}var I=i[x+w+E],j=i[x+w+k],R=i[x+_+E],F=i[x+_+k],N=i[A+w+E],z=i[A+w+k],U=i[A+_+E],H=i[A+_+k],V=n.create(),Q=n.create(),W=n.create(),K=n.create();n.lerp(V,I,N,B),n.lerp(Q,j,z,B),n.lerp(W,R,U,B),n.lerp(K,F,H,B);var q=n.create(),G=n.create();n.lerp(q,V,W,L),n.lerp(G,Q,K,L);var $=n.create();return n.lerp($,q,G,D),$},f=function(e){var t=1/0;e.sort((function(e,t){return e-t}));for(var r=e.length,n=1;n<r;n++){var i=Math.abs(e[n]-e[n-1]);i<t&&(t=i)}return t},p=function(e){for(var t=[],r=[],n=[],i={},o={},a={},s=e.length,l=0;l<s;l++){var u=e[l],c=u[0],p=u[1],d=u[2];i[c]||(t.push(c),i[c]=!0),o[p]||(r.push(p),o[p]=!0),a[d]||(n.push(d),a[d]=!0)}var h=f(t),v=f(r),m=f(n),g=Math.min(h,v,m);return isFinite(g)?g:1};e.exports=function(e,t){var r=e.startingPositions,i=e.maxLength||1e3,a=e.tubeSize||1,l=e.absoluteTubeSize,u=e.gridFill||"+x+y+z",f={};-1!==u.indexOf("-x")&&(f.reversedX=!0),-1!==u.indexOf("-y")&&(f.reversedY=!0),-1!==u.indexOf("-z")&&(f.reversedZ=!0),f.filled=o.indexOf(u.replace(/-/g,"").replace(/\+/g,""));var d=e.getVelocity||function(t){return c(t,e,f)},h=e.getDivergence||function(e,t){var r=n.create(),i=1e-4;n.add(r,e,[i,0,0]);var o=d(r);n.subtract(o,o,t),n.scale(o,o,1/i),n.add(r,e,[0,i,0]);var a=d(r);n.subtract(a,a,t),n.scale(a,a,1/i),n.add(r,e,[0,0,i]);var s=d(r);return n.subtract(s,s,t),n.scale(s,s,1/i),n.add(r,o,a),n.add(r,r,s),r},v=[],m=t[0][0],g=t[0][1],y=t[0][2],b=t[1][0],x=t[1][1],A=t[1][2],w=function(e){var t=e[0],r=e[1],n=e[2];return!(t<m||t>b||r<g||r>x||n<y||n>A)},_=n.distance(t[0],t[1]),E=10*_/i,k=E*E,T=1,C=0,S=r.length;S>1&&(T=p(r));for(var O=0;O<S;O++){var M=n.create();n.copy(M,r[O]);var P=[M],B=[],L=d(M),D=M;B.push(L);var I=[],j=h(M,L),R=n.length(j);isFinite(R)&&R>C&&(C=R),I.push(R),v.push({points:P,velocities:B,divergences:I});var F=0;while(F<100*i&&P.length<i&&w(M)){F++;var N=n.clone(L),z=n.squaredLength(N);if(0===z)break;if(z>k&&n.scale(N,N,E/Math.sqrt(z)),n.add(N,N,M),L=d(N),n.squaredDistance(D,N)-k>-1e-4*k){P.push(N),D=N,B.push(L);j=h(N,L),R=n.length(j);isFinite(R)&&R>C&&(C=R),I.push(R)}M=N}}var U=s(v,e.colormap,C,T);return l?U.tubeScale=l:(0===C&&(C=1),U.tubeScale=.5*a*T/C),U};var d=r("aee4"),h=r("2969").createMesh;e.exports.createTubeMesh=function(e,t){return h(e,t,{shaders:d,traceType:"streamtube"})}},"16ef":function(e,t,r){"use strict";e.exports={attributes:r("7c39"),layoutAttributes:r("36fc"),supplyDefaults:r("49d8"),crossTraceDefaults:r("abc9").crossTraceDefaults,supplyLayoutDefaults:r("870c"),calc:r("b8c0"),crossTraceCalc:r("e9d4"),plot:r("8298"),style:r("c451"),styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("ca92"),selectPoints:r("71b1"),moduleType:"trace",name:"violin",basePlotModule:r("91cd"),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","violinLayout","zoomScale"],meta:{description:["In vertical (horizontal) violin plots,","statistics are computed using `y` (`x`) values.","By supplying an `x` (`y`) array, one violin per distinct x (y) value","is drawn","If no `x` (`y`) {array} is provided, a single violin is drawn.","That violin position is then positioned with","with `name` or with `x0` (`y0`) if provided."].join(" ")}}},1729:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115");e.exports=function(e,t,r,o){o("opacity");var a=o("bgcolor"),s=o("bordercolor"),l=i.opacity(s);o("borderpad");var u=o("borderwidth"),c=o("showarrow");o("text",c?" ":r._dfltTitle.annotation),o("textangle"),n.coerceFont(o,"font",r.font),o("width"),o("align");var f=o("height");if(f&&o("valign"),c){var p,d,h=o("arrowside");-1!==h.indexOf("end")&&(p=o("arrowhead"),d=o("arrowsize")),-1!==h.indexOf("start")&&(o("startarrowhead",p),o("startarrowsize",d)),o("arrowcolor",l?t.bordercolor:i.defaultLine),o("arrowwidth",2*(l&&u||1)),o("standoff"),o("startstandoff")}var v=o("hovertext"),m=r.hoverlabel||{};if(v){var g=o("hoverlabel.bgcolor",m.bgcolor||(i.opacity(a)?i.rgb(a):i.defaultLine)),y=o("hoverlabel.bordercolor",m.bordercolor||i.contrast(g));n.coerceFont(o,"hoverlabel.font",{family:m.font.family,size:m.font.size,color:m.font.color||y})}o("captureevents",!!v)}},1735:function(e,t,r){"use strict";e.exports={attributes:r("02ea"),supplyDefaults:r("2ff0").supplyDefaults,colorbar:{min:"cmin",max:"cmax"},calc:r("0054"),plot:r("baab"),moduleType:"trace",name:"surface",basePlotModule:r("134c"),categories:["gl3d","2dMap","showLegend"],meta:{description:["The data the describes the coordinates of the surface is set in `z`.","Data in `z` should be a {2D array}.","Coordinates in `x` and `y` can either be 1D {arrays}","or {2D arrays} (e.g. to graph parametric surfaces).","If not provided in `x` and `y`, the x and y coordinates are assumed","to be linear starting at 0 with a unit step.","The color scale corresponds to the `z` values by default.","For custom color scales, use `surfacecolor` which should be a {2D array},","where its bounds can be controlled using `cmin` and `cmax`."].join(" ")}}},"174f":function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument?e.ownerDocument:document}e.exports=n},"175e":function(e,t,r){"use strict";function n(e,t){for(var r=1,n=e.length,i=e[0],o=e[0],a=1;a<n;++a)if(o=i,i=e[a],t(i,o)){if(a===r){r++;continue}e[r++]=i}return e.length=r,e}function i(e){for(var t=1,r=e.length,n=e[0],i=e[0],o=1;o<r;++o,i=n)if(i=n,n=e[o],n!==i){if(o===t){t++;continue}e[t++]=n}return e.length=t,e}function o(e,t,r){return 0===e.length?e:t?(r||e.sort(t),n(e,t)):(r||e.sort(),i(e))}e.exports=o},1767:function(e,t,r){"use strict";var n=r("cbeb"),i=r("a026");function o(e,t){var r=i(n(e,t),[t[t.length-1]]);return r[r.length-1]}function a(e,t,r,n){var i=n-t,o=-t/i;o<0?o=0:o>1&&(o=1);for(var a=1-o,s=e.length,l=new Array(s),u=0;u<s;++u)l[u]=o*e[u]+a*r[u];return l}function s(e,t){for(var r=[],n=[],i=o(e[e.length-1],t),s=e[e.length-1],l=e[0],u=0;u<e.length;++u,s=l){l=e[u];var c=o(l,t);if(i<0&&c>0||i>0&&c<0){var f=a(s,c,l,i);r.push(f),n.push(f.slice())}c<0?n.push(l.slice()):c>0?r.push(l.slice()):(r.push(l.slice()),n.push(l.slice())),i=c}return{positive:r,negative:n}}function l(e,t){for(var r=[],n=o(e[e.length-1],t),i=e[e.length-1],s=e[0],l=0;l<e.length;++l,i=s){s=e[l];var u=o(s,t);(n<0&&u>0||n>0&&u<0)&&r.push(a(i,u,s,n)),u>=0&&r.push(s.slice()),n=u}return r}function u(e,t){for(var r=[],n=o(e[e.length-1],t),i=e[e.length-1],s=e[0],l=0;l<e.length;++l,i=s){s=e[l];var u=o(s,t);(n<0&&u>0||n>0&&u<0)&&r.push(a(i,u,s,n)),u<=0&&r.push(s.slice()),n=u}return r}e.exports=s,e.exports.positive=l,e.exports.negative=u},"178d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findLinkEntities=void 0;var n=r("bfcd"),i=function(e){var t=e.getEntity();if(null===t)return!1;var r=n.Entity.get(t);return"LINK"===r.getType()},o=function(e,t){e.findEntityRanges(i,t)};t.findLinkEntities=o},1793:function(e,t,r){"use strict";var n=r("6321"),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!n(e)&&!i.test(o.call(e))}},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,i=r("a640"),o=r("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"182a":function(e,t,r){"use strict";var n=r("ad62").getModuleCalcData,i=r("26dd"),o="table";t.name=o,t.plot=function(e){var t=n(e.calcdata,o)[0];t.length&&i(e,t)},t.clean=function(e,t,r,n){var i=n._has&&n._has(o),a=t._has&&t._has(o);i&&!a&&n._paperdiv.selectAll(".table").remove()}},1838:function(e,t,r){var n=r("c05f"),i=r("9b02"),o=r("8604"),a=r("f608"),s=r("08cc"),l=r("20ec"),u=r("f4d6"),c=1,f=2;function p(e,t){return a(e)&&s(t)?l(u(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,c|f)}}e.exports=p},1876:function(e,t,r){"use strict";var n=r("2441"),i=r("371e"),o=r("83d1").dashStyle,a=r("d115"),s=r("a5c4"),l=r("c4c7").makeEventData,u=r("e21b"),c=u.freeMode,f=u.rectMode,p=u.drawMode,d=u.openMode,h=u.selectMode,v=r("ca64"),m=r("b34d").handleEllipse,g=r("3b24"),y=r("fc26"),b=r("b68b"),x=r("7df2"),A=r("3c1c").getFromId,w=r("821b"),_=r("a392").redrawReglTraces,E=r("d301"),k=E.MINSELECT,T=b.filter,C=b.tester,S=r("e947").clearSelect,O=r("ac33"),M=O.p2r,P=O.axValue,B=O.getTransform;function L(e,t,r,n,i){var l=c(i),u=f(i),g=d(i),b=p(i),A=h(i),w="drawline"===i,_="drawcircle"===i,S=w||_,O=n.gd,L=O._fullLayout,I=L._zoomlayer,j=n.element.getBoundingClientRect(),R=n.plotinfo,H=B(R),V=t-j.left,Q=r-j.top;L._calcInverseTransform(O);var W=y.apply3DTransform(L._invTransform)(V,Q);V=W[0],Q=W[1];var K,X,Z,J,ee,te,re,ne=L._invScaleX,ie=L._invScaleY,oe=V,ae=Q,se="M"+V+","+Q,le=n.xaxes[0]._length,ue=n.yaxes[0]._length,ce=n.xaxes.concat(n.yaxes),fe=e.altKey&&!(p(i)&&g);N(e,O,n),l&&(K=T([[V,Q]],E.BENDPX));var pe=I.selectAll("path.select-outline-"+R.id).data(b?[0]:[1,2]),de=L.newshape;pe.enter().append("path").attr("class",(function(e){return"select-outline select-outline-"+e+" select-outline-"+R.id})).style(b?{opacity:de.opacity/2,fill:g?void 0:de.fillcolor,stroke:de.line.color,"stroke-dasharray":o(de.line.dash,de.line.width),"stroke-width":de.line.width+"px"}:{}).attr("fill-rule",de.fillrule).classed("cursor-move",!!b).attr("transform",H).attr("d",se+"Z");var he,ve=I.append("path").attr("class","zoombox-corners").style({fill:a.background,stroke:a.defaultLine,"stroke-width":1}).attr("transform",H).attr("d","M0,0Z"),me=L._uid+E.SELECTID,ge=[],ye=U(O,n.xaxes,n.yaxes,n.subplot);function be(e,t){return e-t}he=R.fillRangeItems?R.fillRangeItems:u?function(e,t){var r=e.range={};for(ee=0;ee<ce.length;ee++){var n=ce[ee],i=n._id.charAt(0);r[n._id]=[M(n,t[i+"min"]),M(n,t[i+"max"])].sort(be)}}:function(e,t,r){var n=e.lassoPoints={};for(ee=0;ee<ce.length;ee++){var i=ce[ee];n[i._id]=r.filtered.map(P(i))}},n.moveFn=function(e,t){oe=Math.max(0,Math.min(le,ne*e+V)),ae=Math.max(0,Math.min(ue,ie*t+Q));var r=Math.abs(oe-V),i=Math.abs(ae-Q);if(u){var o,a,s;if(A){var c=L.selectdirection;switch(o="any"===c?i<Math.min(.6*r,k)?"h":r<Math.min(.6*i,k)?"v":"d":c,o){case"h":a=_?ue/2:0,s=ue;break;case"v":a=_?le/2:0,s=le;break}}if(b)switch(L.newshape.drawdirection){case"vertical":o="h",a=_?ue/2:0,s=ue;break;case"horizontal":o="v",a=_?le/2:0,s=le;break;case"ortho":r<i?(o="h",a=Q,s=ae):(o="v",a=V,s=oe);break;default:o="d"}"h"===o?(J=S?m(_,[oe,a],[oe,s]):[[V,a],[V,s],[oe,s],[oe,a]],J.xmin=S?oe:Math.min(V,oe),J.xmax=S?oe:Math.max(V,oe),J.ymin=Math.min(a,s),J.ymax=Math.max(a,s),ve.attr("d","M"+J.xmin+","+(Q-k)+"h-4v"+2*k+"h4ZM"+(J.xmax-1)+","+(Q-k)+"h4v"+2*k+"h-4Z")):"v"===o?(J=S?m(_,[a,ae],[s,ae]):[[a,Q],[a,ae],[s,ae],[s,Q]],J.xmin=Math.min(a,s),J.xmax=Math.max(a,s),J.ymin=S?ae:Math.min(Q,ae),J.ymax=S?ae:Math.max(Q,ae),ve.attr("d","M"+(V-k)+","+J.ymin+"v-4h"+2*k+"v4ZM"+(V-k)+","+(J.ymax-1)+"v4h"+2*k+"v-4Z")):"d"===o&&(J=S?m(_,[V,Q],[oe,ae]):[[V,Q],[V,ae],[oe,ae],[oe,Q]],J.xmin=Math.min(V,oe),J.xmax=Math.max(V,oe),J.ymin=Math.min(Q,ae),J.ymax=Math.max(Q,ae),ve.attr("d","M0,0Z"))}else l&&(K.addPt([oe,ae]),J=K.filtered);n.selectionDefs&&n.selectionDefs.length?(Z=G(n.mergedPolygons,J,fe),J.subtract=fe,X=F(n.selectionDefs.concat([J]))):(Z=[J],X=C(J)),v(Y(Z,g),pe,n),A&&x.throttle(me,E.SELECTDELAY,(function(){var e;ge=[];var t,r=[];for(ee=0;ee<ye.length;ee++)if(te=ye[ee],t=te._module.selectPoints(te,X),r.push(t),e=$(t,te),ge.length)for(var i=0;i<e.length;i++)ge.push(e[i]);else ge=e;re={points:ge},q(O,ye,re),he(re,J,K),n.gd.emit("plotly_selecting",re)}))},n.clickFn=function(e,t){if(ve.remove(),O._fullLayout._activeShapeIndex>=0)O._fullLayout._deactivateShape(O);else if(!b){var r=L.clickmode;x.done(me).then((function(){if(x.clear(me),2===e){for(pe.remove(),ee=0;ee<ye.length;ee++)te=ye[ee],te._module.selectPoints(te,!1);q(O,ye),z(n),O.emit("plotly_deselect",null)}else r.indexOf("select")>-1&&D(t,O,n.xaxes,n.yaxes,n.subplot,n,pe),"event"===r&&O.emit("plotly_selected",void 0);s.click(O,t)})).catch(y.error)}},n.doneFn=function(){ve.remove(),x.done(me).then((function(){x.clear(me),n.gd.emit("plotly_selected",re),J&&n.selectionDefs&&(J.subtract=fe,n.selectionDefs.push(J),n.mergedPolygons.length=0,[].push.apply(n.mergedPolygons,Z)),n.doneFnCompleted&&n.doneFnCompleted(ge)})).catch(y.error),b&&z(n)}}function D(e,t,r,n,i,o,a){var s,l,u,c,f,p,h,m,g,y,b=t._hoverdata,x=t._fullLayout,A=x.clickmode,w=A.indexOf("event")>-1,_=[];if(H(b)){N(e,t,o),s=U(t,r,n,i);var E=V(b,s),k=E.pointNumbers.length>0;if(k?W(s,E):K(s)&&(h=Q(E))){for(a&&a.remove(),y=0;y<s.length;y++)l=s[y],l._module.selectPoints(l,!1);q(t,s),z(o),w&&t.emit("plotly_deselect",null)}else{m=e.shiftKey&&(void 0!==h?h:Q(E)),u=I(E.pointNumber,E.searchInfo,m);var T=o.selectionDefs.concat([u]);for(c=F(T),y=0;y<s.length;y++)if(f=s[y]._module.selectPoints(s[y],c),p=$(f,s[y]),_.length)for(var C=0;C<p.length;C++)_.push(p[C]);else _=p;if(g={points:_},q(t,s,g),u&&o&&o.selectionDefs.push(u),a){var S=o.mergedPolygons,O=d(o.dragmode);v(Y(S,O),a,o)}w&&t.emit("plotly_selected",g)}}}function I(e,t,r){return{pointNumber:e,searchInfo:t,subtract:r}}function j(e){return"pointNumber"in e&&"searchInfo"in e}function R(e){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(t,r,n,i){var o=e.searchInfo.cd[0].trace._expandedIndex,a=i.cd[0].trace._expandedIndex;return a===o&&n===e.pointNumber},isRect:!1,degenerate:!1,subtract:e.subtract}}function F(e){for(var t=[],r=j(e[0])?0:e[0][0][0],n=r,i=j(e[0])?0:e[0][0][1],o=i,a=0;a<e.length;a++)if(j(e[a]))t.push(R(e[a]));else{var s=b.tester(e[a]);s.subtract=e[a].subtract,t.push(s),r=Math.min(r,s.xmin),n=Math.max(n,s.xmax),i=Math.min(i,s.ymin),o=Math.max(o,s.ymax)}function l(e,r,n,i){for(var o=!1,a=0;a<t.length;a++)t[a].contains(e,r,n,i)&&(o=!1===t[a].subtract);return o}return{xmin:r,xmax:n,ymin:i,ymax:o,pts:[],contains:l,isRect:!1,degenerate:!1}}function N(e,t,r){t._fullLayout._drawing=!1;var n=t._fullLayout,i=r.plotinfo,o=r.dragmode,a=n._lastSelectedSubplot&&n._lastSelectedSubplot===i.id,s=(e.shiftKey||e.altKey)&&!(p(o)&&d(o));a&&s&&i.selection&&i.selection.selectionDefs&&!r.selectionDefs?(r.selectionDefs=i.selection.selectionDefs,r.mergedPolygons=i.selection.mergedPolygons):s&&i.selection||z(r),a||(S(t),n._lastSelectedSubplot=i.id)}function z(e){var t=e.dragmode,r=e.plotinfo,n=e.gd;if(n._fullLayout._activeShapeIndex>=0&&n._fullLayout._deactivateShape(n),p(t)){var o=n._fullLayout,a=o._zoomlayer,s=a.selectAll(".select-outline-"+r.id);if(s&&n._fullLayout._drawing){var l=g(s,e);l&&i.call("_guiRelayout",n,{shapes:l}),n._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function U(e,t,r,n){var i,o,a,s=[],l=t.map((function(e){return e._id})),u=r.map((function(e){return e._id}));for(a=0;a<e.calcdata.length;a++)if(i=e.calcdata[a],o=i[0].trace,!0===o.visible&&o._module&&o._module.selectPoints)if(!n||o.subplot!==n&&o.geo!==n)if("splom"===o.type&&o._xaxes[l[0]]&&o._yaxes[u[0]]){var c=p(o._module,i,t[0],r[0]);c.scene=e._fullLayout._splomScenes[o.uid],s.push(c)}else if("sankey"===o.type){var f=p(o._module,i,t[0],r[0]);s.push(f)}else{if(-1===l.indexOf(o.xaxis))continue;if(-1===u.indexOf(o.yaxis))continue;s.push(p(o._module,i,A(e,o.xaxis),A(e,o.yaxis)))}else s.push(p(o._module,i,t[0],r[0]));return s;function p(e,t,r,n){return{_module:e,cd:t,xaxis:r,yaxis:n}}}function H(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}function V(e,t){var r,n,i=e[0],o=-1,a=[];for(n=0;n<t.length;n++)if(r=t[n],i.fullData._expandedIndex===r.cd[0].trace._expandedIndex){if(!0===i.hoverOnBox)break;void 0!==i.pointNumber?o=i.pointNumber:void 0!==i.binNumber&&(o=i.binNumber,a=i.pointNumbers);break}return{pointNumber:o,pointNumbers:a,searchInfo:r}}function Q(e){var t=e.searchInfo.cd[0].trace,r=e.pointNumber,n=e.pointNumbers,i=n.length>0,o=i?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(o)>-1}function W(e,t){var r,n,i,o,a=[];for(o=0;o<e.length;o++)r=e[o],r.cd[0].trace.selectedpoints&&r.cd[0].trace.selectedpoints.length>0&&a.push(r);if(1===a.length&&(i=a[0]===t.searchInfo,i&&(n=t.searchInfo.cd[0].trace,n.selectedpoints.length===t.pointNumbers.length))){for(o=0;o<t.pointNumbers.length;o++)if(n.selectedpoints.indexOf(t.pointNumbers[o])<0)return!1;return!0}return!1}function K(e){var t,r,n,i=0;for(n=0;n<e.length;n++)if(t=e[n],r=t.cd[0].trace,r.selectedpoints){if(r.selectedpoints.length>1)return!1;if(i+=r.selectedpoints.length,i>1)return!1}return 1===i}function q(e,t,r){var n,o,a,s;for(n=0;n<t.length;n++){var l=t[n].cd[0].trace._fullInput,u=e._fullLayout._tracePreGUI[l.uid]||{};void 0===u.selectedpoints&&(u.selectedpoints=l._input.selectedpoints||null)}if(r){var c=r.points||[];for(n=0;n<t.length;n++)s=t[n].cd[0].trace,s._input.selectedpoints=s._fullInput.selectedpoints=[],s._fullInput!==s&&(s.selectedpoints=[]);for(n=0;n<c.length;n++){var f=c[n],p=f.data,d=f.fullData;f.pointIndices?([].push.apply(p.selectedpoints,f.pointIndices),s._fullInput!==s&&[].push.apply(d.selectedpoints,f.pointIndices)):(p.selectedpoints.push(f.pointIndex),s._fullInput!==s&&d.selectedpoints.push(f.pointIndex))}}else for(n=0;n<t.length;n++)s=t[n].cd[0].trace,delete s.selectedpoints,delete s._input.selectedpoints,s._fullInput!==s&&delete s._fullInput.selectedpoints;var h=!1;for(n=0;n<t.length;n++){o=t[n],a=o.cd,s=a[0].trace,i.traceIs(s,"regl")&&(h=!0);var v=o._module,m=v.styleOnSelect||v.style;m&&(m(e,a,a[0].node3),a[0].nodeRangePlot3&&m(e,a,a[0].nodeRangePlot3))}h&&(w(e),_(e))}function G(e,t,r){var i;return r?(i=n.difference({regions:e,inverted:!1},{regions:[t],inverted:!1}),i.regions):(i=n.union({regions:e,inverted:!1},{regions:[t],inverted:!1}),i.regions)}function $(e,t){if(Array.isArray(e))for(var r=t.cd,n=t.cd[0].trace,i=0;i<e.length;i++)e[i]=l(e[i],n,r);return e}function Y(e,t){for(var r=[],n=0;n<e.length;n++){r[n]=[];for(var i=0;i<e[n].length;i++){r[n][i]=[],r[n][i][0]=i?"L":"M";for(var o=0;o<e[n][i].length;o++)r[n][i].push(e[n][i][o])}t||r[n].push(["Z",r[n][0][1],r[n][0][2]])}return r}e.exports={prepSelect:L,clearSelect:S,clearSelectionsCache:z,selectOnClick:D}},1881:function(e,t,r){!function(t,r){e.exports=r()}(window,(function(){return r={},e.m=t=[function(e,t,r){var n=r(7);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),(0,r(4).default)("d763679c",n,!1,{})},function(e,t,r){var n=r(10);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),(0,r(4).default)("6b9cc0e0",n,!1,{})},function(e,t,r){var n=r(12);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),(0,r(4).default)("663c004e",n,!1,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(n),o=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],s={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(s):r.push(n[a]={id:a,parts:[s]})}return r}r.r(t),r.d(t,"default",(function(){return h}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,c=function(){},f=null,p="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,r,i){u=r,f=i||{};var a=n(e,t);return v(a),function(t){for(var r=[],i=0;i<a.length;i++){var s=a[i];(l=o[s.id]).refs--,r.push(l)}for(t?v(a=n(e,t)):a=[],i=0;i<r.length;i++){var l;if(0===(l=r[i]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],n=o[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(g(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(g(r.parts[i]));o[r.id]={id:r.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,r,n=document.querySelector("style["+p+'~="'+e.id+'"]');if(n){if(u)return c;n.parentNode.removeChild(n)}if(d){var i=l++;n=s=s||m(),t=x.bind(null,n,i,!1),r=x.bind(null,n,i,!0)}else n=m(),t=function(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(p,t.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function x(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t,r){"use strict";(function(e){var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t;function t(){this.__entries__=[]}}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=(c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),0<e.length},c.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.some((function(e){return!!~r.indexOf(e)}))&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null,c);function c(){function e(){s&&(s=!1,n()),l&&r()}function t(){o(e)}function r(){var e=Date.now();if(s){if(e-u<a)return;l=!0}else l=!(s=!0),setTimeout(t,i);u=e}var n,i,s,l,u;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(n=this.refresh.bind(this),l=s=!(i=20),u=0,r)}var f=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=b(0,0,0,0);function h(e){return parseFloat(e)||0}function v(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){return t+h(e["border-"+r+"-width"])}),0)}function m(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return d;var n,i=p(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=e["padding-"+i];t[i]=h(o)}return t}(i),a=o.left+o.right,s=o.top+o.bottom,l=h(i.width),u=h(i.height);if("border-box"===i.boxSizing&&(Math.round(l+a)!==t&&(l-=v(i,"left","right")+a),Math.round(u+s)!==r&&(u-=v(i,"top","bottom")+s)),(n=e)!==p(n).document.documentElement){var c=Math.round(l+a)-t,f=Math.round(u+s)-r;1!==Math.abs(c)&&(l-=c),1!==Math.abs(f)&&(u-=f)}return b(o.left,o.top,l,u)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return n?g(e)?b(0,0,(t=e.getBBox()).width,t.height):m(e):d;var t}function b(e,t,r,n){return{x:e,y:t,width:r,height:n}}var x=(A.prototype.isActive=function(){var e=y(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},A.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},A);function A(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}var w=function(e,t){var r,n,i,o,a,s,l,u=(n=(r=t).x,i=r.y,o=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),f(l,{x:n,y:i,width:o,height:a,top:i,right:n+o,bottom:a+i,left:n}),l);f(this,{target:e,contentRect:u})},_=(E.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},E.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},E.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},E.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},E.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},E.prototype.clearActive=function(){this.activeObservations_.splice(0)},E.prototype.hasActive=function(){return 0<this.activeObservations_.length},E);function E(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}var k=new("undefined"!=typeof WeakMap?WeakMap:r),T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=u.getInstance(),n=new _(t,r,this);k.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var C=void 0!==i.ResizeObserver?i.ResizeObserver:T;t.a=C}).call(this,r(8))},function(e,t,r){"use strict";var n=r(0);r.n(n).a},function(e,t,r){(e.exports=r(3)(!1)).push([e.i,"\n.vue-modal-resizer {\n display: block;\n overflow: hidden;\n position: absolute;\n width: 12px;\n height: 12px;\n right: 0;\n bottom: 0;\n z-index: 9999999;\n background: transparent;\n cursor: se-resize;\n}\n.vue-modal-resizer::after {\n display: block;\n position: absolute;\n content: '';\n background: transparent;\n left: 0;\n top: 0;\n width: 0;\n height: 0;\n border-bottom: 10px solid #ddd;\n border-left: 10px solid transparent;\n}\n.vue-modal-resizer.clicked::after {\n border-bottom: 10px solid #369be9;\n}\n",""])},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(1);r.n(n).a},function(e,t,r){(e.exports=r(3)(!1)).push([e.i,"\n.vm--block-scroll {\n overflow: hidden;\n width: 100vw;\n}\n.vm--container {\n position: fixed;\n box-sizing: border-box;\n left: 0;\n top: 0;\n width: 100%;\n height: 100vh;\n z-index: 999;\n}\n.vm--overlay {\n position: fixed;\n box-sizing: border-box;\n left: 0;\n top: 0;\n width: 100%;\n height: 100vh;\n background: rgba(0, 0, 0, 0.2);\n /* z-index: 999; */\n opacity: 1;\n}\n.vm--container.scrollable {\n height: 100%;\n min-height: 100vh;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n}\n.vm--modal {\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n\n background-color: white;\n border-radius: 3px;\n box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4);\n}\n.vm--container.scrollable .vm--modal {\n margin-bottom: 2px;\n}\n.vm--top-right-slot {\n display: block;\n position: absolute;\n right: 0;\n top: 0;\n}\n.vm-transition--overlay-enter-active,\n.vm-transition--overlay-leave-active {\n transition: all 50ms;\n}\n.vm-transition--overlay-enter,\n.vm-transition--overlay-leave-active {\n opacity: 0;\n}\n.vm-transition--modal-enter-active,\n.vm-transition--modal-leave-active {\n transition: all 400ms;\n}\n.vm-transition--modal-enter,\n.vm-transition--modal-leave-active {\n opacity: 0;\n transform: translateY(-20px);\n}\n.vm-transition--default-enter-active,\n.vm-transition--default-leave-active {\n transition: all 2ms;\n}\n.vm-transition--default-enter,\n.vm-transition--default-leave-active {\n opacity: 0;\n}\n",""])},function(e,t,r){"use strict";var n=r(2);r.n(n).a},function(e,t,r){(e.exports=r(3)(!1)).push([e.i,"\n.vue-dialog {\n font-size: 14px;\n}\n.vue-dialog div {\n box-sizing: border-box;\n}\n.vue-dialog-content {\n flex: 1 0 auto;\n width: 100%;\n padding: 14px;\n}\n.vue-dialog-content-title {\n font-weight: 600;\n padding-bottom: 14px;\n}\n.vue-dialog-buttons {\n display: flex;\n flex: 0 1 auto;\n width: 100%;\n border-top: 1px solid #eee;\n}\n.vue-dialog-buttons-none {\n width: 100%;\n padding-bottom: 14px;\n}\n.vue-dialog-button {\n font-size: inherit;\n background: transparent;\n padding: 0;\n margin: 0;\n border: 0;\n cursor: pointer;\n box-sizing: border-box;\n line-height: 40px;\n height: 40px;\n color: inherit;\n font: inherit;\n outline: none;\n}\n.vue-dialog-button:hover {\n background: #f9f9f9;\n}\n.vue-dialog-button:active {\n background: #f3f3f3;\n}\n.vue-dialog-button:not(:first-of-type) {\n border-left: 1px solid #eee;\n}\n",""])},function(e,t,r){"use strict";function n(){var e=this,t=e.$createElement,r=e._self._c||t;return e.visible?r("div",{class:e.containerClass},[r("transition",{attrs:{name:e.guaranteedOverlayTransition},on:{"before-enter":e.beforeOverlayTransitionEnter,"after-enter":e.afterOverlayTransitionEnter,"before-leave":e.beforeOverlayTransitionLeave,"after-leave":e.afterOverlayTransitionLeave}},[e.visibility.overlay?r("div",{staticClass:"vm--overlay",attrs:{"data-modal":e.name,"aria-expanded":e.visibility.overlay.toString()},on:{click:function(t){return t.target!==t.currentTarget?null:(t.stopPropagation(),e.onOverlayClick(t))}}},[r("div",{staticClass:"vm--top-right-slot"},[e._t("top-right")],2)]):e._e()]),e._v(" "),r("transition",{attrs:{name:e.guaranteedModalTransition},on:{"before-enter":e.beforeModalTransitionEnter,"after-enter":e.afterModalTransitionEnter,"before-leave":e.beforeModalTransitionLeave,"after-leave":e.afterModalTransitionLeave}},[e.visibility.modal?r("div",{ref:"modal",class:e.modalClass,style:e.modalStyle,attrs:{"aria-expanded":e.visibility.modal.toString(),role:"dialog","aria-modal":"true"}},[e._t("default"),e._v(" "),e.resizable&&!e.isAutoHeight?r("resizer",{attrs:{"min-width":e.minWidth,"min-height":e.minHeight,"max-width":e.maxWidth,"max-height":e.maxHeight},on:{resize:e.onModalResize}}):e._e()],2):e._e()])],1):e._e()}function i(){var e=this.$createElement;return(this._self._c||e)("div",{class:this.className})}function o(e,t,r){return r<e?e:t<r?t:r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function l(){var e=window.innerWidth,t=document.documentElement.clientWidth;return e&&t?Math.min(e,t):t||e}function u(e){return e.split(";").map((function(e){return e.trim()})).filter(Boolean).map((function(e){return e.split(":")})).reduce((function(e,t){var r=s(t,2);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){a(e,t,r[t])}))}return e}({},e,a({},r[0],r[1]))}),{})}function c(e){return e.touches&&0<e.touches.length?e.touches[0]:e}r.r(t),r.d(t,"Modal",(function(){return N})),r.d(t,"Dialog",(function(){return V})),r.d(t,"version",(function(){return X})),i._withStripped=n._withStripped=!0;var f=["INPUT","TEXTAREA","SELECT"],p=function(e){var t=0<arguments.length&&void 0!==e?e:0;return function(){return(t++).toString()}}(),d={name:"VueJsModalResizer",props:{minHeight:{type:Number,default:0},minWidth:{type:Number,default:0},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER}},data:function(){return{clicked:!1,size:{}}},mounted:function(){this.$el.addEventListener("mousedown",this.start,!1)},computed:{className:function(){return["vue-modal-resizer",{clicked:this.clicked}]}},methods:{start:function(e){this.clicked=!0,window.addEventListener("mousemove",this.mousemove,!1),window.addEventListener("mouseup",this.stop,!1),e.stopPropagation(),e.preventDefault()},stop:function(){this.clicked=!1,window.removeEventListener("mousemove",this.mousemove,!1),window.removeEventListener("mouseup",this.stop,!1),this.$emit("resize-stop",{element:this.$el.parentElement,size:this.size})},mousemove:function(e){this.resize(e)},resize:function(e){var t=this.$el.parentElement;if(t){var r=e.clientX-t.offsetLeft,n=e.clientY-t.offsetTop,i=Math.min(l(),this.maxWidth),a=Math.min(window.innerHeight,this.maxHeight);r=o(this.minWidth,i,r),n=o(this.minHeight,a,n),this.size={width:r,height:n},t.style.width=r+"px",t.style.height=n+"px",this.$emit("resize",{element:t,size:this.size})}}}};function h(e,t,r,n,i,o,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r(6);var v=h(d,i,[],!1,null,null,null);v.options.__file="src/components/Resizer.vue";var m=v.exports;function g(e){return(g="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 y(e){switch(g(e)){case"number":return{type:"px",value:e};case"string":return function(e){if("auto"===e)return{type:e,value:0};var t=A.find((function(t){return t.regexp.test(e)}));return t?{type:t.name,value:parseFloat(e)}:{type:"",value:e}}(e);default:return{type:"",value:e}}}function b(e){if("string"!=typeof e)return 0<=e;var t=y(e);return("%"===t.type||"px"===t.type)&&0<t.value}var x="[-+]?[0-9]*.?[0-9]+",A=[{name:"px",regexp:new RegExp("^".concat(x,"px$"))},{name:"%",regexp:new RegExp("^".concat(x,"%$"))},{name:"px",regexp:new RegExp("^".concat(x,"$"))}],w=r(5),_="undefined"!=typeof window&&window.ResizeObserver?ResizeObserver:w.a;function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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 spread non-iterable instance")}()}function T(e){return t='button:not([disabled]), select:not([disabled]), a[href]:not([disabled]), area[href]:not([disabled]), [contentEditable=""]:not([disabled]), [contentEditable="true"]:not([disabled]), [contentEditable="TRUE"]:not([disabled]), textarea:not([disabled]), iframe:not([disabled]), input:not([disabled]), summary:not([disabled]), [tabindex]:not([tabindex="-1"])',k(e.querySelectorAll(t)||[]);var t}function C(e){return e==document.activeElement}var S=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.root=null,this.elements=[],this.onKeyDown=this.onKeyDown.bind(this),this.enable=this.enable.bind(this),this.disable=this.disable.bind(this),this.firstElement=this.firstElement.bind(this),this.lastElement=this.lastElement.bind(this)}var t,r,n;return t=e,(r=[{key:"lastElement",value:function(){return this.elements[this.elements.length-1]||null}},{key:"firstElement",value:function(){return this.elements[0]||null}},{key:"onKeyDown",value:function(e){var t;if("Tab"===(t=e).key||9===t.keyCode)return e.shiftKey&&C(this.firstElement())?(this.lastElement().focus(),void e.preventDefault()):!document.activeElement||C(this.lastElement())?(this.firstElement().focus(),void e.preventDefault()):void 0}},{key:"enabled",value:function(){return!!this.root}},{key:"enable",value:function(e){if(e){this.root=e,this.elements=T(this.root);var t=this.firstElement();t&&t.focus(),this.root.addEventListener("keydown",this.onKeyDown)}}},{key:"disable",value:function(){this.root.removeEventListener("keydown",this.onKeyDown),this.root=null}}])&&E(t.prototype,r),n&&E(t,n),e}();function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var P="vm-transition--default",B="enter",L="entering",D="leave",I="leavng",j={name:"VueJsModal",props:{name:{required:!0,type:String},resizable:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},draggable:{type:[Boolean,String],default:!1},scrollable:{type:Boolean,default:!1},focusTrap:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},overlayTransition:{type:String,default:"vm-transition--overlay"},transition:{type:String,default:"vm-transition--modal"},clickToClose:{type:Boolean,default:!0},classes:{type:[String,Array],default:function(){return[]}},styles:{type:[String,Array,Object]},minWidth:{type:Number,default:0,validator:function(e){return 0<=e}},minHeight:{type:Number,default:0,validator:function(e){return 0<=e}},maxWidth:{type:Number,default:Number.MAX_SAFE_INTEGER},maxHeight:{type:Number,default:Number.MAX_SAFE_INTEGER},width:{type:[Number,String],default:600,validator:b},height:{type:[Number,String],default:300,validator:function(e){return"auto"===e||b(e)}},shiftX:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}},shiftY:{type:Number,default:.5,validator:function(e){return 0<=e&&e<=1}}},components:{Resizer:m},data:function(){return{visible:!1,visibility:{modal:!1,overlay:!1},overlayTransitionState:null,modalTransitionState:null,shiftLeft:0,shiftTop:0,modal:{width:0,widthType:"px",height:0,heightType:"px",renderedHeight:0},viewportHeight:0,viewportWidth:0}},created:function(){this.setInitialSize()},beforeMount:function(){this.$modal.subscription.$on("toggle",this.onToggle),window.addEventListener("resize",this.onWindowResize),window.addEventListener("orientationchange",this.onWindowResize),this.onWindowResize(),this.scrollable&&!this.isAutoHeight&&console.warn('Modal "'.concat(this.name,'" has scrollable flag set to true ')+'but height is not "auto" ('.concat(this.height,")")),this.clickToClose&&window.addEventListener("keyup",this.onEscapeKeyUp)},mounted:function(){var e=this;this.resizeObserver=new _((function(t){if(0<t.length){var r=M(t,1)[0];e.modal.renderedHeight=r.contentRect.height}})),this.$focusTrap=new S},beforeDestroy:function(){this.$modal.subscription.$off("toggle",this.onToggle),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("orientationchange",this.onWindowResize),this.clickToClose&&window.removeEventListener("keyup",this.onEscapeKeyUp),document.body.classList.remove("vm--block-scroll")},computed:{guaranteedOverlayTransition:function(){return this.overlayTransition||P},guaranteedModalTransition:function(){return this.transition||P},isAutoHeight:function(){return"auto"===this.modal.heightType},position:function(){var e=this.viewportHeight,t=this.viewportWidth,r=this.shiftLeft,n=this.shiftTop,i=this.shiftX,a=this.shiftY,s=this.trueModalWidth,l=this.trueModalHeight,u=t-s,c=Math.max(e-l,0),f=n+a*c;return{left:parseInt(o(0,u,r+i*u)),top:!l&&this.isAutoHeight?void 0:parseInt(o(0,c,f))}},trueModalWidth:function(){var e=this.viewportWidth,t=this.modal,r=this.adaptive,n=this.minWidth,i=this.maxWidth,a="%"===t.widthType?e/100*t.width:t.width;if(r){var s=Math.max(n,Math.min(e,i));return o(n,s,a)}return a},trueModalHeight:function(){var e=this.viewportHeight,t=this.modal,r=this.isAutoHeight,n=this.adaptive,i=this.minHeight,a=this.maxHeight,s="%"===t.heightType?e/100*t.height:t.height;if(r)return this.modal.renderedHeight;if(n){var l=Math.max(i,Math.min(e,a));return o(i,l,s)}return s},autoHeight:function(){return this.adaptive&&this.modal.renderedHeight>=this.viewportHeight?Math.max(this.minHeight,this.viewportHeight)+"px":"auto"},containerClass:function(){return["vm--container",this.scrollable&&this.isAutoHeight&&"scrollable"]},modalClass:function(){return["vm--modal",this.classes]},stylesProp:function(){return"string"==typeof this.styles?u(this.styles):this.styles},modalStyle:function(){return[this.stylesProp,{top:this.position.top+"px",left:this.position.left+"px",width:this.trueModalWidth+"px",height:this.isAutoHeight?this.autoHeight:this.trueModalHeight+"px"}]},isComponentReadyToBeDestroyed:function(){return this.overlayTransitionState===D&&this.modalTransitionState===D}},watch:{isComponentReadyToBeDestroyed:function(e){e&&(this.visible=!1)}},methods:{startTransitionEnter:function(){this.visibility.overlay=!0,this.visibility.modal=!0},startTransitionLeave:function(){this.visibility.overlay=!1,this.visibility.modal=!1},beforeOverlayTransitionEnter:function(){this.overlayTransitionState=L},afterOverlayTransitionEnter:function(){this.overlayTransitionState=B},beforeOverlayTransitionLeave:function(){this.overlayTransitionState=I},afterOverlayTransitionLeave:function(){this.overlayTransitionState=D},beforeModalTransitionEnter:function(){var e=this;this.modalTransitionState=L,this.$nextTick((function(){e.resizeObserver.observe(e.$refs.modal)}))},afterModalTransitionEnter:function(){this.modalTransitionState=B,this.draggable&&this.addDraggableListeners(),this.focusTrap&&this.$focusTrap.enable(this.$refs.modal);var e=this.createModalEvent({state:"opened"});this.$emit("opened",e)},beforeModalTransitionLeave:function(){this.modalTransitionState=I,this.resizeObserver.unobserve(this.$refs.modal),this.$focusTrap.enabled()&&this.$focusTrap.disable()},afterModalTransitionLeave:function(){this.modalTransitionState=D;var e=this.createModalEvent({state:"closed"});this.$emit("closed",e)},onToggle:function(e,t,r){if(this.name===e){var n=void 0===t?!this.visible:t;this.toggle(n,r)}},setInitialSize:function(){var e=y(this.width),t=y(this.height);this.modal.width=e.value,this.modal.widthType=e.type,this.modal.height=t.value,this.modal.heightType=t.type},onEscapeKeyUp:function(e){27===e.which&&this.visible&&this.$modal.hide(this.name)},onWindowResize:function(){this.viewportWidth=l(),this.viewportHeight=window.innerHeight,this.ensureShiftInWindowBounds()},createModalEvent:function(e){var t=0<arguments.length&&void 0!==e?e:{};return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}({name:this.name,ref:this.$refs.modal||null},t)},onModalResize:function(e){this.modal.widthType="px",this.modal.width=e.size.width,this.modal.heightType="px",this.modal.height=e.size.height;var t=this.modal.size;this.$emit("resize",this.createModalEvent({size:t}))},open:function(e){var t=this;this.reset&&(this.setInitialSize(),this.shiftLeft=0,this.shiftTop=0),this.scrollable&&document.body.classList.add("vm--block-scroll");var r=!1,n=this.createModalEvent({cancel:function(){r=!0},state:"before-open",params:e});this.$emit("before-open",n),r?this.scrollable&&document.body.classList.remove("vm--block-scroll"):("undefined"!=typeof document&&document.activeElement&&"BODY"!==document.activeElement.tagName&&document.activeElement.blur&&document.activeElement.blur(),this.visible=!0,this.$nextTick((function(){t.startTransitionEnter()})))},close:function(e){this.scrollable&&document.body.classList.remove("vm--block-scroll");var t=!1,r=this.createModalEvent({cancel:function(){t=!0},state:"before-close",params:e});this.$emit("before-close",r),t||this.startTransitionLeave()},toggle:function(e,t){this.visible!==e&&(e?this.open(t):this.close(t))},getDraggableElement:function(){return!0===this.draggable?this.$refs.modal:"string"==typeof this.draggable?this.$refs.modal.querySelector(this.draggable):null},onOverlayClick:function(){this.clickToClose&&this.toggle(!1)},addDraggableListeners:function(){var e=this,t=this.getDraggableElement();if(t){var r=0,n=0,i=0,o=0,a=function(t){var a=t.target;if(!(u=a)||-1===f.indexOf(u.nodeName)){var u,p=c(t),d=p.clientX,h=p.clientY;document.addEventListener("mousemove",s),document.addEventListener("touchmove",s),document.addEventListener("mouseup",l),document.addEventListener("touchend",l),r=d,n=h,i=e.shiftLeft,o=e.shiftTop}},s=function(t){var a=c(t),s=a.clientX,l=a.clientY;e.shiftLeft=i+s-r,e.shiftTop=o+l-n,t.preventDefault()},l=function t(r){e.ensureShiftInWindowBounds(),document.removeEventListener("mousemove",s),document.removeEventListener("touchmove",s),document.removeEventListener("mouseup",t),document.removeEventListener("touchend",t),r.preventDefault()};t.addEventListener("mousedown",a),t.addEventListener("touchstart",a)}},ensureShiftInWindowBounds:function(){var e=this.viewportHeight,t=this.viewportWidth,r=this.shiftLeft,n=this.shiftTop,i=this.shiftX,a=this.shiftY,s=this.trueModalWidth,l=this.trueModalHeight,u=t-s,c=Math.max(e-l,0),f=r+i*u,p=n+a*c;this.shiftLeft-=f-o(0,u,f),this.shiftTop-=p-o(0,c,p)}}},R=(r(9),h(j,n,[],!1,null,null,null));function F(){var e=this,t=e.$createElement,r=e._self._c||t;return r(e.$modal.context.componentName,{tag:"component",attrs:{name:"dialog",height:"auto",classes:["vue-dialog",this.params.class],width:e.width,"shift-y":.3,adaptive:!0,"focus-trap":!0,clickToClose:e.clickToClose,transition:e.transition},on:{"before-open":e.beforeOpened,"before-close":e.beforeClosed,opened:function(t){return e.$emit("opened",t)},closed:function(t){return e.$emit("closed",t)}}},[r("div",{staticClass:"vue-dialog-content"},[e.params.title?r("div",{staticClass:"vue-dialog-content-title",domProps:{innerHTML:e._s(e.params.title||"")}}):e._e(),e._v(" "),e.params.component?r(e.params.component,e._b({tag:"component"},"component",e.params.props,!1)):r("div",{domProps:{innerHTML:e._s(e.params.text||"")}})],1),e._v(" "),e.buttons?r("div",{staticClass:"vue-dialog-buttons"},e._l(e.buttons,(function(t,n){return r("button",{key:n,class:t.class||"vue-dialog-button",style:e.buttonStyle,attrs:{type:"button",tabindex:"0"},domProps:{innerHTML:e._s(t.title)},on:{click:function(t){return t.stopPropagation(),e.click(n,t)}}},[e._v(e._s(t.title))])})),0):r("div",{staticClass:"vue-dialog-buttons-none"})])}R.options.__file="src/components/Modal.vue";var N=R.exports;F._withStripped=!0;var z={name:"VueJsDialog",props:{width:{type:[Number,String],default:400},clickToClose:{type:Boolean,default:!0},transition:{type:String}},data:function(){return{params:{}}},computed:{buttons:function(){return this.params.buttons||[]},buttonStyle:function(){return{flex:"1 1 ".concat(100/this.buttons.length,"%")}}},methods:{beforeOpened:function(e){this.params=e.params||{},this.$emit("before-opened",e)},beforeClosed:function(e){this.params={},this.$emit("before-closed",e)},click:function(e,t,r){var n=2<arguments.length&&void 0!==r?r:"click",i=this.buttons[e],o=null==i?void 0:i.handler;"function"==typeof o&&o(e,t,{source:n})}}},U=(r(11),h(z,F,[],!1,null,null,null));function H(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"modals-container"}},e._l(e.modals,(function(t){return r("modal",e._g(e._b({key:t.id,on:{closed:function(r){return e.remove(t.id)}}},"modal",t.modalAttrs,!1),t.modalListeners),[r(t.component,e._g(e._b({tag:"component",on:{close:function(r){return e.$modal.hide(t.modalAttrs.name,r)}}},"component",t.componentAttrs,!1),e.$listeners))],1)})),1)}U.options.__file="src/components/Dialog.vue";var V=U.exports;function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}H._withStripped=!0;var W=h({data:function(){return{modals:[]}},created:function(){this.$root.__modalContainer=this},mounted:function(){var e=this;this.$modal.subscription.$on("hide-all",(function(){e.modals=[]}))},methods:{add:function(e,t,r,n){var i=this,o=1<arguments.length&&void 0!==t?t:{},a=2<arguments.length&&void 0!==r?r:{},s=3<arguments.length&&void 0!==n?n:{},l=p(),u=a.name||"dynamic_modal_"+l;this.modals.push({id:l,modalAttrs:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Q(e,t,r[t])}))}return e}({},a,{name:u}),modalListeners:s,component:e,componentAttrs:o}),this.$nextTick((function(){i.$modal.show(u)}))},remove:function(e){var t=this.modals.findIndex((function(t){return t.id===e}));-1!==t&&this.modals.splice(t,1)}}},H,[],!1,null,null,null);W.options.__file="src/components/ModalsContainer.vue";var K=W.exports;function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $=function(e,t){function r(e,t,r,i){var a,s=2<arguments.length&&void 0!==r?r:{},l=3<arguments.length?i:void 0,u=null===(a=o.root)||void 0===a?void 0:a.__modalContainer,c=n.dynamicDefaults||{};null!=u&&u.add(e,t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){G(e,t,r[t])}))}return e}({},c,s),l)}var n=1<arguments.length&&void 0!==t?t:{},i=new e,o={root:null,componentName:n.componentName||"Modal"};return{context:o,subscription:i,show:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];switch(q(o)){case"string":(function(e,t){i.$emit("toggle",e,!0,t)}).apply(void 0,t);break;case"object":case"function":r.apply(void 0,t);break;default:console.warn("[vue-js-modal] $modal() received an unsupported argument as a first argument.",o)}},hide:function(e,t){i.$emit("toggle",e,!1,t)},hideAll:function(){i.$emit("hide-all")},toggle:function(e,t){i.$emit("toggle",e,void 0,t)},setDynamicModalContainer:function(t){o.root=t;var r,n=(r=document.createElement("div"),document.body.appendChild(r),r);new e({parent:t,render:function(e){return e(K)}}).$mount(n)}}},Y={install:function(e,t){var r=1<arguments.length&&void 0!==t?t:{};if(!e.prototype.$modal){var n=new $(e,r);Object.defineProperty(e.prototype,"$modal",{get:function(){if(this instanceof e){var t=this.$root;n.context.root||n.setDynamicModalContainer(t)}return n}}),e.component(n.context.componentName,N),r.dialog&&e.component("VDialog",V)}}},X="__VERSION__";t.default=Y}],e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var i in t)e.d(n,i,function(e){return t[e]}.bind(null,i));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="/dist/",e(e.s=13);function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var t,r}))},"18a2":function(e,t,r){"use strict";var n=r("2195");function i(e,t){return n(e[0].mul(t[1]),e[1].mul(t[0]))}e.exports=i},"18bb":function(e,t,r){"use strict";var n=r("fc26"),i=r("1c82"),o=r("81f0").defaults,a=r("a651"),s=r("e5ac"),l=r("49b4"),u=r("d92f"),c=r("27e3"),f=r("5008");function p(e,t,r,p){function h(r,o){return n.coerce(e,t,i,r,o)}o(t,p,h),h("mode"),t._hasNumber=-1!==t.mode.indexOf("number"),t._hasDelta=-1!==t.mode.indexOf("delta"),t._hasGauge=-1!==t.mode.indexOf("gauge");var v=h("value");t._range=[0,"number"===typeof v?1.5*v:1];var m,g,y,b,x,A,w=new Array(2);function _(e,t){return n.coerce(y,b,i.gauge,e,t)}function E(e,t){return n.coerce(x,A,i.gauge.axis,e,t)}if(t._hasNumber&&(h("number.valueformat"),h("number.font.color",p.font.color),h("number.font.family",p.font.family),h("number.font.size"),void 0===t.number.font.size&&(t.number.font.size=l.defaultNumberFontSize,w[0]=!0),h("number.prefix"),h("number.suffix"),m=t.number.font.size),t._hasDelta&&(h("delta.font.color",p.font.color),h("delta.font.family",p.font.family),h("delta.font.size"),void 0===t.delta.font.size&&(t.delta.font.size=(t._hasNumber?.5:1)*(m||l.defaultNumberFontSize),w[1]=!0),h("delta.reference",t.value),h("delta.relative"),h("delta.valueformat",t.delta.relative?"2%":""),h("delta.increasing.symbol"),h("delta.increasing.color"),h("delta.decreasing.symbol"),h("delta.decreasing.color"),h("delta.position"),g=t.delta.font.size),t._scaleNumbers=(!t._hasNumber||w[0])&&(!t._hasDelta||w[1])||!1,h("title.font.color",p.font.color),h("title.font.family",p.font.family),h("title.font.size",.25*(m||g||l.defaultNumberFontSize)),h("title.text"),t._hasGauge){y=e.gauge,y||(y={}),b=a.newContainer(t,"gauge"),_("shape");var k=t._isBullet="bullet"===t.gauge.shape;k||h("title.align","center");var T=t._isAngular="angular"===t.gauge.shape;T||h("align","center"),_("bgcolor",p.paper_bgcolor),_("borderwidth"),_("bordercolor"),_("bar.color"),_("bar.line.color"),_("bar.line.width");var C=l.valueThickness*("bullet"===t.gauge.shape?.5:1);_("bar.thickness",C),s(y,b,{name:"steps",handleItemDefaults:d}),_("threshold.value"),_("threshold.thickness"),_("threshold.line.width"),_("threshold.line.color"),x={},y&&(x=y.axis||{}),A=a.newContainer(b,"axis"),E("visible"),t._range=E("range",t._range);var S={outerTicks:!0};u(x,A,E,"linear"),f(x,A,E,"linear",S),c(x,A,E,S)}else h("title.align","center"),h("align","center"),t._isAngular=t._isBullet=!1;t._length=null}function d(e,t){function r(r,o){return n.coerce(e,t,i.gauge.steps,r,o)}r("color"),r("line.color"),r("line.width"),r("range"),r("thickness")}e.exports={supplyDefaults:p}},"18c2":function(e,t,r){"use strict";var n=r("1b23");function i(e){return!(!e||!e.ownerDocument)&&(n(e)&&"IMG"===e.nodeName)}e.exports=i},"18c9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M1.938 16.188c.125-.438.25-.938.438-1.438.5-1.5 1.063-3 1.75-4.438 1.75-3.875 3.625-6.188 5.375-6.188 1.625 0 3.063 1.625 6 6.25 3.25 5.125 4.75 6.813 7 6.813 2.438 0 4.563-2.563 6.5-6.875.625-1.438 1.25-3 1.75-4.563.188-.5.313-1 .5-1.438.063-.313.125-.5.125-.625l-1.125-.313c-.063.125-.063.313-.188.563-.125.438-.25.938-.438 1.438-.5 1.563-1.063 3.063-1.75 4.438C26.125 13.687 24.25 16 22.5 16c-1.625 0-3.063-1.563-6-6.25-3.25-5.125-4.75-6.813-7-6.813-2.438 0-4.563 2.625-6.5 6.875-.625 1.438-1.25 3-1.75 4.563-.188.563-.313 1.063-.5 1.5-.063.25-.125.438-.125.563l1.125.313c.063-.125.063-.313.188-.563zM.75 4.313c.188.438.313.938.5 1.438.5 1.563 1.125 3.125 1.75 4.563 1.938 4.313 4.063 6.875 6.5 6.875 2.25 0 3.75-1.688 7-6.813 2.938-4.625 4.375-6.25 6-6.25 1.75 0 3.625 2.313 5.375 6.188.688 1.438 1.25 2.938 1.75 4.438.188.5.313 1 .438 1.438.125.25.125.438.188.563l1.125-.313c0-.125-.063-.313-.125-.563-.188-.438-.313-.938-.5-1.5-.5-1.563-1.125-3.125-1.75-4.563-1.938-4.25-4.063-6.875-6.5-6.875-2.25 0-3.75 1.688-7 6.813-2.938 4.688-4.375 6.25-6 6.25-1.75 0-3.625-2.313-5.375-6.188-.688-1.375-1.25-2.875-1.75-4.438-.188-.5-.313-1-.438-1.438-.125-.25-.125-.438-.188-.563l-1.125.313c0 .125.063.313.125.625zM0 23.688h7.125v5.938H0zm22.5 0H32v5.938h-9.5zm-15.375 0H22.5v1.188H7.125zm0 4.75H22.5v1.188H7.125z"}))};t.default=u},"18d8":function(e,t,r){var n=r("234d"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)})),t}));e.exports=a},"18e7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M28 8v6h-4V5.312H8V14H4V8H0v16h4v-6h4v8.688h16V18h4v6h4V8zM12 22.688V9.313h8v13.375z"}))};t.default=u},"18ec":function(e,t,r){"use strict";var n="razdwatrzy";e.exports=function(){return"function"===typeof n.contains&&(!0===n.contains("dwa")&&!1===n.contains("foo"))}},"191c":function(e,t,r){"use strict";var n=r("fc26"),i=r("de69"),o=r("de81"),a=r("5047"),s=r("59be"),l=r("eb07"),u=r("e9f7"),c=r("3802"),f=r("ce65");e.exports=function(e,t,r,p){function d(r,i){return n.coerce(e,t,f,r,i)}var h,v=d("a"),m=d("b"),g=d("c");if(v?(h=v.length,m?(h=Math.min(h,m.length),g&&(h=Math.min(h,g.length))):h=g?Math.min(h,g.length):0):m&&g&&(h=Math.min(m.length,g.length)),h){t._length=h,d("sum"),d("text"),d("hovertext"),"fills"!==t.hoveron&&d("hovertemplate");var y=h<i.PTS_LINESONLY?"lines+markers":"lines";d("mode",y),o.hasLines(t)&&(s(e,t,r,p,d),l(e,t,d),d("connectgaps")),o.hasMarkers(t)&&a(e,t,r,p,d,{gradient:!0}),o.hasText(t)&&(d("texttemplate"),u(e,t,p,d));var b=[];(o.hasMarkers(t)||o.hasText(t))&&(d("cliponaxis"),d("marker.maxdisplayed"),b.push("points")),d("fill"),"none"!==t.fill&&(c(e,t,r,d),o.hasLines(t)||l(e,t,d)),"tonext"!==t.fill&&"toself"!==t.fill||b.push("fills"),d("hoveron",b.join("+")||"points"),n.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1}},1935:function(e,t,r){"use strict";r.r(t),r.d(t,"Tabs",(function(){return I})),r.d(t,"TabList",(function(){return z})),r.d(t,"Tab",(function(){return K})),r.d(t,"TabPanel",(function(){return Z})),r.d(t,"resetIdCounter",(function(){return y}));r("d7bc");var n=r("ab5b"),i=r.n(n);function o(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var a=o("Tab"),s=o("TabList"),l=o("TabPanel");function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function c(e){return a(e)||s(e)||l(e)}function f(e,t){return n["Children"].map(e,(function(e){return null===e?null:c(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children?Object(n["cloneElement"])(e,u({},e.props,{children:f(e.props.children,t)})):e}))}function p(e,t){return n["Children"].forEach(e,(function(e){null!==e&&(a(e)||l(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children&&(s(e)&&t(e),p(e.props.children,t)))}))}function d(e){var t,r,n="";if("string"===typeof e||"number"===typeof e)n+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=d(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}var h,v=function(){var e,t,r=0,n="";while(r<arguments.length)(e=arguments[r++])&&(t=d(e))&&(n&&(n+=" "),n+=t);return n},m=0;function g(){return"react-tabs-"+m++}function y(){m=0}function b(e){var t=0;return p(e,(function(e){a(e)&&t++})),t}function x(e){var t=0;return p(e,(function(e){l(e)&&t++})),t}function A(){return A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}function w(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function _(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(e){return e&&"getAttribute"in e}function T(e){return k(e)&&"tab"===e.getAttribute("role")}function C(e){return k(e)&&"true"===e.getAttribute("aria-disabled")}function S(e){var t=e||("undefined"!==typeof window?window:void 0);try{h=!("undefined"===typeof t||!t.document||!t.document.activeElement)}catch(r){h=!1}}var O=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=e.call.apply(e,[this].concat(n))||this,t.tabNodes=[],t.handleKeyDown=function(e){var r=t.props,n=r.direction,i=r.disableUpDownKeys;if(t.isTabFromContainer(e.target)){var o=t.props.selectedIndex,a=!1,s=!1;32!==e.keyCode&&13!==e.keyCode||(a=!0,s=!1,t.handleClick(e)),37===e.keyCode||!i&&38===e.keyCode?(o="rtl"===n?t.getNextTab(o):t.getPrevTab(o),a=!0,s=!0):39===e.keyCode||!i&&40===e.keyCode?(o="rtl"===n?t.getPrevTab(o):t.getNextTab(o),a=!0,s=!0):35===e.keyCode?(o=t.getLastTab(),a=!0,s=!0):36===e.keyCode&&(o=t.getFirstTab(),a=!0,s=!0),a&&e.preventDefault(),s&&t.setSelected(o,e)}},t.handleClick=function(e){var r=e.target;do{if(t.isTabFromContainer(r)){if(C(r))return;var n=[].slice.call(r.parentNode.children).filter(T).indexOf(r);return void t.setSelected(n,e)}}while(null!=(r=r.parentNode))},t}_(t,e);var r=t.prototype;return r.setSelected=function(e,t){if(!(e<0||e>=this.getTabsCount())){var r=this.props,n=r.onSelect,i=r.selectedIndex;n(e,i,t)}},r.getNextTab=function(e){for(var t=this.getTabsCount(),r=e+1;r<t;r++)if(!C(this.getTab(r)))return r;for(var n=0;n<e;n++)if(!C(this.getTab(n)))return n;return e},r.getPrevTab=function(e){var t=e;while(t--)if(!C(this.getTab(t)))return t;t=this.getTabsCount();while(t-- >e)if(!C(this.getTab(t)))return t;return e},r.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t<e;t++)if(!C(this.getTab(t)))return t;return null},r.getLastTab=function(){var e=this.getTabsCount();while(e--)if(!C(this.getTab(e)))return e;return null},r.getTabsCount=function(){var e=this.props.children;return b(e)},r.getPanelsCount=function(){var e=this.props.children;return x(e)},r.getTab=function(e){return this.tabNodes["tabs-"+e]},r.getChildren=function(){var e=this,t=0,r=this.props,o=r.children,u=r.disabledTabClassName,c=r.focus,p=r.forceRenderTabPanel,d=r.selectedIndex,v=r.selectedTabClassName,m=r.selectedTabPanelClassName,y=r.environment;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];var b=this.tabIds.length-this.getTabsCount();while(b++<0)this.tabIds.push(g()),this.panelIds.push(g());return f(o,(function(r){var o=r;if(s(r)){var g=0,b=!1;null==h&&S(y),h&&(b=i.a.Children.toArray(r.props.children).filter(a).some((function(t,r){var n=y||("undefined"!==typeof window?window:void 0);return n&&n.document.activeElement===e.getTab(r)}))),o=Object(n["cloneElement"])(r,{children:f(r.props.children,(function(t){var r="tabs-"+g,i=d===g,o={tabRef:function(t){e.tabNodes[r]=t},id:e.tabIds[g],panelId:e.panelIds[g],selected:i,focus:i&&(c||b)};return v&&(o.selectedClassName=v),u&&(o.disabledClassName=u),g++,Object(n["cloneElement"])(t,o)}))})}else if(l(r)){var x={id:e.panelIds[t],tabId:e.tabIds[t],selected:d===t};p&&(x.forceRender=p),m&&(x.selectedClassName=m),t++,o=Object(n["cloneElement"])(r,x)}return o}))},r.isTabFromContainer=function(e){if(!T(e))return!1;var t=e.parentElement;do{if(t===this.node)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},r.render=function(){var e=this,t=this.props,r=(t.children,t.className),n=(t.disabledTabClassName,t.domRef),o=(t.focus,t.forceRenderTabPanel,t.onSelect,t.selectedIndex,t.selectedTabClassName,t.selectedTabPanelClassName,t.environment,t.disableUpDownKeys,w(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]));return i.a.createElement("div",A({},o,{className:v(r),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,n&&n(t)},"data-tabs":!0}),this.getChildren())},t}(n["Component"]);function M(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function P(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,B(e,t)}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}O.defaultProps={className:"react-tabs",focus:!1},O.propTypes={};var L=0,D=1,I=function(e){function t(r){var n;return n=e.call(this,r)||this,n.handleSelected=function(e,t,r){var i=n.props.onSelect,o=n.state.mode;if("function"!==typeof i||!1!==i(e,t,r)){var a={focus:"keydown"===r.type};o===D&&(a.selectedIndex=e),n.setState(a)}},n.state=t.copyPropsToState(n.props,{},r.defaultFocus),n}P(t,e),t.getDerivedStateFromProps=function(e,r){return t.copyPropsToState(e,r)},t.getModeFromProps=function(e){return null===e.selectedIndex?D:L},t.copyPropsToState=function(e,r,n){void 0===n&&(n=!1);var i={focus:n,mode:t.getModeFromProps(e)};if(i.mode===D){var o=Math.max(0,b(e.children)-1),a=null;a=null!=r.selectedIndex?Math.min(r.selectedIndex,o):e.defaultIndex||0,i.selectedIndex=a}return i};var r=t.prototype;return r.render=function(){var e=this.props,t=e.children,r=(e.defaultIndex,e.defaultFocus,M(e,["children","defaultIndex","defaultFocus"])),n=this.state,o=n.focus,a=n.selectedIndex;return r.focus=o,r.onSelect=this.handleSelected,null!=a&&(r.selectedIndex=a),i.a.createElement(O,r,t)},t}(n["Component"]);function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function R(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function F(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,N(e,t)}function N(e,t){return N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},N(e,t)}I.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},I.propTypes={},I.tabsRole="Tabs";var z=function(e){function t(){return e.apply(this,arguments)||this}F(t,e);var r=t.prototype;return r.render=function(){var e=this.props,t=e.children,r=e.className,n=R(e,["children","className"]);return i.a.createElement("ul",j({},n,{className:v(r),role:"tablist"}),t)},t}(n["Component"]);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function H(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function V(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Q(e,t)}function Q(e,t){return Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Q(e,t)}z.defaultProps={className:"react-tabs__tab-list"},z.propTypes={},z.tabsRole="TabList";var W="react-tabs__tab",K=function(e){function t(){return e.apply(this,arguments)||this}V(t,e);var r=t.prototype;return r.componentDidMount=function(){this.checkFocus()},r.componentDidUpdate=function(){this.checkFocus()},r.checkFocus=function(){var e=this.props,t=e.selected,r=e.focus;t&&r&&this.node.focus()},r.render=function(){var e,t=this,r=this.props,n=r.children,o=r.className,a=r.disabled,s=r.disabledClassName,l=(r.focus,r.id),u=r.panelId,c=r.selected,f=r.selectedClassName,p=r.tabIndex,d=r.tabRef,h=H(r,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return i.a.createElement("li",U({},h,{className:v(o,(e={},e[f]=c,e[s]=a,e)),ref:function(e){t.node=e,d&&d(e)},role:"tab",id:l,"aria-selected":c?"true":"false","aria-disabled":a?"true":"false","aria-controls":u,tabIndex:p||(c?"0":null)}),n)},t}(n["Component"]);function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}function G(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function $(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Y(e,t)}function Y(e,t){return Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Y(e,t)}K.defaultProps={className:W,disabledClassName:W+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:W+"--selected"},K.propTypes={},K.tabsRole="Tab";var X="react-tabs__tab-panel",Z=function(e){function t(){return e.apply(this,arguments)||this}$(t,e);var r=t.prototype;return r.render=function(){var e,t=this.props,r=t.children,n=t.className,o=t.forceRender,a=t.id,s=t.selected,l=t.selectedClassName,u=t.tabId,c=G(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return i.a.createElement("div",q({},c,{className:v(n,(e={},e[l]=s,e)),role:"tabpanel",id:a,"aria-labelledby":u}),o||s?r:null)},t}(n["Component"]);Z.defaultProps={className:X,forceRender:!1,selectedClassName:X+"--selected"},Z.propTypes={},Z.tabsRole="TabPanel"},1936:function(e,t){e.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},1964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"#119DFF",d:"M1080.177 1084.467c.354-.322 1.108-1.021 2.555-2.404L813.893 807.359c-1.172.887-2.273 1.848-3.495 2.695-22.345 15.512-48.603 20.99-73.59 17.6l96.948 377.646c82.413-12.22 195.673-85.513 246.421-120.833zM693.09 637.132c22.891-15.186 49.64-20.216 74.876-16.01l88.415-463.555c-116.336-21.674-239.205-7.669-350.961 45.067l187.67 434.498zM1231.328 810.035c30.589-165.676-42.52-301.417-42.52-301.417l.015-.008-353.95 153.634c.577.793 1.229 1.516 1.791 2.326 31.529 45.414 21.991 106.994-20.521 141.049l332.54 197.34c32.805-47.598 68.03-113.773 82.645-192.924zM834.302 661.506l208.602-142.957c-10.164-13.462-77.007-98.029-177.018-132.644l-97.269 235.302c25.413 4.403 49.124 18.214 65.685 40.299zM648.714 702.166l-459.61-107.527c-32.188 139.755-12.253 290.923 65.154 422.035l408.846-235.822c-15.628-24.149-20.048-52.436-14.39-78.686zM329.351 480.408l319.894 219.463c5.76-24.115 19.966-46.309 41.941-61.558.467-.321.957-.57 1.424-.884l-203.702-324.95c-.032.021-119.013 88.111-159.557 167.929zM664.928 783.789c-.08-.113-.137-.23-.217-.342L501.627 970.611c45.541 79.689 180.246 104.195 180.326 104.211l49.816-247.875c-26.154-4.84-50.482-19.582-66.841-43.158z"}),o.default.createElement("g",{fill:"#09FFFF"},o.default.createElement("path",{d:"M834.302 661.506l208.602-142.957c-10.164-13.462-77.007-98.029-177.018-132.644l-97.269 235.302c25.413 4.403 49.124 18.214 65.685 40.299zM648.714 702.166L275.1 614.759c-27.23 118.514-10.205 246.698 55.633 357.805l332.37-191.713c-15.627-24.148-20.047-52.435-14.389-78.685zM1203.143 540.826c-.667-1.643-1.286-3.302-1.977-4.941a407.91 407.91 0 0 0-1.864-4.524 480.081 480.081 0 0 0-10.519-22.734l-353.91 153.618c.577.793 1.229 1.516 1.791 2.326 31.529 45.414 21.991 106.994-20.521 141.049l332.54 197.34c30.612-44.416 63.313-105.016 79.433-177.232.979-4.604 1.991-9.209 2.844-13.844.063-.355.145-.695.208-1.049 3.922-21.762 6.308-43.795 7.265-65.922.112-3.041.232-6.084.29-9.088.015-.855.007-1.715.031-2.576 1.052-84.013-20.474-153.912-35.611-192.423zM693.09 637.132c22.891-15.186 49.64-20.216 74.876-16.01L839.838 244.3c-99.287-18.42-204.188-6.179-299.394 39.427L693.09 637.132zM813.893 807.359c-1.172.887-2.273 1.848-3.495 2.695-22.345 15.512-48.603 20.99-73.59 17.6l96.932 377.559c68.136-11.697 134.865-38.029 195.407-80.053 19.131-13.281 36.938-27.752 53.553-43.129L813.893 807.359zM329.351 480.408l319.894 219.463c5.76-24.115 19.966-46.309 41.941-61.558.467-.321.957-.57 1.424-.884l-203.702-324.95c-.032.021-119.013 88.111-159.557 167.929zM664.928 783.789c-.08-.113-.137-.23-.217-.342L501.627 970.611c45.541 79.689 180.246 104.195 180.326 104.211l49.816-247.875c-26.154-4.84-50.482-19.582-66.841-43.158z"})),o.default.createElement("g",{fill:"#119DFF"},o.default.createElement("path",{d:"M693.09 637.132c22.891-15.186 49.64-20.216 74.876-16.01l47.365-248.342c-74.041-13.599-152.315-3.921-222.966 31.139L693.09 637.132zM834.302 661.506l208.602-142.957c-10.107-13.39-76.34-97.101-175.474-132.053-.523-.177-1.036-.382-1.559-.559l-97.254 235.27c25.413 4.403 49.124 18.214 65.685 40.299zM648.714 702.166l-246.229-57.605c-19.871 87.053-7.16 181.197 41.556 262.656l219.063-126.365c-15.628-24.149-20.048-52.436-14.39-78.686zM1068.493 560.841l-233.62 101.403c.577.793 1.229 1.516 1.791 2.326 31.529 45.414 21.991 106.994-20.521 141.049l221.569 131.486c79.858-107.585 93.889-253.884 30.781-376.264zM436.642 554.016l212.603 145.855c5.76-24.115 19.966-46.309 41.941-61.558.467-.321.957-.57 1.424-.884L558.337 423.24c-3.784 2.422-7.576 4.841-11.298 7.429-47.605 33.046-84.598 75.627-110.397 123.347zM813.893 807.359c-1.172.887-2.273 1.848-3.495 2.695-22.345 15.512-48.603 20.99-73.59 17.6l64.246 250.262c53.496-7.561 106.092-27.311 153.497-60.221 13.017-9.039 25.158-18.85 36.591-29.223L813.893 807.359zM664.928 783.789c-.08-.113-.137-.23-.217-.342L501.627 970.611c7.223 12.639 16.704 23.879 27.519 33.867a355.976 355.976 0 0 0 107.989 58.461c.619.201 1.205.377 1.816.578 3.624 1.189 7.271 2.283 10.928 3.352 2.859.836 5.551 1.59 8.114 2.281 4.002 1.078 7.995 2.139 12.021 3.078.306.063.58.129.868.199 3.68.846 7.392 1.551 11.097 2.275l49.791-247.756c-26.155-4.839-50.483-19.581-66.842-43.157z"})),o.default.createElement("g",{fill:"#09FFFF"},o.default.createElement("path",{d:"M664.928 783.789c-.08-.113-.137-.23-.217-.342l-72.41 83.104c31.81 35.506 73.583 58.213 118.081 66.811l21.389-106.414c-26.156-4.841-50.484-19.583-66.843-43.159zM629.277 549.13c-32.862 22.815-57.297 53.224-72.634 87.215l92.602 63.526c5.76-24.115 19.966-46.309 41.941-61.558.467-.321.957-.57 1.424-.884l-57.676-92.016c-1.896 1.226-3.792 2.423-5.657 3.717zM813.893 807.359c-1.172.887-2.273 1.848-3.495 2.695-22.345 15.512-48.603 20.99-73.59 17.6l28.024 109.162c37.33-2.428 74.508-14.703 107.475-37.588a214.348 214.348 0 0 0 17.902-13.891l-76.316-77.978zM648.714 702.166l-105.796-24.75c-11.763 52.371-3.824 108.988 26.001 157.76l94.185-54.324c-15.628-24.149-20.048-52.436-14.39-78.686zM693.09 637.132c22.891-15.186 49.64-20.216 74.876-16.01l20.353-106.699c-46.2-8.264-95.107-1.326-138.641 22.208l43.412 100.501zM834.302 661.506l89.645-61.435c-28.821-40.231-69.132-67.489-113.355-80.389l-41.974 101.525c25.412 4.403 49.123 18.214 65.684 40.299zM935.759 618.455l-100.886 43.79c.577.793 1.229 1.516 1.791 2.326 31.529 45.414 21.991 106.994-20.521 141.049l96.483 57.26c57.746-67.288 68.433-165.378 23.133-244.425z"})))};t.default=u},1978:function(e,t,r){"use strict";var n=r("19b2");e.exports=function(e){var t=e.marker,r=t.sizeref||1,i=t.sizemin||0,o="area"===t.sizemode?function(e){return Math.sqrt(e/r)}:function(e){return e/r};return function(e){var t=o(e/2);return n(t)&&t>0?Math.max(t,i):0}}},1999:function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("bb71"),a=r("371e"),s=r("fc26"),l=s.strTranslate,u=r("83d1"),c=r("d115"),f=r("0379"),p=r("72a4"),d=r("63dc").OPPOSITE_SIDE,h=/ [XY][0-9]* /;function v(e,t,r){var v,m=r.propContainer,g=r.propName,y=r.placeholder,b=r.traceIndex,x=r.avoid||{},A=r.attributes,w=r.transform,_=r.containerGroup,E=e._fullLayout,k=1,T=!1,C=m.title,S=(C&&C.text?C.text:"").trim(),O=C&&C.font?C.font:{},M=O.family,P=O.size,B=O.color;"title.text"===g?v="titleText":-1!==g.indexOf("axis")?v="axisTitleText":g.indexOf(!0)&&(v="colorbarTitleText");var L=e._context.edits[v];""===S?k=0:S.replace(h," % ")===y.replace(h," % ")&&(k=.2,T=!0,L||(S="")),r._meta?S=s.templateString(S,r._meta):E._meta&&(S=s.templateString(S,E._meta));var D=S||L;_||(_=s.ensureSingle(E._infolayer,"g","g-"+t));var I=_.selectAll("text").data(D?[0]:[]);if(I.enter().append("text"),I.text(S).attr("class",t),I.exit().remove(),!D)return _;function j(e){s.syncOrAsync([R,F],e)}function R(t){var r;return w?(r="",w.rotate&&(r+="rotate("+[w.rotate,A.x,A.y]+")"),w.offset&&(r+=l(0,w.offset))):r=null,t.attr("transform",r),t.style({"font-family":M,"font-size":n.round(P,2)+"px",fill:c.rgb(B),opacity:k*c.opacity(B),"font-weight":o.fontWeight}).attr(A).call(f.convertToTspans,e),o.previousPromises(e)}function F(e){var t=n.select(e.node().parentNode);if(x&&x.selection&&x.side&&S){t.attr("transform",null);var r=d[x.side],o="left"===x.side||"top"===x.side?-1:1,a=i(x.pad)?x.pad:2,c=u.bBox(t.node()),f={left:0,top:0,right:E.width,bottom:E.height},p=x.maxShift||o*(f[x.side]-c[x.side]),h=0;if(p<0)h=p;else{var v=x.offsetLeft||0,m=x.offsetTop||0;c.left-=v,c.right-=v,c.top-=m,c.bottom-=m,x.selection.each((function(){var e=u.bBox(this);s.bBoxIntersect(c,e,a)&&(h=Math.max(h,o*(e[x.side]-c[r])+a))})),h=Math.min(p,h)}if(h>0||p<0){var g={left:[-h,0],right:[h,0],top:[0,-h],bottom:[0,h]}[x.side];t.attr("transform",l(g[0],g[1]))}}}function N(){k=0,T=!0,I.text(y).on("mouseover.opacity",(function(){n.select(this).transition().duration(p.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){n.select(this).transition().duration(p.HIDE_PLACEHOLDER).style("opacity",0)}))}return I.call(j),L&&(S?I.on(".opacity",null):N(),I.call(f.makeEditable,{gd:e}).on("edit",(function(t){void 0!==b?a.call("_guiRestyle",e,g,t,b):a.call("_guiRelayout",e,g,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(j)})).on("input",(function(e){this.text(e||" ").call(f.positionText,A.x,A.y)}))),I.classed("js-placeholder",T),_}e.exports={draw:v}},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"19b2":function(e,t,r){"use strict";var n=r("e9b4");e.exports=function(e){var t=typeof e;if("string"===t){var r=e;if(e=+e,0===e&&n(r))return!1}else if("number"!==t)return!1;return e-e<1}},"19e1":function(e,t,r){"use strict";var n,i,o,a=r("d3dc").mod;function s(e,t,r,n,i,o,a,s){var l=r-e,u=i-e,c=a-i,f=n-t,p=o-t,d=s-o,h=l*d-c*f;if(0===h)return null;var v=(u*d-c*p)/h,m=(u*f-l*p)/h;return m<0||m>1||v<0||v>1?null:{x:e+l*v,y:t+f*v}}function l(e,t,r,n,i){var o=n*e+i*t;if(o<0)return n*n+i*i;if(o>r){var a=n-e,s=i-t;return a*a+s*s}var l=n*t-i*e;return l*l/r}t.segmentsIntersect=s,t.segmentDistance=function(e,t,r,n,i,o,a,u){if(s(e,t,r,n,i,o,a,u))return 0;var c=r-e,f=n-t,p=a-i,d=u-o,h=c*c+f*f,v=p*p+d*d,m=Math.min(l(c,f,h,i-e,o-t),l(c,f,h,a-e,u-t),l(p,d,v,e-i,t-o),l(p,d,v,r-i,n-o));return Math.sqrt(m)},t.getTextLocation=function(e,t,r,s){if(e===i&&s===o||(n={},i=e,o=s),n[r])return n[r];var l=e.getPointAtLength(a(r-s/2,t)),u=e.getPointAtLength(a(r+s/2,t)),c=Math.atan((u.y-l.y)/(u.x-l.x)),f=e.getPointAtLength(a(r,t)),p=(4*f.x+l.x+u.x)/6,d=(4*f.y+l.y+u.y)/6,h={x:p,y:d,theta:c};return n[r]=h,h},t.clearLocationCache=function(){i=null},t.getVisibleSegment=function(e,t,r){var n,i,o=t.left,a=t.right,s=t.top,l=t.bottom,u=0,c=e.getTotalLength(),f=c;function p(t){var r=e.getPointAtLength(t);0===t?n=r:t===c&&(i=r);var u=r.x<o?o-r.x:r.x>a?r.x-a:0,f=r.y<s?s-r.y:r.y>l?r.y-l:0;return Math.sqrt(u*u+f*f)}var d=p(u);while(d){if(u+=d+r,u>f)return;d=p(u)}d=p(f);while(d){if(f-=d+r,u>f)return;d=p(f)}return{min:u,max:f,len:f-u,total:c,isClosed:0===u&&f===c&&Math.abs(n.x-i.x)<.1&&Math.abs(n.y-i.y)<.1}},t.findPointOnPath=function(e,t,r,n){n=n||{};var i,o,a,s=n.pathLength||e.getTotalLength(),l=n.tolerance||.001,u=n.iterationLimit||30,c=e.getPointAtLength(0)[r]>e.getPointAtLength(s)[r]?-1:1,f=0,p=0,d=s;while(f<u){if(i=(p+d)/2,o=e.getPointAtLength(i),a=o[r]-t,Math.abs(a)<l)return o;c*a>0?d=i:p=i,f++}return o}},"1a06":function(e,t,r){"use strict";var n=r("fc26"),i=r("41e0"),o=r("5793"),a=r("86df"),s=r("d61b"),l=r("41f8"),u=r("43ef");e.exports=function(e,t,r,c){function f(r,i){return n.coerce(e,t,u,r,i)}function p(r){return n.coerce2(e,t,u,r)}var d=i(e,t,f,c);if(d){o(e,t,c,f),f("text"),f("hovertext"),f("hovertemplate"),f("hoverongaps");var h="constraint"===f("contours.type");f("connectgaps",n.isArray1D(t.z)),h?a(e,t,f,c,r):(s(e,t,f,p),l(e,t,f,c))}else t.visible=!1}},"1a23":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var n=r("ab5b"),i=f(n),o=r("fc55"),a=f(o),s=r("a7cc"),l=c(s),u=r("4ccf");function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}var p=t.SketchFields=function(e){var t=e.onChange,r=e.rgb,n=e.hsl,o=e.hex,s=e.disableAlpha,c=(0,a.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),f=function(e,i){e.hex?l.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},i):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},i):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:n.h,s:n.s,l:n.l,a:e.a,source:"rgb"},i))};return i.default.createElement("div",{style:c.fields,className:"flexbox-fix"},i.default.createElement("div",{style:c.double},i.default.createElement(u.EditableInput,{style:{input:c.input,label:c.label},label:"hex",value:o.replace("#",""),onChange:f})),i.default.createElement("div",{style:c.single},i.default.createElement(u.EditableInput,{style:{input:c.input,label:c.label},label:"r",value:r.r,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:c.single},i.default.createElement(u.EditableInput,{style:{input:c.input,label:c.label},label:"g",value:r.g,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:c.single},i.default.createElement(u.EditableInput,{style:{input:c.input,label:c.label},label:"b",value:r.b,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:c.alpha},i.default.createElement(u.EditableInput,{style:{input:c.input,label:c.label},label:"a",value:Math.round(100*r.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=p},"1a2d":function(e,t,r){var n=r("42a2"),i=r("1310"),o="[object Map]";function a(e){return i(e)&&n(e)==o}e.exports=a},"1a3f":function(e,t,r){"use strict";var n=r("1f25"),i=r("8ff7"),o=r("ca39");function a(e){var t=e.length;if(0===t)return[];if(1===t)return[[0]];var r=e[0].length;return 0===r?[]:1===r?n(e):2===r?i(e):o(e,r)}e.exports=a},"1a40":function(e,t,r){"use strict";var n=r("6e58"),i=r("70e1").utcFormat,o=r("19b2"),a=r("fc26"),s=a.cleanNumber,l=a.ms2DateTime,u=a.dateTime2ms,c=a.ensureNumber,f=a.isArrayOrTypedArray,p=r("e806"),d=p.FP_SAFE,h=p.BADNUM,v=p.LOG_CLIP,m=p.ONEWEEK,g=p.ONEDAY,y=p.ONEHOUR,b=p.ONEMIN,x=p.ONESEC,A=r("3c1c"),w=r("d301"),_=w.HOUR_PATTERN,E=w.WEEKDAY_PATTERN;function k(e){return Math.pow(10,e)}function T(e){return null!==e&&void 0!==e}e.exports=function(e,t){t=t||{};var r=e._id||"x",p=r.charAt(0);function C(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],i=e.range[1];return.5*(n+i-2*v*Math.abs(n-i))}return h}function S(t,r,n,i){if((i||{}).msUTC&&o(t))return+t;var s=u(t,n||e.calendar);if(s===h){if(!o(t))return h;t=+t;var l=Math.floor(10*a.mod(t+.05,1)),c=Math.round(t-l/10);s=u(new Date(c))+l/10}return s}function O(t,r,n){return l(t,r,n||e.calendar)}function M(t){return e._categories[Math.round(t)]}function P(t){if(T(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"===typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return h}function B(e,t){for(var r=new Array(t),n=0;n<t;n++){var i=(e[0]||[])[n],o=(e[1]||[])[n];r[n]=L([i,o])}return r}function L(t){if(e._categoriesMap)return e._categoriesMap[t]}function D(e){var t=L(e);return void 0!==t?t:o(e)?+e:void 0}function I(e){return o(e)?+e:L(e)}function j(e,t,r){return n.round(r+t*e,2)}function R(e,t,r){return(e-r)/t}var F=function(t){return o(t)?j(t,e._m,e._b):h},N=function(t){return R(t,e._m,e._b)};if(e.rangebreaks){var z="y"===p;F=function(t){if(!o(t))return h;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=z;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,a=i*t,s=0,l=0;l<r;l++){var u=i*e._rangebreaks[l].min,c=i*e._rangebreaks[l].max;if(a<u)break;if(!(a>c)){s=a<(u+c)/2?l:l+1;break}s=l+1}var f=e._B[s]||0;return isFinite(f)?j(t,e._m2,f):0},N=function(t){var r=e._rangebreaks.length;if(!r)return R(t,e._m,e._b);for(var n=0,i=0;i<r;i++){if(t<e._rangebreaks[i].pmin)break;t>e._rangebreaks[i].pmax&&(n=i+1)}return R(t,e._m2,e._B[n])}}e.c2l="log"===e.type?C:c,e.l2c="log"===e.type?k:c,e.l2p=F,e.p2l=N,e.c2p="log"===e.type?function(e,t){return F(C(e,t))}:F,e.p2c="log"===e.type?function(e){return k(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=s,e.c2d=e.c2r=e.l2d=e.l2r=c,e.d2p=e.r2p=function(t){return e.l2p(s(t))},e.p2d=e.p2r=N,e.cleanPos=c):"log"===e.type?(e.d2r=e.d2l=function(e,t){return C(s(e),t)},e.r2d=e.r2c=function(e){return k(s(e))},e.d2c=e.r2l=s,e.c2d=e.l2r=c,e.c2r=C,e.l2d=k,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return k(N(e))},e.r2p=function(t){return e.l2p(s(t))},e.p2r=N,e.cleanPos=c):"date"===e.type?(e.d2r=e.r2d=a.identity,e.d2c=e.r2c=e.d2l=e.r2l=S,e.c2d=e.c2r=e.l2d=e.l2r=O,e.d2p=e.r2p=function(t,r,n){return e.l2p(S(t,0,n))},e.p2d=e.p2r=function(e,t,r){return O(N(e),t,r)},e.cleanPos=function(t){return a.cleanDate(t,h,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=P,e.r2d=e.c2d=e.l2d=M,e.d2r=e.d2l_noadd=D,e.r2c=function(t){var r=I(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=c,e.r2l=I,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return M(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"===typeof e&&""!==e?e:c(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=M,e.d2r=e.d2l_noadd=D,e.r2c=function(t){var r=D(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=L,e.l2r=e.c2r=c,e.r2l=D,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return M(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"===typeof e&&""!==e?e:c(e)},e.setupMultiCategory=function(n){var i,o,s=e._traceIndices,l=e._matchGroup;if(l&&0===e._categories.length)for(var u in l)if(u!==r){var c=t[A.id2name(u)];s=s.concat(c._traceIndices)}var d=[[0,{}],[0,{}]],h=[];for(i=0;i<s.length;i++){var v=n[s[i]];if(p in v){var m=v[p],g=v._length||a.minRowLength(m);if(f(m[0])&&f(m[1]))for(o=0;o<g;o++){var y=m[0][o],b=m[1][o];T(y)&&T(b)&&(h.push([y,b]),y in d[0][1]||(d[0][1][y]=d[0][0]++),b in d[1][1]||(d[1][1][b]=d[1][0]++))}}}for(h.sort((function(e,t){var r=d[0][1],n=r[e[0]]-r[t[0]];if(n)return n;var i=d[1][1];return i[e[1]]-i[t[1]]})),i=0;i<h.length;i++)P(h[i])}),e.fraction2r=function(t){var r=e.r2l(e.range[0]),n=e.r2l(e.range[1]);return e.l2r(r+t*(n-r))},e.r2fraction=function(t){var r=e.r2l(e.range[0]),n=e.r2l(e.range[1]);return(e.r2l(t)-r)/(n-r)},e.cleanRange=function(t,r){r||(r={}),t||(t="range");var n,i,s=a.nestedProperty(e,t).get();if(i="date"===e.type?a.dfltRange(e.calendar):"y"===p?w.DFLTRANGEY:r.dfltRange||w.DFLTRANGEX,i=i.slice(),"tozero"!==e.rangemode&&"nonnegative"!==e.rangemode||(i[0]=0),s&&2===s.length)for("date"!==e.type||e.autorange||(s[0]=a.cleanDate(s[0],h,e.calendar),s[1]=a.cleanDate(s[1],h,e.calendar)),n=0;n<2;n++)if("date"===e.type){if(!a.isDateTime(s[n],e.calendar)){e[t]=i;break}if(e.r2l(s[0])===e.r2l(s[1])){var l=a.constrain(e.r2l(s[0]),a.MIN_MS+1e3,a.MAX_MS-1e3);s[0]=e.l2r(l-1e3),s[1]=e.l2r(l+1e3);break}}else{if(!o(s[n])){if(!o(s[1-n])){e[t]=i;break}s[n]=s[1-n]*(n?10:.1)}if(s[n]<-d?s[n]=-d:s[n]>d&&(s[n]=d),s[0]===s[1]){var u=Math.max(1,Math.abs(1e-6*s[0]));s[0]-=u,s[1]+=u}}else a.nestedProperty(e,t).set(i)},e.setScale=function(r){var n=t._size;if(e.overlaying){var i=A.getFromId({_fullLayout:t},e.overlaying);e.domain=i.domain}var o=r&&e._r?"_r":"range",a=e.calendar;e.cleanRange(o);var s,l,u=e.r2l(e[o][0],a),c=e.r2l(e[o][1],a),f="y"===p;if((f?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks)&&(e._rangebreaks=e.locateBreaks(Math.min(u,c),Math.max(u,c)),e._rangebreaks.length)){for(s=0;s<e._rangebreaks.length;s++)l=e._rangebreaks[s],e._lBreaks+=Math.abs(l.max-l.min);var d=f;u>c&&(d=!d),d&&e._rangebreaks.reverse();var h=d?-1:1;for(e._m2=h*e._length/(Math.abs(c-u)-e._lBreaks),e._B.push(-e._m2*(f?c:u)),s=0;s<e._rangebreaks.length;s++)l=e._rangebreaks[s],e._B.push(e._B[e._B.length-1]-h*e._m2*(l.max-l.min));for(s=0;s<e._rangebreaks.length;s++)l=e._rangebreaks[s],l.pmin=F(l.min),l.pmax=F(l.max)}if(!isFinite(e._m)||!isFinite(e._b)||e._length<0)throw t._replotting=!1,new Error("Something went wrong with axis scaling")},e.maskBreaks=function(t){for(var r,n,i,o,l,u=e.rangebreaks||[],c=0;c<u.length;c++){var f=u[c];if(f.enabled)if(f.bounds){var p=f.pattern;switch(r=a.simpleMap(f.bounds,p?s:e.d2c),n=r[0],i=r[1],p){case E:l=new Date(t),o=l.getUTCDay(),n>i&&(i+=7,o<n&&(o+=7));break;case _:l=new Date(t);var d=l.getUTCHours(),v=l.getUTCMinutes(),m=l.getUTCSeconds(),g=l.getUTCMilliseconds();o=d+(v/60+m/3600+g/36e5),n>i&&(i+=24,o<n&&(o+=24));break;case"":o=t;break}if(o>=n&&o<i)return h}else for(var y=a.simpleMap(f.values,e.d2c).sort(a.sorterAsc),b=0;b<y.length;b++)if(n=y[b],i=n+f.dvalue,t>=n&&t<i)return h}return t},e.locateBreaks=function(t,r){var n,i,o,l,u=[];if(!e.rangebreaks)return u;var c=e.rangebreaks.slice().sort((function(e,t){return e.pattern===E&&t.pattern===_?-1:t.pattern===E&&e.pattern===_?1:0})),f=function(e,n){if(e=a.constrain(e,t,r),n=a.constrain(n,t,r),e!==n){for(var i=!0,o=0;o<u.length;o++){var s=u[o];e<s.max&&n>=s.min&&(e<s.min&&(s.min=e),n>s.max&&(s.max=n),i=!1)}i&&u.push({min:e,max:n})}};for(n=0;n<c.length;n++){var p=c[n];if(p.enabled)if(p.bounds){var d=t,h=r;p.pattern&&(d=Math.floor(d)),i=a.simpleMap(p.bounds,p.pattern?s:e.r2l),o=i[0],l=i[1];var v,A,w=new Date(d);switch(p.pattern){case E:A=m,v=(l-o+(l<o?7:0))*g,d+=o*g-(w.getUTCDay()*g+w.getUTCHours()*y+w.getUTCMinutes()*b+w.getUTCSeconds()*x+w.getUTCMilliseconds());break;case _:A=g,v=(l-o+(l<o?24:0))*y,d+=o*y-(w.getUTCHours()*y+w.getUTCMinutes()*b+w.getUTCSeconds()*x+w.getUTCMilliseconds());break;default:d=Math.min(i[0],i[1]),h=Math.max(i[0],i[1]),A=h-d,v=A}for(var k=d;k<h;k+=A)f(k,k+v)}else for(var T=a.simpleMap(p.values,e.d2c),C=0;C<T.length;C++)o=T[C],l=o+p.dvalue,f(o,l)}return u.sort((function(e,t){return e.min-t.min})),u},e.makeCalcdata=function(t,r,n){var i,o,s,l,u=e.type,c="date"===u&&t[r+"calendar"];if(r in t){if(i=t[r],l=t._length||a.minRowLength(i),a.isTypedArray(i)&&("linear"===u||"log"===u)){if(l===i.length)return i;if(i.subarray)return i.subarray(0,l)}if("multicategory"===u)return B(i,l);for(o=new Array(l),s=0;s<l;s++)o[s]=e.d2c(i[s],0,c,n)}else{var f=r+"0"in t?e.d2c(t[r+"0"],0,c):0,p=t["d"+r]?Number(t["d"+r]):1;for(i=t[{x:"y",y:"x"}[r]],l=t._length||i.length,o=new Array(l),s=0;s<l;s++)o[s]=f+s*p}if(e.rangebreaks)for(s=0;s<l;s++)o[s]=e.maskBreaks(o[s]);return o},e.isValidRange=function(t){return Array.isArray(t)&&2===t.length&&o(e.r2l(t[0]))&&o(e.r2l(t[1]))},e.isPtWithinRange=function(t,r){var n=e.c2l(t[p],null,r),i=e.r2l(e.range[0]),o=e.r2l(e.range[1]);return i<o?i<=n&&n<=o:o<=n&&n<=i},e._emptyCategories=function(){e._categories=[],e._categoriesMap={}},e.clearCalc=function(){var r=e._matchGroup;if(r){var n=null,i=null;for(var o in r){var a=t[A.id2name(o)];if(a._categories){n=a._categories,i=a._categoriesMap;break}}n&&i?(e._categories=n,e._categoriesMap=i):e._emptyCategories()}else e._emptyCategories();if(e._initialCategories)for(var s=0;s<e._initialCategories.length;s++)P(e._initialCategories[s])},e.sortByInitialCategories=function(){var n=[];if(e._emptyCategories(),e._initialCategories)for(var i=0;i<e._initialCategories.length;i++)P(e._initialCategories[i]);n=n.concat(e._traceIndices);var o=e._matchGroup;for(var a in o)if(r!==a){var s=t[A.id2name(a)];s._categories=e._categories,s._categoriesMap=e._categoriesMap,n=n.concat(s._traceIndices)}return n};var U=t._d3locale;"date"===e.type&&(e._dateFormat=U?U.timeFormat:i,e._extraFormat=t._extraFormat),e._separators=t.separators,e._numFormat=U?U.numberFormat:n.format,delete e._minDtick,delete e._forceTick0}},"1a5e":function(e,t,r){"use strict";e.exports={TEXTPAD:3,eventDataKeys:["value","label"]}},"1a7e":function(e,t,r){"use strict";function n(e){return null!=e&&""!=e}e.exports={notEmptyKey:n}},"1a88":function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var n=Math.PI,i=2*n,o=1e-6,a=i-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function l(){return new s}s.prototype=l.prototype={constructor:s,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,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,r,i,a){e=+e,t=+t,r=+r,i=+i,a=+a;var s=this._x1,l=this._y1,u=r-e,c=i-t,f=s-e,p=l-t,d=f*f+p*p;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>o)if(Math.abs(p*u-c*f)>o&&a){var h=r-s,v=i-l,m=u*u+c*c,g=h*h+v*v,y=Math.sqrt(m),b=Math.sqrt(d),x=a*Math.tan((n-Math.acos((m+d-g)/(2*y*b)))/2),A=x/b,w=x/y;Math.abs(A-1)>o&&(this._+="L"+(e+A*f)+","+(t+A*p)),this._+="A"+a+","+a+",0,0,"+ +(p*h>f*v)+","+(this._x1=e+w*u)+","+(this._y1=t+w*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,r,s,l,u){e=+e,t=+t,r=+r,u=!!u;var c=r*Math.cos(s),f=r*Math.sin(s),p=e+c,d=t+f,h=1^u,v=u?s-l:l-s;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+p+","+d:(Math.abs(this._x1-p)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+p+","+d),r&&(v<0&&(v=v%i+i),v>a?this._+="A"+r+","+r+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+r+","+r+",0,1,"+h+","+(this._x1=p)+","+(this._y1=d):v>o&&(this._+="A"+r+","+r+",0,"+ +(v>=n)+","+h+","+(this._x1=e+r*Math.cos(l))+","+(this._y1=t+r*Math.sin(l))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var u=l,c=Array.prototype.slice,f=function(e){return function(){return e}};function p(e){return e[0]}function d(e){return e[1]}function h(e){return e.source}function v(e){return e.target}function m(e){var t=h,r=v,n=p,i=d,o=null;function a(){var a,s=c.call(arguments),l=t.apply(this,s),f=r.apply(this,s);if(o||(o=a=u()),e(o,+n.apply(this,(s[0]=l,s)),+i.apply(this,s),+n.apply(this,(s[0]=f,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(r=e,a):r},a.x=function(e){return arguments.length?(n="function"===typeof e?e:f(+e),a):n},a.y=function(e){return arguments.length?(i="function"===typeof e?e:f(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function g(e,t,r,n,i){e.moveTo(t,r),e.bezierCurveTo(t=(t+n)/2,r,t,i,n,i)}function y(){return m(g)}},"1a8c":function(e,t){function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=r},"1a94":function(e,t,r){"use strict";e.exports=function(e){if("function"!==typeof e)throw new TypeError(e+" is not a function");return e}},"1aea":function(e,t,r){"use strict";var n=r("6e58"),i=r("a5c4"),o=r("4efe"),a=r("0f37"),s=r("9676").makeDragBox,l=r("d301").DRAGGERSIZE;t.initInteractions=function(e){var r=e._fullLayout;if(e._context.staticPlot)n.select(e).selectAll(".drag").remove();else if(r._has("cartesian")||r._has("splom")){var a=Object.keys(r._plots||{}).sort((function(e,t){if((r._plots[e].mainplot&&!0)===(r._plots[t].mainplot&&!0)){var n=e.split("y"),i=t.split("y");return n[0]===i[0]?Number(n[1]||1)-Number(i[1]||1):Number(n[0]||1)-Number(i[0]||1)}return r._plots[e].mainplot?1:-1}));a.forEach((function(t){var n=r._plots[t],a=n.xaxis,u=n.yaxis;if(!n.mainplot){var c=s(e,n,a._offset,u._offset,a._length,u._length,"ns","ew");c.onmousemove=function(r){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===t&&e._fullLayout._plots[t]&&i.hover(e,r,t)},i.hover(e,r,t),e._fullLayout._lasthover=c,e._fullLayout._hoversubplot=t},c.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,o.unhover(e,t))},e._context.showAxisDragHandles&&(s(e,n,a._offset-l,u._offset-l,l,l,"n","w"),s(e,n,a._offset+a._length,u._offset-l,l,l,"n","e"),s(e,n,a._offset-l,u._offset+u._length,l,l,"s","w"),s(e,n,a._offset+a._length,u._offset+u._length,l,l,"s","e"))}if(e._context.showAxisDragHandles){if(t===a._mainSubplot){var f=a._mainLinePosition;"top"===a.side&&(f-=l),s(e,n,a._offset+.1*a._length,f,.8*a._length,l,"","ew"),s(e,n,a._offset,f,.1*a._length,l,"","w"),s(e,n,a._offset+.9*a._length,f,.1*a._length,l,"","e")}if(t===u._mainSubplot){var p=u._mainLinePosition;"right"!==u.side&&(p-=l),s(e,n,p,u._offset+.1*u._length,l,.8*u._length,"ns",""),s(e,n,p,u._offset+.9*u._length,l,.1*u._length,"s",""),s(e,n,p,u._offset,l,.1*u._length,"n","")}}}));var u=r._hoverlayer.node();u.onmousemove=function(t){t.target=e._fullLayout._lasthover,i.hover(e,t,r._hoversubplot)},u.onclick=function(t){t.target=e._fullLayout._lasthover,i.click(e,t)},u.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},t.updateFx(e)}},t.updateFx=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";a(t._draggers,r)}},"1b00":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}))};e.exports=s},"1b06":function(e,t){function r(e,t,r,n){var i=t[0],o=t[1],a=t[2];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=a+n*(r[2]-a),e}e.exports=r},"1b23":function(e,t,r){"use strict";function n(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}e.exports=n},"1b2b":function(e,t){e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],f=t[u];if(i=r?r.call(n,c,f,u):void 0,!1===i||void 0===i&&c!==f)return!1}return!0}},"1b6a":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("e806").BADNUM;e.exports=function(e,t,r,a){var s,l,u,c,f,p;function d(e){if(n(e))return+e}if(t&&t.transpose){for(s=0,f=0;f<e.length;f++)s=Math.max(s,e[f].length);if(0===s)return!1;u=function(e){return e.length},c=function(e,t,r){return(e[r]||[])[t]}}else s=e.length,u=function(e,t){return e[t].length},c=function(e,t,r){return(e[t]||[])[r]};var h=function(e,t,r){return t===o||r===o?o:c(e,t,r)};function v(e){if(t&&"carpet"!==t.type&&"contourcarpet"!==t.type&&e&&"category"===e.type&&t["_"+e._id.charAt(0)].length){var r=e._id.charAt(0),n={},a=t["_"+r+"CategoryMap"]||t[r];for(f=0;f<a.length;f++)n[a[f]]=f;return function(t){var r=n[e._categories[t]];return r+1?r:o}}return i.identity}var m=v(r),g=v(a);a&&"category"===a.type&&(s=a._categories.length);var y=new Array(s);for(f=0;f<s;f++)for(l=r&&"category"===r.type?r._categories.length:u(e,f),y[f]=new Array(l),p=0;p<l;p++)y[f][p]=d(h(e,g(f),m(p)));return y}},"1b88":function(e,t,r){"use strict";var n=r("6e58"),i=r("ae13"),o=r("ec20"),a=r("4607");function s(e){var t;if("string"===typeof e){if(t=document.getElementById(e),null===t)throw new Error("No DOM element with id '"+e+"' exists on the page.");return t}if(null===e||void 0===e)throw new Error("DOM element provided is null or undefined");return e}function l(e){var t=n.select(e);return t.node()instanceof HTMLElement&&t.size()&&t.classed("js-plotly-plot")}function u(e){var t=e&&e.parentNode;t&&t.removeChild(e)}function c(e,t){f("global",e,t)}function f(e,t,r){var n="plotly.js-style-"+e,o=document.getElementById(n);o||(o=document.createElement("style"),o.setAttribute("id",n),o.appendChild(document.createTextNode("")),document.head.appendChild(o));var a=o.sheet;a.insertRule?a.insertRule(t+"{"+r+"}",0):a.addRule?a.addRule(t,r,0):i.warn("addStyleRule failed")}function p(e){var t="plotly.js-style-"+e,r=document.getElementById(t);r&&u(r)}function d(e){var t=v(e),r=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return t.forEach((function(e){var t=h(e);if(t){var n=o.convertCssMatrix(t);r=a.multiply(r,r,n)}})),r}function h(e){var t=window.getComputedStyle(e,null),r=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform");return"none"===r?null:r.replace("matrix","").replace("3d","").slice(1,-1).split(",").map((function(e){return+e}))}function v(e){var t=[];while(m(e))t.push(e),e=e.parentNode;return t}function m(e){return e&&(e instanceof Element||e instanceof HTMLElement)}function g(e,t){return e&&t&&e.x===t.x&&e.y===t.y&&e.top===t.top&&e.left===t.left&&e.right===t.right&&e.bottom===t.bottom}e.exports={getGraphDiv:s,isPlotDiv:l,removeElement:u,addStyleRule:c,addRelatedStyleRule:f,deleteRelatedStyleRule:p,getFullTransformMatrix:d,getElementTransformMatrix:h,getElementAndAncestors:v,equalDomRects:g}},"1bac":function(e,t,r){var n=r("7d1f"),i=r("a029"),o=r("9934");function a(e){return n(e,o,i)}e.exports=a},"1bbd":function(e,t,r){var n=r("0230"),i=r("320c"),o=n.instance();function a(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Thai",jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=this._t2gYear(t.year());return o.leapYear(e)},weekOfYear:function(e,t,r){var i=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=this._t2gYear(i.year());return o.weekOfYear(e,i.month(),i.day())},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);e=this._t2gYear(i.year());return o.toJD(e,i.month(),i.day())},fromJD:function(e){var t=o.fromJD(e),r=this._g2tYear(t.year());return this.newDate(r,t.month(),t.day())},_t2gYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)},_g2tYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)}}),n.calendars.thai=a},"1bbe":function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("fc26"),a=r("7559"),s=new DOMParser;function l(e){this.container=e.container,this.element=document.createElement("div"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var u=l.prototype;function c(e,t){var r=e._fullLayout,i=new l({graphInfo:e,container:r._modebardiv.node(),buttons:t});return r._privateplot&&n.select(i.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),i}u.update=function(e,t){this.graphInfo=e;var r=this.graphInfo._context,n=this.graphInfo._fullLayout,i="modebar-"+n._uid;this.element.setAttribute("id",i),this._uid=i,this.element.className="modebar","hover"===r.displayModeBar&&(this.element.className+=" modebar--hover ease-bg"),"v"===n.modebar.orientation&&(this.element.className+=" vertical",t=t.reverse());var a=n.modebar,s="hover"===r.displayModeBar?".js-plotly-plot .plotly:hover ":"";o.deleteRelatedStyleRule(i),o.addRelatedStyleRule(i,s+"#"+i+" .modebar-group","background-color: "+a.bgcolor),o.addRelatedStyleRule(i,"#"+i+" .modebar-btn .icon path","fill: "+a.color),o.addRelatedStyleRule(i,"#"+i+" .modebar-btn:hover .icon path","fill: "+a.activecolor),o.addRelatedStyleRule(i,"#"+i+" .modebar-btn.active .icon path","fill: "+a.activecolor);var l=!this.hasButtons(t),u=this.hasLogo!==r.displaylogo,c=this.locale!==r.locale;if(this.locale=r.locale,(l||u||c)&&(this.removeAllButtons(),this.updateButtons(t),r.watermark||r.displaylogo)){var f=this.getLogo();r.watermark&&(f.className=f.className+" watermark"),"v"===n.modebar.orientation?this.element.insertBefore(f,this.element.childNodes[0]):this.element.appendChild(f),this.hasLogo=!0}this.updateActiveButton()},u.updateButtons=function(e){var t=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(e){var r=t.createGroup();e.forEach((function(e){var n=e.name;if(!n)throw new Error("must provide button 'name' in button config");if(-1!==t.buttonsNames.indexOf(n))throw new Error("button name '"+n+"' is taken");t.buttonsNames.push(n);var i=t.createButton(e);t.buttonElements.push(i),r.appendChild(i)})),t.element.appendChild(r)}))},u.createGroup=function(){var e=document.createElement("div");return e.className="modebar-group",e},u.createButton=function(e){var t=this,r=document.createElement("a");r.setAttribute("rel","tooltip"),r.className="modebar-btn";var i=e.title;void 0===i?i=e.name:"function"===typeof i&&(i=i(this.graphInfo)),(i||0===i)&&r.setAttribute("data-title",i),void 0!==e.attr&&r.setAttribute("data-attr",e.attr);var o=e.val;void 0!==o&&("function"===typeof o&&(o=o(this.graphInfo)),r.setAttribute("data-val",o));var s=e.click;if("function"!==typeof s)throw new Error("must provide button 'click' function in button config");r.addEventListener("click",(function(r){e.click(t.graphInfo,r),t.updateActiveButton(r.currentTarget)})),r.setAttribute("data-toggle",e.toggle||!1),e.toggle&&n.select(r).classed("active",!0);var l=e.icon;return"function"===typeof l?r.appendChild(l()):r.appendChild(this.createIcon(l||a.question)),r.setAttribute("data-gravity",e.gravity||"n"),r},u.createIcon=function(e){var t,r=i(e.height)?Number(e.height):e.ascent-e.descent,n="http://www.w3.org/2000/svg";if(e.path){t=document.createElementNS(n,"svg"),t.setAttribute("viewBox",[0,0,e.width,r].join(" ")),t.setAttribute("class","icon");var o=document.createElementNS(n,"path");o.setAttribute("d",e.path),e.transform?o.setAttribute("transform",e.transform):void 0!==e.ascent&&o.setAttribute("transform","matrix(1 0 0 -1 0 "+e.ascent+")"),t.appendChild(o)}if(e.svg){var a=s.parseFromString(e.svg,"application/xml");t=a.childNodes[0]}return t.setAttribute("height","1em"),t.setAttribute("width","1em"),t},u.updateActiveButton=function(e){var t=this.graphInfo._fullLayout,r=void 0!==e?e.getAttribute("data-attr"):null;this.buttonElements.forEach((function(e){var i=e.getAttribute("data-val")||!0,a=e.getAttribute("data-attr"),s="true"===e.getAttribute("data-toggle"),l=n.select(e);if(s)a===r&&l.classed("active",!l.classed("active"));else{var u=null===a?a:o.nestedProperty(t,a).get();l.classed("active",u===i)}}))},u.hasButtons=function(e){var t=this.buttons;if(!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r){if(e[r].length!==t[r].length)return!1;for(var n=0;n<e[r].length;n++)if(e[r][n].name!==t[r][n].name)return!1}return!0},u.getLogo=function(){var e=this.createGroup(),t=document.createElement("a");return t.href="https://plotly.com/",t.target="_blank",t.setAttribute("data-title",o._(this.graphInfo,"Produced with Plotly")),t.className="modebar-btn plotlyjsicon modebar-btn--logo",t.appendChild(this.createIcon(a.newplotlylogo)),e.appendChild(t),e},u.removeAllButtons=function(){while(this.element.firstChild)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},u.destroy=function(){o.removeElement(this.container.querySelector(".modebar")),o.deleteRelatedStyleRule(this._uid)},e.exports=c},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1bea":function(e,t,r){"use strict";e.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},"1bef":function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("e806").BADNUM;e.exports=function(e,t){var r,a=e.cd,s=e.xaxis,l=e.yaxis,u=[],c=a[0].trace;if(!i.hasMarkers(c))return[];if(!1===t)for(r=0;r<a.length;r++)a[r].selected=0;else for(r=0;r<a.length;r++){var f=a[r],p=f.lonlat;if(p[0]!==o){var d=[n.modHalf(p[0],360),p[1]],h=[s.c2p(d),l.c2p(d)];t.contains(h,null,r,e)?(u.push({pointNumber:r,lon:p[0],lat:p[1]}),f.selected=1):f.selected=0}}return u}},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c0b8":function(e,t,r){"use strict";var n=r("fc26"),i=r("8f38"),o=r("5844"),a=r("4c66");e.exports={moduleType:"component",name:"rangeslider",schema:{subplots:{xaxis:{rangeslider:n.extendFlat({},i,{yaxis:o})}}},layoutAttributes:r("8f38"),handleDefaults:r("6b10"),calcAutorange:r("4cd2"),draw:r("8b1d"),isVisible:a.isVisible,makeData:a.makeData,autoMarginOpts:a.autoMarginOpts}},"1c1a":function(e,t,r){"use strict";var n,i=r("62c4"),o=r("e0f6"),a=r("68e6"),s=r("96ae"),l=r("6599"),u=r("f508"),c=r("8a50"),f=r("c351"),p=r("1c4a").toStringTag,d=r("7d72"),h=Array.isArray,v=Object.defineProperty,m=Object.prototype.hasOwnProperty,g=Object.getPrototypeOf;e.exports=n=function(){var e,t=arguments[0];if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");return e=d&&o&&WeakMap!==n?o(new WeakMap,g(this)):this,i(t)&&(h(t)||(t=c(t))),v(e,"__weakMapData__",u("c","$weakMap$"+l())),t?(f(t,(function(t){s(t),e.set(t[0],t[1])})),e):e},d&&(o&&o(n,WeakMap),n.prototype=Object.create(WeakMap.prototype,{constructor:u(n)})),Object.defineProperties(n.prototype,{delete:u((function(e){return!!m.call(a(e),this.__weakMapData__)&&(delete e[this.__weakMapData__],!0)})),get:u((function(e){if(m.call(a(e),this.__weakMapData__))return e[this.__weakMapData__]})),has:u((function(e){return m.call(a(e),this.__weakMapData__)})),set:u((function(e,t){return v(a(e),this.__weakMapData__,u("c",t)),this})),toString:u((function(){return"[object WeakMap]"}))}),v(n.prototype,p,u("c","WeakMap"))},"1c1c":function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("371e"),a=r("076f"),s=r("5793"),l=r("9103"),u=r("6add").getAxisGroup,c=r("fb5a"),f=n.coerceFont;function p(e,t,r,u){function f(r,i){return n.coerce(e,t,c,r,i)}var p=a(e,t,u,f);if(p){s(e,t,u,f),f("orientation",t.x&&!t.y?"h":"v"),f("base"),f("offset"),f("width"),f("text"),f("hovertext"),f("hovertemplate");var d=f("textposition");v(e,t,u,f,d,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),l(e,t,f,r,u);var h=(t.marker.line||{}).color,m=o.getComponentMethod("errorbars","supplyDefaults");m(e,t,h||i.defaultLine,{axis:"y"}),m(e,t,h||i.defaultLine,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(t,f)}else t.visible=!1}function d(e,t,r,n){var i=t.orientation,o=t[{v:"x",h:"y"}[i]+"axis"],a=u(r,o)+i,s=r._alignmentOpts||{},l=n("alignmentgroup"),c=s[a];c||(c=s[a]={});var f=c[l];f?f.traces.push(t):f=c[l]={traces:[t],alignmentIndex:Object.keys(c).length,offsetGroups:{}};var p=n("offsetgroup"),d=f.offsetGroups,h=d[p];p&&(h||(h=d[p]={offsetIndex:Object.keys(d).length}),t._offsetIndex=h.offsetIndex)}function h(e,t){var r,i;function o(e){return n.coerce(i._input,i,c,e)}if("group"===t.barmode)for(var a=0;a<e.length;a++)i=e[a],"bar"===i.type&&(r=i._input,d(r,i,t,o))}function v(e,t,r,i,o,a){a=a||{};var s=!(!1===a.moduleHasSelected),l=!(!1===a.moduleHasUnselected),u=!(!1===a.moduleHasConstrain),c=!(!1===a.moduleHasCliponaxis),p=!(!1===a.moduleHasTextangle),d=!(!1===a.moduleHasInsideanchor),h=!!a.hasPathbar,v=Array.isArray(o)||"auto"===o,m=v||"inside"===o,g=v||"outside"===o;if(m||g){var y=f(i,"textfont",r.font),b=n.extendFlat({},y),x=e.textfont&&e.textfont.color,A=!x;if(A&&delete b.color,f(i,"insidetextfont",b),h){var w=n.extendFlat({},y);A&&delete w.color,f(i,"pathbar.textfont",w)}g&&f(i,"outsidetextfont",y),s&&i("selected.textfont.color"),l&&i("unselected.textfont.color"),u&&i("constraintext"),c&&i("cliponaxis"),p&&i("textangle"),i("texttemplate")}m&&d&&i("insidetextanchor")}e.exports={supplyDefaults:p,crossTraceDefaults:h,handleGroupingDefaults:d,handleText:v}},"1c29":function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},"1c3c":function(e,t,r){var n=r("9e69"),i=r("2474"),o=r("9638"),a=r("a2be"),s=r("edfa"),l=r("ac41"),u=1,c=2,f="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Map]",v="[object Number]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",A="[object DataView]",w=n?n.prototype:void 0,_=w?w.valueOf:void 0;function E(e,t,r,n,w,E,k){switch(r){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!E(new i(e),new i(t)));case f:case p:case v:return o(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case h:var T=s;case g:var C=n&u;if(T||(T=l),e.size!=t.size&&!C)return!1;var S=k.get(e);if(S)return S==t;n|=c,k.set(e,t);var O=a(T(e),T(t),n,w,E,k);return k["delete"](e),O;case b:if(_)return _.call(e)==_.call(t)}return!1}e.exports=E},"1c40":function(e,t,r){"use strict";var n=r("dec3"),i=r("1dec"),o=r("2127"),a=r("9168"),s=r("f1df");function l(e,t){var r=s(e,(function(e){var r=e.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return a(e,1);var n=t.currentTarget.ownerDocument,s=n.defaultView.getSelection(),l=s.getRangeAt(0);return l=i(l),o(e,null,l.endContainer,l.endOffset,l.startContainer,l.startOffset).selectionState}),"backward");return r===e.getCurrentContent()?e:n.push(e,r,"remove-range")}e.exports=l},"1c4a":function(e,t,r){"use strict";e.exports=r("ba61")()?r("7c4a").Symbol:r("94ee")},"1c4d":function(e,t,r){"use strict";var n=r("fde6");e.exports={isSize:function(e){return/^[\d\.]/.test(e)||-1!==e.indexOf("/")||-1!==n.indexOf(e)}}},"1c7e":function(e,t,r){var n=r("b622"),i=n("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(l){}return r}},"1c82":function(e,t,r){"use strict";var n=r("9092").extendFlat,i=r("9092").extendDeep,o=r("cb34").overrideAll,a=r("9845"),s=r("dfb3"),l=r("81f0").attributes,u=r("d798"),c=r("a651").templatedArray,f=r("b8ce"),p=r("78df").FORMAT_LINK,d=a({editType:"plot",colorEditType:"plot"}),h={color:{valType:"color",editType:"plot",role:"info",description:["Sets the background color of the arc."].join(" ")},line:{color:{valType:"color",role:"info",dflt:s.defaultLine,editType:"plot",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"info",min:0,dflt:0,editType:"plot",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},thickness:{valType:"number",role:"info",min:0,max:1,dflt:1,editType:"plot",description:["Sets the thickness of the bar as a fraction of the total thickness of the gauge."].join(" ")},editType:"calc"},v={valType:"info_array",role:"info",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot",description:["Sets the range of this axis."].join(" ")},m=c("step",i({},h,{range:v}));e.exports={mode:{valType:"flaglist",editType:"calc",role:"info",flags:["number","delta","gauge"],dflt:"number",description:["Determines how the value is displayed on the graph.","`number` displays the value numerically in text.","`delta` displays the difference to a reference value in text.","Finally, `gauge` displays the value graphically on an axis."].join(" ")},value:{valType:"number",editType:"calc",role:"info",anim:!0,description:["Sets the number to be displayed."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],role:"info",editType:"plot",description:["Sets the horizontal alignment of the `text` within the box.","Note that this attribute has no effect if an angular gauge is displayed:","in this case, it is always centered"].join(" ")},domain:l({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",role:"info",editType:"plot",description:["Sets the title of this indicator."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],role:"info",editType:"plot",description:["Sets the horizontal alignment of the title.","It defaults to `center` except for bullet charts","for which it defaults to right."].join(" ")},font:n({},d,{description:["Set the font used to display the title"].join(" ")}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",p].join(" ")},font:n({},d,{description:["Set the font used to display main number"].join(" ")}),prefix:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets a prefix appearing before the number."].join(" ")},suffix:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets a suffix appearing next to the number."].join(" ")},editType:"plot"},delta:{reference:{valType:"number",role:"info",editType:"calc",description:["Sets the reference value to compute the delta.","By default, it is set to the current value."].join(" ")},position:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",dflt:"bottom",editType:"plot",description:["Sets the position of delta with respect to the number."].join(" ")},relative:{valType:"boolean",editType:"plot",role:"info",dflt:!1,description:["Show relative change"].join(" ")},valueformat:{valType:"string",role:"info",editType:"plot",description:["Sets the value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",p].join(" ")},increasing:{symbol:{valType:"string",role:"info",dflt:f.INCREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",role:"info",dflt:f.INCREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},decreasing:{symbol:{valType:"string",role:"info",dflt:f.DECREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",role:"info",dflt:f.DECREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},font:n({},d,{description:["Set the font used to display the delta"].join(" ")}),editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",role:"info",dflt:"angular",values:["angular","bullet"],description:["Set the shape of the gauge"].join(" ")},bar:i({},h,{color:{dflt:"green"},description:["Set the appearance of the gauge's value"].join(" ")}),bgcolor:{valType:"color",role:"info",editType:"plot",description:"Sets the gauge background color."},bordercolor:{valType:"color",dflt:s.defaultLine,role:"info",editType:"plot",description:"Sets the color of the border enclosing the gauge."},borderwidth:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:"Sets the width (in px) of the border enclosing the gauge."},axis:o({range:v,visible:n({},u.visible,{dflt:!0}),tickmode:u.tickmode,nticks:u.nticks,tick0:u.tick0,dtick:u.dtick,tickvals:u.tickvals,ticktext:u.ticktext,ticks:n({},u.ticks,{dflt:"outside"}),ticklen:u.ticklen,tickwidth:u.tickwidth,tickcolor:u.tickcolor,showticklabels:u.showticklabels,tickfont:a({description:"Sets the color bar's tick label font"}),tickangle:u.tickangle,tickformat:u.tickformat,tickformatstops:u.tickformatstops,tickprefix:u.tickprefix,showtickprefix:u.showtickprefix,ticksuffix:u.ticksuffix,showticksuffix:u.showticksuffix,separatethousands:u.separatethousands,exponentformat:u.exponentformat,minexponent:u.minexponent,showexponent:u.showexponent,editType:"plot"},"plot"),steps:m,threshold:{line:{color:n({},h.line.color,{description:["Sets the color of the threshold line."].join(" ")}),width:n({},h.line.width,{dflt:1,description:["Sets the width (in px) of the threshold line."].join(" ")}),editType:"plot"},thickness:n({},h.thickness,{dflt:.85,description:["Sets the thickness of the threshold line as a fraction of the thickness of the gauge."].join(" ")}),value:{valType:"number",editType:"calc",dflt:!1,role:"info",description:["Sets a treshold value drawn as a line."].join(" ")},editType:"plot"},description:"The gauge of the Indicator plot.",editType:"plot"}}},"1ca4":function(e,t,r){"use strict";(function(t){var n=r("d8db"),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;function s(e,t){var r=0,n=[];e.forEach((function(i){l(i,(function(i){r++,i&&n.push(i.slice(0,a)),r==e.length&&t(n.join("\r"))}))}))}function l(e,r){if(!t.FileReader||e.type&&!(e.type in o))r("");else{if(""===e.type){var a="";return i.test(e.name)&&(a=e.name.replace(i,"")),void r(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!==typeof e&&n(!1),r(e)},s.onerror=function(){r("")},s.readAsText(e)}}e.exports=s}).call(this,r("c8ba"))},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1cec":function(e,t,r){var n=r("0b07"),i=r("2b3e"),o=n(i,"Promise");e.exports=o},"1cfc":function(e,t,r){"use strict";e.exports=r("6386")},"1d19":function(e,t,r){"use strict";e.exports=o,e.exports.float32=e.exports.float=o,e.exports.fract32=e.exports.fract=i;var n=new Float32Array(1);function i(e){if(e.length){for(var t=o(e),r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return o(e-o(e))}function o(e){if(e.length){if(e instanceof Float32Array)return e;var t=new Float32Array(e);return t.set(e),t}return n[0]=e,n[0]}},"1d4c":function(e,t,r){"use strict";var n=r("c535"),i={};function o(e){var t=e.order,r=e.dtype,o=[t,r],a=o.join(":"),s=i[a];return s||(i[a]=s=n(t,r)),s(e),e}e.exports=o},"1d5b":function(e,t,r){"use strict";var n=r("b5bb"),i=r("62d6"),o=r("cea5");e.exports=A;var a=null,s=null,l=null;function u(e){a=[e.LINEAR,e.NEAREST_MIPMAP_LINEAR,e.LINEAR_MIPMAP_NEAREST,e.LINEAR_MIPMAP_NEAREST],s=[e.NEAREST,e.LINEAR,e.NEAREST_MIPMAP_NEAREST,e.NEAREST_MIPMAP_LINEAR,e.LINEAR_MIPMAP_NEAREST,e.LINEAR_MIPMAP_LINEAR],l=[e.REPEAT,e.CLAMP_TO_EDGE,e.MIRRORED_REPEAT]}function c(e){return"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLVideoElement&&e instanceof HTMLVideoElement||"undefined"!=typeof ImageData&&e instanceof ImageData}var f=function(e,t){i.muls(e,t,255)};function p(e,t,r){var n=e.gl,i=n.getParameter(n.MAX_TEXTURE_SIZE);if(t<0||t>i||r<0||r>i)throw new Error("gl-texture2d: Invalid texture size");return e._shape=[t,r],e.bind(),n.texImage2D(n.TEXTURE_2D,0,e.format,t,r,0,e.format,e.type,null),e._mipLevels=[0],e}function d(e,t,r,n,i,o){this.gl=e,this.handle=t,this.format=i,this.type=o,this._shape=[r,n],this._mipLevels=[0],this._magFilter=e.NEAREST,this._minFilter=e.NEAREST,this._wrapS=e.CLAMP_TO_EDGE,this._wrapT=e.CLAMP_TO_EDGE,this._anisoSamples=1;var a=this,s=[this._wrapS,this._wrapT];Object.defineProperties(s,[{get:function(){return a._wrapS},set:function(e){return a.wrapS=e}},{get:function(){return a._wrapT},set:function(e){return a.wrapT=e}}]),this._wrapVector=s;var l=[this._shape[0],this._shape[1]];Object.defineProperties(l,[{get:function(){return a._shape[0]},set:function(e){return a.width=e}},{get:function(){return a._shape[1]},set:function(e){return a.height=e}}]),this._shapeVector=l}var h=d.prototype;function v(e,t){return 3===e.length?1===t[2]&&t[1]===e[0]*e[2]&&t[0]===e[2]:1===t[0]&&t[1]===e[0]}function m(e,t,r,a,s,l,u,c){var p=c.dtype,d=c.shape.slice();if(d.length<2||d.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var h=0,m=0,g=v(d,c.stride.slice());"float32"===p?h=e.FLOAT:"float64"===p?(h=e.FLOAT,g=!1,p="float32"):"uint8"===p?h=e.UNSIGNED_BYTE:(h=e.UNSIGNED_BYTE,g=!1,p="uint8");if(2===d.length)m=e.LUMINANCE,d=[d[0],d[1],1],c=n(c.data,d,[c.stride[0],c.stride[1],1],c.offset);else{if(3!==d.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===d[2])m=e.ALPHA;else if(2===d[2])m=e.LUMINANCE_ALPHA;else if(3===d[2])m=e.RGB;else{if(4!==d[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");m=e.RGBA}d[2]}if(m!==e.LUMINANCE&&m!==e.ALPHA||s!==e.LUMINANCE&&s!==e.ALPHA||(m=s),m!==s)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var y=c.size,b=u.indexOf(a)<0;if(b&&u.push(a),h===l&&g)0===c.offset&&c.data.length===y?b?e.texImage2D(e.TEXTURE_2D,a,s,d[0],d[1],0,s,l,c.data):e.texSubImage2D(e.TEXTURE_2D,a,t,r,d[0],d[1],s,l,c.data):b?e.texImage2D(e.TEXTURE_2D,a,s,d[0],d[1],0,s,l,c.data.subarray(c.offset,c.offset+y)):e.texSubImage2D(e.TEXTURE_2D,a,t,r,d[0],d[1],s,l,c.data.subarray(c.offset,c.offset+y));else{var x;x=l===e.FLOAT?o.mallocFloat32(y):o.mallocUint8(y);var A=n(x,d,[d[2],d[2]*d[0],1]);h===e.FLOAT&&l===e.UNSIGNED_BYTE?f(A,c):i.assign(A,c),b?e.texImage2D(e.TEXTURE_2D,a,s,d[0],d[1],0,s,l,x.subarray(0,y)):e.texSubImage2D(e.TEXTURE_2D,a,t,r,d[0],d[1],s,l,x.subarray(0,y)),l===e.FLOAT?o.freeFloat32(x):o.freeUint8(x)}}function g(e){var t=e.createTexture();return e.bindTexture(e.TEXTURE_2D,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),t}function y(e,t,r,n,i){var o=e.getParameter(e.MAX_TEXTURE_SIZE);if(t<0||t>o||r<0||r>o)throw new Error("gl-texture2d: Invalid texture shape");if(i===e.FLOAT&&!e.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var a=g(e);return e.texImage2D(e.TEXTURE_2D,0,n,t,r,0,n,i,null),new d(e,a,t,r,n,i)}function b(e,t,r,n,i,o){var a=g(e);return e.texImage2D(e.TEXTURE_2D,0,i,i,o,t),new d(e,a,r,n,i,o)}function x(e,t){var r=t.dtype,a=t.shape.slice(),s=e.getParameter(e.MAX_TEXTURE_SIZE);if(a[0]<0||a[0]>s||a[1]<0||a[1]>s)throw new Error("gl-texture2d: Invalid texture size");var l=v(a,t.stride.slice()),u=0;"float32"===r?u=e.FLOAT:"float64"===r?(u=e.FLOAT,l=!1,r="float32"):"uint8"===r?u=e.UNSIGNED_BYTE:(u=e.UNSIGNED_BYTE,l=!1,r="uint8");var c,p,h=0;if(2===a.length)h=e.LUMINANCE,a=[a[0],a[1],1],t=n(t.data,a,[t.stride[0],t.stride[1],1],t.offset);else{if(3!==a.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===a[2])h=e.ALPHA;else if(2===a[2])h=e.LUMINANCE_ALPHA;else if(3===a[2])h=e.RGB;else{if(4!==a[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");h=e.RGBA}}u!==e.FLOAT||e.getExtension("OES_texture_float")||(u=e.UNSIGNED_BYTE,l=!1);var m=t.size;if(l)c=0===t.offset&&t.data.length===m?t.data:t.data.subarray(t.offset,t.offset+m);else{var y=[a[2],a[2]*a[0],1];p=o.malloc(m,r);var b=n(p,a,y,0);"float32"!==r&&"float64"!==r||u!==e.UNSIGNED_BYTE?i.assign(b,t):f(b,t),c=p.subarray(0,m)}var x=g(e);return e.texImage2D(e.TEXTURE_2D,0,h,a[0],a[1],0,h,u,c),l||o.free(p),new d(e,x,a[0],a[1],h,u)}function A(e){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");if(a||u(e),"number"===typeof arguments[1])return y(e,arguments[1],arguments[2],arguments[3]||e.RGBA,arguments[4]||e.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return y(e,0|arguments[1][0],0|arguments[1][1],arguments[2]||e.RGBA,arguments[3]||e.UNSIGNED_BYTE);if("object"===typeof arguments[1]){var t=arguments[1],r=c(t)?t:t.raw;if(r)return b(e,r,0|t.width,0|t.height,arguments[2]||e.RGBA,arguments[3]||e.UNSIGNED_BYTE);if(t.shape&&t.data&&t.stride)return x(e,t)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")}Object.defineProperties(h,{minFilter:{get:function(){return this._minFilter},set:function(e){this.bind();var t=this.gl;if(this.type===t.FLOAT&&a.indexOf(e)>=0&&(t.getExtension("OES_texture_float_linear")||(e=t.NEAREST)),s.indexOf(e)<0)throw new Error("gl-texture2d: Unknown filter mode "+e);return t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,e),this._minFilter=e}},magFilter:{get:function(){return this._magFilter},set:function(e){this.bind();var t=this.gl;if(this.type===t.FLOAT&&a.indexOf(e)>=0&&(t.getExtension("OES_texture_float_linear")||(e=t.NEAREST)),s.indexOf(e)<0)throw new Error("gl-texture2d: Unknown filter mode "+e);return t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,e),this._magFilter=e}},mipSamples:{get:function(){return this._anisoSamples},set:function(e){var t=this._anisoSamples;if(this._anisoSamples=0|Math.max(e,1),t!==this._anisoSamples){var r=this.gl.getExtension("EXT_texture_filter_anisotropic");r&&this.gl.texParameterf(this.gl.TEXTURE_2D,r.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(e){if(this.bind(),l.indexOf(e)<0)throw new Error("gl-texture2d: Unknown wrap mode "+e);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,e),this._wrapS=e}},wrapT:{get:function(){return this._wrapT},set:function(e){if(this.bind(),l.indexOf(e)<0)throw new Error("gl-texture2d: Unknown wrap mode "+e);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,e),this._wrapT=e}},wrap:{get:function(){return this._wrapVector},set:function(e){if(Array.isArray(e)||(e=[e,e]),2!==e.length)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var t=0;t<2;++t)if(l.indexOf(e[t])<0)throw new Error("gl-texture2d: Unknown wrap mode "+e);this._wrapS=e[0],this._wrapT=e[1];var r=this.gl;return this.bind(),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,this._wrapS),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,this._wrapT),e}},shape:{get:function(){return this._shapeVector},set:function(e){if(Array.isArray(e)){if(2!==e.length)throw new Error("gl-texture2d: Invalid texture shape")}else e=[0|e,0|e];return p(this,0|e[0],0|e[1]),[0|e[0],0|e[1]]}},width:{get:function(){return this._shape[0]},set:function(e){return e|=0,p(this,e,this._shape[1]),e}},height:{get:function(){return this._shape[1]},set:function(e){return e|=0,p(this,this._shape[0],e),e}}}),h.bind=function(e){var t=this.gl;return void 0!==e&&t.activeTexture(t.TEXTURE0+(0|e)),t.bindTexture(t.TEXTURE_2D,this.handle),void 0!==e?0|e:t.getParameter(t.ACTIVE_TEXTURE)-t.TEXTURE0},h.dispose=function(){this.gl.deleteTexture(this.handle)},h.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var e=Math.min(this._shape[0],this._shape[1]),t=0;e>0;++t,e>>>=1)this._mipLevels.indexOf(t)<0&&this._mipLevels.push(t)},h.setPixels=function(e,t,r,n){var i=this.gl;this.bind(),Array.isArray(t)?(n=r,r=0|t[1],t=0|t[0]):(t=t||0,r=r||0),n=n||0;var o=c(e)?e:e.raw;if(o){var a=this._mipLevels.indexOf(n)<0;a?(i.texImage2D(i.TEXTURE_2D,0,this.format,this.format,this.type,o),this._mipLevels.push(n)):i.texSubImage2D(i.TEXTURE_2D,n,t,r,this.format,this.type,o)}else{if(!(e.shape&&e.stride&&e.data))throw new Error("gl-texture2d: Unsupported data type");if(e.shape.length<2||t+e.shape[1]>this._shape[1]>>>n||r+e.shape[0]>this._shape[0]>>>n||t<0||r<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");m(i,t,r,n,this.format,this.type,this._mipLevels,e)}}},"1d67":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=v(r("7515")),o=v(r("88e7")),a=v(r("d7bc")),s=h(r("ab5b")),l=r("e419"),u=v(r("ad9c")),c=r("8704"),f=r("4578"),p=r("c85e");function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(){return g(this,r),t.apply(this,arguments)}return b(r,[{key:"canAddAxis",value:function(){var e=this,t=this.props.fullContainer[this.props.attr],r=this.props.fullContainer.index;return this.context.fullData.some((function(n){return n.index!==r&&n[e.props.attr]===t}))}},{key:"addAndUpdateAxis",value:function(){var e,t=this.props,r=t.attr,n=t.updateContainer,i=this.context,o=i.onUpdate,a=i.fullLayout._subplots,s=Number(a[r][a[r].length-1].charAt(1))||1;n(m({},r,r.charAt(0)+(s+1)));var u=null;"yaxis"===r?u="right":"xaxis"===r&&(u="top"),o({type:l.EDITOR_ACTIONS.UPDATE_LAYOUT,payload:{update:(e={},m(e,"".concat(r+(s+1),".side"),u),m(e,"".concat(r+(s+1),".overlaying"),"yaxis"!==r&&"xaxis"!==r?null:a[r][a[r].length-1]),e)}})}},{key:"updateAxis",value:function(e){var t=this,r=this.props.fullContainer[this.props.attr],n=[];r===e||this.context.fullData.some((function(e){return e[t.props.attr]===r&&e.index!==t.props.fullContainer.index}))||n.push(r),this.context.onUpdate({type:l.EDITOR_ACTIONS.UPDATE_TRACES,payload:{axesToBeGarbageCollected:n,update:m({},this.props.attr,e),traceIndexes:[this.props.fullContainer.index]}})}},{key:"render",value:function(){var e=this,t=s.default.createElement(c.PlusIcon,null),r=this.canAddAxis()?s.default.createElement(u.default,{variant:"no-text",icon:t,onClick:function(){return e.addAndUpdateAxis()}}):s.default.createElement(u.default,{variant:"no-text--disabled",icon:t,onClick:function(){}});return s.default.createElement(i.default,{label:this.props.label,attr:this.props.attr,clearable:!1,options:this.props.options,updatePlot:function(t){return e.updateAxis(t)},extraComponent:r})}}]),r}(s.Component);C.propTypes={attr:a.default.string,label:a.default.string,options:a.default.array,container:a.default.object,fullContainer:a.default.object,updateContainer:a.default.func},C.contextTypes={fullLayout:a.default.object,data:a.default.array,fullData:a.default.array,onUpdate:a.default.func};var S=(0,f.connectToContainer)(C),O=function(e){x(r,e);var t=w(r);function r(){return g(this,r),t.apply(this,arguments)}return b(r,[{key:"render",value:function(){var e=this,t=(0,f.traceTypeToAxisType)(this.props.container.type),r=1===this.context.data.filter((function(e){return(0,f.traceTypeToAxisType)(e.type)===t})).length;if(r)return null;var n=this.context,i=n.fullLayout,a=n.localize,l=[];function u(e){return i._subplots[e].map((function(e){return{label:(0,f.getParsedTemplateString)((0,f.getAxisTitle)(i[(0,f.axisIdToAxisName)(e)]),{meta:i.meta}),value:e}}))}return"cartesian"===t&&["xaxis","yaxis"].forEach((function(e,t){l.push(s.default.createElement(S,{key:t,attr:e,label:e.charAt(0).toUpperCase()+a(" Axis"),options:u(e)}))})),s.default.createElement(p.PlotlySection,{name:a("Axes to Use")},l,s.default.createElement(o.default,null,a("You can style and position your axes in the "),s.default.createElement("a",{onClick:function(){return e.context.setPanel("Structure","Subplots")}},a("Subplots")),a(" panel.")))}}]),r}(s.Component);O.propTypes={container:a.default.object,fullContainer:a.default.object},O.contextTypes={data:a.default.array,fullData:a.default.array,fullLayout:a.default.object,localize:a.default.func,setPanel:a.default.func};var M=(0,f.connectToContainer)(O,{modifyPlotProps:function(e,t,r){var n=t.data,i=r.fullContainer;r.isVisible=n.length>1&&n[i.index]&&"cartesian"===(0,f.traceTypeToAxisType)(n[i.index].type)}});t.default=M},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1d9e":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("d115"),a=r("c258"),s=r("e806").BADNUM,l=r("2169").makeBlank;e.exports=function(e){var t=e[0].trace,r=!0===t.visible&&0!==t._length,u={layout:{visibility:"none"},paint:{}},c=t._opts={heatmap:u,geojson:l()};if(!r)return c;var f,p=[],d=t.z,h=t.radius,v=i.isArrayOrTypedArray(d)&&d.length,m=i.isArrayOrTypedArray(h);for(f=0;f<e.length;f++){var g=e[f],y=g.lonlat;if(y[0]!==s){var b={};if(v){var x=g.z;b.z=x!==s?x:0}m&&(b.r=n(h[f])&&h[f]>0?+h[f]:0),p.push({type:"Feature",geometry:{type:"Point",coordinates:y},properties:b})}}var A=a.extractOpts(t),w=A.reversescale?a.flipScale(A.colorscale):A.colorscale,_=w[0][1],E=o.opacity(_)<1?_:o.addOpacity(_,0),k=["interpolate",["linear"],["heatmap-density"],0,E];for(f=1;f<w.length;f++)k.push(w[f][0],w[f][1]);var T=["interpolate",["linear"],["get","z"],A.min,0,A.max,1];return i.extendFlat(c.heatmap.paint,{"heatmap-weight":v?T:1/(A.max-A.min),"heatmap-color":k,"heatmap-radius":m?{type:"identity",property:"r"}:t.radius,"heatmap-opacity":t.opacity}),c.geojson={type:"FeatureCollection",features:p},c.heatmap.layout.visibility="visible",c}},"1da1":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r("d3b7");function n(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void r(u)}s.done?t(l):Promise.resolve(l).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)}))}}},"1db7":function(e,t,r){"use strict";var n=r("f7a4"),i=r("6e58"),o=r("0a3e").keyFun,a=r("0a3e").repeat,s=r("fc26").sorterAsc,l=r("fc26").strTranslate,u=n.bar.snapRatio;function c(e,t){return e*(1-u)+t*u}var f=n.bar.snapClose;function p(e,t){return e*(1-f)+t*f}function d(e,t,r,n){if(h(r,n))return r;var i=e?-1:1,o=0,a=t.length-1;if(i<0){var s=o;o=a,a=s}for(var l=t[o],u=l,f=o;i*f<i*a;f+=i){var d=f+i,v=t[d];if(i*r<i*p(l,v))return c(l,u);if(i*r<i*v||d===a)return c(v,l);u=l,l=v}}function h(e,t){for(var r=0;r<t.length;r++)if(e>=t[r][0]&&e<=t[r][1])return!0;return!1}function v(e){e.attr("x",-n.bar.captureWidth/2).attr("width",n.bar.captureWidth)}function m(e){e.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function g(e){if(!e.brush.filterSpecified)return"0,"+e.height;for(var t,r,n,i=y(e.brush.filter.getConsolidated(),e.height),o=[0],a=i.length?i[0][0]:null,s=0;s<i.length;s++)t=i[s],r=t[1]-t[0],o.push(a),o.push(r),n=s+1,n<i.length&&(a=i[n][0]-t[1]);return o.push(e.height),o}function y(e,t){return e.map((function(e){return e.map((function(e){return Math.max(0,e*t)})).sort(s)}))}function b(e,t){var r=n.bar.handleHeight;if(!(t>e[1]+r||t<e[0]-r))return t>=.9*e[1]+.1*e[0]?"n":t<=.9*e[0]+.1*e[1]?"s":"ns"}function x(){i.select(document.body).style("cursor",null)}function A(e){e.attr("stroke-dasharray",g)}function w(e,t){var r=i.select(e).selectAll(".highlight, .highlight-shadow"),o=t?r.transition().duration(n.bar.snapDuration).each("end",t):r;A(o)}function _(e,t){var r,n=e.brush,i=n.filterSpecified,o=NaN,a={};if(i){var s=e.height,l=n.filter.getConsolidated(),u=y(l,s),c=NaN,f=NaN,p=NaN;for(r=0;r<=u.length;r++){var d=u[r];if(d&&d[0]<=t&&t<=d[1]){c=r;break}if(f=r?r-1:NaN,d&&d[0]>t){p=r;break}}if(o=c,isNaN(o)&&(o=isNaN(f)||isNaN(p)?isNaN(f)?p:f:t-u[f][1]<u[p][0]-t?f:p),!isNaN(o)){var h=u[o],v=b(h,t);v&&(a.interval=l[o],a.intervalPix=h,a.region=v)}}if(e.ordinal&&!a.region){var m=e.unitTickvals,g=e.unitToPaddedPx.invert(t);for(r=0;r<m.length;r++){var x=[.25*m[Math.max(r-1,0)]+.75*m[r],.25*m[Math.min(r+1,m.length-1)]+.75*m[r]];if(g>=x[0]&&g<=x[1]){a.clickableOrdinalRange=x;break}}}return a}function E(e,t){i.event.sourceEvent.stopPropagation();var r=t.height-i.mouse(e)[1]-2*n.verticalPadding,o=t.unitToPaddedPx.invert(r),a=t.brush,s=_(t,r),l=s.interval,u=a.svgBrush;if(u.wasDragged=!1,u.grabbingBar="ns"===s.region,u.grabbingBar){var c=l.map(t.unitToPaddedPx);u.grabPoint=r-c[0]-n.verticalPadding,u.barLength=c[1]-c[0]}u.clickableOrdinalRange=s.clickableOrdinalRange,u.stayingIntervals=t.multiselect&&a.filterSpecified?a.filter.getConsolidated():[],l&&(u.stayingIntervals=u.stayingIntervals.filter((function(e){return e[0]!==l[0]&&e[1]!==l[1]}))),u.startExtent=s.region?l["s"===s.region?1:0]:o,t.parent.inBrushDrag=!0,u.brushStartCallback()}function k(e,t){i.event.sourceEvent.stopPropagation();var r=t.height-i.mouse(e)[1]-2*n.verticalPadding,o=t.brush.svgBrush;o.wasDragged=!0,o._dragging=!0,o.grabbingBar?o.newExtent=[r-o.grabPoint,r+o.barLength-o.grabPoint].map(t.unitToPaddedPx.invert):o.newExtent=[o.startExtent,t.unitToPaddedPx.invert(r)].sort(s),t.brush.filterSpecified=!0,o.extent=o.stayingIntervals.concat([o.newExtent]),o.brushCallback(t),w(e.parentNode)}function T(e,t){var r=t.brush,n=r.filter,o=r.svgBrush;o._dragging||(C(e,t),k(e,t),t.brush.svgBrush.wasDragged=!1),o._dragging=!1;var a=i.event;a.sourceEvent.stopPropagation();var s=o.grabbingBar;if(o.grabbingBar=!1,o.grabLocation=void 0,t.parent.inBrushDrag=!1,x(),!o.wasDragged)return o.wasDragged=void 0,o.clickableOrdinalRange?r.filterSpecified&&t.multiselect?o.extent.push(o.clickableOrdinalRange):(o.extent=[o.clickableOrdinalRange],r.filterSpecified=!0):s?(o.extent=o.stayingIntervals,0===o.extent.length&&L(r)):L(r),o.brushCallback(t),w(e.parentNode),void o.brushEndCallback(r.filterSpecified?n.getConsolidated():[]);var l=function(){n.set(n.getConsolidated())};if(t.ordinal){var u=t.unitTickvals;u[u.length-1]<u[0]&&u.reverse(),o.newExtent=[d(0,u,o.newExtent[0],o.stayingIntervals),d(1,u,o.newExtent[1],o.stayingIntervals)];var c=o.newExtent[1]>o.newExtent[0];o.extent=o.stayingIntervals.concat(c?[o.newExtent]:[]),o.extent.length||L(r),o.brushCallback(t),c?w(e.parentNode,l):(l(),w(e.parentNode))}else l();o.brushEndCallback(r.filterSpecified?n.getConsolidated():[])}function C(e,t){var r=t.height-i.mouse(e)[1]-2*n.verticalPadding,o=_(t,r),a="crosshair";o.clickableOrdinalRange?a="pointer":o.region&&(a=o.region+"-resize"),i.select(document.body).style("cursor",a)}function S(e){e.on("mousemove",(function(e){i.event.preventDefault(),e.parent.inBrushDrag||C(this,e)})).on("mouseleave",(function(e){e.parent.inBrushDrag||x()})).call(i.behavior.drag().on("dragstart",(function(e){E(this,e)})).on("drag",(function(e){k(this,e)})).on("dragend",(function(e){T(this,e)})))}function O(e,t){return e[0]-t[0]}function M(e){var t=e.selectAll(".background").data(a);t.enter().append("rect").classed("background",!0).call(v).call(m).style("pointer-events","auto").attr("transform",l(0,n.verticalPadding)),t.call(S).attr("height",(function(e){return e.height-n.verticalPadding}));var r=e.selectAll(".highlight-shadow").data(a);r.enter().append("line").classed("highlight-shadow",!0).attr("x",-n.bar.width/2).attr("stroke-width",n.bar.width+n.bar.strokeWidth).attr("stroke",n.bar.strokeColor).attr("opacity",n.bar.strokeOpacity).attr("stroke-linecap","butt"),r.attr("y1",(function(e){return e.height})).call(A);var i=e.selectAll(".highlight").data(a);i.enter().append("line").classed("highlight",!0).attr("x",-n.bar.width/2).attr("stroke-width",n.bar.width-n.bar.strokeWidth).attr("stroke",n.bar.fillColor).attr("opacity",n.bar.fillOpacity).attr("stroke-linecap","butt"),i.attr("y1",(function(e){return e.height})).call(A)}function P(e){var t=e.selectAll("."+n.cn.axisBrush).data(a,o);t.enter().append("g").classed(n.cn.axisBrush,!0),M(t)}function B(e){return e.svgBrush.extent.map((function(e){return e.slice()}))}function L(e){e.filterSpecified=!1,e.svgBrush.extent=[[-1/0,1/0]]}function D(e){return function(t){var r=t.brush,n=B(r),i=n.slice();r.filter.set(i),e()}}function I(e){var t,r=e.slice(),n=[],i=r.shift();while(i){t=i.slice();while((i=r.shift())&&i[0]<=t[1])t[1]=Math.max(t[1],i[1]);n.push(t)}return 1===n.length&&n[0][0]>n[0][1]&&(n=[]),n}function j(){var e,t,r=[];return{set:function(n){r=n.map((function(e){return e.slice().sort(s)})).sort(O),1===r.length&&r[0][0]===-1/0&&r[0][1]===1/0&&(r=[[0,-1]]),e=I(r),t=r.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0])},get:function(){return r.slice()},getConsolidated:function(){return e},getBounds:function(){return t}}}function R(e,t,r,n,i,o){var a=j();return a.set(r),{filter:a,filterSpecified:t,svgBrush:{extent:[],brushStartCallback:n,brushCallback:D(i),brushEndCallback:o}}}function F(e,t){if(Array.isArray(e[0])?(e=e.map((function(e){return e.sort(s)})),e=t.multiselect?I(e.sort(O)):[e[0]]):e=[e.sort(s)],t.tickvals){var r=t.tickvals.slice().sort(s);if(e=e.map((function(e){var t=[d(0,r,e[0],[]),d(1,r,e[1],[])];if(t[1]>t[0])return t})).filter((function(e){return e})),!e.length)return}return e.length>1?e:e[0]}e.exports={makeBrush:R,ensureAxisBrush:P,cleanRanges:F}},"1db7e":function(e,t,r){"use strict";var n=r("fc26"),i=r("215c").hasColorscale,o=r("215c").extractOpts;e.exports=function(e,t){function r(e,t){var r=e["_"+t];void 0!==r&&(e[t]=r)}function a(e,i){var a=i.container?n.nestedProperty(e,i.container).get():e;if(a)if(a.coloraxis)a._colorAx=t[a.coloraxis];else{var s=o(a),l=s.auto;(l||void 0===s.min)&&r(a,i.min),(l||void 0===s.max)&&r(a,i.max),s.autocolorscale&&r(a,"colorscale")}}for(var s=0;s<e.length;s++){var l=e[s],u=l._module.colorbar;if(u)if(Array.isArray(u))for(var c=0;c<u.length;c++)a(l,u[c]);else a(l,u);i(l,"marker.line")&&a(l,{container:"marker.line",min:"cmin",max:"cmax"})}for(var f in t._colorAxes)a(t[f],{min:"cmin",max:"cmax"})}},"1dd9":function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("ab5b"),o=r("6152"),a=function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e}),r={whiteSpace:"pre-wrap"};return i.createElement("div",{className:t},i.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:r},this.props.text))},t}(i.Component);e.exports=a},"1ddb":function(e,t,r){"use strict";var n=r("8c75");function i(e){this.gl=e,this._elements=null,this._attributes=null,this._elementsType=e.UNSIGNED_SHORT}function o(e){return new i(e)}i.prototype.bind=function(){n(this.gl,this._elements,this._attributes)},i.prototype.update=function(e,t,r){this._elements=t,this._attributes=e,this._elementsType=r||this.gl.UNSIGNED_SHORT},i.prototype.dispose=function(){},i.prototype.unbind=function(){},i.prototype.draw=function(e,t,r){r=r||0;var n=this.gl;this._elements?n.drawElements(e,t,this._elementsType,r):n.drawArrays(e,r,t)},e.exports=o},"1dde":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("2d00"),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1dec":function(e,t,r){"use strict";var n=r("8cb4"),i=r("174f"),o=r("d79f"),a=r("d8db");function s(e){var t=getComputedStyle(e),r=i(e),n=r.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var o=r.body;o||a(!1),o.appendChild(n);var s=n.getBoundingClientRect();return o.removeChild(n),s.height}function l(e,t){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(r=Math.min(r,s.top),n=Math.min(n,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=n&&i-r<t&&o-n<t}function u(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}function c(e){e.collapsed||a(!1),e=e.cloneRange();var t=e.startContainer;1!==t.nodeType&&(t=t.parentNode);var r=s(t),i=e.endContainer,c=e.endOffset;e.setStart(e.startContainer,0);while(l(o(e),r))if(i=e.startContainer,c=e.startOffset,i.parentNode||a(!1),e.setStartBefore(i),1===i.nodeType&&"inline"!==getComputedStyle(i).display)break;var f=i,p=c-1;do{for(var d=f.nodeValue,h=p;h>=0;h--)if(!(null!=d&&h>0&&n.isSurrogatePair(d,h-1))){if(e.setStart(f,h),!l(o(e),r))break;i=f,c=h}if(-1===h||0===f.childNodes.length)break;f=f.childNodes[h],p=u(f)}while(1);return e.setStart(i,c),e}e.exports=c},"1e03":function(e,t,r){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},"1e0a":function(e,t,r){"use strict";e.exports=function(e){try{return e.toString()}catch(t){try{return String(e)}catch(r){return null}}}},"1e54":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=f(i),a=r("fc55"),s=f(a),l=r("b2bb"),u=c(l);function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=t.Hue=function(e){function t(){var e,r,n,i;p(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r=n,n.handleChange=function(e){var t=u.calculateChange(e,n.props.direction,n.props.hsl,n.container);t&&"function"===typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},i=r,d(n,i)}return h(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=(0,s.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return o.default.createElement("div",{style:n.hue},o.default.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),o.default.createElement("div",{style:n.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:n.slider}))))}}]),t}(i.PureComponent||i.Component);t.default=v},"1e9b":function(e,t,r){"use strict";function n(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,r="x"==e?t:3&t|8;return r.toString(16)}))}e.exports=n},"1ea6":function(e,t,r){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},"1ea7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32.2 29.5"},e),o.default.createElement("path",{d:"M3.1 3.2h26v5.1h-26zM7.6 9.7h17.3v5.1H7.6zM9.6 16.1h13.3v5H9.6zM12 22.6h8.5v3.9H12z"}))};t.default=u},"1eb8":function(e,t,r){"use strict";var n=new RegExp("\r","g");function i(e){return e.replace(n,"")}e.exports=i},"1ebf":function(e,t,r){"use strict";var n=r("107c"),i=r("fb5a"),o=r("dfb3"),a=r("94d5").hovertemplateAttrs,s=r("9092").extendFlat,l=n.marker,u=l.line;e.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the y sample data or coordinates.","See overview for more info."].join(" ")},x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the x sample data or coordinates.","See overview for more info."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+clearAxisTypes",description:["Sets the x coordinate for single-box traces","or the starting coordinate for multi-box traces","set using q1/median/q3.","See overview for more info."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+clearAxisTypes",description:["Sets the y coordinate for single-box traces","or the starting coordinate for multi-box traces","set using q1/median/q3.","See overview for more info."].join(" ")},dx:{valType:"number",role:"info",editType:"calc",description:["Sets the x coordinate step for multi-box traces","set using q1/median/q3."].join(" ")},dy:{valType:"number",role:"info",editType:"calc",description:["Sets the y coordinate step for multi-box traces","set using q1/median/q3."].join(" ")},xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,name:{valType:"string",role:"info",editType:"calc+clearAxisTypes",description:["Sets the trace name.","The trace name appear as the legend item and on hover.","For box traces, the name will also be used for the position","coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are","missing and the position axis is categorical"].join(" ")},q1:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the Quartile 1 values.","There should be as many items as the number of boxes desired."].join(" ")},median:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the median values.","There should be as many items as the number of boxes desired."].join(" ")},q3:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the Quartile 3 values.","There should be as many items as the number of boxes desired."].join(" ")},lowerfence:{valType:"data_array",role:"info",editType:"calc",description:["Sets the lower fence values.","There should be as many items as the number of boxes desired.","This attribute has effect only under the q1/median/q3 signature.","If `lowerfence` is not provided but a sample (in `y` or `x`) is set,","we compute the lower as the last sample point below 1.5 times the IQR."].join(" ")},upperfence:{valType:"data_array",role:"info",editType:"calc",description:["Sets the upper fence values.","There should be as many items as the number of boxes desired.","This attribute has effect only under the q1/median/q3 signature.","If `upperfence` is not provided but a sample (in `y` or `x`) is set,","we compute the lower as the last sample point above 1.5 times the IQR."].join(" ")},notched:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not notches are drawn.","Notches displays a confidence interval around the median.","We compute the confidence interval as median +/- 1.57 * IQR / sqrt(N),","where IQR is the interquartile range and N is the sample size.","If two boxes' notches do not overlap there is 95% confidence their medians differ.","See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info.","Defaults to *false* unless `notchwidth` or `notchspan` is set."].join(" ")},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,role:"style",editType:"calc",description:["Sets the width of the notches relative to","the box' width.","For example, with 0, the notches are as wide as the box(es)."].join(" ")},notchspan:{valType:"data_array",role:"info",editType:"calc",description:["Sets the notch span from the boxes' `median` values.","There should be as many items as the number of boxes desired.","This attribute has effect only under the q1/median/q3 signature.","If `notchspan` is not provided but a sample (in `y` or `x`) is set,","we compute it as 1.57 * IQR / sqrt(N),","where N is the sample size."].join(" ")},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],role:"style",editType:"calc",description:["If *outliers*, only the sample points lying outside the whiskers","are shown","If *suspectedoutliers*, the outlier points are shown and","points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1","are highlighted (see `outliercolor`)","If *all*, all sample points are shown","If *false*, only the box(es) are shown with no sample points","Defaults to *suspectedoutliers* when `marker.outliercolor` or","`marker.line.outliercolor` is set.","Defaults to *all* under the q1/median/q3 signature.","Otherwise defaults to *outliers*."].join(" ")},jitter:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the amount of jitter in the sample points drawn.","If *0*, the sample points align along the distribution axis.","If *1*, the sample points are drawn in a random jitter of width","equal to the width of the box(es)."].join(" ")},pointpos:{valType:"number",min:-2,max:2,role:"style",editType:"calc",description:["Sets the position of the sample points in relation to the box(es).","If *0*, the sample points are places over the center of the box(es).","Positive (negative) values correspond to positions to the","right (left) for vertical boxes and above (below) for horizontal boxes"].join(" ")},boxmean:{valType:"enumerated",values:[!0,"sd",!1],role:"style",editType:"calc",description:["If *true*, the mean of the box(es)' underlying distribution is","drawn as a dashed line inside the box(es).","If *sd* the standard deviation is also drawn.","Defaults to *true* when `mean` is set.","Defaults to *sd* when `sd` is set","Otherwise defaults to *false*."].join(" ")},mean:{valType:"data_array",role:"info",editType:"calc",description:["Sets the mean values.","There should be as many items as the number of boxes desired.","This attribute has effect only under the q1/median/q3 signature.","If `mean` is not provided but a sample (in `y` or `x`) is set,","we compute the mean for each box using the sample values."].join(" ")},sd:{valType:"data_array",role:"info",editType:"calc",description:["Sets the standard deviation values.","There should be as many items as the number of boxes desired.","This attribute has effect only under the q1/median/q3 signature.","If `sd` is not provided but a sample (in `y` or `x`) is set,","we compute the standard deviation for each box using the sample values."].join(" ")},orientation:{valType:"enumerated",values:["v","h"],role:"style",editType:"calc+clearAxisTypes",description:["Sets the orientation of the box(es).","If *v* (*h*), the distribution is visualized along","the vertical (horizontal)."].join(" ")},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",role:"info",editType:"calc",description:["Sets the method used to compute the sample's Q1 and Q3 quartiles.","The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3","as computed using method #10 (listed on http://www.amstat.org/publications/jse/v14n3/langford.html).","The *exclusive* method uses the median to divide the ordered dataset into two halves","if the sample is odd, it does not include the median in either half -","Q1 is then the median of the lower half and","Q3 the median of the upper half.","The *inclusive* method also uses the median to divide the ordered dataset into two halves","but if the sample is odd, it includes the median in both halves -","Q1 is then the median of the lower half and","Q3 the median of the upper half."].join(" ")},width:{valType:"number",min:0,role:"info",dflt:0,editType:"calc",description:["Sets the width of the box in data coordinate","If *0* (default value) the width is automatically selected based on the positions","of other box traces in the same subplot."].join(" ")},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",role:"style",editType:"style",description:"Sets the color of the outlier sample points."},symbol:s({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:s({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),size:s({},l.size,{arrayOk:!1,editType:"calc"}),color:s({},l.color,{arrayOk:!1,editType:"style"}),line:{color:s({},u.color,{arrayOk:!1,dflt:o.defaultLine,editType:"style"}),width:s({},u.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",role:"style",editType:"style",description:["Sets the border line color of the outlier sample points.","Defaults to marker.color"].join(" ")},outlierwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"style",description:["Sets the border line width (in px) of the outlier sample points."].join(" ")},editType:"style"},editType:"plot"},line:{color:{valType:"color",role:"style",editType:"style",description:"Sets the color of line bounding the box(es)."},width:{valType:"number",role:"style",min:0,dflt:2,editType:"style",description:"Sets the width (in px) of line bounding the box(es)."},editType:"plot"},fillcolor:n.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,role:"style",editType:"calc",description:["Sets the width of the whiskers relative to","the box' width.","For example, with 1, the whiskers are as wide as the box(es)."].join(" ")},offsetgroup:i.offsetgroup,alignmentgroup:i.alignmentgroup,selected:{marker:n.selected.marker,editType:"style"},unselected:{marker:n.unselected.marker,editType:"style"},text:s({},n.text,{description:["Sets the text elements associated with each sample value.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),hovertext:s({},n.hovertext,{description:"Same as `text`."}),hovertemplate:a({description:["N.B. This only has an effect when hovering on points."].join(" ")}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",role:"info",editType:"style",description:["Do the hover effects highlight individual boxes ","or sample points or both?"].join(" ")}}},"1ed1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M8.688 0h1.313v32H8.688zm6.625 0h1.375v32h-1.375zm0 5.313h1.375c.75 0 1.313.563 1.313 1.375v6.625c0 .813-.563 1.375-1.313 1.375h-1.375c-.75 0-1.313-.563-1.313-1.375V6.688c0-.813.563-1.375 1.313-1.375zM8.688 20h1.313c.813 0 1.313.563 1.313 1.313v6.688c0 .813-.5 1.313-1.313 1.313H8.688c-.813 0-1.375-.5-1.375-1.313v-6.688c0-.75.563-1.313 1.375-1.313zM2 0h1.313v32H2zm0 10.688h1.313c.813 0 1.375.5 1.375 1.313v6.688c0 .75-.563 1.313-1.375 1.313H2c-.813 0-1.313-.563-1.313-1.313v-6.688c0-.813.5-1.313 1.313-1.313zM22 0h1.313v32H22zm0 14.688h1.313c.813 0 1.375.5 1.375 1.313v6.688c0 .75-.563 1.313-1.375 1.313H22c-.813 0-1.313-.563-1.313-1.313v-6.688c0-.813.5-1.313 1.313-1.313zM28.688 0h1.313v32h-1.313zm0 2.688h1.313c.813 0 1.313.5 1.313 1.313v6.688c0 .75-.5 1.313-1.313 1.313h-1.313c-.813 0-1.375-.563-1.375-1.313V4.001c0-.813.563-1.313 1.375-1.313z"}))};t.default=u},"1efc":function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},"1f25":function(e,t,r){"use strict";function n(e){for(var t=0,r=0,n=1;n<e.length;++n)e[n][0]<e[t][0]&&(t=n),e[n][0]>e[r][0]&&(r=n);return t<r?[[t],[r]]:t>r?[[r],[t]]:[[t]]}e.exports=n},"1f4a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32.2 29.5"},e),o.default.createElement("path",{d:"M9.5 18.3l-3.1-6h19.4l-3.1 6H9.5zM12.9 25.3l-3.1-6h12.6l-3.1 6h-6.4zM6.2 11.3L3 5.2h26.2l-3.1 6.1H6.2z"}))};t.default=u},"1fac":function(e,t,r){"use strict";e.exports=p;var n=r("84af"),i=r("40ce"),o={},a={},s={body:"",args:[],thisVars:[],localVars:[]},l=i({args:["array","array","array"],pre:s,post:s,body:{args:[{name:"out",lvalue:!0,rvalue:!1,count:1},{name:"left",lvalue:!1,rvalue:!0,count:1},{name:"right",lvalue:!1,rvalue:!0,count:1}],body:"out=0.5*(left-right)",thisVars:[],localVars:[]},funcName:"cdiff"}),u=i({args:["array"],pre:s,post:s,body:{args:[{name:"out",lvalue:!0,rvalue:!1,count:1}],body:"out=0",thisVars:[],localVars:[]},funcName:"zero"});function c(e){if(e in o)return o[e];for(var t=[],r=0;r<e;++r)t.push("out",r,"s=0.5*(inp",r,"l-inp",r,"r);");var a=["array"],l=["junk"];for(r=0;r<e;++r){a.push("array"),l.push("out"+r+"s");var u=n(e);u[r]=-1,a.push({array:0,offset:u.slice()}),u[r]=1,a.push({array:0,offset:u.slice()}),l.push("inp"+r+"l","inp"+r+"r")}return o[e]=i({args:a,pre:s,post:s,body:{body:t.join(""),args:l.map((function(e){return{name:e,lvalue:0===e.indexOf("out"),rvalue:0===e.indexOf("inp"),count:"junk"!==e|0}})),thisVars:[],localVars:[]},funcName:"fdTemplate"+e})}function f(e){var t=e.join(),r=a[t];if(r)return r;var n=e.length,i=["function gradient(dst,src){var s=src.shape.slice();"];function s(t){for(var r=n-t.length,o=[],a=[],s=[],l=0;l<n;++l)t.indexOf(l+1)>=0?s.push("0"):t.indexOf(-(l+1))>=0?s.push("s["+l+"]-1"):(s.push("-1"),o.push("1"),a.push("s["+l+"]-2"));var u=".lo("+o.join()+").hi("+a.join()+")";if(0===o.length&&(u=""),r>0){i.push("if(1");for(l=0;l<n;++l)t.indexOf(l+1)>=0||t.indexOf(-(l+1))>=0||i.push("&&s[",l,"]>2");i.push("){grad",r,"(src.pick(",s.join(),")",u);for(l=0;l<n;++l)t.indexOf(l+1)>=0||t.indexOf(-(l+1))>=0||i.push(",dst.pick(",s.join(),",",l,")",u);i.push(");")}for(l=0;l<t.length;++l){var c=Math.abs(t[l])-1,f="dst.pick("+s.join()+","+c+")"+u;switch(e[c]){case"clamp":var p=s.slice(),d=s.slice();t[l]<0?p[c]="s["+c+"]-2":d[c]="1",0===r?i.push("if(s[",c,"]>1){dst.set(",s.join(),",",c,",0.5*(src.get(",p.join(),")-src.get(",d.join(),")))}else{dst.set(",s.join(),",",c,",0)};"):i.push("if(s[",c,"]>1){diff(",f,",src.pick(",p.join(),")",u,",src.pick(",d.join(),")",u,");}else{zero(",f,");};");break;case"mirror":0===r?i.push("dst.set(",s.join(),",",c,",0);"):i.push("zero(",f,");");break;case"wrap":var h=s.slice(),v=s.slice();t[l]<0?(h[c]="s["+c+"]-2",v[c]="0"):(h[c]="s["+c+"]-1",v[c]="1"),0===r?i.push("if(s[",c,"]>2){dst.set(",s.join(),",",c,",0.5*(src.get(",h.join(),")-src.get(",v.join(),")))}else{dst.set(",s.join(),",",c,",0)};"):i.push("if(s[",c,"]>2){diff(",f,",src.pick(",h.join(),")",u,",src.pick(",v.join(),")",u,");}else{zero(",f,");};");break;default:throw new Error("ndarray-gradient: Invalid boundary condition")}}r>0&&i.push("};")}for(var f=0;f<1<<n;++f){for(var p=[],d=0;d<n;++d)f&1<<d&&p.push(d+1);for(var h=0;h<1<<p.length;++h){var v=p.slice();for(d=0;d<p.length;++d)h&1<<d&&(v[d]=-v[d]);s(v)}}i.push("return dst;};return gradient");var m=["diff","zero"],g=[l,u];for(f=1;f<=n;++f)m.push("grad"+f),g.push(c(f));m.push(i.join(""));var y=Function.apply(void 0,m);r=y.apply(void 0,g);return o[t]=r,r}function p(e,t,r){if(Array.isArray(r)){if(r.length!==t.dimension)throw new Error("ndarray-gradient: invalid boundary conditions")}else r=n(t.dimension,"string"===typeof r?r:"clamp");if(e.dimension!==t.dimension+1)throw new Error("ndarray-gradient: output dimension must be +1 input dimension");if(e.shape[t.dimension]!==t.dimension)throw new Error("ndarray-gradient: output shape must match input shape");for(var i=0;i<t.dimension;++i)if(e.shape[i]!==t.shape[i])throw new Error("ndarray-gradient: shape mismatch");if(0===t.size)return e;if(t.dimension<=0)return e.set(0),e;var o=f(r);return o(e,t)}},"1fb3":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedDropdownCustom=void 0;var i=d(r("ab5b")),o=f(r("d7bc")),a=r("4578"),s=r("e419"),l=f(r("5174")),u=f(r("f51b")),c=f(r("090e"));function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.setValue=i.setValue.bind(E(i)),i.setLocals=i.setLocals.bind(E(i)),i.setLocals(e),i.state={custom:i.value===e.customOpt||!i.props.options.map((function(e){return e.value})).includes(i.value)},i}return b(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setLocals(e)}},{key:"setLocals",value:function(e){this.value=void 0===e.fullValue||e.fullValue===s.MULTI_VALUED_PLACEHOLDER?this.props.defaultOpt:e.fullValue}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.value=e;var r=this.props.customOpt;this.setState({custom:(t||e===r)&&""!==e}),this.props.updateContainer(m({},this.props.attr,e!==r||t?e:r))}},{key:"render",value:function(){var e=this,t=this.props,r=t.options,n=t.attr,o=t.customOpt,a=""!==this.value&&r.map((function(e){return e.value})).includes(this.value)||!this.state.custom?this.value:o;return i.default.createElement(l.default,this.props,i.default.createElement(u.default,{backgroundDark:this.props.backgroundDark,options:r,value:a,onChange:this.setValue,clearable:this.props.clearable,components:this.props.components,placeholder:this.props.placeholder}),this.state.custom&&i.default.createElement(c.default,{attr:n,updatePlot:function(t){return e.setValue(t,!0)},onChange:function(t){t&&e.setValue(t,!0)}}))}}]),r}(i.Component);t.UnconnectedDropdownCustom=C,C.propTypes=v({backgroundDark:o.default.bool,fullValue:o.default.any,updatePlot:o.default.func,clearable:o.default.bool,components:o.default.object,placeholder:o.default.any,defaultOpt:o.default.oneOfType([o.default.number,o.default.bool,o.default.string]),customOpt:o.default.oneOfType([o.default.number,o.default.bool,o.default.string]),label:o.default.string,attr:o.default.string},l.default.propTypes),C.contextTypes={updateContainer:o.default.func},C.displayName="UnconnectedDropdownCustom";var S=(0,a.connectToContainer)(C);t.default=S},"1fb5":function(e,t,r){"use strict";t.byteLength=c,t.toByteArray=p,t.fromByteArray=v;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function c(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function p(e){var t,r,n=u(e),a=n[0],s=n[1],l=new o(f(e,a,s)),c=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function d(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function h(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(d(n));return i.join("")}function v(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,l=r-i;s<l;s+=a)o.push(h(e,s,s+a>l?l:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fc8":function(e,t,r){var n=r("4245");function i(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}e.exports=i},"1feb":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("d7bc")),o=l(r("ab5b")),a=r("4578");function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(){return c(this,r),t.apply(this,arguments)}return p(r,[{key:"render",value:function(){var e=this.props,t=e.onClick,r=e.label,n=e.active;return o.default.createElement("div",{onClick:t,className:(0,a.bem)("sidebar__item",[n?"is-active":""])},o.default.createElement("div",{className:(0,a.bem)("sidebar__item","wrapper")},o.default.createElement("div",{className:(0,a.bem)("sidebar__item","label")},r)))}}]),r}(o.Component);t.default=x,x.propTypes={active:i.default.bool,label:i.default.string,onClick:i.default.func}},2015:function(e,t,r){"use strict";var n=r("19b2"),i=r("371e"),o=r("fc26"),a=r("a651"),s=r("8c2d");e.exports=function(e,t,r,l){var u="error_"+l.axis,c=a.newContainer(t,u),f=e[u]||{};function p(e,t){return o.coerce(f,c,s,e,t)}var d=void 0!==f.array||void 0!==f.value||"sqrt"===f.type,h=p("visible",d);if(!1!==h){var v=p("type","array"in f?"data":"percent"),m=!0;"sqrt"!==v&&(m=p("symmetric",!(("data"===v?"arrayminus":"valueminus")in f))),"data"===v?(p("array"),p("traceref"),m||(p("arrayminus"),p("tracerefminus"))):"percent"!==v&&"constant"!==v||(p("value"),m||p("valueminus"));var g="copy_"+l.inherit+"style";if(l.inherit){var y=t["error_"+l.inherit];(y||{}).visible&&p(g,!(f.color||n(f.thickness)||n(f.width)))}l.inherit&&c[g]||(p("color",r),p("thickness"),p("width",i.traceIs(t,"gl3d")?0:4))}}},"201b":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("a36d")),o=c(r("d7bc")),a=u(r("ab5b")),s=r("ca44");function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(null==e)return{};var r,n,i=p(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=function(e){m(r,e);var t=y(r);function r(){return d(this,r),t.apply(this,arguments)}return v(r,[{key:"hasTrace",value:function(){return this.context.fullData.filter((function(e){return e.visible})).length>0}},{key:"render",value:function(){var e=this,t=this.context.localize,r=this.props,n=r.children,o=f(r,["children"]);return this.props.visible?this.hasTrace()?a.default.createElement(s.LayoutPanel,o,n):a.default.createElement(i.default,{heading:t("Looks like there aren't any traces defined yet.")},a.default.createElement("p",null,t("Go to the "),a.default.createElement("a",{onClick:function(){return e.context.setPanel("Structure","Traces")}},t("Traces")),t(" panel under Structure to define traces."))):null}}]),r}(a.Component);_.propTypes={children:o.default.node,visible:o.default.bool},_.defaultProps={visible:!0},_.contextTypes={fullData:o.default.array,localize:o.default.func,setPanel:o.default.func};var E=_;t.default=E},2031:function(e,t,r){"use strict";e.exports=r("14ab")()?Object.assign:r("f60e")},20314:function(e,t,r){"use strict";function n(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=r;return t}e.exports=n},"204d":function(e,t){function r(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}e.exports=r},2093:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("c4c7").isUnifiedHover;e.exports=function(e,t,r,a){function s(e){a.font[e]||(a.font[e]=t.legend?t.legend.font[e]:t.font[e])}a=a||{},t&&o(t.hovermode)&&(a.font||(a.font={}),s("size"),s("family"),s("color"),t.legend?(a.bgcolor||(a.bgcolor=i.combine(t.legend.bgcolor,t.paper_bgcolor)),a.bordercolor||(a.bordercolor=t.legend.bordercolor)):a.bgcolor||(a.bgcolor=t.paper_bgcolor)),r("hoverlabel.bgcolor",a.bgcolor),r("hoverlabel.bordercolor",a.bordercolor),r("hoverlabel.namelength",a.namelength),n.coerceFont(r,"hoverlabel.font",a.font),r("hoverlabel.align",a.align)}},"20ec":function(e,t){function r(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}e.exports=r},2124:function(e,t,r){"use strict";var n=r("42fc"),i=r("7f23"),o=r("dec3"),a=r("91cf"),s=r("174f"),l=r("1ca4"),u=r("e514"),c=r("59a1"),f=r("4f8d"),p=r("8164");function d(e,t){var r=null,n=null,i=s(e.currentTarget);if("function"===typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);r=o.startContainer,n=o.startOffset}else{if(!e.rangeParent)return null;r=e.rangeParent,n=e.rangeOffset}r=p(r),n=p(n);var l=p(a(r));return u(t,l,n,l,n)}var h={onDragEnd:function(e){e.exitCurrentMode(),v(e)},onDrop:function(e,t){var r=new n(t.nativeEvent.dataTransfer),i=e._latestEditorState,o=d(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=o){var a=r.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(o,a)))return;l(a,(function(t){t&&e.update(g(i,o,t))}))}else{var s=e._internalDrag?"internal":"external";e.props.handleDrop&&f(e.props.handleDrop(o,r,s))||(e._internalDrag?e.update(m(i,o)):e.update(g(i,o,r.getText()))),v(e)}}}};function v(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var r=new MouseEvent("mouseup",{view:c(t),bubbles:!0,cancelable:!0});t.dispatchEvent(r)}}function m(e,t){var r=i.moveText(e.getCurrentContent(),e.getSelection(),t);return o.push(e,r,"insert-fragment")}function g(e,t,r){var n=i.insertText(e.getCurrentContent(),t,r,e.getCurrentInlineStyle());return o.push(e,n,"insert-fragment")}e.exports=h},2127:function(e,t,r){"use strict";var n=r("91cf"),i=r("cce4"),o=r("e514"),a=r("d8db"),s=r("1b23"),l=r("8164");function u(e,t,r,i,a,s){var u=r.nodeType===Node.TEXT_NODE,c=a.nodeType===Node.TEXT_NODE;if(u&&c)return{selectionState:o(e,l(n(r)),i,l(n(a)),s),needsRecovery:!1};var f=null,d=null,h=!0;return u?(f={key:l(n(r)),offset:i},d=p(t,a,s)):c?(d={key:l(n(a)),offset:s},f=p(t,r,i)):(f=p(t,r,i),d=p(t,a,s),r===a&&i===s&&(h=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(e,f.key,f.offset,d.key,d.offset),needsRecovery:h}}function c(e){while(e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||i(e.firstChild)))e=e.firstChild;return e}function f(e){while(e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||i(e.lastChild)))e=e.lastChild;return e}function p(e,t,r){var o=t,u=n(o);if(null!=u||e&&(e===o||e.firstChild===o)||a(!1),e===o){o=o.firstChild,s(o)||a(!1);var p=o;o=p,"true"!==o.getAttribute("data-contents")&&a(!1),r>0&&(r=o.childNodes.length)}if(0===r){var h=null;if(null!=u)h=u;else{var v=c(o);h=l(i(v))}return{key:h,offset:0}}var m=o.childNodes[r-1],g=null,y=null;if(i(m)){var b=f(m);g=l(i(b)),y=d(b)}else g=l(u),y=d(m);return{key:g,offset:y}}function d(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=u},"214c":function(e,t,r){"use strict";var n=r("de81");e.exports=function(e,t){var r,i,o,a,s=e.cd,l=e.xaxis,u=e.yaxis,c=[],f=s[0].trace,p=!n.hasMarkers(f)&&!n.hasText(f);if(p)return[];if(!1===t)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)i=s[r],o=l.c2p(i.x),a=u.c2p(i.y),null!==i.i&&t.contains([o,a],!1,r,e)?(c.push({pointNumber:i.i,x:l.c2d(i.x),y:u.c2d(i.y)}),i.selected=1):i.selected=0;return c}},"215c":function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("19b2"),a=r("fc26"),s=r("d115"),l=r("4852").isValid;function u(e,t,r){var n=t?a.nestedProperty(e,t).get()||{}:e,i=n[r||"color"],s=!1;if(a.isArrayOrTypedArray(i))for(var u=0;u<i.length;u++)if(o(i[u])){s=!0;break}return a.isPlainObject(n)&&(s||!0===n.showscale||o(n.cmin)&&o(n.cmax)||l(n.colorscale)||a.isPlainObject(n.colorbar))}var c=["showscale","autocolorscale","colorscale","reversescale","colorbar"],f=["min","max","mid","auto"];function p(e){var t,r,n,i=e._colorAx,o=i||e,a={};for(r=0;r<c.length;r++)n=c[r],a[n]=o[n];if(i)for(t="c",r=0;r<f.length;r++)n=f[r],a[n]=o["c"+n];else{var s;for(r=0;r<f.length;r++)n=f[r],s="c"+n,s in o?a[n]=o[s]:(s="z"+n,s in o&&(a[n]=o[s]));t=s.charAt(0)}return a._sync=function(e,r){var n=-1!==f.indexOf(e)?t+e:e;o[n]=o["_"+n]=r},a}function d(e){for(var t=p(e),r=t.min,n=t.max,i=t.reversescale?h(t.colorscale):t.colorscale,o=i.length,a=new Array(o),s=new Array(o),l=0;l<o;l++){var u=i[l];a[l]=r+u[0]*(n-r),s[l]=u[1]}return{domain:a,range:s}}function h(e){for(var t=e.length,r=new Array(t),n=t-1,i=0;n>=0;n--,i++){var o=e[n];r[i]=[1-o[0],o[1]]}return r}function v(e,t){t=t||{};for(var r=e.domain,a=e.range,l=a.length,u=new Array(l),c=0;c<l;c++){var f=i(a[c]).toRgb();u[c]=[f.r,f.g,f.b,f.a]}var p,d=n.scale.linear().domain(r).range(u).clamp(!0),h=t.noNumericCheck,v=t.returnArray;return p=h&&v?d:h?function(e){return g(d(e))}:v?function(e){return o(e)?d(e):i(e).isValid()?e:s.defaultLine}:function(e){return o(e)?g(d(e)):i(e).isValid()?e:s.defaultLine},p.domain=d.domain,p.range=function(){return a},p}function m(e,t){return v(d(e),t)}function g(e){var t={r:e[0],g:e[1],b:e[2],a:e[3]};return i(t).toRgbString()}e.exports={hasColorscale:u,extractOpts:p,extractScale:d,flipScale:h,makeColorScaleFunc:v,makeColorScaleFuncFromTrace:m}},2160:function(e,t,r){"use strict";var n=r("62c4"),i={function:!0,object:!0};e.exports=function(e){return n(e)&&i[typeof e]||!1}},2169:function(e,t,r){"use strict";var n=r("e806").BADNUM;t.calcTraceToLineCoords=function(e){for(var t=e[0].trace,r=t.connectgaps,i=[],o=[],a=0;a<e.length;a++){var s=e[a],l=s.lonlat;l[0]!==n?o.push(l):!r&&o.length>0&&(i.push(o),o=[])}return o.length>0&&i.push(o),i},t.makeLine=function(e){return 1===e.length?{type:"LineString",coordinates:e[0]}:{type:"MultiLineString",coordinates:e}},t.makePolygon=function(e){if(1===e.length)return{type:"Polygon",coordinates:e};for(var t=new Array(e.length),r=0;r<e.length;r++)t[r]=[e[r]];return{type:"MultiPolygon",coordinates:t}},t.makeBlank=function(){return{type:"Point",coordinates:[]}}},"217a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M.875.25h.313c.5.125.875.5.875 1v4.938C6.251 5.125 10.501 4.063 14.688 3V1.25c0-.5.375-.875.813-1h.375c.438.125.875.5.875 1v2.188c4.375 1.688 8.813 3.313 13.188 4.938V1.251c0-.438.375-.875.875-1h.313c.438.125.75.438.875.813v29.875c-.125.375-.375.688-.75.813h-.563a1.07 1.07 0 0 1-.75-1v-3c-2.25-1.813-4.438-3.625-6.688-5.438a487.954 487.954 0 0 1-6.5 5.313v3.125c0 .438-.375.875-.75 1h-.563a1.07 1.07 0 0 1-.75-1v-2.75c-4.188-.813-8.438-1.563-12.625-2.375v5.125c0 .438-.375.875-.75 1H.75a1.18 1.18 0 0 1-.75-.875V1.127C.063.689.438.377.875.252M2.063 7.25v11.313c4.188-1.063 8.375-2.125 12.625-3.188V4.062A3664.18 3664.18 0 0 0 2.063 7.25M16.75 4.563v11.125a487.954 487.954 0 0 0 6.5 5.313c2.188-1.813 4.375-3.563 6.625-5.375 0 0 .063-.063.063-.125v-6c-4.375-1.625-8.813-3.313-13.188-4.938M2.063 19.625v4.938c4.188.813 8.375 1.563 12.625 2.375V16.5c-4.25 1-8.438 2.063-12.625 3.125m22.125 2c-.063 0-.063 0-.125.063 2 1.563 3.938 3.125 5.875 4.75v-9.5c-1.938 1.563-3.875 3.125-5.75 4.688m-7.438-4.563v9.188c1.875-1.5 3.75-3.063 5.688-4.563a366.502 366.502 0 0 0-5.688-4.625z"}))};t.default=u},2195:function(e,t,r){"use strict";var n=r("def6"),i=r("0fba");function o(e,t){var r=i(e),o=i(t);if(0===r)return[n(0),n(1)];if(0===o)return[n(0),n(0)];o<0&&(e=e.neg(),t=t.neg());var a=e.gcd(t);return a.cmpn(1)?[e.div(a),t.div(a)]:[e,t]}e.exports=o},"21c1":function(e,t,r){"use strict";var n=/^GIF8[79]a/;function i(e){var t=e.toString("ascii",0,6);return n.test(t)}function o(e){return{width:e.readUInt16LE(6),height:e.readUInt16LE(8)}}e.exports={detect:i,calculate:o}},"21d9":function(e,t,r){"use strict";e.exports=o;var n=r("566e"),i=r("941b");function o(e){return i(n(e))}},"21db":function(e,t,r){"use strict";var n=r("7301"),i=n("draft_tree_data_support");e.exports=r(i?"62b1":"6373")},"21dd":function(e,t,r){"use strict";e.exports=r("f657")},"223c":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("0379"),s=r("c8b8"),l=r("da8c").styleOne,u=r("23cc"),c=r("fb56"),f=r("6962"),p=!0;e.exports=function(e,t,r,d,h){var v=h.barDifY,m=h.width,g=h.height,y=h.viewX,b=h.viewY,x=h.pathSlice,A=h.toMoveInsideSlice,w=h.strTransform,_=h.hasTransition,E=h.handleSlicesExit,k=h.makeUpdateSliceInterpolator,T=h.makeUpdateTextInterpolator,C={},S=e._fullLayout,O=t[0],M=O.trace,P=O.hierarchy,B=m/M._entryDepth,L=c.listPath(r.data,"id"),D=s(P.copy(),[m,g],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();D=D.filter((function(e){var t=L.indexOf(e.data.id);return-1!==t&&(e.x0=B*t,e.x1=B*(t+1),e.y0=v,e.y1=v+g,e.onPathbar=!0,!0)})),D.reverse(),d=d.data(D,c.getPtId),d.enter().append("g").classed("pathbar",!0),E(d,p,C,[m,g],x),d.order();var I=d;_&&(I=I.transition().each("end",(function(){var t=n.select(this);c.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),I.each((function(s){s._hoverX=y(s.x1-Math.min(m,g)/2),s._hoverY=b(s.y1-g/2);var d=n.select(this),h=i.ensureSingle(d,"path","surface",(function(e){e.style("pointer-events","all")}));_?h.transition().attrTween("d",(function(e){var t=k(e,p,C,[m,g]);return function(e){return x(t(e))}})):h.attr("d",x),d.call(f,r,e,t,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),h.call(l,s,M,{hovered:!1}),s._text=(c.getPtLabel(s)||"").split("<br>").join(" ")||"";var v=i.ensureSingle(d,"g","slicetext"),E=i.ensureSingle(v,"text","",(function(e){e.attr("data-notex",1)})),O=i.ensureUniformFontSize(e,c.determineTextFont(M,s,S.font,{onPathbar:!0}));E.text(s._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(o.font,O).call(a.convertToTspans,e),s.textBB=o.bBox(E.node()),s.transform=A(s,{fontSize:O.size,onPathbar:!0}),s.transform.fontSize=O.size,_?E.transition().attrTween("transform",(function(e){var t=T(e,p,C,[m,g]);return function(e){return w(t(e))}})):E.attr("transform",w(s))}))}},2244:function(e,t,r){"use strict";var n=r("fc26"),i=r("91ce");e.exports=function(e,t,r){var o=!1;function a(r,o){return n.coerce(e,t,i,r,o)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"waterfall"===l.type){o=!0;break}}o&&(a("waterfallmode"),a("waterfallgap",.2),a("waterfallgroupgap"))}},2266:function(e,t,r){var n=r("825a"),i=r("e95a"),o=r("50c4"),a=r("0366"),s=r("35a1"),l=r("9bdd"),u=function(e,t){this.stopped=e,this.result=t},c=e.exports=function(e,t,r,c,f){var p,d,h,v,m,g,y,b=a(t,r,c?2:1);if(f)p=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(h=0,v=o(e.length);v>h;h++)if(m=c?b(n(y=e[h])[0],y[1]):b(e[h]),m&&m instanceof u)return m;return new u(!1)}p=d.call(e)}g=p.next;while(!(y=g.call(p)).done)if(m=l(p,b,y.value,c),"object"==typeof m&&m&&m instanceof u)return m;return new u(!1)};c.stop=function(e){return new u(!0,e)}},2286:function(e,t,r){var n=r("85e3"),i=Math.max;function o(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);while(++a<s)l[a]=o[t+a];a=-1;var u=Array(t+1);while(++a<t)u[a]=o[a];return u[t]=r(l),n(e,this,u)}}e.exports=o},2292:function(e,t,r){"use strict";e.exports=function(){var e,t;if("function"!==typeof WeakMap)return!1;try{e=new WeakMap([[t={},"one"],[{},"two"],[{},"three"]])}catch(r){return!1}return"[object WeakMap]"===String(e)&&("function"===typeof e.set&&(e.set({},1)===e&&("function"===typeof e.delete&&("function"===typeof e.has&&"one"===e.get(t)))))}},22926:function(e,t,r){"use strict";var n=r("fc26"),i=r("e5ac"),o=r("26e4"),a=r("de81"),s=r("5047"),l=r("8cdc"),u=r("50da").isOpenSymbol;function c(e,t){function r(r,i){return n.coerce(e,t,o.dimensions,r,i)}r("label");var i=r("values");i&&i.length?r("visible"):t.visible=!1,r("axis.type"),r("axis.matches")}function f(e,t,r,n){var i,o,a=t.dimensions,s=a.length,l=t.showupperhalf,u=t.showlowerhalf,c=t.diagonal.visible,f=new Array(s),p=new Array(s);for(i=0;i<s;i++){var d=i?i+1:"";f[i]="x"+d,p[i]="y"+d}var h=n("xaxes",f),v=n("yaxes",p),m=t._diag=new Array(s);t._xaxes={},t._yaxes={};var g=[],y=[];function b(e,n,i,o){if(e){var a=e.charAt(0),s=r._splomAxes[a];if(t["_"+a+"axes"][e]=1,o.push(e),!(e in s)){var l=s[e]={};i&&(l.label=i.label||"",i.visible&&i.axis&&(i.axis.type&&(l.type=i.axis.type),i.axis.matches&&(l.matches=n)))}}}var x=!c&&!u,A=!c&&!l;for(t._axesDim={},i=0;i<s;i++){var w=a[i],_=0===i,E=i===s-1,k=_&&x||E&&A?void 0:h[i],T=_&&A||E&&x?void 0:v[i];b(k,T,w,g),b(T,k,w,y),m[i]=[k,T],t._axesDim[k]=i,t._axesDim[T]=i}for(i=0;i<g.length;i++)for(o=0;o<y.length;o++){var C=g[i]+y[o];i>o&&l||i<o&&u?r._splomSubplots[C]=1:i!==o||!c&&u&&l||(r._splomSubplots[C]=1)}(!u||!c&&l&&u)&&(r._splomGridDflt.xside="bottom",r._splomGridDflt.yside="left")}e.exports=function(e,t,r,p){function d(r,i){return n.coerce(e,t,o,r,i)}var h=i(e,t,{name:"dimensions",handleItemDefaults:c}),v=d("diagonal.visible"),m=d("showupperhalf"),g=d("showlowerhalf"),y=l(t,h,"values");if(y&&(v||m||g)){d("text"),d("hovertext"),d("hovertemplate"),s(e,t,r,p,d);var b=u(t.marker.symbol),x=a.isBubble(t);d("marker.line.width",b||x?1:0),f(e,t,p,d),n.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1}},"22af":function(e,t,r){"use strict";var n="-",i={encode:function(e,t,r){return e+n+t+n+r},decode:function(e){var t=e.split(n).reverse(),r=t[0],i=t[1],o=t.slice(2);return{blockKey:o.reverse().join(n),decoratorKey:parseInt(i,10),leafKey:parseInt(r,10)}}};e.exports=i},"22b4":function(e,t,r){"use strict";t.shader=h,t.program=v;var n=r("a3fd"),i=r("07db"),o="undefined"===typeof WeakMap?r("fcc5"):WeakMap,a=new o,s=0;function l(e,t,r,n,i,o,a){this.id=e,this.src=t,this.type=r,this.shader=n,this.count=o,this.programs=[],this.cache=a}function u(e){this.gl=e,this.shaders=[{},{}],this.programs={}}l.prototype.dispose=function(){if(0===--this.count){for(var e=this.cache,t=e.gl,r=this.programs,n=0,i=r.length;n<i;++n){var o=e.programs[r[n]];o&&(delete e.programs[n],t.deleteProgram(o))}t.deleteShader(this.shader),delete e.shaders[this.type===t.FRAGMENT_SHADER|0][this.src]}};var c=u.prototype;function f(e,t,r){var o=e.createShader(t);if(e.shaderSource(o,r),e.compileShader(o),!e.getShaderParameter(o,e.COMPILE_STATUS)){var a=e.getShaderInfoLog(o);try{var s=i(a,r,t)}catch(l){throw console.warn("Failed to format compiler error: "+l),new n(a,"Error compiling shader:\n"+a)}throw new n(a,s.short,s.long)}return o}function p(e,t,r,i,o){var a=e.createProgram();e.attachShader(a,t),e.attachShader(a,r);for(var s=0;s<i.length;++s)e.bindAttribLocation(a,o[s],i[s]);if(e.linkProgram(a),!e.getProgramParameter(a,e.LINK_STATUS)){var l=e.getProgramInfoLog(a);throw new n(l,"Error linking program: "+l)}return a}function d(e){var t=a.get(e);return t||(t=new u(e),a.set(e,t)),t}function h(e,t,r){return d(e).getShaderReference(t,r)}function v(e,t,r,n,i){return d(e).getProgram(t,r,n,i)}c.getShaderReference=function(e,t){var r=this.gl,n=this.shaders[e===r.FRAGMENT_SHADER|0],i=n[t];if(i&&r.isShader(i.shader))i.count+=1;else{var o=f(r,e,t);i=n[t]=new l(s++,t,e,o,[],1,this)}return i},c.getProgram=function(e,t,r,n){var i=[e.id,t.id,r.join(":"),n.join(":")].join("@"),o=this.programs[i];return o&&this.gl.isProgram(o)||(this.programs[i]=o=p(this.gl,e.shader,t.shader,r,n),e.programs.push(i),t.programs.push(i)),o}},"22d4":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteTransform=i.deleteTransform.bind(y(i)),i.updateTransform=i.updateTransform.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.transformIndex,n=t.container,i=t.fullContainer,o=n.transforms||[],a=i.transforms||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("transforms[].".concat(t)):null},updateContainer:this.updateTransform,deleteContainer:this.deleteTransform,container:this.container,fullContainer:this.fullContainer}}},{key:"updateTransform",value:function(e){var t={},r=this.props.transformIndex;for(var n in e){var i="transforms[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteTransform",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_TRANSFORM,payload:{traceIndex:this.context.fullContainer.index,transformIndex:this.props.transformIndex}})}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="TransformConnected".concat((0,a.getDisplayName)(e)),t.propTypes={transformIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"22f9":function(e,t,r){"use strict";e.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},2325:function(e,t,r){e.exports=a;var n=r("9573"),i=r("913b"),o=r("e448");function a(e,t){var r=n(e[0],e[1],e[2]),a=n(t[0],t[1],t[2]);i(r,r),i(a,a);var s=o(r,a);return s>1?0:Math.acos(s)}},"232b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=2*Math.PI,o=function(e,t,r,n,i,o,a){var s=e.x,l=e.y;s*=t,l*=r;var u=n*s-i*l,c=i*s+n*l;return{x:u+o,y:c+a}},a=function(e,t){var r=1.5707963267948966===t?.551915024494:-1.5707963267948966===t?-.551915024494:4/3*Math.tan(t/4),n=Math.cos(e),i=Math.sin(e),o=Math.cos(e+t),a=Math.sin(e+t);return[{x:n-i*r,y:i+n*r},{x:o+a*r,y:a-o*r},{x:o,y:a}]},s=function(e,t,r,n){var i=e*n-t*r<0?-1:1,o=e*r+t*n;return o>1&&(o=1),o<-1&&(o=-1),i*Math.acos(o)},l=function(e,t,r,n,o,a,l,u,c,f,p,d){var h=Math.pow(o,2),v=Math.pow(a,2),m=Math.pow(p,2),g=Math.pow(d,2),y=h*v-h*g-v*m;y<0&&(y=0),y/=h*g+v*m,y=Math.sqrt(y)*(l===u?-1:1);var b=y*o/a*d,x=y*-a/o*p,A=f*b-c*x+(e+r)/2,w=c*b+f*x+(t+n)/2,_=(p-b)/o,E=(d-x)/a,k=(-p-b)/o,T=(-d-x)/a,C=s(1,0,_,E),S=s(_,E,k,T);return 0===u&&S>0&&(S-=i),1===u&&S<0&&(S+=i),[A,w,C,S]},u=function(e){var t=e.px,r=e.py,s=e.cx,u=e.cy,c=e.rx,f=e.ry,p=e.xAxisRotation,d=void 0===p?0:p,h=e.largeArcFlag,v=void 0===h?0:h,m=e.sweepFlag,g=void 0===m?0:m,y=[];if(0===c||0===f)return[];var b=Math.sin(d*i/360),x=Math.cos(d*i/360),A=x*(t-s)/2+b*(r-u)/2,w=-b*(t-s)/2+x*(r-u)/2;if(0===A&&0===w)return[];c=Math.abs(c),f=Math.abs(f);var _=Math.pow(A,2)/Math.pow(c,2)+Math.pow(w,2)/Math.pow(f,2);_>1&&(c*=Math.sqrt(_),f*=Math.sqrt(_));var E=l(t,r,s,u,c,f,v,g,b,x,A,w),k=n(E,4),T=k[0],C=k[1],S=k[2],O=k[3],M=Math.abs(O)/(i/4);Math.abs(1-M)<1e-7&&(M=1);var P=Math.max(Math.ceil(M),1);O/=P;for(var B=0;B<P;B++)y.push(a(S,O)),S+=O;return y.map((function(e){var t=o(e[0],c,f,x,b,T,C),r=t.x,n=t.y,i=o(e[1],c,f,x,b,T,C),a=i.x,s=i.y,l=o(e[2],c,f,x,b,T,C),u=l.x,p=l.y;return{x1:r,y1:n,x2:a,y2:s,x:u,y:p}}))};t.default=u,e.exports=t.default},2344:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M27.625 32H5.812a.722.722 0 0 1-.75-.75V.75c0-.438.313-.75.75-.75h21.813c.438 0 .75.313.75.75v30.5c0 .438-.313.75-.75.75zM6.563 30.563h20.375V1.438H6.563zm.687-24.75H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.312H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zm0 4.375H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zm6-5.937v-10.75h4.813c1 0 1.75.125 2.125.25.438.188.875.625 1.188 1 .313.438.438 1.063.438 1.625 0 .75-.313 1.438-.75 1.875-.438.625-1.25.875-2.313 1.063.438.125.75.25.875.563.438.438.875.875 1.188 1.438l1.875 2.938h-1.75l-1.438-2.188c-.438-.563-.75-1.188-1-1.438-.313-.438-.625-.625-.75-.75s-.438-.313-.563-.313h-2.5v4.813H13.25zm1.438-6h3.063c.563 0 1.188 0 1.625-.125s.563-.313.813-.563c.188-.313.313-.625.313-1.063 0-.563-.125-.875-.563-1.313-.438-.25-1-.438-1.75-.438h-3.5z"}))};t.default=u},"234d":function(e,t,r){var n=r("e380"),i=500;function o(e){var t=n(e,(function(e){return r.size===i&&r.clear(),e})),r=t.cache;return t}e.exports=o},2351:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,21H8V7H19M19,5H8C6.9,5 6,5.9 6,7V21C6,22.1 6.9,23 8,23H19C20.1,23 21,22.1 21,21V7C21,5.9 20.1,5 19,5M16,1H4C2.9,1 2,1.9 2,3V17H4V3H16V1Z"}))};e.exports=s},2357:function(e,t,r){"use strict";var n=r("0000"),i=r("175e");function o(e,t){this.point=e,this.index=t}function a(e,t){for(var r=e.point,n=t.point,i=r.length,o=0;o<i;++o){var a=n[o]-r[o];if(a)return a}return 0}function s(e,t,r){if(1===e)return r?[[-1,0]]:[];var n=t.map((function(e,t){return[e[0],t]}));n.sort((function(e,t){return e[0]-t[0]}));for(var i=new Array(e-1),o=1;o<e;++o){var a=n[o-1],s=n[o];i[o-1]=[a[1],s[1]]}return r&&i.push([-1,i[0][1]],[i[e-1][1],-1]),i}function l(e,t){var r=e.length;if(0===r)return[];var l=e[0].length;if(l<1)return[];if(1===l)return s(r,e,t);for(var u=new Array(r),c=1,f=0;f<r;++f){for(var p=e[f],d=new Array(l+1),h=0,v=0;v<l;++v){var m=p[v];d[v]=m,h+=m*m}d[l]=h,u[f]=new o(d,f),c=Math.max(h,c)}i(u,a),r=u.length;var g=new Array(r+l+1),y=new Array(r+l+1),b=(l+1)*(l+1)*c,x=new Array(l+1);for(f=0;f<=l;++f)x[f]=0;x[l]=b,g[0]=x.slice(),y[0]=-1;for(f=0;f<=l;++f){d=x.slice();d[f]=1,g[f+1]=d,y[f+1]=-1}for(f=0;f<r;++f){var A=u[f];g[f+l+1]=A.point,y[f+l+1]=A.index}var w=n(g,!1);if(w=t?w.filter((function(e){for(var t=0,r=0;r<=l;++r){var n=y[e[r]];if(n<0&&++t>=2)return!1;e[r]=n}return!0})):w.filter((function(e){for(var t=0;t<=l;++t){var r=y[e[t]];if(r<0)return!1;e[t]=r}return!0})),1&l)for(f=0;f<w.length;++f){A=w[f],d=A[0];A[0]=A[1],A[1]=d}return w}e.exports=l},2365:function(e,t,r){"use strict";var n=r("24be"),i=r("55306"),o=r("24f7"),a=r("d8db"),s=o.OrderedMap,l=o.List,u=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}},c=function(e,t,r,n,i){if(!i)return e;var o="after"===n,a=t.getKey(),s=r.getKey(),c=t.getParentKey(),f=t.getNextSiblingKey(),p=t.getPrevSiblingKey(),d=r.getParentKey(),h=o?r.getNextSiblingKey():s,v=o?s:r.getPrevSiblingKey();return e.withMutations((function(e){u(c,e,(function(e){var t=e.getChildKeys();return e.merge({children:t["delete"](t.indexOf(a))})})),u(p,e,(function(e){return e.merge({nextSibling:f})})),u(f,e,(function(e){return e.merge({prevSibling:p})})),u(h,e,(function(e){return e.merge({prevSibling:a})})),u(v,e,(function(e){return e.merge({nextSibling:a})})),u(d,e,(function(e){var t=e.getChildKeys(),r=t.indexOf(s),n=o?r+1:0!==r?r-1:0,i=t.toArray();return i.splice(n,0,a),e.merge({children:l(i)})})),u(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:v,parent:d})}))}))},f=function(e,t,r,o){"replace"===o&&a(!1);var l=r.getKey(),u=t.getKey();u===l&&a(!1);var f=e.getBlockMap(),p=t instanceof n,d=[t],h=f["delete"](u);p&&(d=[],h=f.withMutations((function(e){var r=t.getNextSiblingKey(),n=i(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===u})).takeWhile((function(e){var t=e.getKey(),i=t===u,o=r&&t!==r,a=!r&&e.getParentKey()&&(!n||t!==n);return!!(i||o||a)})).forEach((function(t){d.push(t),e["delete"](t.getKey())}))})));var v=h.toSeq().takeUntil((function(e){return e===r})),m=h.toSeq().skipUntil((function(e){return e===r})).skip(1),g=d.map((function(e){return[e.getKey(),e]})),y=s();if("before"===o){var b=e.getBlockBefore(l);b&&b.getKey()===t.getKey()&&a(!1),y=v.concat([].concat(g,[[l,r]]),m).toOrderedMap()}else if("after"===o){var x=e.getBlockAfter(l);x&&x.getKey()===u&&a(!1),y=v.concat([[l,r]].concat(g),m).toOrderedMap()}return e.merge({blockMap:c(y,t,r,o,p),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:u,focusKey:u})})};e.exports=f},"236d":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("0642"),a=r("b34d").readPaths,s=r("ca64"),l=r("e947").clearOutlineControllers,u=r("d115"),c=r("83d1"),f=r("a651").arrayEditor,p=r("4efe"),d=r("0f37"),h=r("d858"),v=r("fdc7");function m(e){var t=e._fullLayout;for(var r in t._shapeUpperLayer.selectAll("path").remove(),t._shapeLowerLayer.selectAll("path").remove(),t._plots){var n=t._plots[r].shapelayer;n&&n.selectAll("path").remove()}for(var i=0;i<t.shapes.length;i++)t.shapes[i].visible&&b(e,i)}function g(e){return!!e._fullLayout._drawing}function y(e){return!e._context.edits.shapePosition}function b(e,t){e._fullLayout._paperdiv.selectAll('.shapelayer [data-index="'+t+'"]').remove();var r=v.makeOptionsAndPlotinfo(e,t),n=r.options,i=r.plotinfo;if(n._input&&!1!==n.visible)if("below"!==n.layer)l(e._fullLayout._shapeUpperLayer);else if("paper"===n.xref||"paper"===n.yref)l(e._fullLayout._shapeLowerLayer);else if(i._hadPlotinfo){var o=i.mainplotinfo||i;l(o.shapelayer)}else l(e._fullLayout._shapeLowerLayer);function l(r){var o=w(e,n),l={"data-index":t,"fill-rule":n.fillrule,d:o},p=n.opacity,d=n.fillcolor,h=n.line.width?n.line.color:"rgba(0,0,0,0)",v=n.line.width,m=n.line.dash;v||!0!==n.editable||(v=5,m="solid");var g="Z"!==o[o.length-1],b=y(e)&&n.editable&&e._fullLayout._activeShapeIndex===t;b&&(d=g?"rgba(0,0,0,0)":e._fullLayout.activeshape.fillcolor,p=e._fullLayout.activeshape.opacity);var _,E=r.append("path").attr(l).style("opacity",p).call(u.stroke,h).call(u.fill,d).call(c.dashLine,m,v);if(x(E,e,n),(b||e._context.edits.shapePosition)&&(_=f(e.layout,"shapes",n)),b){E.style({cursor:"move"});var T={element:E.node(),plotinfo:i,gd:e,editHelpers:_,isActiveShape:!0},C=a(o,e);s(C,E,T)}else e._context.edits.shapePosition?A(e,E,n,t,r,_):!0===n.editable&&E.style("pointer-events",g||u.opacity(d)*p<=.5?"stroke":"all");E.node().addEventListener("click",(function(){return k(e,E)}))}}function x(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");c.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function A(e,t,r,a,s,l){var u,f,m,y,b,A,_,k,T,C,S,O,M,P,B,L,D=10,I=10,j="pixel"===r.xsizemode,R="pixel"===r.ysizemode,F="line"===r.type,N="path"===r.type,z=l.modifyItem,U=o.getFromId(e,r.xref),H=o.getRefType(r.xref),V=o.getFromId(e,r.yref),Q=o.getRefType(r.yref),W=v.getDataToPixel(e,U,!1,H),K=v.getDataToPixel(e,V,!0,Q),q=v.getPixelToData(e,U,!1,H),G=v.getPixelToData(e,V,!0,Q),$=X(),Y={element:$.node(),gd:e,prepFn:ee,doneFn:te,clickFn:re};function X(){return F?Z():t}function Z(){var e=10,n=Math.max(r.line.width,e),i=s.append("g").attr("data-index",a);i.append("path").attr("d",t.attr("d")).style({cursor:"move","stroke-width":n,"stroke-opacity":"0"});var o={"fill-opacity":"0"},l=Math.max(n/2,e);return i.append("circle").attr({"data-line-point":"start-point",cx:j?W(r.xanchor)+r.x0:W(r.x0),cy:R?K(r.yanchor)-r.y0:K(r.y0),r:l}).style(o).classed("cursor-grab",!0),i.append("circle").attr({"data-line-point":"end-point",cx:j?W(r.xanchor)+r.x1:W(r.x1),cy:R?K(r.yanchor)-r.y1:K(r.y1),r:l}).style(o).classed("cursor-grab",!0),i}function J(r){if(g(e))L=null;else if(F)L="path"===r.target.tagName?"move":"start-point"===r.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var n=Y.element.getBoundingClientRect(),i=n.right-n.left,o=n.bottom-n.top,a=r.clientX-n.left,s=r.clientY-n.top,l=!N&&i>D&&o>I&&!r.shiftKey?p.getCursor(a/i,1-s/o):"move";d(t,l),L=l.split("-")[0]}}function ee(n){g(e)||(j&&(b=W(r.xanchor)),R&&(A=K(r.yanchor)),"path"===r.type?B=r.path:(u=j?r.x0:W(r.x0),f=R?r.y0:K(r.y0),m=j?r.x1:W(r.x1),y=R?r.y1:K(r.y1)),u<m?(T=u,M="x0",C=m,P="x1"):(T=m,M="x1",C=u,P="x0"),!R&&f<y||R&&f>y?(_=f,S="y0",k=y,O="y1"):(_=y,S="y1",k=f,O="y0"),J(n),oe(s,r),se(t,r,e),Y.moveFn="move"===L?ne:ie,Y.altKey=n.altKey)}function te(){g(e)||(d(t),ae(s),x(t,e,r),n.call("_guiRelayout",e,l.getUpdateObj()))}function re(){g(e)||ae(s)}function ne(n,i){if("path"===r.type){var o=function(e){return e},a=o,l=o;j?z("xanchor",r.xanchor=q(b+n)):(a=function(e){return q(W(e)+n)},U&&"date"===U.type&&(a=v.encodeDate(a))),R?z("yanchor",r.yanchor=G(A+i)):(l=function(e){return G(K(e)+i)},V&&"date"===V.type&&(l=v.encodeDate(l))),z("path",r.path=E(B,a,l))}else j?z("xanchor",r.xanchor=q(b+n)):(z("x0",r.x0=q(u+n)),z("x1",r.x1=q(m+n))),R?z("yanchor",r.yanchor=G(A+i)):(z("y0",r.y0=G(f+i)),z("y1",r.y1=G(y+i)));t.attr("d",w(e,r)),oe(s,r)}function ie(n,i){if(N){var o=function(e){return e},a=o,l=o;j?z("xanchor",r.xanchor=q(b+n)):(a=function(e){return q(W(e)+n)},U&&"date"===U.type&&(a=v.encodeDate(a))),R?z("yanchor",r.yanchor=G(A+i)):(l=function(e){return G(K(e)+i)},V&&"date"===V.type&&(l=v.encodeDate(l))),z("path",r.path=E(B,a,l))}else if(F){if("resize-over-start-point"===L){var c=u+n,p=R?f-i:f+i;z("x0",r.x0=j?c:q(c)),z("y0",r.y0=R?p:G(p))}else if("resize-over-end-point"===L){var d=m+n,h=R?y-i:y+i;z("x1",r.x1=j?d:q(d)),z("y1",r.y1=R?h:G(h))}}else{var g=function(e){return-1!==L.indexOf(e)},x=g("n"),H=g("s"),Q=g("w"),$=g("e"),Y=x?_+i:_,X=H?k+i:k,Z=Q?T+n:T,J=$?C+n:C;R&&(x&&(Y=_-i),H&&(X=k-i)),(!R&&X-Y>I||R&&Y-X>I)&&(z(S,r[S]=R?Y:G(Y)),z(O,r[O]=R?X:G(X))),J-Z>D&&(z(M,r[M]=j?Z:q(Z)),z(P,r[P]=j?J:q(J)))}t.attr("d",w(e,r)),oe(s,r)}function oe(e,t){function r(){var r="path"!==t.type,n=e.selectAll(".visual-cue").data([0]),o=1;n.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":o}).classed("visual-cue",!0);var a=W(j?t.xanchor:i.midRange(r?[t.x0,t.x1]:v.extractPathCoords(t.path,h.paramIsX))),s=K(R?t.yanchor:i.midRange(r?[t.y0,t.y1]:v.extractPathCoords(t.path,h.paramIsY)));if(a=v.roundPositionForSharpStrokeRendering(a,o),s=v.roundPositionForSharpStrokeRendering(s,o),j&&R){var l="M"+(a-1-o)+","+(s-1-o)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";n.attr("d",l)}else if(j){var u="M"+(a-1-o)+","+(s-9-o)+"v18 h2 v-18 Z";n.attr("d",u)}else{var c="M"+(a-9-o)+","+(s-1-o)+"h18 v2 h-18 Z";n.attr("d",c)}}(j||R)&&r()}function ae(e){e.selectAll(".visual-cue").remove()}function se(e,t,r){var n=t.xref,i=t.yref,a=o.getFromId(r,n),s=o.getFromId(r,i),l="";"paper"===n||a.autorange||(l+=n),"paper"===i||s.autorange||(l+=i),c.setClipUrl(e,l?"clip"+r._fullLayout._uid+l:null,r)}p.init(Y),$.node().onmousemove=J}function w(e,t){var r,n,i,a,s,l,u,c,f=t.type,p=o.getRefType(t.xref),d=o.getRefType(t.yref),h=o.getFromId(e,t.xref),m=o.getFromId(e,t.yref),g=e._fullLayout._size;if(h?"domain"===p?n=function(e){return h._offset+h._length*e}:(r=v.shapePositionToRange(h),n=function(e){return h._offset+h.r2p(r(e,!0))}):n=function(e){return g.l+g.w*e},m?"domain"===d?a=function(e){return m._offset+m._length*(1-e)}:(i=v.shapePositionToRange(m),a=function(e){return m._offset+m.r2p(i(e,!0))}):a=function(e){return g.t+g.h*(1-e)},"path"===f)return h&&"date"===h.type&&(n=v.decodeDate(n)),m&&"date"===m.type&&(a=v.decodeDate(a)),_(t,n,a);if("pixel"===t.xsizemode){var y=n(t.xanchor);s=y+t.x0,l=y+t.x1}else s=n(t.x0),l=n(t.x1);if("pixel"===t.ysizemode){var b=a(t.yanchor);u=b-t.y0,c=b-t.y1}else u=a(t.y0),c=a(t.y1);if("line"===f)return"M"+s+","+u+"L"+l+","+c;if("rect"===f)return"M"+s+","+u+"H"+l+"V"+c+"H"+s+"Z";var x=(s+l)/2,A=(u+c)/2,w=Math.abs(x-s),E=Math.abs(A-u),k="A"+w+","+E,T=x+w+","+A,C=x+","+(A-E);return"M"+T+k+" 0 1,1 "+C+k+" 0 0,1 "+T+"Z"}function _(e,t,r){var n=e.path,o=e.xsizemode,a=e.ysizemode,s=e.xanchor,l=e.yanchor;return n.replace(h.segmentRE,(function(e){var n=0,u=e.charAt(0),c=h.paramIsX[u],f=h.paramIsY[u],p=h.numParams[u],d=e.substr(1).replace(h.paramRE,(function(e){return c[n]?e="pixel"===o?t(s)+Number(e):t(e):f[n]&&(e="pixel"===a?r(l)-Number(e):r(e)),n++,n>p&&(e="X"),e}));return n>p&&(d=d.replace(/[\s,]*X.*/,""),i.log("Ignoring extra params in segment "+e)),u+d}))}function E(e,t,r){return e.replace(h.segmentRE,(function(e){var n=0,i=e.charAt(0),o=h.paramIsX[i],a=h.paramIsY[i],s=h.numParams[i],l=e.substr(1).replace(h.paramRE,(function(e){return n>=s||(o[n]?e=t(e):a[n]&&(e=r(e)),n++),e}));return i+l}))}function k(e,t){if(y(e)){var r=t.node(),n=+r.getAttribute("data-index");if(n>=0){if(n===e._fullLayout._activeShapeIndex)return void T(e);e._fullLayout._activeShapeIndex=n,e._fullLayout._deactivateShape=T,m(e)}}}function T(e){if(y(e)){var t=e._fullLayout._activeShapeIndex;t>=0&&(l(e),delete e._fullLayout._activeShapeIndex,m(e))}}function C(e){if(y(e)){l(e);var t=e._fullLayout._activeShapeIndex,r=(e.layout||{}).shapes||[];if(t<r.length){for(var i=[],o=0;o<r.length;o++)o!==t&&i.push(r[o]);delete e._fullLayout._activeShapeIndex,n.call("_guiRelayout",e,{shapes:i})}}}e.exports={draw:m,drawOne:b,eraseActiveShape:C}},2381:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("d115"),a=r("3a99"),s=r("12c1"),l=i.extendDeepAll,u=e.exports={};u.framework=function(e){var t,r,i,o,c,f=new s;function p(r,s){return s&&(c=s),n.select(n.select(c).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?l(t,r):r,i||(i=a.Axis()),o=a.adapter.plotly().convert(t),i.config(o).render(c),e.data=t.data,e.layout=t.layout,u.fillLayout(e),t}return p.isPolar=!0,p.svg=function(){return i.svg()},p.getConfig=function(){return t},p.getLiveConfig=function(){return a.adapter.plotly().convert(i.getLiveConfig(),!0)},p.getLiveScales=function(){return{t:i.angularScale(),r:i.radialScale()}},p.setUndoPoint=function(){var e=this,n=a.util.cloneJson(t);(function(t,r){f.add({undo:function(){r&&e(r)},redo:function(){e(t)}})})(n,r),r=a.util.cloneJson(n)},p.undo=function(){f.undo()},p.redo=function(){f.redo()},p},u.fillLayout=function(e){var t=n.select(e).selectAll(".plot-container"),r=t.selectAll(".svg-container"),i=e.framework&&e.framework.svg&&e.framework.svg(),a={width:800,height:600,paper_bgcolor:o.background,_container:t,_paperdiv:r,_paper:i};e._fullLayout=l(a,e.layout)}},"23c3":function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=r("7d90"),o=r("9a31"),a=r("d8db"),s=function(){function e(e){n(this,"_defaultDir",void 0),n(this,"_lastDir",void 0),e?o.isStrong(e)||a(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=i.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},"23cb":function(e,t,r){var n=r("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},"23cc":function(e,t,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},"23e7":function(e,t,r){var n=r("da84"),i=r("06cf").f,o=r("9112"),a=r("6eeb"),s=r("ce4e"),l=r("e893"),u=r("94ca");e.exports=function(e,t){var r,c,f,p,d,h,v=e.target,m=e.global,g=e.stat;if(c=m?n:g?n[v]||s(v,{}):(n[v]||{}).prototype,c)for(f in t){if(d=t[f],e.noTargetGet?(h=i(c,f),p=h&&h.value):p=c[f],r=u(m?f:v+(g?".":"#")+f,e.forced),!r&&void 0!==p){if(typeof d===typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&o(d,"sham",!0),a(c,f,d,e)}}},"241c":function(e,t,r){var n=r("ca84"),i=r("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"242e":function(e,t,r){var n=r("72af"),i=r("ec69");function o(e,t){return e&&n(e,t,i)}e.exports=o},"242f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LEFT=37,t.UP=38,t.RIGHT=39,t.DOWN=40,t.ENTER=13,t.SPACE=32,t.ESC=27,t.TAB=9},2441:function(e,t,r){
|
||
/*
|
||
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
||
* @license MIT
|
||
* @preserve Project Home: https://github.com/voidqk/polybooljs
|
||
*/
|
||
var n,i=r("a6dc"),o=r("f8a5"),a=r("9935"),s=r("a626"),l=r("b924"),u=r("34cc"),c=!1,f=o();function p(e,t,r){var i=n.segments(e),o=n.segments(t),a=n.combine(i,o),s=r(a);return n.polygon(s)}n={buildLog:function(e){return!0===e?c=i():!1===e&&(c=!1),!1!==c&&c.list},epsilon:function(e){return f.epsilon(e)},segments:function(e){var t=a(!0,f,c);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=a(!1,f,c);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:l.union(e.combined,c),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:l.intersect(e.combined,c),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:l.difference(e.combined,c),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:l.differenceRev(e.combined,c),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:l.xor(e.combined,c),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:s(e.segments,f,c),inverted:e.inverted}},polygonFromGeoJSON:function(e){return u.toPolygon(n,e)},polygonToGeoJSON:function(e){return u.fromPolygon(n,f,e)},union:function(e,t){return p(e,t,n.selectUnion)},intersect:function(e,t){return p(e,t,n.selectIntersect)},difference:function(e,t){return p(e,t,n.selectDifference)},differenceRev:function(e,t){return p(e,t,n.selectDifferenceRev)},xor:function(e,t){return p(e,t,n.selectXor)}},"object"===typeof window&&(window.PolyBool=n),e.exports=n},2456:function(e,t){function r(e){var t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}e.exports=r},2474:function(e,t,r){var n=r("2b3e"),i=n.Uint8Array;e.exports=i},2478:function(e,t,r){var n=r("4245");function i(e){return n(this,e).get(e)}e.exports=i},"248f":function(e,t,r){"use strict";var n=r("dec3"),i=r("4d6a"),o=r("8e5d");function a(e,t){var r=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&o(r)===r.body){var a=r.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var l=e._latestEditorState,u=l.getSelection();if(u.getHasFocus()){var c=u.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(n.acceptSelection(l,c))}}e.exports=a},"24ad":function(e,t,r){"use strict";var n=r("a48a"),i=r("dca5");function o(e){for(var t=0,r=Math.max,n=0,i=e.length;n<i;++n)t=r(t,e[n].length);return t-1}function a(e){for(var t=-1,r=Math.max,n=0,i=e.length;n<i;++n)for(var o=e[n],a=0,s=o.length;a<s;++a)t=r(t,o[a]);return t+1}function s(e){for(var t=new Array(e.length),r=0,n=e.length;r<n;++r)t[r]=e[r].slice(0);return t}function l(e,t){var r=e.length,n=e.length-t.length,i=Math.min;if(n)return n;switch(r){case 0:return 0;case 1:return e[0]-t[0];case 2:var o=e[0]+e[1]-t[0]-t[1];return o||i(e[0],e[1])-i(t[0],t[1]);case 3:var a=e[0]+e[1],s=t[0]+t[1];if(o=a+e[2]-(s+t[2]),o)return o;var l=i(e[0],e[1]),u=i(t[0],t[1]);o=i(l,e[2])-i(u,t[2]);return o||i(l+e[2],a)-i(u+t[2],s);default:var c=e.slice(0);c.sort();var f=t.slice(0);f.sort();for(var p=0;p<r;++p)if(n=c[p]-f[p],n)return n;return 0}}function u(e,t){return l(e[0],t[0])}function c(e,t){if(t){for(var r=e.length,n=new Array(r),i=0;i<r;++i)n[i]=[e[i],t[i]];n.sort(u);for(i=0;i<r;++i)e[i]=n[i][0],t[i]=n[i][1];return e}return e.sort(l),e}function f(e){if(0===e.length)return[];for(var t=1,r=e.length,n=1;n<r;++n){var i=e[n];if(l(i,e[n-1])){if(n===t){t++;continue}e[t++]=i}}return e.length=t,e}function p(e,t){var r=0,n=e.length-1,i=-1;while(r<=n){var o=r+n>>1,a=l(e[o],t);a<=0?(0===a&&(i=o),r=o+1):a>0&&(n=o-1)}return i}function d(e,t){for(var r=new Array(e.length),i=0,o=r.length;i<o;++i)r[i]=[];for(var a=[],s=(i=0,t.length);i<s;++i)for(var u=t[i],c=u.length,f=1,d=1<<c;f<d;++f){a.length=n.popCount(f);for(var h=0,v=0;v<c;++v)f&1<<v&&(a[h++]=u[v]);var m=p(e,a);if(!(m<0))while(1)if(r[m++].push(i),m>=e.length||0!==l(e[m],a))break}return r}function h(e,t){if(!t)return d(f(m(e,0)),e,0);for(var r=new Array(t),n=0;n<t;++n)r[n]=[];n=0;for(var i=e.length;n<i;++n)for(var o=e[n],a=0,s=o.length;a<s;++a)r[o[a]].push(n);return r}function v(e){for(var t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0|i.length,a=1,s=1<<o;a<s;++a){for(var l=[],u=0;u<o;++u)a>>>u&1&&l.push(i[u]);t.push(l)}return c(t)}function m(e,t){if(t<0)return[];for(var r=[],i=(1<<t+1)-1,o=0;o<e.length;++o)for(var a=e[o],s=i;s<1<<a.length;s=n.nextCombination(s)){for(var l=new Array(t+1),u=0,f=0;f<a.length;++f)s&1<<f&&(l[u++]=a[f]);r.push(l)}return c(r)}function g(e){for(var t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0,a=i.length;o<a;++o){for(var s=new Array(i.length-1),l=0,u=0;l<a;++l)l!==o&&(s[u++]=i[l]);t.push(s)}return c(t)}function y(e,t){for(var r=new i(t),n=0;n<e.length;++n)for(var o=e[n],a=0;a<o.length;++a)for(var s=a+1;s<o.length;++s)r.link(o[a],o[s]);var l=[],u=r.ranks;for(n=0;n<u.length;++n)u[n]=-1;for(n=0;n<e.length;++n){var c=r.find(e[n][0]);u[c]<0?(u[c]=l.length,l.push([e[n].slice(0)])):l[u[c]].push(e[n].slice(0))}return l}function b(e){for(var t=f(c(m(e,0))),r=new i(t.length),n=0;n<e.length;++n)for(var o=e[n],a=0;a<o.length;++a)for(var s=p(t,[o[a]]),l=a+1;l<o.length;++l)r.link(s,p(t,[o[l]]));var u=[],d=r.ranks;for(n=0;n<d.length;++n)d[n]=-1;for(n=0;n<e.length;++n){var h=r.find(p(t,[e[n][0]]));d[h]<0?(d[h]=u.length,u.push([e[n].slice(0)])):u[d[h]].push(e[n].slice(0))}return u}function x(e,t){return t?y(e,t):b(e)}t.dimension=o,t.countVertices=a,t.cloneCells=s,t.compareCells=l,t.normalize=c,t.unique=f,t.findCell=p,t.incidence=d,t.dual=h,t.explode=v,t.skeleton=m,t.boundary=g,t.connectedComponents=x},"24be":function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("9452"),o=r("4da8"),a=r("24f7"),s=a.List,l=a.Map,u=a.OrderedSet,c=a.Record,f=a.Repeat,p=u(),d={parent:null,characterList:s(),data:l(),depth:0,key:"",text:"",type:"unstyled",children:s(),prevSibling:null,nextSibling:null},h=function(e,t){return e.getStyle()===t.getStyle()},v=function(e,t){return e.getEntity()===t.getEntity()},m=function(e){if(!e)return e;var t=e.characterList,r=e.text;return r&&!t&&(e.characterList=s(f(i.EMPTY,r.length))),e},g=function(e){function t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return e.call(this,m(t))||this}n(t,e);var r=t.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():p},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){o(this.getCharacterList(),h,e,t)},r.findEntityRanges=function(e,t){o(this.getCharacterList(),v,e,t)},t}(c(d));e.exports=g},"24f7":function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function r(e){return a(e)?e:q(e)}function n(e){return s(e)?e:G(e)}function i(e){return l(e)?e:$(e)}function o(e){return a(e)&&!u(e)?e:Y(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[d])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(n,r),t(i,r),t(o,r),r.isIterable=a,r.isKeyed=s,r.isIndexed=l,r.isAssociative=u,r.isOrdered=c,r.Keyed=n,r.Indexed=i,r.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",v="delete",m=5,g=1<<m,y=g-1,b={},x={value:!1},A={value:!1};function w(e){return e.value=!1,e}function _(e){e&&(e.value=!0)}function E(){}function k(e,t){t=t||0;for(var r=Math.max(0,e.length-t),n=new Array(r),i=0;i<r;i++)n[i]=e[i+t];return n}function T(e){return void 0===e.size&&(e.size=e.__iterate(S)),e.size}function C(e,t){if("number"!==typeof t){var r=t>>>0;if(""+r!==t||4294967295===r)return NaN;t=r}return t<0?T(e)+t:t}function S(){return!0}function O(e,t,r){return(0===e||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&t>=r)}function M(e,t){return B(e,t,0)}function P(e,t){return B(e,t,t)}function B(e,t,r){return void 0===e?r:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var L=0,D=1,I=2,j="function"===typeof Symbol&&Symbol.iterator,R="@@iterator",F=j||R;function N(e){this.next=e}function z(e,t,r,n){var i=0===e?t:1===e?r:[t,r];return n?n.value=i:n={value:i,done:!1},n}function U(){return{value:void 0,done:!0}}function H(e){return!!W(e)}function V(e){return e&&"function"===typeof e.next}function Q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(j&&e[j]||e[R]);if("function"===typeof t)return t}function K(e){return e&&"number"===typeof e.length}function q(e){return null===e||void 0===e?ae():a(e)?e.toSeq():ue(e)}function G(e){return null===e||void 0===e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function $(e){return null===e||void 0===e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null===e||void 0===e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}N.prototype.toString=function(){return"[Iterator]"},N.KEYS=L,N.VALUES=D,N.ENTRIES=I,N.prototype.inspect=N.prototype.toSource=function(){return this.toString()},N.prototype[F]=function(){return this},t(q,r),q.of=function(){return q(arguments)},q.prototype.toSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq {","}")},q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},q.prototype.__iterate=function(e,t){return fe(this,e,t,!0)},q.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(G,q),G.prototype.toKeyedSeq=function(){return this},t($,q),$.of=function(){return $(arguments)},$.prototype.toIndexedSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq [","]")},$.prototype.__iterate=function(e,t){return fe(this,e,t,!1)},$.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,q),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},q.isSeq=oe,q.Keyed=G,q.Set=Y,q.Indexed=$;var X,Z,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function re(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ne(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return X||(X=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():V(e)?new ie(e).fromEntrySeq():H(e)?new ne(e).fromEntrySeq():"object"===typeof e?new re(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"===typeof e&&new re(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return K(e)?new te(e):V(e)?new ie(e):H(e)?new ne(e):void 0}function fe(e,t,r,n){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[r?o-a:a];if(!1===t(s[1],n?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,r)}function pe(e,t,r,n){var i=e._cache;if(i){var o=i.length-1,a=0;return new N((function(){var e=i[r?o-a:a];return a++>o?U():z(t,n?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,r)}function de(e,t){return t?he(t,e,"",{"":e}):ve(e)}function he(e,t,r,n){return Array.isArray(t)?e.call(n,r,$(t).map((function(r,n){return he(e,r,n,t)}))):me(t)?e.call(n,r,G(t).map((function(r,n){return he(e,r,n,t)}))):t}function ve(e){return Array.isArray(e)?$(e).map(ve).toList():me(e)?G(e).map(ve).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"===typeof e.valueOf&&"function"===typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!==typeof e.equals||"function"!==typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var r=!u(e);if(c(e)){var n=e.entries();return t.every((function(e,t){var i=n.next().value;return i&&ge(i[1],e)&&(r||ge(i[0],t))}))&&n.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"===typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var f=!0,p=t.__iterate((function(t,n){if(r?!e.has(t):i?!ge(t,e.get(n,b)):!ge(e.get(n,b),t))return f=!1,!1}));return f&&e.size===p}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Z)return Z;Z=this}}function xe(e,t){if(!e)throw new Error(t)}function Ae(e,t,r){if(!(this instanceof Ae))return new Ae(e,t,r);if(xe(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),r=void 0===r?1:Math.abs(r),t<e&&(r=-r),this._start=e,this._end=t,this._step=r,this.size=Math.max(0,Math.ceil((t-e)/r-1)+1),0===this.size){if(J)return J;J=this}}function we(){throw TypeError("Abstract")}function _e(){}function Ee(){}function ke(){}q.prototype[ee]=!0,t(te,$),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===e(r[t?n-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var r=this._array,n=r.length-1,i=0;return new N((function(){return i>n?U():z(e,i,r[t?n-i++:i++])}))},t(re,G),re.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},re.prototype.has=function(e){return this._object.hasOwnProperty(e)},re.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var a=n[t?i-o:o];if(!1===e(r[a],a,this))return o+1}return o},re.prototype.__iterator=function(e,t){var r=this._object,n=this._keys,i=n.length-1,o=0;return new N((function(){var a=n[t?i-o:o];return o++>i?U():z(e,a,r[a])}))},re.prototype[h]=!0,t(ne,$),ne.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r,n=this._iterable,i=Q(n),o=0;if(V(i))while(!(r=i.next()).done)if(!1===e(r.value,o++,this))break;return o},ne.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=this._iterable,n=Q(r);if(!V(n))return new N(U);var i=0;return new N((function(){var t=n.next();return t.done?t:z(e,i++,t.value)}))},t(ie,$),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r,n=this._iterator,i=this._iteratorCache,o=0;while(o<i.length)if(!1===e(i[o],o++,this))return o;while(!(r=n.next()).done){var a=r.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=this._iterator,n=this._iteratorCache,i=0;return new N((function(){if(i>=n.length){var t=r.next();if(t.done)return t;n[i]=t.value}return z(e,i,n[i++])}))},t(be,$),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ge(this._value,e)},be.prototype.slice=function(e,t){var r=this.size;return O(e,t,r)?this:new be(this._value,P(t,r)-M(e,r))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var r=0;r<this.size;r++)if(!1===e(this._value,r,this))return r+1;return r},be.prototype.__iterator=function(e,t){var r=this,n=0;return new N((function(){return n<r.size?z(e,n++,r._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ge(this._value,e._value):ye(e)},t(Ae,$),Ae.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Ae.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},Ae.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Ae.prototype.slice=function(e,t){return O(e,t,this.size)?this:(e=M(e,this.size),t=P(t,this.size),t<=e?new Ae(0,0):new Ae(this.get(e,this._end),this.get(t,this._end),this._step))},Ae.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var r=t/this._step;if(r>=0&&r<this.size)return r}return-1},Ae.prototype.lastIndexOf=function(e){return this.indexOf(e)},Ae.prototype.__iterate=function(e,t){for(var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===e(i,o,this))return o+1;i+=t?-n:n}return o},Ae.prototype.__iterator=function(e,t){var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,o=0;return new N((function(){var a=i;return i+=t?-n:n,o>r?U():z(e,o++,a)}))},Ae.prototype.equals=function(e){return e instanceof Ae?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,r),t(_e,we),t(Ee,we),t(ke,we),we.Keyed=_e,we.Indexed=Ee,we.Set=ke;var Te="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var r=65535&e,n=65535&t;return r*n+((e>>>16)*n+r*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Se(e){if(!1===e||null===e||void 0===e)return 0;if("function"===typeof e.valueOf&&(e=e.valueOf(),!1===e||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var r=0|e;r!==e&&(r^=4294967295*e);while(e>4294967295)e/=4294967295,r^=e;return Ce(r)}if("string"===t)return e.length>Ne?Oe(e):Me(e);if("function"===typeof e.hashCode)return e.hashCode();if("object"===t)return Pe(e);if("function"===typeof e.toString)return Me(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Oe(e){var t=He[e];return void 0===t&&(t=Me(e),Ue===ze&&(Ue=0,He={}),Ue++,He[e]=t),t}function Me(e){for(var t=0,r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)|0;return Ce(t)}function Pe(e){var t;if(je&&(t=Ie.get(e),void 0!==t))return t;if(t=e[Fe],void 0!==t)return t;if(!Le){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe],void 0!==t)return t;if(t=De(e),void 0!==t)return t}if(t=++Re,1073741824&Re&&(Re=0),je)Ie.set(e,t);else{if(void 0!==Be&&!1===Be(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Fe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Be=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function De(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Ie,je="function"===typeof WeakMap;je&&(Ie=new WeakMap);var Re=0,Fe="__immutablehash__";"function"===typeof Symbol&&(Fe=Symbol(Fe));var Ne=16,ze=255,Ue=0,He={};function Ve(e){xe(e!==1/0,"Cannot perform this action with an infinite size.")}function Qe(e){return null===e||void 0===e?it():We(e)&&!c(e)?e:it().withMutations((function(t){var r=n(e);Ve(r.size),r.forEach((function(e,r){return t.set(r,e)}))}))}function We(e){return!(!e||!e[qe])}t(Qe,_e),Qe.prototype.toString=function(){return this.__toString("Map {","}")},Qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Qe.prototype.set=function(e,t){return ot(this,e,t)},Qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Qe.prototype.remove=function(e){return ot(this,e,b)},Qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Qe.prototype.update=function(e,t,r){return 1===arguments.length?e(this):this.updateIn([e],t,r)},Qe.prototype.updateIn=function(e,t,r){r||(r=t,t=void 0);var n=mt(this,Ar(e),t,r);return n===b?void 0:n},Qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Qe.prototype.merge=function(){return pt(this,void 0,arguments)},Qe.prototype.mergeWith=function(t){var r=e.call(arguments,1);return pt(this,t,r)},Qe.prototype.mergeIn=function(t){var r=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"===typeof e.merge?e.merge.apply(e,r):r[r.length-1]}))},Qe.prototype.mergeDeep=function(){return pt(this,dt,arguments)},Qe.prototype.mergeDeepWith=function(t){var r=e.call(arguments,1);return pt(this,ht(t),r)},Qe.prototype.mergeDeepIn=function(t){var r=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"===typeof e.mergeDeep?e.mergeDeep.apply(e,r):r[r.length-1]}))},Qe.prototype.sort=function(e){return Ht(cr(this,e))},Qe.prototype.sortBy=function(e,t){return Ht(cr(this,t,e))},Qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Qe.prototype.asImmutable=function(){return this.__ensureOwner()},Qe.prototype.wasAltered=function(){return this.__altered},Qe.prototype.__iterator=function(e,t){return new et(this,e,t)},Qe.prototype.__iterate=function(e,t){var r=this,n=0;return this._root&&this._root.iterate((function(t){return n++,e(t[1],t[0],r)}),t),n},Qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?nt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Qe.isMap=We;var Ke,qe="@@__IMMUTABLE_MAP__@@",Ge=Qe.prototype;function $e(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,r){this.ownerID=e,this.bitmap=t,this.nodes=r}function Xe(e,t,r){this.ownerID=e,this.count=t,this.nodes=r}function Ze(e,t,r){this.ownerID=e,this.keyHash=t,this.entries=r}function Je(e,t,r){this.ownerID=e,this.keyHash=t,this.entry=r}function et(e,t,r){this._type=t,this._reverse=r,this._stack=e._root&&rt(e._root)}function tt(e,t){return z(e,t[0],t[1])}function rt(e,t){return{node:e,index:0,__prev:t}}function nt(e,t,r,n){var i=Object.create(Ge);return i.size=e,i._root=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function it(){return Ke||(Ke=nt(0))}function ot(e,t,r){var n,i;if(e._root){var o=w(x),a=w(A);if(n=at(e._root,e.__ownerID,0,void 0,t,r,o,a),!a.value)return e;i=e.size+(o.value?r===b?-1:1:0)}else{if(r===b)return e;i=1,n=new $e(e.__ownerID,[[t,r]])}return e.__ownerID?(e.size=i,e._root=n,e.__hash=void 0,e.__altered=!0,e):n?nt(i,n):it()}function at(e,t,r,n,i,o,a,s){return e?e.update(t,r,n,i,o,a,s):o===b?e:(_(s),_(a),new Je(t,n,[i,o]))}function st(e){return e.constructor===Je||e.constructor===Ze}function lt(e,t,r,n,i){if(e.keyHash===n)return new Ze(t,n,[e.entry,i]);var o,a=(0===r?e.keyHash:e.keyHash>>>r)&y,s=(0===r?n:n>>>r)&y,l=a===s?[lt(e,t,r+m,n,i)]:(o=new Je(t,n,i),a<s?[e,o]:[o,e]);return new Ye(t,1<<a|1<<s,l)}function ut(e,t,r,n){e||(e=new E);for(var i=new Je(e,Se(r),[r,n]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function ct(e,t,r,n){for(var i=0,o=0,a=new Array(r),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==n&&(i|=l,a[o++]=c)}return new Ye(e,i,a)}function ft(e,t,r,n,i){for(var o=0,a=new Array(g),s=0;0!==r;s++,r>>>=1)a[s]=1&r?t[o++]:void 0;return a[n]=i,new Xe(e,o+1,a)}function pt(e,t,r){for(var i=[],o=0;o<r.length;o++){var s=r[o],l=n(s);a(s)||(l=l.map((function(e){return de(e)}))),i.push(l)}return vt(e,t,i)}function dt(e,t,r){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ge(e,t)?e:t}function ht(e){return function(t,r,n){if(t&&t.mergeDeepWith&&a(r))return t.mergeDeepWith(e,r);var i=e(t,r,n);return ge(t,i)?t:i}}function vt(e,t,r){return r=r.filter((function(e){return 0!==e.size})),0===r.length?e:0!==e.size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var n=t?function(r,n){e.update(n,b,(function(e){return e===b?r:t(e,r,n)}))}:function(t,r){e.set(r,t)},i=0;i<r.length;i++)r[i].forEach(n)})):e.constructor(r[0])}function mt(e,t,r,n){var i=e===b,o=t.next();if(o.done){var a=i?r:e,s=n(a);return s===a?e:s}xe(i||e&&e.set,"invalid keyPath");var l=o.value,u=i?b:e.get(l,b),c=mt(u,t,r,n);return c===u?e:c===b?e.remove(l):(i?it():e).set(l,c)}function gt(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function yt(e,t,r,n){var i=n?e:k(e);return i[t]=r,i}function bt(e,t,r,n){var i=e.length+1;if(n&&t+1===i)return e[t]=r,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=r,a=-1):o[s]=e[s+a];return o}function xt(e,t,r){var n=e.length-1;if(r&&t===n)return e.pop(),e;for(var i=new Array(n),o=0,a=0;a<n;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ge[qe]=!0,Ge[v]=Ge.remove,Ge.removeIn=Ge.deleteIn,$e.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(r,i[o][0]))return i[o][1];return n},$e.prototype.update=function(e,t,r,n,i,o,a){for(var s=i===b,l=this.entries,u=0,c=l.length;u<c;u++)if(ge(n,l[u][0]))break;var f=u<c;if(f?l[u][1]===i:s)return this;if(_(a),(s||!f)&&_(o),!s||1!==l.length){if(!f&&!s&&l.length>=At)return ut(e,l,n,i);var p=e&&e===this.ownerID,d=p?l:k(l);return f?s?u===c-1?d.pop():d[u]=d.pop():d[u]=[n,i]:d.push([n,i]),p?(this.entries=d,this):new $e(e,d)}},Ye.prototype.get=function(e,t,r,n){void 0===t&&(t=Se(r));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0===(o&i)?n:this.nodes[gt(o&i-1)].get(e+m,t,r,n)},Ye.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=Se(n));var s=(0===t?r:r>>>t)&y,l=1<<s,u=this.bitmap,c=0!==(u&l);if(!c&&i===b)return this;var f=gt(u&l-1),p=this.nodes,d=c?p[f]:void 0,h=at(d,e,t+m,r,n,i,o,a);if(h===d)return this;if(!c&&h&&p.length>=wt)return ft(e,p,u,s,h);if(c&&!h&&2===p.length&&st(p[1^f]))return p[1^f];if(c&&h&&1===p.length&&st(h))return h;var v=e&&e===this.ownerID,g=c?h?u:u^l:u|l,x=c?h?yt(p,f,h,v):xt(p,f,v):bt(p,f,h,v);return v?(this.bitmap=g,this.nodes=x,this):new Ye(e,g,x)},Xe.prototype.get=function(e,t,r,n){void 0===t&&(t=Se(r));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+m,t,r,n):n},Xe.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=Se(n));var s=(0===t?r:r>>>t)&y,l=i===b,u=this.nodes,c=u[s];if(l&&!c)return this;var f=at(c,e,t+m,r,n,i,o,a);if(f===c)return this;var p=this.count;if(c){if(!f&&(p--,p<_t))return ct(e,u,p,s)}else p++;var d=e&&e===this.ownerID,h=yt(u,s,f,d);return d?(this.count=p,this.nodes=h,this):new Xe(e,p,h)},Ze.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(r,i[o][0]))return i[o][1];return n},Ze.prototype.update=function(e,t,r,n,i,o,a){void 0===r&&(r=Se(n));var s=i===b;if(r!==this.keyHash)return s?this:(_(a),_(o),lt(this,e,t,r,[n,i]));for(var l=this.entries,u=0,c=l.length;u<c;u++)if(ge(n,l[u][0]))break;var f=u<c;if(f?l[u][1]===i:s)return this;if(_(a),(s||!f)&&_(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,d=p?l:k(l);return f?s?u===c-1?d.pop():d[u]=d.pop():d[u]=[n,i]:d.push([n,i]),p?(this.entries=d,this):new Ze(e,this.keyHash,d)},Je.prototype.get=function(e,t,r,n){return ge(r,this.entry[0])?this.entry[1]:n},Je.prototype.update=function(e,t,r,n,i,o,a){var s=i===b,l=ge(n,this.entry[0]);return(l?i===this.entry[1]:s)?this:(_(a),s?void _(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[n,i]):(_(o),lt(this,e,t,Se(n),[n,i])))},$e.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===e(r[t?i-n:n]))return!1},Ye.prototype.iterate=Xe.prototype.iterate=function(e,t){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[t?i-n:n];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,N),et.prototype.next=function(){var e=this._type,t=this._stack;while(t){var r,n=t.node,i=t.index++;if(n.entry){if(0===i)return tt(e,n.entry)}else if(n.entries){if(r=n.entries.length-1,i<=r)return tt(e,n.entries[this._reverse?r-i:i])}else if(r=n.nodes.length-1,i<=r){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=rt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var At=g/4,wt=g/2,_t=g/4;function Et(e){var t=Dt();if(null===e||void 0===e)return t;if(kt(e))return e;var r=i(e),n=r.size;return 0===n?t:(Ve(n),n>0&&n<g?Lt(0,n,m,null,new St(r.toArray())):t.withMutations((function(e){e.setSize(n),r.forEach((function(t,r){return e.set(r,t)}))})))}function kt(e){return!(!e||!e[Tt])}t(Et,Ee),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("List [","]")},Et.prototype.get=function(e,t){if(e=C(this,e),e>=0&&e<this.size){e+=this._origin;var r=Ft(this,e);return r&&r.array[e&y]}return t},Et.prototype.set=function(e,t){return It(this,e,t)},Et.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Et.prototype.insert=function(e,t){return this.splice(e,0,t)},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Dt()},Et.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(r){Nt(r,0,t+e.length);for(var n=0;n<e.length;n++)r.set(t+n,e[n])}))},Et.prototype.pop=function(){return Nt(this,0,-1)},Et.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Nt(t,-e.length);for(var r=0;r<e.length;r++)t.set(r,e[r])}))},Et.prototype.shift=function(){return Nt(this,1)},Et.prototype.merge=function(){return zt(this,void 0,arguments)},Et.prototype.mergeWith=function(t){var r=e.call(arguments,1);return zt(this,t,r)},Et.prototype.mergeDeep=function(){return zt(this,dt,arguments)},Et.prototype.mergeDeepWith=function(t){var r=e.call(arguments,1);return zt(this,ht(t),r)},Et.prototype.setSize=function(e){return Nt(this,0,e)},Et.prototype.slice=function(e,t){var r=this.size;return O(e,t,r)?this:Nt(this,M(e,r),P(t,r))},Et.prototype.__iterator=function(e,t){var r=0,n=Bt(this,t);return new N((function(){var t=n();return t===Pt?U():z(e,r++,t)}))},Et.prototype.__iterate=function(e,t){var r,n=0,i=Bt(this,t);while((r=i())!==Pt)if(!1===e(r,n++,this))break;return n},Et.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Et.isList=kt;var Tt="@@__IMMUTABLE_LIST__@@",Ct=Et.prototype;function St(e,t){this.array=e,this.ownerID=t}Ct[Tt]=!0,Ct[v]=Ct.remove,Ct.setIn=Ge.setIn,Ct.deleteIn=Ct.removeIn=Ge.removeIn,Ct.update=Ge.update,Ct.updateIn=Ge.updateIn,Ct.mergeIn=Ge.mergeIn,Ct.mergeDeepIn=Ge.mergeDeepIn,Ct.withMutations=Ge.withMutations,Ct.asMutable=Ge.asMutable,Ct.asImmutable=Ge.asImmutable,Ct.wasAltered=Ge.wasAltered,St.prototype.removeBefore=function(e,t,r){if(r===t?1<<t:0===this.array.length)return this;var n=r>>>t&y;if(n>=this.array.length)return new St([],e);var i,o=0===n;if(t>0){var a=this.array[n];if(i=a&&a.removeBefore(e,t-m,r),i===a&&o)return this}if(o&&!i)return this;var s=Rt(this,e);if(!o)for(var l=0;l<n;l++)s.array[l]=void 0;return i&&(s.array[n]=i),s},St.prototype.removeAfter=function(e,t,r){if(r===(t?1<<t:0)||0===this.array.length)return this;var n,i=r-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if(n=o&&o.removeAfter(e,t-m,r),n===o&&i===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(i+1),n&&(a.array[i]=n),a};var Ot,Mt,Pt={};function Bt(e,t){var r=e._origin,n=e._capacity,i=Ut(n),o=e._tail;return a(e._root,e._level,0);function a(e,t,r){return 0===t?s(e,r):l(e,t,r)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>r?0:r-a,u=n-a;return u>g&&(u=g),function(){if(l===u)return Pt;var e=t?--u:l++;return s&&s[e]}}function l(e,i,o){var s,l=e&&e.array,u=o>r?0:r-o>>i,c=1+(n-o>>i);return c>g&&(c=g),function(){do{if(s){var e=s();if(e!==Pt)return e;s=null}if(u===c)return Pt;var r=t?--c:u++;s=a(l&&l[r],i-m,o+(r<<i))}while(1)}}}function Lt(e,t,r,n,i,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Dt(){return Ot||(Ot=Lt(0,0,m))}function It(e,t,r){if(t=C(e,t),t!==t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Nt(e,t).set(0,r):Nt(e,0,t+1).set(t,r)}));t+=e._origin;var n=e._tail,i=e._root,o=w(A);return t>=Ut(e._capacity)?n=jt(n,e.__ownerID,0,t,r,o):i=jt(i,e.__ownerID,e._level,t,r,o),o.value?e.__ownerID?(e._root=i,e._tail=n,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,i,n):e}function jt(e,t,r,n,i,o){var a,s=n>>>r&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(r>0){var u=e&&e.array[s],c=jt(u,t,r-m,n,i,o);return c===u?e:(a=Rt(e,t),a.array[s]=c,a)}return l&&e.array[s]===i?e:(_(o),a=Rt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new St(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+m){var r=e._root,n=e._level;while(r&&n>0)r=r.array[t>>>n&y],n-=m;return r}}function Nt(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0);var n=e.__ownerID||new E,i=e._origin,o=e._capacity,a=i+t,s=void 0===r?o:r<0?o+r:i+r;if(a===i&&s===o)return e;if(a>=s)return e.clear();var l=e._level,u=e._root,c=0;while(a+c<0)u=new St(u&&u.array.length?[void 0,u]:[],n),l+=m,c+=1<<l;c&&(a+=c,i+=c,s+=c,o+=c);var f=Ut(o),p=Ut(s);while(p>=1<<l+m)u=new St(u&&u.array.length?[u]:[],n),l+=m;var d=e._tail,h=p<f?Ft(e,s-1):p>f?new St([],n):d;if(d&&p>f&&a<o&&d.array.length){u=Rt(u,n);for(var v=u,g=l;g>m;g-=m){var b=f>>>g&y;v=v.array[b]=Rt(v.array[b],n)}v.array[f>>>m&y]=d}if(s<o&&(h=h&&h.removeAfter(n,0,s)),a>=p)a-=p,s-=p,l=m,u=null,h=h&&h.removeBefore(n,0,a);else if(a>i||p<f){c=0;while(u){var x=a>>>l&y;if(x!==p>>>l&y)break;x&&(c+=(1<<l)*x),l-=m,u=u.array[x]}u&&a>i&&(u=u.removeBefore(n,l,a-c)),u&&p<f&&(u=u.removeAfter(n,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,l,u,h)}function zt(e,t,r){for(var n=[],o=0,s=0;s<r.length;s++){var l=r[s],u=i(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return de(e)}))),n.push(u)}return o>e.size&&(e=e.setSize(o)),vt(e,t,n)}function Ut(e){return e<g?0:e-1>>>m<<m}function Ht(e){return null===e||void 0===e?Wt():Vt(e)?e:Wt().withMutations((function(t){var r=n(e);Ve(r.size),r.forEach((function(e,r){return t.set(r,e)}))}))}function Vt(e){return We(e)&&c(e)}function Qt(e,t,r,n){var i=Object.create(Ht.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=r,i.__hash=n,i}function Wt(){return Mt||(Mt=Qt(it(),Dt()))}function Kt(e,t,r){var n,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(r===b){if(!l)return e;a.size>=g&&a.size>=2*o.size?(i=a.filter((function(e,t){return void 0!==e&&s!==t})),n=i.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(n.__ownerID=i.__ownerID=e.__ownerID)):(n=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(r===a.get(s)[1])return e;n=o,i=a.set(s,[t,r])}else n=o.set(t,a.size),i=a.set(a.size,[t,r]);return e.__ownerID?(e.size=n.size,e._map=n,e._list=i,e.__hash=void 0,e):Qt(n,i)}function qt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Gt(e){this._iter=e,this.size=e.size}function $t(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Xt(e){var t=yr(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=br,t.__iterateUncached=function(t,r){var n=this;return e.__iterate((function(e,r){return!1!==t(r,e,n)}),r)},t.__iteratorUncached=function(t,r){if(t===I){var n=e.__iterator(t,r);return new N((function(){var e=n.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===D?L:D,r)},t}function Zt(e,t,r){var n=yr(e);return n.size=e.size,n.has=function(t){return e.has(t)},n.get=function(n,i){var o=e.get(n,b);return o===b?i:t.call(r,o,n,e)},n.__iterateUncached=function(n,i){var o=this;return e.__iterate((function(e,i,a){return!1!==n(t.call(r,e,i,a),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=e.__iterator(I,i);return new N((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return z(n,s,t.call(r,a[1],s,e),i)}))},n}function Jt(e,t){var r=yr(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=Xt(e);return t.reverse=function(){return e.flip()},t}),r.get=function(r,n){return e.get(t?r:-1-r,n)},r.has=function(r){return e.has(t?r:-1-r)},r.includes=function(t){return e.includes(t)},r.cacheResult=br,r.__iterate=function(t,r){var n=this;return e.__iterate((function(e,r){return t(e,r,n)}),!r)},r.__iterator=function(t,r){return e.__iterator(t,!r)},r}function er(e,t,r,n){var i=yr(e);return n&&(i.has=function(n){var i=e.get(n,b);return i!==b&&!!t.call(r,i,n,e)},i.get=function(n,i){var o=e.get(n,b);return o!==b&&t.call(r,o,n,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(r,e,o,l))return s++,i(e,n?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(I,o),s=0;return new N((function(){while(1){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(r,c,u,e))return z(i,n?u:s++,c,o)}}))},i}function tr(e,t,r){var n=Qe().asMutable();return e.__iterate((function(i,o){n.update(t.call(r,i,o,e),0,(function(e){return e+1}))})),n.asImmutable()}function rr(e,t,r){var n=s(e),i=(c(e)?Ht():Qe()).asMutable();e.__iterate((function(o,a){i.update(t.call(r,o,a,e),(function(e){return e=e||[],e.push(n?[a,o]:o),e}))}));var o=gr(e);return i.map((function(t){return hr(e,o(t))}))}function nr(e,t,r,n){var i=e.size;if(void 0!==t&&(t|=0),void 0!==r&&(r|=0),O(t,r,i))return e;var o=M(t,i),a=P(r,i);if(o!==o||a!==a)return nr(e.toSeq().cacheResult(),t,r,n);var s,l=a-o;l===l&&(s=l<0?0:l);var u=yr(e);return u.size=0===s?s:e.size&&s||void 0,!n&&oe(e)&&s>=0&&(u.get=function(t,r){return t=C(this,t),t>=0&&t<s?e.get(t+o,r):r}),u.__iterateUncached=function(t,r){var i=this;if(0===s)return 0;if(r)return this.cacheResult().__iterate(t,r);var a=0,l=!0,u=0;return e.__iterate((function(e,r){if(!l||!(l=a++<o))return u++,!1!==t(e,n?r:u-1,i)&&u!==s})),u},u.__iteratorUncached=function(t,r){if(0!==s&&r)return this.cacheResult().__iterator(t,r);var i=0!==s&&e.__iterator(t,r),a=0,l=0;return new N((function(){while(a++<o)i.next();if(++l>s)return U();var e=i.next();return n||t===D?e:z(t,l-1,t===L?void 0:e.value[1],e)}))},u}function ir(e,t,r){var n=yr(e);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var a=0;return e.__iterate((function(e,i,s){return t.call(r,e,i,s)&&++a&&n(e,i,o)})),a},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var a=e.__iterator(I,i),s=!0;return new N((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(r,u,l,o)?n===I?e:z(n,l,u,e):(s=!1,U())}))},n}function or(e,t,r,n){var i=yr(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(r,e,o,u)))return l++,i(e,n?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(I,o),l=!0,u=0;return new N((function(){var e,o,c;do{if(e=s.next(),e.done)return n||i===D?e:z(i,u++,i===L?void 0:e.value[1],e);var f=e.value;o=f[0],c=f[1],l&&(l=t.call(r,c,o,a))}while(l);return i===I?e:z(i,o,c,e)}))},i}function ar(e,t){var r=s(e),i=[e].concat(t).map((function(e){return a(e)?r&&(e=n(e)):e=r?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||r&&s(o)||l(e)&&l(o))return o}var u=new te(i);return r?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=i.reduce((function(e,t){if(void 0!==e){var r=t.size;if(void 0!==r)return e+r}}),0),u}function sr(e,t,r){var n=yr(e);return n.__iterateUncached=function(n,i){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,i){return(!t||u<t)&&a(e)?l(e,u+1):!1===n(e,r?i:o++,c)&&(s=!0),!s}),i)}return l(e,0),o},n.__iteratorUncached=function(n,i){var o=e.__iterator(n,i),s=[],l=0;return new N((function(){while(o){var e=o.next();if(!1===e.done){var u=e.value;if(n===I&&(u=u[1]),t&&!(s.length<t)||!a(u))return r?e:z(n,l++,u,e);s.push(o),o=u.__iterator(n,i)}else o=s.pop()}return U()}))},n}function lr(e,t,r){var n=gr(e);return e.toSeq().map((function(i,o){return n(t.call(r,i,o,e))})).flatten(!0)}function ur(e,t){var r=yr(e);return r.size=e.size&&2*e.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return e.__iterate((function(e,n){return(!o||!1!==r(t,o++,i))&&!1!==r(e,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=e.__iterator(D,n),a=0;return new N((function(){return(!i||a%2)&&(i=o.next(),i.done)?i:a%2?z(r,a++,t):z(r,a++,i.value,i)}))},r}function cr(e,t,r){t||(t=xr);var n=s(e),i=0,o=e.toSeq().map((function(t,n){return[n,t,i++,r?r(t,n,e):t]})).toArray();return o.sort((function(e,r){return t(e[3],r[3])||e[2]-r[2]})).forEach(n?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),n?G(o):l(e)?$(o):Y(o)}function fr(e,t,r){if(t||(t=xr),r){var n=e.toSeq().map((function(t,n){return[t,r(t,n,e)]})).reduce((function(e,r){return pr(t,e[1],r[1])?r:e}));return n&&n[0]}return e.reduce((function(e,r){return pr(t,e,r)?r:e}))}function pr(e,t,r){var n=e(r,t);return 0===n&&r!==t&&(void 0===r||null===r||r!==r)||n>0}function dr(e,t,n){var i=yr(e);return i.size=new te(n).map((function(e){return e.size})).min(),i.__iterate=function(e,t){var r,n=this.__iterator(D,t),i=0;while(!(r=n.next()).done)if(!1===e(r.value,i++,this))break;return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=r(e),Q(i?e.reverse():e)})),a=0,s=!1;return new N((function(){var r;return s||(r=o.map((function(e){return e.next()})),s=r.some((function(e){return e.done}))),s?U():z(e,a++,t.apply(null,r.map((function(e){return e.value}))))}))},i}function hr(e,t){return oe(e)?t:e.constructor(t)}function vr(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function mr(e){return Ve(e.size),T(e)}function gr(e){return s(e)?n:l(e)?i:o}function yr(e){return Object.create((s(e)?G:l(e)?$:Y).prototype)}function br(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function xr(e,t){return e>t?1:e<t?-1:0}function Ar(e){var t=Q(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=Q(r(e))}return t}function wr(e,t){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var a=Object.keys(e);Tr(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Qe(o)},i=n.prototype=Object.create(_r);return i.constructor=n,n}t(Ht,Qe),Ht.of=function(){return this(arguments)},Ht.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ht.prototype.get=function(e,t){var r=this._map.get(e);return void 0!==r?this._list.get(r)[1]:t},Ht.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Ht.prototype.set=function(e,t){return Kt(this,e,t)},Ht.prototype.remove=function(e){return Kt(this,e,b)},Ht.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ht.prototype.__iterate=function(e,t){var r=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],r)}),t)},Ht.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ht.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e);return e?Qt(t,r,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=r,this)},Ht.isOrderedMap=Vt,Ht.prototype[h]=!0,Ht.prototype[v]=Ht.prototype.remove,t(qt,G),qt.prototype.get=function(e,t){return this._iter.get(e,t)},qt.prototype.has=function(e){return this._iter.has(e)},qt.prototype.valueSeq=function(){return this._iter.valueSeq()},qt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},qt.prototype.map=function(e,t){var r=this,n=Zt(this,e,t);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(e,t)}),n},qt.prototype.__iterate=function(e,t){var r,n=this;return this._iter.__iterate(this._useKeys?function(t,r){return e(t,r,n)}:(r=t?mr(this):0,function(i){return e(i,t?--r:r++,n)}),t)},qt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var r=this._iter.__iterator(D,t),n=t?mr(this):0;return new N((function(){var i=r.next();return i.done?i:z(e,t?--n:n++,i.value,i)}))},qt.prototype[h]=!0,t(Gt,$),Gt.prototype.includes=function(e){return this._iter.includes(e)},Gt.prototype.__iterate=function(e,t){var r=this,n=0;return this._iter.__iterate((function(t){return e(t,n++,r)}),t)},Gt.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t),n=0;return new N((function(){var t=r.next();return t.done?t:z(e,n++,t.value,t)}))},t($t,Y),$t.prototype.has=function(e){return this._iter.includes(e)},$t.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate((function(t){return e(t,t,r)}),t)},$t.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t);return new N((function(){var t=r.next();return t.done?t:z(e,t.value,t.value,t)}))},t(Yt,G),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate((function(t){if(t){vr(t);var n=a(t);return e(n?t.get(1):t[1],n?t.get(0):t[0],r)}}),t)},Yt.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t);return new N((function(){while(1){var t=r.next();if(t.done)return t;var n=t.value;if(n){vr(n);var i=a(n);return z(e,i?n.get(0):n[0],i?n.get(1):n[1],t)}}}))},Gt.prototype.cacheResult=qt.prototype.cacheResult=$t.prototype.cacheResult=Yt.prototype.cacheResult=br,t(wr,_e),wr.prototype.toString=function(){return this.__toString(kr(this)+" {","}")},wr.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},wr.prototype.get=function(e,t){if(!this.has(e))return t;var r=this._defaultValues[e];return this._map?this._map.get(e,r):r},wr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Er(this,it()))},wr.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+kr(this));var r=this._map&&this._map.set(e,t);return this.__ownerID||r===this._map?this:Er(this,r)},wr.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Er(this,t)},wr.prototype.wasAltered=function(){return this._map.wasAltered()},wr.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map((function(e,t){return r.get(t)})).__iterator(e,t)},wr.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map((function(e,t){return r.get(t)})).__iterate(e,t)},wr.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Er(this,t,e):(this.__ownerID=e,this._map=t,this)};var _r=wr.prototype;function Er(e,t,r){var n=Object.create(Object.getPrototypeOf(e));return n._map=t,n.__ownerID=r,n}function kr(e){return e._name||e.constructor.name||"Record"}function Tr(e,t){try{t.forEach(Cr.bind(void 0,e))}catch(r){}}function Cr(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){xe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Sr(e){return null===e||void 0===e?Ir():Or(e)&&!c(e)?e:Ir().withMutations((function(t){var r=o(e);Ve(r.size),r.forEach((function(e){return t.add(e)}))}))}function Or(e){return!(!e||!e[Pr])}_r[v]=_r.remove,_r.deleteIn=_r.removeIn=Ge.removeIn,_r.merge=Ge.merge,_r.mergeWith=Ge.mergeWith,_r.mergeIn=Ge.mergeIn,_r.mergeDeep=Ge.mergeDeep,_r.mergeDeepWith=Ge.mergeDeepWith,_r.mergeDeepIn=Ge.mergeDeepIn,_r.setIn=Ge.setIn,_r.update=Ge.update,_r.updateIn=Ge.updateIn,_r.withMutations=Ge.withMutations,_r.asMutable=Ge.asMutable,_r.asImmutable=Ge.asImmutable,t(Sr,ke),Sr.of=function(){return this(arguments)},Sr.fromKeys=function(e){return this(n(e).keySeq())},Sr.prototype.toString=function(){return this.__toString("Set {","}")},Sr.prototype.has=function(e){return this._map.has(e)},Sr.prototype.add=function(e){return Lr(this,this._map.set(e,!0))},Sr.prototype.remove=function(e){return Lr(this,this._map.remove(e))},Sr.prototype.clear=function(){return Lr(this,this._map.clear())},Sr.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var r=0;r<t.length;r++)o(t[r]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Sr.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var r=this;return this.withMutations((function(e){r.forEach((function(r){t.every((function(e){return e.includes(r)}))||e.remove(r)}))}))},Sr.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var r=this;return this.withMutations((function(e){r.forEach((function(r){t.some((function(e){return e.includes(r)}))&&e.remove(r)}))}))},Sr.prototype.merge=function(){return this.union.apply(this,arguments)},Sr.prototype.mergeWith=function(t){var r=e.call(arguments,1);return this.union.apply(this,r)},Sr.prototype.sort=function(e){return jr(cr(this,e))},Sr.prototype.sortBy=function(e,t){return jr(cr(this,t,e))},Sr.prototype.wasAltered=function(){return this._map.wasAltered()},Sr.prototype.__iterate=function(e,t){var r=this;return this._map.__iterate((function(t,n){return e(n,n,r)}),t)},Sr.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Sr.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Sr.isSet=Or;var Mr,Pr="@@__IMMUTABLE_SET__@@",Br=Sr.prototype;function Lr(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Dr(e,t){var r=Object.create(Br);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function Ir(){return Mr||(Mr=Dr(it()))}function jr(e){return null===e||void 0===e?Ur():Rr(e)?e:Ur().withMutations((function(t){var r=o(e);Ve(r.size),r.forEach((function(e){return t.add(e)}))}))}function Rr(e){return Or(e)&&c(e)}Br[Pr]=!0,Br[v]=Br.remove,Br.mergeDeep=Br.merge,Br.mergeDeepWith=Br.mergeWith,Br.withMutations=Ge.withMutations,Br.asMutable=Ge.asMutable,Br.asImmutable=Ge.asImmutable,Br.__empty=Ir,Br.__make=Dr,t(jr,Sr),jr.of=function(){return this(arguments)},jr.fromKeys=function(e){return this(n(e).keySeq())},jr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},jr.isOrderedSet=Rr;var Fr,Nr=jr.prototype;function zr(e,t){var r=Object.create(Nr);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function Ur(){return Fr||(Fr=zr(Wt()))}function Hr(e){return null===e||void 0===e?Gr():Vr(e)?e:Gr().unshiftAll(e)}function Vr(e){return!(!e||!e[Wr])}Nr[h]=!0,Nr.__empty=Ur,Nr.__make=zr,t(Hr,Ee),Hr.of=function(){return this(arguments)},Hr.prototype.toString=function(){return this.__toString("Stack [","]")},Hr.prototype.get=function(e,t){var r=this._head;e=C(this,e);while(r&&e--)r=r.next;return r?r.value:t},Hr.prototype.peek=function(){return this._head&&this._head.value},Hr.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,r=arguments.length-1;r>=0;r--)t={value:arguments[r],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):qr(e,t)},Hr.prototype.pushAll=function(e){if(e=i(e),0===e.size)return this;Ve(e.size);var t=this.size,r=this._head;return e.reverse().forEach((function(e){t++,r={value:e,next:r}})),this.__ownerID?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):qr(t,r)},Hr.prototype.pop=function(){return this.slice(1)},Hr.prototype.unshift=function(){return this.push.apply(this,arguments)},Hr.prototype.unshiftAll=function(e){return this.pushAll(e)},Hr.prototype.shift=function(){return this.pop.apply(this,arguments)},Hr.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Gr()},Hr.prototype.slice=function(e,t){if(O(e,t,this.size))return this;var r=M(e,this.size),n=P(t,this.size);if(n!==this.size)return Ee.prototype.slice.call(this,e,t);var i=this.size-r,o=this._head;while(r--)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):qr(i,o)},Hr.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?qr(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Hr.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);var r=0,n=this._head;while(n){if(!1===e(n.value,r++,this))break;n=n.next}return r},Hr.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var r=0,n=this._head;return new N((function(){if(n){var t=n.value;return n=n.next,z(e,r++,t)}return U()}))},Hr.isStack=Vr;var Qr,Wr="@@__IMMUTABLE_STACK__@@",Kr=Hr.prototype;function qr(e,t,r,n){var i=Object.create(Kr);return i.size=e,i._head=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Gr(){return Qr||(Qr=qr(0))}function $r(e,t){var r=function(r){e.prototype[r]=t[r]};return Object.keys(t).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(r),e}Kr[Wr]=!0,Kr.withMutations=Ge.withMutations,Kr.asMutable=Ge.asMutable,Kr.asImmutable=Ge.asImmutable,Kr.wasAltered=Ge.wasAltered,r.Iterator=N,$r(r,{toArray:function(){Ve(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,r){e[r]=t})),e},toIndexedSeq:function(){return new Gt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new qt(this,!0)},toMap:function(){return Qe(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,r){e[r]=t})),e},toOrderedMap:function(){return Ht(this.toKeyedSeq())},toOrderedSet:function(){return jr(s(this)?this.valueSeq():this)},toSet:function(){return Sr(s(this)?this.valueSeq():this)},toSetSeq:function(){return new $t(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Hr(s(this)?this.valueSeq():this)},toList:function(){return Et(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return hr(this,ar(this,t))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(I)},every:function(e,t){Ve(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!e.call(t,n,i,o))return r=!1,!1})),r},filter:function(e,t){return hr(this,er(this,e,t,!0))},find:function(e,t,r){var n=this.findEntry(e,t);return n?n[1]:r},findEntry:function(e,t){var r;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",r=!0;return this.__iterate((function(n){r?r=!1:t+=e,t+=null!==n&&void 0!==n?n.toString():""})),t},keys:function(){return this.__iterator(L)},map:function(e,t){return hr(this,Zt(this,e,t))},reduce:function(e,t,r){var n,i;return Ve(this.size),arguments.length<2?i=!0:n=t,this.__iterate((function(t,o,a){i?(i=!1,n=t):n=e.call(r,n,t,o,a)})),n},reduceRight:function(e,t,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return hr(this,Jt(this,!0))},slice:function(e,t){return hr(this,nr(this,e,t,!0))},some:function(e,t){return!this.every(en(e),t)},sort:function(e){return hr(this,cr(this,e))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return T(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tr(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(Jr).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(en(e),t)},findLast:function(e,t,r){return this.toKeyedSeq().reverse().find(e,t,r)},first:function(){return this.find(S)},flatMap:function(e,t){return hr(this,lr(this,e,t))},flatten:function(e){return hr(this,sr(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,r){return ge(r,e)}),void 0,t)},getIn:function(e,t){var r,n=this,i=Ar(e);while(!(r=i.next()).done){var o=r.value;if(n=n&&n.get?n.get(o,b):b,n===b)return t}return n},groupBy:function(e,t){return rr(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"===typeof e.includes?e:r(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return e="function"===typeof e.isSubset?e:r(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Zr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fr(this,e)},maxBy:function(e,t){return fr(this,t,e)},min:function(e){return fr(this,e?tn(e):on)},minBy:function(e,t){return fr(this,t?tn(t):on,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return hr(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return hr(this,or(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(en(e),t)},sortBy:function(e,t){return hr(this,cr(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return hr(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return hr(this,ir(this,e,t))},takeUntil:function(e,t){return this.takeWhile(en(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=an(this))}});var Yr=r.prototype;Yr[f]=!0,Yr[F]=Yr.values,Yr.__toJS=Yr.toArray,Yr.__toStringMapper=rn,Yr.inspect=Yr.toSource=function(){return this.toString()},Yr.chain=Yr.flatMap,Yr.contains=Yr.includes,function(){try{Object.defineProperty(Yr,"length",{get:function(){if(!r.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),$r(n,{flip:function(){return hr(this,Xt(this))},findKey:function(e,t){var r=this.findEntry(e,t);return r&&r[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ge(t,e)}))},mapEntries:function(e,t){var r=this,n=0;return hr(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(e,t){var r=this;return hr(this,this.toSeq().flip().map((function(n,i){return e.call(t,n,i,r)})).flip())}});var Xr=n.prototype;function Zr(e,t){return t}function Jr(e,t){return[t,e]}function en(e){return function(){return!e.apply(this,arguments)}}function tn(e){return function(){return-e.apply(this,arguments)}}function rn(e){return"string"===typeof e?JSON.stringify(e):e}function nn(){return k(arguments)}function on(e,t){return e<t?1:e>t?-1:0}function an(e){if(e.size===1/0)return 0;var t=c(e),r=s(e),n=t?1:0,i=e.__iterate(r?t?function(e,t){n=31*n+ln(Se(e),Se(t))|0}:function(e,t){n=n+ln(Se(e),Se(t))|0}:t?function(e){n=31*n+Se(e)|0}:function(e){n=n+Se(e)|0});return sn(i,n)}function sn(e,t){return t=Te(t,3432918353),t=Te(t<<15|t>>>-15,461845907),t=Te(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Te(t^t>>>16,2246822507),t=Te(t^t>>>13,3266489909),t=Ce(t^t>>>16),t}function ln(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Xr[p]=!0,Xr[F]=Yr.entries,Xr.__toJS=Yr.toObject,Xr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rn(e)},$r(i,{toKeyedSeq:function(){return new qt(this,!1)},filter:function(e,t){return hr(this,er(this,e,t,!1))},findIndex:function(e,t){var r=this.findEntry(e,t);return r?r[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return hr(this,Jt(this,!1))},slice:function(e,t){return hr(this,nr(this,e,t,!1))},splice:function(e,t){var r=arguments.length;if(t=Math.max(0|t,0),0===r||2===r&&!t)return this;e=M(e,e<0?this.count():this.size);var n=this.slice(0,e);return hr(this,1===r?n:n.concat(k(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var r=this.toKeyedSeq().findLastKey(e,t);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(e){return hr(this,sr(this,e,!1))},get:function(e,t){return e=C(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,r){return r===e}),void 0,t)},has:function(e){return e=C(this,e),e>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return hr(this,ur(this,e))},interleave:function(){var e=[this].concat(k(arguments)),t=dr(this.toSeq(),$.of,e),r=t.flatten(!0);return t.size&&(r.size=t.size*e.length),hr(this,r)},last:function(){return this.get(-1)},skipWhile:function(e,t){return hr(this,or(this,e,t,!1))},zip:function(){var e=[this].concat(k(arguments));return hr(this,dr(this,nn,e))},zipWith:function(e){var t=k(arguments);return t[0]=this,hr(this,dr(this,e,t))}}),i.prototype[d]=!0,i.prototype[h]=!0,$r(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Yr.includes,$r(G,n.prototype),$r($,i.prototype),$r(Y,o.prototype),$r(_e,n.prototype),$r(Ee,i.prototype),$r(ke,o.prototype);var un={Iterable:r,Seq:q,Collection:we,Map:Qe,OrderedMap:Ht,List:Et,Stack:Hr,Set:Sr,OrderedSet:jr,Record:wr,Range:Ae,Repeat:be,is:ge,fromJS:de};return un}))},"24fd":function(e,t,r){"use strict";var n=r("f4e9"),i=r("94d5").hovertemplateAttrs,o=r("6b50"),a=r("a876"),s=r("9092").extendFlat,l={x:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the x coordinates of the vector field","and of the displayed cones."].join(" ")},y:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the y coordinates of the vector field","and of the displayed cones."].join(" ")},z:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:["Sets the z coordinates of the vector field","and of the displayed cones."].join(" ")},u:{valType:"data_array",editType:"calc",description:"Sets the x components of the vector field."},v:{valType:"data_array",editType:"calc",description:"Sets the y components of the vector field."},w:{valType:"data_array",editType:"calc",description:"Sets the z components of the vector field."},sizemode:{valType:"enumerated",values:["scaled","absolute"],role:"info",editType:"calc",dflt:"scaled",description:["Determines whether `sizeref` is set as a *scaled* (i.e unitless) scalar","(normalized by the max u/v/w norm in the vector field) or as","*absolute* value (in the same units as the vector field)."].join(" ")},sizeref:{valType:"number",role:"info",editType:"calc",min:0,description:["Adjusts the cone size scaling.","The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`.",'This factor (computed internally) corresponds to the minimum "time" to travel across',"two successive x/y/z positions at the average velocity of those two successive positions.","All cones in a given trace use the same factor.","With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5*","With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field,","its the default value is half the sample's maximum vector norm."].join(" ")},anchor:{valType:"enumerated",role:"info",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm",description:["Sets the cones' anchor with respect to their x/y/z positions.","Note that *cm* denote the cone's center of mass which corresponds to","1/4 from the tail to tip."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets the text elements associated with the cones.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:"Same as `text`."},hovertemplate:i({editType:"calc"},{keys:["norm"]}),showlegend:s({},a.showlegend,{dflt:!1})};s(l,n("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var u=["opacity","lightposition","lighting"];u.forEach((function(e){l[e]=o[e]})),l.hoverinfo=s({},a.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,e.exports=l},2513:function(e,t,r){"use strict";var n=r("fc26"),i=r("8173"),o=r("c8f0"),a=r("4183"),s=r("1590");e.exports=function(e,t,r,l){function u(r,i){return n.coerce(e,t,s,r,i)}i(e,t,u,l),!1!==t.visible&&(o(e,t,u,l),a(e,t,l,u,{prefix:"",cLetter:"z"}),u("hovertemplate"))}},2517:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"}))};e.exports=s},2524:function(e,t,r){var n=r("6044"),i="__lodash_hash_undefined__";function o(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?i:t,this}e.exports=o},2532:function(e,t,r){"use strict";var n=r("23e7"),i=r("5a34"),o=r("1d80"),a=r("ab13");n({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},"253c":function(e,t,r){var n=r("3729"),i=r("1310"),o="[object Arguments]";function a(e){return i(e)&&n(e)==o}e.exports=a},"254d":function(e,t,r){"use strict";var n=r("0642"),i=r("8797"),o=r("714f"),a=r("4136"),s=r("e806").BADNUM;function l(e){return e===s?0:e}e.exports=function(e,t){var r,u,c,f,p,d,h=n.getFromId(e,t.xaxis||"x"),v=n.getFromId(e,t.yaxis||"y");"h"===t.orientation?(r=h.makeCalcdata(t,"x"),c=v.makeCalcdata(t,"y"),u=i(t,v,"y",c),d=!!t.yperiodalignment):(r=v.makeCalcdata(t,"y"),c=h.makeCalcdata(t,"x"),u=i(t,h,"x",c),d=!!t.xperiodalignment);var m,g=Math.min(u.length,r.length),y=new Array(g);for(t._base=[],f=0;f<g;f++){r[f]<0&&(r[f]=s);var b=!1;r[f]!==s&&f+1<g&&r[f+1]!==s&&(b=!0),p=y[f]={p:u[f],s:r[f],cNext:b},t._base[f]=-.5*p.s,d&&(y[f].orig_p=c[f]),t.ids&&(p.id=String(t.ids[f])),0===f&&(y[0].vTotal=0),y[0].vTotal+=l(p.s),p.begR=l(p.s)/l(y[0].s)}for(f=0;f<g;f++)p=y[f],p.s!==s&&(p.sumR=p.s/y[0].vTotal,p.difR=void 0!==m?p.s/m:1,m=p.s);return o(y,t),a(y,t),y}},2594:function(e,t,r){"use strict";e.exports=r("e3a8")},2595:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("bb71"),a=r("fc26"),s=a.strTranslate,l=r("0642"),u=r("d115"),c=r("83d1"),f=r("a5c4"),p=r("0379"),d=r("0f37"),h=r("4efe"),v=r("a651").arrayEditor,m=r("5a1e");function g(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r<t.annotations.length;r++)t.annotations[r].visible&&y(e,r);return o.previousPromises(e)}function y(e,t){var r=e._fullLayout,n=r.annotations[t]||{},i=l.getFromId(e,n.xref),o=l.getFromId(e,n.yref);i&&i.setScale(),o&&o.setScale(),x(e,n,t,!1,i,o)}function b(e,t,r,n,i){var o=i[r],a=i[r+"ref"],s=-1!==r.indexOf("y"),u="domain"===l.getRefType(a),c=s?n.h:n.w;return e?u?o+(s?-t:t)/e._length:e.p2r(e.r2p(o)+t):o+(s?-t:t)/c}function x(e,t,r,o,g,y){var x,A,w=e._fullLayout,_=e._fullLayout._size,E=e._context.edits;o?(x="annotation-"+o,A=o+".annotations"):(x="annotation",A="annotations");var k=v(e.layout,A,t),T=k.modifyBase,C=k.modifyItem,S=k.getUpdateObj;w._infolayer.selectAll("."+x+'[data-index="'+r+'"]').remove();var O="clip"+w._uid+"_ann"+r;if(t._input&&!1!==t.visible){var M={x:{},y:{}},P=+t.textangle||0,B=w._infolayer.append("g").classed(x,!0).attr("data-index",String(r)).style("opacity",t.opacity),L=B.append("g").classed("annotation-text-g",!0),D=E[t.showarrow?"annotationTail":"annotationPosition"],I=t.captureevents||E.annotationText||D,j=L.append("g").style("pointer-events",I?"all":null).call(d,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",K(n.event))}));t.hovertext&&j.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,i=this.getBoundingClientRect(),o=e.getBoundingClientRect();f.loneHover({x0:i.left-o.left,x1:i.right-o.left,y:(i.top+i.bottom)/2-o.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){f.loneUnhover(w._hoverlayer.node())}));var R=t.borderwidth,F=t.borderpad,N=R+F,z=j.append("rect").attr("class","bg").style("stroke-width",R+"px").call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor),U=t.width||t.height,H=w._topclips.selectAll("#"+O).data(U?[0]:[]);H.enter().append("clipPath").classed("annclip",!0).attr("id",O).append("rect"),H.exit().remove();var V=t.font,Q=w._meta?a.templateString(t.text,w._meta):t.text,W=j.append("text").classed("annotation-text",!0).text(Q);E.annotationText?W.call(p.makeEditable,{delegate:j,gd:e}).call(q).on("edit",(function(r){t.text=r,this.call(q),C("text",r),g&&g.autorange&&T(g._name+".autorange",!0),y&&y.autorange&&T(y._name+".autorange",!0),i.call("_guiRelayout",e,S())})):W.call(q)}else n.selectAll("#"+O).remove();function K(e){var n={index:r,annotation:t._input,fullAnnotation:t,event:e};return o&&(n.subplotId=o),n}function q(r){return r.call(c.font,V).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),p.convertToTspans(r,e,G),r}function G(){var r=W.selectAll("a");if(1===r.size()&&r.text()===W.text()){var n=j.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"});n.node().appendChild(z.node())}var f=j.select(".annotation-text-math-group"),v=!f.empty(),x=c.bBox((v?f:W).node()),A=x.width,k=x.height,I=t.width||A,F=t.height||k,V=Math.round(I+2*N),Q=Math.round(F+2*N);function q(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var G=!1,$=["x","y"],Y=0;Y<$.length;Y++){var X,Z,J,ee,te,re=$[Y],ne=t[re+"ref"]||re,ie=t["a"+re+"ref"],oe={x:g,y:y}[re],ae=(P+("x"===re?0:-90))*Math.PI/180,se=V*Math.cos(ae),le=Q*Math.sin(ae),ue=Math.abs(se)+Math.abs(le),ce=t[re+"anchor"],fe=t[re+"shift"]*("x"===re?1:-1),pe=M[re],de=l.getRefType(ne);if(oe&&"domain"!==de){var he=oe.r2fraction(t[re]);(he<0||he>1)&&(ie===ne?(he=oe.r2fraction(t["a"+re]),(he<0||he>1)&&(G=!0)):G=!0),X=oe._offset+oe.r2p(t[re]),ee=.5}else{var ve="domain"===de;"x"===re?(J=t[re],X=ve?oe._offset+oe._length*J:X=_.l+_.w*J):(J=1-t[re],X=ve?oe._offset+oe._length*J:X=_.t+_.h*J),ee=t.showarrow?.5:J}if(t.showarrow){pe.head=X;var me=t["a"+re];if(te=se*q(.5,t.xanchor)-le*q(.5,t.yanchor),ie===ne){var ge=l.getRefType(ie);"domain"===ge?("y"===re&&(me=1-me),pe.tail=oe._offset+oe._length*me):"paper"===ge?"y"===re?(me=1-me,pe.tail=_.t+_.h*me):pe.tail=_.l+_.w*me:pe.tail=oe._offset+oe.r2p(me),Z=te}else pe.tail=X+me,Z=te+me;pe.text=pe.tail+te;var ye=w["x"===re?"width":"height"];if("paper"===ne&&(pe.head=a.constrain(pe.head,1,ye-1)),"pixel"===ie){var be=-Math.max(pe.tail-3,pe.text),xe=Math.min(pe.tail+3,pe.text)-ye;be>0?(pe.tail+=be,pe.text+=be):xe>0&&(pe.tail-=xe,pe.text-=xe)}pe.tail+=fe,pe.head+=fe}else te=ue*q(ee,ce),Z=te,pe.text=X+te;pe.text+=fe,te+=fe,Z+=fe,t["_"+re+"padplus"]=ue/2+Z,t["_"+re+"padminus"]=ue/2-Z,t["_"+re+"size"]=ue,t["_"+re+"shift"]=te}if(G)j.remove();else{var Ae=0,we=0;if("left"!==t.align&&(Ae=(I-A)*("center"===t.align?.5:1)),"top"!==t.valign&&(we=(F-k)*("middle"===t.valign?.5:1)),v)f.select("svg").attr({x:N+Ae-1,y:N+we}).call(c.setClipUrl,U?O:null,e);else{var _e=N+we-x.top,Ee=N+Ae-x.left;W.call(p.positionText,Ee,_e).call(c.setClipUrl,U?O:null,e)}H.select("rect").call(c.setRect,N,N,I,F),z.call(c.setRect,R/2,R/2,V-R,Q-R),j.call(c.setTranslate,Math.round(M.x.text-V/2),Math.round(M.y.text-Q/2)),L.attr({transform:"rotate("+P+","+M.x.text+","+M.y.text+")"});var ke,Te=function(r,n){B.selectAll(".annotation-arrow-g").remove();var l=M.x.head,f=M.y.head,p=M.x.tail+r,d=M.y.tail+n,v=M.x.text+r,x=M.y.text+n,A=a.rotationXYMatrix(P,v,x),w=a.apply2DTransform(A),k=a.apply2DTransform2(A),O=+z.attr("width"),D=+z.attr("height"),I=v-.5*O,R=I+O,F=x-.5*D,N=F+D,U=[[I,F,I,N],[I,N,R,N],[R,N,R,F],[R,F,I,F]].map(k);if(!U.reduce((function(e,t){return e^!!a.segmentsIntersect(l,f,l+1e6,f+1e6,t[0],t[1],t[2],t[3])}),!1)){U.forEach((function(e){var t=a.segmentsIntersect(p,d,l,f,e[0],e[1],e[2],e[3]);t&&(p=t.x,d=t.y)}));var H=t.arrowwidth,V=t.arrowcolor,Q=t.arrowside,W=B.append("g").style({opacity:u.opacity(V)}).classed("annotation-arrow-g",!0),K=W.append("path").attr("d","M"+p+","+d+"L"+l+","+f).style("stroke-width",H+"px").call(u.stroke,u.rgb(V));if(m(K,Q,t),E.annotationPosition&&K.node().parentNode&&!o){var q=l,G=f;if(t.standoff){var $=Math.sqrt(Math.pow(l-p,2)+Math.pow(f-d,2));q+=t.standoff*(p-l)/$,G+=t.standoff*(d-f)/$}var Y,X,Z=W.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(p-q)+","+(d-G),transform:s(q,G)}).style("stroke-width",H+6+"px").call(u.stroke,"rgba(0,0,0,0)").call(u.fill,"rgba(0,0,0,0)");h.init({element:Z.node(),gd:e,prepFn:function(){var e=c.getTranslate(j);Y=e.x,X=e.y,g&&g.autorange&&T(g._name+".autorange",!0),y&&y.autorange&&T(y._name+".autorange",!0)},moveFn:function(e,r){var n=w(Y,X),i=n[0]+e,o=n[1]+r;j.call(c.setTranslate,i,o),C("x",b(g,e,"x",_,t)),C("y",b(y,r,"y",_,t)),t.axref===t.xref&&C("ax",b(g,e,"ax",_,t)),t.ayref===t.yref&&C("ay",b(y,r,"ay",_,t)),W.attr("transform",s(e,r)),L.attr({transform:"rotate("+P+","+i+","+o+")"})},doneFn:function(){i.call("_guiRelayout",e,S());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(t.showarrow&&Te(0,0),D)h.init({element:j.node(),gd:e,prepFn:function(){ke=L.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?C("ax",b(g,e,"ax",_,t)):C("ax",t.ax+e),t.ayref===t.yref?C("ay",b(y,r,"ay",_.w,t)):C("ay",t.ay+r),Te(e,r);else{if(o)return;var i,a;if(g)i=b(g,e,"x",_,t);else{var l=t._xsize/_.w,u=t.x+(t._xshift-t.xshift)/_.w-l/2;i=h.align(u+e/_.w,l,0,1,t.xanchor)}if(y)a=b(y,r,"y",_,t);else{var c=t._ysize/_.h,f=t.y-(t._yshift+t.yshift)/_.h-c/2;a=h.align(f-r/_.h,c,0,1,t.yanchor)}C("x",i),C("y",a),g&&y||(n=h.getCursor(g?.5:i,y?.5:a,t.xanchor,t.yanchor))}L.attr({transform:s(e,r)+ke}),d(j,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",K(n))},doneFn:function(){d(j),i.call("_guiRelayout",e,S());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:g,drawOne:y,drawRaw:x}},"25be":function(e,t,r){"use strict";var n=r("f508"),i=r("b380"),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:n((function(t){return o[t]?o[t]:o[t]=e(String(t))})),keyFor:n((function(e){var t;for(t in i(e),o)if(o[t]===e)return t}))})}},"25d0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=f(i),a=r("d7bc"),s=f(a),l=r("d973"),u=f(l),c=r("242f");function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){var e,r,n,i;p(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r=n,n.handleNextClick=function(){n.props.onNextClick&&n.props.onNextClick()},n.handlePreviousClick=function(){n.props.onPreviousClick&&n.props.onPreviousClick()},n.handleNextKeyDown=function(e){e.keyCode!==c.ENTER&&e.keyCode!==c.SPACE||(e.preventDefault(),n.handleNextClick())},n.handlePreviousKeyDown=function(e){e.keyCode!==c.ENTER&&e.keyCode!==c.SPACE||(e.preventDefault(),n.handlePreviousClick())},i=r,d(n,i)}return h(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.labels!==this.props.labels||e.dir!==this.props.dir||this.props.showPreviousButton!==e.showPreviousButton||this.props.showNextButton!==e.showNextButton}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.className,n=e.showPreviousButton,i=e.showNextButton,a=e.labels,s=e.dir,l=void 0,u=void 0,c=void 0,f=void 0,p=void 0,d=void 0;"rtl"===s?(l=this.handleNextClick,u=this.handlePreviousClick,c=this.handleNextKeyDown,f=this.handlePreviousKeyDown,d=n,p=i):(l=this.handlePreviousClick,u=this.handleNextClick,c=this.handlePreviousKeyDown,f=this.handleNextKeyDown,d=i,p=n);var h=p?t.navButtonPrev:t.navButtonPrev+" "+t.navButtonInteractionDisabled,v=d?t.navButtonNext:t.navButtonNext+" "+t.navButtonInteractionDisabled,m=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":a.previousMonth,key:"previous",className:h,onKeyDown:p?c:void 0,onClick:p?l:void 0}),g=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":a.nextMonth,key:"right",className:v,onKeyDown:d?f:void 0,onClick:d?u:void 0});return o.default.createElement("div",{className:r||t.navBar},"rtl"===s?[g,m]:[m,g])}}]),t}(i.Component);v.propTypes={classNames:s.default.shape({navBar:s.default.string.isRequired,navButtonPrev:s.default.string.isRequired,navButtonNext:s.default.string.isRequired,navButtonInteractionDisabled:s.default.string.isRequired}),className:s.default.string,showPreviousButton:s.default.bool,showNextButton:s.default.bool,onPreviousClick:s.default.func,onNextClick:s.default.func,dir:s.default.string,labels:s.default.shape({previousMonth:s.default.string.isRequired,nextMonth:s.default.string.isRequired})},v.defaultProps={classNames:u.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0},t.default=v},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),i=r("825a"),o=r("d039"),a=r("ad6d"),s="toString",l=RegExp.prototype,u=l[s],c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(c||f)&&n(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),r=e.flags,n=String(void 0===r&&e instanceof RegExp&&!("flags"in l)?a.call(e):r);return"/"+t+"/"+n}),{unsafe:!0})},"25f3":function(e,t,r){"use strict";var n=r("fc26"),i=r("4ce7");e.exports=function(e,t,r){var o,a={};function s(r,a){return n.coerce(e[o]||{},t[o],i,r,a)}for(var l=0;l<r.length;l++){var u=r[l];"barpolar"===u.type&&!0===u.visible&&(o=u.subplot,a[o]||(s("barmode"),s("bargap"),a[o]=1))}}},"25f9":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t,r){var i,o,a,s=[],l=[],u=e[0].length,c=e.length;function f(t,r){var n,i=0,o=0;return t>0&&void 0!==(n=e[r][t-1])&&(o++,i+=n),t<u-1&&void 0!==(n=e[r][t+1])&&(o++,i+=n),r>0&&void 0!==(n=e[r-1][t])&&(o++,i+=n),r<c-1&&void 0!==(n=e[r+1][t])&&(o++,i+=n),i/Math.max(1,o)}var p,d,h,v,m,g,y,b,x,A,w,_=0;for(i=0;i<u;i++)for(o=0;o<c;o++)void 0===e[o][i]&&(s.push(i),l.push(o),e[o][i]=f(i,o)),_=Math.max(_,Math.abs(e[o][i]));if(!s.length)return e;var E=1e-5,k=0,T=100,C=0,S=s.length;do{for(k=0,a=0;a<S;a++){i=s[a],o=l[a];var O,M,P,B,L,D,I=0,j=0;0===i?(L=Math.min(u-1,2),P=t[L],B=t[1],O=e[o][L],M=e[o][1],j+=M+(M-O)*(t[0]-B)/(B-P),I++):i===u-1&&(L=Math.max(0,u-3),P=t[L],B=t[u-2],O=e[o][L],M=e[o][u-2],j+=M+(M-O)*(t[u-1]-B)/(B-P),I++),(0===i||i===u-1)&&o>0&&o<c-1&&(p=r[o+1]-r[o],d=r[o]-r[o-1],j+=(d*e[o+1][i]+p*e[o-1][i])/(d+p),I++),0===o?(D=Math.min(c-1,2),P=r[D],B=r[1],O=e[D][i],M=e[1][i],j+=M+(M-O)*(r[0]-B)/(B-P),I++):o===c-1&&(D=Math.max(0,c-3),P=r[D],B=r[c-2],O=e[D][i],M=e[c-2][i],j+=M+(M-O)*(r[c-1]-B)/(B-P),I++),(0===o||o===c-1)&&i>0&&i<u-1&&(p=t[i+1]-t[i],d=t[i]-t[i-1],j+=(d*e[o][i+1]+p*e[o][i-1])/(d+p),I++),I?j/=I:(h=t[i+1]-t[i],v=t[i]-t[i-1],m=r[o+1]-r[o],g=r[o]-r[o-1],y=h*v*(h+v),b=m*g*(m+g),j=(y*(g*e[o+1][i]+m*e[o-1][i])+b*(v*e[o][i+1]+h*e[o][i-1]))/(b*(v+h)+y*(g+m))),x=j-e[o][i],A=x/_,k+=A*A,w=I?0:.85,e[o][i]+=x*(1+w)}k=Math.sqrt(k)}while(C++<T&&k>E);return n.log("Smoother converged to",k,"after",C,"iterations"),e}},2626:function(e,t,r){"use strict";var n=r("d066"),i=r("9bf2"),o=r("b622"),a=r("83ab"),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"262a":function(e,t,r){"use strict";var n=r("84d3"),i=r("936a");e.exports=function(e){return i(e)?e:n(e,"Cannot use %v",arguments[1])}},"262e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 14.57 14.6"},e),o.default.createElement("circle",{cx:"7.25",cy:"7.19",r:"1.22"}),o.default.createElement("path",{d:"M7.19 10.03a2.85 2.85 0 1 1 2.85-2.85 2.85 2.85 0 0 1-2.85 2.85zm0-4.86a2 2 0 1 0 2 2 2 2 0 0 0-2-1.96zM3.8.87a7.35 7.35 0 0 0-3 3.08c-.08.18-.18.37-.21.44l-.06.12 1.79.68c1 .37 1.8.67 1.81.66a1.61 1.61 0 0 0 .14-.24 3.77 3.77 0 0 1 1.22-1.26l.16-.1-.79-1.76-.8-1.76h-.08z"}),o.default.createElement("path",{d:"M5.32 2.28l.8 1.75.24-.07a3.74 3.74 0 0 1 1.12-.12 3.54 3.54 0 0 1 2.5 1.29 2.43 2.43 0 0 1 .42.74 2.73 2.73 0 0 1 .28.78 3.61 3.61 0 0 1 0 1.43v.22l1.78.68c1 .37 1.79.66 1.81.65a7.57 7.57 0 0 0 .29-1.12 7.43 7.43 0 0 0-.37-3.55 9.33 9.33 0 0 0-.78-1.62A7.37 7.37 0 0 0 9.87.47 7.25 7.25 0 0 0 7.54.03a7.44 7.44 0 0 0-2.83.44l-.18.07zM.31 5.18a7.48 7.48 0 0 0-.12 3.65 7.94 7.94 0 0 0 1.3 2.85 6.11 6.11 0 0 0 1.27 1.28s.54-.69 1.17-1.52l1.12-1.51-.19-.19a2.89 2.89 0 0 1-.69-1 3.4 3.4 0 0 1-.26-2.15v-.25l-1.72-.68-1.82-.63zM4.3 11.75c-.7.91-1.11 1.53-1.11 1.55a5.52 5.52 0 0 0 .85.52 7.41 7.41 0 0 0 2.93.77 6.39 6.39 0 0 0 1.11 0s-.11-.86-.25-1.9l-.25-1.9h-.39a3.4 3.4 0 0 1-1.54-.42l-.19-.1zM10.26 9.03l-.07.21h.08l1.81.7 1.73.66.08-.22.08-.21-1.78-.69-1.81-.68z"}))};t.default=u},2638:function(e,t){function r(){var e=new Float32Array(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e}e.exports=r},2649:function(e,t){function r(e,t,r){var n,i,o,a=r[0],s=r[1],l=r[2],u=Math.sqrt(a*a+s*s+l*l);return Math.abs(u)<1e-6?null:(u=1/u,a*=u,s*=u,l*=u,n=Math.sin(t),i=Math.cos(t),o=1-i,e[0]=a*a*o+i,e[1]=s*a*o+l*n,e[2]=l*a*o-s*n,e[3]=0,e[4]=a*s*o-l*n,e[5]=s*s*o+i,e[6]=l*s*o+a*n,e[7]=0,e[8]=a*l*o+s*n,e[9]=s*l*o-a*n,e[10]=l*l*o+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}e.exports=r},"265e":function(e,t){function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}e.exports=r},2661:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M32 20h6v6h-6zm-12-6h6v6h-6zm-6 6h6v6h-6zm0 12h6v6h-6zm6 0h6v6h-6zm12 0h6v6h-6zm-6-12h6v6h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M26 14h6v6h-6zm6 0h6v6h-6zm-12 6h6v6h-6zM8 20h6v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M14 14h6v6h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M8 14h6v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M26 26h6v6h-6zM8 26h6v6H8z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 26h6v6h-6zm12 0h6v6h-6zm-18 0h6v6h-6z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M26 8h6v6h-6zM8 8h6v6H8z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 8h6v6h-6zm12 0h6v6h-6zM14 8h6v6h-6zM8 32h6v6H8zm18 0h6v6h-6z"}),o.default.createElement("circle",{cx:"29",cy:"29",r:"2",fill:"#fff"}),o.default.createElement("circle",{cx:"17",cy:"23",r:"2",fill:"#fff"}),o.default.createElement("circle",{cx:"17",cy:"35",r:"2",fill:"#fff"}),o.default.createElement("circle",{cx:"29",cy:"23",r:"2",fill:"#fff"}),o.default.createElement("circle",{cx:"23",cy:"17",r:"2",fill:"#fff"}),o.default.createElement("path",{fill:"none",stroke:"#fff",d:"M29 11l1.5-1.5M29 11l-1.5-1.5M29 11l1.5 1.5M29 11l-1.5 1.5M35 23l1.5-1.5M35 23l-1.5-1.5M35 23l1.5 1.5M35 23l-1.5 1.5M23 35l1.5-1.5M23 35l-1.5-1.5M23 35l1.5 1.5M23 35l-1.5 1.5",strokeLinecap:"round",strokeLinejoin:"round"}))};t.default=u},"26a7":function(e,t,r){"use strict";e.exports=p;var n=r("efce"),i=r("b205"),o=r("531f"),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(e,t,r,n){this.gl=e,this.shader=n,this.buffer=t,this.vao=r,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var l=s.prototype;function u(e,t){for(var r=0;r<3;++r)e[0][r]=Math.min(e[0][r],t[r]),e[1][r]=Math.max(e[1][r],t[r])}l.isOpaque=function(){return!this.hasAlpha},l.isTransparent=function(){return this.hasAlpha},l.drawTransparent=l.draw=function(e){var t=this.gl,r=this.shader.uniforms;this.shader.bind();var n=r.view=e.view||a,i=r.projection=e.projection||a;r.model=e.model||a,r.clipBounds=this.clipBounds,r.opacity=this.opacity;var o=n[12],s=n[13],l=n[14],u=n[15],c=e._ortho||!1,f=c?2:1,p=f*this.pixelRatio*(i[3]*o+i[7]*s+i[11]*l+i[15]*u)/t.drawingBufferHeight;this.vao.bind();for(var d=0;d<3;++d)t.lineWidth(this.lineWidth[d]*this.pixelRatio),r.capSize=this.capSize[d]*p,this.lineCount[d]&&t.drawArrays(t.LINES,this.lineOffset[d],this.lineCount[d]);this.vao.unbind()};var c=function(){for(var e=new Array(3),t=0;t<3;++t){for(var r=[],n=1;n<=2;++n)for(var i=-1;i<=1;i+=2){var o=(n+t)%3,a=[0,0,0];a[o]=i,r.push(a)}e[t]=r}return e}();function f(e,t,r,n){for(var i=c[n],o=0;o<i.length;++o){var a=i[o];e.push(t[0],t[1],t[2],r[0],r[1],r[2],r[3],a[0],a[1],a[2])}return i.length}function p(e){var t=e.gl,r=n(t),a=i(t,[{buffer:r,type:t.FLOAT,size:3,offset:0,stride:40},{buffer:r,type:t.FLOAT,size:4,offset:12,stride:40},{buffer:r,type:t.FLOAT,size:3,offset:28,stride:40}]),l=o(t);l.attributes.position.location=0,l.attributes.color.location=1,l.attributes.offset.location=2;var u=new s(t,r,a,l);return u.update(e),u}l.update=function(e){e=e||{},"lineWidth"in e&&(this.lineWidth=e.lineWidth,Array.isArray(this.lineWidth)||(this.lineWidth=[this.lineWidth,this.lineWidth,this.lineWidth])),"capSize"in e&&(this.capSize=e.capSize,Array.isArray(this.capSize)||(this.capSize=[this.capSize,this.capSize,this.capSize])),this.hasAlpha=!1,"opacity"in e&&(this.opacity=+e.opacity,this.opacity<1&&(this.hasAlpha=!0));var t=e.color||[[0,0,0],[0,0,0],[0,0,0]],r=e.position,n=e.error;if(Array.isArray(t[0])||(t=[t,t,t]),r&&n){var i=[],o=r.length,a=0;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.lineCount=[0,0,0];for(var s=0;s<3;++s){this.lineOffset[s]=a;e:for(var l=0;l<o;++l){for(var c=r[l],p=0;p<3;++p)if(isNaN(c[p])||!isFinite(c[p]))continue e;var d=n[l],h=t[s];if(Array.isArray(h[0])&&(h=t[l]),3===h.length?h=[h[0],h[1],h[2],1]:4===h.length&&(h=[h[0],h[1],h[2],h[3]],!this.hasAlpha&&h[3]<1&&(this.hasAlpha=!0)),!isNaN(d[0][s])&&!isNaN(d[1][s])){if(d[0][s]<0){var v=c.slice();v[s]+=d[0][s],i.push(c[0],c[1],c[2],h[0],h[1],h[2],h[3],0,0,0,v[0],v[1],v[2],h[0],h[1],h[2],h[3],0,0,0),u(this.bounds,v),a+=2+f(i,v,h,s)}if(d[1][s]>0){v=c.slice();v[s]+=d[1][s],i.push(c[0],c[1],c[2],h[0],h[1],h[2],h[3],0,0,0,v[0],v[1],v[2],h[0],h[1],h[2],h[3],0,0,0),u(this.bounds,v),a+=2+f(i,v,h,s)}}}this.lineCount[s]=a-this.lineOffset[s]}this.buffer.update(i)}},l.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},"26b8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M23 24v16M11 12v24M35 6v29",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"#25fdfc",d:"M8 19h6v10H8z"}),o.default.createElement("path",{d:"M13 20v8H9v-8h4m2-2H7v12h8V18z",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 27h6v4h-6z"}),o.default.createElement("path",{d:"M25 28v2h-4v-2h4m2-2h-8v6h8v-6z",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"#25fdfc",d:"M32 15h6v14h-6z"}),o.default.createElement("path",{d:"M37 16v12h-4V16h4m2-2h-8v16h8V14z",fill:"#1d9bfb"}))};t.default=u},"26cf":function(e,t,r){"use strict";var n=r("cea5"),i=r("f31e");function o(e){var t=e.length;switch(t){case 0:case 1:return 0;case 2:return e[1];default:break}var r,o,a,s=n.mallocUint32(t),l=n.mallocUint32(t),u=0;for(i(e,l),a=0;a<t;++a)s[a]=e[a];for(a=t-1;a>0;--a)o=l[a],r=s[a],s[a]=s[o],s[o]=r,l[a]=l[r],l[r]=o,u=(u+r)*a;return n.freeUint32(l),n.freeUint32(s),u}function a(e,t,r){switch(e){case 0:return r||[];case 1:return r?(r[0]=0,r):[0];case 2:return r?(t?(r[0]=0,r[1]=1):(r[0]=1,r[1]=0),r):t?[0,1]:[1,0];default:break}r=r||new Array(e);var n,i,o,a=1;for(r[0]=0,o=1;o<e;++o)r[o]=o,a=a*o|0;for(o=e-1;o>0;--o)n=t/a|0,t=t-n*a|0,a=a/o|0,i=0|r[o],r[o]=0|r[n],r[n]=0|i;return r}t.rank=o,t.unrank=a},"26d1":function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[0],s=r[1],l=r[2],u=r[3],c=u*n+s*o-l*i,f=u*i+l*n-a*o,p=u*o+a*i-s*n,d=-a*n-s*i-l*o;return e[0]=c*u+d*-a+f*-l-p*-s,e[1]=f*u+d*-s+p*-a-c*-l,e[2]=p*u+d*-l+c*-s-f*-a,e}e.exports=r},"26dd":function(e,t,r){"use strict";var n=r("0d59"),i=r("6e58"),o=r("0a3e"),a=r("83d1"),s=r("0379"),l=r("fc26").raiseToTop,u=r("fc26").strTranslate,c=r("fc26").cancelTransition,f=r("8766"),p=r("7815"),d=r("d115");function h(e){return Math.ceil(e.calcdata.maxLineWidth/2)}function v(e,t){return"clip"+e._fullLayout._uid+"_scrollAreaBottomClip_"+t.key}function m(e,t){return"clip"+e._fullLayout._uid+"_columnBoundaryClippath_"+t.calcdata.key+"_"+t.specIndex}function g(e){return[].concat.apply([],e.map((function(e){return e}))).map((function(e){return e.__data__}))}function y(e,t,r){function a(e){var t=e.rowBlocks;return W(t,t.length-1)+(t.length?K(t[t.length-1],1/0):1)}var s=e.selectAll("."+n.cn.scrollbarKit).data(o.repeat,o.keyFun);s.enter().append("g").classed(n.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),s.each((function(e){var t=e.scrollbarState;t.totalHeight=a(e),t.scrollableAreaHeight=e.groupHeight-j(e),t.currentlyVisibleHeight=Math.min(t.totalHeight,t.scrollableAreaHeight),t.ratio=t.currentlyVisibleHeight/t.totalHeight,t.barLength=Math.max(t.ratio*t.currentlyVisibleHeight,n.goldenRatio*n.scrollbarWidth),t.barWiggleRoom=t.currentlyVisibleHeight-t.barLength,t.wiggleRoom=Math.max(0,t.totalHeight-t.scrollableAreaHeight),t.topY=0===t.barWiggleRoom?0:e.scrollY/t.wiggleRoom*t.barWiggleRoom,t.bottomY=t.topY+t.barLength,t.dragMultiplier=t.wiggleRoom/t.barWiggleRoom})).attr("transform",(function(e){var t=e.width+n.scrollbarWidth/2+n.scrollbarOffset;return u(t,j(e))}));var l=s.selectAll("."+n.cn.scrollbar).data(o.repeat,o.keyFun);l.enter().append("g").classed(n.cn.scrollbar,!0);var c=l.selectAll("."+n.cn.scrollbarSlider).data(o.repeat,o.keyFun);c.enter().append("g").classed(n.cn.scrollbarSlider,!0),c.attr("transform",(function(e){return u(0,e.scrollbarState.topY||0)}));var f=c.selectAll("."+n.cn.scrollbarGlyph).data(o.repeat,o.keyFun);f.enter().append("line").classed(n.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",n.scrollbarWidth).attr("stroke-linecap","round").attr("y1",n.scrollbarWidth/2),f.attr("y2",(function(e){return e.scrollbarState.barLength-n.scrollbarWidth/2})).attr("stroke-opacity",(function(e){return e.columnDragInProgress||!e.scrollbarState.barWiggleRoom||r?0:.4})),f.transition().delay(0).duration(0),f.transition().delay(n.scrollbarHideDelay).duration(n.scrollbarHideDuration).attr("stroke-opacity",0);var p=l.selectAll("."+n.cn.scrollbarCaptureZone).data(o.repeat,o.keyFun);p.enter().append("line").classed(n.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",n.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",(function(r){var n=i.event.y,o=this.getBoundingClientRect(),a=r.scrollbarState,s=n-o.top,l=i.scale.linear().domain([0,a.scrollableAreaHeight]).range([0,a.totalHeight]).clamp(!0);a.topY<=s&&s<=a.bottomY||N(t,e,null,l(s-a.barLength/2))(r)})).call(i.behavior.drag().origin((function(e){return i.event.stopPropagation(),e.scrollbarState.scrollbarScrollInProgress=!0,e})).on("drag",N(t,e)).on("dragend",(function(){}))),p.attr("y2",(function(e){return e.scrollbarState.scrollableAreaHeight})),t._context.staticPlot&&(f.remove(),p.remove())}function b(e,t,r,n){var i=x(r),o=A(i);k(o);var a=w(o);C(a);var s=E(o),l=_(s);T(l),S(l,t,n,e),Q(o)}function x(e){var t=e.selectAll("."+n.cn.columnCells).data(o.repeat,o.keyFun);return t.enter().append("g").classed(n.cn.columnCells,!0),t.exit().remove(),t}function A(e){var t=e.selectAll("."+n.cn.columnCell).data(p.splitToCells,(function(e){return e.keyWithinBlock}));return t.enter().append("g").classed(n.cn.columnCell,!0),t.exit().remove(),t}function w(e){var t=e.selectAll("."+n.cn.cellRect).data(o.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("rect").classed(n.cn.cellRect,!0),t}function _(e){var t=e.selectAll("."+n.cn.cellText).data(o.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("text").classed(n.cn.cellText,!0).style("cursor",(function(){return"auto"})).on("mousedown",(function(){i.event.stopPropagation()})),t}function E(e){var t=e.selectAll("."+n.cn.cellTextHolder).data(o.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("g").classed(n.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),t}function k(e){e.each((function(e,t){var r=e.calcdata.cells.font,n=e.column.specIndex,i={size:B(r.size,n,t),color:B(r.color,n,t),family:B(r.family,n,t)};e.rowNumber=e.key,e.align=B(e.calcdata.cells.align,n,t),e.cellBorderWidth=B(e.calcdata.cells.line.width,n,t),e.font=i}))}function T(e){e.each((function(e){a.font(i.select(this),e.font)}))}function C(e){e.attr("width",(function(e){return e.column.columnWidth})).attr("stroke-width",(function(e){return e.cellBorderWidth})).each((function(e){var t=i.select(this);d.stroke(t,B(e.calcdata.cells.line.color,e.column.specIndex,e.rowNumber)),d.fill(t,B(e.calcdata.cells.fill.color,e.column.specIndex,e.rowNumber))}))}function S(e,t,r,o){e.text((function(e){var t=e.column.specIndex,r=e.rowNumber,o=e.value,a="string"===typeof o,s=a&&o.match(/<br>/i),l=!a||s;e.mayHaveMarkup=a&&o.match(/[<&>]/);var u=O(o);e.latex=u;var c,f,p=u?"":B(e.calcdata.cells.prefix,t,r)||"",d=u?"":B(e.calcdata.cells.suffix,t,r)||"",h=u?null:B(e.calcdata.cells.format,t,r)||null,v=p+(h?i.format(h)(e.value):e.value)+d;if(e.wrappingNeeded=!e.wrapped&&!l&&!u&&(c=M(v)),e.cellHeightMayIncrease=s||u||e.mayHaveMarkup||(void 0===c?M(v):c),e.needsConvertToTspans=e.mayHaveMarkup||e.wrappingNeeded||e.latex,e.wrappingNeeded){var m=" "===n.wrapSplitCharacter?v.replace(/<a href=/gi,"<a_href="):v,g=m.split(n.wrapSplitCharacter),y=" "===n.wrapSplitCharacter?g.map((function(e){return e.replace(/<a_href=/gi,"<a href=")})):g;e.fragments=y.map((function(e){return{text:e,width:null}})),e.fragments.push({fragment:n.wrapSpacer,width:null}),f=y.join(n.lineBreaker)+n.lineBreaker+n.wrapSpacer}else delete e.fragments,f=v;return f})).attr("dy",(function(e){return e.needsConvertToTspans?0:"0.75em"})).each((function(e){var a=this,l=i.select(a),c=e.wrappingNeeded?U:H;e.needsConvertToTspans?s.convertToTspans(l,o,c(r,a,t,o,e)):i.select(a.parentNode).attr("transform",(function(e){return u(V(e),n.cellPad)})).attr("text-anchor",(function(e){return{left:"start",center:"middle",right:"end"}[e.align]}))}))}function O(e){return"string"===typeof e&&e.match(n.latexCheck)}function M(e){return-1!==e.indexOf(n.wrapSplitCharacter)}function P(e,t,r){var n=t.gdColumnsOriginalOrder;t.gdColumns.sort((function(e,t){return r[n.indexOf(e)]-r[n.indexOf(t)]})),t.columnorder=r,e.emit("plotly_restyle")}function B(e,t,r){if(Array.isArray(e)){var n=e[Math.min(t,e.length-1)];return Array.isArray(n)?n[Math.min(r,n.length-1)]:n}return e}function L(e,t,r){e.transition().ease(n.releaseTransitionEase).duration(n.releaseTransitionDuration).attr("transform",u(t.x,r))}function D(e){return"cells"===e.type}function I(e){return"header"===e.type}function j(e){var t=e.rowBlocks.length?e.rowBlocks[0].auxiliaryBlocks:[];return t.reduce((function(e,t){return e+K(t,1/0)}),0)}function R(e,t,r){for(var n=[],i=0,o=0;o<e.length;o++){for(var a=e[o],s=a.rows,l=0,u=0;u<s.length;u++)l+=s[u].rowHeight;a.allRowsHeight=l;var c=i+l,f=t,p=f+r;f<c&&p>i&&n.push(o),i+=l}return n}function F(e,t,r){var n=g(t)[0];if(void 0!==n){var i=n.rowBlocks,o=n.calcdata,a=W(i,i.length),s=n.calcdata.groupHeight-j(n),l=o.scrollY=Math.max(0,Math.min(a-s,o.scrollY)),c=R(i,l,s);1===c.length&&(c[0]===i.length-1?c.unshift(c[0]-1):c.push(c[0]+1)),c[0]%2&&c.reverse(),t.each((function(e,t){e.page=c[t],e.scrollY=l})),t.attr("transform",(function(e){var t=W(e.rowBlocks,e.page)-e.scrollY;return u(0,t)})),e&&(z(e,r,t,c,n.prevPages,n,0),z(e,r,t,c,n.prevPages,n,1),y(r,e))}}function N(e,t,r,o){return function(a){var s=a.calcdata?a.calcdata:a,l=t.filter((function(e){return s.key===e.key})),u=r||s.scrollbarState.dragMultiplier,c=s.scrollY;s.scrollY=void 0===o?s.scrollY+u*i.event.dy:o;var f=l.selectAll("."+n.cn.yColumn).selectAll("."+n.cn.columnBlock).filter(D);return F(e,f,l),s.scrollY===c}}function z(e,t,r,n,i,o,a){var s=n[a]!==i[a];s&&(clearTimeout(o.currentRepaint[a]),o.currentRepaint[a]=setTimeout((function(){var o=r.filter((function(e,t){return t===a&&n[t]!==i[t]}));b(e,t,o,r),i[a]=n[a]})))}function U(e,t,r,o){return function(){var a=i.select(t.parentNode);a.each((function(e){var t=e.fragments;a.selectAll("tspan.line").each((function(e,r){t[r].width=this.getComputedTextLength()}));var r,i,o=t[t.length-1].width,s=t.slice(0,-1),l=[],u=0,c=e.column.columnWidth-2*n.cellPad;e.value="";while(s.length)r=s.shift(),i=r.width+o,u+i>c&&(e.value+=l.join(n.wrapSpacer)+n.lineBreaker,l=[],u=0),l.push(r.text),u+=i;u&&(e.value+=l.join(n.wrapSpacer)),e.wrapped=!0})),a.selectAll("tspan.line").remove(),S(a.select("."+n.cn.cellText),r,e,o),i.select(t.parentNode.parentNode).call(Q)}}function H(e,t,r,o,a){return function(){if(!a.settledY){var s=i.select(t.parentNode),l=G(a),c=a.key-l.firstRowIndex,f=l.rows[c].rowHeight,p=a.cellHeightMayIncrease?t.parentNode.getBoundingClientRect().height+2*n.cellPad:f,d=Math.max(p,f),h=d-l.rows[c].rowHeight;h&&(l.rows[c].rowHeight=d,e.selectAll("."+n.cn.columnCell).call(Q),F(null,e.filter(D),0),y(r,o,!0)),s.attr("transform",(function(){var e=this,t=e.parentNode,r=t.getBoundingClientRect(),o=i.select(e.parentNode).select("."+n.cn.cellRect).node().getBoundingClientRect(),s=e.transform.baseVal.consolidate(),l=o.top-r.top+(s?s.matrix.f:n.cellPad);return u(V(a,i.select(e.parentNode).select("."+n.cn.cellTextHolder).node().getBoundingClientRect().width),l)})),a.settledY=!0}}}function V(e,t){switch(e.align){case"left":return n.cellPad;case"right":return e.column.columnWidth-(t||0)-n.cellPad;case"center":return(e.column.columnWidth-(t||0))/2;default:return n.cellPad}}function Q(e){e.attr("transform",(function(e){var t=e.rowBlocks[0].auxiliaryBlocks.reduce((function(e,t){return e+K(t,1/0)}),0),r=G(e),n=K(r,e.key),i=n+t;return u(0,i)})).selectAll("."+n.cn.cellRect).attr("height",(function(e){return $(G(e),e.key).rowHeight}))}function W(e,t){for(var r=0,n=t-1;n>=0;n--)r+=q(e[n]);return r}function K(e,t){for(var r=0,n=0;n<e.rows.length&&e.rows[n].rowIndex<t;n++)r+=e.rows[n].rowHeight;return r}function q(e){var t=e.allRowsHeight;if(void 0!==t)return t;for(var r=0,n=0;n<e.rows.length;n++)r+=e.rows[n].rowHeight;return e.allRowsHeight=r,r}function G(e){return e.rowBlocks[e.page]}function $(e,t){return e.rows[t-e.firstRowIndex]}e.exports=function(e,t){var r=!e._context.staticPlot,s=e._fullLayout._paper.selectAll("."+n.cn.table).data(t.map((function(t){var r=o.unwrap(t),n=r.trace;return f(e,n)})),o.keyFun);s.exit().remove(),s.enter().append("g").classed(n.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),s.attr("width",(function(e){return e.width+e.size.l+e.size.r})).attr("height",(function(e){return e.height+e.size.t+e.size.b})).attr("transform",(function(e){return u(e.translateX,e.translateY)}));var d=s.selectAll("."+n.cn.tableControlView).data(o.repeat,o.keyFun),x=d.enter().append("g").classed(n.cn.tableControlView,!0).style("box-sizing","content-box");if(r){var A="onwheel"in document?"wheel":"mousewheel";x.on("mousemove",(function(t){d.filter((function(e){return t===e})).call(y,e)})).on(A,(function(t){if(!t.scrollbarState.wheeling){t.scrollbarState.wheeling=!0;var r=t.scrollY+i.event.deltaY,n=N(e,d,null,r)(t);n||(i.event.stopPropagation(),i.event.preventDefault()),t.scrollbarState.wheeling=!1}})).call(y,e,!0)}d.attr("transform",(function(e){return u(e.size.l,e.size.t)}));var w=d.selectAll("."+n.cn.scrollBackground).data(o.repeat,o.keyFun);w.enter().append("rect").classed(n.cn.scrollBackground,!0).attr("fill","none"),w.attr("width",(function(e){return e.width})).attr("height",(function(e){return e.height})),d.each((function(t){a.setClipUrl(i.select(this),v(e,t),e)}));var _=d.selectAll("."+n.cn.yColumn).data((function(e){return e.columns}),o.keyFun);_.enter().append("g").classed(n.cn.yColumn,!0),_.exit().remove(),_.attr("transform",(function(e){return u(e.x,0)})),r&&_.call(i.behavior.drag().origin((function(t){var r=i.select(this);return L(r,t,-n.uplift),l(this),t.calcdata.columnDragInProgress=!0,y(d.filter((function(e){return t.calcdata.key===e.key})),e),t})).on("drag",(function(e){var t=i.select(this),r=function(t){return(e===t?i.event.x:t.x)+t.columnWidth/2};e.x=Math.max(-n.overdrag,Math.min(e.calcdata.width+n.overdrag-e.columnWidth,i.event.x));var o=g(_).filter((function(t){return t.calcdata.key===e.calcdata.key})),a=o.sort((function(e,t){return r(e)-r(t)}));a.forEach((function(t,r){t.xIndex=r,t.x=e===t?t.x:t.xScale(t)})),_.filter((function(t){return e!==t})).transition().ease(n.transitionEase).duration(n.transitionDuration).attr("transform",(function(e){return u(e.x,0)})),t.call(c).attr("transform",u(e.x,-n.uplift))})).on("dragend",(function(t){var r=i.select(this),n=t.calcdata;t.x=t.xScale(t),t.calcdata.columnDragInProgress=!1,L(r,t,0),P(e,n,n.columns.map((function(e){return e.xIndex})))}))),_.each((function(t){a.setClipUrl(i.select(this),m(e,t),e)}));var E=_.selectAll("."+n.cn.columnBlock).data(p.splitToPanels,o.keyFun);E.enter().append("g").classed(n.cn.columnBlock,!0).attr("id",(function(e){return e.key})),E.style("cursor",(function(e){return e.dragHandle?"ew-resize":e.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"}));var k=E.filter(I),T=E.filter(D);r&&T.call(i.behavior.drag().origin((function(e){return i.event.stopPropagation(),e})).on("drag",N(e,d,-1)).on("dragend",(function(){}))),b(e,d,k,E),b(e,d,T,E);var C=d.selectAll("."+n.cn.scrollAreaClip).data(o.repeat,o.keyFun);C.enter().append("clipPath").classed(n.cn.scrollAreaClip,!0).attr("id",(function(t){return v(e,t)}));var S=C.selectAll("."+n.cn.scrollAreaClipRect).data(o.repeat,o.keyFun);S.enter().append("rect").classed(n.cn.scrollAreaClipRect,!0).attr("x",-n.overdrag).attr("y",-n.uplift).attr("fill","none"),S.attr("width",(function(e){return e.width+2*n.overdrag})).attr("height",(function(e){return e.height+n.uplift}));var O=_.selectAll("."+n.cn.columnBoundary).data(o.repeat,o.keyFun);O.enter().append("g").classed(n.cn.columnBoundary,!0);var M=_.selectAll("."+n.cn.columnBoundaryClippath).data(o.repeat,o.keyFun);M.enter().append("clipPath").classed(n.cn.columnBoundaryClippath,!0),M.attr("id",(function(t){return m(e,t)}));var B=M.selectAll("."+n.cn.columnBoundaryRect).data(o.repeat,o.keyFun);B.enter().append("rect").classed(n.cn.columnBoundaryRect,!0).attr("fill","none"),B.attr("width",(function(e){return e.columnWidth+2*h(e)})).attr("height",(function(e){return e.calcdata.height+2*h(e)+n.uplift})).attr("x",(function(e){return-h(e)})).attr("y",(function(e){return-h(e)})),F(null,T,d)}},"26e4":function(e,t,r){"use strict";var n=r("107c"),i=r("f4e9"),o=r("94d5").hovertemplateAttrs,a=r("c20e"),s=r("d301").idRegex,l=r("a651").templatedArray,u=r("9092").extendFlat,c=n.marker,f=c.line,p=u(i("marker.line",{editTypeOverride:"calc"}),{width:u({},f.width,{editType:"calc"}),editType:"calc"}),d=u(i("marker"),{symbol:c.symbol,size:u({},c.size,{editType:"markerSize"}),sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,opacity:c.opacity,colorbar:c.colorbar,line:p,editType:"calc"});function h(e){return{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"subplotid",regex:s[e],editType:"plot"},description:["Sets the list of "+e+" axes","corresponding to dimensions of this splom trace.","By default, a splom will match the first N "+e+"axes","where N is the number of input dimensions.","Note that, in case where `diagonal.visible` is false and `showupperhalf`","or `showlowerhalf` is false, this splom trace will generate","one less x-axis and one less y-axis."].join(" ")}}d.color.editType=d.cmin.editType=d.cmax.editType="style",e.exports={dimensions:l("dimension",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this dimension is shown on the graph.","Note that even visible false dimension contribute to the","default grid generate by this splom trace."].join(" ")},label:{valType:"string",role:"info",editType:"calc",description:"Sets the label corresponding to this splom dimension."},values:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:"Sets the dimension values to be plotted."},axis:{type:{valType:"enumerated",values:["linear","log","date","category"],role:"info",editType:"calc+clearAxisTypes",description:["Sets the axis type for this dimension's generated","x and y axes.","Note that the axis `type` values set in layout take","precedence over this attribute."].join(" ")},matches:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not the x & y axes generated by this","dimension match.","Equivalent to setting the `matches` axis attribute in the layout","with the correct axis id."].join(" ")},editType:"calc+clearAxisTypes"},editType:"calc+clearAxisTypes"}),text:u({},a.text,{description:["Sets text elements associated with each (x,y) pair to appear on hover.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates."].join(" ")}),hovertext:u({},a.hovertext,{description:"Same as `text`."}),hovertemplate:o(),marker:d,xaxes:h("x"),yaxes:h("y"),diagonal:{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether or not subplots on the diagonal are displayed."].join(" ")},editType:"calc"},showupperhalf:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether or not subplots on the upper half","from the diagonal are displayed."].join(" ")},showlowerhalf:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether or not subplots on the lower half","from the diagonal are displayed."].join(" ")},selected:{marker:a.selected.marker,editType:"calc"},unselected:{marker:a.unselected.marker,editType:"calc"},opacity:a.opacity}},"26e8":function(e,t){function r(e,t){return null!=e&&t in Object(e)}e.exports=r},"26ee":function(e,t,r){"use strict";var n=r("5ea3"),i="object"==typeof self&&self&&self.Object===Object&&self,o=n["a"]||i||Function("return this")();t["a"]=o},2705:function(e,t,r){"use strict";var n=r("fc26"),i=r("de69"),o=r("de81"),a=r("5047"),s=r("59be"),l=r("eb07"),u=r("e9f7"),c=r("3802"),f=r("5aae");e.exports=function(e,t,r,p){function d(r,i){return n.coerce(e,t,f,r,i)}d("carpet"),t.xaxis="x",t.yaxis="y";var h=d("a"),v=d("b"),m=Math.min(h.length,v.length);if(m){t._length=m,d("text"),d("texttemplate"),d("hovertext");var g=m<i.PTS_LINESONLY?"lines+markers":"lines";d("mode",g),o.hasLines(t)&&(s(e,t,r,p,d),l(e,t,d),d("connectgaps")),o.hasMarkers(t)&&a(e,t,r,p,d,{gradient:!0}),o.hasText(t)&&u(e,t,p,d);var y=[];(o.hasMarkers(t)||o.hasText(t))&&(d("marker.maxdisplayed"),y.push("points")),d("fill"),"none"!==t.fill&&(c(e,t,r,d),o.hasLines(t)||l(e,t,d)),"tonext"!==t.fill&&"toself"!==t.fill||y.push("fills");var b=d("hoveron",y.join("+")||"points");"fills"!==b&&d("hovertemplate"),n.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1}},2781:function(e,t,r){"use strict";e.exports=r("0e9a")},"27a4":function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[0],s=r[1],l=r[2];return e[0]=i*l-o*s,e[1]=o*a-n*l,e[2]=n*s-i*a,e}e.exports=r},"27c6":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("50da"),a=r("c20e"),s=r("de69"),l=r("de81"),u=r("076f"),c=r("5793"),f=r("5047"),p=r("59be"),d=r("3802"),h=r("e9f7");e.exports=function(e,t,r,v){function m(r,i){return n.coerce(e,t,a,r,i)}var g=!!e.marker&&o.isOpenSymbol(e.marker.symbol),y=l.isBubble(e),b=u(e,t,v,m);if(b){c(e,t,v,m);var x=b<s.PTS_LINESONLY?"lines+markers":"lines";m("text"),m("hovertext"),m("hovertemplate"),m("mode",x),l.hasLines(t)&&(m("connectgaps"),p(e,t,r,v,m),m("line.shape")),l.hasMarkers(t)&&(f(e,t,r,v,m),m("marker.line.width",g||y?1:0)),l.hasText(t)&&(m("texttemplate"),h(e,t,v,m));var A=(t.line||{}).color,w=(t.marker||{}).color;m("fill"),"none"!==t.fill&&d(e,t,r,m);var _=i.getComponentMethod("errorbars","supplyDefaults");_(e,t,A||w||r,{axis:"y"}),_(e,t,A||w||r,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(t,m)}else t.visible=!1}},"27e3":function(e,t,r){"use strict";var n=r("fc26"),i=r("d798");e.exports=function(e,t,r,o){var a=n.coerce2(e,t,i,"ticklen"),s=n.coerce2(e,t,i,"tickwidth"),l=n.coerce2(e,t,i,"tickcolor",t.color),u=r("ticks",o.outerTicks||a||s||l?"outside":"");u||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}},"283e":function(e,t,r){"use strict";e.exports=l;var n=r("efce"),i=r("28dd"),o=r("b44d");function a(e,t,r){this.plot=e,this.vbo=t,this.shader=r}var s=a.prototype;function l(e){var t=e.gl,r=n(t,[-1,-1,-1,1,1,-1,1,1]),s=i(t,o.lineVert,o.lineFrag),l=new a(e,r,s);return l}s.bind=function(){var e=this.shader;this.vbo.bind(),this.shader.bind(),e.attributes.coord.pointer(),e.uniforms.screenBox=this.plot.screenBox},s.drawLine=function(){var e=[0,0],t=[0,0];return function(r,n,i,o,a,s){var l=this.plot,u=this.shader,c=l.gl;e[0]=r,e[1]=n,t[0]=i,t[1]=o,u.uniforms.start=e,u.uniforms.end=t,u.uniforms.width=a*l.pixelRatio,u.uniforms.color=s,c.drawArrays(c.TRIANGLE_STRIP,0,4)}}(),s.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},"284c":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z"}))};e.exports=s},2877:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},"28a0":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},"28bf":function(e,t,r){"use strict";var n=r("2b80"),i="Unknown",o={"Mac OS":"Mac OS X"};function a(e){return o[e]||e}function s(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}var l=new n,u=l.getResult(),c=s(u.browser.version),f={browserArchitecture:u.cpu.architecture||i,browserFullVersion:u.browser.version||i,browserMinorVersion:c.minor||i,browserName:u.browser.name||i,browserVersion:u.browser.major||i,deviceName:u.device.model||i,engineName:u.engine.name||i,engineVersion:u.engine.version||i,platformArchitecture:u.cpu.architecture||i,platformName:a(u.os.name)||i,platformVersion:u.os.version||i,platformFullVersion:u.os.version||i};e.exports=f},"28c2":function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},"28c9":function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},"28dd":function(e,t,r){"use strict";var n=r("d064b"),i=r("7e91"),o=r("eb73"),a=r("22b4"),s=r("d41a"),l=r("a3fd");function u(e){this.gl=e,this.gl.lastAttribCount=0,this._vref=this._fref=this._relink=this.vertShader=this.fragShader=this.program=this.attributes=this.uniforms=this.types=null}var c=u.prototype;function f(e,t){return e.name<t.name?-1:1}function p(e,t,r,n,i){var o=new u(e);return o.update(t,r,n,i),o}c.bind=function(){var e;this.program||this._relink();var t=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES),r=this.gl.lastAttribCount;if(t>r)for(e=r;e<t;e++)this.gl.enableVertexAttribArray(e);else if(r>t)for(e=t;e<r;e++)this.gl.disableVertexAttribArray(e);this.gl.lastAttribCount=t,this.gl.useProgram(this.program)},c.dispose=function(){for(var e=this.gl.lastAttribCount,t=0;t<e;t++)this.gl.disableVertexAttribArray(t);this.gl.lastAttribCount=0,this._fref&&this._fref.dispose(),this._vref&&this._vref.dispose(),this.attributes=this.types=this.vertShader=this.fragShader=this.program=this._relink=this._fref=this._vref=null},c.update=function(e,t,r,u){if(!t||1===arguments.length){var c=e;e=c.vertex,t=c.fragment,r=c.uniforms,u=c.attributes}var p=this,d=p.gl,h=p._vref;p._vref=a.shader(d,d.VERTEX_SHADER,e),h&&h.dispose(),p.vertShader=p._vref.shader;var v=this._fref;if(p._fref=a.shader(d,d.FRAGMENT_SHADER,t),v&&v.dispose(),p.fragShader=p._fref.shader,!r||!u){var m=d.createProgram();if(d.attachShader(m,p.fragShader),d.attachShader(m,p.vertShader),d.linkProgram(m),!d.getProgramParameter(m,d.LINK_STATUS)){var g=d.getProgramInfoLog(m);throw new l(g,"Error linking program:"+g)}r=r||s.uniforms(d,m),u=u||s.attributes(d,m),d.deleteProgram(m)}u=u.slice(),u.sort(f);var y,b=[],x=[],A=[];for(y=0;y<u.length;++y){var w=u[y];if(w.type.indexOf("mat")>=0){for(var _=0|w.type.charAt(w.type.length-1),E=new Array(_),k=0;k<_;++k)E[k]=A.length,x.push(w.name+"["+k+"]"),"number"===typeof w.location?A.push(w.location+k):Array.isArray(w.location)&&w.location.length===_&&"number"===typeof w.location[k]?A.push(0|w.location[k]):A.push(-1);b.push({name:w.name,type:w.type,locations:E})}else b.push({name:w.name,type:w.type,locations:[A.length]}),x.push(w.name),"number"===typeof w.location?A.push(0|w.location):A.push(-1)}var T=0;for(y=0;y<A.length;++y)if(A[y]<0){while(A.indexOf(T)>=0)T+=1;A[y]=T}var C=new Array(r.length);function S(){p.program=a.program(d,p._vref,p._fref,x,A);for(var e=0;e<r.length;++e)C[e]=d.getUniformLocation(p.program,r[e].name)}S(),p._relink=S,p.types={uniforms:o(r),attributes:o(u)},p.attributes=i(d,p,b,A),Object.defineProperty(p,"uniforms",n(d,p,r,C))},e.exports=p},"290b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#fff",d:"M32.05 26.375l-2.3 3.45-4.6 1.15-2.3-2.3H19.4l-6.15 1.15-3.45-2.3 3.85-4.6v-3.45h5.163l4.187 3 4.45-3 9.2 6.9h-4.6z",strokeMiterlimit:"10"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#fff",d:"M36.65 26.375l-9.2-6.9-4.45 3-4.187-3H13.65l-2.875-1.725v-2.3l-1.15-1.15-1.15 1.15-1.15-1.15V9.7h2.3l2.3-1.15h2.3l3.45 2.3h3.45l4.6-2.3 3.45 3.45-3.45 3.45h5.75v-2.3h3.45v1.15l1.15 1.15 1.15-1.15 3.45 3.45v3.45H36.65v5.175zm-9.775 7.475L25.725 35h-1.15l.575-4.025-2.3-2.3H19.4l-6.15 1.15 7.875 4.025v2.3l3.45 2.3h2.3l1.15-1.15V35l-1.15-1.15z",strokeMiterlimit:"10"}),o.default.createElement("circle",{cx:"37.5",cy:"18.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23",cy:"18.5",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"11.5",cy:"12.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"16.5",cy:"22.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"14.5",cy:"26.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"26.5",cy:"25.5",r:"3",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"14.5",cy:"15.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"21.5",cy:"24.5",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"24.5",cy:"12.5",r:"1.5",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"31.5",cy:"18.5",r:"1",fill:"#1d9bfb"}))};t.default=u},2969:function(e,t,r){"use strict";var n=r("f9d8");e.exports=function(e,t){var r=e.positions,i=e.vectors,o={positions:[],vertexIntensity:[],vertexIntensityBounds:e.vertexIntensityBounds,vectors:[],cells:[],coneOffset:e.coneOffset,colormap:e.colormap};if(0===e.positions.length)return t&&(t[0]=[0,0,0],t[1]=[0,0,0]),o;for(var a=0,s=1/0,l=-1/0,u=1/0,c=-1/0,f=1/0,p=-1/0,d=null,h=null,v=[],m=1/0,g=!1,y=0;y<r.length;y++){var b=r[y];s=Math.min(b[0],s),l=Math.max(b[0],l),u=Math.min(b[1],u),c=Math.max(b[1],c),f=Math.min(b[2],f),p=Math.max(b[2],p);var x=i[y];if(n.length(x)>a&&(a=n.length(x)),y){var A=2*n.distance(d,b)/(n.length(h)+n.length(x));A?(m=Math.min(m,A),g=!1):g=!0}g||(d=b,h=x),v.push(x)}var w=[s,u,f],_=[l,c,p];t&&(t[0]=w,t[1]=_),0===a&&(a=1);var E=1/a;isFinite(m)||(m=1),o.vectorScale=m;var k=e.coneSize||.5;e.absoluteConeSize&&(k=e.absoluteConeSize*E),o.coneScale=k;y=0;for(var T=0;y<r.length;y++){b=r[y];for(var C=b[0],S=b[1],O=b[2],M=v[y],P=n.length(M)*E,B=0,L=8;B<L;B++){o.positions.push([C,S,O,T++]),o.positions.push([C,S,O,T++]),o.positions.push([C,S,O,T++]),o.positions.push([C,S,O,T++]),o.positions.push([C,S,O,T++]),o.positions.push([C,S,O,T++]),o.vectors.push(M),o.vectors.push(M),o.vectors.push(M),o.vectors.push(M),o.vectors.push(M),o.vectors.push(M),o.vertexIntensity.push(P,P,P),o.vertexIntensity.push(P,P,P);var D=o.positions.length;o.cells.push([D-6,D-5,D-4],[D-3,D-2,D-1])}}return o};var i=r("f280");e.exports.createMesh=r("6b3c"),e.exports.createConeMesh=function(t,r){return e.exports.createMesh(t,r,{shaders:i,traceType:"cone"})}},"2969f":function(e,t,r){"use strict";t.getDimIndex=function(e,t){for(var r=t._id,n=r.charAt(0),i={x:0,y:1}[n],o=e._visibleDims,a=0;a<o.length;a++){var s=o[a];if(e._diag[s][i]===r)return a}return!1}},"296e":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o=(e-r)/(n-r),a=o+t/(n-r),s=(o+a)/2;return"left"===i||"bottom"===i?o:"center"===i||"middle"===i?s:"right"===i||"top"===i?a:o<2/3-s?o:a>4/3-s?a:s}},"299d":function(e,t,r){"use strict";var n=r("96e3"),i=r("e8ee"),o=r("b113"),a=r("ad68"),s=r("fc26"),l=r("e21b").selectMode,u=r("cf42"),c=r("de81"),f=r("00bd"),p=r("e38a").styleTextSelection;function d(e,t,r){var n=e._size,i=e.width,o=e.height;return[n.l+t.domain[0]*n.w,n.b+r.domain[0]*n.h,i-n.r-(1-t.domain[1])*n.w,o-n.t-(1-r.domain[1])*n.h]}e.exports=function(e,t,r){if(r.length){var h,v,m=e._fullLayout,g=t._scene,y=t.xaxis,b=t.yaxis;if(g){var x=u(e,["ANGLE_instanced_arrays","OES_element_index_uint"]);if(x){var A=g.count,w=m._glcanvas.data()[0].regl;if(f(e,t,r),g.dirty){if(!0===g.error2d&&(g.error2d=o(w)),!0===g.line2d&&(g.line2d=i(w)),!0===g.scatter2d&&(g.scatter2d=n(w,{constPointSize:!0})),!0===g.fill2d&&(g.fill2d=i(w)),!0===g.glText)for(g.glText=new Array(A),h=0;h<A;h++)g.glText[h]=new a(w);if(g.glText){if(A>g.glText.length){var _=A-g.glText.length;for(h=0;h<_;h++)g.glText.push(new a(w))}else if(A<g.glText.length){var E=g.glText.length-A,k=g.glText.splice(A,E);k.forEach((function(e){e.destroy()}))}for(h=0;h<A;h++)g.glText[h].update(g.textOptions[h])}if(g.line2d&&(g.line2d.update(g.lineOptions),g.lineOptions=g.lineOptions.map((function(e){if(e&&e.positions){var t=e.positions,r=0;while(r<t.length&&(isNaN(t[r])||isNaN(t[r+1])))r+=2;var n=t.length-2;while(n>r&&(isNaN(t[n])||isNaN(t[n+1])))n-=2;e.positions=t.slice(r,n+2)}return e})),g.line2d.update(g.lineOptions)),g.error2d){var T=(g.errorXOptions||[]).concat(g.errorYOptions||[]);g.error2d.update(T)}g.scatter2d&&g.scatter2d.update(g.markerOptions),g.fillOrder=s.repeat(null,A),g.fill2d&&(g.fillOptions=g.fillOptions.map((function(e,t){var n=r[t];if(e&&n&&n[0]&&n[0].trace){var i,o,a=n[0],s=a.trace,l=a.t,u=g.lineOptions[t],c=[];s._ownfill&&c.push(t),s._nexttrace&&c.push(t+1),c.length&&(g.fillOrder[t]=c);var f,p,d=[],h=u&&u.positions||l.positions;if("tozeroy"===s.fill){f=0;while(f<h.length&&isNaN(h[f+1]))f+=2;p=h.length-2;while(p>f&&isNaN(h[p+1]))p-=2;0!==h[f+1]&&(d=[h[f],0]),d=d.concat(h.slice(f,p+2)),0!==h[p+1]&&(d=d.concat([h[p],0]))}else if("tozerox"===s.fill){f=0;while(f<h.length&&isNaN(h[f]))f+=2;p=h.length-2;while(p>f&&isNaN(h[p]))p-=2;0!==h[f]&&(d=[0,h[f+1]]),d=d.concat(h.slice(f,p+2)),0!==h[p]&&(d=d.concat([0,h[p+1]]))}else if("toself"===s.fill||"tonext"===s.fill){for(d=[],i=0,o=0;o<h.length;o+=2)(isNaN(h[o])||isNaN(h[o+1]))&&(d=d.concat(h.slice(i,o)),d.push(h[i],h[i+1]),i=o+2);d=d.concat(h.slice(i)),i&&d.push(h[i],h[i+1])}else{var v=s._nexttrace;if(v){var m=g.lineOptions[t+1];if(m){var y=m.positions;if("tonexty"===s.fill){for(d=h.slice(),t=Math.floor(y.length/2);t--;){var b=y[2*t],x=y[2*t+1];isNaN(b)||isNaN(x)||d.push(b,x)}e.fill=v.fillcolor}}}}if(s._prevtrace&&"tonext"===s._prevtrace.fill){var A=g.lineOptions[t-1].positions,w=d.length/2;i=w;var _=[i];for(o=0;o<A.length;o+=2)(isNaN(A[o])||isNaN(A[o+1]))&&(_.push(o/2+w+1),i=o+2);d=d.concat(A),e.hole=_}return e.fillmode=s.fill,e.opacity=s.opacity,e.positions=d,e}})),g.fill2d.update(g.fillOptions))}var C=m.dragmode,S=l(C),O=m.clickmode.indexOf("select")>-1;for(h=0;h<A;h++){var M=r[h][0],P=M.trace,B=M.t,L=B.index,D=P._length,I=B.x,j=B.y;if(P.selectedpoints||S||O){if(S||(S=!0),P.selectedpoints){var R=g.selectBatch[L]=s.selIndices2selPoints(P),F={};for(v=0;v<R.length;v++)F[R[v]]=1;var N=[];for(v=0;v<D;v++)F[v]||N.push(v);g.unselectBatch[L]=N}var z=B.xpx=new Array(D),U=B.ypx=new Array(D);for(v=0;v<D;v++)z[v]=y.c2p(I[v]),U[v]=b.c2p(j[v])}else B.xpx=B.ypx=null}if(S){if(g.select2d||(g.select2d=n(m._glcanvas.data()[1].regl)),g.scatter2d){var H=new Array(A);for(h=0;h<A;h++)H[h]=g.selectBatch[h].length||g.unselectBatch[h].length?g.markerUnselectedOptions[h]:{};g.scatter2d.update(H)}g.select2d&&(g.select2d.update(g.markerOptions),g.select2d.update(g.markerSelectedOptions)),g.glText&&r.forEach((function(e){var t=((e||[])[0]||{}).trace||{};c.hasText(t)&&p(e)}))}else g.scatter2d&&g.scatter2d.update(g.markerOptions);var V={viewport:d(m,y,b),range:[(y._rl||y.range)[0],(b._rl||b.range)[0],(y._rl||y.range)[1],(b._rl||b.range)[1]]},Q=s.repeat(V,g.count);g.fill2d&&g.fill2d.update(Q),g.line2d&&g.line2d.update(Q),g.error2d&&g.error2d.update(Q.concat(Q)),g.scatter2d&&g.scatter2d.update(Q),g.select2d&&g.select2d.update(Q),g.glText&&g.glText.forEach((function(e){e.update(V)}))}else g.init()}}}},"29ae":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M11.188 4c4.938 0 10.688 1.625 13.063 3.75 2.938 2.5 4.813 6 5.063 9.875.313 2.375-.625 4.75-2.25 6.625-3.188 2.813-7.313 4.313-11.625 4.313-2.875.125-5.688-.938-7.813-2.938-5.75-5.75-6.688-16.313-3.25-19.75C5.626 4.687 8.001 4 11.189 4m-.001-1.312c-3.188 0-6.125.625-7.75 2.25-4.125 4-2.75 15.438 3.25 21.438a11.902 11.902 0 0 0 8.75 3.375c4.563 0 9.125-1.625 12.563-4.688 4.125-4.125 3.75-12.938-2.813-18.5-2.625-2.313-8.813-3.875-14-3.875zm1.75 6.375c3.875 0 7.188 1.063 8.125 2 1.625 1.5 2.375 3.5 2.375 5.625.188 1.875-.5 3.688-1.813 5.063-1.25 1.063-2.813 1.688-4.563 1.563-2.25 0-4.375-.938-6-2.5-3.75-3.75-5.438-8.688-3.625-10.563.813-.5 2.438-1.188 5.5-1.188m.001-1.313c-2.688 0-5.063.5-6.25 1.563C4 12.001 6.25 17.876 10.251 21.751c1.875 1.875 4.313 2.938 6.938 2.938 2 0 4-.688 5.5-2.125 3.188-3.75 2.938-9.25-.688-12.688-1.438-1.188-5.438-2.125-9.063-2.125zm2 4.625c.5 0 1.063.313 1.438.563 1.875 1.875 2.813 4.5 2.563 4.938a2.002 2.002 0 0 1-1.75 1.063c-1.063-.125-2.125-.688-2.938-1.313-2.25-1.875-2.375-3.063-2.25-3.875 0-.125.125-.313.125-.313.688-.625 1.75-1.063 2.813-1.063m-.001-1.312c-1.875 0-4 1.063-4.25 2.125-.688 2 .625 3.75 2.625 5.375a7.121 7.121 0 0 0 3.875 1.563c1.188 0 2.25-.5 2.813-1.438.938-1.5-.813-4.813-2.688-6.688-.625-.563-1.438-1.063-2.375-.938"}))};t.default=u},"29f3":function(e,t){var r=Object.prototype,n=r.toString;function i(e){return n.call(e)}e.exports=i},"29f4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n=r("020f"),i=a(n),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var s={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},l=t.autoprefix=function(e){var t={};return(0,i.default)(e,(function(e,r){var n={};(0,i.default)(e,(function(e,t){var r=s[t];r?n=o({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=l},"2a16":function(e,t){function r(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}e.exports=r},"2a27":function(e,t,r){"use strict";var n=r("fc26"),i=r("97d1"),o=r("d115"),a=r("81f0").defaults,s=r("1c1c").handleText,l=r("1a5e").TEXTPAD,u=r("c258"),c=u.hasColorscale,f=u.handleDefaults;e.exports=function(e,t,r,u){function p(r,o){return n.coerce(e,t,i,r,o)}var d=p("labels"),h=p("parents");if(d&&d.length&&h&&h.length){var v=p("values");v&&v.length?p("branchvalues"):p("count"),p("level"),p("maxdepth");var m=p("tiling.packing");"squarify"===m&&p("tiling.squarifyratio"),p("tiling.flip"),p("tiling.pad");var g=p("text");p("texttemplate"),t.texttemplate||p("textinfo",Array.isArray(g)?"text+label":"label"),p("hovertext"),p("hovertemplate");var y=p("pathbar.visible"),b="auto";s(e,t,u,p,b,{hasPathbar:y,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),p("textposition");var x=-1!==t.textposition.indexOf("bottom"),A=p("marker.line.width");A&&p("marker.line.color",u.paper_bgcolor);var w=p("marker.colors"),_=t._hasColorscale=c(e,"marker","colors")||(e.marker||{}).coloraxis;_?f(e,t,u,p,{prefix:"marker.",cLetter:"c"}):p("marker.depthfade",!(w||[]).length);var E=2*t.textfont.size;p("marker.pad.t",x?E/4:E),p("marker.pad.l",E/4),p("marker.pad.r",E/4),p("marker.pad.b",x?E:E/4),_&&f(e,t,u,p,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:o.contrast(u.paper_bgcolor)}}},y&&(p("pathbar.thickness",t.pathbar.textfont.size+2*l),p("pathbar.side"),p("pathbar.edgeshape")),p("sort"),p("root.color"),a(t,u,p),t._length=null}else t.visible=!1}},"2aa9":function(e,t,r){"use strict";e.exports=function(e,t){for(var r=e.cd,n=[],i=r[0].trace,o=i._sankey.graph.nodes,a=0;a<o.length;a++){var s=o[a];if(!s.partOfGroup){var l=[(s.x0+s.x1)/2,(s.y0+s.y1)/2];"v"===i.orientation&&l.reverse(),t&&t.contains(l,!1,a,e)&&n.push({pointNumber:s.pointNumber})}}return n}},"2b0e":function(e,t,r){"use strict";r.r(t),function(e){
|
||
/*!
|
||
* Vue.js v2.6.11
|
||
* (c) 2014-2019 Evan You
|
||
* Released under the MIT License.
|
||
*/
|
||
var r=Object.freeze({});function n(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function f(e){return"[object RegExp]"===u.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}m("slot,component",!0);var g=m("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var b=Object.prototype.hasOwnProperty;function x(e,t){return b.call(e,t)}function A(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var w=/-(\w)/g,_=A((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),E=A((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,T=A((function(e){return e.replace(k,"-$1").toLowerCase()}));function C(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r}function S(e,t){return e.bind(t)}var O=Function.prototype.bind?S:C;function M(e,t){t=t||0;var r=e.length-t,n=new Array(r);while(r--)n[r]=e[r+t];return n}function P(e,t){for(var r in t)e[r]=t[r];return e}function B(e){for(var t={},r=0;r<e.length;r++)e[r]&&P(t,e[r]);return t}function L(e,t,r){}var D=function(e,t,r){return!1},I=function(e){return e};function j(e,t){if(e===t)return!0;var r=l(e),n=l(t);if(!r||!n)return!r&&!n&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,r){return j(e,t[r])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(r){return j(e[r],t[r])}))}catch(u){return!1}}function R(e,t){for(var r=0;r<e.length;r++)if(j(e[r],t))return r;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var N="data-server-rendered",z=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:D,isReservedAttr:D,isUnknownElement:D,getTagNamespace:L,parsePlatformTagName:I,mustUseProp:D,async:!0,_lifecycleHooks:U},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Q(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var K=new RegExp("[^"+V.source+".$_\\d]");function q(e){if(!K.test(e)){var t=e.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var G,$="__proto__"in{},Y="undefined"!==typeof window,X="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Z=X&&WXEnvironment.platform.toLowerCase(),J=Y&&window.navigator.userAgent.toLowerCase(),ee=J&&/msie|trident/.test(J),te=J&&J.indexOf("msie 9.0")>0,re=J&&J.indexOf("edge/")>0,ne=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Z),ie=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(Y)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(_a){}var le=function(){return void 0===G&&(G=!Y&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},ue=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);fe="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=L,he=0,ve=function(){this.id=he++,this.subs=[]};ve.prototype.addSub=function(e){this.subs.push(e)},ve.prototype.removeSub=function(e){y(this.subs,e)},ve.prototype.depend=function(){ve.target&&ve.target.addDep(this)},ve.prototype.notify=function(){var e=this.subs.slice();for(var t=0,r=e.length;t<r;t++)e[t].update()},ve.target=null;var me=[];function ge(e){me.push(e),ve.target=e}function ye(){me.pop(),ve.target=me[me.length-1]}var be=function(e,t,r,n,i,o,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},xe={child:{configurable:!0}};xe.child.get=function(){return this.componentInstance},Object.defineProperties(be.prototype,xe);var Ae=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function we(e){return new be(void 0,void 0,void 0,String(e))}function _e(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ee=Array.prototype,ke=Object.create(Ee),Te=["push","pop","shift","unshift","splice","sort","reverse"];Te.forEach((function(e){var t=Ee[e];W(ke,e,(function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];var i,o=t.apply(this,r),a=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Ce=Object.getOwnPropertyNames(ke),Se=!0;function Oe(e){Se=e}var Me=function(e){this.value=e,this.dep=new ve,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?($?Pe(e,ke):Be(e,ke,Ce),this.observeArray(e)):this.walk(e)};function Pe(e,t){e.__proto__=t}function Be(e,t,r){for(var n=0,i=r.length;n<i;n++){var o=r[n];W(e,o,t[o])}}function Le(e,t){var r;if(l(e)&&!(e instanceof be))return x(e,"__ob__")&&e.__ob__ instanceof Me?r=e.__ob__:Se&&!le()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(r=new Me(e)),t&&r&&r.vmCount++,r}function De(e,t,r,n,i){var o=new ve,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(r=e[t]);var u=!i&&Le(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return ve.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Re(t))),t},set:function(t){var n=s?s.call(e):r;t===n||t!==t&&n!==n||s&&!l||(l?l.call(e,t):r=t,u=!i&&Le(t),o.notify())}})}}function Ie(e,t,r){if(Array.isArray(e)&&p(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var n=e.__ob__;return e._isVue||n&&n.vmCount?r:n?(De(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}function je(e,t){if(Array.isArray(e)&&p(t))e.splice(t,1);else{var r=e.__ob__;e._isVue||r&&r.vmCount||x(e,t)&&(delete e[t],r&&r.dep.notify())}}function Re(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Re(t)}Me.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)De(e,t[r])},Me.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)Le(e[t])};var Fe=H.optionMergeStrategies;function Ne(e,t){if(!t)return e;for(var r,n,i,o=pe?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],"__ob__"!==r&&(n=e[r],i=t[r],x(e,r)?n!==i&&c(n)&&c(i)&&Ne(n,i):Ie(e,r,i));return e}function ze(e,t,r){return r?function(){var n="function"===typeof t?t.call(r,r):t,i="function"===typeof e?e.call(r,r):e;return n?Ne(n,i):i}:t?e?function(){return Ne("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ue(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?He(r):r}function He(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function Ve(e,t,r,n){var i=Object.create(e||null);return t?P(i,t):i}Fe.data=function(e,t,r){return r?ze(e,t,r):t&&"function"!==typeof t?e:ze(e,t)},U.forEach((function(e){Fe[e]=Ue})),z.forEach((function(e){Fe[e+"s"]=Ve})),Fe.watch=function(e,t,r,n){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in P(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return P(i,e),t&&P(i,t),i},Fe.provide=ze;var Qe=function(e,t){return void 0===t?e:t};function We(e,t){var r=e.props;if(r){var n,i,o,a={};if(Array.isArray(r)){n=r.length;while(n--)i=r[n],"string"===typeof i&&(o=_(i),a[o]={type:null})}else if(c(r))for(var s in r)i=r[s],o=_(s),a[o]=c(i)?i:{type:i};else 0;e.props=a}}function Ke(e,t){var r=e.inject;if(r){var n=e.inject={};if(Array.isArray(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(c(r))for(var o in r){var a=r[o];n[o]=c(a)?P({from:o},a):{from:a}}else 0}}function qe(e){var t=e.directives;if(t)for(var r in t){var n=t[r];"function"===typeof n&&(t[r]={bind:n,update:n})}}function Ge(e,t,r){if("function"===typeof t&&(t=t.options),We(t,r),Ke(t,r),qe(t),!t._base&&(t.extends&&(e=Ge(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=Ge(e,t.mixins[n],r);var o,a={};for(o in e)s(o);for(o in t)x(e,o)||s(o);function s(n){var i=Fe[n]||Qe;a[n]=i(e[n],t[n],r,n)}return a}function $e(e,t,r,n){if("string"===typeof r){var i=e[t];if(x(i,r))return i[r];var o=_(r);if(x(i,o))return i[o];var a=E(o);if(x(i,a))return i[a];var s=i[r]||i[o]||i[a];return s}}function Ye(e,t,r,n){var i=t[e],o=!x(r,e),a=r[e],s=et(Boolean,i.type);if(s>-1)if(o&&!x(i,"default"))a=!1;else if(""===a||a===T(e)){var l=et(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Xe(n,i,e);var u=Se;Oe(!0),Le(a),Oe(u)}return a}function Xe(e,t,r){if(x(t,"default")){var n=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[r]&&void 0!==e._props[r]?e._props[r]:"function"===typeof n&&"Function"!==Ze(t.type)?n.call(e):n}}function Ze(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Je(e,t){return Ze(e)===Ze(t)}function et(e,t){if(!Array.isArray(t))return Je(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(Je(t[r],e))return r;return-1}function tt(e,t,r){ge();try{if(t){var n=t;while(n=n.$parent){var i=n.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(n,e,t,r);if(a)return}catch(_a){nt(_a,n,"errorCaptured hook")}}}nt(e,t,r)}finally{ye()}}function rt(e,t,r,n,i){var o;try{o=r?e.apply(t,r):e.call(t),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(e){return tt(e,n,i+" (Promise/async)")})),o._handled=!0)}catch(_a){tt(_a,n,i)}return o}function nt(e,t,r){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,r)}catch(_a){_a!==e&&it(_a,null,"config.errorHandler")}it(e,t,r)}function it(e,t,r){if(!Y&&!X||"undefined"===typeof console)throw e;console.error(e)}var ot,at=!1,st=[],lt=!1;function ut(){lt=!1;var e=st.slice(0);st.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ce(Promise)){var ct=Promise.resolve();ot=function(){ct.then(ut),ne&&setTimeout(L)},at=!0}else if(ee||"undefined"===typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ot="undefined"!==typeof setImmediate&&ce(setImmediate)?function(){setImmediate(ut)}:function(){setTimeout(ut,0)};else{var ft=1,pt=new MutationObserver(ut),dt=document.createTextNode(String(ft));pt.observe(dt,{characterData:!0}),ot=function(){ft=(ft+1)%2,dt.data=String(ft)},at=!0}function ht(e,t){var r;if(st.push((function(){if(e)try{e.call(t)}catch(_a){tt(_a,t,"nextTick")}else r&&r(t)})),lt||(lt=!0,ot()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){r=e}))}var vt=new fe;function mt(e){gt(e,vt),vt.clear()}function gt(e,t){var r,n,i=Array.isArray(e);if(!(!i&&!l(e)||Object.isFrozen(e)||e instanceof be)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i){r=e.length;while(r--)gt(e[r],t)}else{n=Object.keys(e),r=n.length;while(r--)gt(e[n[r]],t)}}}var yt=A((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var r="~"===e.charAt(0);e=r?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}}));function bt(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return rt(n,null,arguments,t,"v-on handler");for(var i=n.slice(),o=0;o<i.length;o++)rt(i[o],null,e,t,"v-on handler")}return r.fns=e,r}function xt(e,t,r,i,a,s){var l,u,c,f;for(l in e)u=e[l],c=t[l],f=yt(l),n(u)||(n(c)?(n(u.fns)&&(u=e[l]=bt(u,s)),o(f.once)&&(u=e[l]=a(f.name,u,f.capture)),r(f.name,u,f.capture,f.passive,f.params)):u!==c&&(c.fns=u,e[l]=c));for(l in t)n(e[l])&&(f=yt(l),i(f.name,t[l],f.capture))}function At(e,t,r){var a;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){r.apply(this,arguments),y(a.fns,l)}n(s)?a=bt([l]):i(s.fns)&&o(s.merged)?(a=s,a.fns.push(l)):a=bt([s,l]),a.merged=!0,e[t]=a}function wt(e,t,r){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var u in o){var c=T(u);_t(a,l,u,c,!0)||_t(a,s,u,c,!1)}return a}}function _t(e,t,r,n,o){if(i(t)){if(x(t,r))return e[r]=t[r],o||delete t[r],!0;if(x(t,n))return e[r]=t[n],o||delete t[n],!0}return!1}function Et(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function kt(e){return s(e)?[we(e)]:Array.isArray(e)?Ct(e):void 0}function Tt(e){return i(e)&&i(e.text)&&a(e.isComment)}function Ct(e,t){var r,a,l,u,c=[];for(r=0;r<e.length;r++)a=e[r],n(a)||"boolean"===typeof a||(l=c.length-1,u=c[l],Array.isArray(a)?a.length>0&&(a=Ct(a,(t||"")+"_"+r),Tt(a[0])&&Tt(u)&&(c[l]=we(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?Tt(u)?c[l]=we(u.text+a):""!==a&&c.push(we(a)):Tt(a)&&Tt(u)?c[l]=we(u.text+a.text):(o(e._isVList)&&i(a.tag)&&n(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+r+"__"),c.push(a)));return c}function St(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Ot(e){var t=Mt(e.$options.inject,e);t&&(Oe(!1),Object.keys(t).forEach((function(r){De(e,r,t[r])})),Oe(!0))}function Mt(e,t){if(e){for(var r=Object.create(null),n=pe?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var o=n[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&x(s._provided,a)){r[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;r[o]="function"===typeof l?l.call(t):l}else 0}}return r}}function Pt(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var o=e[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(r.default||(r.default=[])).push(o);else{var s=a.slot,l=r[s]||(r[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in r)r[u].every(Bt)&&delete r[u];return r}function Bt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Lt(e,t,n){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=Dt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=It(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function Dt(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:kt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function It(e,t){return function(){return e[t]}}function jt(e,t){var r,n,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(r=new Array(e.length),n=0,o=e.length;n<o;n++)r[n]=t(e[n],n);else if("number"===typeof e)for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n);else if(l(e))if(pe&&e[Symbol.iterator]){r=[];var u=e[Symbol.iterator](),c=u.next();while(!c.done)r.push(t(c.value,r.length)),c=u.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,o=a.length;n<o;n++)s=a[n],r[n]=t(e[s],s,n);return i(r)||(r=[]),r._isVList=!0,r}function Rt(e,t,r,n){var i,o=this.$scopedSlots[e];o?(r=r||{},n&&(r=P(P({},n),r)),i=o(r)||t):i=this.$slots[e]||t;var a=r&&r.slot;return a?this.$createElement("template",{slot:a},i):i}function Ft(e){return $e(this.$options,"filters",e,!0)||I}function Nt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function zt(e,t,r,n,i){var o=H.keyCodes[t]||r;return i&&n&&!H.keyCodes[t]?Nt(i,n):o?Nt(o,e):n?T(n)!==t:void 0}function Ut(e,t,r,n,i){if(r)if(l(r)){var o;Array.isArray(r)&&(r=B(r));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=n||H.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=_(a),u=T(a);if(!(l in o)&&!(u in o)&&(o[a]=r[a],i)){var c=e.on||(e.on={});c["update:"+a]=function(e){r[a]=e}}};for(var s in r)a(s)}else;return e}function Ht(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Qt(n,"__static__"+e,!1)),n}function Vt(e,t,r){return Qt(e,"__once__"+t+(r?"_"+r:""),!0),e}function Qt(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!==typeof e[n]&&Wt(e[n],t+"_"+n,r);else Wt(e,t,r)}function Wt(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function Kt(e,t){if(t)if(c(t)){var r=e.on=e.on?P({},e.on):{};for(var n in t){var i=r[n],o=t[n];r[n]=i?[].concat(i,o):o}}else;return e}function qt(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?qt(o,t,r):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return n&&(t.$key=n),t}function Gt(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];"string"===typeof n&&n&&(e[t[r]]=t[r+1])}return e}function $t(e,t){return"string"===typeof e?t+e:e}function Yt(e){e._o=Vt,e._n=v,e._s=h,e._l=jt,e._t=Rt,e._q=j,e._i=R,e._m=Ht,e._f=Ft,e._k=zt,e._b=Ut,e._v=we,e._e=Ae,e._u=qt,e._g=Kt,e._d=Gt,e._p=$t}function Xt(e,t,n,i,a){var s,l=this,u=a.options;x(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var c=o(u._compiled),f=!c;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=Mt(u.inject,i),this.slots=function(){return l.$slots||Lt(e.scopedSlots,l.$slots=Pt(n,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Lt(e.scopedSlots,this.slots())}}),c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Lt(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var o=cr(s,e,t,r,n,f);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,r,n){return cr(s,e,t,r,n,f)}}function Zt(e,t,n,o,a){var s=e.options,l={},u=s.props;if(i(u))for(var c in u)l[c]=Ye(c,u,t||r);else i(n.attrs)&&er(l,n.attrs),i(n.props)&&er(l,n.props);var f=new Xt(n,l,a,o,e),p=s.render.call(null,f._c,f);if(p instanceof be)return Jt(p,n,f.parent,s,f);if(Array.isArray(p)){for(var d=kt(p)||[],h=new Array(d.length),v=0;v<d.length;v++)h[v]=Jt(d[v],n,f.parent,s,f);return h}}function Jt(e,t,r,n,i){var o=_e(e);return o.fnContext=r,o.fnOptions=n,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function er(e,t){for(var r in t)e[_(r)]=t[r]}Yt(Xt.prototype);var tr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;tr.prepatch(r,r)}else{var n=e.componentInstance=ir(e,Or);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,n=t.componentInstance=e.componentInstance;Dr(n,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Fr(r,"mounted")),e.data.keepAlive&&(t._isMounted?Xr(r):jr(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Rr(t,!0):t.$destroy())}},rr=Object.keys(tr);function nr(e,t,r,a,s){if(!n(e)){var u=r.$options._base;if(l(e)&&(e=u.extend(e)),"function"===typeof e){var c;if(n(e.cid)&&(c=e,e=xr(c,u),void 0===e))return br(c,t,r,a,s);t=t||{},An(e),i(t.model)&&sr(e.options,t);var f=wt(t,e,s);if(o(e.options.functional))return Zt(e,f,t,r,a);var p=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var d=t.slot;t={},d&&(t.slot=d)}or(t);var h=e.options.name||s,v=new be("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:f,listeners:p,tag:s,children:a},c);return v}}}function ir(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return i(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function or(e){for(var t=e.hook||(e.hook={}),r=0;r<rr.length;r++){var n=rr[r],i=t[n],o=tr[n];i===o||i&&i._merged||(t[n]=i?ar(o,i):o)}}function ar(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}function sr(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var o=t.on||(t.on={}),a=o[n],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[n]=[s].concat(a)):o[n]=s}var lr=1,ur=2;function cr(e,t,r,n,i,a){return(Array.isArray(r)||s(r))&&(i=n,n=r,r=void 0),o(a)&&(i=ur),fr(e,t,r,n,i)}function fr(e,t,r,n,o){if(i(r)&&i(r.__ob__))return Ae();if(i(r)&&i(r.is)&&(t=r.is),!t)return Ae();var a,s,l;(Array.isArray(n)&&"function"===typeof n[0]&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),o===ur?n=kt(n):o===lr&&(n=Et(n)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),a=H.isReservedTag(t)?new be(H.parsePlatformTagName(t),r,n,void 0,void 0,e):r&&r.pre||!i(l=$e(e.$options,"components",t))?new be(t,r,n,void 0,void 0,e):nr(l,r,e,n,t)):a=nr(t,r,e,n);return Array.isArray(a)?a:i(a)?(i(s)&&pr(a,s),i(r)&&dr(r),a):Ae()}function pr(e,t,r){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,r=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];i(l.tag)&&(n(l.ns)||o(r)&&"svg"!==l.tag)&&pr(l,t,r)}}function dr(e){l(e.style)&&mt(e.style),l(e.class)&&mt(e.class)}function hr(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=Pt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,r,n,i){return cr(e,t,r,n,i,!1)},e.$createElement=function(t,r,n,i){return cr(e,t,r,n,i,!0)};var o=n&&n.data;De(e,"$attrs",o&&o.attrs||r,null,!0),De(e,"$listeners",t._parentListeners||r,null,!0)}var vr,mr=null;function gr(e){Yt(e.prototype),e.prototype.$nextTick=function(e){return ht(e,this)},e.prototype._render=function(){var e,t=this,r=t.$options,n=r.render,i=r._parentVnode;i&&(t.$scopedSlots=Lt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{mr=t,e=n.call(t._renderProxy,t.$createElement)}catch(_a){tt(_a,t,"render"),e=t._vnode}finally{mr=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof be||(e=Ae()),e.parent=i,e}}function yr(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function br(e,t,r,n,i){var o=Ae();return o.asyncFactory=e,o.asyncMeta={data:t,context:r,children:n,tag:i},o}function xr(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var r=mr;if(r&&i(e.owners)&&-1===e.owners.indexOf(r)&&e.owners.push(r),o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(r&&!i(e.owners)){var a=e.owners=[r],s=!0,u=null,c=null;r.$on("hook:destroyed",(function(){return y(a,r)}));var f=function(e){for(var t=0,r=a.length;t<r;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},p=F((function(r){e.resolved=yr(r,t),s?a.length=0:f(!0)})),h=F((function(t){i(e.errorComp)&&(e.error=!0,f(!0))})),v=e(p,h);return l(v)&&(d(v)?n(e.resolved)&&v.then(p,h):d(v.component)&&(v.component.then(p,h),i(v.error)&&(e.errorComp=yr(v.error,t)),i(v.loading)&&(e.loadingComp=yr(v.loading,t),0===v.delay?e.loading=!0:u=setTimeout((function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,f(!1))}),v.delay||200)),i(v.timeout)&&(c=setTimeout((function(){c=null,n(e.resolved)&&h(null)}),v.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function Ar(e){return e.isComment&&e.asyncFactory}function wr(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=e[t];if(i(r)&&(i(r.componentOptions)||Ar(r)))return r}}function _r(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Cr(e,t)}function Er(e,t){vr.$on(e,t)}function kr(e,t){vr.$off(e,t)}function Tr(e,t){var r=vr;return function n(){var i=t.apply(null,arguments);null!==i&&r.$off(e,n)}}function Cr(e,t,r){vr=e,xt(t,r||{},Er,kr,Tr,e),vr=void 0}function Sr(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)n.$on(e[i],r);else(n._events[e]||(n._events[e]=[])).push(r),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var r=this;function n(){r.$off(e,n),t.apply(r,arguments)}return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var n=0,i=e.length;n<i;n++)r.$off(e[n],t);return r}var o,a=r._events[e];if(!a)return r;if(!t)return r._events[e]=null,r;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return r},e.prototype.$emit=function(e){var t=this,r=t._events[e];if(r){r=r.length>1?M(r):r;for(var n=M(arguments,1),i='event handler for "'+e+'"',o=0,a=r.length;o<a;o++)rt(r[o],t,n,t,i)}return t}}var Or=null;function Mr(e){var t=Or;return Or=e,function(){Or=t}}function Pr(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){while(r.$options.abstract&&r.$parent)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Br(e){e.prototype._update=function(e,t){var r=this,n=r.$el,i=r._vnode,o=Mr(r);r._vnode=e,r.$el=i?r.__patch__(i,e):r.__patch__(r.$el,e,t,!1),o(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r),r.$vnode&&r.$parent&&r.$vnode===r.$parent._vnode&&(r.$parent.$el=r.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Fr(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();var r=e._watchers.length;while(r--)e._watchers[r].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Fr(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Lr(e,t,r){var n;return e.$el=t,e.$options.render||(e.$options.render=Ae),Fr(e,"beforeMount"),n=function(){e._update(e._render(),r)},new tn(e,n,L,{before:function(){e._isMounted&&!e._isDestroyed&&Fr(e,"beforeUpdate")}},!0),r=!1,null==e.$vnode&&(e._isMounted=!0,Fr(e,"mounted")),e}function Dr(e,t,n,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){Oe(!1);for(var c=e._props,f=e.$options._propKeys||[],p=0;p<f.length;p++){var d=f[p],h=e.$options.props;c[d]=Ye(d,h,t,e)}Oe(!0),e.$options.propsData=t}n=n||r;var v=e.$options._parentListeners;e.$options._parentListeners=n,Cr(e,n,v),u&&(e.$slots=Pt(o,i.context),e.$forceUpdate())}function Ir(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function jr(e,t){if(t){if(e._directInactive=!1,Ir(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var r=0;r<e.$children.length;r++)jr(e.$children[r]);Fr(e,"activated")}}function Rr(e,t){if((!t||(e._directInactive=!0,!Ir(e)))&&!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)Rr(e.$children[r]);Fr(e,"deactivated")}}function Fr(e,t){ge();var r=e.$options[t],n=t+" hook";if(r)for(var i=0,o=r.length;i<o;i++)rt(r[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),ye()}var Nr=[],zr=[],Ur={},Hr=!1,Vr=!1,Qr=0;function Wr(){Qr=Nr.length=zr.length=0,Ur={},Hr=Vr=!1}var Kr=0,qr=Date.now;if(Y&&!ee){var Gr=window.performance;Gr&&"function"===typeof Gr.now&&qr()>document.createEvent("Event").timeStamp&&(qr=function(){return Gr.now()})}function $r(){var e,t;for(Kr=qr(),Vr=!0,Nr.sort((function(e,t){return e.id-t.id})),Qr=0;Qr<Nr.length;Qr++)e=Nr[Qr],e.before&&e.before(),t=e.id,Ur[t]=null,e.run();var r=zr.slice(),n=Nr.slice();Wr(),Zr(r),Yr(n),ue&&H.devtools&&ue.emit("flush")}function Yr(e){var t=e.length;while(t--){var r=e[t],n=r.vm;n._watcher===r&&n._isMounted&&!n._isDestroyed&&Fr(n,"updated")}}function Xr(e){e._inactive=!1,zr.push(e)}function Zr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,jr(e[t],!0)}function Jr(e){var t=e.id;if(null==Ur[t]){if(Ur[t]=!0,Vr){var r=Nr.length-1;while(r>Qr&&Nr[r].id>e.id)r--;Nr.splice(r+1,0,e)}else Nr.push(e);Hr||(Hr=!0,ht($r))}}var en=0,tn=function(e,t,r,n,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++en,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fe,this.newDepIds=new fe,this.expression="","function"===typeof t?this.getter=t:(this.getter=q(t),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};tn.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(_a){if(!this.user)throw _a;tt(_a,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&mt(e),ye(),this.cleanupDeps()}return e},tn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},tn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},tn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Jr(this)},tn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(_a){tt(_a,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},tn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},tn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},tn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rn={enumerable:!0,configurable:!0,get:L,set:L};function nn(e,t,r){rn.get=function(){return this[t][r]},rn.set=function(e){this[t][r]=e},Object.defineProperty(e,r,rn)}function on(e){e._watchers=[];var t=e.$options;t.props&&an(e,t.props),t.methods&&hn(e,t.methods),t.data?sn(e):Le(e._data={},!0),t.computed&&cn(e,t.computed),t.watch&&t.watch!==oe&&vn(e,t.watch)}function an(e,t){var r=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Oe(!1);var a=function(o){i.push(o);var a=Ye(o,t,r,e);De(n,o,a),o in e||nn(e,"_props",o)};for(var s in t)a(s);Oe(!0)}function sn(e){var t=e.$options.data;t=e._data="function"===typeof t?ln(t,e):t||{},c(t)||(t={});var r=Object.keys(t),n=e.$options.props,i=(e.$options.methods,r.length);while(i--){var o=r[i];0,n&&x(n,o)||Q(o)||nn(e,"_data",o)}Le(t,!0)}function ln(e,t){ge();try{return e.call(t,t)}catch(_a){return tt(_a,t,"data()"),{}}finally{ye()}}var un={lazy:!0};function cn(e,t){var r=e._computedWatchers=Object.create(null),n=le();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,n||(r[i]=new tn(e,a||L,L,un)),i in e||fn(e,i,o)}}function fn(e,t,r){var n=!le();"function"===typeof r?(rn.get=n?pn(t):dn(r),rn.set=L):(rn.get=r.get?n&&!1!==r.cache?pn(t):dn(r.get):L,rn.set=r.set||L),Object.defineProperty(e,t,rn)}function pn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ve.target&&t.depend(),t.value}}function dn(e){return function(){return e.call(this,this)}}function hn(e,t){e.$options.props;for(var r in t)e[r]="function"!==typeof t[r]?L:O(t[r],e)}function vn(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var i=0;i<n.length;i++)mn(e,r,n[i]);else mn(e,r,n)}}function mn(e,t,r,n){return c(r)&&(n=r,r=r.handler),"string"===typeof r&&(r=e[r]),e.$watch(t,r,n)}function gn(e){var t={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=Ie,e.prototype.$delete=je,e.prototype.$watch=function(e,t,r){var n=this;if(c(t))return mn(n,e,t,r);r=r||{},r.user=!0;var i=new tn(n,e,t,r);if(r.immediate)try{t.call(n,i.value)}catch(o){tt(o,n,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var yn=0;function bn(e){e.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?xn(t,e):t.$options=Ge(An(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Pr(t),_r(t),hr(t),Fr(t,"beforeCreate"),Ot(t),on(t),St(t),Fr(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function xn(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function An(e){var t=e.options;if(e.super){var r=An(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var i=wn(e);i&&P(e.extendOptions,i),t=e.options=Ge(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function wn(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}function _n(e){this._init(e)}function En(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=M(arguments,1);return r.unshift(this),"function"===typeof e.install?e.install.apply(e,r):"function"===typeof e&&e.apply(null,r),t.push(e),this}}function kn(e){e.mixin=function(e){return this.options=Ge(this.options,e),this}}function Tn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var r=this,n=r.cid,i=e._Ctor||(e._Ctor={});if(i[n])return i[n];var o=e.name||r.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ge(r.options,e),a["super"]=r,a.options.props&&Cn(a),a.options.computed&&Sn(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,z.forEach((function(e){a[e]=r[e]})),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=P({},a.options),i[n]=a,a}}function Cn(e){var t=e.options.props;for(var r in t)nn(e.prototype,"_props",r)}function Sn(e){var t=e.options.computed;for(var r in t)fn(e.prototype,r,t[r])}function On(e){z.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&c(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"===typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}function Mn(e){return e&&(e.Ctor.options.name||e.tag)}function Pn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function Bn(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var o in r){var a=r[o];if(a){var s=Mn(a.componentOptions);s&&!t(s)&&Ln(r,o,n,i)}}}function Ln(e,t,r,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,y(r,t)}bn(_n),gn(_n),Sr(_n),Br(_n),gr(_n);var Dn=[String,RegExp,Array],In={name:"keep-alive",abstract:!0,props:{include:Dn,exclude:Dn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ln(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Bn(e,(function(e){return Pn(t,e)}))})),this.$watch("exclude",(function(t){Bn(e,(function(e){return!Pn(t,e)}))}))},render:function(){var e=this.$slots.default,t=wr(e),r=t&&t.componentOptions;if(r){var n=Mn(r),i=this,o=i.include,a=i.exclude;if(o&&(!n||!Pn(o,n))||a&&n&&Pn(a,n))return t;var s=this,l=s.cache,u=s.keys,c=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,y(u,c),u.push(c)):(l[c]=t,u.push(c),this.max&&u.length>parseInt(this.max)&&Ln(l,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},jn={KeepAlive:In};function Rn(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:P,mergeOptions:Ge,defineReactive:De},e.set=Ie,e.delete=je,e.nextTick=ht,e.observable=function(e){return Le(e),e},e.options=Object.create(null),z.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,P(e.options.components,jn),En(e),kn(e),Tn(e),On(e)}Rn(_n),Object.defineProperty(_n.prototype,"$isServer",{get:le}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:Xt}),_n.version="2.6.11";var Fn=m("style,class"),Nn=m("input,textarea,option,select,progress"),zn=function(e,t,r){return"value"===r&&Nn(e)&&"button"!==t||"selected"===r&&"option"===e||"checked"===r&&"input"===e||"muted"===r&&"video"===e},Un=m("contenteditable,draggable,spellcheck"),Hn=m("events,caret,typing,plaintext-only"),Vn=function(e,t){return Gn(t)||"false"===t?"false":"contenteditable"===e&&Hn(t)?t:"true"},Qn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wn="http://www.w3.org/1999/xlink",Kn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qn=function(e){return Kn(e)?e.slice(6,e.length):""},Gn=function(e){return null==e||!1===e};function $n(e){var t=e.data,r=e,n=e;while(i(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(t=Yn(n.data,t));while(i(r=r.parent))r&&r.data&&(t=Yn(t,r.data));return Xn(t.staticClass,t.class)}function Yn(e,t){return{staticClass:Zn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Xn(e,t){return i(e)||i(t)?Zn(e,Jn(t)):""}function Zn(e,t){return e?t?e+" "+t:e:t||""}function Jn(e){return Array.isArray(e)?ei(e):l(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,r="",n=0,o=e.length;n<o;n++)i(t=Jn(e[n]))&&""!==t&&(r&&(r+=" "),r+=t);return r}function ti(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ni=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ni(e)||ii(e)};function ai(e){return ii(e)?"svg":"math"===e?"math":void 0}var si=Object.create(null);function li(e){if(!Y)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=si[e])return si[e];var t=document.createElement(e);return e.indexOf("-")>-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var ui=m("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function fi(e,t){var r=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r}function pi(e,t){return document.createElementNS(ri[e],t)}function di(e){return document.createTextNode(e)}function hi(e){return document.createComment(e)}function vi(e,t,r){e.insertBefore(t,r)}function mi(e,t){e.removeChild(t)}function gi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function xi(e){return e.tagName}function Ai(e,t){e.textContent=t}function wi(e,t){e.setAttribute(t,"")}var _i=Object.freeze({createElement:fi,createElementNS:pi,createTextNode:di,createComment:hi,insertBefore:vi,removeChild:mi,appendChild:gi,parentNode:yi,nextSibling:bi,tagName:xi,setTextContent:Ai,setStyleScope:wi}),Ei={create:function(e,t){ki(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ki(e,!0),ki(t))},destroy:function(e){ki(e,!0)}};function ki(e,t){var r=e.data.ref;if(i(r)){var n=e.context,o=e.componentInstance||e.elm,a=n.$refs;t?Array.isArray(a[r])?y(a[r],o):a[r]===o&&(a[r]=void 0):e.data.refInFor?Array.isArray(a[r])?a[r].indexOf(o)<0&&a[r].push(o):a[r]=[o]:a[r]=o}}var Ti=new be("",{},[]),Ci=["create","activate","update","remove","destroy"];function Si(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Oi(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function Oi(e,t){if("input"!==e.tag)return!0;var r,n=i(r=e.data)&&i(r=r.attrs)&&r.type,o=i(r=t.data)&&i(r=r.attrs)&&r.type;return n===o||ui(n)&&ui(o)}function Mi(e,t,r){var n,o,a={};for(n=t;n<=r;++n)o=e[n].key,i(o)&&(a[o]=n);return a}function Pi(e){var t,r,a={},l=e.modules,u=e.nodeOps;for(t=0;t<Ci.length;++t)for(a[Ci[t]]=[],r=0;r<l.length;++r)i(l[r][Ci[t]])&&a[Ci[t]].push(l[r][Ci[t]]);function c(e){return new be(u.tagName(e).toLowerCase(),{},[],void 0,e)}function f(e,t){function r(){0===--r.listeners&&p(e)}return r.listeners=t,r}function p(e){var t=u.parentNode(e);i(t)&&u.removeChild(t,e)}function d(e,t,r,n,a,s,l){if(i(e.elm)&&i(s)&&(e=s[l]=_e(e)),e.isRootInsert=!a,!h(e,t,r,n)){var c=e.data,f=e.children,p=e.tag;i(p)?(e.elm=e.ns?u.createElementNS(e.ns,p):u.createElement(p,e),w(e),b(e,f,t),i(c)&&A(e,t),y(r,e.elm,n)):o(e.isComment)?(e.elm=u.createComment(e.text),y(r,e.elm,n)):(e.elm=u.createTextNode(e.text),y(r,e.elm,n))}}function h(e,t,r,n){var a=e.data;if(i(a)){var s=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return v(e,t),y(r,e.elm,n),o(s)&&g(e,t,r,n),!0}}function v(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,x(e)?(A(e,t),w(e)):(ki(e),t.push(e))}function g(e,t,r,n){var o,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,i(o=s.data)&&i(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](Ti,s);t.push(s);break}y(r,e.elm,n)}function y(e,t,r){i(e)&&(i(r)?u.parentNode(r)===e&&u.insertBefore(e,t,r):u.appendChild(e,t))}function b(e,t,r){if(Array.isArray(t)){0;for(var n=0;n<t.length;++n)d(t[n],r,e.elm,null,!0,t,n)}else s(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function x(e){while(e.componentInstance)e=e.componentInstance._vnode;return i(e.tag)}function A(e,r){for(var n=0;n<a.create.length;++n)a.create[n](Ti,e);t=e.data.hook,i(t)&&(i(t.create)&&t.create(Ti,e),i(t.insert)&&r.push(e))}function w(e){var t;if(i(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{var r=e;while(r)i(t=r.context)&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),r=r.parent}i(t=Or)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function _(e,t,r,n,i,o){for(;n<=i;++n)d(r[n],o,e,t,!1,r,n)}function E(e){var t,r,n=e.data;if(i(n))for(i(t=n.hook)&&i(t=t.destroy)&&t(e),t=0;t<a.destroy.length;++t)a.destroy[t](e);if(i(t=e.children))for(r=0;r<e.children.length;++r)E(e.children[r])}function k(e,t,r){for(;t<=r;++t){var n=e[t];i(n)&&(i(n.tag)?(T(n),E(n)):p(n.elm))}}function T(e,t){if(i(t)||i(e.data)){var r,n=a.remove.length+1;for(i(t)?t.listeners+=n:t=f(e.elm,n),i(r=e.componentInstance)&&i(r=r._vnode)&&i(r.data)&&T(r,t),r=0;r<a.remove.length;++r)a.remove[r](e,t);i(r=e.data.hook)&&i(r=r.remove)?r(e,t):t()}else p(e.elm)}function C(e,t,r,o,a){var s,l,c,f,p=0,h=0,v=t.length-1,m=t[0],g=t[v],y=r.length-1,b=r[0],x=r[y],A=!a;while(p<=v&&h<=y)n(m)?m=t[++p]:n(g)?g=t[--v]:Si(m,b)?(O(m,b,o,r,h),m=t[++p],b=r[++h]):Si(g,x)?(O(g,x,o,r,y),g=t[--v],x=r[--y]):Si(m,x)?(O(m,x,o,r,y),A&&u.insertBefore(e,m.elm,u.nextSibling(g.elm)),m=t[++p],x=r[--y]):Si(g,b)?(O(g,b,o,r,h),A&&u.insertBefore(e,g.elm,m.elm),g=t[--v],b=r[++h]):(n(s)&&(s=Mi(t,p,v)),l=i(b.key)?s[b.key]:S(b,t,p,v),n(l)?d(b,o,e,m.elm,!1,r,h):(c=t[l],Si(c,b)?(O(c,b,o,r,h),t[l]=void 0,A&&u.insertBefore(e,c.elm,m.elm)):d(b,o,e,m.elm,!1,r,h)),b=r[++h]);p>v?(f=n(r[y+1])?null:r[y+1].elm,_(e,f,r,h,y,o)):h>y&&k(t,p,v)}function S(e,t,r,n){for(var o=r;o<n;o++){var a=t[o];if(i(a)&&Si(e,a))return o}}function O(e,t,r,s,l,c){if(e!==t){i(t.elm)&&i(s)&&(t=s[l]=_e(t));var f=t.elm=e.elm;if(o(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?B(e.elm,t,r):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,d=t.data;i(d)&&i(p=d.hook)&&i(p=p.prepatch)&&p(e,t);var h=e.children,v=t.children;if(i(d)&&x(t)){for(p=0;p<a.update.length;++p)a.update[p](e,t);i(p=d.hook)&&i(p=p.update)&&p(e,t)}n(t.text)?i(h)&&i(v)?h!==v&&C(f,h,v,r,c):i(v)?(i(e.text)&&u.setTextContent(f,""),_(f,null,v,0,v.length-1,r)):i(h)?k(h,0,h.length-1):i(e.text)&&u.setTextContent(f,""):e.text!==t.text&&u.setTextContent(f,t.text),i(d)&&i(p=d.hook)&&i(p=p.postpatch)&&p(e,t)}}}function M(e,t,r){if(o(r)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var n=0;n<t.length;++n)t[n].data.hook.insert(t[n])}var P=m("attrs,class,staticClass,staticStyle,key");function B(e,t,r,n){var a,s=t.tag,l=t.data,u=t.children;if(n=n||l&&l.pre,t.elm=e,o(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return v(t,r),!0;if(i(s)){if(i(u))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var c=!0,f=e.firstChild,p=0;p<u.length;p++){if(!f||!B(f,u[p],r,n)){c=!1;break}f=f.nextSibling}if(!c||f)return!1}else b(t,u,r);if(i(l)){var d=!1;for(var h in l)if(!P(h)){d=!0,A(t,r);break}!d&&l["class"]&&mt(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,r,s){if(!n(t)){var l=!1,f=[];if(n(e))l=!0,d(t,f);else{var p=i(e.nodeType);if(!p&&Si(e,t))O(e,t,f,null,null,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(N)&&(e.removeAttribute(N),r=!0),o(r)&&B(e,t,f))return M(t,f,!0),e;e=c(e)}var h=e.elm,v=u.parentNode(h);if(d(t,f,h._leaveCb?null:v,u.nextSibling(h)),i(t.parent)){var m=t.parent,g=x(t);while(m){for(var y=0;y<a.destroy.length;++y)a.destroy[y](m);if(m.elm=t.elm,g){for(var b=0;b<a.create.length;++b)a.create[b](Ti,m);var A=m.data.hook.insert;if(A.merged)for(var w=1;w<A.fns.length;w++)A.fns[w]()}else ki(m);m=m.parent}}i(v)?k([e],0,0):i(e.tag)&&E(e)}}return M(t,f,l),t.elm}i(e)&&E(e)}}var Bi={create:Li,update:Li,destroy:function(e){Li(e,Ti)}};function Li(e,t){(e.data.directives||t.data.directives)&&Di(e,t)}function Di(e,t){var r,n,i,o=e===Ti,a=t===Ti,s=ji(e.data.directives,e.context),l=ji(t.data.directives,t.context),u=[],c=[];for(r in l)n=s[r],i=l[r],n?(i.oldValue=n.value,i.oldArg=n.arg,Fi(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Fi(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var r=0;r<u.length;r++)Fi(u[r],"inserted",t,e)};o?At(t,"insert",f):f()}if(c.length&&At(t,"postpatch",(function(){for(var r=0;r<c.length;r++)Fi(c[r],"componentUpdated",t,e)})),!o)for(r in s)l[r]||Fi(s[r],"unbind",e,e,a)}var Ii=Object.create(null);function ji(e,t){var r,n,i=Object.create(null);if(!e)return i;for(r=0;r<e.length;r++)n=e[r],n.modifiers||(n.modifiers=Ii),i[Ri(n)]=n,n.def=$e(t.$options,"directives",n.name,!0);return i}function Ri(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Fi(e,t,r,n,i){var o=e.def&&e.def[t];if(o)try{o(r.elm,e,r,n,i)}catch(_a){tt(_a,r.context,"directive "+e.name+" "+t+" hook")}}var Ni=[Ei,Bi];function zi(e,t){var r=t.componentOptions;if((!i(r)||!1!==r.Ctor.options.inheritAttrs)&&(!n(e.data.attrs)||!n(t.data.attrs))){var o,a,s,l=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(o in i(c.__ob__)&&(c=t.data.attrs=P({},c)),c)a=c[o],s=u[o],s!==a&&Ui(l,o,a);for(o in(ee||re)&&c.value!==u.value&&Ui(l,"value",c.value),u)n(c[o])&&(Kn(o)?l.removeAttributeNS(Wn,qn(o)):Un(o)||l.removeAttribute(o))}}function Ui(e,t,r){e.tagName.indexOf("-")>-1?Hi(e,t,r):Qn(t)?Gn(r)?e.removeAttribute(t):(r="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,r)):Un(t)?e.setAttribute(t,Vn(t,r)):Kn(t)?Gn(r)?e.removeAttributeNS(Wn,qn(t)):e.setAttributeNS(Wn,t,r):Hi(e,t,r)}function Hi(e,t,r){if(Gn(r))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==r&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var Vi={create:zi,update:zi};function Qi(e,t){var r=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=$n(t),l=r._transitionClasses;i(l)&&(s=Zn(s,Jn(l))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var Wi,Ki={create:Qi,update:Qi},qi="__r",Gi="__c";function $i(e){if(i(e[qi])){var t=ee?"change":"input";e[t]=[].concat(e[qi],e[t]||[]),delete e[qi]}i(e[Gi])&&(e.change=[].concat(e[Gi],e.change||[]),delete e[Gi])}function Yi(e,t,r){var n=Wi;return function i(){var o=t.apply(null,arguments);null!==o&&Ji(e,i,r,n)}}var Xi=at&&!(ie&&Number(ie[1])<=53);function Zi(e,t,r,n){if(Xi){var i=Kr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(e,t,ae?{capture:r,passive:n}:r)}function Ji(e,t,r,n){(n||Wi).removeEventListener(e,t._wrapper||t,r)}function eo(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};Wi=t.elm,$i(r),xt(r,i,Zi,Ji,Yi,t.context),Wi=void 0}}var to,ro={create:eo,update:eo};function no(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var r,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(r in i(l.__ob__)&&(l=t.data.domProps=P({},l)),s)r in l||(a[r]="");for(r in l){if(o=l[r],"textContent"===r||"innerHTML"===r){if(t.children&&(t.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===r&&ii(a.tagName)&&n(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML="<svg>"+o+"</svg>";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[r])try{a[r]=o}catch(_a){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var r=!0;try{r=document.activeElement!==e}catch(_a){}return r&&e.value!==t}function ao(e,t){var r=e.value,n=e._vModifiers;if(i(n)){if(n.number)return v(r)!==v(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}var so={create:no,update:no},lo=A((function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function uo(e){var t=co(e.style);return e.staticStyle?P(e.staticStyle,t):t}function co(e){return Array.isArray(e)?B(e):"string"===typeof e?lo(e):e}function fo(e,t){var r,n={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(r=uo(i.data))&&P(n,r)}(r=uo(e.data))&&P(n,r);var o=e;while(o=o.parent)o.data&&(r=uo(o.data))&&P(n,r);return n}var po,ho=/^--/,vo=/\s*!important$/,mo=function(e,t,r){if(ho.test(t))e.style.setProperty(t,r);else if(vo.test(r))e.style.setProperty(T(t),r.replace(vo,""),"important");else{var n=yo(t);if(Array.isArray(r))for(var i=0,o=r.length;i<o;i++)e.style[n]=r[i];else e.style[n]=r}},go=["Webkit","Moz","ms"],yo=A((function(e){if(po=po||document.createElement("div").style,e=_(e),"filter"!==e&&e in po)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<go.length;r++){var n=go[r]+t;if(n in po)return n}}));function bo(e,t){var r=t.data,o=e.data;if(!(n(r.staticStyle)&&n(r.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},f=u||c,p=co(t.data.style)||{};t.data.normalizedStyle=i(p.__ob__)?P({},p):p;var d=fo(t,!0);for(s in f)n(d[s])&&mo(l,s,"");for(s in d)a=d[s],a!==f[s]&&mo(l,s,null==a?"":a)}}var xo={create:bo,update:bo},Ao=/\s+/;function wo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ao).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var r=" "+(e.getAttribute("class")||"")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function _o(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ao).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var r=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";while(r.indexOf(n)>=0)r=r.replace(n," ");r=r.trim(),r?e.setAttribute("class",r):e.removeAttribute("class")}}function Eo(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&P(t,ko(e.name||"v")),P(t,e),t}return"string"===typeof e?ko(e):void 0}}var ko=A((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),To=Y&&!te,Co="transition",So="animation",Oo="transition",Mo="transitionend",Po="animation",Bo="animationend";To&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oo="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Po="WebkitAnimation",Bo="webkitAnimationEnd"));var Lo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Do(e){Lo((function(){Lo(e)}))}function Io(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),wo(e,t))}function jo(e,t){e._transitionClasses&&y(e._transitionClasses,t),_o(e,t)}function Ro(e,t,r){var n=No(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===Co?Mo:Bo,l=0,u=function(){e.removeEventListener(s,c),r()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),e.addEventListener(s,c)}var Fo=/\b(transform|all)(,|$)/;function No(e,t){var r,n=window.getComputedStyle(e),i=(n[Oo+"Delay"]||"").split(", "),o=(n[Oo+"Duration"]||"").split(", "),a=zo(i,o),s=(n[Po+"Delay"]||"").split(", "),l=(n[Po+"Duration"]||"").split(", "),u=zo(s,l),c=0,f=0;t===Co?a>0&&(r=Co,c=a,f=o.length):t===So?u>0&&(r=So,c=u,f=l.length):(c=Math.max(a,u),r=c>0?a>u?Co:So:null,f=r?r===Co?o.length:l.length:0);var p=r===Co&&Fo.test(n[Oo+"Property"]);return{type:r,timeout:c,propCount:f,hasTransform:p}}function zo(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,r){return Uo(t)+Uo(e[r])})))}function Uo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ho(e,t){var r=e.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var o=Eo(e.data.transition);if(!n(o)&&!i(r._enterCb)&&1===r.nodeType){var a=o.css,s=o.type,u=o.enterClass,c=o.enterToClass,f=o.enterActiveClass,p=o.appearClass,d=o.appearToClass,h=o.appearActiveClass,m=o.beforeEnter,g=o.enter,y=o.afterEnter,b=o.enterCancelled,x=o.beforeAppear,A=o.appear,w=o.afterAppear,_=o.appearCancelled,E=o.duration,k=Or,T=Or.$vnode;while(T&&T.parent)k=T.context,T=T.parent;var C=!k._isMounted||!e.isRootInsert;if(!C||A||""===A){var S=C&&p?p:u,O=C&&h?h:f,M=C&&d?d:c,P=C&&x||m,B=C&&"function"===typeof A?A:g,L=C&&w||y,D=C&&_||b,I=v(l(E)?E.enter:E);0;var j=!1!==a&&!te,R=Wo(B),N=r._enterCb=F((function(){j&&(jo(r,M),jo(r,O)),N.cancelled?(j&&jo(r,S),D&&D(r)):L&&L(r),r._enterCb=null}));e.data.show||At(e,"insert",(function(){var t=r.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),B&&B(r,N)})),P&&P(r),j&&(Io(r,S),Io(r,O),Do((function(){jo(r,S),N.cancelled||(Io(r,M),R||(Qo(I)?setTimeout(N,I):Ro(r,s,N)))}))),e.data.show&&(t&&t(),B&&B(r,N)),j||R||N()}}}function Vo(e,t){var r=e.elm;i(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var o=Eo(e.data.transition);if(n(o)||1!==r.nodeType)return t();if(!i(r._leaveCb)){var a=o.css,s=o.type,u=o.leaveClass,c=o.leaveToClass,f=o.leaveActiveClass,p=o.beforeLeave,d=o.leave,h=o.afterLeave,m=o.leaveCancelled,g=o.delayLeave,y=o.duration,b=!1!==a&&!te,x=Wo(d),A=v(l(y)?y.leave:y);0;var w=r._leaveCb=F((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),b&&(jo(r,c),jo(r,f)),w.cancelled?(b&&jo(r,u),m&&m(r)):(t(),h&&h(r)),r._leaveCb=null}));g?g(_):_()}function _(){w.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),p&&p(r),b&&(Io(r,u),Io(r,f),Do((function(){jo(r,u),w.cancelled||(Io(r,c),x||(Qo(A)?setTimeout(w,A):Ro(r,s,w)))}))),d&&d(r,w),b||x||w())}}function Qo(e){return"number"===typeof e&&!isNaN(e)}function Wo(e){if(n(e))return!1;var t=e.fns;return i(t)?Wo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ko(e,t){!0!==t.data.show&&Ho(t)}var qo=Y?{create:Ko,activate:Ko,remove:function(e,t){!0!==e.data.show?Vo(e,t):t()}}:{},Go=[Vi,Ki,ro,so,xo,qo],$o=Go.concat(Ni),Yo=Pi({nodeOps:_i,modules:$o});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Xo={inserted:function(e,t,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?At(r,"postpatch",(function(){Xo.componentUpdated(e,t,r)})):Zo(e,t,r.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===r.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ra),e.addEventListener("compositionend",na),e.addEventListener("change",na),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,r){if("select"===r.tag){Zo(e,t,r.context);var n=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!j(e,n[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Zo(e,t,r){Jo(e,t,r),(ee||re)&&setTimeout((function(){Jo(e,t,r)}),0)}function Jo(e,t,r){var n=t.value,i=e.multiple;if(!i||Array.isArray(n)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=R(n,ta(a))>-1,a.selected!==o&&(a.selected=o);else if(j(ta(a),n))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!j(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function ra(e){e.target.composing=!0}function na(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,r){var n=t.value;r=oa(r);var i=r.data&&r.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(r.data.show=!0,Ho(r,(function(){e.style.display=o}))):e.style.display=n?o:"none"},update:function(e,t,r){var n=t.value,i=t.oldValue;if(!n!==!i){r=oa(r);var o=r.data&&r.data.transition;o?(r.data.show=!0,n?Ho(r,(function(){e.style.display=e.__vOriginalDisplay})):Vo(r,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none"}},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Xo,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ua(wr(t.children)):e}function ca(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var o in i)t[_(o)]=i[o];return t}function fa(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function pa(e){while(e=e.parent)if(e.data.transition)return!0}function da(e,t){return t.key===e.key&&t.tag===e.tag}var ha=function(e){return e.tag||Ar(e)},va=function(e){return"show"===e.name},ma={name:"transition",props:la,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(ha),r.length)){0;var n=this.mode;0;var i=r[0];if(pa(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return fa(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(va)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!Ar(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var f=c.data.transition=P({},l);if("out-in"===n)return this._leaving=!0,At(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),fa(e,i);if("in-out"===n){if(Ar(o))return u;var p,d=function(){p()};At(l,"afterEnter",d),At(l,"enterCancelled",d),At(f,"delayLeave",(function(e){p=e}))}}return i}}},ga=P({tag:String,moveClass:String},la);delete ga.mode;var ya={props:ga,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=Mr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),r[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(n){for(var u=[],c=[],f=0;f<n.length;f++){var p=n[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),r[p.key]?u.push(p):c.push(p)}this.kept=e(t,null,u),this.removed=c}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ba),e.forEach(xa),e.forEach(Aa),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var r=e.elm,n=r.style;Io(r,t),n.transform=n.WebkitTransform=n.transitionDuration="",r.addEventListener(Mo,r._moveCb=function e(n){n&&n.target!==r||n&&!/transform$/.test(n.propertyName)||(r.removeEventListener(Mo,e),r._moveCb=null,jo(r,t))})}})))},methods:{hasMove:function(e,t){if(!To)return!1;if(this._hasMove)return this._hasMove;var r=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){_o(r,e)})),wo(r,t),r.style.display="none",this.$el.appendChild(r);var n=No(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function ba(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function xa(e){e.data.newPos=e.elm.getBoundingClientRect()}function Aa(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+n+"px,"+i+"px)",o.transitionDuration="0s"}}var wa={Transition:ma,TransitionGroup:ya};_n.config.mustUseProp=zn,_n.config.isReservedTag=oi,_n.config.isReservedAttr=Fn,_n.config.getTagNamespace=ai,_n.config.isUnknownElement=li,P(_n.options.directives,sa),P(_n.options.components,wa),_n.prototype.__patch__=Y?Yo:L,_n.prototype.$mount=function(e,t){return e=e&&Y?ci(e):void 0,Lr(this,e,t)},Y&&setTimeout((function(){H.devtools&&ue&&ue.emit("init",_n)}),0),t["default"]=_n}.call(this,r("c8ba"))},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),o=r("83ab"),a=r("0d3b"),s=r("da84"),l=r("37e8"),u=r("6eeb"),c=r("19aa"),f=r("5135"),p=r("60da"),d=r("4df4"),h=r("6547").codeAt,v=r("5fb2"),m=r("d44e"),g=r("9861"),y=r("69f3"),b=s.URL,x=g.URLSearchParams,A=g.getState,w=y.set,_=y.getterFor("URL"),E=Math.floor,k=Math.pow,T="Invalid authority",C="Invalid scheme",S="Invalid host",O="Invalid port",M=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,B=/\d/,L=/^(0x|0X)/,D=/^[0-7]+$/,I=/^\d+$/,j=/^[\dA-Fa-f]+$/,R=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,z=/[\u0009\u000A\u000D]/g,U=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return S;if(r=V(t.slice(1,-1)),!r)return S;e.host=r}else if(Z(e)){if(t=v(t),R.test(t))return S;if(r=H(t),null===r)return S;e.host=r}else{if(F.test(t))return S;for(r="",n=d(t),i=0;i<n.length;i++)r+=Y(n[i],K);e.host=r}},H=function(e){var t,r,n,i,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),t=l.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=l[n],""==i)return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=L.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?I:8==o?D:j).test(i))return e;a=parseInt(i,o)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*k(256,3-n);return s},V=function(e){var t,r,n,i,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,u++,c=u}while(p()){if(8==u)return;if(":"!=p()){t=r=0;while(r<4&&j.test(p()))t=16*t+parseInt(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;n=0;while(p()){if(i=null,n>0){if(!("."==p()&&n<4))return;f++}if(!B.test(p()))return;while(B.test(p())){if(o=parseInt(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}l[u]=256*l[u]+i,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;l[u++]=t}else{if(null!==c)return;f++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s}else if(8!=u)return;return l},Q=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t},W=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=E(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=Q(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},K={},q=p({},K,{" ":1,'"':1,"<":1,">":1,"`":1}),G=p({},q,{"#":1,"?":1,"{":1,"}":1}),$=p({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var r=h(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return f(X,e.scheme)},J=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&M.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},le={},ue={},ce={},fe={},pe={},de={},he={},ve={},me={},ge={},ye={},be={},xe={},Ae={},we={},_e={},Ee={},ke={},Te={},Ce=function(e,t,r,i){var o,a,s,l,u=r||ae,c=0,p="",h=!1,v=!1,m=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(N,"")),t=t.replace(z,""),o=d(t);while(c<=o.length){switch(a=o[c],u){case ae:if(!a||!M.test(a)){if(r)return C;u=le;continue}p+=a.toLowerCase(),u=se;break;case se:if(a&&(P.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(r)return C;p="",u=le,c=0;continue}if(r&&(Z(e)!=f(X,p)||"file"==p&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Z(e)&&X[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?u=be:Z(e)&&i&&i.scheme==e.scheme?u=ue:Z(e)?u=de:"/"==o[c+1]?(u=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=Ee)}break;case le:if(!i||i.cannotBeABaseURL&&"#"!=a)return C;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Te;break}u="file"==i.scheme?be:fe;continue;case ue:if("/"!=a||"/"!=o[c+1]){u=fe;continue}u=he,c++;break;case ce:if("/"==a){u=ve;break}u=_e;continue;case fe:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))u=pe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=_e;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Te}break;case pe:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=_e;continue}u=ve}else u=he;break;case de:if(u=he,"/"!=a||"/"!=p.charAt(c+1))continue;c++;break;case he:if("/"!=a&&"\\"!=a){u=ve;continue}break;case ve:if("@"==a){h&&(p="%40"+p),h=!0,s=d(p);for(var g=0;g<s.length;g++){var y=s[g];if(":"!=y||m){var b=Y(y,$);m?e.password+=b:e.username+=b}else m=!0}p=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(h&&""==p)return T;c-=d(p).length+1,p="",u=me}else p+=a;break;case me:case ge:if(r&&"file"==e.scheme){u=Ae;continue}if(":"!=a||v){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==p)return S;if(r&&""==p&&(J(e)||null!==e.port))return;if(l=U(e,p),l)return l;if(p="",u=we,r)return;continue}"["==a?v=!0:"]"==a&&(v=!1),p+=a}else{if(""==p)return S;if(l=U(e,p),l)return l;if(p="",u=ye,r==ge)return}break;case ye:if(!B.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||r){if(""!=p){var x=parseInt(p,10);if(x>65535)return O;e.port=Z(e)&&x===X[e.scheme]?null:x,p=""}if(r)return;u=we;continue}return O}p+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=xe;else{if(!i||"file"!=i.scheme){u=_e;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){re(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),ne(e)),u=_e;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Te}}break;case xe:if("/"==a||"\\"==a){u=Ae;break}i&&"file"==i.scheme&&!re(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=_e;continue;case Ae:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(p))u=_e;else if(""==p){if(e.host="",r)return;u=we}else{if(l=U(e,p),l)return l;if("localhost"==e.host&&(e.host=""),r)return;p="",u=we}continue}p+=a;break;case we:if(Z(e)){if(u=_e,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=_e,"/"!=a))continue}else e.fragment="",u=Te;else e.query="",u=ke;break;case _e:if(a==n||"/"==a||"\\"==a&&Z(e)||!r&&("?"==a||"#"==a)){if(oe(p)?(ne(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(p)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==n||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=ke):"#"==a&&(e.fragment="",u=Te)}else p+=Y(a,G);break;case Ee:"?"==a?(e.query="",u=ke):"#"==a?(e.fragment="",u=Te):a!=n&&(e.path[0]+=Y(a,K));break;case ke:r||"#"!=a?a!=n&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,K)):(e.fragment="",u=Te);break;case Te:a!=n&&(e.fragment+=Y(a,q));break}c++}},Se=function(e){var t,r,n=c(this,Se,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=w(n,{type:"URL"});if(void 0!==i)if(i instanceof Se)t=_(i);else if(r=Ce(t={},String(i)),r)throw TypeError(r);if(r=Ce(s,a,null,t),r)throw TypeError(r);var l=s.searchParams=new x,u=A(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(n.href=Me.call(n),n.origin=Pe.call(n),n.protocol=Be.call(n),n.username=Le.call(n),n.password=De.call(n),n.host=Ie.call(n),n.hostname=je.call(n),n.port=Re.call(n),n.pathname=Fe.call(n),n.search=Ne.call(n),n.searchParams=ze.call(n),n.hash=Ue.call(n))},Oe=Se.prototype,Me=function(){var e=_(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==i?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=W(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Pe=function(){var e=_(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Z(e)?t+"://"+W(e.host)+(null!==r?":"+r:""):"null"},Be=function(){return _(this).scheme+":"},Le=function(){return _(this).username},De=function(){return _(this).password},Ie=function(){var e=_(this),t=e.host,r=e.port;return null===t?"":null===r?W(t):W(t)+":"+r},je=function(){var e=_(this).host;return null===e?"":W(e)},Re=function(){var e=_(this).port;return null===e?"":String(e)},Fe=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=_(this).query;return e?"?"+e:""},ze=function(){return _(this).searchParams},Ue=function(){var e=_(this).fragment;return e?"#"+e:""},He=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(Oe,{href:He(Me,(function(e){var t=_(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);A(t.searchParams).updateSearchParams(t.query)})),origin:He(Pe),protocol:He(Be,(function(e){var t=_(this);Ce(t,String(e)+":",ae)})),username:He(Le,(function(e){var t=_(this),r=d(String(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Y(r[n],$)}})),password:He(De,(function(e){var t=_(this),r=d(String(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Y(r[n],$)}})),host:He(Ie,(function(e){var t=_(this);t.cannotBeABaseURL||Ce(t,String(e),me)})),hostname:He(je,(function(e){var t=_(this);t.cannotBeABaseURL||Ce(t,String(e),ge)})),port:He(Re,(function(e){var t=_(this);ee(t)||(e=String(e),""==e?t.port=null:Ce(t,e,ye))})),pathname:He(Fe,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",we))})),search:He(Ne,(function(e){var t=_(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,ke)),A(t.searchParams).updateSearchParams(t.query)})),searchParams:He(ze),hash:He(Ue,(function(e){var t=_(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,Te)):t.fragment=null}))}),u(Oe,"toJSON",(function(){return Me.call(this)}),{enumerable:!0}),u(Oe,"toString",(function(){return Me.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,Qe=b.revokeObjectURL;Ve&&u(Se,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),Qe&&u(Se,"revokeObjectURL",(function(e){return Qe.apply(b,arguments)}))}m(Se,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Se})},"2b3e":function(e,t,r){var n=r("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},"2b80":function(e,t,r){var n;
|
||
/*!
|
||
* UAParser.js v0.7.22
|
||
* Lightweight JavaScript-based User-Agent string parser
|
||
* https://github.com/faisalman/ua-parser-js
|
||
*
|
||
* Copyright © 2012-2019 Faisal Salman <f@faisalman.com>
|
||
* Licensed under MIT License
|
||
*/(function(i,o){"use strict";var a="0.7.22",s="",l="?",u="function",c="undefined",f="object",p="string",d="major",h="model",v="name",m="type",g="vendor",y="version",b="architecture",x="console",A="mobile",w="tablet",_="smarttv",E="wearable",k="embedded",T={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2===0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return"string"===typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===p?e.replace(/[^\d\.]/g,"").split(".")[0]:o},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},C={rgx:function(e,t){var r,n,i,a,s,l,c=0;while(c<t.length&&!s){var p=t[c],d=t[c+1];r=n=0;while(r<p.length&&!s)if(s=p[r++].exec(e),s)for(i=0;i<d.length;i++)l=s[++n],a=d[i],typeof a===f&&a.length>0?2==a.length?typeof a[1]==u?this[a[0]]=a[1].call(this,l):this[a[0]]=a[1]:3==a.length?typeof a[1]!==u||a[1].exec&&a[1].test?this[a[0]]=l?l.replace(a[1],a[2]):o:this[a[0]]=l?a[1].call(this,l,a[2]):o:4==a.length&&(this[a[0]]=l?a[3].call(this,l.replace(a[1],a[2])):o):this[a]=l||o;c+=2}},str:function(e,t){for(var r in t)if(typeof t[r]===f&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(T.has(t[r][n],e))return r===l?o:r}else if(T.has(t[r],e))return r===l?o:r;return e}},S={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},O={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[v,y],[/(opios)[\/\s]+([\w\.]+)/i],[[v,"Opera Mini"],y],[/\s(opr)\/([\w\.]+)/i],[[v,"Opera"],y],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[v,y],[/(konqueror)\/([\w\.]+)/i],[[v,"Konqueror"],y],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[v,"IE"],y],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[v,"Edge"],y],[/(yabrowser)\/([\w\.]+)/i],[[v,"Yandex"],y],[/(Avast)\/([\w\.]+)/i],[[v,"Avast Secure Browser"],y],[/(AVG)\/([\w\.]+)/i],[[v,"AVG Secure Browser"],y],[/(puffin)\/([\w\.]+)/i],[[v,"Puffin"],y],[/(focus)\/([\w\.]+)/i],[[v,"Firefox Focus"],y],[/(opt)\/([\w\.]+)/i],[[v,"Opera Touch"],y],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[v,"UCBrowser"],y],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],y],[/(windowswechat qbcore)\/([\w\.]+)/i],[[v,"WeChat(Win) Desktop"],y],[/(micromessenger)\/([\w\.]+)/i],[[v,"WeChat"],y],[/(brave)\/([\w\.]+)/i],[[v,"Brave"],y],[/(qqbrowserlite)\/([\w\.]+)/i],[v,y],[/(QQ)\/([\d\.]+)/i],[v,y],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[v,y],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[v,y],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[v,y],[/(MetaSr)[\/\s]?([\w\.]+)/i],[v],[/(LBBROWSER)/i],[v],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[y,[v,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[y,[v,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[v,y],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[y,[v,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[v,/(.+)/,"$1 WebView"],y],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[v,/(.+(?:g|us))(.+)/,"$1 $2"],y],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[y,[v,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[v,"Sailfish Browser"],y],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[v,y],[/(dolfin)\/([\w\.]+)/i],[[v,"Dolphin"],y],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[v,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[v,"Chrome"],y],[/(coast)\/([\w\.]+)/i],[[v,"Opera Coast"],y],[/fxios\/([\w\.-]+)/i],[y,[v,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[y,[v,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[y,v],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[v,"GSA"],y],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[v,[y,C.str,S.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[v,y],[/(navigator|netscape)\/([\w\.-]+)/i],[[v,"Netscape"],y],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[v,y]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,T.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[b,/ower/,"",T.lowerize]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[b,T.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[h,g,[m,w]],[/applecoremedia\/[\w\.]+ \((ipad)/],[h,[g,"Apple"],[m,w]],[/(apple\s{0,1}tv)/i],[[h,"Apple TV"],[g,"Apple"],[m,_]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[g,h,[m,w]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[h,[g,"Amazon"],[m,w]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[h,C.str,S.device.amazon.model],[g,"Amazon"],[m,A]],[/android.+aft([bms])\sbuild/i],[h,[g,"Amazon"],[m,_]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[h,g,[m,A]],[/\((ip[honed|\s\w*]+);/i],[h,[g,"Apple"],[m,A]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[g,h,[m,A]],[/\(bb10;\s(\w+)/i],[h,[g,"BlackBerry"],[m,A]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[h,[g,"Asus"],[m,w]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[g,"Sony"],[h,"Xperia Tablet"],[m,w]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[g,"Sony"],[m,A]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[g,h,[m,x]],[/android.+;\s(shield)\sbuild/i],[h,[g,"Nvidia"],[m,x]],[/(playstation\s[34portablevi]+)/i],[h,[g,"Sony"],[m,x]],[/(sprint\s(\w+))/i],[[g,C.str,S.device.sprint.vendor],[h,C.str,S.device.sprint.model],[m,A]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[g,[h,/_/g," "],[m,A]],[/(nexus\s9)/i],[h,[g,"HTC"],[m,w]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29|ele-l29)/i],[h,[g,"Huawei"],[m,A]],[/android.+(bah2?-a?[lw]\d{2})/i],[h,[g,"Huawei"],[m,w]],[/(microsoft);\s(lumia[\s\w]+)/i],[g,h,[m,A]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[h,[g,"Microsoft"],[m,x]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[g,"Microsoft"],[m,A]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[h,[g,"Motorola"],[m,A]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[h,[g,"Motorola"],[m,w]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[g,T.trim],[h,T.trim],[m,_]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[g,"Samsung"],[m,_]],[/\(dtv[\);].+(aquos)/i],[h,[g,"Sharp"],[m,_]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[g,"Samsung"],h,[m,w]],[/smart-tv.+(samsung)/i],[g,[m,_],h],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[g,"Samsung"],h,[m,A]],[/sie-(\w*)/i],[h,[g,"Siemens"],[m,A]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[g,"Nokia"],h,[m,A]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[h,[g,"Acer"],[m,w]],[/android.+([vl]k\-?\d{3})\s+build/i],[h,[g,"LG"],[m,w]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[g,"LG"],h,[m,w]],[/(lg) netcast\.tv/i],[g,h,[m,_]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[h,[g,"LG"],[m,A]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[g,h,[m,w]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[h,[g,"Lenovo"],[m,w]],[/(lenovo)[_\s-]?([\w-]+)/i],[g,h,[m,A]],[/linux;.+((jolla));/i],[g,h,[m,A]],[/((pebble))app\/[\d\.]+\s/i],[g,h,[m,E]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[g,h,[m,A]],[/crkey/i],[[h,"Chromecast"],[g,"Google"],[m,_]],[/android.+;\s(glass)\s\d/i],[h,[g,"Google"],[m,E]],[/android.+;\s(pixel c)[\s)]/i],[h,[g,"Google"],[m,w]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[h,[g,"Google"],[m,A]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]?[\w\s]+))\s+build/i],[[h,/_/g," "],[g,"Xiaomi"],[m,A]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]?[\w\s]+))\s+build/i],[[h,/_/g," "],[g,"Xiaomi"],[m,w]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[h,[g,"Meizu"],[m,A]],[/(mz)-([\w-]{2,})/i],[[g,"Meizu"],h,[m,A]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[h,[g,"OnePlus"],[m,A]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[h,[g,"RCA"],[m,w]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[h,[g,"Dell"],[m,w]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[h,[g,"Verizon"],[m,w]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[g,"Barnes & Noble"],h,[m,w]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[h,[g,"NuVision"],[m,w]],[/android.+;\s(k88)\sbuild/i],[h,[g,"ZTE"],[m,w]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[h,[g,"Swiss"],[m,A]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[h,[g,"Swiss"],[m,w]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[h,[g,"Zeki"],[m,w]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[g,"Dragon Touch"],h,[m,w]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[h,[g,"Insignia"],[m,w]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[h,[g,"NextBook"],[m,w]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[g,"Voice"],h,[m,A]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[g,"LvTel"],h,[m,A]],[/android.+;\s(PH-1)\s/i],[h,[g,"Essential"],[m,A]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[h,[g,"Envizen"],[m,w]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[g,h,[m,w]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[h,[g,"MachSpeed"],[m,w]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[g,h,[m,w]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[h,[g,"Rotor"],[m,w]],[/android.+(KS(.+))\s+build/i],[h,[g,"Amazon"],[m,w]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[g,h,[m,w]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[m,T.lowerize],g,h],[/[\s\/\(](smart-?tv)[;\)]/i],[[m,_]],[/(android[\w\.\s\-]{0,9});.+build/i],[h,[g,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[y,[v,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[v,y],[/rv\:([\w\.]{1,9}).+(gecko)/i],[y,v]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[v,y],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[v,[y,C.str,S.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[v,"Windows"],[y,C.str,S.os.windows.version]],[/\((bb)(10);/i],[[v,"BlackBerry"],y],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[v,y],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[v,"Symbian"],y],[/\((series40);/i],[v],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[v,"Firefox OS"],y],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[v,y],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[v,"Chromium OS"],y],[/(sunos)\s?([\w\.\d]*)/i],[[v,"Solaris"],y],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[v,y],[/(haiku)\s(\w+)/i],[v,y],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[y,/_/g,"."],[v,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[v,"Mac OS"],[y,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[v,y]]},M=function(e,t){if("object"===typeof e&&(t=e,e=o),!(this instanceof M))return new M(e,t).getResult();var r=e||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:s),n=t?T.extend(O,t):O;return this.getBrowser=function(){var e={name:o,version:o};return C.rgx.call(e,r,n.browser),e.major=T.major(e.version),e},this.getCPU=function(){var e={architecture:o};return C.rgx.call(e,r,n.cpu),e},this.getDevice=function(){var e={vendor:o,model:o,type:o};return C.rgx.call(e,r,n.device),e},this.getEngine=function(){var e={name:o,version:o};return C.rgx.call(e,r,n.engine),e},this.getOS=function(){var e={name:o,version:o};return C.rgx.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=e,this},this};M.VERSION=a,M.BROWSER={NAME:v,MAJOR:d,VERSION:y},M.CPU={ARCHITECTURE:b},M.DEVICE={MODEL:h,VENDOR:g,TYPE:m,CONSOLE:x,MOBILE:A,SMARTTV:_,TABLET:w,WEARABLE:E,EMBEDDED:k},M.ENGINE={NAME:v,VERSION:y},M.OS={NAME:v,VERSION:y},typeof t!==c?(typeof e!==c&&e.exports&&(t=e.exports=M),t.UAParser=M):(n=function(){return M}.call(t,r,t,e),n===o||(e.exports=n));var P=i&&(i.jQuery||i.Zepto);if(P&&!P.ua){var B=new M;P.ua=B.getResult(),P.ua.get=function(){return B.getUA()},P.ua.set=function(e){B.setUA(e);var t=B.getResult();for(var r in t)P.ua[r]=t[r]}}})("object"===typeof window?window:this)},"2bc4":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15,7H20.5L15,1.5V7M8,0H16L22,6V18C22,19.1 21.1,20 20,20H8C6.89,20 6,19.1 6,18V2C6,0.9 6.9,0 8,0M4,4V22H20V24H4C2.9,24 2,23.1 2,22V4H4Z"}))};e.exports=s},"2c23":function(e,t,r){"use strict";function n(e){function t(e,n,l,u,c){for(var d,h,v,m,g,A=0,_=0,E=0,k=0,T=0,C=0,L=v=d=0,I=0,R=0,F=0,N=0,z=l.length,U=z-1,H="",V="",Q="",W="";I<z;){if(h=l.charCodeAt(I),I===U&&0!==_+k+E+A&&(0!==_&&(h=47===_?10:47),k=E=A=0,z++,U++),0===_+k+E+A){if(I===U&&(0<R&&(H=H.replace(p,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(I)}h=59}switch(h){case 123:for(H=H.trim(),d=H.charCodeAt(0),v=1,N=++I;I<z;){switch(h=l.charCodeAt(I)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(I+1)){case 42:case 47:e:{for(L=I+1;L<U;++L)switch(l.charCodeAt(L)){case 47:if(42===h&&42===l.charCodeAt(L-1)&&I+2!==L){I=L+1;break e}break;case 10:if(47===h){I=L+1;break e}}I=L}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&l.charCodeAt(I)!==h;);}if(0===v)break;I++}switch(v=l.substring(N,I),0===d&&(d=(H=H.replace(f,"").trim()).charCodeAt(0)),d){case 64:switch(0<R&&(H=H.replace(p,"")),h=H.charCodeAt(1),h){case 100:case 109:case 115:case 45:R=n;break;default:R=B}if(v=t(n,R,v,h,c+1),N=v.length,0<D&&(R=r(B,H,F),g=s(3,v,R,n,O,S,N,h,c,u),H=R.join(""),void 0!==g&&0===(N=(v=g.trim()).length)&&(h=0,v="")),0<N)switch(h){case 115:H=H.replace(w,a);case 100:case 109:case 45:v=H+"{"+v+"}";break;case 107:H=H.replace(y,"$1 $2"),v=H+"{"+v+"}",v=1===P||2===P&&o("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=H+v,112===u&&(V+=v,v="")}else v="";break;default:v=t(n,r(n,H,F),v,u,c+1)}Q+=v,v=F=R=L=d=0,H="",h=l.charCodeAt(++I);break;case 125:case 59:if(H=(0<R?H.replace(p,""):H).trim(),1<(N=H.length))switch(0===L&&(d=H.charCodeAt(0),45===d||96<d&&123>d)&&(N=(H=H.replace(" ",":")).length),0<D&&void 0!==(g=s(1,H,n,e,O,S,V.length,u,c,u))&&0===(N=(H=g.trim()).length)&&(H="\0\0"),d=H.charCodeAt(0),h=H.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){W+=H+l.charAt(I);break}default:58!==H.charCodeAt(N-1)&&(V+=i(H,d,h,H.charCodeAt(2)))}F=R=L=d=0,H="",h=l.charCodeAt(++I)}}switch(h){case 13:case 10:47===_?_=0:0===1+d&&107!==u&&0<H.length&&(R=1,H+="\0"),0<D*j&&s(0,H,n,e,O,S,V.length,u,c,u),S=1,O++;break;case 59:case 125:if(0===_+k+E+A){S++;break}default:switch(S++,m=l.charAt(I),h){case 9:case 32:if(0===k+A+_)switch(T){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===k+_+A&&(R=F=1,m="\f"+m);break;case 108:if(0===k+_+A+M&&0<L)switch(I-L){case 2:112===T&&58===l.charCodeAt(I-3)&&(M=T);case 8:111===C&&(M=C)}break;case 58:0===k+_+A&&(L=I);break;case 44:0===_+E+k+A&&(R=1,m+="\r");break;case 34:case 39:0===_&&(k=k===h?0:0===k?h:k);break;case 91:0===k+_+E&&A++;break;case 93:0===k+_+E&&A--;break;case 41:0===k+_+A&&E--;break;case 40:if(0===k+_+A){if(0===d)switch(2*T+3*C){case 533:break;default:d=1}E++}break;case 64:0===_+E+k+A+L+v&&(v=1);break;case 42:case 47:if(!(0<k+A+E))switch(_){case 0:switch(2*h+3*l.charCodeAt(I+1)){case 235:_=47;break;case 220:N=I,_=42}break;case 42:47===h&&42===T&&N+2!==I&&(33===l.charCodeAt(N+2)&&(V+=l.substring(N,I+1)),m="",_=0)}}0===_&&(H+=m)}C=T,T=h,I++}if(N=V.length,0<N){if(R=n,0<D&&(g=s(2,V,R,e,O,S,N,u,c,u),void 0!==g&&0===(V=g).length))return W+V+Q;if(V=R.join(",")+"{"+V+"}",0!==P*M){switch(2!==P||o(V,2)||(M=0),M){case 111:V=V.replace(x,":-moz-$1")+V;break;case 112:V=V.replace(b,"::-webkit-input-$1")+V.replace(b,"::-moz-$1")+V.replace(b,":-ms-input-$1")+V}M=0}}return W+V+Q}function r(e,t,r){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=n(e[u]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===P||2===P&&o(l,1)?"-webkit-"+l+l:l}if(0===P||2===P&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+l+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(l=a.substring(13).trim(),t=l.indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(A,"tb");break;case 232:l=a.replace(A,"tb-rl");break;case 220:l=a.replace(A,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim(),s=l.charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===T.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(v,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,l,u){for(var f,p=0,d=t;p<D;++p)switch(f=L[p].call(c,e,d,r,n,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function l(e){switch(e){case void 0:case null:D=L.length=0;break;default:if("function"===typeof e)L[D++]=e;else if("object"===typeof e)for(var t=0,r=e.length;t<r;++t)l(e[t]);else j=0|!!e}return l}function u(e){return e=e.prefix,void 0!==e&&(I=null,e?"function"!==typeof e?P=1:(P=2,I=e):P=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),R=n,n=[R],0<D){var i=s(-1,r,n,n,O,S,0,0,0,0);void 0!==i&&"string"===typeof i&&(r=i)}var o=t(B,n,r,0,0);return 0<D&&(i=s(-2,o,n,n,O,S,o.length,0,0,0),void 0!==i&&(o=i)),R="",M=0,S=O=1,o}var f=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,h=/zoo|gra/,v=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,x=/:(read-only)/g,A=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,E=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,S=1,O=1,M=0,P=1,B=[],L=[],D=0,I=null,j=0,R="";return c.use=l,c.set=u,void 0!==e&&u(e),c}t["a"]=n},"2c66":function(e,t,r){e.exports=r("2456")},"2c8d":function(e,t,r){"use strict";(function(t){var n,i=r("dcf3");n="function"===typeof t.matchMedia?!t.matchMedia("(hover: none)").matches:i,e.exports=n}).call(this,r("c8ba"))},"2ca0":function(e,t,r){"use strict";var n=r("23e7"),i=r("06cf").f,o=r("50c4"),a=r("5a34"),s=r("1d80"),l=r("ab13"),u=r("c430"),c="".startsWith,f=Math.min,p=l("startsWith"),d=!u&&!p&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!d&&!p},{startsWith:function(e){var t=String(s(this));a(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return c?c.call(t,n,r):t.slice(r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,i,o,a=r("da84"),s=r("d039"),l=r("c6b6"),u=r("0366"),c=r("1be4"),f=r("cc12"),p=r("1cdc"),d=a.location,h=a.setImmediate,v=a.clearImmediate,m=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,x={},A="onreadystatechange",w=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},_=function(e){return function(){w(e)}},E=function(e){w(e.data)},k=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return x[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete x[e]},"process"==l(m)?n=function(e){m.nextTick(_(e))}:y&&y.now?n=function(e){y.now(_(e))}:g&&!p?(i=new g,o=i.port2,i.port1.onmessage=E,n=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(k)||"file:"===d.protocol?n=A in f("script")?function(e){c.appendChild(f("script"))[A]=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(_(e),0)}:(n=k,a.addEventListener("message",E,!1))),e.exports={set:h,clear:v}},"2d00":function(e,t,r){var n,i,o=r("da84"),a=r("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(n=u.split("."),i=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=n[1]))),e.exports=i&&+i},"2d0e":function(e,t,r){"use strict";var n=r("fc26"),i=.01,o=[[-1,0],[1,0],[0,-1],[0,1]];function a(e){return.5-.25*Math.min(1,.5*e)}function s(e,t,r){var n,i,a,s,l,u,c,f,p,d,h,v,m,g=0;for(s=0;s<t.length;s++){for(n=t[s],i=n[0],a=n[1],h=e[i][a],d=0,p=0,l=0;l<4;l++)u=o[l],c=e[i+u[0]],c&&(f=c[a+u[1]],void 0!==f&&(0===d?v=m=f:(v=Math.min(v,f),m=Math.max(m,f)),p++,d+=f));if(0===p)throw"iterateInterp2d order is wrong: no defined neighbors";e[i][a]=d/p,void 0===h?p<4&&(g=1):(e[i][a]=(1+r)*e[i][a]-r*h,m>v&&(g=Math.max(g,Math.abs(e[i][a]-h)/(m-v))))}return g}e.exports=function(e,t){var r,o=1;for(s(e,t),r=0;r<t.length;r++)if(t[r][2]<4)break;for(t=t.slice(r),r=0;r<100&&o>i;r++)o=s(e,t,a(o));return o>i&&n.log("interp2d didn't converge quickly",o),e}},"2d12":function(e,t,r){"use strict";e.exports=r("08ed")},"2d1c":function(e,t){function r(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}e.exports=r},"2d47":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,3H21V5H3V3M7,7H17V9H7V7M3,11H21V13H3V11M7,15H17V17H7V15M3,19H21V21H3V19Z"}))};e.exports=s},"2d7c":function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length,i=0,o=[];while(++r<n){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}e.exports=r},"2d7d":function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}function a(e,t){return e-t*Math.floor(e/t)}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Persian",jdEpoch:1948320.5,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);return 682*((t.year()-(t.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-(n.dayOfWeek()+1)%7,"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return 5!==this.dayOfWeek(e,t,r)},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);e=i.year(),t=i.month(),r=i.day();var o=e-(e>=0?474:473),s=474+a(o,2820);return r+(t<=7?31*(t-1):30*(t-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(o/2820)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e)+.5;var t=e-this.toJD(475,1,1),r=Math.floor(t/1029983),n=a(t,1029983),i=2820;if(1029982!==n){var o=Math.floor(n/366),s=a(n,366);i=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var l=i+2820*r+474;l=l<=0?l-1:l;var u=e-this.toJD(l,1,1)+1,c=u<=186?Math.ceil(u/31):Math.ceil((u-6)/30),f=e-this.toJD(l,c,1)+1;return this.newDate(l,c,f)}}),n.calendars.persian=o,n.calendars.jalali=o},"2d9a":function(e,t,r){"use strict";var n=r("fc26"),i=n.isPlainObject,o=r("6921"),a=r("bb71"),s=r("a876"),l=r("a651"),u=r("3ff5").dfltConfig;function c(e,t){e=n.extendDeep({},e);var r,o,a=Object.keys(e).sort();function s(t,r,n){if(i(r)&&i(t))c(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var a=l.arrayTemplater({_template:e},n);for(o=0;o<r.length;o++){var s=r[o],u=a.newItem(s)._template;u&&c(u,s)}var f=a.defaultItems();for(o=0;o<f.length;o++)r.push(f[o]._template);for(o=0;o<r.length;o++)delete r[o].templateitemname}}for(r=0;r<a.length;r++){var u=a[r],p=e[u];if(u in t?s(p,t[u],u):t[u]=p,f(u)===u)for(var d in t){var h=f(d);d===h||h!==u||d in e||s(p,t[d],u)}}}function f(e){return e.replace(/[0-9]+$/,"")}function p(e,t,r,o,a){var s=a&&r(a);for(var u in e){var c=e[u],d=v(e,u,o),h=v(e,u,a),m=r(h);if(!m){var g=f(u);g!==u&&(h=v(e,g,a),m=r(h))}if((!s||s!==m)&&!(!m||m._noTemplating||"data_array"===m.valType||m.arrayOk&&Array.isArray(c)))if(!m.valType&&i(c))p(c,t,r,d,h);else if(m._isLinkedToArray&&Array.isArray(c))for(var y=!1,b=0,x={},A=0;A<c.length;A++){var w=c[A];if(i(w)){var _=w.name;if(_)x[_]||(p(w,t,r,v(c,b,d),v(c,b,h)),b++,x[_]=1);else if(!y){var E=l.arrayDefaultKey(u),k=v(e,E,o),T=v(c,b,d);p(w,t,r,T,v(c,b,h));var C=n.nestedProperty(t,T),S=n.nestedProperty(t,k);S.set(C.get()),C.set(null),y=!0}}}else{var O=n.nestedProperty(t,d);O.set(c)}}}function d(e,t){return o.getLayoutValObject(e,n.nestedProperty({},t).parts)}function h(e,t){return o.getTraceValObject(e,n.nestedProperty({},t).parts)}function v(e,t,r){var n;return n=r?Array.isArray(e)?r+"["+t+"]":r+"."+t:t,n}function m(e){for(var t=0;t<e.length;t++)if(i(e[t]))return!0}function g(e){var t;switch(e.code){case"data":t="The template has no key data.";break;case"layout":t="The template has no key layout.";break;case"missing":t=e.path?"There are no templates for item "+e.path+" with name "+e.templateitemname:"There are no templates for trace "+e.index+", of type "+e.traceType+".";break;case"unused":t=e.path?"The template item at "+e.path+" was not used in constructing the plot.":e.dataCount?"Some of the templates of type "+e.traceType+" were not used. The template has "+e.templateCount+" traces, the data only has "+e.dataCount+" of this type.":"The template has "+e.templateCount+" traces of type "+e.traceType+" but there are none in the data.";break;case"reused":t="Some of the templates of type "+e.traceType+" were used more than once. The template has "+e.templateCount+" traces, the data has "+e.dataCount+" of this type.";break}return e.msg=t,e}t.makeTemplate=function(e){e=n.isPlainObject(e)?e:n.getGraphDiv(e),e=n.extendDeep({_context:u},{data:e.data,layout:e.layout}),a.supplyDefaults(e);var t=e.data||[],r=e.layout||{};r._basePlotModules=e._fullLayout._basePlotModules,r._modules=e._fullLayout._modules;var o={data:{},layout:{}};t.forEach((function(e){var t={};p(e,t,h.bind(null,e));var r=n.coerce(e,{},s,"type"),i=o.data[r];i||(i=o.data[r]=[]),i.push(t)})),p(r,o.layout,d.bind(null,r)),delete o.layout.template;var l=r.template;if(i(l)){var f,v,m,g,y,b,x=l.layout;i(x)&&c(x,o.layout);var A=l.data;if(i(A)){for(v in o.data)if(m=A[v],Array.isArray(m)){for(y=o.data[v],b=y.length,g=m.length,f=0;f<b;f++)c(m[f%g],y[f]);for(f=b;f<g;f++)y.push(n.extendDeep({},m[f]))}for(v in A)v in o.data||(o.data[v]=n.extendDeep([],A[v]))}}return o},t.validateTemplate=function(e,t){var r=n.extendDeep({},{_context:u,data:e.data,layout:e.layout}),o=r.layout||{};i(t)||(t=o.template||{});var s=t.layout,l=t.data,c=[];r.layout=o,r.layout.template=t,a.supplyDefaults(r);var p=r._fullLayout,d=r._fullData,h={};function y(e,t){for(var r in e)if("_"!==r.charAt(0)&&i(e[r])){var n,o=f(r),a=[];for(n=0;n<t.length;n++)a.push(v(e,r,t[n])),o!==r&&a.push(v(e,o,t[n]));for(n=0;n<a.length;n++)h[a[n]]=1;y(e[r],a)}}function b(e,t){for(var r in e)if(-1===r.indexOf("defaults")&&i(e[r])){var n=v(e,r,t);h[n]?b(e[r],n):c.push({code:"unused",path:n})}}if(i(s)?(y(p,["layout"]),b(s,"layout")):c.push({code:"layout"}),i(l)){for(var x,A={},w=0;w<d.length;w++){var _=d[w];x=_.type,A[x]=(A[x]||0)+1,_._fullInput._template||c.push({code:"missing",index:_._fullInput.index,traceType:x})}for(x in l){var E=l[x].length,k=A[x]||0;E>k?c.push({code:"unused",traceType:x,templateCount:E,dataCount:k}):k>E&&c.push({code:"reused",traceType:x,templateCount:E,dataCount:k})}}else c.push({code:"data"});function T(e,t){for(var r in e)if("_"!==r.charAt(0)){var n=e[r],o=v(e,r,t);i(n)?(Array.isArray(e)&&!1===n._template&&n.templateitemname&&c.push({code:"missing",path:o,templateitemname:n.templateitemname}),T(n,o)):Array.isArray(n)&&m(n)&&T(n,o)}}if(T({data:d,layout:p},""),c.length)return c.map(g)}},"2dbe":function(e,t,r){"use strict";var n=r("c243"),i=[32,126];function o(e){e=e||{};var t=e.shape?e.shape:e.canvas?[e.canvas.width,e.canvas.height]:[512,512],r=e.canvas||document.createElement("canvas"),o=e.font,a="number"===typeof e.step?[e.step,e.step]:e.step||[32,32],s=e.chars||i;if(o&&"string"!==typeof o&&(o=n(o)),Array.isArray(s)){if(2===s.length&&"number"===typeof s[0]&&"number"===typeof s[1]){for(var l=[],u=s[0],c=0;u<=s[1];u++)l[c++]=String.fromCharCode(u);s=l}}else s=String(s).split("");t=t.slice(),r.width=t[0],r.height=t[1];var f=r.getContext("2d");f.fillStyle="#000",f.fillRect(0,0,r.width,r.height),f.font=o,f.textAlign="center",f.textBaseline="middle",f.fillStyle="#fff";var p=a[0]/2,d=a[1]/2;for(u=0;u<s.length;u++)f.fillText(s[u],p,d),(p+=a[0])>t[0]-a[0]/2&&(p=a[0]/2,d+=a[1]);return r}e.exports=o},"2dcb":function(e,t,r){var n=r("91e9"),i=n(Object.getPrototypeOf,Object);e.exports=i},"2dd7":function(e,t,r){"use strict";var n=r("fc26"),i=r("7ba3");e.exports=function(e,t){function r(r,o){return n.coerce(e,t,i,r,o)}r("sunburstcolorway",t.colorway),r("extendsunburstcolors")}},"2dd9":function(e,t,r){"use strict";function n(e){for(var t=e.length,r=e[e.length-1],n=t,i=t-2;i>=0;--i){var o=r,a=e[i];r=o+a;var s=r-o,l=a-s;l&&(e[--n]=r,r=l)}var u=0;for(i=n;i<t;++i){o=e[i],a=r;r=o+a;s=r-o,l=a-s;l&&(e[u++]=l)}return e[u++]=r,e.length=u,e}e.exports=n},"2df3":function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("83d1"),a=r("fc26"),s=r("371e"),l=r("93a6").resizeText,u=r("fb5a"),c=u.textfont,f=u.insidetextfont,p=u.outsidetextfont,d=r("6833");function h(e){var t=n.select(e).selectAll("g.barlayer").selectAll("g.trace");l(e,t,"bar");var r=t.size(),i=e._fullLayout;t.style("opacity",(function(e){return e[0].trace.opacity})).each((function(e){("stack"===i.barmode&&r>1||0===i.bargap&&0===i.bargroupgap&&!e[0].trace.marker.line.width)&&n.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){var r=n.select(this),i=t[0].trace;v(r,i,e)})),s.getComponentMethod("errorbars","style")(t)}function v(e,t,r){o.pointStyle(e.selectAll("path"),t,r),m(e,t,r)}function m(e,t,r){e.selectAll("text").each((function(e){var i=n.select(this),s=a.ensureUniformFontSize(r,x(i,e,t,r));o.font(i,s)}))}function g(e,t,r){var n=t[0].trace;n.selectedpoints?y(r,n,e):(v(r,n,e),s.getComponentMethod("errorbars","style")(r))}function y(e,t,r){o.selectedPointStyle(e.selectAll("path"),t),b(e.selectAll("text"),t,r)}function b(e,t,r){e.each((function(e){var i,s=n.select(this);if(e.selected){i=a.ensureUniformFontSize(r,x(s,e,t,r));var l=t.selected.textfont&&t.selected.textfont.color;l&&(i.color=l),o.font(s,i)}else o.selectedTextStyle(s,t)}))}function x(e,t,r,n){var i=n._fullLayout.font,o=r.textfont;if(e.classed("bartext-inside")){var a=k(t,r);o=w(r,t.i,i,a)}else e.classed("bartext-outside")&&(o=_(r,t.i,i));return o}function A(e,t,r){return E(c,e.textfont,t,r)}function w(e,t,r,n){var o=A(e,t,r),a=void 0===e._input.textfont||void 0===e._input.textfont.color||Array.isArray(e.textfont.color)&&void 0===e.textfont.color[t];return a&&(o={color:i.contrast(n),family:o.family,size:o.size}),E(f,e.insidetextfont,t,o)}function _(e,t,r){var n=A(e,t,r);return E(p,e.outsidetextfont,t,n)}function E(e,t,r,n){t=t||{};var i=d.getValue(t.family,r),o=d.getValue(t.size,r),a=d.getValue(t.color,r);return{family:d.coerceString(e.family,i,n.family),size:d.coerceNumber(e.size,o,n.size),color:d.coerceColor(e.color,a,n.color)}}function k(e,t){return"waterfall"===t.type?t[e.dir].marker.color:e.mc||t.marker.color}e.exports={style:h,styleTextPoints:m,styleOnSelect:g,getInsideTextFont:w,getOutsideTextFont:_,getBarColor:k,resizeText:l}},"2e22":function(e,t,r){"use strict";r.r(t),r.d(t,"sankeyCircular",(function(){return M})),r.d(t,"sankeyCenter",(function(){return p})),r.d(t,"sankeyLeft",(function(){return u})),r.d(t,"sankeyRight",(function(){return c})),r.d(t,"sankeyJustify",(function(){return f}));var n=r("bc17"),i=r("6f04"),o=r("1a88"),a=r("7e55"),s=r.n(a);function l(e){return e.target.depth}function u(e){return e.depth}function c(e,t){return t-1-e.height}function f(e,t){return e.sourceLinks.length?e.depth:t-1}function p(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?Object(n["d"])(e.sourceLinks,l)-1:0}function d(e){return function(){return e}}var h="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};function v(e,t){return g(e.source,t.source)||e.index-t.index}function m(e,t){return g(e.target,t.target)||e.index-t.index}function g(e,t){return e.partOfCycle===t.partOfCycle?e.y0-t.y0:"top"===e.circularLinkType||"bottom"===t.circularLinkType?-1:1}function y(e){return e.value}function b(e){return(e.y0+e.y1)/2}function x(e){return b(e.source)}function A(e){return b(e.target)}function w(e){return e.index}function _(e){return e.nodes}function E(e){return e.links}function k(e,t){var r=e.get(t);if(!r)throw new Error("missing: "+t);return r}function T(e,t){return t(e)}var C=25,S=10,O=.3;function M(){var e,t,r=0,o=0,a=1,s=1,l=24,u=w,c=f,p=_,T=E,M=32,L=2,D=null;function j(){var e={nodes:p.apply(null,arguments),links:T.apply(null,arguments)};R(e),P(e,u,D),N(e),H(e),B(e,u),V(e,M,u),Q(e);for(var t=4,r=0;r<t;r++)Z(e,s,u),J(e,s,u),$(e,o,s,u),Z(e,s,u),J(e,s,u);return ne(e,o,s),F(e,L,s,u),e}function R(e){e.nodes.forEach((function(e,t){e.index=t,e.sourceLinks=[],e.targetLinks=[]}));var t=Object(i["a"])(e.nodes,u);return e.links.forEach((function(e,r){e.index=r;var n=e.source,i=e.target;"object"!==("undefined"===typeof n?"undefined":h(n))&&(n=e.source=k(t,n)),"object"!==("undefined"===typeof i?"undefined":h(i))&&(i=e.target=k(t,i)),n.sourceLinks.push(e),i.targetLinks.push(e)})),e}function N(e){e.nodes.forEach((function(e){e.partOfCycle=!1,e.value=Math.max(Object(n["e"])(e.sourceLinks,y),Object(n["e"])(e.targetLinks,y)),e.sourceLinks.forEach((function(t){t.circular&&(e.partOfCycle=!0,e.circularLinkType=t.circularLinkType)})),e.targetLinks.forEach((function(t){t.circular&&(e.partOfCycle=!0,e.circularLinkType=t.circularLinkType)}))}))}function z(e){var t=0,r=0,i=0,o=0,a=Object(n["b"])(e.nodes,(function(e){return e.column}));return e.links.forEach((function(e){e.circular&&("top"==e.circularLinkType?t+=e.width:r+=e.width,0==e.target.column&&(o+=e.width),e.source.column==a&&(i+=e.width))})),t=t>0?t+C+S:t,r=r>0?r+C+S:r,i=i>0?i+C+S:i,o=o>0?o+C+S:o,{top:t,bottom:r,left:o,right:i}}function U(e,t){var i=Object(n["b"])(e.nodes,(function(e){return e.column})),u=a-r,c=s-o,f=u+t.right+t.left,p=c+t.top+t.bottom,d=u/f,h=c/p;return r=r*d+t.left,a=0==t.right?a:a*d,o=o*h+t.top,s*=h,e.nodes.forEach((function(e){e.x0=r+e.column*((a-r-l)/i),e.x1=e.x0+l})),h}function H(e){var t,r,n;for(t=e.nodes,r=[],n=0;t.length;++n,t=r,r=[])t.forEach((function(e){e.depth=n,e.sourceLinks.forEach((function(e){r.indexOf(e.target)<0&&!e.circular&&r.push(e.target)}))}));for(t=e.nodes,r=[],n=0;t.length;++n,t=r,r=[])t.forEach((function(e){e.height=n,e.targetLinks.forEach((function(e){r.indexOf(e.source)<0&&!e.circular&&r.push(e.source)}))}));e.nodes.forEach((function(e){e.column=Math.floor(c.call(null,e,n))}))}function V(r,a,l){var u=Object(i["b"])().key((function(e){return e.column})).sortKeys(n["a"]).entries(r.nodes).map((function(e){return e.values}));p(l),h();for(var c=1,f=a;f>0;--f)d(c*=.99,l),h();function p(i){if(t){var a=1/0;u.forEach((function(e){var r=s*t/(e.length+1);a=r<a?r:a})),e=a}var l=Object(n["d"])(u,(function(t){return(s-o-(t.length-1)*e)/Object(n["e"])(t,y)}));l*=O,r.links.forEach((function(e){e.width=e.value*l}));var c=z(r),f=U(r,c);l*=f,r.links.forEach((function(e){e.width=e.value*l})),u.forEach((function(e){var t=e.length;e.forEach((function(e,r){e.depth==u.length-1&&1==t||0==e.depth&&1==t?(e.y0=s/2-e.value*l,e.y1=e.y0+e.value*l):e.partOfCycle?0==I(e,i)?(e.y0=s/2+r,e.y1=e.y0+e.value*l):"top"==e.circularLinkType?(e.y0=o+r,e.y1=e.y0+e.value*l):(e.y0=s-e.value*l-r,e.y1=e.y0+e.value*l):0==c.top||0==c.bottom?(e.y0=(s-o)/t*r,e.y1=e.y0+e.value*l):(e.y0=(s-o)/2-t/2+r,e.y1=e.y0+e.value*l)}))}))}function d(e,t){var r=u.length;u.forEach((function(i){var o=i.length,a=i[0].depth;i.forEach((function(i){var l;if(i.sourceLinks.length||i.targetLinks.length)if(i.partOfCycle&&I(i,t)>0);else if(0==a&&1==o)l=i.y1-i.y0,i.y0=s/2-l/2,i.y1=s/2+l/2;else if(a==r-1&&1==o)l=i.y1-i.y0,i.y0=s/2-l/2,i.y1=s/2+l/2;else{var u=0,c=Object(n["c"])(i.sourceLinks,A),f=Object(n["c"])(i.targetLinks,x);u=c&&f?(c+f)/2:c||f;var p=(u-b(i))*e;i.y0+=p,i.y1+=p}}))}))}function h(){u.forEach((function(t){var r,n,i,a=o,l=t.length;for(t.sort(g),i=0;i<l;++i)r=t[i],n=a-r.y0,n>0&&(r.y0+=n,r.y1+=n),a=r.y1+e;if(n=a-e-s,n>0)for(a=r.y0-=n,r.y1-=n,i=l-2;i>=0;--i)r=t[i],n=r.y1+e-a,n>0&&(r.y0-=n,r.y1-=n),a=r.y0}))}}function Q(e){e.nodes.forEach((function(e){e.sourceLinks.sort(m),e.targetLinks.sort(v)})),e.nodes.forEach((function(e){var t=e.y0,r=t,n=e.y1,i=n;e.sourceLinks.forEach((function(e){e.circular?(e.y0=n-e.width/2,n-=e.width):(e.y0=t+e.width/2,t+=e.width)})),e.targetLinks.forEach((function(e){e.circular?(e.y1=i-e.width/2,i-=e.width):(e.y1=r+e.width/2,r+=e.width)}))}))}return j.nodeId=function(e){return arguments.length?(u="function"===typeof e?e:d(e),j):u},j.nodeAlign=function(e){return arguments.length?(c="function"===typeof e?e:d(e),j):c},j.nodeWidth=function(e){return arguments.length?(l=+e,j):l},j.nodePadding=function(t){return arguments.length?(e=+t,j):e},j.nodes=function(e){return arguments.length?(p="function"===typeof e?e:d(e),j):p},j.links=function(e){return arguments.length?(T="function"===typeof e?e:d(e),j):T},j.size=function(e){return arguments.length?(r=o=0,a=+e[0],s=+e[1],j):[a-r,s-o]},j.extent=function(e){return arguments.length?(r=+e[0][0],a=+e[1][0],o=+e[0][1],s=+e[1][1],j):[[r,o],[a,s]]},j.iterations=function(e){return arguments.length?(M=+e,j):M},j.circularLinkGap=function(e){return arguments.length?(L=+e,j):L},j.nodePaddingRatio=function(e){return arguments.length?(t=+e,j):t},j.sortNodes=function(e){return arguments.length?(D=e,j):D},j.update=function(e){return B(e,u),Q(e),e.links.forEach((function(e){e.circular&&(e.circularLinkType=e.y0+e.y1<s?"top":"bottom",e.source.circularLinkType=e.circularLinkType,e.target.circularLinkType=e.circularLinkType)})),Z(e,s,u,!1),J(e,s,u),F(e,L,s,u),e},j}function P(e,t,r){var n=0;if(null===r){for(var i=[],o=0;o<e.links.length;o++){var a=e.links[o],l=a.source.index,u=a.target.index;i[l]||(i[l]=[]),i[u]||(i[u]=[]),-1===i[l].indexOf(u)&&i[l].push(u)}var c=s()(i);c.sort((function(e,t){return e.length-t.length}));var f={};for(o=0;o<c.length;o++){var p=c[o],d=p.slice(-2);f[d[0]]||(f[d[0]]={}),f[d[0]][d[1]]=!0}e.links.forEach((function(e){var t=e.target.index,r=e.source.index;t===r||f[r]&&f[r][t]?(e.circular=!0,e.circularLinkID=n,n+=1):e.circular=!1}))}else e.links.forEach((function(e){e.source[r]<e.target[r]?e.circular=!1:(e.circular=!0,e.circularLinkID=n,n+=1)}))}function B(e,t){var r=0,n=0;e.links.forEach((function(i){i.circular&&(i.source.circularLinkType||i.target.circularLinkType?i.circularLinkType=i.source.circularLinkType?i.source.circularLinkType:i.target.circularLinkType:i.circularLinkType=r<n?"top":"bottom","top"==i.circularLinkType?r+=1:n+=1,e.nodes.forEach((function(e){T(e,t)!=T(i.source,t)&&T(e,t)!=T(i.target,t)||(e.circularLinkType=i.circularLinkType)})))})),e.links.forEach((function(e){e.circular&&(e.source.circularLinkType==e.target.circularLinkType&&(e.circularLinkType=e.source.circularLinkType),re(e,t)&&(e.circularLinkType=e.source.circularLinkType))}))}function L(e){var t=Math.abs(e.y1-e.y0),r=Math.abs(e.target.x0-e.source.x1);return Math.atan(r/t)}function D(e,t){return!(e.source.column<t.target.column)&&!(e.target.column>t.source.column)}function I(e,t){var r=0;e.sourceLinks.forEach((function(e){r=e.circular&&!re(e,t)?r+1:r}));var n=0;return e.targetLinks.forEach((function(e){n=e.circular&&!re(e,t)?n+1:n})),r+n}function j(e){var t=e.source.sourceLinks,r=0;t.forEach((function(e){r=e.circular?r+1:r}));var n=e.target.targetLinks,i=0;return n.forEach((function(e){i=e.circular?i+1:i})),!(r>1||i>1)}function R(e,t,r){return e.sort(z),e.forEach((function(n,i){var o=0;if(re(n,r)&&j(n))n.circularPathData.verticalBuffer=o+n.width/2;else{var a=0;for(a;a<i;a++)if(D(e[i],e[a])){var s=e[a].circularPathData.verticalBuffer+e[a].width/2+t;o=s>o?s:o}n.circularPathData.verticalBuffer=o+n.width/2}})),e}function F(e,t,r,i){var a=5,s=Object(n["d"])(e.links,(function(e){return e.source.y0}));e.links.forEach((function(e){e.circular&&(e.circularPathData={})}));var l=e.links.filter((function(e){return"top"==e.circularLinkType}));R(l,t,i);var u=e.links.filter((function(e){return"bottom"==e.circularLinkType}));R(u,t,i),e.links.forEach((function(n){if(n.circular){if(n.circularPathData.arcRadius=n.width+S,n.circularPathData.leftNodeBuffer=a,n.circularPathData.rightNodeBuffer=a,n.circularPathData.sourceWidth=n.source.x1-n.source.x0,n.circularPathData.sourceX=n.source.x0+n.circularPathData.sourceWidth,n.circularPathData.targetX=n.target.x0,n.circularPathData.sourceY=n.y0,n.circularPathData.targetY=n.y1,re(n,i)&&j(n))n.circularPathData.leftSmallArcRadius=S+n.width/2,n.circularPathData.leftLargeArcRadius=S+n.width/2,n.circularPathData.rightSmallArcRadius=S+n.width/2,n.circularPathData.rightLargeArcRadius=S+n.width/2,"bottom"==n.circularLinkType?(n.circularPathData.verticalFullExtent=n.source.y1+C+n.circularPathData.verticalBuffer,n.circularPathData.verticalLeftInnerExtent=n.circularPathData.verticalFullExtent-n.circularPathData.leftLargeArcRadius,n.circularPathData.verticalRightInnerExtent=n.circularPathData.verticalFullExtent-n.circularPathData.rightLargeArcRadius):(n.circularPathData.verticalFullExtent=n.source.y0-C-n.circularPathData.verticalBuffer,n.circularPathData.verticalLeftInnerExtent=n.circularPathData.verticalFullExtent+n.circularPathData.leftLargeArcRadius,n.circularPathData.verticalRightInnerExtent=n.circularPathData.verticalFullExtent+n.circularPathData.rightLargeArcRadius);else{var l=n.source.column,u=n.circularLinkType,c=e.links.filter((function(e){return e.source.column==l&&e.circularLinkType==u}));"bottom"==n.circularLinkType?c.sort(H):c.sort(U);var f=0;c.forEach((function(e,r){e.circularLinkID==n.circularLinkID&&(n.circularPathData.leftSmallArcRadius=S+n.width/2+f,n.circularPathData.leftLargeArcRadius=S+n.width/2+r*t+f),f+=e.width})),l=n.target.column,c=e.links.filter((function(e){return e.target.column==l&&e.circularLinkType==u})),"bottom"==n.circularLinkType?c.sort(Q):c.sort(V),f=0,c.forEach((function(e,r){e.circularLinkID==n.circularLinkID&&(n.circularPathData.rightSmallArcRadius=S+n.width/2+f,n.circularPathData.rightLargeArcRadius=S+n.width/2+r*t+f),f+=e.width})),"bottom"==n.circularLinkType?(n.circularPathData.verticalFullExtent=Math.max(r,n.source.y1,n.target.y1)+C+n.circularPathData.verticalBuffer,n.circularPathData.verticalLeftInnerExtent=n.circularPathData.verticalFullExtent-n.circularPathData.leftLargeArcRadius,n.circularPathData.verticalRightInnerExtent=n.circularPathData.verticalFullExtent-n.circularPathData.rightLargeArcRadius):(n.circularPathData.verticalFullExtent=s-C-n.circularPathData.verticalBuffer,n.circularPathData.verticalLeftInnerExtent=n.circularPathData.verticalFullExtent+n.circularPathData.leftLargeArcRadius,n.circularPathData.verticalRightInnerExtent=n.circularPathData.verticalFullExtent+n.circularPathData.rightLargeArcRadius)}n.circularPathData.leftInnerExtent=n.circularPathData.sourceX+n.circularPathData.leftNodeBuffer,n.circularPathData.rightInnerExtent=n.circularPathData.targetX-n.circularPathData.rightNodeBuffer,n.circularPathData.leftFullExtent=n.circularPathData.sourceX+n.circularPathData.leftLargeArcRadius+n.circularPathData.leftNodeBuffer,n.circularPathData.rightFullExtent=n.circularPathData.targetX-n.circularPathData.rightLargeArcRadius-n.circularPathData.rightNodeBuffer}if(n.circular)n.path=N(n);else{var p=Object(o["a"])().source((function(e){var t=e.source.x0+(e.source.x1-e.source.x0),r=e.y0;return[t,r]})).target((function(e){var t=e.target.x0,r=e.y1;return[t,r]}));n.path=p(n)}}))}function N(e){var t="";return t="top"==e.circularLinkType?"M"+e.circularPathData.sourceX+" "+e.circularPathData.sourceY+" L"+e.circularPathData.leftInnerExtent+" "+e.circularPathData.sourceY+" A"+e.circularPathData.leftLargeArcRadius+" "+e.circularPathData.leftSmallArcRadius+" 0 0 0 "+e.circularPathData.leftFullExtent+" "+(e.circularPathData.sourceY-e.circularPathData.leftSmallArcRadius)+" L"+e.circularPathData.leftFullExtent+" "+e.circularPathData.verticalLeftInnerExtent+" A"+e.circularPathData.leftLargeArcRadius+" "+e.circularPathData.leftLargeArcRadius+" 0 0 0 "+e.circularPathData.leftInnerExtent+" "+e.circularPathData.verticalFullExtent+" L"+e.circularPathData.rightInnerExtent+" "+e.circularPathData.verticalFullExtent+" A"+e.circularPathData.rightLargeArcRadius+" "+e.circularPathData.rightLargeArcRadius+" 0 0 0 "+e.circularPathData.rightFullExtent+" "+e.circularPathData.verticalRightInnerExtent+" L"+e.circularPathData.rightFullExtent+" "+(e.circularPathData.targetY-e.circularPathData.rightSmallArcRadius)+" A"+e.circularPathData.rightLargeArcRadius+" "+e.circularPathData.rightSmallArcRadius+" 0 0 0 "+e.circularPathData.rightInnerExtent+" "+e.circularPathData.targetY+" L"+e.circularPathData.targetX+" "+e.circularPathData.targetY:"M"+e.circularPathData.sourceX+" "+e.circularPathData.sourceY+" L"+e.circularPathData.leftInnerExtent+" "+e.circularPathData.sourceY+" A"+e.circularPathData.leftLargeArcRadius+" "+e.circularPathData.leftSmallArcRadius+" 0 0 1 "+e.circularPathData.leftFullExtent+" "+(e.circularPathData.sourceY+e.circularPathData.leftSmallArcRadius)+" L"+e.circularPathData.leftFullExtent+" "+e.circularPathData.verticalLeftInnerExtent+" A"+e.circularPathData.leftLargeArcRadius+" "+e.circularPathData.leftLargeArcRadius+" 0 0 1 "+e.circularPathData.leftInnerExtent+" "+e.circularPathData.verticalFullExtent+" L"+e.circularPathData.rightInnerExtent+" "+e.circularPathData.verticalFullExtent+" A"+e.circularPathData.rightLargeArcRadius+" "+e.circularPathData.rightLargeArcRadius+" 0 0 1 "+e.circularPathData.rightFullExtent+" "+e.circularPathData.verticalRightInnerExtent+" L"+e.circularPathData.rightFullExtent+" "+(e.circularPathData.targetY+e.circularPathData.rightSmallArcRadius)+" A"+e.circularPathData.rightLargeArcRadius+" "+e.circularPathData.rightSmallArcRadius+" 0 0 1 "+e.circularPathData.rightInnerExtent+" "+e.circularPathData.targetY+" L"+e.circularPathData.targetX+" "+e.circularPathData.targetY,t}function z(e,t){return W(e)==W(t)?"bottom"==e.circularLinkType?H(e,t):U(e,t):W(t)-W(e)}function U(e,t){return e.y0-t.y0}function H(e,t){return t.y0-e.y0}function V(e,t){return e.y1-t.y1}function Q(e,t){return t.y1-e.y1}function W(e){return e.target.column-e.source.column}function K(e){return e.target.x0-e.source.x1}function q(e,t){var r=L(e),n=K(t)/Math.tan(r),i="up"==te(e)?e.y1+n:e.y1-n;return i}function G(e,t){var r=L(e),n=K(t)/Math.tan(r),i="up"==te(e)?e.y1-n:e.y1+n;return i}function $(e,t,r,n){e.links.forEach((function(i){if(!i.circular&&i.target.column-i.source.column>1){var o=i.source.column+1,a=i.target.column-1,s=1,l=a-o+1;for(s=1;o<=a;o++,s++)e.nodes.forEach((function(a){if(a.column==o){var u,c=s/(l+1),f=Math.pow(1-c,3),p=3*c*Math.pow(1-c,2),d=3*Math.pow(c,2)*(1-c),h=Math.pow(c,3),v=f*i.y0+p*i.y0+d*i.y1+h*i.y1,m=v-i.width/2,g=v+i.width/2;m>a.y0&&m<a.y1?(u=a.y1-m+10,u="bottom"==a.circularLinkType?u:-u,a=X(a,u,t,r),e.nodes.forEach((function(e){T(e,n)!=T(a,n)&&e.column==a.column&&Y(a,e)&&X(e,u,t,r)}))):(g>a.y0&&g<a.y1||m<a.y0&&g>a.y1)&&(u=g-a.y0+10,a=X(a,u,t,r),e.nodes.forEach((function(e){T(e,n)!=T(a,n)&&e.column==a.column&&e.y0<a.y1&&e.y1>a.y1&&X(e,u,t,r)})))}}))}}))}function Y(e,t){return e.y0>t.y0&&e.y0<t.y1||(e.y1>t.y0&&e.y1<t.y1||e.y0<t.y0&&e.y1>t.y1)}function X(e,t,r,n){return e.y0+t>=r&&e.y1+t<=n&&(e.y0=e.y0+t,e.y1=e.y1+t,e.targetLinks.forEach((function(e){e.y1=e.y1+t})),e.sourceLinks.forEach((function(e){e.y0=e.y0+t}))),e}function Z(e,t,r,n){e.nodes.forEach((function(i){n&&i.y+(i.y1-i.y0)>t&&(i.y=i.y-(i.y+(i.y1-i.y0)-t));var o=e.links.filter((function(e){return T(e.source,r)==T(i,r)})),a=o.length;a>1&&o.sort((function(e,t){if(!e.circular&&!t.circular){if(e.target.column==t.target.column)return e.y1-t.y1;if(!ee(e,t))return e.y1-t.y1;if(e.target.column>t.target.column){var r=G(t,e);return e.y1-r}if(t.target.column>e.target.column){var n=G(e,t);return n-t.y1}}return e.circular&&!t.circular?"top"==e.circularLinkType?-1:1:t.circular&&!e.circular?"top"==t.circularLinkType?1:-1:e.circular&&t.circular?e.circularLinkType===t.circularLinkType&&"top"==e.circularLinkType?e.target.column===t.target.column?e.target.y1-t.target.y1:t.target.column-e.target.column:e.circularLinkType===t.circularLinkType&&"bottom"==e.circularLinkType?e.target.column===t.target.column?t.target.y1-e.target.y1:e.target.column-t.target.column:"top"==e.circularLinkType?-1:1:void 0}));var s=i.y0;o.forEach((function(e){e.y0=s+e.width/2,s+=e.width})),o.forEach((function(e,t){if("bottom"==e.circularLinkType){var r=t+1,n=0;for(r;r<a;r++)n+=o[r].width;e.y0=i.y1-n-e.width/2}}))}))}function J(e,t,r){e.nodes.forEach((function(t){var n=e.links.filter((function(e){return T(e.target,r)==T(t,r)})),i=n.length;i>1&&n.sort((function(e,t){if(!e.circular&&!t.circular){if(e.source.column==t.source.column)return e.y0-t.y0;if(!ee(e,t))return e.y0-t.y0;if(t.source.column<e.source.column){var r=q(t,e);return e.y0-r}if(e.source.column<t.source.column){var n=q(e,t);return n-t.y0}}return e.circular&&!t.circular?"top"==e.circularLinkType?-1:1:t.circular&&!e.circular?"top"==t.circularLinkType?1:-1:e.circular&&t.circular?e.circularLinkType===t.circularLinkType&&"top"==e.circularLinkType?e.source.column===t.source.column?e.source.y1-t.source.y1:e.source.column-t.source.column:e.circularLinkType===t.circularLinkType&&"bottom"==e.circularLinkType?e.source.column===t.source.column?e.source.y1-t.source.y1:t.source.column-e.source.column:"top"==e.circularLinkType?-1:1:void 0}));var o=t.y0;n.forEach((function(e){e.y1=o+e.width/2,o+=e.width})),n.forEach((function(e,r){if("bottom"==e.circularLinkType){var o=r+1,a=0;for(o;o<i;o++)a+=n[o].width;e.y1=t.y1-a-e.width/2}}))}))}function ee(e,t){return te(e)==te(t)}function te(e){return e.y0-e.y1>0?"up":"down"}function re(e,t){return T(e.source,t)==T(e.target,t)}function ne(e,t,r){var i=e.nodes,o=e.links,a=!1,s=!1;if(o.forEach((function(e){"top"==e.circularLinkType?a=!0:"bottom"==e.circularLinkType&&(s=!0)})),0==a||0==s){var l=Object(n["d"])(i,(function(e){return e.y0})),u=Object(n["b"])(i,(function(e){return e.y1})),c=u-l,f=r-t,p=f/c;i.forEach((function(e){var t=(e.y1-e.y0)*p;e.y0=(e.y0-l)*p,e.y1=e.y0+t})),o.forEach((function(e){e.y0=(e.y0-l)*p,e.y1=(e.y1-l)*p,e.width=e.width*p}))}}},"2e3d":function(e,t,r){"use strict";var n=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,i=/^[^\.\[\]]+$/;e.exports=function(e,t){while(t){var r=e.match(n);if(r)e=r[1];else{if(!e.match(i))throw new Error("bad relativeAttr call:"+[e,t]);e=""}if("^"!==t.charAt(0))break;t=t.slice(1)}return e&&"["!==t.charAt(0)?e+"."+t:e+t}},"2e94":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a=r("61e5"),s=r("9452"),l=r("f2e4"),u=r("24be"),c=r("4f35"),f=r("84ca"),p=r("ac96"),d=r("51eb"),h=r("7301"),v=r("24f7"),m=r("1eb8"),g=v.List,y=v.Record,b=v.Repeat,x=v.Map,A=v.OrderedMap,w={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},_=y(w),E=h("draft_tree_data_support")?u:l,k=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var r=t.prototype;return r.getEntityMap=function(){return c},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){var t=this.getBlockMap().get(e);return t},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,r){return r===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,r){return r===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,r){return c.__create(e,t,r),this},r.mergeEntityData=function(e,t){return c.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return c.__replaceData(e,t),this},r.addEntity=function(e){return c.__add(e),this},r.getEntity=function(e){return c.__get(e)},r.getAllEntities=function(){return c.__getAll()},r.loadWithEntities=function(e){return c.__loadWithEntities(e)},t.createFromBlockArray=function(e,r){var n=Array.isArray(e)?e:e.contentBlocks,i=a.createFromArray(n),o=i.isEmpty()?new f:f.createEmpty(i.first().getKey());return new t({blockMap:i,entityMap:r||c,selectionBefore:o,selectionAfter:o})},t.createFromText=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(r),i=n.map((function(e){return e=m(e),new E({key:p(),text:e,type:"unstyled",characterList:g(b(s.EMPTY,e.length))})}));return t.createFromBlockArray(i)},t.fromJS=function(e){return new t(n({},e,{blockMap:A(e.blockMap).map(t.createContentBlockFromJS),selectionBefore:new f(e.selectionBefore),selectionAfter:new f(e.selectionAfter)}))},t.createContentBlockFromJS=function(e){var t=e.characterList;return new E(n({},e,{data:x(e.data),characterList:null!=t?g((Array.isArray(t)?t:d(t)).map((function(e){return s.fromJS(e)}))):void 0}))},t}(_);e.exports=k},"2ec1":function(e,t,r){var n=r("100e"),i=r("9aff");function o(e){return n((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);while(++n<o){var l=r[n];l&&e(t,l,n,a)}return t}))}e.exports=o},"2ee6":function(e,t,r){"use strict";var n=r("fc26").isTypedArray;t.convertTypedArray=function(e){return n(e)?Array.prototype.slice.call(e):e},t.isOrdinal=function(e){return!!e.tickvals},t.isVisible=function(e){return e.visible||!("visible"in e)}},"2f03":function(e,t){(function(){"use strict";if("undefined"===typeof ses||!ses.ok||ses.ok()){"undefined"!==typeof ses&&(ses.weakMapPermitHostObjects=m);var t=!1;if("function"===typeof WeakMap){var r=WeakMap;if("undefined"!==typeof navigator&&/Firefox/.test(navigator.userAgent));else{var n=new r,i=Object.freeze({});if(n.set(i,1),1===n.get(i))return void(e.exports=WeakMap);t=!0}}Object.prototype.hasOwnProperty;var o=Object.getOwnPropertyNames,a=Object.defineProperty,s=Object.isExtensible,l="weakmap:",u=l+"ident:"+Math.random()+"___";if("undefined"!==typeof crypto&&"function"===typeof crypto.getRandomValues&&"function"===typeof ArrayBuffer&&"function"===typeof Uint8Array){var c=new ArrayBuffer(25),f=new Uint8Array(c);crypto.getRandomValues(f),u=l+"rand:"+Array.prototype.map.call(f,(function(e){return(e%36).toString(36)})).join("")+"___"}if(a(Object,"getOwnPropertyNames",{value:function(e){return o(e).filter(g)}}),"getPropertyNames"in Object){var p=Object.getPropertyNames;a(Object,"getPropertyNames",{value:function(e){return p(e).filter(g)}})}(function(){var e=Object.freeze;a(Object,"freeze",{value:function(t){return y(t),e(t)}});var t=Object.seal;a(Object,"seal",{value:function(e){return y(e),t(e)}});var r=Object.preventExtensions;a(Object,"preventExtensions",{value:function(e){return y(e),r(e)}})})();var d=!1,h=0,v=function(){this instanceof v||x();var e=[],t=[],r=h++;function n(n,i){var o,a=y(n);return a?r in a?a[r]:i:(o=e.indexOf(n),o>=0?t[o]:i)}function i(t){var n=y(t);return n?r in n:e.indexOf(t)>=0}function o(n,i){var o,a=y(n);return a?a[r]=i:(o=e.indexOf(n),o>=0?t[o]=i:(o=e.length,t[o]=i,e[o]=n)),this}function a(n){var i,o,a=y(n);return a?r in a&&delete a[r]:(i=e.indexOf(n),!(i<0)&&(o=e.length-1,e[i]=void 0,t[i]=t[o],e[i]=e[o],e.length=o,t.length=o,!0))}return Object.create(v.prototype,{get___:{value:b(n)},has___:{value:b(i)},set___:{value:b(o)},delete___:{value:b(a)}})};v.prototype=Object.create(Object.prototype,{get:{value:function(e,t){return this.get___(e,t)},writable:!0,configurable:!0},has:{value:function(e){return this.has___(e)},writable:!0,configurable:!0},set:{value:function(e,t){return this.set___(e,t)},writable:!0,configurable:!0},delete:{value:function(e){return this.delete___(e)},writable:!0,configurable:!0}}),"function"===typeof r?function(){function n(){this instanceof v||x();var e,n=new r,i=void 0,o=!1;function a(e,t){return i?n.has(e)?n.get(e):i.get___(e,t):n.get(e,t)}function s(e){return n.has(e)||!!i&&i.has___(e)}function l(e){var t=!!n["delete"](e);return i&&i.delete___(e)||t}return e=t?function(e,t){return n.set(e,t),n.has(e)||(i||(i=new v),i.set(e,t)),this}:function(e,t){if(o)try{n.set(e,t)}catch(r){i||(i=new v),i.set___(e,t)}else n.set(e,t);return this},Object.create(v.prototype,{get___:{value:b(a)},has___:{value:b(s)},set___:{value:b(e)},delete___:{value:b(l)},permitHostObjects___:{value:b((function(e){if(e!==m)throw new Error("bogus call to permitHostObjects___");o=!0}))}})}t&&"undefined"!==typeof Proxy&&(Proxy=void 0),n.prototype=v.prototype,e.exports=n,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!==typeof Proxy&&(Proxy=void 0),e.exports=v)}function m(e){e.permitHostObjects___&&e.permitHostObjects___(m)}function g(e){return!(e.substr(0,l.length)==l&&"___"===e.substr(e.length-3))}function y(e){if(e!==Object(e))throw new TypeError("Not an object: "+e);var t=e[u];if(t&&t.key===e)return t;if(s(e)){t={key:e};try{return a(e,u,{value:t,writable:!1,enumerable:!1,configurable:!1}),t}catch(r){return}}}function b(e){return e.prototype=null,Object.freeze(e)}function x(){d||"undefined"===typeof console||(d=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},"2f06":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},i=t.render=function(e,t,r,n){if("undefined"===typeof document&&!n)return null;var i=n?new n:document.createElement("canvas");i.width=2*r,i.height=2*r;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=t,o.fillRect(0,0,r,r),o.translate(r,r),o.fillRect(0,0,r,r),i.toDataURL()):null};t.get=function(e,t,r,o){var a=e+"-"+t+"-"+r+(o?"-server":"");if(n[a])return n[a];var s=i(e,t,r,o);return n[a]=s,s}},"2f4a":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var a=r("4da8"),s=r("51eb"),l=r("24f7"),u=l.List,c=l.Repeat,f=l.Record,p=function(){return!0},d={start:null,end:null},h=f(d),v={start:null,end:null,decoratorKey:null,leaves:null},m=f(v),g={generate:function(e,t,r){var n=t.getLength();if(!n)return u.of(new m({start:0,end:0,decoratorKey:null,leaves:u.of(new h({start:0,end:0}))}));var i=[],o=r?r.getDecorations(t,e):u(c(null,n)),s=t.getCharacterList();return a(o,b,p,(function(e,t){i.push(new m({start:e,end:t,decoratorKey:o.get(e),leaves:y(s.slice(e,t).toList(),e)}))})),u(i)},fromJS:function(e){var t=e.leaves,r=o(e,["leaves"]);return new m(n({},r,{leaves:null!=t?u(Array.isArray(t)?t:s(t)).map((function(e){return h(e)})):null}))}};function y(e,t){var r=[],n=e.map((function(e){return e.getStyle()})).toList();return a(n,b,p,(function(e,n){r.push(new h({start:e+t,end:n+t}))})),u(r)}function b(e,t){return e===t}e.exports=g},"2f61":function(e,t,r){"use strict";var n=r("61e5"),i=r("24be"),o=r("24f7"),a=r("65ff"),s=r("d8db"),l=r("57c7"),u=o.List,c=function(e,t,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=r.get(i),u=l.getText(),c=l.getCharacterList(),f=i,p=o+n.getText().length,d=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":d=n.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":d=n.getData();break}var h=l.getType();u&&"unstyled"===h&&(h=n.getType());var v=l.merge({text:u.slice(0,o)+n.getText()+u.slice(o),characterList:a(c,n.getCharacterList(),o),type:h,data:d});return e.merge({blockMap:r.set(i,v),selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},f=function(e,t,r){var n=e.getText(),i=e.getCharacterList(),o=n.slice(0,t),a=i.slice(0,t),s=r.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})},p=function(e,t,r){var n=e.getText(),i=e.getCharacterList(),o=n.length,a=n.slice(t,o),s=i.slice(t,o),l=r.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})},d=function(e,t){var r=e.getKey(),n=e,i=[];t.get(r)&&i.push(r);while(n&&n.getNextSiblingKey()){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=t.get(o)}return i},h=function(e,t,r,n){return e.withMutations((function(t){var i=r.getKey(),o=n.getKey(),a=r.getNextSiblingKey(),s=r.getParentKey(),l=d(n,e),c=l[l.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],n.getNextSiblingKey()),t.setIn([n.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var f=e.get(s),p=f.getChildKeys(),h=p.indexOf(i),v=h+1,m=p.toArray();m.splice.apply(m,[v,0].concat(l)),t.setIn([s,"children"],u(m))}}))},v=function(e,t,r,o,a,s){var l=r.first()instanceof i,u=[],c=o.size,d=r.get(a),v=o.first(),m=o.last(),g=m.getLength(),y=m.getKey(),b=l&&(!d.getChildKeys().isEmpty()||!v.getChildKeys().isEmpty());r.forEach((function(e,t){t===a?(b?u.push(e):u.push(f(e,s,o)),o.slice(b?0:1,c-1).forEach((function(e){return u.push(e)})),u.push(p(e,s,o))):u.push(e)}));var x=n.createFromArray(u);return l&&(x=h(x,r,d,v)),e.merge({blockMap:x,selectionBefore:t,selectionAfter:t.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})},m=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var o=e.getBlockMap(),a=l(r),u=t.getStartKey(),f=t.getStartOffset(),p=o.get(u);return p instanceof i&&(p.getChildKeys().isEmpty()||s(!1)),1===a.size?c(e,t,o,a.first(),u,f,n):v(e,t,o,a,u,f)};e.exports=m},"2f62":function(e,t,r){"use strict";(function(e){
|
||
/*!
|
||
* vuex v3.5.1
|
||
* (c) 2020 Evan You
|
||
* @license MIT
|
||
*/
|
||
function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,r.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var n="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function a(e,t){return e.filter(t)[0]}function s(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var r=a(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=s(e[r],t)})),n}function l(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function u(e){return null!==e&&"object"===typeof e}function c(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"===typeof r?r():r)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){l(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,d);var h=function(e){this.register([],e,!1)};function v(e,t,r){if(t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return void 0;v(e.concat(n),t.getChild(n),r.modules[n])}}h.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},h.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return t=t.getChild(r),e+(t.namespaced?r+"/":"")}),"")},h.prototype.update=function(e){v([],this.root,e)},h.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=new p(t,r);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){n.register(e.concat(i),t,r)}))},h.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n&&n.runtime&&t.removeChild(r)},h.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return t.hasChild(r)};var m;var g=function(e){var t=this;void 0===e&&(e={}),!m&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,r){return l.call(i,e,t,r)},this.strict=n;var u=this._modules.root.state;w(this,u,[],this._modules.root),A(this,u),r.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:m.config.devtools;c&&o(this)},y={state:{configurable:!0}};function b(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function x(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;w(e,r,[],e._modules.root,!0),A(e,r,t)}function A(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,r){o[r]=f(t,e),Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,e._vm=new m({data:{$$state:t},computed:o}),m.config.silent=a,e.strict&&S(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),m.nextTick((function(){return n.$destroy()})))}function w(e,t,r,n,i){var o=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!o&&!i){var s=O(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit((function(){m.set(s,l,n.state)}))}var u=n.context=_(e,a,r);n.forEachMutation((function(t,r){var n=a+r;k(e,n,t,u)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,i=t.handler||t;T(e,n,i,u)})),n.forEachGetter((function(t,r){var n=a+r;C(e,n,t,u)})),n.forEachChild((function(n,o){w(e,t,r.concat(o),n,i)}))}function _(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var o=M(r,n,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:n?e.commit:function(r,n,i){var o=M(r,n,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return E(e,t)}},state:{get:function(){return O(e.state,r)}}}),i}function E(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function k(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){r.call(e,n.state,t)}))}function T(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return c(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function C(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}function S(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function M(e,t,r){return u(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function P(e){m&&e===m||(m=e,r(m))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},g.prototype.commit=function(e,t,r){var n=this,i=M(e,t,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},g.prototype.dispatch=function(e,t){var r=this,n=M(e,t),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(u){0}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,r.state,e)}))}catch(u){0}t(e)}))}))}},g.prototype.subscribe=function(e,t){return b(e,this._subscribers,t)},g.prototype.subscribeAction=function(e,t){var r="function"===typeof e?{before:e}:e;return b(r,this._actionSubscribers,t)},g.prototype.watch=function(e,t,r){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),r.preserveState),A(this,this.state)},g.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=O(t.state,e.slice(0,-1));m.delete(r,e[e.length-1])})),x(this)},g.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},g.prototype.hotUpdate=function(e){this._modules.update(e),x(this,!0)},g.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(g.prototype,y);var B=N((function(e,t){var r={};return R(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=z(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"===typeof i?i.call(this,t,r):t[i]},r[n].vuex=!0})),r})),L=N((function(e,t){var r={};return R(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.commit;if(e){var o=z(this.$store,"mapMutations",e);if(!o)return;n=o.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),D=N((function(e,t){var r={};return R(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||z(this.$store,"mapGetters",e))return this.$store.getters[i]},r[n].vuex=!0})),r})),I=N((function(e,t){var r={};return R(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var o=z(this.$store,"mapActions",e);if(!o)return;n=o.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),j=function(e){return{mapState:B.bind(null,e),mapGetters:D.bind(null,e),mapMutations:L.bind(null,e),mapActions:I.bind(null,e)}};function R(e){return F(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function F(e){return Array.isArray(e)||u(e)}function N(e){return function(t,r){return"string"!==typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function z(e,t,r){var n=e._modulesNamespaceMap[r];return n}function U(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var l=e.logMutations;void 0===l&&(l=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var f=s(e.state);"undefined"!==typeof c&&(l&&e.subscribe((function(e,o){var a=s(o);if(r(e,f,a)){var l=Q(),u=i(e),p="mutation "+e.type+l;H(c,p,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),V(c)}f=a})),u&&e.subscribeAction((function(e,r){if(o(e,r)){var n=Q(),i=a(e),s="action "+e.type+n;H(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),V(c)}})))}}function H(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(i){e.log(t)}}function V(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function Q(){var e=new Date;return" @ "+K(e.getHours(),2)+":"+K(e.getMinutes(),2)+":"+K(e.getSeconds(),2)+"."+K(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function K(e,t){return W("0",t-e.toString().length)+e}var q={Store:g,install:P,version:"3.5.1",mapState:B,mapMutations:L,mapGetters:D,mapActions:I,createNamespacedHelpers:j,createLogger:U};t["a"]=q}).call(this,r("c8ba"))},"2f68":function(e,t,r){"use strict";e.exports=r("f1c3")},"2f74":function(e,t,r){"use strict";function n(){return!1}t["a"]=n},"2fcc":function(e,t){function r(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}e.exports=r},"2ff0":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("4183"),a=r("02ea"),s=.1;function l(e,t){for(var r=[],n=32,i=0;i<n;i++){var o=i/(n-1),a=t+(1-t)*(1-Math.pow(Math.sin(e*o*Math.PI),2));r.push([o,Math.max(0,Math.min(1,a))])}return r}function u(e){var t=0;if(!Array.isArray(e)||e.length<2)return!1;if(!e[0]||!e[e.length-1])return!1;if(0!==+e[0][0]||1!==+e[e.length-1][0])return!1;for(var r=0;r<e.length;r++){var n=e[r];if(2!==n.length||+n[0]<t)return!1;t=+n[0]}return!0}function c(e,t,r,s){var l,u;function c(r,n){return i.coerce(e,t,a,r,n)}var d=c("x"),h=c("y"),v=c("z");if(!v||!v.length||d&&d.length<1||h&&h.length<1)t.visible=!1;else{t._xlength=Array.isArray(d)&&i.isArrayOrTypedArray(d[0])?v.length:v[0].length,t._ylength=v.length;var m=n.getComponentMethod("calendars","handleTraceDefaults");m(e,t,["x","y","z"],s),c("text"),c("hovertext"),c("hovertemplate"),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lightposition.x","lightposition.y","lightposition.z","hidesurface","connectgaps","opacity"].forEach((function(e){c(e)}));var g=c("surfacecolor"),y=["x","y","z"];for(l=0;l<3;++l){var b="contours."+y[l],x=c(b+".show"),A=c(b+".highlight");if(x||A)for(u=0;u<3;++u)c(b+".project."+y[u]);x&&(c(b+".color"),c(b+".width"),c(b+".usecolormap")),A&&(c(b+".highlightcolor"),c(b+".highlightwidth")),c(b+".start"),c(b+".end"),c(b+".size")}g||(p(e,"zmin","cmin"),p(e,"zmax","cmax"),p(e,"zauto","cauto")),o(e,t,s,c,{prefix:"",cLetter:"c"}),f(e,t,s,c),t._length=null}}function f(e,t,r,n){var i=n("opacityscale");"max"===i?t.opacityscale=[[0,s],[1,1]]:"min"===i?t.opacityscale=[[0,1],[1,s]]:"extremes"===i?t.opacityscale=l(1,s):u(i)||(t.opacityscale=void 0)}function p(e,t,r){t in e&&!(r in e)&&(e[r]=e[t])}e.exports={supplyDefaults:c,opacityscaleDefaults:f}},"2ff5":function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},3022:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!w(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),l=n[r];r<o;l=n[++r])b(l)||!T(l)?a+=" "+l:a+=" "+s(l);return a},t.deprecate=function(r,n){if("undefined"!==typeof e&&!0===e.noDeprecation)return r;if("undefined"===typeof e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;function o(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}return o};var o,a={};function s(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),f(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function c(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function f(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return w(i)||(i=f(e,i,n)),i}var o=p(e,r);if(o)return o;var a=Object.keys(r),s=c(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),S(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(r);if(0===a.length){if(O(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(k(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(C(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return d(r)}var u,y="",b=!1,x=["{","}"];if(g(r)&&(b=!0,x=["[","]"]),O(r)){var A=r.name?": "+r.name:"";y=" [Function"+A+"]"}return k(r)&&(y=" "+RegExp.prototype.toString.call(r)),C(r)&&(y=" "+Date.prototype.toUTCString.call(r)),S(r)&&(y=" "+d(r)),0!==a.length||b&&0!=r.length?n<0?k(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=b?h(e,r,n,s,a):a.map((function(t){return v(e,r,n,s,t,b)})),e.seen.pop(),m(u,y,x)):x[0]+y+x[1]}function p(e,t){if(E(t))return e.stylize("undefined","undefined");if(w(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return A(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)I(t,String(a))?o.push(v(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(v(e,t,r,n,i,!0))})),o}function v(e,t,r,n,i,o){var a,s,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),I(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=b(r)?f(e,l.value,null):f(e,l.value,r-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function g(e){return Array.isArray(e)}function y(e){return"boolean"===typeof e}function b(e){return null===e}function x(e){return null==e}function A(e){return"number"===typeof e}function w(e){return"string"===typeof e}function _(e){return"symbol"===typeof e}function E(e){return void 0===e}function k(e){return T(e)&&"[object RegExp]"===P(e)}function T(e){return"object"===typeof e&&null!==e}function C(e){return T(e)&&"[object Date]"===P(e)}function S(e){return T(e)&&("[object Error]"===P(e)||e instanceof Error)}function O(e){return"function"===typeof e}function M(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function P(e){return Object.prototype.toString.call(e)}function B(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(E(o)&&(o=Object({NODE_ENV:"production",BASE_URL:""}).NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(o)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=g,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=x,t.isNumber=A,t.isString=w,t.isSymbol=_,t.isUndefined=E,t.isRegExp=k,t.isObject=T,t.isDate=C,t.isError=S,t.isFunction=O,t.isPrimitive=M,t.isBuffer=r("d60a");var L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[B(e.getHours()),B(e.getMinutes()),B(e.getSeconds())].join(":");return[e.getDate(),L[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=r("28a0"),t._extend=function(e,t){if(!t||!T(t))return e;var r=Object.keys(t),n=r.length;while(n--)e[r[n]]=t[r[n]];return e};var j="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function F(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(R,t,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(j&&e[j]){var t=e[j];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,j,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(a){r(a)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),j&&Object.defineProperty(t,j,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=j,t.callbackify=F}).call(this,r("4362"))},3029:function(e,t,r){"use strict";e.exports=f;var n=r("3bd6"),i=r("18a2"),o=r("9c7c"),a=r("3dac"),s=r("66ac"),l=r("e56e"),u=r("093d");function c(e,t){return o(n(e[0],t[1]),n(e[1],t[0]))}function f(e,t,r,n){var o=s(t,e),f=s(n,r),p=c(o,f);if(0===a(p))return null;var d=s(e,r),h=c(f,d),v=i(h,p),m=u(o,v),g=l(e,m);return g}},"303f":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("ab5b")),o=u(r("a93d")),a=u(r("8bcf")),s=u(r("d7bc")),l=r("e419");function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(e){var n;return p(this,r),n=t.call(this),n.state={graphDiv:{}},n.PlotComponent=(0,o.default)(e.plotly),n.handleRender=n.handleRender.bind(b(n)),n}return h(r,[{key:"handleRender",value:function(e,t){this.setState({graphDiv:t}),this.props.onRender&&this.props.onRender(t.data,t.layout,t._transitionData._frames)}},{key:"render",value:function(){return i.default.createElement("div",{className:"plotly_editor"},!this.props.hideControls&&i.default.createElement(a.default,{graphDiv:this.state.graphDiv,dataSources:this.props.dataSources,dataSourceOptions:this.props.dataSourceOptions,plotly:this.props.plotly,onUpdate:this.props.onUpdate,advancedTraceTypeSelector:this.props.advancedTraceTypeSelector,locale:this.props.locale,traceTypesConfig:this.props.traceTypesConfig,dictionaries:this.props.dictionaries,showFieldTooltips:this.props.showFieldTooltips,srcConverters:this.props.srcConverters,makeDefaultTrace:this.props.makeDefaultTrace,glByDefault:this.props.glByDefault,mapBoxAccess:Boolean(this.props.config&&this.props.config.mapboxAccessToken),fontOptions:this.props.fontOptions,chartHelp:this.props.chartHelp,customConfig:this.props.customConfig},this.props.children),i.default.createElement("div",{className:"plotly_editor_plot",style:{width:"100%",height:"100%"}},i.default.createElement(this.PlotComponent,{data:this.props.data,layout:this.props.layout,frames:this.props.frames,config:this.props.config,useResizeHandler:this.props.useResizeHandler,debug:this.props.debug,onInitialized:this.handleRender,onUpdate:this.handleRender,style:{width:"100%",height:"100%"},divId:this.props.divId})))}}]),r}(i.Component);w.propTypes={children:s.default.any,layout:s.default.object,data:s.default.array,config:s.default.object,dataSourceOptions:s.default.array,dataSources:s.default.object,frames:s.default.array,onUpdate:s.default.func,onRender:s.default.func,plotly:s.default.object,useResizeHandler:s.default.bool,debug:s.default.bool,advancedTraceTypeSelector:s.default.bool,locale:s.default.string,traceTypesConfig:s.default.object,dictionaries:s.default.object,divId:s.default.string,hideControls:s.default.bool,showFieldTooltips:s.default.bool,srcConverters:s.default.shape({toSrc:s.default.func.isRequired,fromSrc:s.default.func.isRequired}),makeDefaultTrace:s.default.func,glByDefault:s.default.bool,fontOptions:s.default.array,chartHelp:s.default.object,customConfig:s.default.object},w.defaultProps={hideControls:!1,showFieldTooltips:!1,fontOptions:l.DEFAULT_FONTS};var _=w;t.default=_},3044:function(e,t,r){"use strict";var n=r("0435"),i=r("43ef"),o=r("f4e9"),a=r("9092").extendFlat,s=i.contours;e.exports=a({carpet:{valType:"string",role:"info",editType:"calc",description:["The `carpet` of the carpet axes on which this contour trace lies"].join(" ")},z:n.z,a:n.x,a0:n.x0,da:n.dx,b:n.y,b0:n.y0,db:n.dy,text:n.text,hovertext:n.hovertext,transpose:n.transpose,atype:n.xtype,btype:n.ytype,fillcolor:i.fillcolor,autocontour:i.autocontour,ncontours:i.ncontours,contours:{type:s.type,start:s.start,end:s.end,size:s.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",role:"style",editType:"calc",description:["Determines the coloring method showing the contour values.","If *fill*, coloring is done evenly between each contour level","If *lines*, coloring is done on the contour lines.","If *none*, no coloring is applied on this trace."].join(" ")},showlines:s.showlines,showlabels:s.showlabels,labelfont:s.labelfont,labelformat:s.labelformat,operation:s.operation,value:s.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:i.line.color,width:i.line.width,dash:i.line.dash,smoothing:i.line.smoothing,editType:"plot"},transforms:void 0},o("",{cLetter:"z",autoColorDflt:!1}))},3068:function(e,t){var r=/[\'\"]/;e.exports=function(e){return e?(r.test(e.charAt(0))&&(e=e.substr(1)),r.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):""}},"306b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.UpdateMenuAccordion,null,n.default.createElement(o.VisibilitySelect,{attr:"visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}],showOn:!0},n.default.createElement(o.PlotlySection,{name:r("Button Labels")},n.default.createElement(o.UpdateMenuButtons,{attr:"buttons"})),n.default.createElement(o.PlotlySection,{name:r("Background")},n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"bgcolor"})),n.default.createElement(o.PlotlySection,{name:r("Font")},n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"font.family"}),n.default.createElement(o.Numeric,{label:r("Size"),attr:"font.size"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"font.color"})),n.default.createElement(o.PlotlySection,{name:r("Border")},n.default.createElement(o.Numeric,{label:r("Width"),attr:"borderwidth"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"bordercolor"})),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning"),attr:"x"},n.default.createElement(o.Numeric,{label:r("Position"),attr:"x",showSlider:!0,step:.02}),n.default.createElement(o.Radio,{label:r("Anchor"),attr:"xanchor",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning"),attr:"y"},n.default.createElement(o.Numeric,{label:r("Position"),attr:"y",showSlider:!0,step:.02}),n.default.createElement(o.Radio,{label:r("Anchor"),attr:"yanchor",options:[{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]})),n.default.createElement(o.PlotlySection,{name:r("Padding")},n.default.createElement(o.Numeric,{label:r("Top"),attr:"pad.t",units:"px"}),n.default.createElement(o.Numeric,{label:r("Bottom"),attr:"pad.b",units:"px"}),n.default.createElement(o.Numeric,{label:r("Left"),attr:"pad.l",units:"px"}),n.default.createElement(o.Numeric,{label:r("Right"),attr:"pad.r",units:"px"}))))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},"306c":function(e,t,r){"use strict";e.exports=function(e){return e}},"30c9":function(e,t,r){var n=r("9520"),i=r("b218");function o(e){return null!=e&&i(e.length)&&!n(e)}e.exports=o},"30f2":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3");function o(e){var t=n.splitBlock(e.getCurrentContent(),e.getSelection());return i.push(e,t,"split-block")}e.exports=o},3118:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 23.91 19.74"},e),o.default.createElement("path",{class:"cls-1",d:"M22 0H1.87A1.73 1.73 0 0 0 0 1.54v16.65a1.75 1.75 0 0 0 1.87 1.55H22a1.75 1.75 0 0 0 1.87-1.55V1.54A1.73 1.73 0 0 0 22 0zm1.12 18.19a1 1 0 0 1-1.12.93H1.87a1 1 0 0 1-1.12-.93V1.54A1 1 0 0 1 1.87.62H22a1 1 0 0 1 1.12.92z"}),o.default.createElement("path",{class:"cls-1",d:"M2.62 1.87a.73.73 0 0 0-.71.75v1.49h.75V2.62h1.82v-.75zM19.8 3.74H4.11a.36.36 0 0 0-.37.37v4.48a.37.37 0 0 0 .37.41H19.8a.37.37 0 0 0 .37-.38V4.11a.36.36 0 0 0-.37-.37zm-.37 4.48H4.48V4.48h15zM9.76 10.09H4.09a.35.35 0 0 0-.35.35v5.67a.35.35 0 0 0 .35.36h5.67a.35.35 0 0 0 .35-.36v-5.67a.35.35 0 0 0-.35-.35zm-5.32 5.67V11.3l4.47 4.46zm5-.5L5 10.8h4.41zM11.21 10.77h8.97v.75h-8.97zM12.7 12.51h7.56v.9H12.7zM11.64 14.96h1.02v1.02h-1.02zM13.68 14.96h1.02v1.02h-1.02z"}))};t.default=u},3122:function(e,t,r){"use strict";e.exports=u;var n=r("92ba"),i=r("79d9"),o=r("d1bd"),a=r("91e1"),s=r("a026");function l(e,t,r){var n=o(e[0],-t[0]),i=o(e[1],-t[1]),l=o(r[0],-t[0]),u=o(r[1],-t[1]),c=s(a(n,l),a(i,u));return c[c.length-1]>=0}function u(e,t,r,o){var a=n(t,r,o);if(0===a){var s=i(n(e,t,r)),u=i(n(e,t,o));if(s===u){if(0===s){var c=l(e,t,r),f=l(e,t,o);return c===f?0:c?1:-1}return 0}return 0===u?s>0||l(e,t,o)?-1:1:0===s?u>0||l(e,t,r)?1:-1:i(u-s)}var p=n(e,t,r);if(p>0)return a>0&&n(e,t,o)>0?1:-1;if(p<0)return a>0||n(e,t,o)>0?1:-1;var d=n(e,t,o);return d>0||l(e,t,r)?1:-1}},3146:function(e,t,r){"use strict";e.exports=l;var n=r("efce"),i=r("b205"),o=r("c185").bg;function a(e,t,r,n){this.gl=e,this.buffer=t,this.vao=r,this.shader=n}var s=a.prototype;function l(e){for(var t=[],r=[],s=0,l=0;l<3;++l)for(var u=(l+1)%3,c=(l+2)%3,f=[0,0,0],p=[0,0,0],d=-1;d<=1;d+=2){r.push(s,s+2,s+1,s+1,s+2,s+3),f[l]=d,p[l]=d;for(var h=-1;h<=1;h+=2){f[u]=h;for(var v=-1;v<=1;v+=2)f[c]=v,t.push(f[0],f[1],f[2],p[0],p[1],p[2]),s+=1}var m=u;u=c,c=m}var g=n(e,new Float32Array(t)),y=n(e,new Uint16Array(r),e.ELEMENT_ARRAY_BUFFER),b=i(e,[{buffer:g,type:e.FLOAT,size:3,offset:0,stride:24},{buffer:g,type:e.FLOAT,size:3,offset:12,stride:24}],y),x=o(e);return x.attributes.position.location=0,x.attributes.normal.location=1,new a(e,g,b,x)}s.draw=function(e,t,r,n,i,o){for(var a=!1,s=0;s<3;++s)a=a||i[s];if(a){var l=this.gl;l.enable(l.POLYGON_OFFSET_FILL),l.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:e,view:t,projection:r,bounds:n,enable:i,colors:o},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),l.disable(l.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},"31b4":function(e,t,r){"use strict";function n(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}e.exports=n},"320c":function(e,t,r){"use strict";
|
||
/*
|
||
object-assign
|
||
(c) Sindre Sorhus
|
||
@license MIT
|
||
*/var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}e.exports=s()?Object.assign:function(e,t){for(var r,s,l=a(e),u=1;u<arguments.length;u++){for(var c in r=Object(arguments[u]),r)i.call(r,c)&&(l[c]=r[c]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(l[s[f]]=r[s[f]])}}return l}},"321f":function(e,t,r){"use strict";var n=r("24f7"),i=n.Map;function o(e,t,r){var n=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===n})).takeUntil((function(e,t){return t===o})).concat(i([[o,a.get(o)]])).map(r);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}e.exports=o},3252:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M6.688 2.688h2.625v26.625H6.688zm2.625 12h5.375v2.625H9.313zm-8 8h5.375v2.625H1.313zm20-20h2.688v26.625h-2.688zm-5.313 4h5.313v2.625H16zm8 10.625h5.313v2.688H24z"}))};t.default=u},3253:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=h(r("5174")),o=h(r("d7bc")),a=d(r("ab5b")),s=r("4578"),l=h(r("37cc")),u=h(r("134d")),c=h(r("76fe")),f=r("e419");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}function w(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=C();return function(){var r,n=S(e);if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=function(e){w(r,e);var t=E(r);function r(e,n){var i;b(this,r),i=t.call(this,e,n);var o=null;return!e.container.marker||e.container.marker&&!e.container.marker.sizesrc?o="constant":e.container.marker&&Array.isArray(e.container.marker.size)&&e.fullContainer.marker&&Array.isArray(e.fullContainer.marker.size)&&(o="variable"),i.state={type:o,value:{constant:"constant"===o?e.fullValue:"6",variable:"variable"===o?e.fullValue:null}},i.setType=i.setType.bind(T(i)),i.setValue=i.setValue.bind(T(i)),i}return A(r,[{key:"setType",value:function(e){var t;(this.setState({type:e}),this.props.updatePlot(this.state.value[e]),"constant"===e)?this.context.updateContainer(y({},"marker.sizesrc",null)):this.context.updateContainer((t={},y(t,"marker.size",null),y(t,"marker.sizesrc",null),t))}},{key:"setValue",value:function(e){var t=this.state.type;this.setState("constant"===t?{value:{constant:e}}:{value:{variable:e}}),this.props.updatePlot(e)}},{key:"render",value:function(){var e=this.props,t=e.attr,r=e.fullValue,n=this.context.localize,o=this.state,s=o.type,p=o.value,d=[{label:n("Constant"),value:"constant"},{label:n("Variable"),value:"variable"}],h=this.props.multiValued||Array.isArray(r)&&r.includes(f.MULTI_VALUED);return a.default.createElement(i.default,g({},this.props,{multiValued:h,attr:t}),a.default.createElement(l.default,{options:d,activeOption:s,onOptionChange:this.setType}),"constant"===s?a.default.createElement(u.default,{suppressMultiValuedMessage:!0,attr:"marker.size",updatePlot:this.setValue,fullValue:p.constant}):h?null:a.default.createElement(c.default,{suppressMultiValuedMessage:!0,attr:"marker.size",updatePlot:this.setValue}))}}]),r}(a.Component);O.propTypes=m({fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),O.contextTypes={localize:o.default.func,updateContainer:o.default.func},O.displayName="UnconnectedMarkerSize";var M=(0,s.connectToContainer)(O);t.default=M},3273:function(e,t,r){"use strict";var n=r("236d");e.exports={moduleType:"component",name:"shapes",layoutAttributes:r("a5cc"),supplyLayoutDefaults:r("567e"),supplyDrawNewShapeDefaults:r("0a5b"),includeBasePlot:r("37d1")("shapes"),calcAutorange:r("cef0"),draw:n.draw,drawOne:n.drawOne}},"32b3":function(e,t,r){var n=r("872a"),i=r("9638"),o=Object.prototype,a=o.hasOwnProperty;function s(e,t,r){var o=e[t];a.call(e,t)&&i(o,r)&&(void 0!==r||t in e)||n(e,t,r)}e.exports=s},"32f4":function(e,t,r){var n=r("2d7c"),i=r("d327"),o=Object.prototype,a=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return a.call(e,t)})))}:i;e.exports=l},3310:function(e,t,r){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},3350:function(e,t,r){"use strict";var n=r("6e58");e.exports={circle:{n:0,f:function(e){var t=n.round(e,2);return"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"}},square:{n:1,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"}},diamond:{n:2,f:function(e){var t=n.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"Z"}},cross:{n:3,f:function(e){var t=n.round(.4*e,2),r=n.round(1.2*e,2);return"M"+r+","+t+"H"+t+"V"+r+"H-"+t+"V"+t+"H-"+r+"V-"+t+"H-"+t+"V-"+r+"H"+t+"V-"+t+"H"+r+"Z"}},x:{n:4,f:function(e){var t=n.round(.8*e/Math.sqrt(2),2),r="l"+t+","+t,i="l"+t+",-"+t,o="l-"+t+",-"+t,a="l-"+t+","+t;return"M0,"+t+r+i+o+i+o+a+o+a+r+a+r+"Z"}},"triangle-up":{n:5,f:function(e){var t=n.round(2*e/Math.sqrt(3),2),r=n.round(e/2,2),i=n.round(e,2);return"M-"+t+","+r+"H"+t+"L0,-"+i+"Z"}},"triangle-down":{n:6,f:function(e){var t=n.round(2*e/Math.sqrt(3),2),r=n.round(e/2,2),i=n.round(e,2);return"M-"+t+",-"+r+"H"+t+"L0,"+i+"Z"}},"triangle-left":{n:7,f:function(e){var t=n.round(2*e/Math.sqrt(3),2),r=n.round(e/2,2),i=n.round(e,2);return"M"+r+",-"+t+"V"+t+"L-"+i+",0Z"}},"triangle-right":{n:8,f:function(e){var t=n.round(2*e/Math.sqrt(3),2),r=n.round(e/2,2),i=n.round(e,2);return"M-"+r+",-"+t+"V"+t+"L"+i+",0Z"}},"triangle-ne":{n:9,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M-"+r+",-"+t+"H"+t+"V"+r+"Z"}},"triangle-se":{n:10,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M"+t+",-"+r+"V"+t+"H-"+r+"Z"}},"triangle-sw":{n:11,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M"+r+","+t+"H-"+t+"V-"+r+"Z"}},"triangle-nw":{n:12,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M-"+t+","+r+"V-"+t+"H"+r+"Z"}},pentagon:{n:13,f:function(e){var t=n.round(.951*e,2),r=n.round(.588*e,2),i=n.round(-e,2),o=n.round(-.309*e,2),a=n.round(.809*e,2);return"M"+t+","+o+"L"+r+","+a+"H-"+r+"L-"+t+","+o+"L0,"+i+"Z"}},hexagon:{n:14,f:function(e){var t=n.round(e,2),r=n.round(e/2,2),i=n.round(e*Math.sqrt(3)/2,2);return"M"+i+",-"+r+"V"+r+"L0,"+t+"L-"+i+","+r+"V-"+r+"L0,-"+t+"Z"}},hexagon2:{n:15,f:function(e){var t=n.round(e,2),r=n.round(e/2,2),i=n.round(e*Math.sqrt(3)/2,2);return"M-"+r+","+i+"H"+r+"L"+t+",0L"+r+",-"+i+"H-"+r+"L-"+t+",0Z"}},octagon:{n:16,f:function(e){var t=n.round(.924*e,2),r=n.round(.383*e,2);return"M-"+r+",-"+t+"H"+r+"L"+t+",-"+r+"V"+r+"L"+r+","+t+"H-"+r+"L-"+t+","+r+"V-"+r+"Z"}},star:{n:17,f:function(e){var t=1.4*e,r=n.round(.225*t,2),i=n.round(.951*t,2),o=n.round(.363*t,2),a=n.round(.588*t,2),s=n.round(-t,2),l=n.round(-.309*t,2),u=n.round(.118*t,2),c=n.round(.809*t,2),f=n.round(.382*t,2);return"M"+r+","+l+"H"+i+"L"+o+","+u+"L"+a+","+c+"L0,"+f+"L-"+a+","+c+"L-"+o+","+u+"L-"+i+","+l+"H-"+r+"L0,"+s+"Z"}},hexagram:{n:18,f:function(e){var t=n.round(.66*e,2),r=n.round(.38*e,2),i=n.round(.76*e,2);return"M-"+i+",0l-"+r+",-"+t+"h"+i+"l"+r+",-"+t+"l"+r+","+t+"h"+i+"l-"+r+","+t+"l"+r+","+t+"h-"+i+"l-"+r+","+t+"l-"+r+",-"+t+"h-"+i+"Z"}},"star-triangle-up":{n:19,f:function(e){var t=n.round(e*Math.sqrt(3)*.8,2),r=n.round(.8*e,2),i=n.round(1.6*e,2),o=n.round(4*e,2),a="A "+o+","+o+" 0 0 1 ";return"M-"+t+","+r+a+t+","+r+a+"0,-"+i+a+"-"+t+","+r+"Z"}},"star-triangle-down":{n:20,f:function(e){var t=n.round(e*Math.sqrt(3)*.8,2),r=n.round(.8*e,2),i=n.round(1.6*e,2),o=n.round(4*e,2),a="A "+o+","+o+" 0 0 1 ";return"M"+t+",-"+r+a+"-"+t+",-"+r+a+"0,"+i+a+t+",-"+r+"Z"}},"star-square":{n:21,f:function(e){var t=n.round(1.1*e,2),r=n.round(2*e,2),i="A "+r+","+r+" 0 0 1 ";return"M-"+t+",-"+t+i+"-"+t+","+t+i+t+","+t+i+t+",-"+t+i+"-"+t+",-"+t+"Z"}},"star-diamond":{n:22,f:function(e){var t=n.round(1.4*e,2),r=n.round(1.9*e,2),i="A "+r+","+r+" 0 0 1 ";return"M-"+t+",0"+i+"0,"+t+i+t+",0"+i+"0,-"+t+i+"-"+t+",0Z"}},"diamond-tall":{n:23,f:function(e){var t=n.round(.7*e,2),r=n.round(1.4*e,2);return"M0,"+r+"L"+t+",0L0,-"+r+"L-"+t+",0Z"}},"diamond-wide":{n:24,f:function(e){var t=n.round(1.4*e,2),r=n.round(.7*e,2);return"M0,"+r+"L"+t+",0L0,-"+r+"L-"+t+",0Z"}},hourglass:{n:25,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"H-"+t+"L"+t+",-"+t+"H-"+t+"Z"},noDot:!0},bowtie:{n:26,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"V-"+t+"L-"+t+","+t+"V-"+t+"Z"},noDot:!0},"circle-cross":{n:27,f:function(e){var t=n.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(e){var t=n.round(e,2),r=n.round(e/Math.sqrt(2),2);return"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(e){var t=n.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"square-x":{n:30,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(e){var t=n.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM0,-"+t+"V"+t+"M-"+t+",0H"+t},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(e){var t=n.round(1.3*e,2),r=n.round(.65*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM-"+r+",-"+r+"L"+r+","+r+"M-"+r+","+r+"L"+r+",-"+r},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(e){var t=n.round(1.4*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(e){var t=n.round(1.2*e,2),r=n.round(.85*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(e){var t=n.round(e/2,2),r=n.round(e,2);return"M"+t+","+r+"V-"+r+"m-"+r+",0V"+r+"M"+r+","+t+"H-"+r+"m0,-"+r+"H"+r},needLine:!0,noFill:!0},"y-up":{n:37,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),i=n.round(.8*e,2);return"M-"+t+","+i+"L0,0M"+t+","+i+"L0,0M0,-"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),i=n.round(.8*e,2);return"M-"+t+",-"+i+"L0,0M"+t+",-"+i+"L0,0M0,"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),i=n.round(.8*e,2);return"M"+i+","+t+"L0,0M"+i+",-"+t+"L0,0M-"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),i=n.round(.8*e,2);return"M-"+i+","+t+"L0,0M-"+i+",-"+t+"L0,0M"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(e){var t=n.round(1.4*e,2);return"M"+t+",0H-"+t},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(e){var t=n.round(1.4*e,2);return"M0,"+t+"V-"+t},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(e){var t=n.round(e,2);return"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(e){var t=n.round(e,2),r=n.round(2*e,2);return"M0,0L-"+t+","+r+"H"+t+"Z"},noDot:!0},"arrow-down":{n:46,f:function(e){var t=n.round(e,2),r=n.round(2*e,2);return"M0,0L-"+t+",-"+r+"H"+t+"Z"},noDot:!0},"arrow-left":{n:47,f:function(e){var t=n.round(2*e,2),r=n.round(e,2);return"M0,0L"+t+",-"+r+"V"+r+"Z"},noDot:!0},"arrow-right":{n:48,f:function(e){var t=n.round(2*e,2),r=n.round(e,2);return"M0,0L-"+t+",-"+r+"V"+r+"Z"},noDot:!0},"arrow-bar-up":{n:49,f:function(e){var t=n.round(e,2),r=n.round(2*e,2);return"M-"+t+",0H"+t+"M0,0L-"+t+","+r+"H"+t+"Z"},needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(e){var t=n.round(e,2),r=n.round(2*e,2);return"M-"+t+",0H"+t+"M0,0L-"+t+",-"+r+"H"+t+"Z"},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(e){var t=n.round(2*e,2),r=n.round(e,2);return"M0,-"+r+"V"+r+"M0,0L"+t+",-"+r+"V"+r+"Z"},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(e){var t=n.round(2*e,2),r=n.round(e,2);return"M0,-"+r+"V"+r+"M0,0L-"+t+",-"+r+"V"+r+"Z"},needLine:!0,noDot:!0}}},3366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traceTypes=t.categoryLayout=t.chartCategory=void 0;var n=function(e){return{SIMPLE:{value:"SIMPLE",label:e("Simple")},FINANCIAL:{value:"FINANCIAL",label:e("Finance"),maxColumns:1},DISTRIBUTIONS:{value:"DISTRIBUTIONS",label:e("Distributions")},MAPS:{value:"MAPS",label:e("Maps"),maxColumns:1},SPECIALIZED:{value:"SPECIALIZED",label:e("Specialized"),maxColumns:1},THREE_D:{value:"3D",label:e("3D"),maxColumns:1},HIDDEN:{value:"HIDDEN",label:""}}};t.chartCategory=n;var i=function(e){return[n(e).SIMPLE,n(e).DISTRIBUTIONS,n(e).THREE_D,n(e).MAPS,n(e).FINANCIAL,n(e).SPECIALIZED]};t.categoryLayout=i;var o=function(e){return[{value:"scatter",label:e("Scatter"),category:n(e).SIMPLE},{value:"bar",label:e("Bar"),category:n(e).SIMPLE},{value:"line",label:e("Line"),category:n(e).SIMPLE},{value:"area",label:e("Area"),category:n(e).SIMPLE},{value:"heatmap",label:e("Heatmap"),category:n(e).SIMPLE},{value:"table",label:e("Table"),category:n(e).SIMPLE},{value:"contour",label:e("Contour"),category:n(e).SIMPLE},{value:"pie",label:e("Pie"),category:n(e).SIMPLE},{value:"scatter3d",label:e("3D Scatter"),category:n(e).THREE_D},{value:"line3d",label:e("3D Line"),category:n(e).THREE_D},{value:"surface",label:e("3D Surface"),category:n(e).THREE_D},{value:"mesh3d",label:e("3D Mesh"),category:n(e).THREE_D},{value:"cone",label:e("Cone"),category:n(e).THREE_D},{value:"streamtube",label:e("Streamtube"),category:n(e).THREE_D},{value:"box",label:e("Box"),category:n(e).DISTRIBUTIONS},{value:"violin",label:e("Violin"),category:n(e).DISTRIBUTIONS},{value:"histogram",label:e("Histogram"),category:n(e).DISTRIBUTIONS},{value:"histogram2d",label:e("2D Histogram"),category:n(e).DISTRIBUTIONS},{value:"histogram2dcontour",label:e("2D Contour Histogram"),category:n(e).DISTRIBUTIONS},{value:"scattermapbox",label:e("Tile Map"),category:n(e).MAPS},{value:"scattergeo",label:e("Atlas Map"),category:n(e).MAPS},{value:"choroplethmapbox",label:e("Choropleth Tile Map"),category:n(e).MAPS},{value:"choropleth",label:e("Choropleth Atlas Map"),category:n(e).MAPS},{value:"densitymapbox",label:e("Density Tile Map"),category:n(e).MAPS},{value:"scatterpolar",label:e("Polar Scatter"),category:n(e).SPECIALIZED},{value:"barpolar",label:e("Polar Bar"),category:n(e).SPECIALIZED},{value:"scatterternary",label:e("Ternary Scatter"),category:n(e).SPECIALIZED},{value:"sunburst",label:e("Sunburst"),category:n(e).SPECIALIZED},{value:"treemap",label:e("Treemap"),category:n(e).SPECIALIZED},{value:"sankey",label:e("Sankey"),category:n(e).SPECIALIZED},{value:"candlestick",label:e("Candlestick"),category:n(e).FINANCIAL},{value:"ohlc",label:e("OHLC"),category:n(e).FINANCIAL},{value:"waterfall",label:e("Waterfall"),category:n(e).FINANCIAL},{value:"funnel",label:e("Funnel"),category:n(e).FINANCIAL},{value:"funnelarea",label:e("Funnel Area"),category:n(e).FINANCIAL},{value:"scattergl",icon:"scatter",label:e("Scatter"),category:n(e).THREE_D},{value:"scatterpolargl",icon:"scatterpolar",label:e("Polar Scatter"),category:n(e).THREE_D},{value:"heatmapgl",icon:"heatmap",label:e("Heatmap GL"),category:n(e).HIDDEN},{value:"pointcloud",label:e("Point Cloud"),category:n(e).HIDDEN},{value:"parcoords",label:e("Parallel Coordinates"),category:n(e).HIDDEN},{value:"parcats",label:e("Parallel Categories"),category:n(e).HIDDEN},{value:"splom",label:e("Scatterplot Matrix"),category:n(e).HIDDEN},{value:"scattercarpet",label:e("Scatter Carpet"),category:n(e).HIDDEN},{value:"contourcarpet",label:e("Contour Carpet"),category:n(e).HIDDEN},{value:"carpet",label:e("Carpet"),category:n(e).HIDDEN},{value:"isosurface",label:e("Isosurface"),category:n(e).HIDDEN}]};t.traceTypes=o},"33aa":function(e,t,r){"use strict";var n=r("9452"),i=r("24f7"),o=i.Map,a={add:function(e,t,r){return s(e,t,r,!0)},remove:function(e,t,r){return s(e,t,r,!1)}};function s(e,t,r,i){var a=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),f=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===u})).concat(o([[u,a.get(u)]])).map((function(e,t){var o,a;s===u?(o=l,a=c):(o=t===s?l:0,a=t===u?c:e.getLength());var f,p=e.getCharacterList();while(o<a)f=p.get(o),p=p.set(o,i?n.applyStyle(f,r):n.removeStyle(f,r)),o++;return e.set("characterList",p)}));return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports=a},"33ae":function(e,t,r){"use strict";var n=r("f977"),i=["xaxis","yaxis","zaxis"];function o(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}var a=o.prototype;function s(e){var t=new o;return t.merge(e),t}a.merge=function(e){for(var t=0;t<3;++t){var r=e[i[t]];r.visible?(this.enabled[t]=r.showspikes,this.colors[t]=n(r.spikecolor),this.drawSides[t]=r.spikesides,this.lineWidth[t]=r.spikethickness):(this.enabled[t]=!1,this.drawSides[t]=!1)}},e.exports=s},"340d":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"}))};e.exports=s},"342a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("7515")),i=a(r("ab5b")),o=a(r("a935"));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var f=o.default.map((function(e,t){var r=e.path,n=i.default.createElement("svg",{width:"40",height:"20",style:{position:"relative"}},i.default.createElement("line",{stroke:"rgb(68, 68, 68)",style:{fill:"none"},x1:"5",y1:"10",x2:"23.8",y2:"10",strokeWidth:"2"}),i.default.createElement("path",{d:r,transform:"translate(23.8,10)rotate(360)scale(2)",style:{fill:"rgb(68, 68, 68)",opacity:1,strokeWidth:0}}));return{label:n,value:t,key:"arrow"+t}})),p=function(e){return i.default.createElement(n.default,c({},e,{options:f}))};p.propTypes=l({},n.default.propTypes),p.defaultProps={clearable:!1};var d=p;t.default=d},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},3473:function(e,t,r){"use strict";var n=r("91e3");e.exports=function(e){if(!n(e))throw new TypeError(e+" is not iterable");return e}},"348d":function(e,t,r){"use strict";var n=r("1590"),i=r("43ef"),o=r("f4e9"),a=r("9092").extendFlat;e.exports=a({x:n.x,y:n.y,z:n.z,marker:n.marker,histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:n.xbins,nbinsy:n.nbinsy,ybins:n.ybins,autobinx:n.autobinx,autobiny:n.autobiny,bingroup:n.bingroup,xbingroup:n.xbingroup,ybingroup:n.ybingroup,autocontour:i.autocontour,ncontours:i.ncontours,contours:i.contours,line:{color:i.line.color,width:a({},i.line.width,{dflt:.5,description:"Sets the contour line width in (in px)"}),dash:i.line.dash,smoothing:i.line.smoothing,editType:"plot"},zhoverformat:n.zhoverformat,hovertemplate:n.hovertemplate},o("",{cLetter:"z",editTypeOverride:"calc"}))},"34ac":function(e,t,r){var n=r("9520"),i=r("1368e"),o=r("1a8c"),a=r("dc57"),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,p=c.hasOwnProperty,d=RegExp("^"+f.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){if(!o(e)||i(e))return!1;var t=n(e)?d:l;return t.test(a(e))}e.exports=h},"34cc":function(e,t){var r={toPolygon:function(e,t){function r(t){if(t.length<=0)return e.segments({inverted:!1,regions:[]});function r(t){var r=t.slice(0,t.length-1);return e.segments({inverted:!1,regions:[r]})}for(var n=r(t[0]),i=1;i<t.length;i++)n=e.selectDifference(e.combine(n,r(t[i])));return n}if("Polygon"===t.type)return e.polygon(r(t.coordinates));if("MultiPolygon"===t.type){for(var n=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)n=e.selectUnion(e.combine(n,r(t.coordinates[i])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){function n(e,r){return t.pointInsideRegion([.5*(e[0][0]+e[1][0]),.5*(e[0][1]+e[1][1])],r)}function i(e){return{region:e,children:[]}}r=e.polygon(e.segments(r));var o=i(null);function a(e,t){for(var r=0;r<e.children.length;r++){var o=e.children[r];if(n(t,o.region))return void a(o,t)}var s=i(t);for(r=0;r<e.children.length;r++){o=e.children[r];n(o.region,t)&&(s.children.push(o),e.children.splice(r,1),r--)}e.children.push(s)}for(var s=0;s<r.regions.length;s++){var l=r.regions[s];l.length<3||a(o,l)}function u(e,t){for(var r=0,n=e[e.length-1][0],i=e[e.length-1][1],o=[],a=0;a<e.length;a++){var s=e[a][0],l=e[a][1];o.push([s,l]),r+=l*n-s*i,n=s,i=l}var u=r<0;return u!==t&&o.reverse(),o.push([o[0][0],o[0][1]]),o}var c=[];function f(e){var t=[u(e.region,!1)];c.push(t);for(var r=0;r<e.children.length;r++)t.push(p(e.children[r]))}function p(e){for(var t=0;t<e.children.length;t++)f(e.children[t]);return u(e.region,!0)}for(s=0;s<o.children.length;s++)f(o.children[s]);return c.length<=0?{type:"Polygon",coordinates:[]}:1==c.length?{type:"Polygon",coordinates:c[0]}:{type:"MultiPolygon",coordinates:c}}};e.exports=r},"34d8":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("e806").BADNUM,s=r("c791"),l=r("93a6").clearMinTextSize;function u(e,t,r,s){var l=t.xaxis,u=t.yaxis;i.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),c=r[0].trace,p=i.ensureSingle(s,"g","regions");if(c.connector&&c.connector.visible){var d="h"===c.orientation,h=p.selectAll("g.region").data(i.identity);h.enter().append("g").classed("region",!0),h.exit().remove();var v=h.size();h.each((function(r,s){if(s===v-1||r.cNext){var c=f(r,l,u,d),p=c[0],h=c[1],m="";p[0]!==a&&h[0]!==a&&p[1]!==a&&h[1]!==a&&p[2]!==a&&h[2]!==a&&p[3]!==a&&h[3]!==a&&(m+=d?"M"+p[0]+","+h[1]+"L"+p[2]+","+h[2]+"H"+p[3]+"L"+p[1]+","+h[1]+"Z":"M"+p[1]+","+h[1]+"L"+p[2]+","+h[3]+"V"+h[2]+"L"+p[1]+","+h[0]+"Z"),""===m&&(m="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",m).call(o.setClipUrl,t.layerClipId,e)}}))}else p.remove()}))}function c(e,t,r,a){var s=t.xaxis,l=t.yaxis;i.makeTraceGroups(a,r,"trace bars").each((function(r){var a=n.select(this),u=r[0].trace,c=i.ensureSingle(a,"g","lines");if(u.connector&&u.connector.visible&&u.connector.line.width){var p="h"===u.orientation,d=c.selectAll("g.line").data(i.identity);d.enter().append("g").classed("line",!0),d.exit().remove();var h=d.size();d.each((function(r,a){if(a===h-1||r.cNext){var u=f(r,s,l,p),c=u[0],d=u[1],v="";void 0!==c[3]&&void 0!==d[3]&&(p?(v+="M"+c[0]+","+d[1]+"L"+c[2]+","+d[2],v+="M"+c[1]+","+d[1]+"L"+c[3]+","+d[2]):(v+="M"+c[1]+","+d[1]+"L"+c[2]+","+d[3],v+="M"+c[1]+","+d[0]+"L"+c[2]+","+d[2])),""===v&&(v="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",v).call(o.setClipUrl,t.layerClipId,e)}}))}else c.remove()}))}function f(e,t,r,n){var i=[],o=[],a=n?t:r,s=n?r:t;return i[0]=a.c2p(e.s0,!0),o[0]=s.c2p(e.p0,!0),i[1]=a.c2p(e.s1,!0),o[1]=s.c2p(e.p1,!0),i[2]=a.c2p(e.nextS0,!0),o[2]=s.c2p(e.nextP0,!0),i[3]=a.c2p(e.nextS1,!0),o[3]=s.c2p(e.nextP1,!0),n?[i,o]:[o,i]}e.exports=function(e,t,r,n){var i=e._fullLayout;l("funnel",i),u(e,t,r,n),c(e,t,r,n),s.plot(e,t,r,n,{mode:i.funnelmode,norm:i.funnelmode,gap:i.funnelgap,groupgap:i.funnelgroupgap})}},"34f9":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("a651").arrayEditor;function a(e,t){var r=l(e,t);return r.on.length>0||r.explicitOff.length>0}function s(e,t){var r,a,s=l(e,t),u=s.on,c=s.off.concat(s.explicitOff),f={},p=e._fullLayout.annotations;if(u.length||c.length){for(r=0;r<u.length;r++)a=o(e.layout,"annotations",p[u[r]]),a.modifyItem("visible",!0),n.extendFlat(f,a.getUpdateObj());for(r=0;r<c.length;r++)a=o(e.layout,"annotations",p[c[r]]),a.modifyItem("visible",!1),n.extendFlat(f,a.getUpdateObj());return i.call("update",e,{},f)}}function l(e,t){var r,n,i,o,a,s,l,c,f=e._fullLayout.annotations,p=[],d=[],h=[],v=(t||[]).length;for(r=0;r<f.length;r++)if(i=f[r],o=i.clicktoshow,o){for(n=0;n<v;n++)if(a=t[n],s=a.xaxis,l=a.yaxis,s._id===i.xref&&l._id===i.yref&&s.d2r(a.x)===u(i._xclick,s)&&l.d2r(a.y)===u(i._yclick,l)){c=i.visible?"onout"===o?d:h:p,c.push(r);break}n===v&&i.visible&&"onout"===o&&d.push(r)}return{on:p,off:d,explicitOff:h}}function u(e,t){return"log"===t.type?t.l2r(e):t.d2r(e)}e.exports={hasClickToShow:a,onClick:s}},3505:function(e,t,r){"use strict";var n={isImage:function(e){return"image"===i(e)[0]},isJpeg:function(e){var t=i(e);return n.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function i(e){return e.split("/")}e.exports=n},3511:function(e,t,r){"use strict";var n=r("fc26"),i=r("11ab"),o=r("bc6b");e.exports=function(e,t,r){for(var a="constraint"===e.type?i[e._operation](e.value):e,s=a.size,l=[],u=o(a),c=r.trace._carpetTrace,f=c?{xaxis:c.aaxis,yaxis:c.baxis,x:r.a,y:r.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y},p=a.start;p<u;p+=s)if(l.push(n.extendFlat({level:p,crossings:{},starts:[],edgepaths:[],paths:[],z:r.z,smoothing:r.trace.line.smoothing},f)),l.length>1e3){n.warn("Too many contours, clipping at 1000",e);break}return l}},"351b":function(e,t,r){"use strict";var n=r("19b2"),i=r("f6b0");e.exports=function(e,t,r,o){t=t||{};var a="log"===r&&"linear"===t.type,s="linear"===r&&"log"===t.type;if(a||s)for(var l,u,c=e._fullLayout.annotations,f=t._id.charAt(0),p=0;p<c.length;p++)l=c[p],u="annotations["+p+"].",l[f+"ref"]===t._id&&d(f),l["a"+f+"ref"]===t._id&&d("a"+f);function d(e){var r=l[e],s=null;s=a?i(r,t.range):Math.pow(10,r),n(s)||(s=null),o(u+e,s)}}},3560:function(e,t,r){"use strict";e.exports=O;var n=r("cea5"),i=r("a48a"),o=r("b83d"),a=o.partial,s=o.full,l=r("97e2"),u=r("158b"),c=r("8e58"),f=128,p=1<<22,d=1<<22,h=c("!(lo>=p0)&&!(p1>=hi)",["p0","p1"]),v=c("lo===p0",["p0"]),m=c("lo<p0",["p0"]),g=c("hi<=p0",["p0"]),y=c("lo<=p0&&p0<=hi",["p0"]),b=c("lo<p0&&p0<=hi",["p0"]),x=6,A=2,w=1024,_=n.mallocInt32(w),E=n.mallocDouble(w);function k(e,t){var r=8*i.log2(t+1)*(e+1)|0,o=i.nextPow2(x*r);_.length<o&&(n.free(_),_=n.mallocInt32(o));var a=i.nextPow2(A*r);E.length<a&&(n.free(E),E=n.mallocDouble(a))}function T(e,t,r,n,i,o,a,s,l){var u=x*e;_[u]=t,_[u+1]=r,_[u+2]=n,_[u+3]=i,_[u+4]=o,_[u+5]=a;var c=A*e;E[c]=s,E[c+1]=l}function C(e,t,r,n,i,o,a,s,l,u,c){var f=2*e,p=l*f,d=u[p+t];e:for(var h=i,v=i*f;h<o;++h,v+=f){var m=a[v+t],g=a[v+t+e];if(!(d<m||g<d)&&(!n||d!==m)){for(var y,b=s[h],x=t+1;x<e;++x){m=a[v+x],g=a[v+x+e];var A=u[p+x],w=u[p+x+e];if(g<A||w<m)continue e}if(y=n?r(c,b):r(b,c),void 0!==y)return y}}}function S(e,t,r,n,i,o,a,s,l,u){var c=2*e,f=s*c,p=l[f+t];e:for(var d=n,h=n*c;d<i;++d,h+=c){var v=a[d];if(v!==u){var m=o[h+t],g=o[h+t+e];if(!(p<m||g<p)){for(var y=t+1;y<e;++y){m=o[h+y],g=o[h+y+e];var b=l[f+y],x=l[f+y+e];if(g<b||x<m)continue e}var A=r(v,u);if(void 0!==A)return A}}}}function O(e,t,r,n,i,o,c,w,O){k(e,n+c);var M,P=0,B=2*e;T(P++,0,0,n,0,c,r?16:0,-1/0,1/0),r||T(P++,0,0,c,0,n,1,-1/0,1/0);while(P>0){P-=1;var L=P*x,D=_[L],I=_[L+1],j=_[L+2],R=_[L+3],F=_[L+4],N=_[L+5],z=P*A,U=E[z],H=E[z+1],V=1&N,Q=!!(16&N),W=i,K=o,q=w,G=O;if(V&&(W=w,K=O,q=i,G=o),!(2&N&&(j=m(e,D,I,j,W,K,H),I>=j))&&!(4&N&&(I=g(e,D,I,j,W,K,U),I>=j))){var $=j-I,Y=F-R;if(Q){if(e*$*($+Y)<d){if(M=l.scanComplete(e,D,t,I,j,W,K,R,F,q,G),void 0!==M)return M;continue}}else{if(e*Math.min($,Y)<f){if(M=a(e,D,t,V,I,j,W,K,R,F,q,G),void 0!==M)return M;continue}if(e*$*Y<p){if(M=l.scanBipartite(e,D,t,V,I,j,W,K,R,F,q,G),void 0!==M)return M;continue}}var X=h(e,D,I,j,W,K,U,H);if(I<X)if(e*(X-I)<f){if(M=s(e,D+1,t,I,X,W,K,R,F,q,G),void 0!==M)return M}else if(D===e-2){if(M=V?l.sweepBipartite(e,t,R,F,q,G,I,X,W,K):l.sweepBipartite(e,t,I,X,W,K,R,F,q,G),void 0!==M)return M}else T(P++,D+1,I,X,R,F,V,-1/0,1/0),T(P++,D+1,R,F,I,X,1^V,-1/0,1/0);if(X<j){var Z=u(e,D,R,F,q,G),J=q[B*Z+D],ee=v(e,D,Z,F,q,G,J);if(ee<F&&T(P++,D,X,j,ee,F,(4|V)+(Q?16:0),J,H),R<Z&&T(P++,D,X,j,R,Z,(2|V)+(Q?16:0),U,J),Z+1===ee){if(M=Q?S(e,D,t,X,j,W,K,Z,q,G[Z]):C(e,D,t,V,X,j,W,K,Z,q,G[Z]),void 0!==M)return M}else if(Z<ee){var te;if(Q){if(te=y(e,D,X,j,W,K,J),X<te){var re=v(e,D,X,te,W,K,J);if(D===e-2){if(X<re&&(M=l.sweepComplete(e,t,X,re,W,K,Z,ee,q,G),void 0!==M))return M;if(re<te&&(M=l.sweepBipartite(e,t,re,te,W,K,Z,ee,q,G),void 0!==M))return M}else X<re&&T(P++,D+1,X,re,Z,ee,16,-1/0,1/0),re<te&&(T(P++,D+1,re,te,Z,ee,0,-1/0,1/0),T(P++,D+1,Z,ee,re,te,1,-1/0,1/0))}}else te=V?b(e,D,X,j,W,K,J):y(e,D,X,j,W,K,J),X<te&&(D===e-2?M=V?l.sweepBipartite(e,t,Z,ee,q,G,X,te,W,K):l.sweepBipartite(e,t,X,te,W,K,Z,ee,q,G):(T(P++,D+1,X,te,Z,ee,V,-1/0,1/0),T(P++,D+1,Z,ee,X,te,1^V,-1/0,1/0)))}}}}}},"35a1":function(e,t,r){var n=r("f5df"),i=r("3f8c"),o=r("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[n(e)]}},"35b1":function(e,t,r){"use strict";var n=r("c2ef"),i=6;function o(e){for(var t="robustLinearSolve"+e+"d",r=["function ",t,"(A,b){return ["],i=0;i<e;++i){r.push("det([");for(var o=0;o<e;++o){o>0&&r.push(","),r.push("[");for(var a=0;a<e;++a)a>0&&r.push(","),a===i?r.push("+b[",o,"]"):r.push("+A[",o,"][",a,"]");r.push("]")}r.push("]),")}r.push("det(A)]}return ",t);var s=new Function("det",r.join(""));return s(e<6?n[e]:n)}function a(){return[0]}function s(e,t){return[[t[0]],[e[0][0]]]}var l=[a,s];function u(){while(l.length<i)l.push(o(l.length));for(var t=[],r=["function dispatchLinearSolve(A,b){switch(A.length){"],n=0;n<i;++n)t.push("s"+n),r.push("case ",n,":return s",n,"(A,b);");r.push("}var s=CACHE[A.length];if(!s)s=CACHE[A.length]=g(A.length);return s(A,b)}return dispatchLinearSolve"),t.push("CACHE","g",r.join(""));var a=Function.apply(void 0,t);e.exports=a.apply(void 0,l.concat([l,o]));for(n=0;n<i;++n)e.exports[n]=l[n]}u()},"35e5":function(e,t,r){"use strict";var n=r("53a5");function i(e,t){null==t&&(t=!0);var r=e[0],i=e[1],o=e[2],a=e[3];null==a&&(a=t?1:255),t&&(r*=255,i*=255,o*=255,a*=255),r=255&n(r,0,255),i=255&n(i,0,255),o=255&n(o,0,255),a=255&n(a,0,255);var s=16777216*r+(i<<16)+(o<<8)+a;return s}function o(e,t){e=+e;var r=e>>>24,n=(16711680&e)>>>16,i=(65280&e)>>>8,o=255&e;return!1===t?[r,n,i,o]:[r/255,n/255,i/255,o/255]}e.exports=i,e.exports.to=i,e.exports.from=o},3601:function(e,t,r){"use strict";var n=/-(.)/g;function i(e){return e.replace(n,(function(e,t){return t.toUpperCase()}))}e.exports=i},3642:function(e,t,r){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===n.call(e)&&(t=Object.getPrototypeOf(e),null===t||t===Object.getPrototypeOf({}))}},3698:function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},"369b":function(e,t,r){var n,i,o;
|
||
/* @license
|
||
Papa Parse
|
||
v5.3.1
|
||
https://github.com/mholt/PapaParse
|
||
License: MIT
|
||
*/!function(r,a){i=[],n=a,o="function"===typeof n?n.apply(t,i):n,void 0===o||(e.exports=o)}(0,(function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,n=r&&/blob:/i.test((t.location||{}).protocol),i={},o=0,a={parse:function(r,n){var s=(n=n||{}).dynamicTyping||!1;if(A(s)&&(n.dynamicTypingFunction=s,s={}),n.dynamicTyping=s,n.transform=!!A(n.transform)&&n.transform,n.worker&&a.WORKERS_SUPPORTED){var l=function(){if(!a.WORKERS_SUPPORTED)return!1;var r,n,s=(r=t.URL||t.webkitURL||null,n=e.toString(),a.BLOB_URL||(a.BLOB_URL=r.createObjectURL(new Blob(["(",n,")();"],{type:"text/javascript"})))),l=new t.Worker(s);return l.onmessage=m,l.id=o++,i[l.id]=l}();return l.userStep=n.step,l.userChunk=n.chunk,l.userComplete=n.complete,l.userError=n.error,n.step=A(n.step),n.chunk=A(n.chunk),n.complete=A(n.complete),n.error=A(n.error),delete n.worker,void l.postMessage({input:r,config:n,workerId:l.id})}var d=null;return a.NODE_STREAM_INPUT,"string"==typeof r?d=n.download?new u(n):new f(n):!0===r.readable&&A(r.read)&&A(r.on)?d=new p(n):(t.File&&r instanceof File||r instanceof Object)&&(d=new c(n)),d.stream(r)},unparse:function(e,t){var r=!1,n=!0,i=",",o="\r\n",s='"',l=s+s,u=!1,c=null,f=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(i=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(s=t.quoteChar),"boolean"==typeof t.header&&(n=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");c=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+s),"boolean"==typeof t.escapeFormulae&&(f=t.escapeFormulae)}}();var p=new RegExp(h(s),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return d(null,e,u);if("object"==typeof e[0])return d(c||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),d(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function d(e,t,r){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var s=Array.isArray(e)&&0<e.length,l=!Array.isArray(t[0]);if(s&&n){for(var u=0;u<e.length;u++)0<u&&(a+=i),a+=v(e[u],u);0<t.length&&(a+=o)}for(var c=0;c<t.length;c++){var f=s?e.length:t[c].length,p=!1,d=s?0===Object.keys(t[c]).length:0===t[c].length;if(r&&!s&&(p="greedy"===r?""===t[c].join("").trim():1===t[c].length&&0===t[c][0].length),"greedy"===r&&s){for(var h=[],m=0;m<f;m++){var g=l?e[m]:m;h.push(t[c][g])}p=""===h.join("").trim()}if(!p){for(var y=0;y<f;y++){0<y&&!d&&(a+=i);var b=s&&l?e[y]:y;a+=v(t[c][b],y)}c<t.length-1&&(!r||0<f&&!d)&&(a+=o)}}return a}function v(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);!0===f&&"string"==typeof e&&null!==e.match(/^[=+\-@].*$/)&&(e="'"+e);var n=e.toString().replace(p,l),o="boolean"==typeof r&&r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||function(e,t){for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1}(n,a.BAD_DELIMITERS)||-1<n.indexOf(i)||" "===n.charAt(0)||" "===n.charAt(n.length-1);return o?s+n+s:n}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=v,a.ParserHandle=d,a.NetworkStreamer=u,a.FileStreamer=c,a.StringStreamer=f,a.ReadableStreamStreamer=p,t.jQuery){var s=t.jQuery;s.fn.parse=function(e){var r=e.config||{},n=[];return this.each((function(e){if("INPUT"!==s(this).prop("tagName").toUpperCase()||"file"!==s(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)n.push({file:this.files[i],inputElem:this,instanceConfig:s.extend({},r)})})),i(),this;function i(){if(0!==n.length){var t,r,i,l,u=n[0];if(A(e.before)){var c=e.before(u.file,u.inputElem);if("object"==typeof c){if("abort"===c.action)return t="AbortError",r=u.file,i=u.inputElem,l=c.reason,void(A(e.error)&&e.error({name:t},r,i,l));if("skip"===c.action)return void o();"object"==typeof c.config&&(u.instanceConfig=s.extend(u.instanceConfig,c.config))}else if("skip"===c)return void o()}var f=u.instanceConfig.complete;u.instanceConfig.complete=function(e){A(f)&&f(e,u.file,u.inputElem),o()},a.parse(u.file,u.instanceConfig)}else A(e.complete)&&e.complete()}function o(){n.splice(0,1),i()}}}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new d(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,r){if(this.isFirstChunk&&A(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i)}this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+e;this._partialLine="";var s=this._handle.parse(o,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var l=s.meta.cursor;this._finished||(this._partialLine=o.substring(l-this._baseIndex),this._baseIndex=l),s&&s.data&&(this._rowCount+=s.data.length);var u=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(n)t.postMessage({results:s,workerId:a.WORKER_ID,finished:u});else if(A(this._config.chunk)&&!r){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);s=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!u||!A(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),u||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){A(this._config.error)?this._config.error(e):n&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var n in e)t.setRequestHeader(n,e[n])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var r=t.statusText||e;this._sendError(new Error(r))}}function c(e){var t,r;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var n="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,n?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var i=Math.min(this._start+this._config.chunkSize,this._input.size);e=r.call(e,this._start,i)}var o=t.readAsText(e,this._config.encoding);n||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,r=this._config.chunkSize;return r?(e=t.substring(0,r),t=t.substring(r)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],r=!0,n=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),n=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function d(e){var t,r,n,i=Math.pow(2,53),o=-i,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,u=this,c=0,f=0,p=!1,d=!1,m=[],g={data:[],errors:[],meta:{}};if(A(e.step)){var y=e.step;e.step=function(t){if(g=t,_())w();else{if(w(),0===g.data.length)return;c+=t.data.length,e.preview&&c>e.preview?r.abort():(g.data=g.data[0],y(g,u))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){if(g&&n&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),e.skipEmptyLines)for(var t=0;t<g.data.length;t++)x(g.data[t])&&g.data.splice(t--,1);return _()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;_()&&t<g.data.length;t++)g.data[t].forEach(r);g.data.splice(0,1)}else g.data.forEach(r);function r(t,r){A(e.transformHeader)&&(t=e.transformHeader(t,r)),m.push(t)}}(),function(){if(!g||!e.header&&!e.dynamicTyping&&!e.transform)return g;function t(t,r){var n,i=e.header?{}:[];for(n=0;n<t.length;n++){var o=n,a=t[n];e.header&&(o=n>=m.length?"__parsed_extra":m[n]),e.transform&&(a=e.transform(a,o)),a=E(o,a),"__parsed_extra"===o?(i[o]=i[o]||[],i[o].push(a)):i[o]=a}return e.header&&(n>m.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+n,f+r):n<m.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+n,f+r)),i}var r=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),r=g.data.length):g.data=t(g.data,0),e.header&&g.meta&&(g.meta.fields=m),f+=r,g}()}function _(){return e.header&&0===m.length}function E(t,r){return n=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[n]&&(e.dynamicTyping[n]=e.dynamicTypingFunction(n)),!0===(e.dynamicTyping[n]||e.dynamicTyping)?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&(function(e){if(s.test(e)){var t=parseFloat(e);if(o<t&&t<i)return!0}return!1}(r)?parseFloat(r):l.test(r)?new Date(r):""===r?null:r):r;var n}function k(e,t,r,n){var i={type:e,code:t,message:r};void 0!==n&&(i.row=n),g.errors.push(i)}this.parse=function(i,o,s){var l=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var r=new RegExp(h(t)+"([^]*?)"+h(t),"gm"),n=(e=e.replace(r,"")).split("\r"),i=e.split("\n"),o=1<i.length&&i[0].length<n[0].length;if(1===n.length||o)return"\n";for(var a=0,s=0;s<n.length;s++)"\n"===n[s][0]&&a++;return a>=n.length/2?"\r\n":"\r"}(i,l)),n=!1,e.delimiter)A(e.delimiter)&&(e.delimiter=e.delimiter(i),g.meta.delimiter=e.delimiter);else{var u=function(t,r,n,i,o){var s,l,u,c;o=o||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var f=0;f<o.length;f++){var p=o[f],d=0,h=0,m=0;u=void 0;for(var g=new v({comments:i,delimiter:p,newline:r,preview:10}).parse(t),y=0;y<g.data.length;y++)if(n&&x(g.data[y]))m++;else{var b=g.data[y].length;h+=b,void 0!==u?0<b&&(d+=Math.abs(b-u),u=b):u=b}0<g.data.length&&(h/=g.data.length-m),(void 0===l||d<=l)&&(void 0===c||c<h)&&1.99<h&&(l=d,s=p,c=h)}return{successful:!!(e.delimiter=s),bestDelimiter:s}}(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);u.successful?e.delimiter=u.bestDelimiter:(n=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter}var c=b(e);return e.preview&&e.header&&c.preview++,t=i,r=new v(c),g=r.parse(t,o,s),w(),p?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,r.abort(),t=A(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){u.streamer._halted?(p=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return d},this.abort=function(){d=!0,r.abort(),g.meta.aborted=!0,A(e.complete)&&e.complete(g),t=""}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(e){var t,r=(e=e||{}).delimiter,n=e.newline,i=e.comments,o=e.step,s=e.preview,l=e.fastMode,u=t=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(u=e.escapeChar),("string"!=typeof r||-1<a.BAD_DELIMITERS.indexOf(r))&&(r=","),i===r)throw new Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var c=0,f=!1;this.parse=function(e,a,p){if("string"!=typeof e)throw new Error("Input must be a string");var d=e.length,v=r.length,m=n.length,g=i.length,y=A(o),b=[],x=[],w=[],_=c=0;if(!e)return j();if(l||!1!==l&&-1===e.indexOf(t)){for(var E=e.split(n),k=0;k<E.length;k++){if(w=E[k],c+=w.length,k!==E.length-1)c+=n.length;else if(p)return j();if(!i||w.substring(0,g)!==i){if(y){if(b=[],B(w.split(r)),R(),f)return j()}else B(w.split(r));if(s&&s<=k)return b=b.slice(0,s),j(!0)}}return j()}for(var T=e.indexOf(r,c),C=e.indexOf(n,c),S=new RegExp(h(u)+h(t),"g"),O=e.indexOf(t,c);;)if(e[c]!==t)if(i&&0===w.length&&e.substring(c,c+g)===i){if(-1===C)return j();c=C+m,C=e.indexOf(n,c),T=e.indexOf(r,c)}else if(-1!==T&&(T<C||-1===C))w.push(e.substring(c,T)),c=T+v,T=e.indexOf(r,c);else{if(-1===C)break;if(w.push(e.substring(c,C)),I(C+m),y&&(R(),f))return j();if(s&&b.length>=s)return j(!0)}else for(O=c,c++;;){if(-1===(O=e.indexOf(t,O+1)))return p||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:c}),D();if(O===d-1)return D(e.substring(c,O).replace(S,t));if(t!==u||e[O+1]!==u){if(t===u||0===O||e[O-1]!==u){-1!==T&&T<O+1&&(T=e.indexOf(r,O+1)),-1!==C&&C<O+1&&(C=e.indexOf(n,O+1));var M=L(-1===C?T:Math.min(T,C));if(e[O+1+M]===r){w.push(e.substring(c,O).replace(S,t)),e[c=O+1+M+v]!==t&&(O=e.indexOf(t,c)),T=e.indexOf(r,c),C=e.indexOf(n,c);break}var P=L(C);if(e.substring(O+1+P,O+1+P+m)===n){if(w.push(e.substring(c,O).replace(S,t)),I(O+1+P+m),T=e.indexOf(r,c),O=e.indexOf(t,c),y&&(R(),f))return j();if(s&&b.length>=s)return j(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:b.length,index:c}),O++}}else O++}return D();function B(e){b.push(e),_=c}function L(t){var r=0;if(-1!==t){var n=e.substring(O+1,t);n&&""===n.trim()&&(r=n.length)}return r}function D(t){return p||(void 0===t&&(t=e.substring(c)),w.push(t),c=d,B(w),y&&R()),j()}function I(t){c=t,B(w),w=[],C=e.indexOf(n,c)}function j(e){return{data:b,errors:x,meta:{delimiter:r,linebreak:n,aborted:f,truncated:!!e,cursor:_+(a||0)}}}function R(){o(j()),b=[],x=[]}},this.abort=function(){f=!0},this.getCharIndex=function(){return c}}function m(e){var t=e.data,r=i[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){n=!0,g(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(A(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},o),!n);a++);delete t.results}else A(r.userChunk)&&(r.userChunk(t.results,o,t.file),delete t.results)}t.finished&&!n&&g(t.workerId,t.results)}function g(e,t){var r=i[e];A(r.userComplete)&&r.userComplete(t),r.terminate(),delete i[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var r in e)t[r]=b(e[r]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function A(e){return"function"==typeof e}return n&&(t.onmessage=function(e){var r=e.data;if(void 0===a.WORKER_ID&&r&&(a.WORKER_ID=r.workerId),"string"==typeof r.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(r.input,r.config),finished:!0});else if(t.File&&r.input instanceof File||r.input instanceof Object){var n=a.parse(r.input,r.config);n&&t.postMessage({workerId:a.WORKER_ID,results:n,finished:!0})}}),(u.prototype=Object.create(l.prototype)).constructor=u,(c.prototype=Object.create(l.prototype)).constructor=c,(f.prototype=Object.create(f.prototype)).constructor=f,(p.prototype=Object.create(l.prototype)).constructor=p,a}))},"36ad":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=f(i),a=r("fc55"),s=f(a),l=r("2f06"),u=c(l);function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Checkboard=function(e){var t=e.white,r=e.grey,a=e.size,l=e.renderers,c=e.borderRadius,f=e.boxShadow,p=e.children,d=(0,s.default)({default:{grid:{borderRadius:c,boxShadow:f,absolute:"0px 0px 0px 0px",background:"url("+u.get(t,r,a,l.canvas)+") center left"}}});return(0,i.isValidElement)(p)?o.default.cloneElement(p,n({},p.props,{style:n({},p.props.style,d.grid)})):o.default.createElement("div",{style:d.grid})};p.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=p},"36cc":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("ab5b")),o=l(r("d7bc")),a=l(r("4d26")),s=r("8704");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(e){var n;return f(this,r),n=t.call(this,e),n.state={isOpen:!1},n.togglePanel=n.togglePanel.bind(y(n)),n}return d(r,[{key:"shouldComponentUpdate",value:function(e,t){var r=this.props,n=r.markerColor,i=r.borderColor,o=e.markerColor,a=e.borderColor;return this.props.value!==e.value||this.state.isOpen!==t.isOpen||n!==o||i!==a}},{key:"togglePanel",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"renderActiveOption",value:function(){var e=this.props,t=e.markerColor,r=e.borderColor,n=e.symbolOptions,o=e.value,a=n.find((function(e){return e.value===o}));if(!a)return i.default.createElement("span",{style:{paddingTop:"5px",paddingLeft:"15px"}},"-");var s={stroke:"none"===a.fill?t:r,strokeOpacity:"1",strokeWidth:"2px",fill:"none"===a.fill?"none":t};return i.default.createElement("span",null,i.default.createElement("svg",{width:"18",height:"18"},i.default.createElement("g",{transform:"translate(8,8)"},i.default.createElement("path",{d:a.label,style:s}))))}},{key:"renderOptions",value:function(){var e=this,t=this.props,r=t.markerColor,n=t.borderColor,o=t.symbolOptions;return o.map((function(t){var o=t.fill,a=t.value,s=t.label,l={stroke:"none"===o?r:n,strokeOpacity:"1",strokeWidth:"2px",fill:"none"===o?"none":r};return i.default.createElement("div",{className:"symbol-selector__item",key:a,onClick:function(){return e.props.onChange(a)}},i.default.createElement("svg",{width:"28",height:"28",className:"symbol-selector__symbol","data-value":a},i.default.createElement("g",{transform:"translate(14,14)"},i.default.createElement("path",{d:s,style:l}))))}))}},{key:"render",value:function(){var e=this.state.isOpen,t=(0,a.default)("symbol-selector__toggle",{"symbol-selector__toggle--dark":this.props.backgroundDark});return i.default.createElement("div",null,i.default.createElement("div",{className:t,onClick:this.togglePanel},i.default.createElement("span",{className:"symbol-selector__toggle_option"},this.renderActiveOption()),i.default.createElement("span",null,i.default.createElement(s.CarretDownIcon,{className:"symbol-selector__toggle__caret"}))),e&&this.renderOptions())}}]),r}(i.Component);t.default=A,A.propTypes={backgroundDark:o.default.bool,markerColor:o.default.string,borderColor:o.default.string,value:o.default.string,onChange:o.default.func,symbolOptions:o.default.array}},"36ea":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("e806").BADNUM,s=r("c791"),l=r("93a6").clearMinTextSize;function u(e,t,r,s){var l=t.xaxis,u=t.yaxis;i.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),f=r[0].trace,p=i.ensureSingle(s,"g","lines");if(f.connector&&f.connector.visible){var d="h"===f.orientation,h=f.connector.mode,v=p.selectAll("g.line").data(i.identity);v.enter().append("g").classed("line",!0),v.exit().remove();var m=v.size();v.each((function(r,s){if(s===m-1||r.cNext){var f=c(r,l,u,d),p=f[0],v=f[1],g="";p[0]!==a&&v[0]!==a&&p[1]!==a&&v[1]!==a&&("spanning"===h&&!r.isSum&&s>0&&(g+=d?"M"+p[0]+","+v[1]+"V"+v[0]:"M"+p[1]+","+v[0]+"H"+p[0]),"between"!==h&&(r.isSum||s<m-1)&&(g+=d?"M"+p[1]+","+v[0]+"V"+v[1]:"M"+p[0]+","+v[1]+"H"+p[1]),p[2]!==a&&v[2]!==a&&(g+=d?"M"+p[1]+","+v[1]+"V"+v[2]:"M"+p[1]+","+v[1]+"H"+p[2])),""===g&&(g="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",g).call(o.setClipUrl,t.layerClipId,e)}}))}else p.remove()}))}function c(e,t,r,n){var i=[],o=[],a=n?t:r,s=n?r:t;return i[0]=a.c2p(e.s0,!0),o[0]=s.c2p(e.p0,!0),i[1]=a.c2p(e.s1,!0),o[1]=s.c2p(e.p1,!0),i[2]=a.c2p(e.nextS0,!0),o[2]=s.c2p(e.nextP0,!0),n?[i,o]:[o,i]}e.exports=function(e,t,r,n){var i=e._fullLayout;l("waterfall",i),s.plot(e,t,r,n,{mode:i.waterfallmode,norm:i.waterfallmode,gap:i.waterfallgap,groupgap:i.waterfallgroupgap}),u(e,t,r,n)}},"36fc":function(e,t,r){"use strict";var n=r("60dc"),i=r("fc26").extendFlat;e.exports={violinmode:i({},n.boxmode,{description:["Determines how violins at the same location coordinate","are displayed on the graph.","If *group*, the violins are plotted next to one another","centered around the shared location.","If *overlay*, the violins are plotted over one another,","you might need to set *opacity* to see them multiple violins.","Has no effect on traces that have *width* set."].join(" ")}),violingap:i({},n.boxgap,{description:["Sets the gap (in plot fraction) between violins of","adjacent location coordinates.","Has no effect on traces that have *width* set."].join(" ")}),violingroupgap:i({},n.boxgroupgap,{description:["Sets the gap (in plot fraction) between violins of","the same location coordinate.","Has no effect on traces that have *width* set."].join(" ")})}},"371e":function(e,t,r){"use strict";var n=r("ae13"),i=r("b778"),o=r("5a1b"),a=r("1385"),s=r("1b88").addStyleRule,l=r("9092"),u=r("a876"),c=r("a685"),f=l.extendFlat,p=l.extendDeepAll;function d(e){var r=e.name,i=e.categories,o=e.meta;if(t.modules[r])n.log("Type "+r+" already registered");else{t.subplotsRegistry[e.basePlotModule.name]||h(e.basePlotModule);for(var a={},l=0;l<i.length;l++)a[i[l]]=!0,t.allCategories[i[l]]=!0;for(var u in t.modules[r]={_module:e,categories:a},o&&Object.keys(o).length&&(t.modules[r].meta=o),t.allTypes.push(r),t.componentsRegistry)b(u,r);e.layoutAttributes&&f(t.traceLayoutAttributes,e.layoutAttributes);var c=e.basePlotModule,p=c.name;if("mapbox"===p){var d=c.constants.styleRules;for(var v in d)s(".js-plotly-plot .plotly .mapboxgl-"+v,d[v])}"geo"!==p&&"mapbox"!==p||void 0===typeof window||void 0!==window.PlotlyGeoAssets||(window.PlotlyGeoAssets={topojson:{}})}}function h(e){var r=e.name;if(t.subplotsRegistry[r])n.log("Plot type "+r+" already registered.");else for(var i in y(e),t.subplotsRegistry[r]=e,t.componentsRegistry)A(i,e.name)}function v(e){if("string"!==typeof e.name)throw new Error("Component module *name* must be a string.");var r=e.name;for(var n in t.componentsRegistry[r]=e,e.layoutAttributes&&(e.layoutAttributes._isLinkedToArray&&o(t.layoutArrayContainers,r),y(e)),t.modules)b(r,n);for(var i in t.subplotsRegistry)A(r,i);for(var a in t.transformsRegistry)x(r,a);e.schema&&e.schema.layout&&p(c,e.schema.layout)}function m(e){if("string"!==typeof e.name)throw new Error("Transform module *name* must be a string.");var r="Transform module "+e.name,i="function"===typeof e.transform,o="function"===typeof e.calcTransform;if(!i&&!o)throw new Error(r+" is missing a *transform* or *calcTransform* method.");for(var s in i&&o&&n.log([r+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),a(e.attributes)||n.log(r+" registered without an *attributes* object."),"function"!==typeof e.supplyDefaults&&n.log(r+" registered without a *supplyDefaults* method."),t.transformsRegistry[e.name]=e,t.componentsRegistry)x(s,e.name)}function g(e){var r=e.name,n=r.split("-")[0],i=e.dictionary,o=e.format,a=i&&Object.keys(i).length,s=o&&Object.keys(o).length,l=t.localeRegistry,u=l[r];if(u||(l[r]=u={}),n!==r){var c=l[n];c||(l[n]=c={}),a&&c.dictionary===u.dictionary&&(c.dictionary=i),s&&c.format===u.format&&(c.format=o)}a&&(u.dictionary=i),s&&(u.format=o)}function y(e){if(e.layoutAttributes){var r=e.layoutAttributes._arrayAttrRegexps;if(r)for(var n=0;n<r.length;n++)o(t.layoutArrayRegexes,r[n])}}function b(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.traces){var i=n.traces[r];i&&p(t.modules[r]._module.attributes,i)}}function x(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.transforms){var i=n.transforms[r];i&&p(t.transformsRegistry[r].attributes,i)}}function A(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.subplots){var i=t.subplotsRegistry[r],o=i.layoutAttributes,a="subplot"===i.attr?i.name:i.attr;Array.isArray(a)&&(a=a[0]);var s=n.subplots[a];o&&s&&p(o,s)}}function w(e){return"object"===typeof e&&(e=e.type),e}t.modules={},t.allCategories={},t.allTypes=[],t.subplotsRegistry={},t.transformsRegistry={},t.componentsRegistry={},t.layoutArrayContainers=[],t.layoutArrayRegexes=[],t.traceLayoutAttributes={},t.localeRegistry={},t.apiMethodRegistry={},t.collectableSubplotTypes=null,t.register=function(e){if(t.collectableSubplotTypes=null,!e)throw new Error("No argument passed to Plotly.register.");e&&!Array.isArray(e)&&(e=[e]);for(var r=0;r<e.length;r++){var n=e[r];if(!n)throw new Error("Invalid module was attempted to be registered!");switch(n.moduleType){case"trace":d(n);break;case"transform":m(n);break;case"component":v(n);break;case"locale":g(n);break;case"apiMethod":var i=n.name;t.apiMethodRegistry[i]=n.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},t.getModule=function(e){var r=t.modules[w(e)];return!!r&&r._module},t.traceIs=function(e,r){if(e=w(e),"various"===e)return!1;var i=t.modules[e];return i||(e&&"area"!==e&&n.log("Unrecognized trace type "+e+"."),i=t.modules[u.type.dflt]),!!i.categories[r]},t.getTransformIndices=function(e,t){for(var r=[],n=e.transforms||[],i=0;i<n.length;i++)n[i].type===t&&r.push(i);return r},t.hasTransform=function(e,t){for(var r=e.transforms||[],n=0;n<r.length;n++)if(r[n].type===t)return!0;return!1},t.getComponentMethod=function(e,r){var n=t.componentsRegistry[e];return n&&n[r]||i},t.call=function(){var e=arguments[0],r=[].slice.call(arguments,1);return t.apiMethodRegistry[e].apply(null,r)}},"371e3":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("00a3"),a=r("8164"),s={currentBlockContainsLink:function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=r.getEntityMap();return r.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===n.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,r){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=n.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),r=i.push(e,t,"insert-characters");return i.forceSelection(r,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var r=e.getCurrentContent(),n=t.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var a=r.getBlockMap()["delete"](o.getKey()),l=r.merge({blockMap:a,selectionAfter:t});if(l!==r)return i.push(e,l,"remove-range")}var u=s.tryToRemoveBlockStyle(e);return u?i.push(e,u,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var r=e.getCurrentContent(),o=t.getStartKey(),a=r.getBlockForKey(o),s=a.getLength();if(t.getStartOffset()<s)return null;var l=r.getBlockAfter(o);if(!l||"atomic"!==l.getType())return null;var u=t.merge({focusKey:l.getKey(),focusOffset:l.getLength()}),c=n.removeRange(r,u,"forward");return c!==r?i.push(e,c,"remove-range"):null},onTab:function(e,t,r){var n=t.getSelection(),a=n.getAnchorKey();if(a!==n.getFocusKey())return t;var s=t.getCurrentContent(),l=s.getBlockForKey(a),u=l.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;e.preventDefault();var c=l.getDepth();if(!e.shiftKey&&c===r)return t;var f=o(s,n,e.shiftKey?-1:1,r);return i.push(t,f,"adjust-depth")},toggleBlockType:function(e,t){var r=e.getSelection(),o=r.getStartKey(),s=r.getEndKey(),l=e.getCurrentContent(),u=r;if(o!==s&&0===r.getEndOffset()){var c=a(l.getBlockBefore(s));s=c.getKey(),u=u.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:s,focusOffset:c.getLength(),isBackward:!1})}var f=l.getBlockMap().skipWhile((function(e,t){return t!==o})).reverse().skipWhile((function(e,t){return t!==s})).some((function(e){return"atomic"===e.getType()}));if(f)return e;var p=l.getBlockForKey(o).getType()===t?"unstyled":t;return i.push(e,n.setBlockType(l,u,p),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),r=t.getAnchorKey(),n=t.getFocusKey();return t.isCollapsed()||r!==n?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var r=e.getSelection(),o=e.getCurrentInlineStyle();if(r.isCollapsed())return i.setInlineStyleOverride(e,o.has(t)?o.remove(t):o.add(t));var a,s=e.getCurrentContent();return a=o.has(t)?n.removeInlineStyle(s,r,t):n.applyInlineStyle(s,r,t),i.push(e,a,"change-inline-style")},toggleLink:function(e,t,r){var o=n.applyEntity(e.getCurrentContent(),t,r);return i.push(e,o,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),r=t.getAnchorOffset();if(t.isCollapsed()&&0===r){var i=t.getAnchorKey(),o=e.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType(),l=o.getBlockBefore(i);if("code-block"===s&&l&&"code-block"===l.getType()&&0!==l.getLength())return null;if("unstyled"!==s)return n.setBlockType(o,t,"unstyled")}return null}};e.exports=s},3729:function(e,t,r){var n=r("9e69"),i=r("00fd"),o=r("29f3"),a="[object Null]",s="[object Undefined]",l=n?n.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}e.exports=u},"372f":function(e,t,r){"use strict";e.exports=r("1735")},"375c":function(e,t,r){"use strict";e.exports="undefined"!==typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},"37bf":function(e,t,r){"use strict";var n=r("fc26").isArray1D;e.exports=function(e,t,r){var i=r("x"),o=i&&i.length,a=r("y"),s=a&&a.length;if(!o&&!s)return!1;if(t._cheater=!i,o&&!n(i)||s&&!n(a))t._length=null;else{var l=o?i.length:1/0;s&&(l=Math.min(l,a.length)),t.a&&t.a.length&&(l=Math.min(l,t.a.length)),t.b&&t.b.length&&(l=Math.min(l,t.b.length)),t._length=l}return!0}},"37cc":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=s(r("4d26"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(e){var n;return c(this,r),n=t.call(this,e),n.state={activeOption:n.props.activeOption},n.handleChange=n.handleChange.bind(g(n)),n.renderOption=n.renderOption.bind(g(n)),n}return p(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.activeOption!==this.state.activeOption&&this.setState({activeOption:e.activeOption})}},{key:"handleChange",value:function(e){this.setState({activeOption:e}),this.props.onOptionChange(e)}},{key:"renderOption",value:function(e){var t=this,r=e.label,n=e.value,o=e.icon,s=this.state.activeOption===n,l=(0,a.default)("radio-block__option",{"radio-block__option--active":s});return i.default.createElement("div",{className:l,key:n,checked:s,onClick:function(){return t.handleChange(n)}},o?i.default.createElement(o,{className:"radio-block__icon"}):null,r?i.default.createElement("span",null,r):null)}},{key:"render",value:function(){var e=this.props.options.map(this.renderOption),t=(0,a.default)("radio-block","radio-block__group",{"radio-block__group--center":"center"===this.props.alignment});return i.default.createElement("div",{className:t},e)}}]),r}(i.Component);x.propTypes={options:o.default.arrayOf(o.default.shape({value:o.default.oneOfType([o.default.string,o.default.bool,o.default.number]).isRequired,label:o.default.string,icon:o.default.oneOfType([o.default.node,o.default.func]),disabled:o.default.bool})),onOptionChange:o.default.func.isRequired,activeOption:o.default.oneOfType([o.default.string,o.default.bool,o.default.number]),radioClassName:o.default.string,alignment:o.default.string};var A=x;t.default=A},"37cd":function(e,t,r){var n=r("7831");function i(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=0|+(r||0),Array.isArray(e)&&e[0]&&"number"===typeof e[0][0]){var i,o,a,s,l=e[0].length,u=e.length*l;t&&"string"!==typeof t||(t=new(n(t||"float32"))(u+r));var c=t.length-r;if(u!==c)throw new Error("source length "+u+" ("+l+"x"+e.length+") does not match destination length "+c);for(i=0,a=r;i<e.length;i++)for(o=0;o<l;o++)t[a++]=null===e[i][o]?NaN:e[i][o]}else if(t&&"string"!==typeof t)t.set(e,r);else{var f=n(t||"float32");if(Array.isArray(e)||"array"===t)for(t=new f(e.length+r),i=0,a=r,s=t.length;a<s;a++,i++)t[a]=null===e[i]?NaN:e[i];else 0===r?t=new f(e):(t=new f(e.length+r),t.set(e,r))}return t}e.exports=i},"37d1":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("3c1c");e.exports=function(e){return function(t,r){var a=t[e];if(Array.isArray(a))for(var s=n.subplotsRegistry.cartesian,l=s.idRegex,u=r._subplots,c=u.xaxis,f=u.yaxis,p=u.cartesian,d=r._has("cartesian")||r._has("gl2d"),h=0;h<a.length;h++){var v=a[h];if(i.isPlainObject(v)){var m=o.cleanId(v.xref,"x",!1),g=o.cleanId(v.yref,"y",!1),y=l.x.test(m),b=l.y.test(g);if(y||b){d||i.pushUnique(r._basePlotModules,s);var x=!1;y&&-1===c.indexOf(m)&&(c.push(m),x=!0),b&&-1===f.indexOf(g)&&(f.push(g),x=!0),x&&y&&b&&p.push(m+g)}}}}}},"37e3":function(e,t,r){"use strict";e.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *stack*, the bars are stacked on top of one another","With *relative*, the bars are stacked on top of one another,","with negative values below the axis, positive values above","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Sets the normalization for bar traces on the graph.","With *fraction*, the value of each bar is divided by the sum of all","values at that location coordinate.","*percent* is the same but multiplied by 100 to show percentages."].join(" ")},bargap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},bargroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},"37e8":function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("825a"),a=r("df75");e.exports=n?Object.defineProperties:function(e,t){o(e);var r,n=a(t),s=n.length,l=0;while(s>l)i.f(e,r=n[l++],t[r]);return e}},3802:function(e,t,r){"use strict";var n=r("d115"),i=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r,o){var a=!1;if(t.marker){var s=t.marker.color,l=(t.marker.line||{}).color;s&&!i(s)?a=s:l&&!i(l)&&(a=l)}o("fillcolor",n.addOpacity((t.line||{}).color||a||r,.5))}},3818:function(e,t,r){var n=r("7e64"),i=r("8057"),o=r("32b3"),a=r("5b01"),s=r("0f0f"),l=r("e5383"),u=r("4359"),c=r("54eb"),f=r("1041"),p=r("a994"),d=r("1bac"),h=r("42a2"),v=r("c87c"),m=r("c2b6"),g=r("fa21"),y=r("6747"),b=r("0d24"),x=r("cc45"),A=r("1a8c"),w=r("d7ee"),_=r("ec69"),E=r("9934"),k=1,T=2,C=4,S="[object Arguments]",O="[object Array]",M="[object Boolean]",P="[object Date]",B="[object Error]",L="[object Function]",D="[object GeneratorFunction]",I="[object Map]",j="[object Number]",R="[object Object]",F="[object RegExp]",N="[object Set]",z="[object String]",U="[object Symbol]",H="[object WeakMap]",V="[object ArrayBuffer]",Q="[object DataView]",W="[object Float32Array]",K="[object Float64Array]",q="[object Int8Array]",G="[object Int16Array]",$="[object Int32Array]",Y="[object Uint8Array]",X="[object Uint8ClampedArray]",Z="[object Uint16Array]",J="[object Uint32Array]",ee={};function te(e,t,r,O,M,P){var B,I=t&k,j=t&T,F=t&C;if(r&&(B=M?r(e,O,M,P):r(e)),void 0!==B)return B;if(!A(e))return e;var N=y(e);if(N){if(B=v(e),!I)return u(e,B)}else{var z=h(e),U=z==L||z==D;if(b(e))return l(e,I);if(z==R||z==S||U&&!M){if(B=j||U?{}:g(e),!I)return j?f(e,s(B,e)):c(e,a(B,e))}else{if(!ee[z])return M?e:{};B=m(e,z,I)}}P||(P=new n);var H=P.get(e);if(H)return H;P.set(e,B),w(e)?e.forEach((function(n){B.add(te(n,t,r,n,e,P))})):x(e)&&e.forEach((function(n,i){B.set(i,te(n,t,r,i,e,P))}));var V=F?j?d:p:j?E:_,Q=N?void 0:V(e);return i(Q||e,(function(n,i){Q&&(i=n,n=e[i]),o(B,i,te(n,t,r,i,e,P))})),B}ee[S]=ee[O]=ee[V]=ee[Q]=ee[M]=ee[P]=ee[W]=ee[K]=ee[q]=ee[G]=ee[$]=ee[I]=ee[j]=ee[R]=ee[F]=ee[N]=ee[z]=ee[U]=ee[Y]=ee[X]=ee[Z]=ee[J]=!0,ee[B]=ee[L]=ee[H]=!1,e.exports=te},3835:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return l}));r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0");function i(e,t){var r=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done);a=!0)if(o.push(n.value),t&&o.length===t)break}catch(l){s=!0,i=l}finally{try{a||null==r["return"]||r["return"]()}finally{if(s)throw i}}return o}}r("fb6a"),r("b0c0"),r("a630");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){return n(e)||i(e,t)||a(e,t)||s()}},"388d":function(e,t,r){"use strict";e.exports=r("feb0")},"38bc":function(e,t,r){"use strict";function n(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}e.exports=n},"38d4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M1.313 19.313c0 1.5 1.188 2.688 2.688 2.688s2.688-1.188 2.688-2.688c0-1.438-1.188-2.625-2.688-2.625s-2.688 1.188-2.688 2.625zM9.313 8c0 1.5 1.188 2.688 2.688 2.688S14.689 9.5 14.689 8c0-1.5-1.188-2.688-2.688-2.688S9.313 6.5 9.313 8zm16 4.688c0 1.438 1.188 2.625 2.688 2.625s2.688-1.188 2.688-2.625c0-1.5-1.188-2.688-2.688-2.688s-2.688 1.188-2.688 2.688zm-8 11.312c0 1.5 1.188 2.688 2.688 2.688S22.689 25.5 22.689 24c0-1.5-1.188-2.688-2.688-2.688S17.313 22.5 17.313 24zM32 22.688L0 13.313v-4l32 9.375z"}))};t.default=u},"38eb":function(e,t,r){var n=r("e98f"),i=n("./triangle-vertex.glsl"),o=n("./triangle-fragment.glsl"),a=n("./edge-vertex.glsl"),s=n("./edge-fragment.glsl"),l=n("./point-vertex.glsl"),u=n("./point-fragment.glsl"),c=n("./pick-vertex.glsl"),f=n("./pick-fragment.glsl"),p=n("./pick-point-vertex.glsl"),d=n("./contour-vertex.glsl"),h=n("./contour-fragment.glsl");t.meshShader={vertex:i,fragment:o,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.wireShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},t.pointShader={vertex:l,fragment:u,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},t.pickShader={vertex:c,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},t.pointPickShader={vertex:p,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},t.contourShader={vertex:d,fragment:h,attributes:[{name:"position",type:"vec3"}]}},"391b":function(e,t,r){"use strict";var n=r("fc26"),i=r("a5c4"),o=r("371e"),a=r("feed"),s=r("d115"),l=n.fillText;e.exports=function(e,t,r,u){var c=e.cd,f=c[0].trace,p=e.xa,d=e.ya,h=p.c2p(t),v=d.c2p(r),m=[h,v],g=f.hoveron||"",y=-1!==f.mode.indexOf("markers")?3:.5;if(-1!==g.indexOf("points")){var b=function(e){var t=Math.max(3,e.mrc||0),r=1-1/t,n=Math.abs(p.c2p(e.x)-h),i=n<t?r*n/t:n-t+r;return i},x=function(e){var t=Math.max(3,e.mrc||0),r=1-1/t,n=Math.abs(d.c2p(e.y)-v);return n<t?r*n/t:n-t+r},A=function(e){var t=Math.max(y,e.mrc||0),r=p.c2p(e.x)-h,n=d.c2p(e.y)-v;return Math.max(Math.sqrt(r*r+n*n)-t,1-y/t)},w=i.getDistanceFunction(u,b,x,A);if(i.getClosest(c,w,e),!1!==e.index){var _=c[e.index],E=p.c2p(_.x,!0),k=d.c2p(_.y,!0),T=_.mrc||1;e.index=_.i;var C=c[0].t.orientation,S=C&&(_.sNorm||_.s),O="h"===C?S:void 0!==_.orig_x?_.orig_x:_.x,M="v"===C?S:void 0!==_.orig_y?_.orig_y:_.y;return n.extendFlat(e,{color:a(f,_),x0:E-T,x1:E+T,xLabelVal:O,y0:k-T,y1:k+T,yLabelVal:M,spikeDistance:A(_),hovertemplate:f.hovertemplate}),l(_,f,e),o.getComponentMethod("errorbars","hoverInfo")(_,f,e),[e]}}if(-1!==g.indexOf("fills")&&f._polygons){var P,B,L,D,I,j,R,F,N,z=f._polygons,U=[],H=!1,V=1/0,Q=-1/0,W=1/0,K=-1/0;for(P=0;P<z.length;P++)L=z[P],L.contains(m)&&(H=!H,U.push(L),W=Math.min(W,L.ymin),K=Math.max(K,L.ymax));if(H){W=Math.max(W,0),K=Math.min(K,d._length);var q=(W+K)/2;for(P=0;P<U.length;P++)for(D=U[P].pts,B=1;B<D.length;B++)F=D[B-1][1],N=D[B][1],F>q!==N>=q&&(j=D[B-1][0],R=D[B][0],N-F&&(I=j+(R-j)*(q-F)/(N-F),V=Math.min(V,I),Q=Math.max(Q,I)));V=Math.max(V,0),Q=Math.min(Q,p._length);var G=s.defaultLine;return s.opacity(f.fillcolor)?G=f.fillcolor:s.opacity((f.line||{}).color)&&(G=f.line.color),n.extendFlat(e,{distance:e.maxHoverDistance,x0:V,x1:Q,y0:q,y1:q,color:G,hovertemplate:!1}),delete e.index,f.text&&!Array.isArray(f.text)?e.text=String(f.text):e.text=f.name,[e]}}}},3932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M23 23v16m4 0h-8m8-16h-8m-8-12v24m4 0H7m8-24H7m28-2v24m4 0h-8m8-24h-8",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"#25fdfc",d:"M8 18h6v10H8z"}),o.default.createElement("path",{d:"M13 19v8H9v-8h4m2-2H7v12h8V17z",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 29h6v4h-6z"}),o.default.createElement("path",{d:"M25 30v2h-4v-2h4m2-2h-8v6h8v-6z",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"#25fdfc",d:"M32 14h6v14h-6z"}),o.default.createElement("path",{d:"M37 15v12h-4V15h4m2-2h-8v16h8V13z",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M38 21h-6m-18 1H8",strokeMiterlimit:"10",strokeWidth:"2"}))};t.default=u},3936:function(e,t,r){"use strict";var n=r("86b8");function i(e,t){return n.calc(e,t)}function o(e){n.crossTraceCalc(e,{type:"funnelarea"})}e.exports={calc:i,crossTraceCalc:o}},"39ab":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M28 11H4c-1 0-2 1-2 2v14c0 1 1 2 2 2h24c1 0 2-1 2-2V13c0-1-1-2-2-2zm-6.375 6.625c0 1-1 2-2 2H12c-1 0-2-1-2-2V17c0-1 1-2 2-2h7.625c1 0 2 1 2 2zM30 3H2C1 3 0 4 0 5v4h32V5c0-1-1-2-2-2z"}))};t.default=u},"39f0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ArrowSelector:!0,AxesSelector:!0,ColorPicker:!0,ColorscalePicker:!0,PieColorscalePicker:!0,ColorwayPicker:!0,ColorArrayPicker:!0,Dropdown:!0,Dropzone:!0,FontSelector:!0,Flaglist:!0,Info:!0,Radio:!0,TextEditor:!0,DataSelector:!0,Numeric:!0,NumericOrDate:!0,DualNumeric:!0,AxisRangeValue:!0,Text:!0,SymbolSelector:!0,TraceSelector:!0,ErrorBars:!0,AxesCreator:!0,SubplotCreator:!0,GroupCreator:!0,UpdateMenuButtons:!0,FilterOperation:!0,FilterValue:!0,MarkerSize:!0,MarkerColor:!0,VisibilitySelect:!0,DropdownCustom:!0,MultiColorPicker:!0,RectanglePositioner:!0,LocationSelector:!0,AxisInterval:!0,DateTimePicker:!0,TextPosition:!0,HoverLabelNameLength:!0};Object.defineProperty(t,"ArrowSelector",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"AxesSelector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ColorPicker",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ColorscalePicker",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"PieColorscalePicker",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ColorwayPicker",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ColorArrayPicker",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Dropzone",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"FontSelector",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Flaglist",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Info",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Radio",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"TextEditor",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"DataSelector",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Numeric",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"NumericOrDate",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"DualNumeric",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"AxisRangeValue",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"SymbolSelector",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"TraceSelector",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"ErrorBars",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"AxesCreator",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"SubplotCreator",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"GroupCreator",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"UpdateMenuButtons",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"FilterOperation",{enumerable:!0,get:function(){return P.FilterOperation}}),Object.defineProperty(t,"FilterValue",{enumerable:!0,get:function(){return P.FilterValue}}),Object.defineProperty(t,"MarkerSize",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"MarkerColor",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"VisibilitySelect",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"DropdownCustom",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"MultiColorPicker",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"RectanglePositioner",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"LocationSelector",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"AxisInterval",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"DateTimePicker",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"TextPosition",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"HoverLabelNameLength",{enumerable:!0,get:function(){return H.default}});var i=W(r("342a")),o=W(r("ad54")),a=W(r("bbf7")),s=W(r("b74c")),l=W(r("be7d")),u=W(r("622c")),c=W(r("df88")),f=W(r("7515")),p=W(r("603a")),d=W(r("b646")),h=W(r("7d2f")),v=W(r("88e7")),m=W(r("e518")),g=W(r("d1bf")),y=W(r("76fe")),b=W(r("134d")),x=W(r("7592")),A=W(r("c7db")),w=W(r("7916")),_=W(r("090e")),E=W(r("8370")),k=W(r("78399")),T=W(r("8b0e")),C=W(r("1d67")),S=W(r("cb8a")),O=W(r("937b")),M=W(r("431e")),P=r("0714"),B=W(r("3253")),L=W(r("cc1a8")),D=W(r("6bd2")),I=W(r("1fb3")),j=W(r("fe58")),R=W(r("58b7")),F=W(r("b092")),N=W(r("79e5")),z=W(r("3cb6")),U=W(r("e1c7")),H=W(r("706c")),V=r("e688");Object.keys(V).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===V[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}}))}));var Q=r("eae8");function W(e){return e&&e.__esModule?e:{default:e}}Object.keys(Q).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===Q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}}))}))},"39ff":function(e,t,r){var n=r("0b07"),i=r("2b3e"),o=n(i,"WeakMap");e.exports=o},"3a04":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){var r=t._scene,i={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},o={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return t._scene||(r=t._scene={},r.init=function(){n.extendFlat(r,o,i)},r.init(),r.update=function(e){var t=n.repeat(e,r.count);if(r.fill2d&&r.fill2d.update(t),r.scatter2d&&r.scatter2d.update(t),r.line2d&&r.line2d.update(t),r.error2d&&r.error2d.update(t.concat(t)),r.select2d&&r.select2d.update(t),r.glText)for(var i=0;i<r.count;i++)r.glText[i].update(e)},r.draw=function(){for(var e=r.count,t=r.fill2d,i=r.error2d,o=r.line2d,a=r.scatter2d,s=r.glText,l=r.select2d,u=r.selectBatch,c=r.unselectBatch,f=0;f<e;f++){if(t&&r.fillOrder[f]&&t.draw(r.fillOrder[f]),o&&r.lineOptions[f]&&o.draw(f),i&&(r.errorXOptions[f]&&i.draw(f),r.errorYOptions[f]&&i.draw(f+e)),a&&r.markerOptions[f])if(c[f].length){var p=n.repeat([],r.count);p[f]=c[f],a.draw(p)}else u[f].length||a.draw(f);s[f]&&r.textOptions[f]&&s[f].render()}l&&l.draw(u),r.dirty=!1},r.destroy=function(){r.fill2d&&r.fill2d.destroy&&r.fill2d.destroy(),r.scatter2d&&r.scatter2d.destroy&&r.scatter2d.destroy(),r.error2d&&r.error2d.destroy&&r.error2d.destroy(),r.line2d&&r.line2d.destroy&&r.line2d.destroy(),r.select2d&&r.select2d.destroy&&r.select2d.destroy(),r.glText&&r.glText.forEach((function(e){e.destroy&&e.destroy()})),r.lineOptions=null,r.fillOptions=null,r.markerOptions=null,r.markerSelectedOptions=null,r.markerUnselectedOptions=null,r.errorXOptions=null,r.errorYOptions=null,r.textOptions=null,r.textSelectedOptions=null,r.textUnselectedOptions=null,r.selectBatch=null,r.unselectBatch=null,t._scene=null}),r.dirty||n.extendFlat(r,i),r}},"3a19":function(e,t){function r(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e}e.exports=r},"3a3b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var n=r("ab5b"),i=f(n),o=r("d7bc"),a=f(o),s=r("fc55"),l=f(s),u=r("42454"),c=f(u);function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Raised=function(e){var t=e.zDepth,r=e.radius,n=e.background,o=e.children,a=e.styles,s=void 0===a?{}:a,u=(0,l.default)((0,c.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:n}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return i.default.createElement("div",{style:u.wrap},i.default.createElement("div",{style:u.bg}),i.default.createElement("div",{style:u.content},o))};p.propTypes={background:a.default.string,zDepth:a.default.oneOf([0,1,2,3,4,5]),radius:a.default.number,styles:a.default.object},p.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=p},"3a55":function(e,t,r){"use strict";e.exports=i;var n=r("b530");function i(e,t){var r=[];return t=+t||0,n(e.hi(e.shape[0]-1),r,t),r}},"3a99":function(e,t,r){var n=r("6e58"),i=r("fc26"),o=i.extendDeepAll,a=r("63dc").MID_SHIFT,s=e.exports={version:"0.2.2"};s.Axis=function(){var e,t,r,i,l={data:[],layout:{}},u={},c={},f=n.dispatch("hover"),p={};function d(u){t=u||t;var f=l.data,d=l.layout;return("string"==typeof t||t.nodeName)&&(t=n.select(t)),t.datum(f).each((function(t,l){var u=t.slice();c={data:s.util.cloneJson(u),layout:s.util.cloneJson(d)};var f=0;u.forEach((function(e,t){e.color||(e.color=d.defaultColorRange[f],f=(f+1)%d.defaultColorRange.length),e.strokeColor||(e.strokeColor="LinePlot"===e.geometry?e.color:n.rgb(e.color).darker().toString()),c.data[t].color=e.color,c.data[t].strokeColor=e.strokeColor,c.data[t].strokeDash=e.strokeDash,c.data[t].strokeSize=e.strokeSize}));var p=u.filter((function(e,t){var r=e.visible;return"undefined"===typeof r||!0===r})),h=!1,v=p.map((function(e,t){return h=h||"undefined"!==typeof e.groupId,e}));if(h){var m=n.nest().key((function(e,t){return"undefined"!=typeof e.groupId?e.groupId:"unstacked"})).entries(v),g=[],y=m.map((function(e,t){if("unstacked"===e.key)return e.values;var r=e.values[0].r.map((function(e,t){return 0}));return e.values.forEach((function(e,t,n){e.yStack=[r],g.push(r),r=s.util.sumArrays(e.r,r)})),e.values}));p=n.merge(y)}p.forEach((function(e,t){e.t=Array.isArray(e.t[0])?e.t:[e.t],e.r=Array.isArray(e.r[0])?e.r:[e.r]}));var b=Math.min(d.width-d.margin.left-d.margin.right,d.height-d.margin.top-d.margin.bottom)/2;b=Math.max(10,b);var x,A=[d.margin.left+b,d.margin.top+b];if(h){var w=n.max(s.util.sumArrays(s.util.arrayLast(p).r[0],s.util.arrayLast(g)));x=[0,w]}else x=n.extent(s.util.flattenArray(p.map((function(e,t){return e.r}))));d.radialAxis.domain!=s.DATAEXTENT&&(x[0]=0),r=n.scale.linear().domain(d.radialAxis.domain!=s.DATAEXTENT&&d.radialAxis.domain?d.radialAxis.domain:x).range([0,b]),c.layout.radialAxis.domain=r.domain();var _,E=s.util.flattenArray(p.map((function(e,t){return e.t}))),k="string"===typeof E[0];k&&(E=s.util.deduplicate(E),_=E.slice(),E=n.range(E.length),p=p.map((function(e,t){var r=e;return e.t=[E],h&&(r.yStack=e.yStack),r})));var T=p.filter((function(e,t){return"LinePlot"===e.geometry||"DotPlot"===e.geometry})).length===p.length,C=null===d.needsEndSpacing?k||!T:d.needsEndSpacing,S=d.angularAxis.domain&&d.angularAxis.domain!=s.DATAEXTENT&&!k&&d.angularAxis.domain[0]>=0,O=S?d.angularAxis.domain:n.extent(E),M=Math.abs(E[1]-E[0]);T&&!k&&(M=0);var P=O.slice();C&&k&&(P[1]+=M);var B=d.angularAxis.ticksCount||4;B>8&&(B=B/(B/8)+B%8),d.angularAxis.ticksStep&&(B=(P[1]-P[0])/B);var L=d.angularAxis.ticksStep||(P[1]-P[0])/(B*(d.minorTicks+1));_&&(L=Math.max(Math.round(L),1)),P[2]||(P[2]=L);var D=n.range.apply(this,P);if(D=D.map((function(e,t){return parseFloat(e.toPrecision(12))})),i=n.scale.linear().domain(P.slice(0,2)).range("clockwise"===d.direction?[0,360]:[360,0]),c.layout.angularAxis.domain=i.domain(),c.layout.angularAxis.endPadding=C?M:0,e=n.select(this).select("svg.chart-root"),"undefined"===typeof e||e.empty()){var I="<svg xmlns='http://www.w3.org/2000/svg' class='chart-root'>' + '<g class='outer-group'>' + '<g class='chart-group'>' + '<circle class='background-circle'></circle>' + '<g class='geometry-group'></g>' + '<g class='radial axis-group'>' + '<circle class='outside-circle'></circle>' + '</g>' + '<g class='angular axis-group'></g>' + '<g class='guides-group'><line></line><circle r='0'></circle></g>' + '</g>' + '<g class='legend-group'></g>' + '<g class='tooltips-group'></g>' + '<g class='title-group'><text></text></g>' + '</g>' + '</svg>",j=(new DOMParser).parseFromString(I,"application/xml"),R=this.appendChild(this.ownerDocument.importNode(j.documentElement,!0));e=n.select(R)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var F,N=e.select(".chart-group"),z={fill:"none",stroke:d.tickColor},U={"font-size":d.font.size,"font-family":d.font.family,fill:d.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+d.font.outlineColor})).join(",")};if(d.showLegend){F=e.select(".legend-group").attr({transform:"translate("+[b,d.margin.top]+")"}).style({display:"block"});var H=p.map((function(e,t){var r=s.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend="undefined"===typeof e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));s.Legend().config({data:p.map((function(e,t){return e.name||"Element"+t})),legendConfig:o({},s.Legend.defaultConfig().legendConfig,{container:F,elements:H,reverseOrder:d.legend.reverseOrder})})();var V=F.node().getBBox();b=Math.min(d.width-V.width-d.margin.left-d.margin.right,d.height-d.margin.top-d.margin.bottom)/2,b=Math.max(10,b),A=[d.margin.left+b,d.margin.top+b],r.range([0,b]),c.layout.radialAxis.domain=r.domain(),F.attr("transform","translate("+[A[0]+b,A[1]-b]+")")}else F=e.select(".legend-group").style({display:"none"});e.attr({width:d.width,height:d.height}).style({opacity:d.opacity}),N.attr("transform","translate("+A+")").style({cursor:"crosshair"});var Q=[(d.width-(d.margin.left+d.margin.right+2*b+(V?V.width:0)))/2,(d.height-(d.margin.top+d.margin.bottom+2*b))/2];if(Q[0]=Math.max(0,Q[0]),Q[1]=Math.max(0,Q[1]),e.select(".outer-group").attr("transform","translate("+Q+")"),d.title&&d.title.text){var W=e.select("g.title-group text").style(U).text(d.title.text),K=W.node().getBBox();W.attr({x:A[0]-K.width/2,y:A[1]-b-20})}var q=e.select(".radial.axis-group");if(d.radialAxis.gridLinesVisible){var G=q.selectAll("circle.grid-circle").data(r.ticks(5));G.enter().append("circle").attr({class:"grid-circle"}).style(z),G.attr("r",r),G.exit().remove()}q.select("circle.outside-circle").attr({r:b}).style(z);var $=e.select("circle.background-circle").attr({r:b}).style({fill:d.backgroundColor,stroke:d.stroke});function Y(e,t){return i(e)%360+d.orientation}if(d.radialAxis.visible){var X=n.svg.axis().scale(r).ticks(5).tickSize(5);q.call(X).attr({transform:"rotate("+d.radialAxis.orientation+")"}),q.selectAll(".domain").style(z),q.selectAll("g>text").text((function(e,t){return this.textContent+d.radialAxis.ticksSuffix})).style(U).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===d.radialAxis.tickOrientation?"rotate("+-d.radialAxis.orientation+") translate("+[0,U["font-size"]]+")":"translate("+[0,U["font-size"]]+")"}}),q.selectAll("g>line").style({stroke:"black"})}var Z=e.select(".angular.axis-group").selectAll("g.angular-tick").data(D),J=Z.enter().append("g").classed("angular-tick",!0);Z.attr({transform:function(e,t){return"rotate("+Y(e,t)+")"}}).style({display:d.angularAxis.visible?"block":"none"}),Z.exit().remove(),J.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(d.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(d.minorTicks+1)==0)})).style(z),J.selectAll(".minor").style({stroke:d.minorTickColor}),Z.select("line.grid-line").attr({x1:d.tickLength?b-d.tickLength:0,x2:b}).style({display:d.angularAxis.gridLinesVisible?"block":"none"}),J.append("text").classed("axis-text",!0).style(U);var ee=Z.select("text.axis-text").attr({x:b+d.labelOffset,dy:a+"em",transform:function(e,t){var r=Y(e,t),n=b+d.labelOffset,i=d.angularAxis.tickOrientation;return"horizontal"==i?"rotate("+-r+" "+n+" 0)":"radial"==i?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:d.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(d.minorTicks+1)!=0?"":_?_[e]+d.angularAxis.ticksSuffix:e+d.angularAxis.ticksSuffix})).style(U);d.angularAxis.rewriteTicks&&ee.text((function(e,t){return t%(d.minorTicks+1)!=0?"":d.angularAxis.rewriteTicks(this.textContent,t)}));var te=n.max(N.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));F.attr({transform:"translate("+[b+te,d.margin.top]+")"});var re=e.select("g.geometry-group").selectAll("g").size()>0,ne=e.select("g.geometry-group").selectAll("g.geometry").data(p);if(ne.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ne.exit().remove(),p[0]||re){var ie=[];p.forEach((function(e,t){var n={};n.radialScale=r,n.angularScale=i,n.container=ne.filter((function(e,r){return r==t})),n.geometry=e.geometry,n.orientation=d.orientation,n.direction=d.direction,n.index=t,ie.push({data:e,geometryConfig:n})}));var oe=n.nest().key((function(e,t){return"undefined"!=typeof e.data.groupId||"unstacked"})).entries(ie),ae=[];oe.forEach((function(e,t){"unstacked"===e.key?ae=ae.concat(e.values.map((function(e,t){return[e]}))):ae.push(e.values)})),ae.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var n=e.map((function(e,t){return o(s[r].defaultConfig(),e)}));s[r]().config(n)()}))}var se,le,ue=e.select(".guides-group"),ce=e.select(".tooltips-group"),fe=s.tooltipPanel().config({container:ce,fontSize:8})(),pe=s.tooltipPanel().config({container:ce,fontSize:8})(),de=s.tooltipPanel().config({container:ce,hasTick:!0})();if(!k){var he=ue.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});N.on("mousemove.angular-guide",(function(e,t){var r=s.util.getMousePos($).angle;he.attr({x2:-b,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-d.orientation)%360;se=i.invert(n);var o=s.util.convertToCartesian(b+12,r+180);fe.text(s.util.round(se)).move([o[0]+A[0],o[1]+A[1]])})).on("mouseout.angular-guide",(function(e,t){ue.select("line").style({opacity:0})}))}var ve=ue.select("circle").style({stroke:"grey",fill:"none"});N.on("mousemove.radial-guide",(function(e,t){var n=s.util.getMousePos($).radius;ve.attr({r:n}).style({opacity:.5}),le=r.invert(s.util.getMousePos($).radius);var i=s.util.convertToCartesian(n,d.radialAxis.orientation);pe.text(s.util.round(le)).move([i[0]+A[0],i[1]+A[1]])})).on("mouseout.radial-guide",(function(e,t){ve.style({opacity:0}),de.hide(),fe.hide(),pe.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,r){var i=n.select(this),o=this.style.fill,a="black",l=this.style.opacity||1;if(i.attr({"data-opacity":l}),o&&"none"!==o){i.attr({"data-fill":o}),a=n.hsl(o).darker().toString(),i.style({fill:a,opacity:1});var u={t:s.util.round(t[0]),r:s.util.round(t[1])};k&&(u.t=_[t[0]]);var c="t: "+u.t+", r: "+u.r,f=this.getBoundingClientRect(),p=e.node().getBoundingClientRect(),d=[f.left+f.width/2-Q[0]-p.left,f.top+f.height/2-Q[1]-p.top];de.config({color:a}).text(c),de.move(d)}else o=this.style.stroke||"black",i.attr({"data-stroke":o}),a=n.hsl(o).darker().toString(),i.style({stroke:a,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=n.event.which)return!1;n.select(this).attr("data-fill")&&de.show()})).on("mouseout.tooltip",(function(e,t){de.hide();var r=n.select(this),i=r.attr("data-fill");i?r.style({fill:i,opacity:r.attr("data-opacity")}):r.style({stroke:r.attr("data-stroke"),opacity:r.attr("data-opacity")})}))})),p}return p.render=function(e){return d(e),this},p.config=function(e){if(!arguments.length)return l;var t=s.util.cloneJson(e);return t.data.forEach((function(e,t){l.data[t]||(l.data[t]={}),o(l.data[t],s.Axis.defaultConfig().data[0]),o(l.data[t],e)})),o(l.layout,s.Axis.defaultConfig().layout),o(l.layout,t.layout),this},p.getLiveConfig=function(){return c},p.getinputConfig=function(){return u},p.radialScale=function(e){return r},p.angularScale=function(e){return i},p.svg=function(){return e},n.rebind(p,f,"on"),p},s.Axis.defaultConfig=function(e,t){var r={data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:n.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}};return r},s.util={},s.DATAEXTENT="dataExtent",s.AREA="AreaChart",s.LINE="LinePlot",s.DOT="DotPlot",s.BAR="BarChart",s.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},s.util._extend=function(e,t){for(var r in e)t[r]=e[r]},s.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},s.util.dataFromEquation2=function(e,t){var r=t||6,i=n.range(0,360+r,r).map((function(t,r){var n=t*Math.PI/180,i=e(n);return[t,i]}));return i},s.util.dataFromEquation=function(e,t,r){var i=t||6,o=[],a=[];n.range(0,360+i,i).forEach((function(t,r){var n=t*Math.PI/180,i=e(n);o.push(t),a.push(i)}));var s={t:o,r:a};return r&&(s.name=r),s},s.util.ensureArray=function(e,t){if("undefined"===typeof e)return null;var r=[].concat(e);return n.range(t).map((function(e,t){return r[t]||r[0]}))},s.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=s.util.ensureArray(e[t],r)})),e},s.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},s.util.validateKeys=function(e,t){"string"===typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},s.util.sumArrays=function(e,t){return n.zip(e,t).map((function(e,t){return n.sum(e)}))},s.util.arrayLast=function(e){return e[e.length-1]},s.util.arrayEqual=function(e,t){var r=Math.max(e.length,t.length,1);while(r-- >=0&&e[r]===t[r]);return-2===r},s.util.flattenArray=function(e){var t=[];while(!s.util.arrayEqual(t,e))t=e,e=[].concat.apply([],e);return e},s.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},s.util.convertToCartesian=function(e,t){var r=t*Math.PI/180,n=e*Math.cos(r),i=e*Math.sin(r);return[n,i]},s.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},s.util.getMousePos=function(e){var t=n.mouse(e.node()),r=t[0],i=t[1],o={};return o.x=r,o.y=i,o.pos=t,o.angle=180*(Math.atan2(i,r)+Math.PI)/Math.PI,o.radius=Math.sqrt(r*r+i*i),o},s.util.duplicatesCount=function(e){for(var t,r={},n={},i=0,o=e.length;i<o;i++)t=e[i],t in r?(r[t]++,n[t]=r[t]):r[t]=1;return n},s.util.duplicates=function(e){return Object.keys(s.util.duplicatesCount(e))},s.util.translator=function(e,t,r,n){if(n){var i=r.slice();r=t,t=i}var o=t.reduce((function(e,t){if("undefined"!=typeof e)return e[t]}),e);"undefined"!==typeof o&&(t.reduce((function(e,r,n){if("undefined"!=typeof e)return n===t.length-1&&delete e[r],e[r]}),e),r.reduce((function(e,t,n){return"undefined"===typeof e[t]&&(e[t]={}),n===r.length-1&&(e[t]=o),e[t]}),e))},s.PolyChart=function(){var e,t=[s.PolyChart.defaultConfig()],r=n.dispatch("hover"),i={solid:"none",dash:[5,2],dot:[2,5]};function a(){var e=t[0].geometryConfig,r=e.container;"string"==typeof r&&(r=n.select(r)),r.datum(t).each((function(t,r){var o=!!t[0].data.yStack,a=t.map((function(e,t){return o?n.zip(e.data.t[0],e.data.r[0],e.data.yStack[0]):n.zip(e.data.t[0],e.data.r[0])})),s=e.angularScale,l=e.radialScale.domain()[0],u={bar:function(r,i,o){var a=t[o].data,l=e.radialScale(r[1])-e.radialScale(0),u=e.radialScale(r[2]||0),c=a.barWidth;n.select(this).attr({class:"mark bar",d:"M"+[[l+u,-c/2],[l+u,c/2],[u,c/2],[u,-c/2]].join("L")+"Z",transform:function(t,r){return"rotate("+(e.orientation+s(t[0]))+")"}})},dot:function(e,r,i){var o=e[2]?[e[0],e[1]+e[2]]:e,a=n.svg.symbol().size(t[i].data.dotSize).type(t[i].data.dotType)(e,r);n.select(this).attr({class:"mark dot",d:a,transform:function(e,t){var r=y(g(o));return"translate("+[r.x,r.y]+")"}})}},c=n.svg.line.radial().interpolate(t[0].data.lineInterpolation).radius((function(t){return e.radialScale(t[1])})).angle((function(t){return e.angularScale(t[0])*Math.PI/180}));u.line=function(r,i,o){var s=r[2]?a[o].map((function(e,t){return[e[0],e[1]+e[2]]})):a[o];if(n.select(this).each(u["dot"]).style({opacity:function(e,r){return+t[o].data.dotVisible},fill:h.stroke(r,i,o)}).attr({class:"mark dot"}),!(i>0)){var l=n.select(this.parentNode).selectAll("path.line").data([0]);l.enter().insert("path"),l.attr({class:"line",d:c(s),transform:function(t,r){return"rotate("+(e.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return h.fill(r,i,o)},"fill-opacity":0,stroke:function(e,t){return h.stroke(r,i,o)},"stroke-width":function(e,t){return h["stroke-width"](r,i,o)},"stroke-dasharray":function(e,t){return h["stroke-dasharray"](r,i,o)},opacity:function(e,t){return h.opacity(r,i,o)},display:function(e,t){return h.display(r,i,o)}})}};var f=e.angularScale.range(),p=Math.abs(f[1]-f[0])/a[0].length*Math.PI/180,d=n.svg.arc().startAngle((function(e){return-p/2})).endAngle((function(e){return p/2})).innerRadius((function(t){return e.radialScale(l+(t[2]||0))})).outerRadius((function(t){return e.radialScale(l+(t[2]||0))+e.radialScale(t[1])}));u.arc=function(t,r,i){n.select(this).attr({class:"mark arc",d:d,transform:function(t,r){return"rotate("+(e.orientation+s(t[0])+90)+")"}})};var h={fill:function(e,r,n){return t[n].data.color},stroke:function(e,r,n){return t[n].data.strokeColor},"stroke-width":function(e,r,n){return t[n].data.strokeSize+"px"},"stroke-dasharray":function(e,r,n){return i[t[n].data.strokeDash]},opacity:function(e,r,n){return t[n].data.opacity},display:function(e,r,n){return"undefined"===typeof t[n].data.visible||t[n].data.visible?"block":"none"}},v=n.select(this).selectAll("g.layer").data(a);v.enter().append("g").attr({class:"layer"});var m=v.selectAll("path.mark").data((function(e,t){return e}));function g(t,r){var n=e.radialScale(t[1]),i=(e.angularScale(t[0])+e.orientation)*Math.PI/180;return{r:n,t:i}}function y(e){var t=e.r*Math.cos(e.t),r=e.r*Math.sin(e.t);return{x:t,y:r}}m.enter().append("path").attr({class:"mark"}),m.style(h).each(u[e.geometryType]),m.exit().remove(),v.exit().remove()}))}return a.config=function(e){return arguments.length?(e.forEach((function(e,r){t[r]||(t[r]={}),o(t[r],s.PolyChart.defaultConfig()),o(t[r],e)})),this):t},a.getColorScale=function(){return e},n.rebind(a,r,"on"),a},s.PolyChart.defaultConfig=function(){var e={data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:n.scale.category20()}};return e},s.BarChart=function(){return s.PolyChart()},s.BarChart.defaultConfig=function(){var e={geometryConfig:{geometryType:"bar"}};return e},s.AreaChart=function(){return s.PolyChart()},s.AreaChart.defaultConfig=function(){var e={geometryConfig:{geometryType:"arc"}};return e},s.DotPlot=function(){return s.PolyChart()},s.DotPlot.defaultConfig=function(){var e={geometryConfig:{geometryType:"dot",dotType:"circle"}};return e},s.LinePlot=function(){return s.PolyChart()},s.LinePlot.defaultConfig=function(){var e={geometryConfig:{geometryType:"line"}};return e},s.Legend=function(){var e=s.Legend.defaultConfig(),t=n.dispatch("hover");function r(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,n){var i=o({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[n],i}))})),a=n.merge(i);a=a.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||"undefined"===typeof t.elements[r].visibleInLegend)})),t.reverseOrder&&(a=a.reverse());var s=t.container;("string"==typeof s||s.nodeName)&&(s=n.select(s));var l=a.map((function(e,t){return e.color})),u=t.fontSize,c=null==t.isContinuous?"number"===typeof a[0]:t.isContinuous,f=c?t.height:u*a.length,p=s.classed("legend-group",!0),d=p.selectAll("svg").data([0]),h=d.enter().append("svg").attr({width:300,height:f+u,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var v=n.range(a.length),m=n.scale[c?"linear":"ordinal"]().domain(v).range(l),g=n.scale[c?"linear":"ordinal"]().domain(v)[c?"range":"rangePoints"]([0,f]),y=function(e,t){var r=3*t;return"line"===e?"M"+[[-t/2,-t/12],[t/2,-t/12],[t/2,t/12],[-t/2,t/12]]+"Z":-1!=n.svg.symbolTypes.indexOf(e)?n.svg.symbol().type(e).size(r)():n.svg.symbol().type("square").size(r)()};if(c){var b=d.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(l);b.enter().append("stop"),b.attr({offset:function(e,t){return t/(l.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),d.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var x=d.select(".legend-marks").selectAll("path.legend-mark").data(a);x.enter().append("path").classed("legend-mark",!0),x.attr({transform:function(e,t){return"translate("+[u/2,g(t)+u/2]+")"},d:function(e,t){var r=e.symbol;return y(r,u)},fill:function(e,t){return m(t)}}),x.exit().remove()}var A=n.svg.axis().scale(g).orient("right"),w=d.select("g.legend-axis").attr({transform:"translate("+[c?t.colorBandWidth:u,u/2]+")"}).call(A);return w.selectAll(".domain").style({fill:"none",stroke:"none"}),w.selectAll("line").style({fill:"none",stroke:c?t.textColor:"none"}),w.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return a[t].name})),r}return r.config=function(t){return arguments.length?(o(e,t),this):e},n.rebind(r,t,"on"),r},s.Legend.defaultConfig=function(e,t){var r={data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}};return r},s.tooltipPanel=function(){var e,t,r,i={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},a="tooltip-"+s.tooltipPanel.uid++,l=10,u=function(){e=i.container.selectAll("g."+a).data([0]);var n=e.enter().append("g").classed(a,!0).style({"pointer-events":"none",display:"none"});return r=n.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=n.append("text").attr({dx:i.padding+l,dy:.3*+i.fontSize}),u};return u.text=function(o){var a=n.hsl(i.color).l,s=a>=.5?"#aaa":"white",c=a>=.5?"black":"white",f=o||"";t.style({fill:c,"font-size":i.fontSize+"px"}).text(f);var p=i.padding,d=t.node().getBBox(),h={fill:i.color,stroke:s,"stroke-width":"2px"},v=d.width+2*p+l,m=d.height+2*p;return r.attr({d:"M"+[[l,-m/2],[l,-m/4],[i.hasTick?0:l,0],[l,m/4],[l,m/2],[v,m/2],[v,-m/2]].join("L")+"Z"}).style(h),e.attr({transform:"translate("+[l,-m/2+2*p]+")"}),e.style({display:"block"}),u},u.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),u},u.hide=function(){if(e)return e.style({display:"none"}),u},u.show=function(){if(e)return e.style({display:"block"}),u},u.config=function(e){return o(i,e),u},u},s.tooltipPanel.uid=1,s.adapter={},s.adapter.plotly=function(){var e={convert:function(e,t){var r={};if(e.data&&(r.data=e.data.map((function(e,r){var n=o({},e),i=[[n,["marker","color"],["color"]],[n,["marker","opacity"],["opacity"]],[n,["marker","line","color"],["strokeColor"]],[n,["marker","line","dash"],["strokeDash"]],[n,["marker","line","width"],["strokeSize"]],[n,["marker","symbol"],["dotType"]],[n,["marker","size"],["dotSize"]],[n,["marker","barWidth"],["barWidth"]],[n,["line","interpolation"],["lineInterpolation"]],[n,["showlegend"],["visibleInLegend"]]];return i.forEach((function(e,r){s.util.translator.apply(null,e.concat(t))})),t||delete n.marker,t&&delete n.groupId,t?("LinePlot"===n.geometry?(n.type="scatter",!0===n.dotVisible?(delete n.dotVisible,n.mode="lines+markers"):n.mode="lines"):"DotPlot"===n.geometry?(n.type="scatter",n.mode="markers"):"AreaChart"===n.geometry?n.type="area":"BarChart"===n.geometry&&(n.type="bar"),delete n.geometry):("scatter"===n.type?"lines"===n.mode?n.geometry="LinePlot":"markers"===n.mode?n.geometry="DotPlot":"lines+markers"===n.mode&&(n.geometry="LinePlot",n.dotVisible=!0):"area"===n.type?n.geometry="AreaChart":"bar"===n.type&&(n.geometry="BarChart"),delete n.mode,delete n.type),n})),!t&&e.layout&&"stack"===e.layout.barmode)){var i=s.util.duplicates(r.data.map((function(e,t){return e.geometry})));r.data.forEach((function(e,t){var n=i.indexOf(e.geometry);-1!=n&&(r.data[t].groupId=n)}))}if(e.layout){var a=o({},e.layout),l=[[a,["plot_bgcolor"],["backgroundColor"]],[a,["showlegend"],["showLegend"]],[a,["radialaxis"],["radialAxis"]],[a,["angularaxis"],["angularAxis"]],[a.angularaxis,["showline"],["gridLinesVisible"]],[a.angularaxis,["showticklabels"],["labelsVisible"]],[a.angularaxis,["nticks"],["ticksCount"]],[a.angularaxis,["tickorientation"],["tickOrientation"]],[a.angularaxis,["ticksuffix"],["ticksSuffix"]],[a.angularaxis,["range"],["domain"]],[a.angularaxis,["endpadding"],["endPadding"]],[a.radialaxis,["showline"],["gridLinesVisible"]],[a.radialaxis,["tickorientation"],["tickOrientation"]],[a.radialaxis,["ticksuffix"],["ticksSuffix"]],[a.radialaxis,["range"],["domain"]],[a.angularAxis,["showline"],["gridLinesVisible"]],[a.angularAxis,["showticklabels"],["labelsVisible"]],[a.angularAxis,["nticks"],["ticksCount"]],[a.angularAxis,["tickorientation"],["tickOrientation"]],[a.angularAxis,["ticksuffix"],["ticksSuffix"]],[a.angularAxis,["range"],["domain"]],[a.angularAxis,["endpadding"],["endPadding"]],[a.radialAxis,["showline"],["gridLinesVisible"]],[a.radialAxis,["tickorientation"],["tickOrientation"]],[a.radialAxis,["ticksuffix"],["ticksSuffix"]],[a.radialAxis,["range"],["domain"]],[a.font,["outlinecolor"],["outlineColor"]],[a.legend,["traceorder"],["reverseOrder"]],[a,["labeloffset"],["labelOffset"]],[a,["defaultcolorrange"],["defaultColorRange"]]];if(l.forEach((function(e,r){s.util.translator.apply(null,e.concat(t))})),t?("undefined"!==typeof a.tickLength&&(a.angularaxis.ticklen=a.tickLength,delete a.tickLength),a.tickColor&&(a.angularaxis.tickcolor=a.tickColor,delete a.tickColor)):(a.angularAxis&&"undefined"!==typeof a.angularAxis.ticklen&&(a.tickLength=a.angularAxis.ticklen),a.angularAxis&&"undefined"!==typeof a.angularAxis.tickcolor&&(a.tickColor=a.angularAxis.tickcolor)),a.legend&&"boolean"!=typeof a.legend.reverseOrder&&(a.legend.reverseOrder="normal"!=a.legend.reverseOrder),a.legend&&"boolean"==typeof a.legend.traceorder&&(a.legend.traceorder=a.legend.traceorder?"reversed":"normal",delete a.legend.reverseOrder),a.margin&&"undefined"!=typeof a.margin.t){var u=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],f={};n.entries(a.margin).forEach((function(e,t){f[c[u.indexOf(e.key)]]=e.value})),a.margin=f}t&&(delete a.needsEndSpacing,delete a.minorTickColor,delete a.minorTicks,delete a.angularaxis.ticksCount,delete a.angularaxis.ticksCount,delete a.angularaxis.ticksStep,delete a.angularaxis.rewriteTicks,delete a.angularaxis.nticks,delete a.radialaxis.ticksCount,delete a.radialaxis.ticksCount,delete a.radialaxis.ticksStep,delete a.radialaxis.rewriteTicks,delete a.radialaxis.nticks),r.layout=a}return r}};return e}},"3a9c":function(e,t,r){"use strict";var n=r("0cec").setGroupPositions;e.exports=function(e,t){var r,i,o=e._fullLayout,a=e._fullData,s=e.calcdata,l=t.xaxis,u=t.yaxis,c=[],f=[],p=[];for(i=0;i<a.length;i++){var d=a[i],h="h"===d.orientation;!0===d.visible&&d.xaxis===l._id&&d.yaxis===u._id&&"funnel"===d.type&&(r=s[i],h?p.push(r):f.push(r),c.push(r))}var v={mode:o.funnelmode,norm:o.funnelnorm,gap:o.funnelgap,groupgap:o.funnelgroupgap};for(n(e,l,u,f,v),n(e,u,l,p,v),i=0;i<c.length;i++){r=c[i];for(var m=0;m<r.length;m++)m+1<r.length&&(r[m].nextP0=r[m+1].p0,r[m].nextS0=r[m+1].s0,r[m].nextP1=r[m+1].p1,r[m].nextS1=r[m+1].s1)}}},"3aa8":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("215c").extractOpts;e.exports=function(e,t,r){var a,s=e._fullLayout,l=r.vals,u=r.containerStr,c=u?i.nestedProperty(t,u).get():t,f=o(c),p=!1!==f.auto,d=f.min,h=f.max,v=f.mid,m=function(){return i.aggNums(Math.min,null,l)},g=function(){return i.aggNums(Math.max,null,l)};(void 0===d?d=m():p&&(d=c._colorAx&&n(d)?Math.min(d,m()):m()),void 0===h?h=g():p&&(h=c._colorAx&&n(h)?Math.max(h,g()):g()),p&&void 0!==v&&(h-v>v-d?d=v-(h-v):h-v<v-d&&(h=v+(v-d))),d===h&&(d-=.5,h+=.5),f._sync("min",d),f._sync("max",h),f.autocolorscale)&&(a=d*h<0?s.colorscale.diverging:d>=0?s.colorscale.sequential:s.colorscale.sequentialminus,f._sync("colorscale",a))}},"3af0":function(e,t,r){"use strict";var n=r("e98f"),i=n("./shaders/vertex.glsl"),o=n("./shaders/fragment.glsl"),a=r("f7a4").maxDimensionCount,s=r("fc26"),l=1e-6,u=2048,c=new Uint8Array(4),f=new Uint8Array(4),p={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function d(e){e.read({x:0,y:0,width:1,height:1,data:c})}function h(e,t,r,n,i){var o=e._gl;o.enable(o.SCISSOR_TEST),o.scissor(t,r,n,i),e.clear({color:[0,0,0,0],depth:1})}function v(e,t,r,n,i,o){var a=o.key;function s(l){var u=Math.min(n,i-l*n);0===l&&(window.cancelAnimationFrame(r.currentRafs[a]),delete r.currentRafs[a],h(e,o.scissorX,o.scissorY,o.scissorWidth,o.viewBoxSize[1])),r.clearOnly||(o.count=2*u,o.offset=2*l*n,t(o),l*n+u<i&&(r.currentRafs[a]=window.requestAnimationFrame((function(){s(l+1)}))),r.drawCompleted=!1)}r.drawCompleted||(d(e),r.drawCompleted=!0),s(0)}function m(e){return Math.max(l,Math.min(1-l,e))}function g(e,t){for(var r=new Array(256),n=0;n<256;n++)r[n]=e(n/255).concat(t);return r}function y(e,t){return(e>>>8*t)%256/255}function b(e,t,r){for(var n=new Array(e*(a+4)),i=0,o=0;o<e;o++){for(var s=0;s<a;s++)n[i++]=s<t.length?t[s].paddedUnitValues[o]:.5;n[i++]=y(o,2),n[i++]=y(o,1),n[i++]=y(o,0),n[i++]=m(r[o])}return n}function x(e,t,r){for(var n=new Array(8*t),i=0,o=0;o<t;o++)for(var a=0;a<2;a++)for(var s=0;s<4;s++){var l=4*e+s,u=r[64*o+l];63===l&&0===a&&(u*=-1),n[i++]=u}return n}function A(e){var t="0"+e;return t.substr(t.length-2)}function w(e){return e<a?"p"+A(e+1)+"_"+A(e+4):"colors"}function _(e,t,r){for(var n=0;n<=a;n+=4)e[w(n)](x(n/4,t,r))}function E(e){for(var t={},r=0;r<=a;r+=4)t[w(r)]=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)});return t}function k(e,t,r,n,i,o,a,l,u,c,f,p,d){for(var h=[[],[]],v=0;v<64;v++)h[0][v]=v===i?1:0,h[1][v]=v===o?1:0;var m=e.lines.canvasOverdrag,g=e.domain,y=e.canvasWidth,b=e.canvasHeight,x=e.deselectedLines.color,A=s.extendFlat({key:f,resolution:[y,b],viewBoxPos:[a+m,l],viewBoxSize:[u,c],i0:i,i1:o,dim0A:h[0].slice(0,16),dim0B:h[0].slice(16,32),dim0C:h[0].slice(32,48),dim0D:h[0].slice(48,64),dim1A:h[1].slice(0,16),dim1B:h[1].slice(16,32),dim1C:h[1].slice(32,48),dim1D:h[1].slice(48,64),drwLayer:p,contextColor:[x[0]/255,x[1]/255,x[2]/255,x[3]<1?x[3]:Math.max(1/255,Math.pow(1/e.lines.color.length,1/3))],scissorX:(n===t?0:a+m)+(e.pad.l-m)+e.layoutWidth*g.x[0],scissorWidth:(n===r?y-a+m:u+.5)+(n===t?a+m:0),scissorY:l+e.pad.b+e.layoutHeight*g.y[0],scissorHeight:c,viewportX:e.pad.l-m+e.layoutWidth*g.x[0],viewportY:e.pad.b+e.layoutHeight*g.y[0],viewportWidth:y,viewportHeight:b},d);return A}function T(e){var t=u-1,r=Math.max(0,Math.floor(e[0]*t),0),n=Math.min(t,Math.ceil(e[1]*t),t);return[Math.min(r,n),Math.max(r,n)]}e.exports=function(e,t){var r,n,a,l,c,d=t.context,m=t.pick,y=t.regl,x={currentRafs:{},drawCompleted:!0,clearOnly:!1},A=E(y),w=y.texture(p),C=[];O(t);var S=y({profile:!1,blend:{enable:d,func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:1,dstAlpha:1},equation:{rgb:"add",alpha:"add"},color:[0,0,0,0]},depth:{enable:!d,mask:!0,func:"less",range:[0,1]},cull:{enable:!0,face:"back"},scissor:{enable:!0,box:{x:y.prop("scissorX"),y:y.prop("scissorY"),width:y.prop("scissorWidth"),height:y.prop("scissorHeight")}},viewport:{x:y.prop("viewportX"),y:y.prop("viewportY"),width:y.prop("viewportWidth"),height:y.prop("viewportHeight")},dither:!1,vert:i,frag:o,primitive:"lines",lineWidth:1,attributes:A,uniforms:{resolution:y.prop("resolution"),viewBoxPos:y.prop("viewBoxPos"),viewBoxSize:y.prop("viewBoxSize"),dim0A:y.prop("dim0A"),dim1A:y.prop("dim1A"),dim0B:y.prop("dim0B"),dim1B:y.prop("dim1B"),dim0C:y.prop("dim0C"),dim1C:y.prop("dim1C"),dim0D:y.prop("dim0D"),dim1D:y.prop("dim1D"),loA:y.prop("loA"),hiA:y.prop("hiA"),loB:y.prop("loB"),hiB:y.prop("hiB"),loC:y.prop("loC"),hiC:y.prop("hiC"),loD:y.prop("loD"),hiD:y.prop("hiD"),palette:w,contextColor:y.prop("contextColor"),mask:y.prop("maskTexture"),drwLayer:y.prop("drwLayer"),maskHeight:y.prop("maskHeight")},offset:y.prop("offset"),count:y.prop("count")});function O(e){r=e.model,n=e.viewModel,a=n.dimensions.slice(),l=a[0]?a[0].values.length:0;var t=r.lines,i=m?t.color.map((function(e,r){return r/t.color.length})):t.color,o=b(l,a,i);_(A,l,o),d||m||(w=y.texture(s.extendFlat({data:g(r.unitToColor,255)},p)))}function M(e){var t,r,n,i=[[],[]];for(n=0;n<64;n++){var o=!e&&n<a.length?a[n].brush.filter.getBounds():[-1/0,1/0];i[0][n]=o[0],i[1][n]=o[1]}var s=8*u,l=new Array(s);for(t=0;t<s;t++)l[t]=255;if(!e)for(t=0;t<a.length;t++){var f=t%8,p=(t-f)/8,d=Math.pow(2,f),h=a[t],v=h.brush.filter.get();if(!(v.length<2)){var m=T(v[0])[1];for(r=1;r<v.length;r++){var g=T(v[r]);for(n=m+1;n<g[0];n++)l[8*n+p]&=~d;m=Math.max(m,g[1])}}}var b={shape:[8,u],format:"alpha",type:"uint8",mag:"nearest",min:"nearest",data:l};return c?c(b):c=y.texture(b),{maskTexture:c,maskHeight:u,loA:i[0].slice(0,16),loB:i[0].slice(16,32),loC:i[0].slice(32,48),loD:i[0].slice(48,64),hiA:i[1].slice(0,16),hiB:i[1].slice(16,32),hiC:i[1].slice(32,48),hiD:i[1].slice(48,64)}}function P(e,t,n){var i,o,a,s=e.length,u=1/0,c=-1/0;for(i=0;i<s;i++)e[i].dim0.canvasX<u&&(u=e[i].dim0.canvasX,o=i),e[i].dim1.canvasX>c&&(c=e[i].dim1.canvasX,a=i);0===s&&h(y,0,0,r.canvasWidth,r.canvasHeight);var f=M(d);for(i=0;i<s;i++){var p=e[i],g=p.dim0.crossfilterDimensionIndex,b=p.dim1.crossfilterDimensionIndex,A=p.canvasX,w=p.canvasY,_=A+p.panelSizeX;if(t||!C[g]||C[g][0]!==A||C[g][1]!==_){C[g]=[A,_];var E=k(r,o,a,i,g,b,A,w,p.panelSizeX,p.panelSizeY,p.dim0.crossfilterDimensionIndex,d?0:m?2:1,f);x.clearOnly=n;var T=t?r.lines.blockLineCount:l;v(y,S,x,T,l,E)}}}function B(e,t){return y.read({x:e,y:t,width:1,height:1,data:f}),f}function L(e,t,r,n){var i=new Uint8Array(4*r*n);return y.read({x:e,y:t,width:r,height:n,data:i}),i}function D(){for(var t in e.style["pointer-events"]="none",w.destroy(),c&&c.destroy(),A)A[t].destroy()}return{render:P,readPixel:B,readPixels:L,destroy:D,update:O}}},"3b24":function(e,t,r){"use strict";var n=r("e21b"),i=n.drawMode,o=n.openMode,a=r("52d8"),s=a.i000,l=a.i090,u=a.i180,c=a.i270,f=a.cos45,p=a.sin45,d=r("ac33"),h=d.p2r,v=d.r2p,m=r("e947"),g=m.clearSelect,y=r("b34d"),b=y.readPaths,x=y.writePaths,A=y.ellipseOver;function w(e,t,r){var n="date"===t.type,i="date"===r.type;if(!n&&!i)return e;for(var o=0;o<e.length;o++)for(var a=0;a<e[o].length;a++)for(var s=0;s+2<e[o][a].length;s+=2)n&&(e[o][a][s+1]=e[o][a][s+1].replace(" ","_")),i&&(e[o][a][s+2]=e[o][a][s+2].replace(" ","_"));return e}e.exports=function(e,t){if(e.length){var r=e[0][0];if(r){var n=r.getAttribute("d"),a=t.gd,d=a._fullLayout.newshape,m=t.plotinfo,y=m.xaxis,_=m.yaxis,E=!!m.domain||!m.xaxis,k=!!m.domain||!m.yaxis,T=t.isActiveShape,C=t.dragmode,S=(a.layout||{}).shapes||[];if(!i(C)&&void 0!==T){var O=a._fullLayout._activeShapeIndex;if(O<S.length)switch(a._fullLayout.shapes[O].type){case"rect":C="drawrect";break;case"circle":C="drawcircle";break;case"line":C="drawline";break;case"path":var M=S[O].path||"";C="Z"===M[M.length-1]?"drawclosedpath":"drawopenpath";break}}var P,B=o(C),L=b(n,a,m,T),D={editable:!0,xref:E?"paper":y._id,yref:k?"paper":_._id,layer:d.layer,opacity:d.opacity,line:{color:d.line.color,width:d.line.width,dash:d.line.dash}};if(B||(D.fillcolor=d.fillcolor,D.fillrule=d.fillrule),1===L.length&&(P=L[0]),P&&"drawrect"===C)D.type="rect",D.x0=P[0][1],D.y0=P[0][2],D.x1=P[2][1],D.y1=P[2][2];else if(P&&"drawline"===C)D.type="line",D.x0=P[0][1],D.y0=P[0][2],D.x1=P[1][1],D.y1=P[1][2];else if(P&&"drawcircle"===C){D.type="circle";var I=P[s][1],j=P[l][1],R=P[u][1],F=P[c][1],N=P[s][2],z=P[l][2],U=P[u][2],H=P[c][2],V=m.xaxis&&("date"===m.xaxis.type||"log"===m.xaxis.type),Q=m.yaxis&&("date"===m.yaxis.type||"log"===m.yaxis.type);V&&(I=v(m.xaxis,I),j=v(m.xaxis,j),R=v(m.xaxis,R),F=v(m.xaxis,F)),Q&&(N=v(m.yaxis,N),z=v(m.yaxis,z),U=v(m.yaxis,U),H=v(m.yaxis,H));var W=(j+F)/2,K=(N+U)/2,q=(F-j+R-I)/2,G=(H-z+U-N)/2,$=A({x0:W,y0:K,x1:W+q*f,y1:K+G*p});V&&($.x0=h(m.xaxis,$.x0),$.x1=h(m.xaxis,$.x1)),Q&&($.y0=h(m.yaxis,$.y0),$.y1=h(m.yaxis,$.y1)),D.x0=$.x0,D.y0=$.y0,D.x1=$.x1,D.y1=$.y1}else D.type="path",y&&_&&w(L,y,_),D.path=x(L),P=null;g(a);for(var Y=t.editHelpers,X=(Y||{}).modifyItem,Z=[],J=0;J<S.length;J++){var ee=a._fullLayout.shapes[J];if(Z[J]=ee._input,void 0!==T&&J===a._fullLayout._activeShapeIndex){var te=D;switch(ee.type){case"line":case"rect":case"circle":X("x0",te.x0),X("x1",te.x1),X("y0",te.y0),X("y1",te.y1);break;case"path":X("path",te.path);break}}}return void 0===T?(Z.push(D),Z):Y?Y.getUpdateObj():{}}}}},"3b2b":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15,17H17V15H15M15,5H17V3H15M5,7H3V19C3,20.1 3.9,21 5,21H17V19H5M19,17C20.1,17 21,16.1 21,15H19M19,9H21V7H19M19,13H21V11H19M9,17V15H7C7,16.1 7.9,17 9,17M13,3H11V5H13M19,3V5H21C21,3.89 20.1,3 19,3M13,15H11V17H13M9,3C7.89,3 7,3.89 7,5H9M9,11H7V13H9M9,7H7V9H9V7Z"}))};e.exports=s},"3b3e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteRangeselector=i.deleteRangeselector.bind(y(i)),i.updateRangeselector=i.updateRangeselector.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.rangeselectorIndex,n=t.container,i=t.fullContainer,o=n.rangeselector&&n.rangeselector.buttons||[],a=i.rangeselector&&i.rangeselector.buttons||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("rangeselector.buttons[].".concat(t)):null},updateContainer:this.updateRangeselector,deleteContainer:this.deleteRangeselector,container:this.container,fullContainer:this.fullContainer}}},{key:"updateRangeselector",value:function(e){var t={},r=this.props.rangeselectorIndex;for(var n in e){var i="rangeselector.buttons[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteRangeselector",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_RANGESELECTOR,payload:{axisId:this.context.fullContainer._name,rangeselectorIndex:this.props.rangeselectorIndex}})}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="RangeSelectorConnected".concat((0,a.getDisplayName)(e)),t.propTypes={rangeselectorIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"3b4a":function(e,t,r){var n=r("0b07"),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},"3b74":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("716c"),i=6378137;function o(e){return n.geomReduce(e,(function(e,t){return e+a(t)}),0)}function a(e){var t,r=0;switch(e.type){case"Polygon":return s(e.coordinates);case"MultiPolygon":for(t=0;t<e.coordinates.length;t++)r+=s(e.coordinates[t]);return r;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0}return 0}function s(e){var t=0;if(e&&e.length>0){t+=Math.abs(l(e[0]));for(var r=1;r<e.length;r++)t-=Math.abs(l(e[r]))}return t}function l(e){var t,r,n,o,a,s,l,c=0,f=e.length;if(f>2){for(l=0;l<f;l++)l===f-2?(o=f-2,a=f-1,s=0):l===f-1?(o=f-1,a=0,s=1):(o=l,a=l+1,s=l+2),t=e[o],r=e[a],n=e[s],c+=(u(n[0])-u(t[0]))*Math.sin(u(r[1]));c=c*i*i/2}return c}function u(e){return e*Math.PI/180}t.default=o},"3b80":function(e,t,r){"use strict";e.exports={attributes:r("5aae"),supplyDefaults:r("2705"),colorbar:r("f3cf"),formatLabels:r("a2ee"),calc:r("fcb7"),plot:r("b8b2"),style:r("52e8").style,styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("e92c"),selectPoints:r("214c"),eventData:r("0271"),moduleType:"trace",name:"scattercarpet",basePlotModule:r("91cd"),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{hrName:"scatter_carpet",description:["Plots a scatter trace on either the first carpet axis or the","carpet axis with a matching `carpet` attribute."].join(" ")}}},"3b8c":function(e,t,r){"use strict";var n=r("9bbe"),i=r("15c3"),o=r("0984"),a=r("4d6a"),s=r("8e5d"),l=r("174f"),u=r("d8db"),c=r("1b23"),f=o.isBrowser("IE");function p(e,t){if(!e)return"[empty]";var r=d(e,t);if(r.nodeType===Node.TEXT_NODE)return r.textContent;c(r)||u(!1);var n=r;return n.outerHTML}function d(e,t){var r=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var n=e.textContent.length;return l(e).createTextNode("[text "+n+(r.length?" | "+r.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(d(o[a],t));return i}function h(e,t){var r=e,n=r;while(r){if(c(r)&&n.hasAttribute("contenteditable"))return p(r,t);r=r.parentNode,n=r}return"Could not find contentEditable parent of node"}function v(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function m(e,t,r,n,i){var o=l(t);if(a(o.documentElement,t)){var s=o.defaultView.getSelection(),u=e.getAnchorKey(),c=e.getAnchorOffset(),f=e.getFocusKey(),p=e.getFocusOffset(),d=e.getIsBackward();if(!s.extend&&d){var h=u,v=c;u=f,c=p,f=h,p=v,d=!1}var m=u===r&&n<=c&&i>=c,b=f===r&&n<=p&&i>=p;if(m&&b)return s.removeAllRanges(),y(s,t,c-n,e),void g(s,t,p-n,e);if(d){if(b&&(s.removeAllRanges(),y(s,t,p-n,e)),m){var x=s.focusNode,A=s.focusOffset;s.removeAllRanges(),y(s,t,c-n,e),g(s,x,A,e)}}else m&&(s.removeAllRanges(),y(s,t,c-n,e)),b&&g(s,t,p-n,e)}}function g(e,t,r,n){var o=s(),l=e.extend;if(l&&null!=t&&a(o,t)){r>v(t)&&i.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var u=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,r)}catch(f){throw i.logSelectionStateFailure({anonymizedDom:h(t,(function(t){var r=[];return t===o&&r.push("active element"),t===e.anchorNode&&r.push("selection anchor node"),t===e.focusNode&&r.push("selection focus node"),r})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:u,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:f?""+f:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),f}}else if(t&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(t,r),e.addRange(c.cloneRange())}}function y(e,t,r,o){var a=l(t).createRange();if(r>v(t)&&(i.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),a.setStart(t,r),f)try{e.addRange(a)}catch(s){0}else e.addRange(a)}e.exports={setDraftEditorSelection:m,addFocusToSelection:g}},"3b8f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M23 24v16M11 12v24M35 6v29m-24 0H6m10-14h-5m12 18h-5m11-14h-5m11 5h-5M40 7h-5",strokeMiterlimit:"10",strokeWidth:"2"})))};t.default=u},"3bb4":function(e,t,r){var n=r("08cc"),i=r("ec69");function o(e){var t=i(e),r=t.length;while(r--){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}e.exports=o},"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3bd6":function(e,t,r){"use strict";var n=r("2195");function i(e,t){return n(e[0].mul(t[0]),e[1].mul(t[1]))}e.exports=i},"3c01":function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;a(r("d7bc"));var n=a(r("ab5b")),i=r("8bc8"),o=a(r("5275"));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=e.call.apply(e,[this].concat(n))||this,t.handleEnter=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEnter",0,r)},t.handleEntering=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntering",0,r)},t.handleEntered=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntered",0,r)},t.handleExit=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExit",1,r)},t.handleExiting=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExiting",1,r)},t.handleExited=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExited",1,r)},t}l(t,e);var r=t.prototype;return r.handleLifecycle=function(e,t,r){var o,a=this.props.children,s=n.default.Children.toArray(a)[t];s.props[e]&&(o=s.props)[e].apply(o,r),this.props[e]&&this.props[e]((0,i.findDOMNode)(this))},r.render=function(){var e=this.props,t=e.children,r=e.in,i=s(e,["children","in"]),a=n.default.Children.toArray(t),l=a[0],u=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(o.default,i,r?n.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(n.default.Component);u.propTypes={};var c=u;t.default=c,e.exports=t["default"]},"3c07":function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s}));var n=r("a23e"),i="undefined"!==typeof e?e:{},o=Object(n["a"])(i),a=(o.flush,o.hydrate,o.cx,o.merge,o.getRegisteredStyles,o.injectGlobal),s=(o.keyframes,o.css);o.sheet,o.caches}).call(this,r("c8ba"))},"3c1c":function(e,t,r){"use strict";var n=r("371e"),i=r("d301");function o(e,t){if(t&&t.length)for(var r=0;r<t.length;r++)if(t[r][e])return!0;return!1}t.id2name=function(e){if("string"===typeof e&&e.match(i.AX_ID_PATTERN)){var t=e.split(" ")[0].substr(1);return"1"===t&&(t=""),e.charAt(0)+"axis"+t}},t.name2id=function(e){if(e.match(i.AX_NAME_PATTERN)){var t=e.substr(5);return"1"===t&&(t=""),e.charAt(0)+t}},t.cleanId=function(e,t,r){var n=/( domain)$/.test(e);if("string"===typeof e&&e.match(i.AX_ID_PATTERN)&&(!t||e.charAt(0)===t)&&(!n||r)){var o=e.split(" ")[0].substr(1).replace(/^0+/,"");return"1"===o&&(o=""),e.charAt(0)+o+(n&&r?" domain":"")}},t.list=function(e,r,n){var i=e._fullLayout;if(!i)return[];var o,a=t.listIds(e,r),s=new Array(a.length);for(o=0;o<a.length;o++){var l=a[o];s[o]=i[l.charAt(0)+"axis"+l.substr(1)]}if(!n){var u=i._subplots.gl3d||[];for(o=0;o<u.length;o++){var c=i[u[o]];r?s.push(c[r+"axis"]):s.push(c.xaxis,c.yaxis,c.zaxis)}}return s},t.listIds=function(e,t){var r=e._fullLayout;if(!r)return[];var n=r._subplots;return t?n[t+"axis"]:n.xaxis.concat(n.yaxis)},t.getFromId=function(e,r,n){var i=e._fullLayout;return r=void 0===r||"string"!==typeof r?r:r.replace(" domain",""),"x"===n?r=r.replace(/y[0-9]*/,""):"y"===n&&(r=r.replace(/x[0-9]*/,"")),i[t.id2name(r)]},t.getFromTrace=function(e,r,i){var o=e._fullLayout,a=null;if(n.traceIs(r,"gl3d")){var s=r.scene;"scene"===s.substr(0,5)&&(a=o[s][i+"axis"])}else a=t.getFromId(e,r[i+"axis"]||i);return a},t.idSort=function(e,t){var r=e.charAt(0),n=t.charAt(0);return r!==n?r>n?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},t.ref2id=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},t.isLinked=function(e,t){return o(t,e._axisMatchGroups)||o(t,e._axisConstraintGroups)}},"3c31":function(e,t,r){"use strict";function n(e,t){return"percent"===e?function(e){return Math.abs(e*t/100)}:"constant"===e?function(){return Math.abs(t)}:"sqrt"===e?function(e){return Math.sqrt(Math.abs(e))}:void 0}e.exports=function(e){var t=e.type,r=e.symmetric;if("data"===t){var i=e.array||[];if(r)return function(e,t){var r=+i[t];return[r,r]};var o=e.arrayminus||[];return function(e,t){var r=+i[t],n=+o[t];return isNaN(r)&&isNaN(n)?[NaN,NaN]:[n||0,r||0]}}var a=n(t,e.value),s=n(t,e.valueminus);return r||void 0===e.valueminus?function(e){var t=a(e);return[t,t]}:function(e){return[s(e),a(e)]}}},"3c3e":function(e,t,r){(function(){var e;e=function(e){return e(r("1157"),r("030a"))},e((function(e,t){var r,n;return r=function(r,n,i){return null==r&&(r={}),null==n&&(n={}),null==i&&(i=!1),function(o,a){var s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w;if(p={localeStrings:{vs:"vs",by:"by"},plotly:{},plotlyConfig:{}},a=e.extend(!0,{},p,a),b=o.getRowKeys(),s=o.getColKeys(),w=i?s:b,0===w.length&&w.push([]),f=i?b:s,0===f.length&&f.push([]),d=o.aggregatorName,o.valAttrs.length&&(d+="("+o.valAttrs.join(", ")+")"),c=w.map((function(t){var n,a,s,l,u,c,p;for(p=[],s=[],a=0,l=f.length;a<l;a++)n=f[a],c=parseFloat(o.getAggregator(i?n:t,i?t:n).value()),p.push(isFinite(c)?c:null),s.push(n.join("-")||" ");return u={name:t.join("-")||d},"pie"===r.type?(u.values=p,u.labels=s.length>1?s:[d]):(u.x=i?p:s,u.y=i?s:p),e.extend(u,r)})),i?(v=o.rowAttrs.join("-"),h=o.colAttrs.join("-")):(v=o.colAttrs.join("-"),h=o.rowAttrs.join("-")),A=d,""!==v&&(A+=" "+a.localeStrings.vs+" "+v),""!==h&&(A+=" "+a.localeStrings.by+" "+h),g={title:A,hovermode:"closest",width:window.innerWidth/1.4,height:window.innerHeight/1.4-50},"pie"===r.type){for(m in l=Math.ceil(Math.sqrt(c.length)),x=Math.ceil(c.length/l),g.grid={columns:l,rows:x},c)u=c[m],u.domain={row:Math.floor(m/l),column:m-l*Math.floor(m/l)},c.length>1&&(u.title=u.name);1===c[0].labels.length&&(g.showlegend=!1)}else g.xaxis={title:i?d:null,automargin:!0},g.yaxis={title:i?null:d,automargin:!0};return y=e("<div>").appendTo(e("body")),t.newPlot(y[0],c,e.extend(g,n,a.plotly),a.plotlyConfig),y.detach()}},n=function(){return function(r,n){var i,o,a,s,l,u,c,f,p,d,h,v,m,g;for(s={localeStrings:{vs:"vs",by:"by"},plotly:{},plotlyConfig:{}},n=e.extend(!0,{},s,n),m=r.getRowKeys(),0===m.length&&m.push([]),o=r.getColKeys(),0===o.length&&o.push([]),a={x:[],y:[],text:[],type:"scatter",mode:"markers"},l=0,f=m.length;l<f;l++)for(v=m[l],u=0,p=o.length;u<p;u++)i=o[u],g=r.getAggregator(v,i).value(),null!=g&&(a.x.push(i.join("-")),a.y.push(v.join("-")),a.text.push(g));return c={title:r.rowAttrs.join("-")+" vs "+r.colAttrs.join("-"),hovermode:"closest",xaxis:{title:r.colAttrs.join("-"),automargin:!0},yaxis:{title:r.rowAttrs.join("-"),automargin:!0},width:window.innerWidth/1.5,height:window.innerHeight/1.4-50},d=e("<div>",{style:"display:none;"}).appendTo(e("body")),h=e("<div>").appendTo(d),t.newPlot(h[0],[a],e.extend(c,n.plotly),n.plotlyConfig),h.detach(),d.remove(),h}},e.pivotUtilities.plotly_renderers={"Horizontal Bar Chart":r({type:"bar",orientation:"h"},{barmode:"group"},!0),"Horizontal Stacked Bar Chart":r({type:"bar",orientation:"h"},{barmode:"relative"},!0),"Bar Chart":r({type:"bar"},{barmode:"group"}),"Stacked Bar Chart":r({type:"bar"},{barmode:"relative"}),"Line Chart":r(),"Area Chart":r({stackgroup:1}),"Scatter Chart":n(),"Multiple Pie Chart":r({type:"pie",scalegroup:1,hoverinfo:"label+value",textinfo:"none"},{},!0)}}))}).call(this)},"3c41":function(e,t){function r(e){var t=new Float32Array(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}e.exports=r},"3c55":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("ac96"),a=r("d8db"),s=function(e,t){var r=[].concat(e).reverse();while(r.length){var n=r.pop();t(n);var i=n.children;Array.isArray(i)||a(!1),r=r.concat([].concat(i.reverse()))}},l=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},u=function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?n({},t,{depth:(e.depth||0)+1}):t})))},c={fromRawTreeStateToRawState:function(e){var t=e.blocks,r=[];return Array.isArray(t)||a(!1),Array.isArray(t)&&t.length?(s(t,(function(e){var t=n({},e);l(e)&&(t.depth=t.depth||0,u(e),null!=e.children&&e.children.length>0)||(delete t.children,r.push(t))})),e.blocks=r,n({},e,{blocks:r})):e},fromRawStateToRawTreeState:function(e){var t=[],r=[];return e.blocks.forEach((function(e){var i=l(e),a=e.depth||0,s=n({},e,{children:[]});if(i){var u=r[0];if(null==u&&0===a)t.push(s);else if(null==u||u.depth<a-1){var c={key:o(),text:"",depth:a-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(c),1===a?t.push(c):null!=u&&u.children.push(c),c.children.push(s)}else if(u.depth===a-1)u.children.push(s);else{while(null!=u&&u.depth>=a)r.shift(),u=r[0];a>0?u.children.push(s):t.push(s)}}else t.push(s)})),n({},e,{blocks:t})}};e.exports=c},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,i=r("69f3"),o=r("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},"3cb6":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedDateTimePicker=void 0;var i=f(r("5174")),o=f(r("e433")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){return s.default.createElement(i.default,this.props,s.default.createElement(o.default,{value:this.props.fullValue,placeholder:this.props.placeholder,onChange:this.props.updatePlot}))}}]),r}(s.Component);t.UnconnectedDateTimePicker=k,k.propTypes=d({fullValue:a.default.string,updatePlot:a.default.func,placeholder:a.default.string},i.default.propTypes),k.displayName="UnconnectedDateTimePicker";var T=(0,l.connectToContainer)(k);t.default=T},"3cf3":function(e,t,r){"use strict";var n=r("7e96");e.exports=function(e,t,r){var i=e.i;return"x"in e||(e.x=t._x[i]),"y"in e||(e.y=t._y[i]),n(e,t,r)}},"3d08":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("f2e4"),a=r("24be"),s=r("d6aa"),l=r("ac96"),u=r("c687"),c=r("7301"),f=r("24f7"),p=r("1eb8"),d=f.List,h=f.Repeat,v=c("draft_tree_data_support"),m=v?a:o,g={processHTML:function(e,t){return s(e,u,t)},processText:function(e,t,r){return e.reduce((function(e,i,o){i=p(i);var a=l(),s={key:a,type:r,text:i,characterList:d(h(t,i.length))};if(v&&0!==o){var u=o-1,c=e[u]=e[u].merge({nextSibling:a});s=n({},s,{prevSibling:c.getKey()})}return e.push(new m(s)),e}),[])}};e.exports=g},"3d28":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,15H21V13H3V15M3,19H21V17H3V19M3,11H21V9H3V11M3,5V7H21V5H3Z"}))};e.exports=s},"3d2e":function(e,t,r){"use strict";e.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},"3d78":function(e,t,r){"use strict";var n=r("b993");e.exports=o;var i={};function o(e,t,r){var o=i[t];if(o||(o=i[t]={}),e in o)return o[e];var a={textAlign:"center",textBaseline:"middle",lineHeight:1,font:t,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},s=n(e,a);a.triangles=!1;var l,u,c=n(e,a);if(r&&1!==r){for(l=0;l<s.positions.length;++l)for(u=0;u<s.positions[l].length;++u)s.positions[l][u]/=r;for(l=0;l<c.positions.length;++l)for(u=0;u<c.positions[l].length;++u)c.positions[l][u]/=r}var f=[[1/0,1/0],[-1/0,-1/0]],p=c.positions.length;for(l=0;l<p;++l){var d=c.positions[l];for(u=0;u<2;++u)f[0][u]=Math.min(f[0][u],d[u]),f[1][u]=Math.max(f[1][u],d[u])}return o[e]=[s,c,f]}},"3dac":function(e,t,r){"use strict";var n=r("0fba");function i(e){return n(e[0])*n(e[1])}e.exports=i},"3de2":function(e,t,r){"use strict";var n=r("b7d1");function i(e){var t;return arguments.length>1&&(e=arguments),"string"===typeof e?e=e.split(/\s/).map(parseFloat):"number"===typeof e&&(e=[e]),e.length&&"number"===typeof e[0]?t=1===e.length?{width:e[0],height:e[0],x:0,y:0}:2===e.length?{width:e[0],height:e[1],x:0,y:0}:{x:e[0],y:e[1],width:e[2]-e[0]||0,height:e[3]-e[1]||0}:e&&(e=n(e,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),t={x:e.left||0,y:e.top||0},null==e.width?e.right?t.width=e.right-t.x:t.width=0:t.width=e.width,null==e.height?e.bottom?t.height=e.bottom-t.y:t.height=0:t.height=e.height),t}e.exports=i},"3e11":function(e,t,r){"use strict";var n=r("cf9f");e.exports=function(e,t,r,i){var o=e._fullLayout,a=o._paper,s=o._size;n(e,a,t,{width:s.w,height:s.h,margin:{t:s.t,r:s.r,b:s.b,l:s.l}},r,i)}},"3e43":function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Islamic",jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);return(11*t.year()+14)%30<11},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(e){return this.leapYear(e)?355:354},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return 5!==this.dayOfWeek(e,t,r)},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return e=i.year(),t=i.month(),r=i.day(),e=e<=0?e+1:e,r+Math.ceil(29.5*(t-1))+354*(e-1)+Math.floor((3+11*e)/30)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e)+.5;var t=Math.floor((30*(e-this.jdEpoch)+10646)/10631);t=t<=0?t-1:t;var r=Math.min(12,Math.ceil((e-29-this.toJD(t,1,1))/29.5)+1),n=e-this.toJD(t,r,1)+1;return this.newDate(t,r,n)}}),n.calendars.islamic=o},"3e8e":function(e,t,r){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},"3e8f":function(e,t){},"3e97":function(e,t,r){"use strict";e.exports=function(e,t){return"xVal"in t&&(e.x=t.xVal),"yVal"in t&&(e.y=t.yVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e.color=t.color,e.colormodel=t.trace.colormodel,e.z||(e.z=t.color),e}},"3eab":function(e,t,r){"use strict";e.exports=r("77ae")},"3ee9":function(e,t,r){"use strict";e.exports={attributes:r("6b50"),supplyDefaults:r("b6f7"),calc:r("6dea"),colorbar:{min:"cmin",max:"cmax"},plot:r("54a9"),moduleType:"trace",name:"mesh3d",basePlotModule:r("134c"),categories:["gl3d","showLegend"],meta:{description:["Draws sets of triangles with coordinates given by","three 1-dimensional arrays in `x`, `y`, `z` and","(1) a sets of `i`, `j`, `k` indices","(2) Delaunay triangulation or","(3) the Alpha-shape algorithm or","(4) the Convex-hull algorithm"].join(" ")}}},"3efe":function(e,t,r){"use strict";e.exports=r("a18b")},"3f57":function(e,t,r){e.exports=r("e5c5")},"3f8c":function(e,t){e.exports={}},"3fb2":function(e,t,r){"use strict";var n=r("fc26"),i=r("bb71"),o=r("6921"),a=r("3ff5").dfltConfig,s=n.isPlainObject,l=Array.isArray,u=n.isArrayOrTypedArray;function c(e,t,r,i,o,a){a=a||[];for(var f=Object.keys(e),p=0;p<f.length;p++){var d=f[p];if("transforms"!==d){var g=a.slice();g.push(d);var y=e[d],b=t[d],x=m(r,d),A=(x||{}).valType,w="info_array"===A,_="colorscale"===A,E=(x||{}).items;if(v(r,d))if(s(y)&&s(b)&&"any"!==A)c(y,b,x,i,o,g);else if(w&&l(y)){y.length>b.length&&i.push(h("unused",o,g.concat(b.length)));var k,T,C,S,O,M=b.length,P=Array.isArray(E);if(P&&(M=Math.min(M,E.length)),2===x.dimensions)for(T=0;T<M;T++)if(l(y[T])){y[T].length>b[T].length&&i.push(h("unused",o,g.concat(T,b[T].length)));var B=b[T].length;for(k=0;k<(P?Math.min(B,E[T].length):B);k++)C=P?E[T][k]:E,S=y[T][k],O=b[T][k],n.validate(S,C)?O!==S&&O!==+S&&i.push(h("dynamic",o,g.concat(T,k),S,O)):i.push(h("value",o,g.concat(T,k),S))}else i.push(h("array",o,g.concat(T),y[T]));else for(T=0;T<M;T++)C=P?E[T]:E,S=y[T],O=b[T],n.validate(S,C)?O!==S&&O!==+S&&i.push(h("dynamic",o,g.concat(T),S,O)):i.push(h("value",o,g.concat(T),S))}else if(x.items&&!w&&l(y)){var L,D,I=E[Object.keys(E)[0]],j=[];for(L=0;L<b.length;L++){var R=b[L]._index||L;if(D=g.slice(),D.push(R),s(y[R])&&s(b[L])){j.push(R);var F=y[R],N=b[L];s(F)&&!1!==F.visible&&!1===N.visible?i.push(h("invisible",o,D)):c(F,N,I,i,o,D)}}for(L=0;L<y.length;L++)D=g.slice(),D.push(L),s(y[L])?-1===j.indexOf(L)&&i.push(h("unused",o,D)):i.push(h("object",o,D,y[L]))}else!s(y)&&s(b)?i.push(h("object",o,g,y)):u(y)||!u(b)||w||_?d in t?n.validate(y,x)?"enumerated"===x.valType&&(x.coerceNumber&&y!==+b||y!==b)&&i.push(h("dynamic",o,g,y,b)):i.push(h("value",o,g,y)):i.push(h("unused",o,g,y)):i.push(h("array",o,g,y));else i.push(h("schema",o,g))}}return i}function f(e,t){for(var r=e.layout.layoutAttributes,i=0;i<t.length;i++){var o=t[i],a=e.traces[o.type],s=a.layoutAttributes;s&&(o.subplot?n.extendFlat(r[a.attributes.subplot.dflt],s):n.extendFlat(r,s))}return r}e.exports=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={});var r,u,p=o.get(),d=[],v={_context:n.extendFlat({},a)};l(e)?(v.data=n.extendDeep([],e),r=e):(v.data=[],r=[],d.push(h("array","data"))),s(t)?(v.layout=n.extendDeep({},t),u=t):(v.layout={},u={},arguments.length>1&&d.push(h("object","layout"))),i.supplyDefaults(v);for(var m=v._fullData,g=r.length,y=0;y<g;y++){var b=r[y],x=["data",y];if(s(b)){var A=m[y],w=A.type,_=p.traces[w].attributes;_.type={valType:"enumerated",values:[w]},!1===A.visible&&!1!==b.visible&&d.push(h("invisible",x)),c(b,A,_,d,x);var E=b.transforms,k=A.transforms;if(E){l(E)||d.push(h("array",x,["transforms"])),x.push("transforms");for(var T=0;T<E.length;T++){var C=["transforms",T],S=E[T].type;if(s(E[T])){var O=p.transforms[S]?p.transforms[S].attributes:{};O.type={valType:"enumerated",values:Object.keys(p.transforms)},c(E[T],k[T],O,d,x,C)}else d.push(h("object",x,C))}}}else d.push(h("object",x))}var M=v._fullLayout,P=f(p,m);return c(u,M,P,d,"layout"),0===d.length?void 0:d};var p={object:function(e,t){var r;return r="layout"===e&&""===t?"The layout argument":"data"===e[0]&&""===t?"Trace "+e[1]+" in the data argument":d(e)+"key "+t,r+" must be linked to an object container"},array:function(e,t){var r;return r="data"===e?"The data argument":d(e)+"key "+t,r+" must be linked to an array container"},schema:function(e,t){return d(e)+"key "+t+" is not part of the schema"},unused:function(e,t,r){var n=s(r)?"container":"key";return d(e)+n+" "+t+" did not get coerced"},dynamic:function(e,t,r,n){return[d(e)+"key",t,"(set to '"+r+"')","got reset to","'"+n+"'","during defaults."].join(" ")},invisible:function(e,t){return(t?d(e)+"item "+t:"Trace "+e[1])+" got defaulted to be not visible"},value:function(e,t,r){return[d(e)+"key "+t,"is set to an invalid value ("+r+")"].join(" ")}};function d(e){return l(e)?"In data trace "+e[1]+", ":"In "+e+", "}function h(e,t,r,i,o){var a,s;r=r||"",l(t)?(a=t[0],s=t[1]):(a=t,s=null);var u=b(r),c=p[e](t,u,i,o);return n.log(c),{code:e,container:a,trace:s,path:r,astr:u,msg:c}}function v(e,t){var r=y(t),n=r.keyMinusId,i=r.id;return!!(n in e&&e[n]._isSubplotObj&&i)||t in e}function m(e,t){if(t in e)return e[t];var r=y(t);return e[r.keyMinusId]}var g=n.counterRegex("([a-z]+)");function y(e){var t=e.match(g);return{keyMinusId:t&&t[1],id:t&&t[2]}}function b(e){if(!l(e))return String(e);for(var t="",r=0;r<e.length;r++){var n=e[r];"number"===typeof n?t=t.substr(0,t.length-1)+"["+n+"]":t+=n,r<e.length-1&&(t+=".")}return t}},"3fca":function(e,t,r){"use strict";var n=r("e192"),i=r("fc26"),o=r("0919"),a=r("371e"),s=r("0642"),l=r("4efe"),u=r("a5c4"),c=r("e21b"),f=c.rectMode,p=c.drawMode,d=c.selectMode,h=r("1876").prepSelect,v=r("1876").clearSelect,m=r("1876").clearSelectionsCache,g=r("1876").selectOnClick,y=r("b5e4"),b=r("d0d2");function x(e,t){this.id=t,this.gd=e;var r=e._fullLayout,n=e._context;this.container=r._glcontainer.node(),this.isStatic=n.staticPlot,this.uid=r._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(r),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var A=x.prototype;A.plot=function(e,t,r){var n,i=this,o=t[i.id];i.map&&o.accesstoken!==i.accessToken&&(i.map.remove(),i.map=null,i.styleObj=null,i.traceHash={},i.layerList=[]),n=i.map?new Promise((function(r,n){i.updateMap(e,t,r,n)})):new Promise((function(r,n){i.createMap(e,t,r,n)})),r.push(n)},A.createMap=function(e,t,r,i){var a=this,s=t[a.id],l=a.styleObj=_(s.style);a.accessToken=s.accesstoken;var u=a.map=new n.Map({container:a.div,style:l.style,center:k(s.center),zoom:s.zoom,bearing:s.bearing,pitch:s.pitch,interactive:!a.isStatic,preserveDrawingBuffer:a.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new n.AttributionControl({compact:!0}));u._canvas.style.left="0px",u._canvas.style.top="0px",a.rejectOnError(i),a.isStatic||a.initFx(e,t);var c=[];c.push(new Promise((function(e){u.once("load",e)}))),c=c.concat(o.fetchTraceGeoData(e)),Promise.all(c).then((function(){a.fillBelowLookup(e,t),a.updateData(e),a.updateLayout(t),a.resolveOnRender(r)})).catch(i)},A.updateMap=function(e,t,r,n){var i=this,a=i.map,s=t[this.id];i.rejectOnError(n);var l=[],u=_(s.style);JSON.stringify(i.styleObj)!==JSON.stringify(u)&&(i.styleObj=u,a.setStyle(u.style),i.traceHash={},l.push(new Promise((function(e){a.once("styledata",e)})))),l=l.concat(o.fetchTraceGeoData(e)),Promise.all(l).then((function(){i.fillBelowLookup(e,t),i.updateData(e),i.updateLayout(t),i.resolveOnRender(r)})).catch(n)},A.fillBelowLookup=function(e,t){var r,n,i=t[this.id],o=i.layers,a=this.belowLookup={},s=!1;for(r=0;r<e.length;r++){var l=e[r][0].trace,u=l._module;"string"===typeof l.below?n=l.below:u.getBelow&&(n=u.getBelow(l,this)),""===n&&(s=!0),a["trace-"+l.uid]=n||""}for(r=0;r<o.length;r++){var c=o[r];n="string"===typeof c.below?c.below:s?"traces":"",a["layout-"+r]=n}var f,p,d={};for(f in a)n=a[f],d[n]?d[n].push(f):d[n]=[f];for(n in d){var h=d[n];if(h.length>1)for(r=0;r<h.length;r++)f=h[r],0===f.indexOf("trace-")?(p=f.split("trace-")[1],this.traceHash[p]&&(this.traceHash[p].below=null)):0===f.indexOf("layout-")&&(p=f.split("layout-")[1],this.layerList[p]&&(this.layerList[p].below=null))}};var w={choroplethmapbox:0,densitymapbox:1,scattermapbox:2};function _(e){var t={};return i.isPlainObject(e)?(t.id=e.id,t.style=e):"string"===typeof e?(t.id=e,-1!==y.styleValuesMapbox.indexOf(e)?t.style=E(e):y.stylesNonMapbox[e]?t.style=y.stylesNonMapbox[e]:t.style=e):(t.id=y.styleValueDflt,t.style=E(y.styleValueDflt)),t.transition={duration:0,delay:0},t}function E(e){return y.styleUrlPrefix+e+"-"+y.styleUrlSuffix}function k(e){return[e.lon,e.lat]}A.updateData=function(e){var t,r,n,i,o=this.traceHash,a=e.slice().sort((function(e,t){return w[e[0].trace.type]-w[t[0].trace.type]}));for(n=0;n<a.length;n++){var s=a[n];r=s[0].trace,t=o[r.uid];var l=!1;t&&(t.type===r.type?(t.update(s),l=!0):t.dispose()),!l&&r._module&&(o[r.uid]=r._module.plot(this,s))}var u=Object.keys(o);e:for(n=0;n<u.length;n++){var c=u[n];for(i=0;i<e.length;i++)if(r=e[i][0].trace,c===r.uid)continue e;t=o[c],t.dispose(),delete o[c]}},A.updateLayout=function(e){var t=this.map,r=e[this.id];this.dragging||this.wheeling||(t.setCenter(k(r.center)),t.setZoom(r.zoom),t.setBearing(r.bearing),t.setPitch(r.pitch)),this.updateLayers(e),this.updateFramework(e),this.updateFx(e),this.map.resize(),this.gd._context._scrollZoom.mapbox?t.scrollZoom.enable():t.scrollZoom.disable()},A.resolveOnRender=function(e){var t=this.map;t.on("render",(function r(){t.loaded()&&(t.off("render",r),setTimeout(e,10))}))},A.rejectOnError=function(e){var t=this.map;function r(){e(new Error(y.mapOnErrorMsg))}t.once("error",r),t.once("style.error",r),t.once("source.error",r),t.once("tile.error",r),t.once("layer.error",r)},A.createFramework=function(e){var t=this,r=t.div=document.createElement("div");r.id=t.uid,r.style.position="absolute",t.container.appendChild(r),t.xaxis={_id:"x",c2p:function(e){return t.project(e).x}},t.yaxis={_id:"y",c2p:function(e){return t.project(e).y}},t.updateFramework(e),t.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(t.mockAxis,e)},A.initFx=function(e,t){var r=this,n=r.gd,i=r.map;function o(){u.loneUnhover(t._hoverlayer)}function s(){var e=r.getView();n.emit("plotly_relayouting",r.getViewEditsWithDerived(e))}i.on("moveend",(function(e){if(r.map){var t=n._fullLayout;if(e.originalEvent||r.wheeling){var i=t[r.id];a.call("_storeDirectGUIEdit",n.layout,t._preGUI,r.getViewEdits(i));var o=r.getView();i._input.center=i.center=o.center,i._input.zoom=i.zoom=o.zoom,i._input.bearing=i.bearing=o.bearing,i._input.pitch=i.pitch=o.pitch,n.emit("plotly_relayout",r.getViewEditsWithDerived(o))}e.originalEvent&&"mouseup"===e.originalEvent.type?r.dragging=!1:r.wheeling&&(r.wheeling=!1),t._rehover&&t._rehover()}})),i.on("wheel",(function(){r.wheeling=!0})),i.on("mousemove",(function(e){var t=r.div.getBoundingClientRect(),o=[e.originalEvent.offsetX,e.originalEvent.offsetY];e.target.getBoundingClientRect=function(){return t},r.xaxis.p2c=function(){return i.unproject(o).lng},r.yaxis.p2c=function(){return i.unproject(o).lat},n._fullLayout._rehover=function(){n._fullLayout._hoversubplot===r.id&&n._fullLayout[r.id]&&u.hover(n,e,r.id)},u.hover(n,e,r.id),n._fullLayout._hoversubplot=r.id})),i.on("dragstart",(function(){r.dragging=!0,o()})),i.on("zoomstart",o),i.on("mouseout",(function(){n._fullLayout._hoversubplot=null})),i.on("drag",s),i.on("zoom",s),i.on("dblclick",(function(){var e=n._fullLayout[r.id];a.call("_storeDirectGUIEdit",n.layout,n._fullLayout._preGUI,r.getViewEdits(e));var t=r.viewInitial;i.setCenter(k(t.center)),i.setZoom(t.zoom),i.setBearing(t.bearing),i.setPitch(t.pitch);var o=r.getView();e._input.center=e.center=o.center,e._input.zoom=e.zoom=o.zoom,e._input.bearing=e.bearing=o.bearing,e._input.pitch=e.pitch=o.pitch,n.emit("plotly_doubleclick",null),n.emit("plotly_relayout",r.getViewEditsWithDerived(o))})),r.clearSelect=function(){m(r.dragOptions),v(r.dragOptions.gd)},r.onClickInPanFn=function(e){return function(t){var i=n._fullLayout.clickmode;i.indexOf("select")>-1&&g(t.originalEvent,n,[r.xaxis],[r.yaxis],r.id,e),i.indexOf("event")>-1&&u.click(n,t.originalEvent)}}},A.updateFx=function(e){var t=this,r=t.map,n=t.gd;if(!t.isStatic){var o,a=e.dragmode;o=f(a)?function(e,r){var n=e.range={};n[t.id]=[u([r.xmin,r.ymin]),u([r.xmax,r.ymax])]}:function(e,r,n){var i=e.lassoPoints={};i[t.id]=n.filtered.map(u)};var s=t.dragOptions;t.dragOptions=i.extendDeep(s||{},{dragmode:e.dragmode,element:t.div,gd:n,plotinfo:{id:t.id,domain:e[t.id].domain,xaxis:t.xaxis,yaxis:t.yaxis,fillRangeItems:o},xaxes:[t.xaxis],yaxes:[t.yaxis],subplot:t.id}),r.off("click",t.onClickInPanHandler),d(a)||p(a)?(r.dragPan.disable(),r.on("zoomstart",t.clearSelect),t.dragOptions.prepFn=function(e,r,n){h(e,r,n,t.dragOptions,a)},l.init(t.dragOptions)):(r.dragPan.enable(),r.off("zoomstart",t.clearSelect),t.div.onmousedown=null,t.onClickInPanHandler=t.onClickInPanFn(t.dragOptions),r.on("click",t.onClickInPanHandler))}function u(e){var r=t.map.unproject(e);return[r.lng,r.lat]}},A.updateFramework=function(e){var t=e[this.id].domain,r=e._size,n=this.div.style;n.width=r.w*(t.x[1]-t.x[0])+"px",n.height=r.h*(t.y[1]-t.y[0])+"px",n.left=r.l+t.x[0]*r.w+"px",n.top=r.t+(1-t.y[1])*r.h+"px",this.xaxis._offset=r.l+t.x[0]*r.w,this.xaxis._length=r.w*(t.x[1]-t.x[0]),this.yaxis._offset=r.t+(1-t.y[1])*r.h,this.yaxis._length=r.h*(t.y[1]-t.y[0])},A.updateLayers=function(e){var t,r=e[this.id],n=r.layers,i=this.layerList;if(n.length!==i.length){for(t=0;t<i.length;t++)i[t].dispose();for(i=this.layerList=[],t=0;t<n.length;t++)i.push(b(this,t,n[t]))}else for(t=0;t<n.length;t++)i[t].update(n[t])},A.destroy=function(){this.map&&(this.map.remove(),this.map=null,this.container.removeChild(this.div))},A.toImage=function(){return this.map.stop(),this.map.getCanvas().toDataURL()},A.setOptions=function(e,t,r){for(var n in r)this.map[t](e,n,r[n])},A.getMapLayers=function(){return this.map.getStyle().layers},A.addLayer=function(e,t){var r=this.map;if("string"===typeof t){if(""===t)return void r.addLayer(e,t);for(var n=this.getMapLayers(),o=0;o<n.length;o++)if(t===n[o].id)return void r.addLayer(e,t);i.warn(["Trying to add layer with *below* value",t,"referencing a layer that does not exist","or that does not yet exist."].join(" "))}r.addLayer(e)},A.project=function(e){return this.map.project(new n.LngLat(e[0],e[1]))},A.getView=function(){var e=this.map,t=e.getCenter(),r={lon:t.lng,lat:t.lat},n=e.getCanvas(),i=n.width,o=n.height;return{center:r,zoom:e.getZoom(),bearing:e.getBearing(),pitch:e.getPitch(),_derived:{coordinates:[e.unproject([0,0]).toArray(),e.unproject([i,0]).toArray(),e.unproject([i,o]).toArray(),e.unproject([0,o]).toArray()]}}},A.getViewEdits=function(e){for(var t=this.id,r=["center","zoom","bearing","pitch"],n={},i=0;i<r.length;i++){var o=r[i];n[t+"."+o]=e[o]}return n},A.getViewEditsWithDerived=function(e){var t=this.id,r=this.getViewEdits(e);return r[t+"._derived"]=e._derived,r},e.exports=x},"3fe8":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26");e.exports=function(e,t,r,o){var a=r("x"),s=r("open"),l=r("high"),u=r("low"),c=r("close");r("hoverlabel.split");var f=n.getComponentMethod("calendars","handleTraceDefaults");if(f(e,t,["x"],o),s&&l&&u&&c){var p=Math.min(s.length,l.length,u.length,c.length);return a&&(p=Math.min(p,i.minRowLength(a))),t._length=p,p}}},"3ff5":function(e,t,r){"use strict";var n={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","<path-to-plotly.js>/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},i={};function o(e,t){for(var r in e){var n=e[r];n.valType?t[r]=n.dflt:(t[r]||(t[r]={}),o(n,t[r]))}}o(n,i),e.exports={configAttributes:n,dfltConfig:i}},"3ff7":function(e,t,r){"use strict";e.exports={xaxis:{valType:"subplotid",role:"info",dflt:"x",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's x coordinates and","a 2D cartesian x axis.","If *x* (the default value), the x coordinates refer to","`layout.xaxis`.","If *x2*, the x coordinates refer to `layout.xaxis2`, and so on."].join(" ")},yaxis:{valType:"subplotid",role:"info",dflt:"y",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's y coordinates and","a 2D cartesian y axis.","If *y* (the default value), the y coordinates refer to","`layout.yaxis`.","If *y2*, the y coordinates refer to `layout.yaxis2`, and so on."].join(" ")}}},4029:function(e,t,r){"use strict";e.exports=r("fb07")},"402e":function(e,t,r){"use strict";var n=r("28dd"),i=r("efce"),o=r("cea5"),a=r("c9eb");function s(e,t,r,n,i){this.plot=e,this.offsetBuffer=t,this.pickBuffer=r,this.shader=n,this.pickShader=i,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}e.exports=c;var l=s.prototype;function u(e,t){var r,n=0,i=e.length>>>1;for(r=0;r<i;r++){var o=e[2*r],a=e[2*r+1];o>=t[0]&&o<=t[2]&&a>=t[1]&&a<=t[3]&&n++}return n}function c(e,t){var r=e.gl,o=i(r),l=i(r),u=n(r,a.pointVertex,a.pointFragment),c=n(r,a.pickVertex,a.pickFragment),f=new s(e,o,l,u,c);return f.update(t),e.addObject(f),f}l.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},l.update=function(e){var t;function r(t,r){return t in e?e[t]:r}e=e||{},this.sizeMin=r("sizeMin",.5),this.sizeMax=r("sizeMax",20),this.color=r("color",[1,0,0,1]).slice(),this.areaRatio=r("areaRatio",1),this.borderColor=r("borderColor",[0,0,0,1]).slice(),this.blend=r("blend",!1);var n=e.positions.length>>>1,i=e.positions instanceof Float32Array,a=e.idToIndex instanceof Int32Array&&e.idToIndex.length>=n,s=e.positions,l=i?s:o.mallocFloat32(s.length),u=a?e.idToIndex:o.mallocInt32(n);if(i||l.set(s),!a)for(l.set(s),t=0;t<n;t++)u[t]=t;this.points=s,this.offsetBuffer.update(l),this.pickBuffer.update(u),i||o.free(l),a||o.free(u),this.pointCount=n,this.pickOffset=0},l.unifiedDraw=function(){var e=[1,0,0,0,1,0,0,0,1],t=[0,0,0,0];return function(r){var n=void 0!==r,i=n?this.pickShader:this.shader,o=this.plot.gl,a=this.plot.dataBox;if(0===this.pointCount)return r;var s=a[2]-a[0],l=a[3]-a[1],c=u(this.points,a),f=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(c,.33333)));e[0]=2/s,e[4]=2/l,e[6]=-2*a[0]/s-1,e[7]=-2*a[1]/l-1,this.offsetBuffer.bind(),i.bind(),i.attributes.position.pointer(),i.uniforms.matrix=e,i.uniforms.color=this.color,i.uniforms.borderColor=this.borderColor,i.uniforms.pointCloud=f<5,i.uniforms.pointSize=f,i.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),n&&(t[0]=255&r,t[1]=r>>8&255,t[2]=r>>16&255,t[3]=r>>24&255,this.pickBuffer.bind(),i.attributes.pickId.pointer(o.UNSIGNED_BYTE),i.uniforms.pickOffset=t,this.pickOffset=r);var p=o.getParameter(o.BLEND),d=o.getParameter(o.DITHER);return p&&!this.blend&&o.disable(o.BLEND),d&&o.disable(o.DITHER),o.drawArrays(o.POINTS,0,this.pointCount),p&&!this.blend&&o.enable(o.BLEND),d&&o.enable(o.DITHER),r+this.pointCount}}(),l.draw=l.unifiedDraw,l.drawPick=l.unifiedDraw,l.pick=function(e,t,r){var n=this.pickOffset,i=this.pointCount;if(r<n||r>=n+i)return null;var o=r-n,a=this.points;return{object:this,pointId:o,dataCoord:[a[2*o],a[2*o+1]]}}},4031:function(e,t,r){"use strict";var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a=r("22af"),s=r("ab5b"),l=r("7d90"),u=r("9a31"),c=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var r=t.prototype;return r.render=function(){var e=this.props,t=e.block,r=e.children,n=e.contentState,o=e.decorator,c=e.decoratorKey,f=e.direction,p=e.leafSet,d=e.text,h=t.getKey(),v=p.get("leaves"),m=o.getComponentForKey(c),g=o.getPropsForKey(c),y=a.encode(h,parseInt(c,10),0),b=d.slice(v.first().get("start"),v.last().get("end")),x=u.getHTMLDirIfDifferent(l.getDirection(b),f);return s.createElement(m,i({},g,{contentState:n,decoratedText:b,dir:x,key:y,entityKey:t.getEntityAt(p.get("start")),offsetKey:y}),r)},t}(s.Component);e.exports=c},4051:function(e,t,r){"use strict";var n=r("2969f"),i=r("98e7").calcHover;function o(e,t,r){var o=e.cd,a=o[0].trace,s=e.scene,l=s.matrixOptions.cdata,u=e.xa,c=e.ya,f=u.c2p(t),p=c.c2p(r),d=e.distance,h=n.getDimIndex(a,u),v=n.getDimIndex(a,c);if(!1===h||!1===v)return[e];for(var m,g,y=l[h],b=l[v],x=d,A=0;A<y.length;A++){var w=y[A],_=b[A],E=u.c2p(w)-f,k=c.c2p(_)-p,T=Math.sqrt(E*E+k*k);T<x&&(x=g=T,m=A)}return e.index=m,e.distance=x,e.dxy=g,void 0===m?[e]:[i(e,y,b,a)]}e.exports={hoverPoints:o}},"407c":function(e,t,r){"use strict";function n(e){return"BM"===e.toString("ascii",0,2)}function i(e){return{width:e.readUInt32LE(18),height:Math.abs(e.readInt32LE(22))}}e.exports={detect:n,calculate:i}},"408a":function(e,t,r){var n=r("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=n(e))throw TypeError("Incorrect invocation");return+e}},"408c":function(e,t,r){var n=r("2b3e"),i=function(){return n.Date.now()};e.exports=i},"409f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("716c");function i(e){var t=[1/0,1/0,-1/0,-1/0];return n.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]<e[0]&&(t[2]=e[0]),t[3]<e[1]&&(t[3]=e[1])})),t}t.default=i},"40c0":function(e,t,r){"use strict";var n=r("fb5a"),i=r("94d5").hovertemplateAttrs,o=r("4274"),a=r("8d0e"),s=r("9092").extendFlat;e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the sample data to be binned on the x axis."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the sample data to be binned on the y axis."].join(" ")},text:s({},n.text,{description:["Sets hover text elements associated with each bar.","If a single string, the same string appears over all bars.","If an array of string, the items are mapped in order to the","this trace's coordinates."].join(" ")}),hovertext:s({},n.hovertext,{description:"Same as `text`."}),orientation:n.orientation,histfunc:{valType:"enumerated",values:["count","sum","avg","min","max"],role:"style",dflt:"count",editType:"calc",description:["Specifies the binning function used for this histogram trace.","If *count*, the histogram values are computed by counting the","number of values lying inside each bin.","If *sum*, *avg*, *min*, *max*,","the histogram values are computed using","the sum, the average, the minimum or the maximum","of the values lying inside each bin respectively."].join(" ")},histnorm:{valType:"enumerated",values:["","percent","probability","density","probability density"],dflt:"",role:"style",editType:"calc",description:["Specifies the type of normalization used for this histogram trace.","If **, the span of each bar corresponds to the number of","occurrences (i.e. the number of data points lying inside the bins).","If *percent* / *probability*, the span of each bar corresponds to","the percentage / fraction of occurrences with respect to the total","number of sample points","(here, the sum of all bin HEIGHTS equals 100% / 1).","If *density*, the span of each bar corresponds to the number of","occurrences in a bin divided by the size of the bin interval","(here, the sum of all bin AREAS equals the","total number of sample points).","If *probability density*, the area of each bar corresponds to the","probability that an event will fall into the corresponding bin","(here, the sum of all bin AREAS equals 1)."].join(" ")},cumulative:{enabled:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["If true, display the cumulative distribution by summing the","binned values. Use the `direction` and `centralbin` attributes","to tune the accumulation method.","Note: in this mode, the *density* `histnorm` settings behave","the same as their equivalents without *density*:","** and *density* both rise to the number of data points, and","*probability* and *probability density* both rise to the","number of sample points."].join(" ")},direction:{valType:"enumerated",values:["increasing","decreasing"],dflt:"increasing",role:"info",editType:"calc",description:["Only applies if cumulative is enabled.","If *increasing* (default) we sum all prior bins, so the result","increases from left to right. If *decreasing* we sum later bins","so the result decreases from left to right."].join(" ")},currentbin:{valType:"enumerated",values:["include","exclude","half"],dflt:"include",role:"info",editType:"calc",description:["Only applies if cumulative is enabled.","Sets whether the current bin is included, excluded, or has half","of its value included in the current cumulative value.","*include* is the default for compatibility with various other","tools, however it introduces a half-bin bias to the results.","*exclude* makes the opposite half-bin bias, and *half* removes","it."].join(" ")},editType:"calc"},nbinsx:{valType:"integer",min:0,dflt:0,role:"style",editType:"calc",description:["Specifies the maximum number of desired bins. This value will be used","in an algorithm that will decide the optimal bin size such that the","histogram best visualizes the distribution of the data.","Ignored if `xbins.size` is provided."].join(" ")},xbins:o("x",!0),nbinsy:{valType:"integer",min:0,dflt:0,role:"style",editType:"calc",description:["Specifies the maximum number of desired bins. This value will be used","in an algorithm that will decide the optimal bin size such that the","histogram best visualizes the distribution of the data.","Ignored if `ybins.size` is provided."].join(" ")},ybins:o("y",!0),autobinx:{valType:"boolean",dflt:null,role:"style",editType:"calc",description:["Obsolete: since v1.42 each bin attribute is auto-determined","separately and `autobinx` is not needed. However, we accept","`autobinx: true` or `false` and will update `xbins` accordingly","before deleting `autobinx` from the trace."].join(" ")},autobiny:{valType:"boolean",dflt:null,role:"style",editType:"calc",description:["Obsolete: since v1.42 each bin attribute is auto-determined","separately and `autobiny` is not needed. However, we accept","`autobiny: true` or `false` and will update `ybins` accordingly","before deleting `autobiny` from the trace."].join(" ")},bingroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set a group of histogram traces which will have compatible bin settings.","Note that traces on the same subplot and with the same *orientation*","under `barmode` *stack*, *relative* and *group* are forced into the same bingroup,","Using `bingroup`, traces under `barmode` *overlay* and on different axes","(of the same axis type) can have compatible bin settings.","Note that histogram and histogram2d* trace can share the same `bingroup`"].join(" ")},hovertemplate:i({},{keys:a.eventDataKeys}),marker:n.marker,offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup,selected:n.selected,unselected:n.unselected,_deprecated:{bardir:n._deprecated.bardir}}},"40ce":function(e,t,r){"use strict";var n=r("d37d");function i(){this.argTypes=[],this.shimArgs=[],this.arrayArgs=[],this.arrayBlockIndices=[],this.scalarArgs=[],this.offsetArgs=[],this.offsetArgIndex=[],this.indexArgs=[],this.shapeArgs=[],this.funcName="",this.pre=null,this.body=null,this.post=null,this.debug=!1}function o(e){var t=new i;t.pre=e.pre,t.body=e.body,t.post=e.post;var r=e.args.slice(0);t.argTypes=r;for(var o=0;o<r.length;++o){var a=r[o];if("array"===a||"object"===typeof a&&a.blockIndices){if(t.argTypes[o]="array",t.arrayArgs.push(o),t.arrayBlockIndices.push(a.blockIndices?a.blockIndices:0),t.shimArgs.push("array"+o),o<t.pre.args.length&&t.pre.args[o].count>0)throw new Error("cwise: pre() block may not reference array args");if(o<t.post.args.length&&t.post.args[o].count>0)throw new Error("cwise: post() block may not reference array args")}else if("scalar"===a)t.scalarArgs.push(o),t.shimArgs.push("scalar"+o);else if("index"===a){if(t.indexArgs.push(o),o<t.pre.args.length&&t.pre.args[o].count>0)throw new Error("cwise: pre() block may not reference array index");if(o<t.body.args.length&&t.body.args[o].lvalue)throw new Error("cwise: body() block may not write to array index");if(o<t.post.args.length&&t.post.args[o].count>0)throw new Error("cwise: post() block may not reference array index")}else if("shape"===a){if(t.shapeArgs.push(o),o<t.pre.args.length&&t.pre.args[o].lvalue)throw new Error("cwise: pre() block may not write to array shape");if(o<t.body.args.length&&t.body.args[o].lvalue)throw new Error("cwise: body() block may not write to array shape");if(o<t.post.args.length&&t.post.args[o].lvalue)throw new Error("cwise: post() block may not write to array shape")}else{if("object"!==typeof a||!a.offset)throw new Error("cwise: Unknown argument type "+r[o]);t.argTypes[o]="offset",t.offsetArgs.push({array:a.array,offset:a.offset}),t.offsetArgIndex.push(o)}}if(t.arrayArgs.length<=0)throw new Error("cwise: No array arguments specified");if(t.pre.args.length>r.length)throw new Error("cwise: Too many arguments in pre() block");if(t.body.args.length>r.length)throw new Error("cwise: Too many arguments in body() block");if(t.post.args.length>r.length)throw new Error("cwise: Too many arguments in post() block");return t.debug=!!e.printCode||!!e.debug,t.funcName=e.funcName||"cwise",t.blockSize=e.blockSize||64,n(t)}e.exports=o},"40dd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.ImageAccordion,{canAdd:!0,canReorder:!0},n.default.createElement(o.Radio,{attr:"visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Dropzone,{attr:"source",fileType:"image",show:!0}),n.default.createElement(o.Dropdown,{label:r("Aspect Ratio"),attr:"sizing",options:[{label:r("Contain"),value:"contain"},{label:r("Fill"),value:"fill"},{label:r("Stretch"),value:"stretch"}],clearable:!1}),n.default.createElement(o.Radio,{label:r("Relative to Grid"),attr:"layer",options:[{label:r("Below"),value:"below"},{label:r("Above"),value:"above"}]}),n.default.createElement(o.PositioningNumeric,{attr:"sizex",label:r("Width")}),n.default.createElement(o.PositioningNumeric,{attr:"sizey",label:r("Height")}),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"xanchor",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]}),n.default.createElement(o.PositioningNumeric,{label:r("Position"),attr:"x"}),n.default.createElement(o.PositioningRef,{label:r("Relative To"),attr:"xref"})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"yanchor",options:[{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]}),n.default.createElement(o.PositioningNumeric,{label:r("Position"),attr:"y"}),n.default.createElement(o.PositioningRef,{label:r("Relative To"),attr:"yref"})))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},4136:function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){n.isArrayOrTypedArray(t.selectedpoints)&&n.tagSelected(e,t)}},4168:function(e,t,r){"use strict";var n=r("cc77"),i=r("8b23"),o=r("9343"),a=r("e9e1"),s=r("44fe"),l=r("fc11"),u=r("e581"),c=r("6f51"),f=(r("9ca2"),r("913b")),p=[0,0,0];function d(e){this._components=e.slice(),this._time=[0],this.prevMatrix=e.slice(),this.nextMatrix=e.slice(),this.computedMatrix=e.slice(),this.computedInverse=e.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}e.exports=m;var h=d.prototype;h.recalcMatrix=function(e){var t=this._time,r=n.le(t,e),a=this.computedMatrix;if(!(r<0)){var s=this._components;if(r===t.length-1)for(var l=16*r,u=0;u<16;++u)a[u]=s[l++];else{var c=t[r+1]-t[r],p=(l=16*r,this.prevMatrix),d=!0;for(u=0;u<16;++u)p[u]=s[l++];var h=this.nextMatrix;for(u=0;u<16;++u)h[u]=s[l++],d=d&&p[u]===h[u];if(c<1e-6||d)for(u=0;u<16;++u)a[u]=p[u];else i(a,p,h,(e-t[r])/c)}var v=this.computedUp;v[0]=a[1],v[1]=a[5],v[2]=a[9],f(v,v);var m=this.computedInverse;o(m,a);var g=this.computedEye,y=m[15];g[0]=m[12]/y,g[1]=m[13]/y,g[2]=m[14]/y;var b=this.computedCenter,x=Math.exp(this.computedRadius[0]);for(u=0;u<3;++u)b[u]=g[u]-a[2+4*u]*x}},h.idle=function(e){if(!(e<this.lastT())){for(var t=this._components,r=t.length-16,n=0;n<16;++n)t.push(t[r++]);this._time.push(e)}},h.flush=function(e){var t=n.gt(this._time,e)-2;t<0||(this._time.splice(0,t),this._components.splice(0,16*t))},h.lastT=function(){return this._time[this._time.length-1]},h.lookAt=function(e,t,r,n){this.recalcMatrix(e),t=t||this.computedEye,r=r||p,n=n||this.computedUp,this.setMatrix(e,u(this.computedMatrix,t,r,n));for(var i=0,o=0;o<3;++o)i+=Math.pow(r[o]-t[o],2);i=Math.log(Math.sqrt(i)),this.computedRadius[0]=i},h.rotate=function(e,t,r,n){this.recalcMatrix(e);var i=this.computedInverse;t&&s(i,i,t),r&&a(i,i,r),n&&l(i,i,n),this.setMatrix(e,o(this.computedMatrix,i))};var v=[0,0,0];function m(e){e=e||{};var t=e.matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return new d(t)}h.pan=function(e,t,r,n){v[0]=-(t||0),v[1]=-(r||0),v[2]=-(n||0),this.recalcMatrix(e);var i=this.computedInverse;c(i,i,v),this.setMatrix(e,o(i,i))},h.translate=function(e,t,r,n){v[0]=t||0,v[1]=r||0,v[2]=n||0,this.recalcMatrix(e);var i=this.computedMatrix;c(i,i,v),this.setMatrix(e,i)},h.setMatrix=function(e,t){if(!(e<this.lastT())){this._time.push(e);for(var r=0;r<16;++r)this._components.push(t[r])}},h.setDistance=function(e,t){this.computedRadius[0]=t},h.setDistanceLimits=function(e,t){var r=this._limits;r[0]=e,r[1]=t},h.getDistanceLimits=function(e){var t=this._limits;return e?(e[0]=t[0],e[1]=t[1],e):t}},4179:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}))};e.exports=s},4183:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("7089"),a=r("8f2a"),s=r("4852").isValid,l=r("371e").traceIs;function u(e,t){var r=t.slice(0,t.length-1);return t?i.nestedProperty(e,r).get()||{}:e}e.exports=function e(t,r,c,f,p){var d=p.prefix,h=p.cLetter,v="_module"in r,m=u(t,d),g=u(r,d),y=u(r._template||{},d)||{},b=function(){return delete t.coloraxis,delete r.coloraxis,e(t,r,c,f,p)};if(v){var x=c._colorAxes||{},A=f(d+"coloraxis");if(A){var w=l(r,"contour")&&i.nestedProperty(r,"contours.coloring").get()||"heatmap",_=x[A];return void(_?(_[2].push(b),_[0]!==w&&(_[0]=!1,i.warn(["Ignoring coloraxis:",A,"setting","as it is linked to incompatible colorscales."].join(" ")))):x[A]=[w,r,[b]])}}var E=m[h+"min"],k=m[h+"max"],T=n(E)&&n(k)&&E<k,C=f(d+h+"auto",!T);C?f(d+h+"mid"):(f(d+h+"min"),f(d+h+"max"));var S,O=m.colorscale,M=y.colorscale;if(void 0!==O&&(S=!s(O)),void 0!==M&&(S=!s(M)),f(d+"autocolorscale",S),f(d+"colorscale"),f(d+"reversescale"),"marker.line."!==d){var P;d&&v&&(P=o(m));var B=f(d+"showscale",P);B&&(d&&y&&(g._template=y),a(m,g,c))}}},4190:function(e,t,r){"use strict";var n=r("fc26"),i=r("37bf"),o=r("8da3"),a=r("e7bd"),s=r("dfb3");e.exports=function(e,t,r,l){function u(r,i){return n.coerce(e,t,a,r,i)}t._clipPathId="clip"+t.uid+"carpet";var c=u("color",s.defaultLine);if(n.coerceFont(u,"font"),u("carpet"),o(e,t,l,u,c),t.a&&t.b){t.a.length<3&&(t.aaxis.smoothing=0),t.b.length<3&&(t.baxis.smoothing=0);var f=i(e,t,u);f||(t.visible=!1),t._cheater&&u("cheaterslope")}else t.visible=!1}},"41a1":function(e,t,r){"use strict";function n(e,t){return e[0].mul(t[1]).cmp(t[0].mul(e[1]))}e.exports=n},"41c3":function(e,t,r){var n=r("1a8c"),i=r("eac5"),o=r("ec8c"),a=Object.prototype,s=a.hasOwnProperty;function l(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}e.exports=l},"41e0":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("371e");function a(e,t){var r=t(e),n=r?t(e+"type","array"):"scaled";return"scaled"===n&&(t(e+"0"),t("d"+e)),r}function s(e){for(var t,r=!0,o=!1,a=!1,s=0;s<e.length;s++){if(t=e[s],!i.isArrayOrTypedArray(t)){r=!1;break}t.length>0&&(o=!0);for(var l=0;l<t.length;l++)if(n(t[l])){a=!0;break}}return r&&o&&a}e.exports=function(e,t,r,n,l,u){var c,f,p=r("z");if(l=l||"x",u=u||"y",void 0===p||!p.length)return 0;if(i.isArray1D(e.z)){c=r(l),f=r(u);var d=i.minRowLength(c),h=i.minRowLength(f);if(0===d||0===h)return 0;t._length=Math.min(d,h,p.length)}else{if(c=a(l,r),f=a(u,r),!s(p))return 0;r("transpose"),t._length=null}if("heatmapgl"===e.type||"contourgl"===e.type)return!0;var v=o.getComponentMethod("calendars","handleTraceDefaults");return v(e,t,[l,u],n),!0}},"41f4":function(e,t,r){"use strict";var n=r("d8db"),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function u(e,t){var r=e.split(o);return r.length>1?r.some((function(e){return T.contains(e,t)})):(e=r[0].trim(),c(e,t))}function c(e,t){var r=e.split(a);if(r.length>0&&r.length<=2||n(!1),1===r.length)return f(r[0],t);var i=r[0],o=r[1];return x(i)&&x(o)||n(!1),f(">="+i,t)&&f("<="+o,t)}function f(e,t){if(e=e.trim(),""===e)return!0;var r=t.split(i),n=y(e),o=n.modifier,a=n.rangeComponents;switch(o){case"<":return p(r,a);case"<=":return d(r,a);case">=":return v(r,a);case">":return m(r,a);case"~":case"~>":return g(r,a);default:return h(r,a)}}function p(e,t){return-1===k(e,t)}function d(e,t){var r=k(e,t);return-1===r||0===r}function h(e,t){return 0===k(e,t)}function v(e,t){var r=k(e,t);return 1===r||0===r}function m(e,t){return 1===k(e,t)}function g(e,t){var r=t.slice(),n=t.slice();n.length>1&&n.pop();var i=n.length-1,o=parseInt(n[i],10);return b(o)&&(n[i]=o+1+""),v(e,r)&&p(e,n)}function y(e){var t=e.split(i),r=t[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(t.slice(1))}}function b(e){return!isNaN(e)&&isFinite(e)}function x(e){return!y(e).modifier}function A(e,t){for(var r=e.length;r<t;r++)e[r]="0"}function w(e,t){e=e.slice(),t=t.slice(),A(e,t.length);for(var r=0;r<t.length;r++){var n=t[r].match(/^[x*]$/i);if(n&&(t[r]=e[r]="0","*"===n[0]&&r===t.length-1))for(var i=r;i<e.length;i++)e[i]="0"}return A(t,e.length),[e,t]}function _(e,t){var r=e.match(l)[1],n=t.match(l)[1],i=parseInt(r,10),o=parseInt(n,10);return b(i)&&b(o)&&i!==o?E(i,o):E(e,t)}function E(e,t){return typeof e!==typeof t&&n(!1),e>t?1:e<t?-1:0}function k(e,t){for(var r=w(e,t),n=r[0],i=r[1],o=0;o<i.length;o++){var a=_(n[o],i[o]);if(a)return a}return 0}var T={contains:function(e,t){return u(e.trim(),t.trim())}};e.exports=T},"41f8":function(e,t,r){"use strict";var n=r("4183"),i=r("6533");e.exports=function(e,t,r,o,a){var s,l=r("contours.coloring"),u="";"fill"===l&&(s=r("contours.showlines")),!1!==s&&("lines"!==l&&(u=r("line.color","#000")),r("line.width",.5),r("line.dash")),"none"!==l&&(!0!==e.showlegend&&(t.showlegend=!1),t._dfltShowLegend=!1,n(e,t,o,r,{prefix:"",cLetter:"z"})),r("line.smoothing"),i(r,o,u,a)}},"422c":function(e,t){function r(e,t,r,n){var i=r[1],o=r[2],a=t[1]-i,s=t[2]-o,l=Math.sin(n),u=Math.cos(n);return e[0]=t[0],e[1]=i+a*u-s*l,e[2]=o+a*l+s*u,e}e.exports=r},4242:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=x;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e){var t=function(t){d(n,t);var r=v(n);function n(e,t){var i;return c(this,n),i=r.call(this,e,t),i.updateSlider=i.updateSlider.bind(g(i)),i.setLocals(e,t),i}return p(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.sliderIndex,n=t.container,i=t.fullContainer,o=n.sliders||[],a=i.sliders||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("sliders[].".concat(t)):null},updateContainer:this.updateSlider,container:this.container,fullContainer:this.fullContainer}}},{key:"updateSlider",value:function(e){var t={},r=this.props.sliderIndex;for(var n in e){var i="sliders[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="SliderConnected".concat((0,a.getDisplayName)(e)),t.propTypes={sliderIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},4245:function(e,t,r){var n=r("1290");function i(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}e.exports=i},42454:function(e,t,r){var n=r("f909"),i=r("2ec1"),o=i((function(e,t,r){n(e,t,r)}));e.exports=o},4248:function(e,t,r){"use strict";var n=r("371e");t.getDelay=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},t.getRedrawFunc=function(e){return function(){var t=e._fullLayout||{},r=t._has&&t._has("polar"),i=!r&&e.data&&e.data[0]&&e.data[0].r;i||n.getComponentMethod("colorbar","draw")(e)}},t.encodeSVG=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},t.encodeJSON=function(e){return"data:application/json,"+encodeURIComponent(e)};var i=window.URL||window.webkitURL;function o(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),i=0;i<t;i++)n[i]=e.charCodeAt(i);return r}t.createObjectURL=function(e){return i.createObjectURL(e)},t.revokeObjectURL=function(e){return i.revokeObjectURL(e)},t.createBlob=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=o(window.atob(e));return new window.Blob([r],{type:"image/"+t})},t.octetStream=function(e){document.location.href="data:application/octet-stream"+e},t.IMAGE_URL_PREFIX=/^data:image\/\w+;base64,/,t.MSG_IE_BAD_FORMAT="Sorry IE does not support downloading from canvas. Try {format:'svg'} instead."},"424b":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.hovertext,e,"htx");var i=t.marker;if(i){n.mergeArray(i.opacity,e,"mo",!0),n.mergeArray(i.color,e,"mc");var o=i.line;o&&(n.mergeArray(o.color,e,"mlc"),n.mergeArrayCastPositive(o.width,e,"mlw"))}}},4274:function(e,t,r){"use strict";e.exports=function(e,t){return{start:{valType:"any",role:"style",editType:"calc",description:["Sets the starting value for the",e,"axis bins. Defaults to the minimum data value,","shifted down if necessary to make nice round values","and to remove ambiguous bin edges. For example, if most of the","data is integers we shift the bin edges 0.5 down, so a `size`","of 5 would have a default `start` of -0.5, so it is clear","that 0-4 are in the first bin, 5-9 in the second, but","continuous data gets a start of 0 and bins [0,5), [5,10) etc.","Dates behave similarly, and `start` should be a date string.","For category data, `start` is based on the category serial","numbers, and defaults to -0.5.",t?"If multiple non-overlaying histograms share a subplot, the first explicit `start` is used exactly and all others are shifted down (if necessary) to differ from that one by an integer number of bins.":""].join(" ")},end:{valType:"any",role:"style",editType:"calc",description:["Sets the end value for the",e,"axis bins. The last bin may not end exactly at this value,","we increment the bin edge by `size` from `start` until we","reach or exceed `end`. Defaults to the maximum data value.","Like `start`, for dates use a date string, and for category","data `end` is based on the category serial numbers."].join(" ")},size:{valType:"any",role:"style",editType:"calc",description:["Sets the size of each",e,"axis bin.","Default behavior: If `nbins"+e+"` is 0 or omitted,","we choose a nice round bin size such that the number of bins","is about the same as the typical number of samples in each bin.","If `nbins"+e+"` is provided, we choose a nice round","bin size giving no more than that many bins.","For date data, use milliseconds or *M<n>* for months, as in","`axis.dtick`. For category data, the number of categories to","bin together (always defaults to 1).",t?"If multiple non-overlaying histograms share a subplot, the first explicit `size` is used and all others discarded. If no `size` is provided,the sample data from all traces is combined to determine `size` as described above.":""].join(" ")},editType:"calc"}}},4276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{d:"M7 21.733c0-6.22 4.412-8.674 4.412-13.968 0 5.294 4.411 7.749 4.411 13.968 0 4.756-4.411 7.267-4.411 17.561C11.412 29 7 26.49 7 21.734zm17.039 14.679s.434-5.754 1.856-8.467-.924-6.533.427-9.879a11.606 11.606 0 0 0 0-7.816C25.468 7.862 24.039 3 24.039 3s-1.43 4.862-2.283 7.25a11.606 11.606 0 0 0 0 7.816c1.351 3.346-.995 7.165.427 9.878s1.856 8.468 1.856 8.468zm12.991 3.882a11.821 11.821 0 0 0-2.344-6.03c-1.065-1.507-1.704-6.346-.639-8.549S37.03 12 37.03 12h-.058s1.917 11.512 2.982 13.715.426 7.042-.64 8.55a11.821 11.821 0 0 0-2.342 6.03zM24 36v6M37 3v9",fill:"#25fdfc",stroke:"#1d9bfb",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))};t.default=u},4284:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}e.exports=r},"428f":function(e,t,r){var n=r("da84");e.exports=n},"42a1":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M17,10.5V7C17,6.45 16.55,6 16,6H4C3.45,6 3,6.45 3,7V17C3,17.55 3.45,18 4,18H16C16.55,18 17,17.55 17,17V13.5L21,17.5V6.5L17,10.5Z"}))};e.exports=s},"42a2":function(e,t,r){var n=r("b5a7"),i=r("79bc"),o=r("1cec"),a=r("c869"),s=r("39ff"),l=r("3729"),u=r("dc57"),c="[object Map]",f="[object Object]",p="[object Promise]",d="[object Set]",h="[object WeakMap]",v="[object DataView]",m=u(n),g=u(i),y=u(o),b=u(a),x=u(s),A=l;(n&&A(new n(new ArrayBuffer(1)))!=v||i&&A(new i)!=c||o&&A(o.resolve())!=p||a&&A(new a)!=d||s&&A(new s)!=h)&&(A=function(e){var t=l(e),r=t==f?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return v;case g:return c;case y:return p;case b:return d;case x:return h}return t}),e.exports=A},"42dc":function(e,t,r){"use strict";var n=r("9845"),i=r("dfb3"),o=r("9092").extendFlat,a=r("cb34").overrideAll,s=r("82b5"),l=r("a651").templatedArray,u=l("button",{visible:{valType:"boolean",role:"info",description:"Determines whether or not this button is visible."},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called on click.","If the `skip` method is used, the API updatemenu will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","updatemenu events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on click."].join(" ")},args2:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets a 2nd set of `args`,","these arguments values are passed to the Plotly","method set in `method` when clicking this button while in the active state.","Use this to create toggle buttons."].join(" ")},label:{valType:"string",role:"info",dflt:"",description:"Sets the text label to appear on the button."},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_buttonclicked` method and executing the API command manually without losing","the benefit of the updatemenu automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=a(l("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean",role:"info",description:["Determines whether or not the update menu is visible."].join(" ")},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown",role:"info",description:["Determines whether the buttons are accessible via a dropdown menu","or whether the buttons are stacked horizontally or vertically"].join(" ")},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down",role:"info",description:["Determines the direction in which the buttons are laid out, whether","in a dropdown menu or a row/column of buttons. For `left` and `up`,","the buttons will still appear in left-to-right or top-to-bottom order","respectively."].join(" ")},active:{valType:"integer",role:"info",min:-1,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},showactive:{valType:"boolean",role:"info",dflt:!0,description:"Highlights active dropdown item or active button if true."},buttons:u,x:{valType:"number",min:-2,max:3,dflt:-.05,role:"style",description:"Sets the x position (in normalized coordinates) of the update menu."},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right",role:"info",description:["Sets the update menu's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:1,role:"style",description:"Sets the y position (in normalized coordinates) of the update menu."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the update menu's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},pad:o(s({editType:"arraydraw"}),{description:"Sets the padding around the buttons or dropdown menu."}),font:n({description:"Sets the font of the update menu button text."}),bgcolor:{valType:"color",role:"style",description:"Sets the background color of the update menu buttons."},bordercolor:{valType:"color",dflt:i.borderLine,role:"style",description:"Sets the color of the border enclosing the update menu."},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"arraydraw",description:"Sets the width (in px) of the border enclosing the update menu."}}),"arraydraw","from-root")},"42fc":function(e,t,r){"use strict";var n=r("3505"),i=r("ab2d"),o=r("a211"),a=new RegExp("\r\n","g"),s="\n",l={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(e){this.data=e,this.types=e.types?i(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return l[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,s):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){if(this.data.getData){if(-1!=this.types.indexOf("text/x-moz-url")){var e=this.data.getData("text/x-moz-url").split("\n");return e[0]}return-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url")}return null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),r=0;r<t.length;r++){var i=t[r].type;if(!n.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=c},"431e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("d7bc")),o=c(r("ab5b")),a=r("c85e"),s=f(r("5174")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(e,n){var i;return p(this,r),i=t.call(this,e,n),i.state={currentButtonIndex:0},i}return h(r,[{key:"renderDropdown",value:function(){var e=this,t=this.context.localize,r=this.props.fullValue.map((function(e,r){return{label:t("Button")+" ".concat(r+1),value:r}}));return o.default.createElement(a.Dropdown,{attr:"buttons",label:t("Button"),options:r,updatePlot:function(t){return e.setState({currentButtonIndex:t})},clearable:!1,fullValue:this.state.currentButtonIndex})}},{key:"render",value:function(){return o.default.createElement(s.default,null,this.renderDropdown(),o.default.createElement(a.TextEditor,{attr:"buttons[".concat(this.state.currentButtonIndex,"].label"),richTextOnly:!0}))}}]),r}(o.Component);w.propTypes={attr:i.default.string,fullValue:i.default.array,updatePlot:i.default.func},w.contextTypes={localize:i.default.func};var _=(0,l.connectToContainer)(w);t.default=_},4324:function(e,t,r){"use strict";var n=r("70b4");function i(e,t,r,n,i,a,s){i[n]=!0;var l={i:null,gap:!0,s:0};if(l[s]=r,e.splice(t,0,l),t&&r===e[t-1][s]){var u=e[t-1];l.s=u.s,l.i=u.i,l.gap=u.gap}else a&&(l.s=o(e,t,r,s));t||(e[0].t=e[1].t,e[0].trace=e[1].trace,delete e[1].t,delete e[1].trace)}function o(e,t,r,n){var i=e[t-1],o=e[t+1];return o?i?i.s+(o.s-i.s)*(r-i[n])/(o[n]-i[n]):o.s:i.s}e.exports=function(e,t){var r=t.xaxis,o=t.yaxis,a=r._id+o._id,s=e._fullLayout._scatterStackOpts[a];if(s){var l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_=e.calcdata;for(var E in s){g=s[E];var k=g.traceIndices;if(k.length){for(y="interpolate"===g.stackgaps,b=g.groupnorm,"v"===g.orientation?(x="x",A="y"):(x="y",A="x"),w=new Array(k.length),l=0;l<w.length;l++)w[l]=!1;d=_[k[0]];var T=new Array(d.length);for(l=0;l<d.length;l++)T[l]=d[l][x];for(l=1;l<k.length;l++){for(p=_[k[l]],u=c=0;u<p.length;u++){for(h=p[u][x];h>T[c]&&c<T.length;c++)i(p,u,T[c],l,w,y,x),u++;if(h!==T[c]){for(f=0;f<l;f++)i(_[k[f]],c,h,f,w,y,x);T.splice(c,0,h)}c++}for(;c<T.length;c++)i(p,u,T[c],l,w,y,x),u++}var C=T.length;for(u=0;u<d.length;u++){for(v=d[u][A]=d[u].s,l=1;l<k.length;l++)p=_[k[l]],p[0].trace._rawLength=p[0].trace._length,p[0].trace._length=C,v+=p[u].s,p[u][A]=v;if(b)for(m=("fraction"===b?v:v/100)||1,l=0;l<k.length;l++){var S=_[k[l]][u];S[A]/=m,S.sNorm=S.s/m}}for(l=0;l<k.length;l++){p=_[k[l]];var O=p[0].trace,M=n.calcMarkerSize(O,O._rawLength),P=Array.isArray(M);if(M&&w[l]||P){var B=M;for(M=new Array(C),u=0;u<C;u++)M[u]=p[u].gap?0:P?B[p[u].i]:B}var L=new Array(C),D=new Array(C);for(u=0;u<C;u++)L[u]=p[u].x,D[u]=p[u].y;n.calcAxisExpansion(e,O,r,o,L,D,M),p[0].t.orientation=g.orientation}}}}}},4358:function(e,t,r){"use strict";var n=r("6af8").isArrayOrTypedArray,i=r("1385");e.exports=function e(t,r){for(var o in r){var a=r[o],s=t[o];if(s!==a)if("_"===o.charAt(0)||"function"===typeof a){if(o in t)continue;t[o]=a}else if(n(a)&&n(s)&&i(a[0])){if("customdata"===o||"ids"===o)continue;for(var l=Math.min(a.length,s.length),u=0;u<l;u++)s[u]!==a[u]&&i(a[u])&&i(s[u])&&e(s[u],a[u])}else i(a)&&i(s)&&(e(s,a),Object.keys(s).length||delete t[o])}}},4359:function(e,t){function r(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}e.exports=r},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},4393:function(e,t,r){"use strict";var n=r("cc77"),i=0,o=1,a=2;function s(e,t,r,n,i){this.mid=e,this.left=t,this.right=r,this.leftPoints=n,this.rightPoints=i,this.count=(t?t.count:0)+(r?r.count:0)+n.length}e.exports=w;var l=s.prototype;function u(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function c(e,t){var r=b(t);e.mid=r.mid,e.left=r.left,e.right=r.right,e.leftPoints=r.leftPoints,e.rightPoints=r.rightPoints,e.count=r.count}function f(e,t){var r=e.intervals([]);r.push(t),c(e,r)}function p(e,t){var r=e.intervals([]),n=r.indexOf(t);return n<0?i:(r.splice(n,1),c(e,r),o)}function d(e,t,r){for(var n=0;n<e.length&&e[n][0]<=t;++n){var i=r(e[n]);if(i)return i}}function h(e,t,r){for(var n=e.length-1;n>=0&&e[n][1]>=t;--n){var i=r(e[n]);if(i)return i}}function v(e,t){for(var r=0;r<e.length;++r){var n=t(e[r]);if(n)return n}}function m(e,t){return e-t}function g(e,t){var r=e[0]-t[0];return r||e[1]-t[1]}function y(e,t){var r=e[1]-t[1];return r||e[0]-t[0]}function b(e){if(0===e.length)return null;for(var t=[],r=0;r<e.length;++r)t.push(e[r][0],e[r][1]);t.sort(m);var n=t[t.length>>1],i=[],o=[],a=[];for(r=0;r<e.length;++r){var l=e[r];l[1]<n?i.push(l):n<l[0]?o.push(l):a.push(l)}var u=a,c=a.slice();return u.sort(g),c.sort(y),new s(n,b(i),b(o),u,c)}function x(e){this.root=e}l.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},l.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?f(this,e):this.left.insert(e):this.left=b([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?f(this,e):this.right.insert(e):this.right=b([e]);else{var r=n.ge(this.leftPoints,e,g),i=n.ge(this.rightPoints,e,y);this.leftPoints.splice(r,0,e),this.rightPoints.splice(i,0,e)}},l.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid){if(!this.left)return i;var r=this.right?this.right.count:0;if(4*r>3*(t-1))return p(this,e);var s=this.left.remove(e);return s===a?(this.left=null,this.count-=1,o):(s===o&&(this.count-=1),s)}if(e[0]>this.mid){if(!this.right)return i;var l=this.left?this.left.count:0;if(4*l>3*(t-1))return p(this,e);s=this.right.remove(e);return s===a?(this.right=null,this.count-=1,o):(s===o&&(this.count-=1),s)}if(1===this.count)return this.leftPoints[0]===e?a:i;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){var c=this,f=this.left;while(f.right)c=f,f=f.right;if(c===this)f.right=this.right;else{var d=this.left;s=this.right;c.count-=f.count,c.right=f.left,f.left=d,f.right=s}u(this,f),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?u(this,this.left):u(this,this.right);return o}for(d=n.ge(this.leftPoints,e,g);d<this.leftPoints.length;++d){if(this.leftPoints[d][0]!==e[0])break;if(this.leftPoints[d]===e){this.count-=1,this.leftPoints.splice(d,1);for(s=n.ge(this.rightPoints,e,y);s<this.rightPoints.length;++s){if(this.rightPoints[s][1]!==e[1])break;if(this.rightPoints[s]===e)return this.rightPoints.splice(s,1),o}}}return i},l.queryPoint=function(e,t){if(e<this.mid){if(this.left){var r=this.left.queryPoint(e,t);if(r)return r}return d(this.leftPoints,e,t)}if(e>this.mid){if(this.right){r=this.right.queryPoint(e,t);if(r)return r}return h(this.rightPoints,e,t)}return v(this.leftPoints,t)},l.queryInterval=function(e,t,r){if(e<this.mid&&this.left){var n=this.left.queryInterval(e,t,r);if(n)return n}if(t>this.mid&&this.right){n=this.right.queryInterval(e,t,r);if(n)return n}return t<this.mid?d(this.leftPoints,t,r):e>this.mid?h(this.rightPoints,e,r):v(this.leftPoints,r)};var A=x.prototype;function w(e){return e&&0!==e.length?new x(b(e)):new x(null)}A.insert=function(e){this.root?this.root.insert(e):this.root=new s(e[0],null,null,[e],[e])},A.remove=function(e){if(this.root){var t=this.root.remove(e);return t===a&&(this.root=null),t!==i}return!1},A.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},A.queryInterval=function(e,t,r){if(e<=t&&this.root)return this.root.queryInterval(e,t,r)},Object.defineProperty(A,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(A,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},"43d9":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("bb71"),a=r("371e"),s=r("8741"),l=r("4efe"),u=r("83d1"),c=r("d115"),f=r("0379"),p=r("84df"),d=r("baf5"),h=r("63dc"),v=h.LINE_SPACING,m=h.FROM_TL,g=h.FROM_BR,y=r("f28e"),b=r("ee77"),x=r("79f1");function A(e,t,r,n,i){var o=r.data()[0][0].trace,l={event:i,node:r.node(),curveNumber:o.index,expandedIndex:o._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};o._group&&(l.group=o._group),a.traceIs(o,"pie-like")&&(l.label=r.datum()[0].label);var u=s.triggerHandler(e,"plotly_legendclick",l);if(!1!==u)if(1===n)t._clickTimeout=setTimeout((function(){p(r,e,n)}),e._context.doubleClickDelay);else if(2===n){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0;var c=s.triggerHandler(e,"plotly_legenddoubleclick",l);!1!==c&&p(r,e,n)}}function w(e,t,r){var n,o=e.data()[0][0],s=o.trace,l=a.traceIs(s,"pie-like"),c=s.index,p=r._main&&t._context.edits.legendText&&!l,h=r._maxNameLength;r.entries?n=o.text:(n=l?o.label:s.name,s._meta&&(n=i.templateString(n,s._meta)));var v=i.ensureSingle(e,"text","legendtext");v.attr("text-anchor","start").call(u.font,r.font).text(p?_(n,h):n);var m=r.itemwidth+2*d.itemGap;f.positionText(v,m,0),p?v.call(f.makeEditable,{gd:t,text:n}).call(k,e,t,r).on("edit",(function(n){this.text(_(n,h)).call(k,e,t,r);var s=o.trace._fullInput||{},l={};if(a.hasTransform(s,"groupby")){var u=a.getTransformIndices(s,"groupby"),f=u[u.length-1],p=i.keyedContainer(s,"transforms["+f+"].styles","target","value.name");p.set(o.trace._group,n),l=p.constructUpdate()}else l.name=n;return a.call("_guiRestyle",t,l,c)})):k(v,e,t,r)}function _(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;e=e||"";for(var n=r-e.length;n>0;n--)e+=" ";return e}function E(e,t){var r,o=t._context.doubleClickDelay,a=1,s=i.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(c.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(s.on("mousedown",(function(){r=(new Date).getTime(),r-t._legendMouseDownTime<o?a+=1:(a=1,t._legendMouseDownTime=r)})),s.on("mouseup",(function(){if(!t._dragged&&!t._editing){var r=t._fullLayout.legend;(new Date).getTime()-t._legendMouseDownTime>o&&(a=Math.max(a-1,1)),A(t,r,e,a,n.event)}})))}function k(e,t,r,n){n._main||e.attr("data-notex",!0),f.convertToTspans(e,r,(function(){T(t,r,n)}))}function T(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)e.remove();else{var i=e.select("g[class*=math-group]"),o=i.node();r||(r=t._fullLayout.legend);var a,s,l=r.borderwidth,c=(n?r:r.title).font.size*v;if(o){var p=u.bBox(o);a=p.height,s=p.width,n?u.setTranslate(i,0,.25*a):u.setTranslate(i,l,.75*a+l)}else{var h=e.select(n?".legendtext":".legendtitletext"),m=f.lineCount(h),g=h.node();a=c*m,s=g?u.bBox(g).width:0;var y=c*((m-1)/2-.3);if(n){var b=r.itemwidth+2*d.itemGap;f.positionText(h,b,-y)}else f.positionText(h,d.titlePad+l,c+l)}n?(n.lineHeight=c,n.height=Math.max(a,16)+3,n.width=s):(r._titleWidth=s,r._titleHeight=a)}}function C(e){var t=0,r=0,n=e.title.side;return n&&(-1!==n.indexOf("left")&&(t=e._titleWidth),-1!==n.indexOf("top")&&(r=e._titleHeight)),[t,r]}function S(e,t,r,i){var o=e._fullLayout;i||(i=o.legend);var a=o._size,s=x.isVertical(i),l=x.isGrouped(i),c=i.borderwidth,f=2*c,p=d.itemGap,h=i.itemwidth+2*p,v=2*(c+p),m=P(i),g=i.y<0||0===i.y&&"top"===m,y=i.y>1||1===i.y&&"bottom"===m;i._maxHeight=Math.max(g||y?o.height/2:a.h,30);var b=0;i._width=0,i._height=0;var A=C(i);if(s)r.each((function(e){var t=e[0].height;u.setTranslate(this,c+A[0],c+A[1]+i._height+t/2+p),i._height+=t,i._width=Math.max(i._width,e[0].width)})),b=h+i._width,i._width+=p+h+f,i._height+=v,l&&(t.each((function(e,t){u.setTranslate(this,0,t*i.tracegroupgap)})),i._height+=(i._lgroupsLength-1)*i.tracegroupgap);else{var w=M(i),_=i.x<0||0===i.x&&"right"===w,E=i.x>1||1===i.x&&"left"===w,k=y||g,T=o.width/2;i._maxWidth=Math.max(_?k&&"left"===w?a.l+a.w:T:E?k&&"right"===w?a.r+a.w:T:a.w,2*h);var S=0,O=0;r.each((function(e){var t=e[0].width+h;S=Math.max(S,t),O+=t})),b=null;var B=0;if(l){var L=0,D=0,I=0;t.each((function(){var e=0,t=0;n.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;u.setTranslate(this,A[0],A[1]+c+p+n/2+t),t+=n,e=Math.max(e,h+r[0].width)})),L=Math.max(L,t);var r=e+p;r+c+D>i._maxWidth&&(B=Math.max(B,D),D=0,I+=L+i.tracegroupgap,L=t),u.setTranslate(this,D,I),D+=r})),i._width=Math.max(B,D)+c,i._height=I+L+v}else{var j=r.size(),R=O+f+(j-1)*p<i._maxWidth,F=0,N=0,z=0,U=0;r.each((function(e){var t=e[0].height,r=h+e[0].width,n=(R?r:S)+p;n+c+N-p>=i._maxWidth&&(B=Math.max(B,U),N=0,z+=F,i._height+=F,F=0),u.setTranslate(this,A[0]+c+N,A[1]+c+z+t/2+p),U=N+r+p,N+=n,F=Math.max(F,t)})),R?(i._width=N+f,i._height=F+v):(i._width=Math.max(B,U)+f,i._height+=F+v)}}i._width=Math.ceil(Math.max(i._width+A[0],i._titleWidth+2*(c+d.titlePad))),i._height=Math.ceil(Math.max(i._height+A[1],i._titleHeight+2*(c+d.itemGap))),i._effHeight=Math.min(i._height,i._maxHeight);var H=e._context.edits,V=H.legendText||H.legendPosition;r.each((function(e){var t=n.select(this).select(".legendtoggle"),r=e[0].height,i=V?h:b||h+e[0].width;s||(i+=p/2),u.setRect(t,0,-r/2,i,r)}))}function O(e){var t=e._fullLayout,r=t.legend,n=M(r),i=P(r);return o.autoMargin(e,"legend",{x:r.x,y:r.y,l:r._width*m[n],r:r._width*g[n],b:r._effHeight*g[i],t:r._effHeight*m[i]})}function M(e){return i.isRightAnchor(e)?"right":i.isCenterAnchor(e)?"center":"left"}function P(e){return i.isBottomAnchor(e)?"bottom":i.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var r,s=e._fullLayout,f="legend"+s._uid;if(t?(r=t.layer,f+="-hover"):(t=s.legend||{},t._main=!0,r=s._infolayer),r){var p;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;p=s.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;p=y(t.entries,t)}var h=s.hiddenlabels||[];if(t._main&&(!s.showlegend||!p.length))return r.selectAll(".legend").remove(),s._topdefs.select("#"+f).remove(),o.autoMargin(e,"legend");var v=i.ensureSingle(r,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),g=i.ensureSingleById(s._topdefs,"clipPath",f,(function(e){e.append("rect")})),x=i.ensureSingle(v,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));x.call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var _=i.ensureSingle(v,"g","scrollbox"),T=t.title;if(t._titleWidth=0,t._titleHeight=0,T.text){var C=i.ensureSingle(_,"text","legendtitletext");C.attr("text-anchor","start").call(u.font,T.font).text(T.text),k(C,_,e,t)}else _.selectAll(".legendtitletext").remove();var B=i.ensureSingle(v,"rect","scrollbar",(function(e){e.attr(d.scrollBarEnterAttrs).call(c.fill,d.scrollBarColor)})),L=_.selectAll("g.groups").data(p);L.enter().append("g").attr("class","groups"),L.exit().remove();var D=L.selectAll("g.traces").data(i.identity);D.enter().append("g").attr("class","traces"),D.exit().remove(),D.style("opacity",(function(e){var t=e[0].trace;return a.traceIs(t,"pie-like")?-1!==h.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){n.select(this).call(w,e,t)})).call(b,e,t).each((function(){t._main&&n.select(this).call(E,e)})),i.syncOrAsync([o.previousPromises,function(){return S(e,L,D,t)},function(){if(!t._main||!O(e)){var o,c,p,h,y=s._size,b=t.borderwidth,w=y.l+y.w*t.x-m[M(t)]*t._width,E=y.t+y.h*(1-t.y)-m[P(t)]*t._effHeight;if(t._main&&s.margin.autoexpand){var k=w,T=E;w=i.constrain(w,0,s.width-t._width),E=i.constrain(E,0,s.height-t._effHeight),w!==k&&i.log("Constrain legend.x to make legend fit inside graph"),E!==T&&i.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&u.setTranslate(v,w,E),B.on(".drag",null),v.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var C=t._effHeight;t._main||(C=t._height),x.attr({width:t._width-b,height:C-b,x:b/2,y:b/2}),u.setTranslate(_,0,0),g.select("rect").attr({width:t._width-2*b,height:C-2*b,x:b,y:b}),u.setClipUrl(_,f,e),u.setRect(B,0,0,0,0),delete t._scrollY}else{var S,L,D,I=Math.max(d.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),j=t._effHeight-I-2*d.scrollBarMargin,R=t._height-t._effHeight,F=j/R,N=Math.min(t._scrollY||0,R);x.attr({width:t._width-2*b+d.scrollBarWidth+d.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),g.select("rect").attr({width:t._width-2*b+d.scrollBarWidth+d.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+N}),u.setClipUrl(_,f,e),Q(N,I,F),v.on("wheel",(function(){N=i.constrain(t._scrollY+n.event.deltaY/j*R,0,R),Q(N,I,F),0!==N&&N!==R&&n.event.preventDefault()}));var z=function(e,t,r){var n=(r-t)/F+e;return i.constrain(n,0,R)},U=function(e,t,r){var n=(t-r)/F+e;return i.constrain(n,0,R)},H=n.behavior.drag().on("dragstart",(function(){var e=n.event.sourceEvent;S="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,D=N})).on("drag",(function(){var e=n.event.sourceEvent;2===e.buttons||e.ctrlKey||(L="touchmove"===e.type?e.changedTouches[0].clientY:e.clientY,N=z(D,S,L),Q(N,I,F))}));B.call(H);var V=n.behavior.drag().on("dragstart",(function(){var e=n.event.sourceEvent;"touchstart"===e.type&&(S=e.changedTouches[0].clientY,D=N)})).on("drag",(function(){var e=n.event.sourceEvent;"touchmove"===e.type&&(L=e.changedTouches[0].clientY,N=U(D,S,L),Q(N,I,F))}));_.call(V)}if(e._context.edits.legendPosition)v.classed("cursor-move",!0),l.init({element:v.node(),gd:e,prepFn:function(){var e=u.getTranslate(v);p=e.x,h=e.y},moveFn:function(e,r){var n=p+e,i=h+r;u.setTranslate(v,n,i),o=l.align(n,0,y.l,y.l+y.w,t.xanchor),c=l.align(i,0,y.t+y.h,y.t,t.yanchor)},doneFn:function(){void 0!==o&&void 0!==c&&a.call("_guiRelayout",e,{"legend.x":o,"legend.y":c})},clickFn:function(t,n){var i=r.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return n.clientX>=e.left&&n.clientX<=e.right&&n.clientY>=e.top&&n.clientY<=e.bottom}));i.size()>0&&A(e,v,i,t,n)}})}function Q(r,n,i){t._scrollY=e._fullLayout.legend._scrollY=r,u.setTranslate(_,0,-r),u.setRect(B,t._width,d.scrollBarMargin+r*i,d.scrollBarWidth,n),g.select("rect").attr("y",b+r)}}],e)}}},"43ef":function(e,t,r){"use strict";var n=r("0435"),i=r("107c"),o=r("f4e9"),a=r("db54").dash,s=r("9845"),l=r("9092").extendFlat,u=r("6c77"),c=u.COMPARISON_OPS2,f=u.INTERVAL_OPS,p=r("78df").FORMAT_LINK,d=i.line;e.exports=l({z:n.z,x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,text:n.text,hovertext:n.hovertext,transpose:n.transpose,xtype:n.xtype,ytype:n.ytype,zhoverformat:n.zhoverformat,hovertemplate:n.hovertemplate,hoverongaps:n.hoverongaps,connectgaps:l({},n.connectgaps,{description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in.","It is defaulted to true if `z` is a","one dimensional array","otherwise it is defaulted to false."].join(" ")}),fillcolor:{valType:"color",role:"style",editType:"calc",description:["Sets the fill color if `contours.type` is *constraint*.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},autocontour:{valType:"boolean",dflt:!0,role:"style",editType:"calc",impliedEdits:{"contours.start":void 0,"contours.end":void 0,"contours.size":void 0},description:["Determines whether or not the contour level attributes are","picked by an algorithm.","If *true*, the number of contour levels can be set in `ncontours`.","If *false*, set the contour level attributes in `contours`."].join(" ")},ncontours:{valType:"integer",dflt:15,min:1,role:"style",editType:"calc",description:["Sets the maximum number of contour levels. The actual number","of contours will be chosen automatically to be less than or","equal to the value of `ncontours`.","Has an effect only if `autocontour` is *true* or if","`contours.size` is missing."].join(" ")},contours:{type:{valType:"enumerated",values:["levels","constraint"],dflt:"levels",role:"info",editType:"calc",description:["If `levels`, the data is represented as a contour plot with multiple","levels displayed. If `constraint`, the data is represented as constraints","with the invalid region shaded as specified by the `operation` and","`value` parameters."].join(" ")},start:{valType:"number",dflt:null,role:"style",editType:"plot",impliedEdits:{"^autocontour":!1},description:["Sets the starting contour level value.","Must be less than `contours.end`"].join(" ")},end:{valType:"number",dflt:null,role:"style",editType:"plot",impliedEdits:{"^autocontour":!1},description:["Sets the end contour level value.","Must be more than `contours.start`"].join(" ")},size:{valType:"number",dflt:null,min:0,role:"style",editType:"plot",impliedEdits:{"^autocontour":!1},description:["Sets the step between each contour level.","Must be positive."].join(" ")},coloring:{valType:"enumerated",values:["fill","heatmap","lines","none"],dflt:"fill",role:"style",editType:"calc",description:["Determines the coloring method showing the contour values.","If *fill*, coloring is done evenly between each contour level","If *heatmap*, a heatmap gradient coloring is applied","between each contour level.","If *lines*, coloring is done on the contour lines.","If *none*, no coloring is applied on this trace."].join(" ")},showlines:{valType:"boolean",dflt:!0,role:"style",editType:"plot",description:["Determines whether or not the contour lines are drawn.","Has an effect only if `contours.coloring` is set to *fill*."].join(" ")},showlabels:{valType:"boolean",dflt:!1,role:"style",editType:"plot",description:["Determines whether to label the contour lines with their values."].join(" ")},labelfont:s({editType:"plot",colorEditType:"style",description:["Sets the font used for labeling the contour levels.","The default color comes from the lines, if shown.","The default family and size come from `layout.font`."].join(" ")}),labelformat:{valType:"string",dflt:"",role:"style",editType:"plot",description:["Sets the contour label formatting rule using d3 formatting","mini-language which is very similar to Python, see:",p].join(" ")},operation:{valType:"enumerated",values:[].concat(c).concat(f),role:"info",dflt:"=",editType:"calc",description:["Sets the constraint operation.","*=* keeps regions equal to `value`","*<* and *<=* keep regions less than `value`","*>* and *>=* keep regions greater than `value`","*[]*, *()*, *[)*, and *(]* keep regions inside `value[0]` to `value[1]`","*][*, *)(*, *](*, *)[* keep regions outside `value[0]` to value[1]`","Open vs. closed intervals make no difference to constraint display, but","all versions are allowed for consistency with filter transforms."].join(" ")},value:{valType:"any",dflt:0,role:"info",editType:"calc",description:["Sets the value or values of the constraint boundary.","When `operation` is set to one of the comparison values","("+c+")","*value* is expected to be a number.","When `operation` is set to one of the interval values","("+f+")","*value* is expected to be an array of two numbers where the first","is the lower bound and the second is the upper bound."].join(" ")},editType:"calc",impliedEdits:{autocontour:!1}},line:{color:l({},d.color,{editType:"style+colorbars",description:["Sets the color of the contour level.","Has no effect if `contours.coloring` is set to *lines*."].join(" ")}),width:{valType:"number",min:0,role:"style",editType:"style+colorbars",description:["Sets the contour line width in (in px)","Defaults to *0.5* when `contours.type` is *levels*.","Defaults to *2* when `contour.type` is *constraint*."].join(" ")},dash:a,smoothing:l({},d.smoothing,{description:["Sets the amount of smoothing for the contour lines,","where *0* corresponds to no smoothing."].join(" ")}),editType:"plot"}},o("",{cLetter:"z",autoColorDflt:!1,editTypeOverride:"calc"}))},"43fa":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("d7bc")),o=s(r("ab5b"));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=13,x=function(e){p(r,e);var t=h(r);function r(e){var n;return u(this,r),n=t.call(this,e),n.handleFocus=n.handleFocus.bind(m(n)),n.handleChange=n.handleChange.bind(m(n)),n.handleUpdate=n.handleUpdate.bind(m(n)),n.handleKeyPress=n.handleKeyPress.bind(m(n)),n.handleWheel=n.handleWheel.bind(m(n)),n.getRef=n.getRef.bind(m(n)),n}return f(r,[{key:"getRef",value:function(e){this._ref=e}},{key:"handleFocus",value:function(e){e.target.select()}},{key:"handleChange",value:function(e){var t=this.props.onChange;t&&t(e.target.value)}},{key:"handleUpdate",value:function(e){var t=this.props.onUpdate;t&&t(e.target.value)}},{key:"handleKeyPress",value:function(e){(e.keyCode||e.which)===b&&this._ref.blur()}},{key:"handleWheel",value:function(e){this.props.onWheel&&document.activeElement===this._ref&&this.props.onWheel(e)}},{key:"render",value:function(){var e=this.props,t=e.type,r=e.className,n=e.text,i=e.disable,a=e.autoFocus,s=e.onKeyDown,l=e.placeholder,u=e.readOnly,c=e.size;return o.default.createElement("input",{ref:this.getRef,type:t,className:r||"",value:n,onFocus:this.handleFocus,onChange:this.handleChange,onBlur:this.handleUpdate,disabled:i,autoFocus:a,onKeyPress:this.handleKeyPress,onKeyDown:s,onWheel:this.handleWheel,placeholder:l,readOnly:u,size:c})}}]),r}(o.Component);x.propTypes={onChange:i.default.func,onUpdate:i.default.func,onKeyDown:i.default.func,onWheel:i.default.func,text:i.default.any,placeholder:i.default.oneOfType([i.default.string,i.default.number]),className:i.default.string,disable:i.default.bool,autoFocus:i.default.bool,readOnly:i.default.bool,type:i.default.oneOf(["text","password"]),size:i.default.number},x.defaultProps={readOnly:!1,type:"text"};var A=x;t.default=A},4406:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6C4.9,4 4,4.9 4,6V9H6V6H18V18H6V15H4V18C4,19.1 4.9,20 6,20H18C19.1,20 20,19.1 20,18Z"}))};e.exports=s},4424:function(e,t,r){"use strict";var n=r("8cb4"),i=r("24f7"),o=i.OrderedSet,a=n.substr,s=o();function l(e,t){var r=Array(e.length).fill(s);return t&&t.forEach((function(t){var n=a(e,0,t.offset).length,i=n+a(e,t.offset,t.length).length;while(n<i)r[n]=r[n].add(t.style),n++})),r}e.exports=l},"442f":function(e,t,r){"use strict";var n=r("b5e3");t.plot=n.plot,t.newPlot=n.newPlot,t.restyle=n.restyle,t.relayout=n.relayout,t.redraw=n.redraw,t.update=n.update,t._guiRestyle=n._guiRestyle,t._guiRelayout=n._guiRelayout,t._guiUpdate=n._guiUpdate,t._storeDirectGUIEdit=n._storeDirectGUIEdit,t.react=n.react,t.extendTraces=n.extendTraces,t.prependTraces=n.prependTraces,t.addTraces=n.addTraces,t.deleteTraces=n.deleteTraces,t.moveTraces=n.moveTraces,t.purge=n.purge,t.addFrames=n.addFrames,t.deleteFrames=n.deleteFrames,t.animate=n.animate,t.setPlotConfig=n.setPlotConfig,t.toImage=r("a288"),t.validate=r("3fb2"),t.downloadImage=r("ad91");var i=r("2d9a");t.makeTemplate=i.makeTemplate,t.validateTemplate=i.validateTemplate},"445c":function(e,t,r){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}},"447e":function(e,t,r){"use strict";var n=r("fc26"),i=r("86d2"),o=r("000c"),a=r("4248").IMAGE_URL_PREFIX;e.exports=function(e,t){function r(r,o){return n.coerce(e,t,i,r,o)}r("source"),t.source&&!t.source.match(a)&&delete t.source,t._hasSource=!!t.source;var s,l=r("z");(t._hasZ=!(void 0===l||!l.length||!l[0]||!l[0].length),t._hasZ||t._hasSource)?(r("x0"),r("y0"),r("dx"),r("dy"),t._hasZ?(r("colormodel","rgb"),s=o.colormodel[t.colormodel],r("zmin",s.zminDflt||s.min),r("zmax",s.zmaxDflt||s.max)):t._hasSource&&(t.colormodel="rgba256",s=o.colormodel[t.colormodel],t.zmin=s.zminDflt,t.zmax=s.zmaxDflt),r("text"),r("hovertext"),r("hovertemplate"),t._length=null):t.visible=!1}},4481:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z"}))};e.exports=s},"44ad":function(e,t,r){var n=r("d039"),i=r("c6b6"),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44af":function(e,t,r){"use strict";var n=/\r\n?|\n/g;function i(e){return e.split(n)}e.exports=i},"44c3":function(e,t,r){"use strict";var n=r("1d5b");e.exports=b;var i,o,a,s,l=null;function u(e){var t=e.getParameter(e.FRAMEBUFFER_BINDING),r=e.getParameter(e.RENDERBUFFER_BINDING),n=e.getParameter(e.TEXTURE_BINDING_2D);return[t,r,n]}function c(e,t){e.bindFramebuffer(e.FRAMEBUFFER,t[0]),e.bindRenderbuffer(e.RENDERBUFFER,t[1]),e.bindTexture(e.TEXTURE_2D,t[2])}function f(e,t){var r=e.getParameter(t.MAX_COLOR_ATTACHMENTS_WEBGL);l=new Array(r+1);for(var n=0;n<=r;++n){for(var i=new Array(r),o=0;o<n;++o)i[o]=e.COLOR_ATTACHMENT0+o;for(o=n;o<r;++o)i[o]=e.NONE;l[n]=i}}function p(e){switch(e){case i:throw new Error("gl-fbo: Framebuffer unsupported");case o:throw new Error("gl-fbo: Framebuffer incomplete attachment");case a:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case s:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function d(e,t,r,i,o,a){if(!i)return null;var s=n(e,t,r,o,i);return s.magFilter=e.NEAREST,s.minFilter=e.NEAREST,s.mipSamples=1,s.bind(),e.framebufferTexture2D(e.FRAMEBUFFER,a,e.TEXTURE_2D,s.handle,0),s}function h(e,t,r,n,i){var o=e.createRenderbuffer();return e.bindRenderbuffer(e.RENDERBUFFER,o),e.renderbufferStorage(e.RENDERBUFFER,n,t,r),e.framebufferRenderbuffer(e.FRAMEBUFFER,i,e.RENDERBUFFER,o),o}function v(e){var t=u(e.gl),r=e.gl,n=e.handle=r.createFramebuffer(),i=e._shape[0],o=e._shape[1],a=e.color.length,s=e._ext,f=e._useStencil,v=e._useDepth,m=e._colorType;r.bindFramebuffer(r.FRAMEBUFFER,n);for(var g=0;g<a;++g)e.color[g]=d(r,i,o,m,r.RGBA,r.COLOR_ATTACHMENT0+g);0===a?(e._color_rb=h(r,i,o,r.RGBA4,r.COLOR_ATTACHMENT0),s&&s.drawBuffersWEBGL(l[0])):a>1&&s.drawBuffersWEBGL(l[a]);var y=r.getExtension("WEBGL_depth_texture");y?f?e.depth=d(r,i,o,y.UNSIGNED_INT_24_8_WEBGL,r.DEPTH_STENCIL,r.DEPTH_STENCIL_ATTACHMENT):v&&(e.depth=d(r,i,o,r.UNSIGNED_SHORT,r.DEPTH_COMPONENT,r.DEPTH_ATTACHMENT)):v&&f?e._depth_rb=h(r,i,o,r.DEPTH_STENCIL,r.DEPTH_STENCIL_ATTACHMENT):v?e._depth_rb=h(r,i,o,r.DEPTH_COMPONENT16,r.DEPTH_ATTACHMENT):f&&(e._depth_rb=h(r,i,o,r.STENCIL_INDEX,r.STENCIL_ATTACHMENT));var b=r.checkFramebufferStatus(r.FRAMEBUFFER);if(b!==r.FRAMEBUFFER_COMPLETE){e._destroyed=!0,r.bindFramebuffer(r.FRAMEBUFFER,null),r.deleteFramebuffer(e.handle),e.handle=null,e.depth&&(e.depth.dispose(),e.depth=null),e._depth_rb&&(r.deleteRenderbuffer(e._depth_rb),e._depth_rb=null);for(g=0;g<e.color.length;++g)e.color[g].dispose(),e.color[g]=null;e._color_rb&&(r.deleteRenderbuffer(e._color_rb),e._color_rb=null),c(r,t),p(b)}c(r,t)}function m(e,t,r,n,i,o,a,s){this.gl=e,this._shape=[0|t,0|r],this._destroyed=!1,this._ext=s,this.color=new Array(i);for(var l=0;l<i;++l)this.color[l]=null;this._color_rb=null,this.depth=null,this._depth_rb=null,this._colorType=n,this._useDepth=o,this._useStencil=a;var u=this,c=[0|t,0|r];Object.defineProperties(c,{0:{get:function(){return u._shape[0]},set:function(e){return u.width=e}},1:{get:function(){return u._shape[1]},set:function(e){return u.height=e}}}),this._shapeVector=c,v(this)}var g=m.prototype;function y(e,t,r){if(e._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(e._shape[0]!==t||e._shape[1]!==r){var n=e.gl,i=n.getParameter(n.MAX_RENDERBUFFER_SIZE);if(t<0||t>i||r<0||r>i)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");e._shape[0]=t,e._shape[1]=r;for(var o=u(n),a=0;a<e.color.length;++a)e.color[a].shape=e._shape;e._color_rb&&(n.bindRenderbuffer(n.RENDERBUFFER,e._color_rb),n.renderbufferStorage(n.RENDERBUFFER,n.RGBA4,e._shape[0],e._shape[1])),e.depth&&(e.depth.shape=e._shape),e._depth_rb&&(n.bindRenderbuffer(n.RENDERBUFFER,e._depth_rb),e._useDepth&&e._useStencil?n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,e._shape[0],e._shape[1]):e._useDepth?n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_COMPONENT16,e._shape[0],e._shape[1]):e._useStencil&&n.renderbufferStorage(n.RENDERBUFFER,n.STENCIL_INDEX,e._shape[0],e._shape[1])),n.bindFramebuffer(n.FRAMEBUFFER,e.handle);var s=n.checkFramebufferStatus(n.FRAMEBUFFER);s!==n.FRAMEBUFFER_COMPLETE&&(e.dispose(),c(n,o),p(s)),c(n,o)}}function b(e,t,r,n){i||(i=e.FRAMEBUFFER_UNSUPPORTED,o=e.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,a=e.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,s=e.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var u=e.getExtension("WEBGL_draw_buffers");if(!l&&u&&f(e,u),Array.isArray(t)&&(n=r,r=0|t[1],t=0|t[0]),"number"!==typeof t)throw new Error("gl-fbo: Missing shape parameter");var c=e.getParameter(e.MAX_RENDERBUFFER_SIZE);if(t<0||t>c||r<0||r>c)throw new Error("gl-fbo: Parameters are too large for FBO");n=n||{};var p=1;if("color"in n){if(p=Math.max(0|n.color,0),p<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(p>1){if(!u)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(p>e.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+p+" draw buffers")}}var d=e.UNSIGNED_BYTE,h=e.getExtension("OES_texture_float");if(n.float&&p>0){if(!h)throw new Error("gl-fbo: Context does not support floating point textures");d=e.FLOAT}else n.preferFloat&&p>0&&h&&(d=e.FLOAT);var v=!0;"depth"in n&&(v=!!n.depth);var g=!1;return"stencil"in n&&(g=!!n.stencil),new m(e,t,r,d,p,v,g,u)}Object.defineProperties(g,{shape:{get:function(){return this._destroyed?[0,0]:this._shapeVector},set:function(e){if(Array.isArray(e)||(e=[0|e,0|e]),2!==e.length)throw new Error("gl-fbo: Shape vector must be length 2");var t=0|e[0],r=0|e[1];return y(this,t,r),[t,r]},enumerable:!1},width:{get:function(){return this._destroyed?0:this._shape[0]},set:function(e){return e|=0,y(this,e,this._shape[1]),e},enumerable:!1},height:{get:function(){return this._destroyed?0:this._shape[1]},set:function(e){return e|=0,y(this,this._shape[0],e),e},enumerable:!1}}),g.bind=function(){if(!this._destroyed){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,this.handle),e.viewport(0,0,this._shape[0],this._shape[1])}},g.dispose=function(){if(!this._destroyed){this._destroyed=!0;var e=this.gl;e.deleteFramebuffer(this.handle),this.handle=null,this.depth&&(this.depth.dispose(),this.depth=null),this._depth_rb&&(e.deleteRenderbuffer(this._depth_rb),this._depth_rb=null);for(var t=0;t<this.color.length;++t)this.color[t].dispose(),this.color[t]=null;this._color_rb&&(e.deleteRenderbuffer(this._color_rb),this._color_rb=null)}}},"44d2":function(e,t,r){var n=r("b622"),i=r("7c73"),o=r("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44d4":function(e,t,r){"use strict";e.exports=r("ea27")},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),i=r("c6b6"),o=r("b622"),a=o("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"44fe":function(e,t){function r(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[0],a=t[1],s=t[2],l=t[3],u=t[8],c=t[9],f=t[10],p=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i-u*n,e[1]=a*i-c*n,e[2]=s*i-f*n,e[3]=l*i-p*n,e[8]=o*n+u*i,e[9]=a*n+c*i,e[10]=s*n+f*i,e[11]=l*n+p*i,e}e.exports=r},4578:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.adjustColorscale=W,t.clamp=R,t.getDisplayName=F,t.getFullTrace=K,t.maybeAdjustSrc=Q,t.maybeTransposeData=V,t.getParsedTemplateString=q,t.renderTraceIcon=z,t.tooLight=N,t.transpose=U,Object.defineProperty(t,"bem",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"connectCartesianSubplotToLayout",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"connectNonCartesianSubplotToLayout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"connectAnnotationToLayout",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"connectShapeToLayout",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"connectSliderToLayout",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"connectImageToLayout",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"connectUpdateMenuToLayout",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"connectRangeSelectorToAxis",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"connectLayersToMapbox",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"connectTransformToTrace",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"connectAggregationToTransform",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"connectAxesToLayout",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"connectLayoutToPlot",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"connectToContainer",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"containerConnectedContextTypes",{enumerable:!0,get:function(){return y.containerConnectedContextTypes}}),Object.defineProperty(t,"computeTraceOptionsFromSchema",{enumerable:!0,get:function(){return b.computeTraceOptionsFromSchema}}),Object.defineProperty(t,"connectTraceToPlot",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"dereference",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"getAllAxes",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"axisIdToAxisName",{enumerable:!0,get:function(){return w.axisIdToAxisName}}),Object.defineProperty(t,"traceTypeToAxisType",{enumerable:!0,get:function(){return w.traceTypeToAxisType}}),Object.defineProperty(t,"getAxisTitle",{enumerable:!0,get:function(){return w.getAxisTitle}}),Object.defineProperty(t,"getSubplotTitle",{enumerable:!0,get:function(){return w.getSubplotTitle}}),Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"localizeString",{enumerable:!0,get:function(){return _.localizeString}}),Object.defineProperty(t,"unpackPlotProps",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"computeCustomConfigVisibility",{enumerable:!0,get:function(){return k.computeCustomConfigVisibility}}),Object.defineProperty(t,"hasValidCustomConfigVisibilityRules",{enumerable:!0,get:function(){return k.hasValidCustomConfigVisibilityRules}}),Object.defineProperty(t,"isVisibleGivenCustomConfig",{enumerable:!0,get:function(){return k.isVisibleGivenCustomConfig}}),Object.defineProperty(t,"walkObject",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"isPlainObject",{enumerable:!0,get:function(){return T.isPlainObject}}),Object.defineProperty(t,"traceTypeToPlotlyInitFigure",{enumerable:!0,get:function(){return C.traceTypeToPlotlyInitFigure}}),Object.defineProperty(t,"plotlyTraceToCustomTrace",{enumerable:!0,get:function(){return C.plotlyTraceToCustomTrace}}),Object.defineProperty(t,"striptags",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return M.capitalize}}),Object.defineProperty(t,"lowerCase",{enumerable:!0,get:function(){return M.lowerCase}}),Object.defineProperty(t,"upperCase",{enumerable:!0,get:function(){return M.upperCase}}),Object.defineProperty(t,"removeNonWord",{enumerable:!0,get:function(){return M.removeNonWord}}),Object.defineProperty(t,"camelCase",{enumerable:!0,get:function(){return M.camelCase}}),Object.defineProperty(t,"pascalCase",{enumerable:!0,get:function(){return M.pascalCase}});var i=I(r("e957")),o=I(r("b9c5")),a=I(r("5e95")),s=I(r("8a16")),l=I(r("9371")),u=I(r("4242")),c=I(r("0564")),f=I(r("8b47")),p=I(r("3b3e")),d=I(r("69b9")),h=I(r("22d4")),v=I(r("839c")),m=I(r("c612")),g=I(r("5c08")),y=D(r("0397")),b=r("4e46"),x=I(r("e41b")),A=I(r("662f")),w=D(r("b8ca")),_=D(r("ac8b")),E=I(r("66cb")),k=D(r("5968")),T=D(r("ff43")),C=r("5be5"),S=D(r("8704")),O=I(r("ab0d")),M=r("4efd"),P=r("14e0"),B=r("fc26");function L(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function I(e){return e&&e.__esModule?e:{default:e}}var j=.8;function R(e,t,r){return Math.max(t,Math.min(r,e))}function F(e){return e.displayName||e.name||"Component"}function N(e){var t=(0,E.default)(e).toHsl();return t.l>j}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Plot";if(!e)return null;var r="gl",n="".concat(t).concat((0,M.pascalCase)(e.endsWith(r)?e.slice(0,-r.length):e),"Icon");return S[n]?S[n]:S.PlotLineIcon}function U(e){if(e.every((function(e){return!Array.isArray(e)})))return e.map((function(e){return[e]}));var t=Array.isArray(e[0])?e[0].length:1;e.forEach((function(e){var r=Array.isArray(e)?e.length:1;r>t&&(t=r)}));for(var r=new Array(t),n=0;n<e.length;n++){Array.isArray(e[n])||(e[n]=[e[n]]);for(var i=0;i<t;i++){Array.isArray(r[i])||(r[i]=[]);var o="undefined"!==typeof e[n][i]?e[n][i]:null;r[i].push(o)}}return r}var H=function(e,t){return"table"===e&&["header.valuessrc","header.font.colorsrc","header.font.sizesrc","header.fill.colorsrc","columnwidthsrc"].some((function(e){return t.endsWith(e)}))};function V(e,t,r){if(!e||Array.isArray(e)&&0===e.length)return null;var n=t.endsWith("zsrc")&&["contour","contourgl","heatmap","heatmapgl","surface","carpet","contourcarpet"].includes(r);return n?U(e):H(r,t)&&Array.isArray(e[0])&&1===e.length?e[0]:e}function Q(e,t,r,n){return!e||Array.isArray(e)&&0===e.length?null:H(r,t)&&1===e.length?e[0]:n&&n.fromSrc?n.fromSrc(e,r,t):e}function W(e,t,r,n){if(n&&n.repeat){if(t<e.length)return e.slice(0,t);var i=Math.ceil(t/e.length),o=new Array(i).fill(e);return o.reduce((function(e,t){return e.concat(t)}),[]).slice(0,t)}return(0,P.getColorscale)(e,t,null,null,r)}function K(e,t){var r={};return t.fullData&&t.data&&(r=e.fullDataArrayPosition?t.fullData[e.fullDataArrayPosition[0]]:t.fullData.filter((function(t){return t&&e.traceIndexes[0]===t.index}))[0],r&&r.transforms&&!r.transforms.some((function(e){return["moving-average","fits"].includes(e.type)}))&&!e.fullDataArrayPosition&&(r=r._fullInput)),r}function q(e,t){var r=e;return e&&t&&(r=(0,B.templateString)(e,t)),""===r&&e?e:r}},"45a2":function(e,t,r){"use strict";var n=r("dfb3"),i=r("81f0").attributes,o=r("d798"),a=r("cb34").overrideAll,s=r("9092").extendFlat,l={title:{text:o.title.text,font:o.title.font},color:o.color,tickmode:o.tickmode,nticks:s({},o.nticks,{dflt:6,min:1}),tick0:o.tick0,dtick:o.dtick,tickvals:o.tickvals,ticktext:o.ticktext,ticks:o.ticks,ticklen:o.ticklen,tickwidth:o.tickwidth,tickcolor:o.tickcolor,showticklabels:o.showticklabels,showtickprefix:o.showtickprefix,tickprefix:o.tickprefix,showticksuffix:o.showticksuffix,ticksuffix:o.ticksuffix,showexponent:o.showexponent,exponentformat:o.exponentformat,minexponent:o.minexponent,separatethousands:o.separatethousands,tickfont:o.tickfont,tickangle:o.tickangle,tickformat:o.tickformat,tickformatstops:o.tickformatstops,hoverformat:o.hoverformat,showline:s({},o.showline,{dflt:!0}),linecolor:o.linecolor,linewidth:o.linewidth,showgrid:s({},o.showgrid,{dflt:!0}),gridcolor:o.gridcolor,gridwidth:o.gridwidth,layer:o.layer,min:{valType:"number",dflt:0,role:"info",min:0,description:["The minimum value visible on this axis.","The maximum is determined by the sum minus the minimum","values of the other two axes. The full view corresponds to","all the minima set to zero."].join(" ")},_deprecated:{title:o._deprecated.title,titlefont:o._deprecated.titlefont}},u=e.exports=a({domain:i({name:"ternary"}),bgcolor:{valType:"color",role:"style",dflt:n.background,description:"Set the background color of the subplot"},sum:{valType:"number",role:"info",dflt:1,min:0,description:["The number each triplet should sum to,","and the maximum range of each axis"].join(" ")},aaxis:l,baxis:l,caxis:l},"plot","from-root");u.uirevision={valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `min` and `title`,","if not overridden in the individual axes.","Defaults to `layout.uirevision`."].join(" ")},u.aaxis.uirevision=u.baxis.uirevision=u.caxis.uirevision={valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `min`,","and `title` if in `editable: true` configuration.","Defaults to `ternary<N>.uirevision`."].join(" ")}},"45be":function(e,t,r){"use strict";var n=r("dfb3"),i=r("81f0").attributes,o=r("0804"),a=r("cb34").overrideAll,s={range:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:["Sets the range of this axis (in degrees),","sets the map's clipped coordinates."].join(" ")},showgrid:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not graticule are shown on the map."},tick0:{valType:"number",role:"info",dflt:0,description:["Sets the graticule's starting tick longitude/latitude."].join(" ")},dtick:{valType:"number",role:"info",description:["Sets the graticule's longitude/latitude tick step."].join(" ")},gridcolor:{valType:"color",role:"style",dflt:n.lightLine,description:["Sets the graticule's stroke color."].join(" ")},gridwidth:{valType:"number",role:"style",min:0,dflt:1,description:["Sets the graticule's stroke width (in px)."].join(" ")}},l=e.exports=a({domain:i({name:"geo"},{description:["Note that geo subplots are constrained by domain.","In general, when `projection.scale` is set to 1.","a map will fit either its x or y domain, but not both."].join(" ")}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,role:"info",editType:"plot",description:["Determines if this subplot's view settings are auto-computed to fit trace data.","On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled.","On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`,","and `projection.rotation.lon` getting auto-filled.","On maps with a clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`,","`projection.rotation.lon`, `projection.rotation.lat`, `lonaxis.range` and `lonaxis.range`","getting auto-filled.","If *locations*, only the trace's visible locations are considered in the `fitbounds` computations.","If *geojson*, the entire trace input `geojson` (if provided) is considered in the `fitbounds` computations,","Defaults to *false*."].join(" ")},resolution:{valType:"enumerated",values:[110,50],role:"info",dflt:110,coerceNumber:!0,description:["Sets the resolution of the base layers.","The values have units of km/mm","e.g. 110 corresponds to a scale ratio of 1:110,000,000."].join(" ")},scope:{valType:"enumerated",role:"info",values:Object.keys(o.scopeDefaults),dflt:"world",description:"Set the scope of the map."},projection:{type:{valType:"enumerated",role:"info",values:Object.keys(o.projNames),description:"Sets the projection type."},rotation:{lon:{valType:"number",role:"info",description:["Rotates the map along parallels","(in degrees East).","Defaults to the center of the `lonaxis.range` values."].join(" ")},lat:{valType:"number",role:"info",description:["Rotates the map along meridians","(in degrees North)."].join(" ")},roll:{valType:"number",role:"info",description:["Roll the map (in degrees)","For example, a roll of *180* makes the map appear upside down."].join(" ")}},parallels:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:["For conic projection types only.","Sets the parallels (tangent, secant)","where the cone intersects the sphere."].join(" ")},scale:{valType:"number",role:"info",min:0,dflt:1,description:["Zooms in or out on the map view.","A scale of *1* corresponds to the largest zoom level","that fits the map's lon and lat ranges. "].join(" ")}},center:{lon:{valType:"number",role:"info",description:["Sets the longitude of the map's center.","By default, the map's longitude center lies at the middle of the longitude range","for scoped projection and above `projection.rotation.lon` otherwise."].join(" ")},lat:{valType:"number",role:"info",description:["Sets the latitude of the map's center.","For all projection types, the map's latitude center lies","at the middle of the latitude range by default."].join(" ")}},visible:{valType:"boolean",role:"info",dflt:!0,description:"Sets the default visibility of the base layers."},showcoastlines:{valType:"boolean",role:"info",description:"Sets whether or not the coastlines are drawn."},coastlinecolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the coastline color."},coastlinewidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the coastline stroke width (in px)."},showland:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not land masses are filled in color."},landcolor:{valType:"color",role:"style",dflt:o.landColor,description:"Sets the land mass color."},showocean:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not oceans are filled in color."},oceancolor:{valType:"color",role:"style",dflt:o.waterColor,description:"Sets the ocean color"},showlakes:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not lakes are drawn."},lakecolor:{valType:"color",role:"style",dflt:o.waterColor,description:"Sets the color of the lakes."},showrivers:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not rivers are drawn."},rivercolor:{valType:"color",role:"style",dflt:o.waterColor,description:"Sets color of the rivers."},riverwidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the rivers."},showcountries:{valType:"boolean",role:"info",description:"Sets whether or not country boundaries are drawn."},countrycolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets line color of the country boundaries."},countrywidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets line width (in px) of the country boundaries."},showsubunits:{valType:"boolean",role:"info",description:["Sets whether or not boundaries of subunits within countries","(e.g. states, provinces) are drawn."].join(" ")},subunitcolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color of the subunits boundaries."},subunitwidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the subunits boundaries."},showframe:{valType:"boolean",role:"info",description:"Sets whether or not a frame is drawn around the map."},framecolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color the frame."},framewidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the frame."},bgcolor:{valType:"color",role:"style",dflt:n.background,description:"Set the background color of the map"},lonaxis:s,lataxis:s},"plot","from-root");l.uirevision={valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in the view","(projection and center). Defaults to `layout.uirevision`."].join(" ")}},"45cb":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z"}))};e.exports=s},4607:function(e,t,r){e.exports={create:r("dcc8"),clone:r("fb566"),copy:r("7a0e"),identity:r("fec5"),transpose:r("ed2e"),invert:r("9343"),adjoint:r("d0c8"),determinant:r("b1c9"),multiply:r("1417"),translate:r("6f51"),scale:r("9ca2"),rotate:r("9969"),rotateX:r("e9e1"),rotateY:r("44fe"),rotateZ:r("fc11"),fromRotation:r("2649"),fromRotationTranslation:r("e034"),fromScaling:r("f6f8"),fromTranslation:r("69548"),fromXRotation:r("6901"),fromYRotation:r("1479"),fromZRotation:r("e12d"),fromQuat:r("5928"),frustum:r("d7da"),perspective:r("7ad0"),perspectiveFromFieldOfView:r("8bb6"),ortho:r("f889"),lookAt:r("e581"),str:r("fd4c")}},4633:function(e,t,r){"use strict";
|
||
/*!
|
||
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
||
*
|
||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||
* Licensed under the MIT License.
|
||
*/var n,i="";function o(e,t){if("string"!==typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var r=e.length*t;if(n!==e||"undefined"===typeof n)n=e,i="";else if(i.length>=r)return i.substr(0,r);while(r>i.length&&t>1)1&t&&(i+=e),t>>=1,e+=e;return i+=e,i=i.substr(0,r),i}e.exports=o},46337:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 0h1.625v32H0zm32 30.375V32H0v-1.625zM9.625 19.188c0 .875-.75 1.625-1.625 1.625s-1.625-.75-1.625-1.625.75-1.563 1.625-1.563 1.625.688 1.625 1.563zM30.375 4a2.374 2.374 0 1 1-4.75 0 2.374 2.374 0 1 1 4.75 0zm-1.562 7.188a3.202 3.202 0 0 1-3.188 3.188c-1.813 0-3.25-1.438-3.25-3.188S23.813 8 25.625 8a3.202 3.202 0 0 1 3.188 3.188zm-6.438-5.563c0 2.188-1.75 4-4 4-2.188 0-4-1.813-4-4 0-2.25 1.813-4 4-4 2.25 0 4 1.75 4 4zM20.75 16c0 2.625-2.188 4.813-4.813 4.813-2.688 0-4.813-2.188-4.813-4.813s2.125-4.813 4.813-4.813c2.625 0 4.813 2.188 4.813 4.813zM9.5 12.813c0 1.75-1.438 3.188-3.188 3.188s-3.188-1.438-3.188-3.188c0-1.75 1.438-3.188 3.188-3.188S9.5 11.063 9.5 12.813zm.125 12c0 1.313-1.125 2.375-2.438 2.375s-2.375-1.063-2.375-2.375c0-1.313 1.063-2.438 2.375-2.438s2.438 1.125 2.438 2.438zM16 24c0 .875-.688 1.625-1.625 1.625-.875 0-1.563-.75-1.563-1.625s.688-1.625 1.563-1.625c.938 0 1.625.75 1.625 1.625zm11.188-5.625c0 1.375-1.063 2.438-2.375 2.438s-2.438-1.063-2.438-2.438c0-1.313 1.125-2.375 2.438-2.375s2.375 1.063 2.375 2.375zm-6.375 4.813c0 .438-.375.813-.813.813s-.813-.375-.813-.813c0-.438.375-.813.813-.813s.813.375.813.813zm-8-16c0 .438-.375.813-.813.813s-.813-.375-.813-.813c0-.438.375-.813.813-.813s.813.375.813.813z"}))};t.default=u},"464d":function(e,t,r){"use strict";var n=r("6e58");e.exports=function(e){n.select(e).selectAll(".im image").style("opacity",(function(e){return e[0].trace.opacity}))}},4665:function(e,t,r){"use strict";var n=r("1a94"),i=r("6858"),o=Function.prototype.call;e.exports=function(e,t){var r={},a=arguments[2];return n(t),i(e,(function(e,n,i,s){r[n]=o.call(t,a,e,n,i,s)})),r}},"469b":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26");function o(e,t,r){var n,o,a,s=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return o=i.nestedProperty(n,t.prop).get(),a=r[t.type]=r[t.type]||{},a.hasOwnProperty(t.prop)&&a[t.prop]!==o&&(s=!0),a[t.prop]=o,{changed:s,value:o}}function a(e,t){return Array.isArray(t[0])&&1===t[0].length&&-1!==["string","number"].indexOf(typeof t[0][0])?[{type:"layout",prop:"_currentFrame",value:t[0][0].toString()}]:[]}function s(e,t){var r=[],n=t[0],o={};if("string"===typeof n)o[n]=t[1];else{if(!i.isPlainObject(n))return r;o=n}return u(o,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function l(e,t){var r,n,o,a,s=[];if(n=t[0],o=t[1],r=t[2],a={},"string"===typeof n)a[n]=o;else{if(!i.isPlainObject(n))return s;a=n,void 0===r&&(r=o)}return void 0===r&&(r=null),u(a,(function(t,n,i){var o,a;if(Array.isArray(i)){a=i.slice();var l=Math.min(a.length,e.data.length);r&&(l=Math.min(l,r.length)),o=[];for(var u=0;u<l;u++)o[u]=r?r[u]:u}else a=i,o=r?r.slice():null;if(null===o)Array.isArray(a)&&(a=a[0]);else if(Array.isArray(o)){if(!Array.isArray(a)){var c=a;a=[];for(var f=0;f<o.length;f++)a[f]=c}a.length=Math.min(o.length,a.length)}s.push({type:"data",prop:t,traces:o,value:a})}),"",0),s}function u(e,t,r,n){Object.keys(e).forEach((function(o){var a=e[o];if("_"!==o[0]){var s=r+(n>0?".":"")+o;i.isPlainObject(a)?u(a,t,s,n+1):t(s,o,a)}}))}t.manageCommandObserver=function(e,r,n,a){var s={},l=!0;r&&r._commandObserver&&(s=r._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var u=t.hasSimpleAPICommandBindings(e,n,s.lookupTable);if(r&&r._commandObserver){if(u)return s;if(r._commandObserver.remove)return r._commandObserver.remove(),r._commandObserver=null,s}if(u){o(e,u,s.cache),s.check=function(){if(l){var t=o(e,u,s.cache);return t.changed&&a&&void 0!==s.lookupTable[t.value]&&(s.disable(),Promise.resolve(a({value:t.value,type:u.type,prop:u.prop,traces:u.traces,index:s.lookupTable[t.value]})).then(s.enable,s.enable)),t.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],f=0;f<c.length;f++)e._internalOn(c[f],s.check);s.remove=function(){for(var t=0;t<c.length;t++)e._removeInternalListener(c[t],s.check)}}else i.log("Unable to automatically bind plot updates to API command"),s.lookupTable={},s.remove=function(){};return s.disable=function(){l=!1},s.enable=function(){l=!0},r&&(r._commandObserver=s),s},t.hasSimpleAPICommandBindings=function(e,r,n){var i,o,a=r.length;for(i=0;i<a;i++){var s,l=r[i],u=l.method,c=l.args;if(Array.isArray(c)||(c=[]),!u)return!1;var f=t.computeAPICommandBindings(e,u,c);if(1!==f.length)return!1;if(o){if(s=f[0],s.type!==o.type)return!1;if(s.prop!==o.prop)return!1;if(Array.isArray(o.traces)){if(!Array.isArray(s.traces))return!1;s.traces.sort();for(var p=0;p<o.traces.length;p++)if(o.traces[p]!==s.traces[p])return!1}else if(s.prop!==o.prop)return!1}else o=f[0],Array.isArray(o.traces)&&o.traces.sort();s=f[0];var d=s.value;if(Array.isArray(d)){if(1!==d.length)return!1;d=d[0]}n&&(n[d]=i)}return o},t.executeAPICommand=function(e,t,r){if("skip"===t)return Promise.resolve();var o=n.apiMethodRegistry[t],a=[e];Array.isArray(r)||(r=[]);for(var s=0;s<r.length;s++)a.push(r[s]);return o.apply(null,a).catch((function(e){return i.warn("API call to Plotly."+t+" rejected.",e),Promise.reject(e)}))},t.computeAPICommandBindings=function(e,t,r){var n;switch(Array.isArray(r)||(r=[]),t){case"restyle":n=l(e,r);break;case"relayout":n=s(e,r);break;case"update":n=l(e,[r[0],r[2]]).concat(s(e,[r[1]]));break;case"animate":n=a(e,r);break;default:n=[]}return n}},"46bc":function(e,t,r){"use strict";var n=r("0b1d")[4];r("756e");function i(e,t,r,i,o,a){var s=t.opposite(i,o);if(!(s<0)){if(o<i){var l=i;i=o,o=l,l=a,a=s,s=l}t.isConstraint(i,o)||n(e[i],e[o],e[a],e[s])<0&&r.push(i,o)}}function o(e,t){for(var r=[],o=e.length,a=t.stars,s=0;s<o;++s)for(var l=a[s],u=1;u<l.length;u+=2){var c=l[u];if(!(c<s)&&!t.isConstraint(s,c)){for(var f=l[u-1],p=-1,d=1;d<l.length;d+=2)if(l[d-1]===c){p=l[d];break}p<0||n(e[s],e[c],e[f],e[p])<0&&r.push(s,c)}}while(r.length>0){c=r.pop(),s=r.pop(),f=-1,p=-1,l=a[s];for(var h=1;h<l.length;h+=2){var v=l[h-1],m=l[h];v===c?p=m:m===c&&(f=v)}f<0||p<0||(n(e[s],e[c],e[f],e[p])>=0||(t.flip(s,c),i(e,t,r,f,s,p),i(e,t,r,s,p,f),i(e,t,r,p,c,f),i(e,t,r,c,f,p)))}}e.exports=o},"46c1":function(e,t,r){"use strict";e.exports=r("60c5")},"46c3":function(e,t,r){"use strict";(function(r){function n(e){return"object"!==typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var i="object"===typeof r&&!0;function o(e,t){if(!e){if(i)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=o;var a=Object.prototype.hasOwnProperty,s=Array.prototype.splice,l=Object.prototype.toString;function u(e){return l.call(e).slice(8,-1)}var c=Object.assign||function(e,t){return f(t).forEach((function(r){a.call(t,r)&&(e[r]=t[r])})),e},f="function"===typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function p(e){return Array.isArray(e)?c(e.constructor(e.length),e):"Map"===u(e)?new Map(e):"Set"===u(e)?new Set(e):e&&"object"===typeof e?c(Object.create(Object.getPrototypeOf(e)),e):e}var d=function(){function e(){this.commands=c({},h),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var r=this,n="function"===typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(n)||o(!Array.isArray(n),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),o("object"===typeof n&&null!==n,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(r.commands).join(", ")+"."}));var i=e;return f(n).forEach((function(t){if(a.call(r.commands,t)){var o=e===i;i=r.commands[t](n[t],i,n,e),o&&r.isEquals(i,e)&&(i=e)}else{var s="Map"===u(e)?r.update(e.get(t),n[t]):r.update(e[t],n[t]),l="Map"===u(i)?i.get(t):i[t];r.isEquals(s,l)&&("undefined"!==typeof s||a.call(e,t))||(i===e&&(i=p(e)),"Map"===u(i)?i.set(t,s):i[t]=s)}})),i},e}();t.Context=d;var h={$push:function(e,t,r){return m(t,r,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,r){return m(t,r,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,r,n){return y(t,r),e.forEach((function(e){b(e),t===n&&e.length&&(t=p(n)),s.apply(t,e)})),t},$set:function(e,t,r){return A(r),e},$toggle:function(e,t){g(e,"$toggle");var r=e.length?p(t):t;return e.forEach((function(e){r[e]=!t[e]})),r},$unset:function(e,t,r,n){return g(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===n&&(t=p(n)),delete t[e])})),t},$add:function(e,t,r,n){return _(t,"$add"),g(e,"$add"),"Map"===u(t)?e.forEach((function(e){var r=e[0],i=e[1];t===n&&t.get(r)!==i&&(t=p(n)),t.set(r,i)})):e.forEach((function(e){t!==n||t.has(e)||(t=p(n)),t.add(e)})),t},$remove:function(e,t,r,n){return _(t,"$remove"),g(e,"$remove"),e.forEach((function(e){t===n&&t.has(e)&&(t=p(n)),t.delete(e)})),t},$merge:function(e,t,r,n){return w(t,e),f(e).forEach((function(r){e[r]!==t[r]&&(t===n&&(t=p(n)),t[r]=e[r])})),t},$apply:function(e,t){return x(e),e(t)}},v=new d;function m(e,t,r){o(Array.isArray(e),(function(){return"update(): expected target of "+n(r)+" to be an array; got "+n(e)+"."})),g(t[r],r)}function g(e,t){o(Array.isArray(e),(function(){return"update(): expected spec of "+n(t)+" to be an array; got "+n(e)+". Did you forget to wrap your parameter in an array?"}))}function y(e,t){o(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+n(e)})),b(t.$splice)}function b(e){o(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+n(e)+". Did you forget to wrap your parameters in an array?"}))}function x(e){o("function"===typeof e,(function(){return"update(): expected spec of $apply to be a function; got "+n(e)+"."}))}function A(e){o(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}function w(e,t){o(t&&"object"===typeof t,(function(){return"update(): $merge expects a spec of type 'object'; got "+n(t)})),o(e&&"object"===typeof e,(function(){return"update(): $merge expects a target of type 'object'; got "+n(e)}))}function _(e,t){var r=u(e);o("Map"===r||"Set"===r,(function(){return"update(): "+n(t)+" expects a target of type Set or Map; got "+n(r)}))}t.isEquals=v.update.isEquals,t.extend=v.extend,t.default=v.update,t.default.default=e.exports=c(t.default,t)}).call(this,r("4362"))},4746:function(e,t,r){"use strict";e.exports=r("48bb")},"47cc":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i,o){var a=i[0]*e.dpdx(t),s=i[1]*e.dpdy(r),l=1,u=1;if(o){var c=Math.sqrt(i[0]*i[0]+i[1]*i[1]),f=Math.sqrt(o[0]*o[0]+o[1]*o[1]),p=(i[0]*o[0]+i[1]*o[1])/c/f;u=Math.max(0,p)}var d=180*Math.atan2(s,a)/Math.PI;return d<-90?(d+=180,l=-l):d>90&&(d-=180,l=-l),{angle:d,flip:l,p:e.c2p(n,t,r),offsetMultplier:u}}},"47d8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("7a91");Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s(n).default}});var i=r("4ea5");Object.defineProperty(t,"DateUtils",{enumerable:!0,get:function(){return s(i).default}});var o=r("a6a7");Object.defineProperty(t,"LocaleUtils",{enumerable:!0,get:function(){return s(o).default}});var a=r("70d2");function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"ModifiersUtils",{enumerable:!0,get:function(){return s(a).default}})},4840:function(e,t,r){var n=r("825a"),i=r("1c0b"),o=r("b622"),a=o("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},4852:function(e,t,r){"use strict";var n=r("66cb"),i={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},o=i.RdBu;function a(e,t){if(t||(t=o),!e)return t;function r(){try{e=i[e]||JSON.parse(e)}catch(r){e=t}}return"string"===typeof e&&(r(),"string"===typeof e&&r()),s(e)?e:t}function s(e){var t=0;if(!Array.isArray(e)||e.length<2)return!1;if(!e[0]||!e[e.length-1])return!1;if(0!==+e[0][0]||1!==+e[e.length-1][0])return!1;for(var r=0;r<e.length;r++){var i=e[r];if(2!==i.length||+i[0]<t||!n(i[1]).isValid())return!1;t=+i[0]}return!0}function l(e){return void 0!==i[e]||s(e)}e.exports={scales:i,defaultScale:o,get:a,isValid:l}},"485e":function(e,t,r){"use strict";var n=r("7af6"),i=n.getPunctuation(),o="['‘’]",a="\\s|(?![_])"+i,s="^(?:"+a+")*(?:"+o+"|(?!"+a+").)*(?:(?!"+a+").)",l=new RegExp(s),u="(?:(?!"+a+").)(?:"+o+"|(?!"+a+").)*(?:"+a+")*$",c=new RegExp(u);function f(e,t){var r=t?c.exec(e):l.exec(e);return r?r[0]:e}var p={getBackward:function(e){return f(e,!0)},getForward:function(e){return f(e,!1)}};e.exports=p},"487e":function(e,t,r){"use strict";e.exports=v;var n=r("efce"),i=r("b205"),o=r("c185").line,a=[0,0,0],s=[0,0,0],l=[0,0,0],u=[0,0,0],c=[1,1];function f(e){return e[0]=e[1]=e[2]=0,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function d(e,t,r,n,i,o,a,s){this.gl=e,this.vertBuffer=t,this.vao=r,this.shader=n,this.tickCount=i,this.tickOffset=o,this.gridCount=a,this.gridOffset=s}var h=d.prototype;function v(e,t,r){var a=[],s=[0,0,0],l=[0,0,0],u=[0,0,0],c=[0,0,0];a.push(0,0,1,0,1,1,0,0,-1,0,0,-1,0,1,1,0,1,-1);for(var f=0;f<3;++f){for(var p=a.length/3|0,h=0;h<r[f].length;++h){var v=+r[f][h].x;a.push(v,0,1,v,1,1,v,0,-1,v,0,-1,v,1,1,v,1,-1)}var m=a.length/3|0;s[f]=p,l[f]=m-p;p=a.length/3|0;for(var g=0;g<r[f].length;++g){v=+r[f][g].x;a.push(v,0,1,v,1,1,v,0,-1,v,0,-1,v,1,1,v,1,-1)}m=a.length/3|0;u[f]=p,c[f]=m-p}var y=n(e,new Float32Array(a)),b=i(e,[{buffer:y,type:e.FLOAT,size:3,stride:0,offset:0}]),x=o(e);return x.attributes.position.location=0,new d(e,y,b,x,l,s,c,u)}h.bind=function(e,t,r){this.shader.bind(),this.shader.uniforms.model=e,this.shader.uniforms.view=t,this.shader.uniforms.projection=r,c[0]=this.gl.drawingBufferWidth,c[1]=this.gl.drawingBufferHeight,this.shader.uniforms.screenShape=c,this.vao.bind()},h.unbind=function(){this.vao.unbind()},h.drawAxisLine=function(e,t,r,n,i){var o=f(s);this.shader.uniforms.majorAxis=s,o[e]=t[1][e]-t[0][e],this.shader.uniforms.minorAxis=o;var a=p(u,r);a[e]+=t[0][e],this.shader.uniforms.offset=a,this.shader.uniforms.lineWidth=i,this.shader.uniforms.color=n;var c=f(l);c[(e+2)%3]=1,this.shader.uniforms.screenAxis=c,this.vao.draw(this.gl.TRIANGLES,6);c=f(l);c[(e+1)%3]=1,this.shader.uniforms.screenAxis=c,this.vao.draw(this.gl.TRIANGLES,6)},h.drawAxisTicks=function(e,t,r,n,i){if(this.tickCount[e]){var o=f(a);o[e]=1,this.shader.uniforms.majorAxis=o,this.shader.uniforms.offset=t,this.shader.uniforms.minorAxis=r,this.shader.uniforms.color=n,this.shader.uniforms.lineWidth=i;var s=f(l);s[e]=1,this.shader.uniforms.screenAxis=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[e],this.tickOffset[e])}},h.drawGrid=function(e,t,r,n,i,o){if(this.gridCount[e]){var c=f(s);c[t]=r[1][t]-r[0][t],this.shader.uniforms.minorAxis=c;var d=p(u,n);d[t]+=r[0][t],this.shader.uniforms.offset=d;var h=f(a);h[e]=1,this.shader.uniforms.majorAxis=h;var v=f(l);v[e]=1,this.shader.uniforms.screenAxis=v,this.shader.uniforms.lineWidth=o,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,this.gridCount[e],this.gridOffset[e])}},h.drawZero=function(e,t,r,n,i,o){var a=f(s);this.shader.uniforms.majorAxis=a,a[e]=r[1][e]-r[0][e],this.shader.uniforms.minorAxis=a;var c=p(u,n);c[e]+=r[0][e],this.shader.uniforms.offset=c;var d=f(l);d[t]=1,this.shader.uniforms.screenAxis=d,this.shader.uniforms.lineWidth=o,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,6)},h.dispose=function(){this.vao.dispose(),this.vertBuffer.dispose(),this.shader.dispose()}},4883:function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},"489b":function(e){e.exports=JSON.parse('["normal","italic","oblique"]')},"48a0":function(e,t,r){var n=r("242e"),i=r("950a"),o=i(n);e.exports=o},"48bb":function(e,t,r){"use strict";e.exports={attributes:r("919e"),supplyDefaults:r("a9cd").supplyDefaults,supplyLayoutDefaults:r("56b4"),layoutAttributes:r("78d8"),calc:r("86b8").calc,crossTraceCalc:r("86b8").crossTraceCalc,plot:r("c0af").plot,style:r("72e9"),styleOne:r("a708"),moduleType:"trace",name:"pie",basePlotModule:r("6b5f"),categories:["pie-like","pie","showLegend"],meta:{description:["A data visualized by the sectors of the pie is set in `values`.","The sector labels are set in `labels`.","The sector colors are set in `marker.colors`"].join(" ")}}},"48c2":function(e,t,r){"use strict";
|
||
/*!
|
||
* pad-left <https://github.com/jonschlinkert/pad-left>
|
||
*
|
||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||
* Licensed under the MIT license.
|
||
*/var n=r("4633");e.exports=function(e,t,r){return r="undefined"!==typeof r?r+"":" ",n(r,t)+e}},"490d":function(e,t,r){"use strict";var n=r("f786");function i(e){return n(e)&&3==e.nodeType}e.exports=i},"492e":function(e,t,r){"use strict";e.exports=d;var n=r("cc77"),i=r("c8ac"),o=r("92ba"),a=r("9cfb");function s(e,t,r){this.slabs=e,this.coordinates=t,this.horizontal=r}var l=s.prototype;function u(e,t){return e.y-t}function c(e,t){var r=null;while(e){var n,i,a=e.key;a[0][0]<a[1][0]?(n=a[0],i=a[1]):(n=a[1],i=a[0]);var s=o(n,i,t);if(s<0)e=e.left;else if(s>0)if(t[0]!==a[1][0])r=e,e=e.right;else{var l=c(e.right,t);if(l)return l;e=e.left}else{if(t[0]!==a[1][0])return e;l=c(e.right,t);if(l)return l;e=e.left}}return r}function f(e,t,r,n){this.y=e,this.index=t,this.start=r,this.closed=n}function p(e,t,r,n){this.x=e,this.segment=t,this.create=r,this.index=n}function d(e){for(var t=e.length,r=2*t,n=new Array(r),o=0;o<t;++o){var l=e[o],u=l[0][0]<l[1][0];n[2*o]=new p(l[0][0],l,u,o),n[2*o+1]=new p(l[1][0],l,!u,o)}n.sort((function(e,t){var r=e.x-t.x;return r||(r=e.create-t.create,r||Math.min(e.segment[0][1],e.segment[1][1])-Math.min(t.segment[0][1],t.segment[1][1]))}));var c=i(a),d=[],h=[],v=[];for(o=0;o<r;){var m=n[o].x,g=[];while(o<r){var y=n[o];if(y.x!==m)break;o+=1,y.segment[0][0]===y.x&&y.segment[1][0]===y.x?y.create&&(y.segment[0][1]<y.segment[1][1]?(g.push(new f(y.segment[0][1],y.index,!0,!0)),g.push(new f(y.segment[1][1],y.index,!1,!1))):(g.push(new f(y.segment[1][1],y.index,!0,!1)),g.push(new f(y.segment[0][1],y.index,!1,!0)))):c=y.create?c.insert(y.segment,y.index):c.remove(y.segment)}d.push(c.root),h.push(m),v.push(g)}return new s(d,h,v)}l.castUp=function(e){var t=n.le(this.coordinates,e[0]);if(t<0)return-1;this.slabs[t];var r=c(this.slabs[t],e),i=-1;if(r&&(i=r.value),this.coordinates[t]===e[0]){var s=null;if(r&&(s=r.key),t>0){var l=c(this.slabs[t-1],e);l&&(s?a(l.key,s)>0&&(s=l.key,i=l.value):(i=l.value,s=l.key))}var f=this.horizontal[t];if(f.length>0){var p=n.ge(f,e[1],u);if(p<f.length){var d=f[p];if(e[1]===d.y){if(d.closed)return d.index;while(p<f.length-1&&f[p+1].y===e[1])if(p+=1,d=f[p],d.closed)return d.index;if(d.y===e[1]&&!d.start){if(p+=1,p>=f.length)return i;d=f[p]}}if(d.start)if(s){var h=o(s[0],s[1],[e[0],d.y]);s[0][0]>s[1][0]&&(h=-h),h>0&&(i=d.index)}else i=d.index;else d.y!==e[1]&&(i=d.index)}}}return i}},4930:function(e,t,r){var n=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},4975:function(e,t,r){"use strict";var n=r("fc26"),i=r("41e0"),o=r("4183"),a=r("9c18");e.exports=function(e,t,r,s){function l(r,i){return n.coerce(e,t,a,r,i)}var u=i(e,t,l,s);u?(l("text"),l("zsmooth"),o(e,t,s,l,{prefix:"",cLetter:"z"})):t.visible=!1}},4978:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16,13C15.71,13 15.38,13 15.03,13.05C16.19,13.89 17,15 17,16.5V19H23V16.5C23,14.17 18.33,13 16,13M8,13C5.67,13 1,14.17 1,16.5V19H15V16.5C15,14.17 10.33,13 8,13M8,11C9.66,11 11,9.66 11,8C11,6.34 9.66,5 8,5C6.34,5 5,6.34 5,8C5,9.66 6.34,11 8,11M16,11C17.66,11 19,9.66 19,8C19,6.34 17.66,5 16,5C14.34,5 13,6.34 13,8C13,9.66 14.34,11 16,11Z"}))};e.exports=s},4988:function(e,t,r){"use strict";var n=r("dec3");function i(e,t,r){var i=n.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(r(n.set(t,{nativelyRenderedContent:null})),setTimeout((function(){r(i)}),0)):r(i);else{var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}))}}e.exports=i},"498a":function(e,t,r){"use strict";var n=r("23e7"),i=r("58a8").trim,o=r("c8d2");n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},4991:function(e,t){e.exports=i;var r=Math.min;function n(e,t){return e-t}function i(e,t){var i=e.length,o=e.length-t.length;if(o)return o;switch(i){case 0:return 0;case 1:return e[0]-t[0];case 2:return e[0]+e[1]-t[0]-t[1]||r(e[0],e[1])-r(t[0],t[1]);case 3:var a=e[0]+e[1],s=t[0]+t[1];if(o=a+e[2]-(s+t[2]),o)return o;var l=r(e[0],e[1]),u=r(t[0],t[1]);return r(l,e[2])-r(u,t[2])||r(l+e[2],a)-r(u+t[2],s);case 4:var c=e[0],f=e[1],p=e[2],d=e[3],h=t[0],v=t[1],m=t[2],g=t[3];return c+f+p+d-(h+v+m+g)||r(c,f,p,d)-r(h,v,m,g,h)||r(c+f,c+p,c+d,f+p,f+d,p+d)-r(h+v,h+m,h+g,v+m,v+g,m+g)||r(c+f+p,c+f+d,c+p+d,f+p+d)-r(h+v+m,h+v+g,h+m+g,v+m+g);default:for(var y=e.slice().sort(n),b=t.slice().sort(n),x=0;x<i;++x)if(o=y[x]-b[x],o)return o;return 0}}},"49b4":function(e,t,r){"use strict";e.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},"49d8":function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("abc9"),a=r("7c39");e.exports=function(e,t,r,s){function l(r,i){return n.coerce(e,t,a,r,i)}function u(r,i){return n.coerce2(e,t,a,r,i)}if(o.handleSampleDefaults(e,t,l,s),!1!==t.visible){l("bandwidth"),l("side");var c=l("width");c||(l("scalegroup",t.name),l("scalemode"));var f,p=l("span");Array.isArray(p)&&(f="manual"),l("spanmode",f);var d=l("line.color",(e.marker||{}).color||r),h=l("line.width"),v=l("fillcolor",i.addOpacity(t.line.color,.5));o.handlePointsDefaults(e,t,l,{prefix:""});var m=u("box.width"),g=u("box.fillcolor",v),y=u("box.line.color",d),b=u("box.line.width",h),x=l("box.visible",Boolean(m||g||y||b));x||(t.box={visible:!1});var A=u("meanline.color",d),w=u("meanline.width",h),_=l("meanline.visible",Boolean(A||w));_||(t.meanline={visible:!1})}}},"49f4":function(e,t,r){var n=r("6044");function i(){this.__data__=n?n(null):{},this.size=0}e.exports=i},"4a2f":function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;l(r("d7bc"));var n=s(r("c9c1")),i=s(r("54e7")),o=s(r("ab5b")),a=s(r("4b75"));r("c5fc");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var f=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,n.default)(e,t)}))},p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,i.default)(e,t)}))},d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=e.call.apply(e,[this].concat(n))||this,t.onEnter=function(e,r){var n=t.getClassNames(r?"appear":"enter"),i=n.className;t.removeClasses(e,"exit"),f(e,i),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.getClassNames(r?"appear":"enter"),i=n.activeClassName;t.reflowAndAddClass(e,i),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.getClassNames("appear").doneClassName,i=t.getClassNames("enter").doneClassName,o=r?n+" "+i:i;t.removeClasses(e,r?"appear":"enter"),f(e,o),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.getClassNames("exit"),n=r.className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),f(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.getClassNames("exit"),n=r.activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.getClassNames("exit"),n=r.doneClassName;t.removeClasses(e,"exit"),f(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var r=t.props.classNames,n="string"===typeof r,i=n&&r?r+"-":"",o=n?i+e:r[e],a=n?o+"-active":r[e+"Active"],s=n?o+"-done":r[e+"Done"];return{className:o,activeClassName:a,doneClassName:s}},t}c(t,e);var r=t.prototype;return r.removeClasses=function(e,t){var r=this.getClassNames(t),n=r.className,i=r.activeClassName,o=r.doneClassName;n&&p(e,n),i&&p(e,i),o&&p(e,o)},r.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,f(e,t))},r.render=function(){var e=u({},this.props);return delete e.classNames,o.default.createElement(a.default,u({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(o.default.Component);d.defaultProps={classNames:""},d.propTypes={};var h=d;t.default=h,e.exports=t["default"]},"4a35":function(e,t){function r(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}e.exports=r},"4a53":function(e,t,r){"use strict";var n=r("e440"),i=r("c2e7"),o=r("eebb"),a=r("d4b5"),s=r("f654");function l(e){if(Array.isArray(e)&&1===e.length&&"string"===typeof e[0]&&(e=e[0]),"string"===typeof e&&(s(a(e),"String is not an SVG path."),e=n(e)),s(Array.isArray(e),"Argument should be a string or an array of path segments."),e=i(e),e=o(e),!e.length)return[0,0,0,0];for(var t=[1/0,1/0,-1/0,-1/0],r=0,l=e.length;r<l;r++)for(var u=e[r].slice(1),c=0;c<u.length;c+=2)u[c+0]<t[0]&&(t[0]=u[c+0]),u[c+1]<t[1]&&(t[1]=u[c+1]),u[c+0]>t[2]&&(t[2]=u[c+0]),u[c+1]>t[3]&&(t[3]=u[c+1]);return t}e.exports=l},"4aa8":function(e,t,r){"use strict";var n=r("fc26"),i=r("3e8e");e.exports=function(e,t){function r(r,o){return n.coerce(e,t,i,r,o)}r("treemapcolorway",t.colorway),r("extendtreemapcolors")}},"4ae2":function(e,t,r){e.exports=h;var n=r("92ba")[3],i=r("492e"),o=r("4393"),a=r("cc77");function s(){return!0}function l(e){return function(t,r){var n=e[t];return!!n&&!!n.queryPoint(r,s)}}function u(e){for(var t={},r=0;r<e.length;++r){var n=e[r],i=n[0][0],a=n[0][1],s=n[1][1],u=[Math.min(a,s),Math.max(a,s)];i in t?t[i].push(u):t[i]=[u]}var c={},f=Object.keys(t);for(r=0;r<f.length;++r){var p=t[f[r]];c[f[r]]=o(p)}return l(c)}function c(e,t){return function(r){var i=a.le(t,r[0]);if(i<0)return 1;var o=e[i];if(!o){if(!(i>0&&t[i]===r[0]))return 1;o=e[i-1]}var s=1;while(o){var l=o.key,u=n(r,l[0],l[1]);if(l[0][0]<l[1][0])if(u<0)o=o.left;else{if(!(u>0))return 0;s=-1,o=o.right}else if(u>0)o=o.left;else{if(!(u<0))return 0;s=1,o=o.right}}return s}}function f(e){return 1}function p(e){return function(t){return e(t[0],t[1])?0:1}}function d(e,t){return function(r){return e(r[0],r[1])?0:t(r)}}function h(e){for(var t=e.length,r=[],n=[],o=0;o<t;++o)for(var a=e[o],s=a.length,l=s-1,h=0;h<s;l=h++){var v=a[l],m=a[h];v[0]===m[0]?n.push([v,m]):r.push([v,m])}if(0===r.length)return 0===n.length?f:p(u(n));var g=i(r),y=c(g.slabs,g.coordinates);return 0===n.length?y:d(u(n),y)}},"4b14":function(e,t,r){"use strict";e.exports=r("bae5")},"4b6a":function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("e5ac"),a=r("d72e"),s="images";function l(e,t,r){function o(r,i){return n.coerce(e,t,a,r,i)}var s=o("source"),l=o("visible",!!s);if(!l)return t;o("layer"),o("xanchor"),o("yanchor"),o("sizex"),o("sizey"),o("sizing"),o("opacity");for(var u={_fullLayout:r},c=["x","y"],f=0;f<2;f++){var p=c[f],d=i.coerceRef(e,t,u,p,"paper",void 0);if("paper"!==d){var h=i.getFromId(u,d);h._imgIndices.push(t._index)}i.coercePosition(t,u,o,d,p,0)}return t}e.exports=function(e,t){var r={name:s,handleItemDefaults:l};o(e,t,r)}},"4b75":function(e,t,r){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var n=l(r("d7bc")),i=s(r("ab5b")),o=s(r("8bc8")),a=r("5422");r("c5fc");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function u(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var f="unmounted";t.UNMOUNTED=f;var p="exited";t.EXITED=p;var d="entering";t.ENTERING=d;var h="entered";t.ENTERED=h;var v="exiting";t.EXITING=v;var m=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var i,o=r.transitionGroup,a=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(i=p,n.appearStatus=d):i=h:i=t.unmountOnExit||t.mountOnEnter?f:p,n.state={status:i},n.nextCallback=null,n}c(t,e);var r=t.prototype;return r.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){var r=e.in;return r&&t.status===f?{status:p}:null},r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==d&&r!==h&&(t=d):r!==d&&r!==h||(t=v)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!==typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var r=o.default.findDOMNode(this);t===d?this.performEnter(r,e):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:f})},r.performEnter=function(e,t){var r=this,n=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;t||n?(this.props.onEnter(e,i),this.safeSetState({status:d},(function(){r.props.onEntering(e,i),r.onTransitionEnd(e,a,(function(){r.safeSetState({status:h},(function(){r.props.onEntered(e,i)}))}))}))):this.safeSetState({status:h},(function(){r.props.onEntered(e)}))},r.performExit=function(e){var t=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(e),this.safeSetState({status:v},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:p},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:p},(function(){t.props.onExited(e)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t,r){this.setNextCallback(r);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,r=t.children,n=u(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"===typeof r)return r(e,n);var o=i.default.Children.only(r);return i.default.cloneElement(o,n)},t}(i.default.Component);function g(){}m.contextTypes={transitionGroup:n.object},m.childContextTypes={transitionGroup:function(){}},m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=0,m.EXITED=1,m.ENTERING=2,m.ENTERED=3,m.EXITING=4;var y=(0,a.polyfill)(m);t.default=y},"4b8c":function(e,t,r){"use strict";function n(e){function t(e,t){return{type:"Feature",id:e.id,properties:e.properties,geometry:r(e.geometry,t)}}function r(t,n){if(!t)return null;if("GeometryCollection"===t.type)return{type:"GeometryCollection",geometries:object.geometries.map((function(e){return r(e,n)}))};if(!u.hasOwnProperty(t.type))return null;var i=u[t.type];return e.geo.stream(t,n(i)),i.result()}e.geo.project=function(e,t){var i=t.stream;if(!i)throw new Error("not yet supported");return(e&&n.hasOwnProperty(e.type)?n[e.type]:r)(e,i)};var n={Feature:t,FeatureCollection:function(e,r){return{type:"FeatureCollection",features:e.features.map((function(e){return t(e,r)}))}}},i=[],o=[],a={point:function(e,t){i.push([e,t])},result:function(){var e=i.length?i.length<2?{type:"Point",coordinates:i[0]}:{type:"MultiPoint",coordinates:i}:null;return i=[],e}},s={lineStart:c,point:function(e,t){i.push([e,t])},lineEnd:function(){i.length&&(o.push(i),i=[])},result:function(){var e=o.length?o.length<2?{type:"LineString",coordinates:o[0]}:{type:"MultiLineString",coordinates:o}:null;return o=[],e}},l={polygonStart:c,lineStart:c,point:function(e,t){i.push([e,t])},lineEnd:function(){var e=i.length;if(e){do{i.push(i[0].slice())}while(++e<4);o.push(i),i=[]}},polygonEnd:c,result:function(){if(!o.length)return null;var e=[],t=[];return o.forEach((function(r){f(r)?e.push([r]):t.push(r)})),t.forEach((function(t){var r=t[0];e.some((function(e){if(p(e[0],r))return e.push(t),!0}))||e.push([t])})),o=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}},u={Point:a,MultiPoint:a,LineString:s,MultiLineString:s,Polygon:l,MultiPolygon:l,Sphere:l};function c(){}function f(e){if((t=e.length)<4)return!1;var t,r=0,n=e[t-1][1]*e[0][0]-e[t-1][0]*e[0][1];while(++r<t)n+=e[r-1][1]*e[r][0]-e[r-1][0]*e[r][1];return n<=0}function p(e,t){for(var r=t[0],n=t[1],i=!1,o=0,a=e.length,s=a-1;o<a;s=o++){var l=e[o],u=l[0],c=l[1],f=e[s],p=f[0],d=f[1];c>n^d>n&&r<(p-u)*(n-c)/(d-c)+u&&(i=!i)}return i}var d=1e-6,h=d*d,v=Math.PI,m=v/2,g=(Math.sqrt(v),v/180),y=180/v;function b(e){return e?e/Math.sin(e):1}function x(e){return e>1?m:e<-1?-m:Math.asin(e)}function A(e){return e>1?0:e<-1?v:Math.acos(e)}var w=e.geo.projection,_=e.geo.projectionMutator;function E(e,t){var r=(2+m)*Math.sin(t);t/=2;for(var n=0,i=1/0;n<10&&Math.abs(i)>d;n++){var o=Math.cos(t);t-=i=(t+Math.sin(t)*(o+2)-r)/(2*o*(1+o))}return[2/Math.sqrt(v*(4+v))*e*(1+Math.cos(t)),2*Math.sqrt(v/(4+v))*Math.sin(t)]}e.geo.interrupt=function(t){var r,n=[[[[-v,0],[0,m],[v,0]]],[[[-v,0],[0,-m],[v,0]]]];function i(e,r){for(var i=r<0?-1:1,o=n[+(r<0)],a=0,s=o.length-1;a<s&&e>o[a][2][0];++a);var l=t(e-o[a][1][0],r);return l[0]+=t(o[a][1][0],i*r>i*o[a][0][1]?o[a][0][1]:r)[0],l}function o(){r=n.map((function(e){return e.map((function(e){var r,n=t(e[0][0],e[0][1])[0],i=t(e[2][0],e[2][1])[0],o=t(e[1][0],e[0][1])[1],a=t(e[1][0],e[1][1])[1];return o>a&&(r=o,o=a,a=r),[[n,o],[i,a]]}))}))}t.invert&&(i.invert=function(e,o){for(var a=r[+(o<0)],s=n[+(o<0)],l=0,u=a.length;l<u;++l){var f=a[l];if(f[0][0]<=e&&e<f[1][0]&&f[0][1]<=o&&o<f[1][1]){var p=t.invert(e-t(s[l][1][0],0)[0],o);return p[0]+=s[l][1][0],c(i(p[0],p[1]),[e,o])?p:null}}});var a=e.geo.projection(i),s=a.stream;function l(){for(var t=1e-6,r=[],i=0,o=n[0].length;i<o;++i){var a=n[0][i],s=180*a[0][0]/v,l=180*a[0][1]/v,c=180*a[1][1]/v,f=180*a[2][0]/v,p=180*a[2][1]/v;r.push(u([[s+t,l+t],[s+t,c-t],[f-t,c-t],[f-t,p+t]],30))}for(i=n[1].length-1;i>=0;--i){a=n[1][i],s=180*a[0][0]/v,l=180*a[0][1]/v,c=180*a[1][1]/v,f=180*a[2][0]/v,p=180*a[2][1]/v;r.push(u([[f-t,p-t],[f-t,c+t],[s+t,c+t],[s+t,l-t]],30))}return{type:"Polygon",coordinates:[e.merge(r)]}}function u(e,t){var r,n,i,o=-1,a=e.length,s=e[0],l=[];while(++o<a){r=e[o],n=(r[0]-s[0])/t,i=(r[1]-s[1])/t;for(var u=0;u<t;++u)l.push([s[0]+u*n,s[1]+u*i]);s=r}return l.push(r),l}function c(e,t){return Math.abs(e[0]-t[0])<d&&Math.abs(e[1]-t[1])<d}return a.stream=function(t){var r=a.rotate(),n=s(t),i=(a.rotate([0,0]),s(t));return a.rotate(r),n.sphere=function(){e.geo.stream(l(),i)},n},a.lobes=function(e){return arguments.length?(n=e.map((function(e){return e.map((function(e){return[[e[0][0]*v/180,e[0][1]*v/180],[e[1][0]*v/180,e[1][1]*v/180],[e[2][0]*v/180,e[2][1]*v/180]]}))})),o(),a):n.map((function(e){return e.map((function(e){return[[180*e[0][0]/v,180*e[0][1]/v],[180*e[1][0]/v,180*e[1][1]/v],[180*e[2][0]/v,180*e[2][1]/v]]}))}))},a},E.invert=function(e,t){var r=.5*t*Math.sqrt((4+v)/v),n=x(r),i=Math.cos(n);return[e/(2/Math.sqrt(v*(4+v))*(1+i)),x((n+r*(i+2))/(2+m))]},(e.geo.eckert4=function(){return w(E)}).raw=E;var k=e.geo.azimuthalEqualArea.raw;function T(e,t){if(arguments.length<2&&(t=e),1===t)return k;if(t===1/0)return S;function r(r,n){var i=k(r/t,n);return i[0]*=e,i}return r.invert=function(r,n){var i=k.invert(r/e,n);return i[0]*=t,i},r}function C(){var e=2,t=_(T),r=t(e);return r.coefficient=function(r){return arguments.length?t(e=+r):e},r}function S(e,t){return[e*Math.cos(t)/Math.cos(t/=2),2*Math.sin(t)]}function O(e,t){return[3*e/(2*v)*Math.sqrt(v*v/3-t*t),t]}function M(e,t){return[e,1.25*Math.log(Math.tan(v/4+.4*t))]}function P(e){return function(t){var r,n=e*Math.sin(t),i=30;do{t-=r=(t+Math.sin(t)-n)/(1+Math.cos(t))}while(Math.abs(r)>d&&--i>0);return t/2}}function B(e,t,r){var n=P(r);function i(r,i){return[e*r*Math.cos(i=n(i)),t*Math.sin(i)]}return i.invert=function(n,i){var o=x(i/t);return[n/(e*Math.cos(o)),x((2*o+Math.sin(2*o))/r)]},i}S.invert=function(e,t){var r=2*x(t/2);return[e*Math.cos(r/2)/Math.cos(r),r]},(e.geo.hammer=C).raw=T,O.invert=function(e,t){return[2/3*v*e/Math.sqrt(v*v/3-t*t),t]},(e.geo.kavrayskiy7=function(){return w(O)}).raw=O,M.invert=function(e,t){return[e,2.5*Math.atan(Math.exp(.8*t))-.625*v]},(e.geo.miller=function(){return w(M)}).raw=M;P(v);var L=B(Math.SQRT2/m,Math.SQRT2,v);function D(e,t){var r=t*t,n=r*r;return[e*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791)),t*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))]}(e.geo.mollweide=function(){return w(L)}).raw=L,D.invert=function(e,t){var r,n=t,i=25;do{var o=n*n,a=o*o;n-=r=(n*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-t)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(Math.abs(r)>d&&--i>0);return[e/(.8707+(o=n*n)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),n]},(e.geo.naturalEarth=function(){return w(D)}).raw=D;var I=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function j(e,t){var r,n=Math.min(18,36*Math.abs(t)/v),i=Math.floor(n),o=n-i,a=(r=I[i])[0],s=r[1],l=(r=I[++i])[0],u=r[1],c=(r=I[Math.min(19,++i)])[0],f=r[1];return[e*(l+o*(c-a)/2+o*o*(c-2*l+a)/2),(t>0?m:-m)*(u+o*(f-s)/2+o*o*(f-2*u+s)/2)]}function R(e,t){return[e*Math.cos(t),t]}function F(e,t){var r=Math.cos(t),n=b(A(r*Math.cos(e/=2)));return[2*r*Math.sin(e)*n,Math.sin(t)*n]}function N(e,t){var r=F(e,t);return[(r[0]+e/m)/2,(r[1]+t)/2]}I.forEach((function(e){e[1]*=1.0144})),j.invert=function(e,t){var r=t/m,n=90*r,i=Math.min(18,Math.abs(n/5)),o=Math.max(0,Math.floor(i));do{var a=I[o][1],s=I[o+1][1],l=I[Math.min(19,o+2)][1],u=l-a,c=l-2*s+a,f=2*(Math.abs(r)-s)/u,p=c/u,d=f*(1-p*f*(1-2*p*f));if(d>=0||1===o){n=(t>=0?5:-5)*(d+i);var v,b=50;do{i=Math.min(18,Math.abs(n)/5),o=Math.floor(i),d=i-o,a=I[o][1],s=I[o+1][1],l=I[Math.min(19,o+2)][1],n-=(v=(t>=0?m:-m)*(s+d*(l-a)/2+d*d*(l-2*s+a)/2)-t)*y}while(Math.abs(v)>h&&--b>0);break}}while(--o>=0);var x=I[o][0],A=I[o+1][0],w=I[Math.min(19,o+2)][0];return[e/(A+d*(w-x)/2+d*d*(w-2*A+x)/2),n*g]},(e.geo.robinson=function(){return w(j)}).raw=j,R.invert=function(e,t){return[e/Math.cos(t),t]},(e.geo.sinusoidal=function(){return w(R)}).raw=R,F.invert=function(e,t){if(!(e*e+4*t*t>v*v+d)){var r=e,n=t,i=25;do{var o,a=Math.sin(r),s=Math.sin(r/2),l=Math.cos(r/2),u=Math.sin(n),c=Math.cos(n),f=Math.sin(2*n),p=u*u,h=c*c,m=s*s,g=1-h*l*l,y=g?A(c*l)*Math.sqrt(o=1/g):o=0,b=2*y*c*s-e,x=y*u-t,w=o*(h*m+y*c*l*p),_=o*(.5*a*f-2*y*u*s),E=.25*o*(f*s-y*u*h*a),k=o*(p*l+y*m*c),T=_*E-k*w;if(!T)break;var C=(x*_-b*k)/T,S=(b*E-x*w)/T;r-=C,n-=S}while((Math.abs(C)>d||Math.abs(S)>d)&&--i>0);return[r,n]}},(e.geo.aitoff=function(){return w(F)}).raw=F,N.invert=function(e,t){var r=e,n=t,i=25;do{var o,a=Math.cos(n),s=Math.sin(n),l=Math.sin(2*n),u=s*s,c=a*a,f=Math.sin(r),p=Math.cos(r/2),h=Math.sin(r/2),v=h*h,g=1-c*p*p,y=g?A(a*p)*Math.sqrt(o=1/g):o=0,b=.5*(2*y*a*h+r/m)-e,x=.5*(y*s+n)-t,w=.5*o*(c*v+y*a*p*u)+.5/m,_=o*(f*l/4-y*s*h),E=.125*o*(l*h-y*s*c*f),k=.5*o*(u*p+y*v*a)+.5,T=_*E-k*w,C=(x*_-b*k)/T,S=(b*E-x*w)/T;r-=C,n-=S}while((Math.abs(C)>d||Math.abs(S)>d)&&--i>0);return[r,n]},(e.geo.winkel3=function(){return w(N)}).raw=N}e.exports=n},"4b96":function(e,t,r){"use strict";var n=r("3601"),i=r("f9a1");function o(e){return null==e?e:String(e)}function a(e,t){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(e,null),r))return o(r.getPropertyValue(i(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(e,null),r)return o(r.getPropertyValue(i(t)));if("display"===t)return"none"}return e.currentStyle?o("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[n(t)]):o(e.style&&e.style[n(t)])}e.exports=a},"4bba":function(e,t){function r(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}e.exports=r},"4bc5":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("1a23")),o=f(r("ab5b")),a=p(r("d7bc")),s=p(r("66cb")),l=r("4ccf"),u=r("d799");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=function(e){return e.rgb||e},k=function(e){return"hex"===e.source?e.hex:E(e)},T=function(e){return(0,s.default)(k(e))},C=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return m(r,[{key:"render",value:function(){var e=this.props.onChangeComplete;return o.default.createElement("div",{className:"colorpicker__outer"},o.default.createElement("div",{className:"colorpicker__controls +flex"},o.default.createElement("div",{className:"colorpicker__sliders"},o.default.createElement("div",{className:"colorpicker__slider"},o.default.createElement(l.Hue,this.props)))),o.default.createElement("div",{className:"colorpicker__saturation"},o.default.createElement(l.Saturation,this.props)),o.default.createElement("div",{className:"colorpicker__custom-input"},o.default.createElement(i.default,d({},this.props,{onChange:e}))))}}]),r}(o.Component);C.propTypes={rgb:a.default.object,onChangeComplete:a.default.func};var S=(0,u.CustomPicker)(C),O=function(e){g(r,e);var t=b(r);function r(e){var n;return h(this,r),n=t.call(this,e),n.state={isVisible:!1},n.onSelectedColorChange=n.onSelectedColorChange.bind(A(n)),n.toggleVisible=n.toggleVisible.bind(A(n)),n}return m(r,[{key:"onSelectedColorChange",value:function(e){var t=T(e);this.props.onColorChange(t.toRgbString())}},{key:"toggleVisible",value:function(){this.setState({isVisible:!this.state.isVisible})}},{key:"render",value:function(){var e=(0,s.default)(this.props.selectedColor),t=e.toHexString(),r=0!==e._a?e.toRgbString():"rgb(".concat(e._r,",").concat(e._g,",").concat(e._b,")"),n={backgroundColor:r};return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"colorpicker__container"},o.default.createElement("div",{className:"colorpicker"},o.default.createElement("div",{className:"colorpicker__swatch +cursor-clickable",style:n,onClick:this.toggleVisible})),o.default.createElement("div",{className:"colorpicker__selected-color +hover-grey",onClick:this.toggleVisible},t)),this.state.isVisible&&o.default.createElement(S,{color:r,onChangeComplete:this.onSelectedColorChange}))}}]),r}(o.Component);O.propTypes={onColorChange:a.default.func.isRequired,selectedColor:a.default.string};var M=O;t.default=M},"4c06":function(e,t,r){(function(t){e["exports"]=t()})((function(){"use strict";return function(e){var t="/*|*/",r=t+"}";function n(t){if(t)try{e(t+"}")}catch(r){}}return function(i,o,a,s,l,u,c,f,p,d){switch(i){case 1:if(0===p&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===f)return o+t;break;case 3:switch(f){case 102:case 112:return e(a[0]+o),"";default:return o+(0===d?t:"")}case-2:o.split(r).forEach(n)}}}}))},"4c18":function(e,t,r){"use strict";var n=r("175e");function i(e,t,r){var n,i,o=e.length,a=t.arrayArgs.length,s=t.indexArgs.length>0,l=[],u=[],c=0,f=0;for(n=0;n<o;++n)u.push(["i",n,"=0"].join(""));for(i=0;i<a;++i)for(n=0;n<o;++n)f=c,c=e[n],0===n?u.push(["d",i,"s",n,"=t",i,"p",c].join("")):u.push(["d",i,"s",n,"=(t",i,"p",c,"-s",f,"*t",i,"p",f,")"].join(""));for(u.length>0&&l.push("var "+u.join(",")),n=o-1;n>=0;--n)c=e[n],l.push(["for(i",n,"=0;i",n,"<s",c,";++i",n,"){"].join(""));for(l.push(r),n=0;n<o;++n){for(f=c,c=e[n],i=0;i<a;++i)l.push(["p",i,"+=d",i,"s",n].join(""));s&&(n>0&&l.push(["index[",f,"]-=s",f].join("")),l.push(["++index[",c,"]"].join(""))),l.push("}")}return l.join("\n")}function o(e,t,r,n){for(var o=t.length,a=r.arrayArgs.length,s=r.blockSize,l=r.indexArgs.length>0,u=[],c=0;c<a;++c)u.push(["var offset",c,"=p",c].join(""));for(c=e;c<o;++c)u.push(["for(var j"+c+"=SS[",t[c],"]|0;j",c,">0;){"].join("")),u.push(["if(j",c,"<",s,"){"].join("")),u.push(["s",t[c],"=j",c].join("")),u.push(["j",c,"=0"].join("")),u.push(["}else{s",t[c],"=",s].join("")),u.push(["j",c,"-=",s,"}"].join("")),l&&u.push(["index[",t[c],"]=j",c].join(""));for(c=0;c<a;++c){for(var f=["offset"+c],p=e;p<o;++p)f.push(["j",p,"*t",c,"p",t[p]].join(""));u.push(["p",c,"=(",f.join("+"),")"].join(""))}u.push(i(t,r,n));for(c=e;c<o;++c)u.push("}");return u.join("\n")}function a(e){var t=0,r=e[0].length;while(t<r){for(var n=1;n<e.length;++n)if(e[n][t]!==e[0][t])return t;++t}return t}function s(e,t,r){for(var n=e.body,i=[],o=[],a=0;a<e.args.length;++a){var s=e.args[a];if(!(s.count<=0)){var l=new RegExp(s.name,"g"),u="",c=t.arrayArgs.indexOf(a);switch(t.argTypes[a]){case"offset":var f=t.offsetArgIndex.indexOf(a),p=t.offsetArgs[f];c=p.array,u="+q"+f;case"array":u="p"+c+u;var d="l"+a,h="a"+c;if(0===t.arrayBlockIndices[c])1===s.count?"generic"===r[c]?s.lvalue?(i.push(["var ",d,"=",h,".get(",u,")"].join("")),n=n.replace(l,d),o.push([h,".set(",u,",",d,")"].join(""))):n=n.replace(l,[h,".get(",u,")"].join("")):n=n.replace(l,[h,"[",u,"]"].join("")):"generic"===r[c]?(i.push(["var ",d,"=",h,".get(",u,")"].join("")),n=n.replace(l,d),s.lvalue&&o.push([h,".set(",u,",",d,")"].join(""))):(i.push(["var ",d,"=",h,"[",u,"]"].join("")),n=n.replace(l,d),s.lvalue&&o.push([h,"[",u,"]=",d].join("")));else{for(var v=[s.name],m=[u],g=0;g<Math.abs(t.arrayBlockIndices[c]);g++)v.push("\\s*\\[([^\\]]+)\\]"),m.push("$"+(g+1)+"*t"+c+"b"+g);if(l=new RegExp(v.join(""),"g"),u=m.join("+"),"generic"===r[c])throw new Error("cwise: Generic arrays not supported in combination with blocks!");n=n.replace(l,[h,"[",u,"]"].join(""))}break;case"scalar":n=n.replace(l,"Y"+t.scalarArgs.indexOf(a));break;case"index":n=n.replace(l,"index");break;case"shape":n=n.replace(l,"shape");break}}}return[i.join("\n"),n,o.join("\n")].join("\n").trim()}function l(e){for(var t=new Array(e.length),r=!0,n=0;n<e.length;++n){var i=e[n],o=i.match(/\d+/);o=o?o[0]:"",0===i.charAt(0)?t[n]="u"+i.charAt(1)+o:t[n]=i.charAt(0)+o,n>0&&(r=r&&t[n]===t[n-1])}return r?t[0]:t.join("")}function u(e,t){for(var r=t[1].length-Math.abs(e.arrayBlockIndices[0])|0,u=new Array(e.arrayArgs.length),c=new Array(e.arrayArgs.length),f=0;f<e.arrayArgs.length;++f)c[f]=t[2*f],u[f]=t[2*f+1];var p=[],d=[],h=[],v=[],m=[];for(f=0;f<e.arrayArgs.length;++f){e.arrayBlockIndices[f]<0?(h.push(0),v.push(r),p.push(r),d.push(r+e.arrayBlockIndices[f])):(h.push(e.arrayBlockIndices[f]),v.push(e.arrayBlockIndices[f]+r),p.push(0),d.push(e.arrayBlockIndices[f]));for(var g=[],y=0;y<u[f].length;y++)h[f]<=u[f][y]&&u[f][y]<v[f]&&g.push(u[f][y]-h[f]);m.push(g)}var b=["SS"],x=["'use strict'"],A=[];for(y=0;y<r;++y)A.push(["s",y,"=SS[",y,"]"].join(""));for(f=0;f<e.arrayArgs.length;++f){b.push("a"+f),b.push("t"+f),b.push("p"+f);for(y=0;y<r;++y)A.push(["t",f,"p",y,"=t",f,"[",h[f]+y,"]"].join(""));for(y=0;y<Math.abs(e.arrayBlockIndices[f]);++y)A.push(["t",f,"b",y,"=t",f,"[",p[f]+y,"]"].join(""))}for(f=0;f<e.scalarArgs.length;++f)b.push("Y"+f);if(e.shapeArgs.length>0&&A.push("shape=SS.slice(0)"),e.indexArgs.length>0){var w=new Array(r);for(f=0;f<r;++f)w[f]="0";A.push(["index=[",w.join(","),"]"].join(""))}for(f=0;f<e.offsetArgs.length;++f){var _=e.offsetArgs[f],E=[];for(y=0;y<_.offset.length;++y)0!==_.offset[y]&&(1===_.offset[y]?E.push(["t",_.array,"p",y].join("")):E.push([_.offset[y],"*t",_.array,"p",y].join("")));0===E.length?A.push("q"+f+"=0"):A.push(["q",f,"=",E.join("+")].join(""))}var k=n([].concat(e.pre.thisVars).concat(e.body.thisVars).concat(e.post.thisVars));A=A.concat(k),A.length>0&&x.push("var "+A.join(","));for(f=0;f<e.arrayArgs.length;++f)x.push("p"+f+"|=0");e.pre.body.length>3&&x.push(s(e.pre,e,c));var T=s(e.body,e,c),C=a(m);C<r?x.push(o(C,m[0],e,T)):x.push(i(m[0],e,T)),e.post.body.length>3&&x.push(s(e.post,e,c)),e.debug&&console.log("-----Generated cwise routine for ",t,":\n"+x.join("\n")+"\n----------");var S=[e.funcName||"unnamed","_cwise_loop_",u[0].join("s"),"m",C,l(c)].join(""),O=new Function(["function ",S,"(",b.join(","),"){",x.join("\n"),"} return ",S].join(""));return O()}e.exports=u},"4c66":function(e,t,r){"use strict";var n=r("3c1c"),i=r("0379"),o=r("22f9"),a=r("63dc").LINE_SPACING,s=o.name;function l(e){var t=e&&e[s];return t&&t.visible}t.isVisible=l,t.makeData=function(e){var t=n.list({_fullLayout:e},"x",!0),r=e.margin,i=[];if(!e._has("gl2d"))for(var o=0;o<t.length;o++){var a=t[o];if(l(a)){i.push(a);var u=a[s];u._id=s+a._id,u._height=(e.height-r.b-r.t)*u.thickness,u._offsetShift=Math.floor(u.borderwidth/2)}}e._rangeSliderData=i},t.autoMarginOpts=function(e,t){var r=e._fullLayout,n=t[s],l=t._id.charAt(0),u=0,c=0;if("bottom"===t.side&&(u=t._depth,t.title.text!==r._dfltTitle[l])){c=1.5*t.title.font.size+10+n._offsetShift;var f=(t.title.text.match(i.BR_TAG_ALL)||[]).length;c+=f*t.title.font.size*a}return{x:0,y:t._counterDomainMin,l:0,r:0,t:0,b:n._height+u+Math.max(r.margin.b,c),pad:o.extraPad+2*n._offsetShift}}},"4c69":function(e,t){e.exports=function(e,t){t||(t=[0,""]),e=String(e);var r=parseFloat(e,10);return t[0]=r,t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t}},"4c72":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n,i){var o=i.clientWidth,a=i.clientHeight,s="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=s-(i.getBoundingClientRect().left+window.pageXOffset),c=l-(i.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var f=void 0;if(f=c<0?0:c>a?1:Math.round(100*c/a)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var p=void 0;if(p=u<0?0:u>o?1:Math.round(100*u/o)/100,n!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}},"4ccf":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("c8e6");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(n).default}});var i=r("36ad");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(i).default}});var o=r("0272");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(o).default}});var a=r("1e54");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(a).default}});var s=r("3a3b");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return f(s).default}});var l=r("71cc");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(l).default}});var u=r("506c");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(u).default}});var c=r("05ae");function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(c).default}})},"4cd2":function(e,t,r){"use strict";var n=r("3c1c").list,i=r("ce56").getAutoRange,o=r("22f9");e.exports=function(e){for(var t=n(e,"x",!0),r=0;r<t.length;r++){var a=t[r],s=a[o.name];s&&s.visible&&s.autorange&&(s._input.autorange=!0,s._input.range=s.range=i(e,a))}}},"4cd5":function(e,t,r){"use strict";e.exports={RELATIVE_CULL_TOLERANCE:1e-6}},"4ce7":function(e,t,r){"use strict";e.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *stack*, the bars are stacked on top of one another","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},bargap:{valType:"number",dflt:.1,min:0,max:1,role:"style",editType:"calc",description:["Sets the gap between bars of","adjacent location coordinates.","Values are unitless, they represent fractions of the minimum difference","in bar positions in the data."].join(" ")}}},"4cec":function(e,t,r){"use strict";e.exports=r("a93d7")},"4cef":function(e,t){var r=/\s/;function n(e){var t=e.length;while(t--&&r.test(e.charAt(t)));return t}e.exports=n},"4d26":function(e,t,r){var n,i;
|
||
/*!
|
||
Copyright (c) 2017 Jed Watson.
|
||
Licensed under the MIT License (MIT), see
|
||
http://jedwatson.github.io/classnames
|
||
*/(function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):(n=[],i=function(){return o}.apply(t,n),void 0===i||(e.exports=i))})()},"4d3e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,o,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=F;var u=r("c95a"),c=m(u),f=r("9364"),p=m(f),d=r("74c7"),h=m(d),v=r("f825");function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=v.INLINE_STYLE.BOLD,x=v.INLINE_STYLE.CODE,A=v.INLINE_STYLE.ITALIC,w=v.INLINE_STYLE.STRIKETHROUGH,_=v.INLINE_STYLE.UNDERLINE,E=" ",k="<br>",T=/^data-([a-z0-9-]+)$/,C=(n={},y(n,b,{element:"strong"}),y(n,x,{element:"code"}),y(n,A,{element:"em"}),y(n,w,{element:"del"}),y(n,_,{element:"u"}),n),S=[b,A,_,w,x],O=(i={},y(i,v.ENTITY_TYPE.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),y(i,v.ENTITY_TYPE.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),i),M=(o={},y(o,v.ENTITY_TYPE.LINK,(function(e,t){var r=O.hasOwnProperty(e)?O[e]:{},n=t.getData(),i={},o=!0,a=!1,s=void 0;try{for(var l,u=Object.keys(n)[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=l.value,f=n[c];if(r.hasOwnProperty(c)){var p=r[c];i[p]=f}else T.test(c)&&(i[c]=f)}}catch(d){a=!0,s=d}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return i})),y(o,v.ENTITY_TYPE.IMAGE,(function(e,t){var r=O.hasOwnProperty(e)?O[e]:{},n=t.getData(),i={},o=!0,a=!1,s=void 0;try{for(var l,u=Object.keys(n)[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=l.value,f=n[c];if(r.hasOwnProperty(c)){var p=r[c];i[p]=f}else T.test(c)&&(i[c]=f)}}catch(d){a=!0,s=d}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return i})),o);function P(e,t){switch(e){case v.BLOCK_TYPE.HEADER_ONE:return["h1"];case v.BLOCK_TYPE.HEADER_TWO:return["h2"];case v.BLOCK_TYPE.HEADER_THREE:return["h3"];case v.BLOCK_TYPE.HEADER_FOUR:return["h4"];case v.BLOCK_TYPE.HEADER_FIVE:return["h5"];case v.BLOCK_TYPE.HEADER_SIX:return["h6"];case v.BLOCK_TYPE.UNORDERED_LIST_ITEM:case v.BLOCK_TYPE.ORDERED_LIST_ITEM:return["li"];case v.BLOCK_TYPE.BLOCKQUOTE:return["blockquote"];case v.BLOCK_TYPE.CODE:return["pre","code"];case v.BLOCK_TYPE.ATOMIC:return["figure"];default:return null===t?[]:[t||"p"]}}function B(e){switch(e){case v.BLOCK_TYPE.UNORDERED_LIST_ITEM:return"ul";case v.BLOCK_TYPE.ORDERED_LIST_ITEM:return"ol";default:return null}}var L=function(){function e(t,r){g(this,e),null==r&&(r={}),this.contentState=t,this.options=r;var n=(0,c.default)(r.inlineStyles,[C,S]),i=s(n,2),o=i[0],a=i[1];this.inlineStyles=o,this.styleOrder=a}return l(e,[{key:"generate",value:function(){this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;while(this.currentBlock<this.totalBlocks)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var e=this.options,t=e.blockRenderers,r=e.defaultBlockTag,n=this.blocks[this.currentBlock],i=n.getType(),o=B(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var a=null!=t&&t.hasOwnProperty(i)?t[i]:null,s=a?a(n):null;if(null!=s)return this.output.push(s),this.output.push("\n"),void(this.currentBlock+=1);this.writeStartTag(n,r),this.output.push(this.renderBlockContent(n));var l=this.getNextBlock();if(I(i)&&l&&l.getDepth()===n.getDepth()+1){this.output.push("\n");var u=this.wrapperTag;this.wrapperTag=null,this.indentLevel+=1,this.currentBlock+=1,this.processBlocksAtDepth(l.getDepth()),this.wrapperTag=u,this.indentLevel-=1,this.indent()}else this.currentBlock+=1;this.writeEndTag(n,r)}},{key:"processBlocksAtDepth",value:function(e){var t=this.blocks[this.currentBlock];while(t&&t.getDepth()===e)this.processBlock(),t=this.blocks[this.currentBlock];this.closeWrapperTag()}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"writeStartTag",value:function(e,t){var r=P(e.getType(),t),n=void 0;if(this.options.blockStyleFn){var i=this.options.blockStyleFn(e)||{},o=i.attributes,s=i.style;if(o=(0,p.default)(o),null!=s){var l=(0,h.default)(s);o=null==o?{style:l}:a({},o,{style:l})}n=D(o)}else n="";var u=!0,c=!1,f=void 0;try{for(var d,v=r[Symbol.iterator]();!(u=(d=v.next()).done);u=!0){var m=d.value;this.output.push("<"+m+n+">")}}catch(g){c=!0,f=g}finally{try{!u&&v.return&&v.return()}finally{if(c)throw f}}}},{key:"writeEndTag",value:function(e,t){var r=P(e.getType(),t);if(1===r.length)this.output.push("</"+r[0]+">\n");else{var n=[],i=!0,o=!1,a=void 0;try{for(var s,l=r[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;n.unshift("</"+u+">")}}catch(c){o=!0,a=c}finally{try{!i&&l.return&&l.return()}finally{if(o)throw a}}this.output.push(n.join("")+"\n")}}},{key:"openWrapperTag",value:function(e){this.wrapperTag=e,this.indent(),this.output.push("<"+e+">\n"),this.indentLevel+=1}},{key:"closeWrapperTag",value:function(){var e=this.wrapperTag;e&&(this.indentLevel-=1,this.indent(),this.output.push("</"+e+">\n"),this.wrapperTag=null)}},{key:"indent",value:function(){this.output.push(E.repeat(this.indentLevel))}},{key:"renderBlockContent",value:function(e){var t=this,r=e.getType(),n=e.getText();if(""===n)return k;n=this.preserveWhitespace(n);var i=e.getCharacterList(),o=(0,v.getEntityRanges)(n,i);return o.map((function(e){var n=s(e,2),i=n[0],o=n[1],l=o.map((function(e){var n=s(e,2),i=n[0],o=n[1],l=j(i),u=!0,c=!1,f=void 0;try{for(var d,m=t.styleOrder[Symbol.iterator]();!(u=(d=m.next()).done);u=!0){var g=d.value;if((g!==x||r!==v.BLOCK_TYPE.CODE)&&o.has(g)){var y=t.inlineStyles[g],b=y.element,A=y.attributes,w=y.style;if(null==b&&(b="span"),A=(0,p.default)(A),null!=w){var _=(0,h.default)(w);A=null==A?{style:_}:a({},A,{style:_})}var E=D(A);l="<"+b+E+">"+l+"</"+b+">"}}}catch(k){c=!0,f=k}finally{try{!u&&m.return&&m.return()}finally{if(c)throw f}}return l})).join(""),u=i?t.contentState.getEntity(i):null,c=null==u?null:u.getType().toUpperCase(),f=void 0;if(null!=u&&t.options.entityStyleFn&&(f=t.options.entityStyleFn(u))){var d=f,m=d.element,g=d.attributes,y=d.style;if(null==m&&(m="span"),g=(0,p.default)(g),null!=y){var b=(0,h.default)(y);g=null==g?{style:b}:a({},g,{style:b})}var A=D(g);return"<"+m+A+">"+l+"</"+m+">"}if(null!=c&&c===v.ENTITY_TYPE.LINK){var w=M.hasOwnProperty(c)?M[c](c,u):null,_=D(w);return"<a"+_+">"+l+"</a>"}if(null!=c&&c===v.ENTITY_TYPE.IMAGE){var E=M.hasOwnProperty(c)?M[c](c,u):null,k=D(E);return"<img"+k+"/>"}return l})).join("")}},{key:"preserveWhitespace",value:function(e){for(var t=e.length,r=new Array(t),n=0;n<t;n++)" "!==e[n]||0!==n&&n!==t-1&&" "!==e[n-1]?r[n]=e[n]:r[n]=" ";return r.join("")}}]),e}();function D(e){if(null==e)return"";var t=[],r=!0,n=!1,i=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value,l=e[s];null!=l&&t.push(" "+s+'="'+R(l+"")+'"')}}catch(u){n=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(n)throw i}}return t.join("")}function I(e){switch(e){case v.BLOCK_TYPE.UNORDERED_LIST_ITEM:case v.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}function j(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split(" ").join(" ").split("\n").join(k+"\n")}function R(e){return e.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")}function F(e,t){return new L(e,t).generate()}},"4d64":function(e,t,r){var n=r("fc6a"),i=r("50c4"),o=r("23cb"),a=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d6a":function(e,t,r){"use strict";var n=r("490d");function i(e,t){return!(!e||!t)&&(e===t||!n(e)&&(n(t)?i(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}e.exports=i},"4d87":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5.5,7C6.33,7 7,6.33 7,5.5C7,4.67 6.33,4 5.5,4C4.67,4 4,4.67 4,5.5C4,6.33 4.67,7 5.5,7M21.41,11.58C21.77,11.94 22,12.44 22,13C22,13.55 21.78,14.05 21.41,14.41L14.41,21.41C14.05,21.77 13.55,22 13,22C12.45,22 11.95,21.77 11.58,21.41L2.59,12.41C2.22,12.05 2,11.55 2,11V4C2,2.89 2.89,2 4,2H11C11.55,2 12.05,2.22 12.41,2.58L21.41,11.58M13,20L20,13L11.5,4.5L4.5,11.5L13,20Z"}))};e.exports=s},"4da8":function(e,t,r){"use strict";function n(e,t,r,n){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(r(e)&&n(i,a),i=a),o})),r(e.last())&&n(i,e.count())}}e.exports=n},"4de4":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").filter,o=r("1dde"),a=r("ae40"),s=o("filter"),l=a("filter");n({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4ded":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0});var i={AnnotationAccordion:!0,ShapeAccordion:!0,SliderAccordion:!0,ImageAccordion:!0,UpdateMenuAccordion:!0,RangeSelectorAccordion:!0,MapboxLayersAccordion:!0,AxesFold:!0,PlotlyFold:!0,Fold:!0,MenuPanel:!0,PlotlyPanel:!0,Panel:!0,PlotlySection:!0,Section:!0,PanelEmpty:!0,PanelMessage:!0,SubplotAccordion:!0,TraceAccordion:!0,TransformAccordion:!0,TraceMarkerSection:!0,TraceRequiredPanel:!0,SingleSidebarItem:!0,ModalProvider:!0,Modal:!0};Object.defineProperty(t,"AnnotationAccordion",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ShapeAccordion",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"SliderAccordion",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ImageAccordion",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"UpdateMenuAccordion",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"RangeSelectorAccordion",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"MapboxLayersAccordion",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"AxesFold",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"PlotlyFold",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Fold",{enumerable:!0,get:function(){return d.Fold}}),Object.defineProperty(t,"MenuPanel",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"PlotlyPanel",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Panel",{enumerable:!0,get:function(){return v.Panel}}),Object.defineProperty(t,"PlotlySection",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return m.Section}}),Object.defineProperty(t,"PanelEmpty",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"PanelMessage",{enumerable:!0,get:function(){return g.PanelMessage}}),Object.defineProperty(t,"SubplotAccordion",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"TraceAccordion",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"TransformAccordion",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"TraceMarkerSection",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"TraceRequiredPanel",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"SingleSidebarItem",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"ModalProvider",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return k.default}});var o=O(r("c1e1")),a=O(r("71ec")),s=O(r("b91d")),l=O(r("7cdc")),u=O(r("ddc9")),c=O(r("801f")),f=O(r("893b")),p=O(r("bd2e")),d=S(r("9903")),h=O(r("592e")),v=S(r("e78b")),m=S(r("691e")),g=S(r("a36d")),y=O(r("f78b")),b=O(r("be62")),x=O(r("cdc4")),A=O(r("d618")),w=O(r("201b")),_=O(r("7635")),E=O(r("7b49")),k=O(r("71a6")),T=r("ca44");function C(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function O(e){return e&&e.__esModule?e:{default:e}}Object.keys(T).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===T[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}}))}))},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),o=r("9bdd"),a=r("e95a"),s=r("50c4"),l=r("8418"),u=r("35a1");e.exports=function(e){var t,r,c,f,p,d,h=i(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=u(h),x=0;if(y&&(g=n(g,m>2?arguments[2]:void 0,2)),void 0==b||v==Array&&a(b))for(t=s(h.length),r=new v(t);t>x;x++)d=y?g(h[x],x):h[x],l(r,x,d);else for(f=b.call(h),p=f.next,r=new v;!(c=p.call(f)).done;x++)d=y?o(f,g,[c.value,x],!0):c.value,l(r,x,d);return r.length=x,r}},"4e46":function(e,t,r){"use strict";function n(e,t,r){var n=Object.keys(e.traces).filter((function(e){return!["area","scattermapbox"].includes(e)})),i=[{value:"scatter",label:t("Scatter")},{value:"box",label:t("Box")},{value:"bar",label:t("Bar")},{value:"heatmap",label:t("Heatmap")},{value:"histogram",label:t("Histogram")},{value:"histogram2d",label:t("2D Histogram")},{value:"histogram2dcontour",label:t("2D Contour Histogram")},{value:"pie",label:t("Pie")},{value:"contour",label:t("Contour")},{value:"scatterternary",label:t("Ternary Scatter")},{value:"violin",label:t("Violin")},{value:"scatter3d",label:t("3D Scatter")},{value:"surface",label:t("Surface")},{value:"mesh3d",label:t("3D Mesh")},{value:"cone",label:t("Cone")},{value:"streamtube",label:t("Streamtube")},{value:"scattergeo",label:t("Atlas Map")},{value:"choropleth",label:t("Choropleth")},{value:"scattergl",label:t("Scatter GL")},{value:"pointcloud",label:t("Point Cloud")},{value:"heatmapgl",label:t("Heatmap GL")},{value:"parcoords",label:t("Parallel Coordinates")},{value:"sankey",label:t("Sankey")},{value:"table",label:t("Table")},{value:"carpet",label:t("Carpet")},{value:"scattercarpet",label:t("Carpet Scatter")},{value:"contourcarpet",label:t("Carpet Contour")},{value:"ohlc",label:t("OHLC")},{value:"candlestick",label:t("Candlestick")},{value:"scatterpolar",label:t("Polar Scatter")},{value:"scatterpolargl",label:t("Polar Scatter GL")},{value:"barpolar",label:t("Polar Bar")},{value:"isosurface",label:t("Isosurface")}].filter((function(e){return-1!==n.indexOf(e.value)})),o=function(e){return i.findIndex((function(t){return t.value===e}))};return i.splice(o("scatter")+1,0,{label:t("Line"),value:"line"},{label:t("Area"),value:"area"},{label:t("Timeseries"),value:"timeseries"}),i.splice(o("scatter3d")+1,0,{label:t("3D Line"),value:"line3d"}),r.config&&r.config.mapboxAccessToken&&i.push({value:"scattermapbox",label:t("Satellite Map")}),i}Object.defineProperty(t,"__esModule",{value:!0}),t.computeTraceOptionsFromSchema=n},"4e55":function(e,t,r){"use strict";var n=r("9452"),i=r("24f7"),o=i.List;function a(e,t){var r=e.map((function(e,r){var i=t[r];return n.create({style:e,entity:i})}));return o(r)}e.exports=a},"4e7e":function(e,t,r){"use strict";r("8e3f");function n(e){return e&&"object"===typeof e&&Boolean(e.words)}e.exports=n},"4e89":function(e,t){function r(e){var t=e[0],r=e[1],n=e[2],i=e[3];return Math.sqrt(t*t+r*r+n*n+i*i)}e.exports=r},"4e92":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M8 8h16v6H8z"}),o.default.createElement("path",{fill:"#fff",d:"M8 14h16v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M8 20h16v6H8z"}),o.default.createElement("path",{fill:"#fff",d:"M8 26h16v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M8 32h16v6H8zM26 8h12v6H26z"}),o.default.createElement("path",{fill:"#fff",d:"M26 14h12v6H26z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M26 20h12v6H26z"}),o.default.createElement("path",{fill:"#fff",d:"M26 26h12v6H26z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M26 32h12v6H26z"}),o.default.createElement("path",{fill:"none",stroke:"#25fdfc",d:"M21 11H11m10 12H11",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M21 17H11m10 12H11",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#25fdfc",d:"M21 35H11m24-24h-6m6 12h-6",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M35 17h-6m6 12h-6",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#25fdfc",d:"M35 35h-6",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M24 8h2v30h-2z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M24 8h2v6h-2zm0 12h2v6h-2zm0 12h2v6h-2z"}))};t.default=u},"4ea4":function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports["default"]=e.exports,e.exports.__esModule=!0},"4ea5":function(e,t,r){"use strict";function n(e){return new Date(e.getTime())}function i(e){return e instanceof Date&&!isNaN(e.valueOf())}function o(e,t){var r=n(e);return r.setMonth(e.getMonth()+t),r}function a(e,t){return!(!e||!t)&&(e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear())}function s(e,t){return!(!e||!t)&&(e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear())}function l(e,t){var r=n(e).setHours(0,0,0,0),i=n(t).setHours(0,0,0,0);return r<i}function u(e,t){var r=n(e).setHours(0,0,0,0),i=n(t).setHours(0,0,0,0);return r>i}function c(e){var t=new Date;return t.setHours(0,0,0,0),l(e,t)}function f(e){var t=new Date((new Date).getTime()+864e5);return t.setHours(0,0,0,0),e>=t}function p(e,t,r){var i=n(e);return i.setHours(0,0,0,0),u(i,t)&&l(i,r)||u(i,r)&&l(i,t)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:null,to:null},r=t.from,n=t.to;return r?r&&n&&a(r,n)&&a(e,r)?(r=null,n=null):n&&l(e,r)?r=e:n&&a(e,n)?(r=e,n=e):(n=e,l(n,r)&&(n=r,r=e)):r=e,{from:r,to:n}}function h(e,t){var r=t.from,n=t.to;return r&&a(e,r)||n&&a(e,n)||r&&n&&p(e,r,n)}function v(e){var t=n(e);return t.setHours(0,0,0),t.setDate(t.getDate()+4-(t.getDay()||7)),Math.ceil(((t-new Date(t.getFullYear(),0,1))/864e5+1)/7)}Object.defineProperty(t,"__esModule",{value:!0}),t.clone=n,t.isDate=i,t.addMonths=o,t.isSameDay=a,t.isSameMonth=s,t.isDayBefore=l,t.isDayAfter=u,t.isPastDay=c,t.isFutureDay=f,t.isDayBetween=p,t.addDayToRange=d,t.isDayInRange=h,t.getWeekNumber=v,t.default={addDayToRange:d,addMonths:o,clone:n,getWeekNumber:v,isDate:i,isDayAfter:u,isDayBefore:l,isDayBetween:p,isDayInRange:h,isFutureDay:f,isPastDay:c,isSameDay:a,isSameMonth:s}},"4ebd":function(e,t,r){"use strict";var n=r("fc26"),i=r("faa1").EventEmitter,o=r("4248");function a(e){var t=e.emitter||new i,r=new Promise((function(i,a){var s=window.Image,l=e.svg,u=e.format||"png";if(n.isIE()&&"svg"!==u){var c=new Error(o.MSG_IE_BAD_FORMAT);return a(c),e.promise?r:t.emit("error",c)}var f,p,d=e.canvas,h=e.scale||1,v=e.width||300,m=e.height||150,g=h*v,y=h*m,b=d.getContext("2d"),x=new s;"svg"===u||n.isIE9orBelow()||n.isSafari()?p=o.encodeSVG(l):(f=o.createBlob(l,"svg"),p=o.createObjectURL(f)),d.width=g,d.height=y,x.onload=function(){var r;switch(f=null,o.revokeObjectURL(p),"svg"!==u&&b.drawImage(x,0,0,g,y),u){case"jpeg":r=d.toDataURL("image/jpeg");break;case"png":r=d.toDataURL("image/png");break;case"webp":r=d.toDataURL("image/webp");break;case"svg":r=p;break;default:var n="Image format is not jpeg, png, svg or webp.";if(a(new Error(n)),!e.promise)return t.emit("error",n)}i(r),e.promise||t.emit("success",r)},x.onerror=function(r){if(f=null,o.revokeObjectURL(p),a(r),!e.promise)return t.emit("error",r)},x.src=p}));return e.promise?r:t}e.exports=a},"4eee":function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r){var i,o,a,s,l,u,c,f=[],p=n(e)?e.length:e,d=n(t)?t.length:t,h=n(e)?e:null,v=n(t)?t:null;h&&(a=(h.length-1)/(h[h.length-1]-h[0])/(p-1)),v&&(s=(v.length-1)/(v[v.length-1]-v[0])/(d-1));var m=1/0,g=-1/0;for(o=0;o<d;o++)for(f[o]=[],u=v?(v[o]-v[0])*s:o/(d-1),i=0;i<p;i++)l=h?(h[i]-h[0])*a:i/(p-1),c=l-u*r,m=Math.min(c,m),g=Math.max(c,g),f[o][i]=c;var y=1/(g-m),b=-m*y;for(o=0;o<d;o++)for(i=0;i<p;i++)f[o][i]=y*f[o][i]+b;return f}},"4efd":function(e,t,r){"use strict";function n(e){return e?e.charAt(0).toUpperCase()+e.substring(1):""}function i(e){return e.toLowerCase()}function o(e){return e.toUpperCase()}function a(e){return e.replace(/[^0-9a-zA-Z\xC0-\xFF \-]/g,"")}function s(e){return e.replace(/\-/g," ").replace(/(\d)(?=(\d{1})+$)/g,"$1 ").replace(/\s[a-z]/g,o).replace(/\s+/g,"").replace(/^[A-Z]/g,i)}function l(e){return s(e).replace(/^[a-z]/,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=n,t.lowerCase=i,t.upperCase=o,t.removeNonWord=a,t.camelCase=s,t.pascalCase=l},"4efe":function(e,t,r){"use strict";var n=r("8b98"),i=r("2c8d"),o=r("1477"),a=r("fc26").removeElement,s=r("d301"),l=e.exports={};l.align=r("296e"),l.getCursor=r("13a4");var u=r("855b");function c(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function f(e){return n(e.changedTouches?e.changedTouches[0]:e,document.body)}l.unhover=u.wrapped,l.unhoverRaw=u.raw,l.init=function(e){var t,r,n,u,p,d,h,v,m=e.gd,g=1,y=m._context.doubleClickDelay,b=e.element;function x(e,t,r){return Math.abs(e)<r&&(e=0),Math.abs(t)<r&&(t=0),[e,t]}m._mouseDownTime||(m._mouseDownTime=0),b.style.pointerEvents="all",b.onmousedown=w,o?(b._ontouchstart&&b.removeEventListener("touchstart",b._ontouchstart),b._ontouchstart=w,b.addEventListener("touchstart",w,{passive:!1})):b.ontouchstart=w;var A=e.clampFn||x;function w(o){m._dragged=!1,m._dragging=!0;var a=f(o);t=a[0],r=a[1],h=o.target,d=o,v=2===o.buttons||o.ctrlKey,"undefined"===typeof o.clientX&&"undefined"===typeof o.clientY&&(o.clientX=t,o.clientY=r),n=(new Date).getTime(),n-m._mouseDownTime<y?g+=1:(g=1,m._mouseDownTime=n),e.prepFn&&e.prepFn(o,t,r),i&&!v?(p=c(),p.style.cursor=window.getComputedStyle(b).cursor):i||(p=document,u=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(b).cursor),document.addEventListener("mouseup",E),document.addEventListener("touchend",E),!1!==e.dragmode&&(o.preventDefault(),document.addEventListener("mousemove",_),document.addEventListener("touchmove",_,{passive:!1}))}function _(n){n.preventDefault();var i=f(n),o=e.minDrag||s.MINDRAG,a=A(i[0]-t,i[1]-r,o),u=a[0],c=a[1];(u||c)&&(m._dragged=!0,l.unhover(m)),m._dragged&&e.moveFn&&!v&&(m._dragdata={element:b,dx:u,dy:c},e.moveFn(u,c))}function E(t){if(delete m._dragdata,!1!==e.dragmode&&(t.preventDefault(),document.removeEventListener("mousemove",_),document.removeEventListener("touchmove",_)),document.removeEventListener("mouseup",E),document.removeEventListener("touchend",E),i?a(p):u&&(p.documentElement.style.cursor=u,u=null),m._dragging){if(m._dragging=!1,(new Date).getTime()-m._mouseDownTime>y&&(g=Math.max(g-1,1)),m._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(g,d),!v){var r;try{r=new MouseEvent("click",t)}catch(o){var n=f(t);r=document.createEvent("MouseEvents"),r.initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,n[0],n[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}h.dispatchEvent(r)}m._dragging=!1,m._dragged=!1}else m._dragged=!1}},l.coverSlip=c},"4f25":function(e,t,r){"use strict";var n=r("28c2");e.exports={fragment:n("./shaders/fragment.glsl"),vertex:n("./shaders/vertex.glsl"),pickFragment:n("./shaders/pick-fragment.glsl"),pickVertex:n("./shaders/pick-vertex.glsl")}},"4f35":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("aa79"),a=r("24f7"),s=r("d8db"),l=r("1e9b"),u=a.Map,c=u(),f=l();function p(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var d={getLastCreatedEntityKey:function(){return p("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),d.__getLastCreatedEntityKey()},create:function(e,t,r){return p("DraftEntity.create","contentState.createEntity"),d.__create(e,t,r)},add:function(e){return p("DraftEntity.add","contentState.addEntity"),d.__add(e)},get:function(e){return p("DraftEntity.get","contentState.getEntity"),d.__get(e)},__getAll:function(){return c},__loadWithEntities:function(e){c=e,f=l()},mergeData:function(e,t){return p("DraftEntity.mergeData","contentState.mergeEntityData"),d.__mergeData(e,t)},replaceData:function(e,t){return p("DraftEntity.replaceData","contentState.replaceEntityData"),d.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return f},__create:function(e,t,r){return d.__add(new o({type:e,mutability:t,data:r||{}}))},__add:function(e){return f=l(),c=c.set(f,e),f},__get:function(e){var t=c.get(e);return t||s(!1),t},__mergeData:function(e,t){var r=d.__get(e),i=n({},r.getData(),t),o=r.set("data",i);return c=c.set(e,o),o},__replaceData:function(e,t){var r=d.__get(e),n=r.set("data",t);return c=c.set(e,n),n}};e.exports=d},"4f4d":function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"4f50":function(e,t,r){var n=r("b760"),i=r("e5383"),o=r("c8fe"),a=r("4359"),s=r("fa21"),l=r("d370"),u=r("6747"),c=r("dcbe"),f=r("0d24"),p=r("9520"),d=r("1a8c"),h=r("60ed"),v=r("73ac"),m=r("8adb"),g=r("8de2");function y(e,t,r,y,b,x,A){var w=m(e,r),_=m(t,r),E=A.get(_);if(E)n(e,r,E);else{var k=x?x(w,_,r+"",e,t,A):void 0,T=void 0===k;if(T){var C=u(_),S=!C&&f(_),O=!C&&!S&&v(_);k=_,C||S||O?u(w)?k=w:c(w)?k=a(w):S?(T=!1,k=i(_,!0)):O?(T=!1,k=o(_,!0)):k=[]:h(_)||l(_)?(k=w,l(w)?k=g(w):d(w)&&!p(w)||(k=s(_))):T=!1}T&&(A.set(_,k),b(k,_,y,x,A),A["delete"](_)),n(e,r,k)}}e.exports=y},"4f65":function(e,t){function r(e,t,r,n){var i=r[0],o=r[2],a=t[0]-i,s=t[2]-o,l=Math.sin(n),u=Math.cos(n);return e[0]=i+s*l+a*u,e[1]=t[1],e[2]=o+s*u-a*l,e}e.exports=r},"4f8d":function(e,t,r){"use strict";function n(e){return"handled"===e||!0===e}e.exports=n},"4f94":function(e,t,r){"use strict";e.exports={attributes:r("1ebf"),layoutAttributes:r("60dc"),supplyDefaults:r("abc9").supplyDefaults,crossTraceDefaults:r("abc9").crossTraceDefaults,supplyLayoutDefaults:r("06ad").supplyLayoutDefaults,calc:r("6a77"),crossTraceCalc:r("f4b3").crossTraceCalc,plot:r("d34f").plot,style:r("b4c7").style,styleOnSelect:r("b4c7").styleOnSelect,hoverPoints:r("fa10").hoverPoints,eventData:r("5885"),selectPoints:r("71b1"),moduleType:"trace",name:"box",basePlotModule:r("91cd"),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","boxLayout","zoomScale"],meta:{description:["Each box spans from quartile 1 (Q1) to quartile 3 (Q3).","The second quartile (Q2, i.e. the median) is marked by a line inside the box.","The fences grow outward from the boxes' edges,","by default they span +/- 1.5 times the interquartile range (IQR: Q3-Q1),","The sample mean and standard deviation as well as notches and","the sample, outlier and suspected outliers points can be optionally","added to the box plot.","The values and positions corresponding to each boxes can be input","using two signatures.","The first signature expects users to supply the sample values in the `y`","data array for vertical boxes (`x` for horizontal boxes).","By supplying an `x` (`y`) array, one box per distinct `x` (`y`) value is drawn","If no `x` (`y`) {array} is provided, a single box is drawn.","In this case, the box is positioned with the trace `name` or with `x0` (`y0`) if provided.","The second signature expects users to supply the boxes corresponding Q1, median and Q3","statistics in the `q1`, `median` and `q3` data arrays respectively.","Other box features relying on statistics namely `lowerfence`, `upperfence`, `notchspan`","can be set directly by the users.","To have plotly compute them or to show sample points besides the boxes,","users can set the `y` data array for vertical boxes (`x` for horizontal boxes)","to a 2D array with the outer length corresponding","to the number of boxes in the traces and the inner length corresponding the sample size."].join(" ")}}},"4fc7":function(e,t,r){"use strict";e.exports=r("af50")},"4ffa":function(e,t,r){"use strict";function n(e,t,r){var n=t||0,i=r||1;return[[e[12]+e[0],e[13]+e[1],e[14]+e[2],e[15]+e[3]],[e[12]-e[0],e[13]-e[1],e[14]-e[2],e[15]-e[3]],[e[12]+e[4],e[13]+e[5],e[14]+e[6],e[15]+e[7]],[e[12]-e[4],e[13]-e[5],e[14]-e[6],e[15]-e[7]],[n*e[12]+e[8],n*e[13]+e[9],n*e[14]+e[10],n*e[15]+e[11]],[i*e[12]-e[8],i*e[13]-e[9],i*e[14]-e[10],i*e[15]-e[11]]]}e.exports=n},5008:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115").contrast,o=r("d798"),a=r("e5ac");function s(e,t,r,n,i){var o=u(e),a=r("tickprefix");a&&r("showtickprefix",o);var s=r("ticksuffix",i.tickSuffixDflt);s&&r("showticksuffix",o)}function l(e,t,r,s,l){var f=u(e),p=r("tickprefix");p&&r("showtickprefix",f);var d=r("ticksuffix",l.tickSuffixDflt);d&&r("showticksuffix",f);var h=r("showticklabels");if(h){var v=l.font||{},m=t.color,g=t.ticklabelposition||"",y=-1!==g.indexOf("inside")?i(l.bgColor):m&&m!==o.color.dflt?m:v.color;if(n.coerceFont(r,"tickfont",{family:v.family,size:v.size,color:y}),r("tickangle"),"category"!==s){var b=r("tickformat");a(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:c}),t.tickformatstops.length||delete t.tickformatstops,b||"date"===s||(r("showexponent",f),r("exponentformat"),r("minexponent"),r("separatethousands"))}}}function u(e){var t=["showexponent","showtickprefix","showticksuffix"],r=t.filter((function(t){return void 0!==e[t]})),n=function(t){return e[t]===e[r[0]]};if(r.every(n)||1===r.length)return e[r[0]]}function c(e,t){function r(r,i){return n.coerce(e,t,o.tickformatstops,r,i)}var i=r("enabled");i&&(r("dtickrange"),r("value"))}e.exports=function(e,t,r,n,i,o){o&&1!==o.pass||s(e,t,r,n,i),o&&2!==o.pass||l(e,t,r,n,i)}},5047:function(e,t,r){"use strict";var n=r("d115"),i=r("215c").hasColorscale,o=r("4183"),a=r("de81");e.exports=function(e,t,r,s,l,u){var c,f=a.isBubble(e),p=(e.line||{}).color;if(u=u||{},p&&(r=p),l("marker.symbol"),l("marker.opacity",f?.7:1),l("marker.size"),l("marker.color",r),i(e,"marker")&&o(e,t,s,l,{prefix:"marker.",cLetter:"c"}),u.noSelect||(l("selected.marker.color"),l("unselected.marker.color"),l("selected.marker.size"),l("unselected.marker.size")),u.noLine||(c=p&&!Array.isArray(p)&&t.marker.color!==p?p:f?n.background:n.defaultLine,l("marker.line.color",c),i(e,"marker.line")&&o(e,t,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",f?1:0)),f&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode")),u.gradient){var d=l("marker.gradient.type");"none"!==d&&l("marker.gradient.color")}}},5053:function(e,t,r){e.exports=r("8be6")},"506c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=p(o),s=r("b047c"),l=p(s),u=r("a7cc"),c=f(u);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=t.ColorWrap=function(e){var t=function(t){function r(e){d(this,r);var t=h(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){var n=c.simpleCheckForValidColor(e);if(n){var i=c.toState(e,e.h||t.state.oldHue);t.setState(i),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,i,r),t.props.onChange&&t.props.onChange(i,r)}},t.handleSwatchHover=function(e,r){var n=c.simpleCheckForValidColor(e);if(n){var i=c.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(i,r)}},t.state=n({},c.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,r){e(t,r)}),100),t}return v(r,t),i(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.default.createElement(e,n({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return n({},c.toState(e.color,t.oldHue))}}]),r}(o.PureComponent||o.Component);return t.propTypes=n({},e.propTypes),t.defaultProps=n({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=m},"50c4":function(e,t,r){var n=r("a691"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},"50d4":function(e,t,r){},"50d8":function(e,t){function r(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}e.exports=r},"50da":function(e,t,r){"use strict";var n=r("b326");t.isOpenSymbol=function(e){return"string"===typeof e?n.OPEN_RE.test(e):e%200>100},t.isDotSymbol=function(e){return"string"===typeof e?n.DOT_RE.test(e):e>200}},"510f":function(e,t,r){"use strict";var n=r("d115"),i=r("d6fb");e.exports=function(e,t,r,o,a){var s=i(e,t,r,o,a,!0);return s&&s.forEach((function(e){var t=e.trace;"constraint"===t.contours.type&&(t.fillcolor&&n.opacity(t.fillcolor)?e.color=n.addOpacity(t.fillcolor,1):t.contours.showlines&&n.opacity(t.line.color)&&(e.color=n.addOpacity(t.line.color,1)))})),s}},5135:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"515d":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M17,12V3C17,2.45 16.55,2 16,2H3C2.45,2 2,2.45 2,3V17L6,13H16C16.55,13 17,12.55 17,12M21,6H19V15H6V17C6,17.55 6.45,18 7,18H18L22,22V7C22,6.45 21.55,6 21,6Z"}))};e.exports=s},5174:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FieldDelete=void 0;var i=d(r("d7bc")),o=p(r("ab5b")),a=d(r("592e")),s=d(r("4d26")),l=r("4578"),u=r("e419"),c=r("8704");function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e=this.props.onClick;return o.default.createElement("div",{className:"field__delete",onClick:e},o.default.createElement(c.CloseIcon,null))}}]),r}(o.Component);t.FieldDelete=k;var T=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e,t=this.props,r=t.center,n=t.children,i=t.label,c=t.multiValued,f=t.suppressMultiValuedMessage,p=t.units,d=t.extraComponent,v=t.fieldContainerClassName,m=t.labelWidth,g=this.context.localize;e=i?(0,s.default)("field__widget",{"field__widget--units":Boolean(p)}):(0,s.default)("field__no-title",{"field__no-title--center":r});var y=this.context.attr;this.context.description&&(y+=" – "+this.context.description.replace(/`/g,'"').replace(/\*/g,'"'));var b=(0,s.default)((0,l.bem)("field"),h({},v,Boolean(v)));return o.default.createElement("div",{className:b},i?o.default.createElement("div",{className:(0,l.bem)("field","title"),style:m?{minWidth:m+"px"}:{}},this.context.showFieldTooltips?o.default.createElement("div",{className:(0,l.bem)("field","title-text"),"aria-label":y,"data-microtip-position":"bottom-right","data-microtip-size":"large",role:"tooltip"},i):o.default.createElement("div",{className:(0,l.bem)("field","title-text")},i)):null,o.default.createElement("div",{className:e},n,d||null,c&&!f?o.default.createElement(a.default,{label:(0,u.getMultiValueText)("title",g),ownline:!0,question:!0},o.default.createElement("div",{className:"info__title"},(0,u.getMultiValueText)("title",g)),o.default.createElement("div",{className:"info__text"},(0,u.getMultiValueText)("text",g)),o.default.createElement("div",{className:"info__sub-text"},(0,u.getMultiValueText)("subText",g))):null),p?o.default.createElement("div",{className:(0,l.bem)("field","units")},o.default.createElement("div",{className:(0,l.bem)("field","units-text")},p)):null)}}]),r}(o.Component);T.propTypes={labelWidth:i.default.number,center:i.default.bool,label:i.default.any,units:i.default.string,multiValued:i.default.bool,suppressMultiValuedMessage:i.default.bool,children:i.default.node,extraComponent:i.default.any,fieldContainerClassName:i.default.string},T.contextTypes={localize:i.default.func,description:i.default.string,attr:i.default.string,showFieldTooltips:i.default.bool},T.defaultProps={center:!1,multiValued:!1},k.propTypes={onClick:i.default.func};var C=T;t.default=C},"51eb":function(e,t,r){"use strict";function n(e){return Object.keys(e).map((function(t){return e[t]}))}e.exports=n},5243:function(e,t){function r(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=r*r+n*n+i*i+o*o;return a>0&&(a=1/Math.sqrt(a),e[0]=r*a,e[1]=n*a,e[2]=i*a,e[3]=o*a),e}e.exports=r},5275:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=s(r("d7bc")),i=s(r("ab5b")),o=r("5422"),a=r("f0f7");function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},d={component:"div",childFactory:function(e){return e}},h=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var i=n.handleExited.bind(f(f(n)));return n.state={handleExited:i,firstRender:!0},n}c(t,e);var r=t.prototype;return r.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},r.componentDidMount=function(){this.appeared=!0,this.mounted=!0},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r=t.children,n=t.handleExited,i=t.firstRender;return{children:i?(0,a.getInitialChildMapping)(e,n):(0,a.getNextChildMapping)(e,r,n),firstRender:!1}},r.handleExited=function(e,t){var r=(0,a.getChildMapping)(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=u({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=l(e,["component","childFactory"]),o=p(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?o:i.default.createElement(t,n,o)},t}(i.default.Component);h.childContextTypes={transitionGroup:n.default.object.isRequired},h.propTypes={},h.defaultProps=d;var v=(0,o.polyfill)(h);t.default=v,e.exports=t["default"]},5295:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("c85e");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(){return c(this,r),t.apply(this,arguments)}return p(r,[{key:"render",value:function(){var e=this.context.localize;return i.default.createElement(a.LayoutPanel,null,i.default.createElement(a.AxesFold,{name:e("Titles"),axisFilter:function(e){return!(e._name.includes("angular")||e._subplot.includes("geo"))}},i.default.createElement(a.TextEditor,{attr:"title.text"}),i.default.createElement(a.FontSelector,{label:e("Typeface"),attr:"title.font.family"}),i.default.createElement(a.Numeric,{label:e("Font Size"),attr:"title.font.size",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Font Color"),attr:"title.font.color"})),i.default.createElement(a.AxesFold,{name:e("Range")},i.default.createElement(a.PlotlySection,{name:e("Range"),attr:"autorange"},i.default.createElement(a.Dropdown,{attr:"type",label:e("Type"),clearable:!1,options:[{label:e("Linear"),value:"linear"},{label:e("Log"),value:"log"},{label:e("Date"),value:"date"},{label:e("Categorical"),value:"category"},{label:e("Multicategorical"),value:"multicategory"}]}),i.default.createElement(a.Radio,{attr:"autorange",label:e("Range"),options:[{label:e("Auto"),value:!0},{label:e("Custom"),value:!1}]}),i.default.createElement(a.AxesRange,{label:e("Min"),attr:"range[0]"}),i.default.createElement(a.AxesRange,{label:e("Max"),attr:"range[1]"}),i.default.createElement(a.Numeric,{label:e("Min"),attr:"min"})),i.default.createElement(a.PlotlySection,{name:e("Zoom Interactivity"),attr:"fixedrange"},i.default.createElement(a.Radio,{attr:"fixedrange",options:[{label:e("Enable"),value:!1},{label:e("Disable"),value:!0}]})),i.default.createElement(a.Dropdown,{label:e("Direction"),attr:"direction",options:[{label:e("Clockwise"),value:"clockwise"},{label:e("Counter Clockwise"),value:"counterclockwise"}],clearable:!1})),i.default.createElement(a.AxesFold,{name:e("Lines")},i.default.createElement(a.PlotlySection,{name:e("Axis Line"),attr:"showline"},i.default.createElement(a.VisibilitySelect,{attr:"showline",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}],showOn:!0,defaultOpt:!0},i.default.createElement(a.Numeric,{label:e("Thickness"),attr:"linewidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"linecolor"}),i.default.createElement(a.AxisSide,{label:e("Position"),attr:"side"}),i.default.createElement(a.Radio,{label:e("Mirror Axis"),attr:"mirror",options:[{label:e("On"),value:"ticks"},{label:e("Off"),value:!1}]}))),i.default.createElement(a.PlotlySection,{name:e("Grid Lines"),attr:"showgrid"},i.default.createElement(a.VisibilitySelect,{attr:"showgrid",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}],showOn:!0,defaultOpt:!0},i.default.createElement(a.Numeric,{label:e("Thickness"),attr:"gridwidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"gridcolor"}),i.default.createElement(a.Radio,{label:e("Position On"),attr:"tickson",options:[{label:e("Labels"),value:"labels"},{label:e("Boundaries"),value:"boundaries"}]}),i.default.createElement(a.Radio,{label:e("Grid Spacing"),attr:"tickmode",options:[{label:e("Auto"),value:"auto"},{label:e("Custom"),value:"linear"}]}),i.default.createElement(a.DTicks,{label:e("Step Offset"),attr:"tick0"}),i.default.createElement(a.DTicksInterval,{label:e("Step Size"),attr:"dtick"}),i.default.createElement(a.NTicks,{label:e("Max Number of Lines"),attr:"nticks"}))),i.default.createElement(a.PlotlySection,{name:e("Zero Line"),attr:"zeroline"},i.default.createElement(a.Radio,{attr:"zeroline",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.Numeric,{label:e("Thickness"),attr:"zerolinewidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"zerolinecolor"})),i.default.createElement(a.PlotlySection,{name:e("Axis Background"),attr:"showbackground"},i.default.createElement(a.Radio,{attr:"showbackground",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"backgroundcolor"}))),i.default.createElement(a.AxesFold,{name:e("Tick Labels"),axisFilter:function(e){return!e._subplot.includes("geo")}},i.default.createElement(a.PlotlySection,{name:e("Tick Labels"),attr:"showticklabels"},i.default.createElement(a.VisibilitySelect,{attr:"showticklabels",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}],showOn:!0,defaultOpt:!0},i.default.createElement(a.AxisSide,{label:e("Position"),attr:"side"}),i.default.createElement(a.Radio,{label:e("Auto margins"),attr:"automargin",options:[{label:e("True"),value:!0},{label:e("False"),value:!1}]}),i.default.createElement(a.Radio,{label:e("Position on"),attr:"tickson",options:[{label:e("Labels"),value:"labels"},{label:e("Boundaries"),value:"boundaries"}]}),i.default.createElement(a.FontSelector,{label:e("Typeface"),attr:"tickfont.family"}),i.default.createElement(a.Numeric,{label:e("Font Size"),attr:"tickfont.size",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Font Color"),attr:"tickfont.color"}),i.default.createElement(a.Dropdown,{label:e("Angle"),attr:"tickangle",clearable:!1,options:[{label:e("Auto"),value:"auto"},{label:e("45"),value:45},{label:e("90"),value:90},{label:e("135"),value:135},{label:e("180"),value:180}]}),i.default.createElement(a.TickFormat,{label:e("Label Format"),attr:"tickformat",dafaultOpt:"",clearable:!1}),i.default.createElement(a.Radio,{label:e("Separate Thousands"),attr:"separatethousands",options:[{label:e("True"),value:!0},{label:e("False"),value:!1}]}),i.default.createElement(a.Dropdown,{label:e("Exponents"),attr:"exponentformat",clearable:!1,options:[{label:e("None"),value:"none"},{label:e("e+6"),value:"e"},{label:e("E+6"),value:"E"},{label:e("x10^6"),value:"power"},{label:e("k/M/G"),value:"SI"},{label:e("k/M/B"),value:"B"}]}),i.default.createElement(a.Dropdown,{label:e("Show Exponents"),attr:"showexponent",clearable:!1,options:[{label:e("All"),value:"all"},{label:e("First"),value:"first"},{label:e("Last"),value:"last"},{label:e("None"),value:"none"}]}),i.default.createElement(a.DropdownCustom,{label:e("Prefix"),attr:"tickprefix",options:[{label:e("None"),value:""},{label:e("x"),value:"x"},{label:e("$"),value:"$"},{label:e("#"),value:"#"},{label:e("@"),value:"@"},{label:e("Custom"),value:"custom"}],customOpt:"custom",dafaultOpt:"",clearable:!1}),i.default.createElement(a.Dropdown,{label:e("Show Prefix"),attr:"showtickprefix",options:[{label:e("Every label"),value:"all"},{label:e("First label"),value:"first"},{label:e("Last label"),value:"last"},{label:e("None"),value:"none"}]}),i.default.createElement(a.DropdownCustom,{label:e("Suffix"),attr:"ticksuffix",options:[{label:e("None"),value:""},{label:e("C"),value:"C"},{label:e("%"),value:"%"},{label:e("^"),value:"^"},{label:e("Custom"),value:"custom"}],customOpt:"custom",dafaultOpt:"",clearable:!1}),i.default.createElement(a.Dropdown,{label:e("Show Suffix"),attr:"showticksuffix",options:[{label:e("Every label"),value:"all"},{label:e("First label"),value:"first"},{label:e("Last label"),value:"last"},{label:e("None"),value:"none"}]}),i.default.createElement(a.Radio,{label:e("Tick Spacing"),attr:"tickmode",options:[{label:e("Auto"),value:"auto"},{label:e("Custom"),value:"linear"}]}),i.default.createElement(a.DTicks,{label:e("Step Offset"),attr:"tick0"}),i.default.createElement(a.DTicksInterval,{label:e("Step Size"),attr:"dtick"}),i.default.createElement(a.NTicks,{label:e("Max Number of Labels"),attr:"nticks"})))),i.default.createElement(a.AxesFold,{name:e("Tick Markers"),axisFilter:function(e){return!e._subplot.includes("geo")}},i.default.createElement(a.PlotlySection,{name:e("Tick Markers"),attr:"ticks"},i.default.createElement(a.VisibilitySelect,{attr:"ticks",options:[{label:e("Inside"),value:"inside"},{label:e("Outside"),value:"outside"},{label:e("Hide"),value:""}],showOn:["inside","outside"],defaultOpt:"Outside"},i.default.createElement(a.AxisSide,{label:e("Position"),attr:"side"}),i.default.createElement(a.Radio,{label:e("Position on"),attr:"tickson",options:[{label:e("Labels"),value:"labels"},{label:e("Boundaries"),value:"boundaries"}]}),i.default.createElement(a.Numeric,{label:e("Length"),attr:"ticklen",units:"px"}),i.default.createElement(a.Numeric,{label:e("Width"),attr:"tickwidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"tickcolor"}),i.default.createElement(a.Radio,{label:e("Tick Spacing"),attr:"tickmode",options:[{label:e("Auto"),value:"auto"},{label:e("Custom"),value:"linear"}]}),i.default.createElement(a.DTicks,{label:e("Step Offset"),attr:"tick0"}),i.default.createElement(a.DTicksInterval,{label:e("Step Size"),attr:"dtick"}),i.default.createElement(a.NTicks,{label:e("Max Number of Markers"),attr:"nticks"}))),i.default.createElement(a.PlotlySection,{name:e("Multicategory Dividers"),attr:"showdividers"},i.default.createElement(a.VisibilitySelect,{attr:"showdividers",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}],showOn:!0},i.default.createElement(a.Numeric,{label:e("Width"),attr:"dividerwidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"dividercolor"})))),i.default.createElement(a.AxesFold,{name:e("Range Slider"),axisFilter:function(e){return e._subplot.includes("xaxis")}},i.default.createElement(a.RangesliderVisible,{attr:"rangeslider.visible",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.NumericFraction,{label:e("Height"),attr:"rangeslider.thickness"}),i.default.createElement(a.ColorPicker,{label:e("Background Color"),attr:"rangeslider.bgcolor"}),i.default.createElement(a.Numeric,{label:e("Border Width"),attr:"rangeslider.borderwidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Border Color"),attr:"rangeslider.bordercolor"})),i.default.createElement(a.AxesFold,{name:e("Timescale Buttons"),axisFilter:function(e){return e._subplot.includes("xaxis")&&"date"===e.type}},i.default.createElement(a.Radio,{attr:"rangeselector.visible",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.RangeSelectorAccordion,null,i.default.createElement(a.TextEditor,{attr:"label",label:e("Label"),show:!0}),i.default.createElement(a.Numeric,{label:e("Count"),attr:"count"}),i.default.createElement(a.Dropdown,{label:e("Step"),attr:"step",clearable:!1,options:[{label:e("Year"),value:"year"},{label:e("Month"),value:"month"},{label:e("Day"),value:"day"},{label:e("Hour"),value:"hour"},{label:e("Minute"),value:"minute"},{label:e("Second"),value:"second"},{label:e("All"),value:"all"}]}),i.default.createElement(a.Dropdown,{label:e("Stepmode"),attr:"stepmode",clearable:!1,options:[{label:e("To Date"),value:"todate"},{label:e("Backward"),value:"backward"}]})),i.default.createElement(a.PlotlySection,{name:e("Text")},i.default.createElement(a.FontSelector,{label:e("Typeface"),attr:"rangeselector.font.family"}),i.default.createElement(a.Numeric,{label:e("Font Size"),attr:"rangeselector.font.size",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Font Color"),attr:"rangeselector.font.color"})),i.default.createElement(a.PlotlySection,{name:e("Style")},i.default.createElement(a.ColorPicker,{label:e("Background Color"),attr:"rangeselector.bgcolor"}),i.default.createElement(a.ColorPicker,{label:e("Active Color"),attr:"rangeselector.activecolor"}),i.default.createElement(a.Numeric,{label:e("Border Width"),attr:"rangeselector.borderwidth",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Border Color"),attr:"rangeselector.bordercolor"})),i.default.createElement(a.PlotlySection,{name:e("Horizontal Positioning")},i.default.createElement(a.Dropdown,{label:e("Anchor Point"),clearable:!1,attr:"rangeselector.xanchor",options:[{label:e("Auto"),value:"auto"},{label:e("Left"),value:"left"},{label:e("Center"),value:"center"},{label:e("Right"),value:"right"}]}),i.default.createElement(a.Numeric,{label:e("Position"),step:.02,attr:"rangeselector.x"})),i.default.createElement(a.PlotlySection,{name:e("Vertical Positioning")},i.default.createElement(a.Dropdown,{label:e("Anchor Point"),clearable:!1,attr:"rangeselector.yanchor",options:[{label:e("Auto"),value:"auto"},{label:e("Top"),value:"top"},{label:e("Middle"),value:"middle"},{label:e("Bottom"),value:"bottom"}]}),i.default.createElement(a.Numeric,{label:e("Position"),step:.02,attr:"rangeselector.y"}))),i.default.createElement(a.AxesFold,{name:e("Spike Lines"),axisFilter:function(e){return!(e._subplot.includes("ternary")||e._subplot.includes("polar")||e._subplot.includes("geo"))}},i.default.createElement(a.Radio,{attr:"showspikes",options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.Radio,{attr:"spikesides",label:e("Show Sides"),options:[{label:e("Show"),value:!0},{label:e("Hide"),value:!1}]}),i.default.createElement(a.Numeric,{label:e("Thickness"),attr:"spikethickness",units:"px"}),i.default.createElement(a.ColorPicker,{label:e("Color"),attr:"spikecolor"})))}}]),r}(i.Component);x.contextTypes={fullLayout:o.default.object,localize:o.default.func};var A=x;t.default=A},"52d8":function(e,t,r){"use strict";var n=32;e.exports={CIRCLE_SIDES:n,i000:0,i090:n/4,i180:n/2,i270:n/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},"52d80":function(e,t,r){"use strict";e.exports={attributes:r("a08c"),supplyDefaults:r("07dd").supplyDefaults,calc:r("edf7"),colorbar:{min:"cmin",max:"cmax"},plot:r("caf7").createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:r("134c"),categories:["gl3d","showLegend"],meta:{description:["Draws isosurfaces between iso-min and iso-max values with coordinates given by","four 1-dimensional arrays containing the `value`, `x`, `y` and `z` of every vertex","of a uniform or non-uniform 3-D grid. Horizontal or vertical slices, caps as well as","spaceframe between iso-min and iso-max values could also be drawn using this trace."].join(" ")}}},"52e8":function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("371e");function a(e){var t=n.select(e).selectAll("g.trace.scatter");t.style("opacity",(function(e){return e[0].trace.opacity})),t.selectAll("g.points").each((function(t){var r=n.select(this),i=t.trace||t[0].trace;s(r,i,e)})),t.selectAll("g.text").each((function(t){var r=n.select(this),i=t.trace||t[0].trace;l(r,i,e)})),t.selectAll("g.trace path.js-line").call(i.lineGroupStyle),t.selectAll("g.trace path.js-fill").call(i.fillGroupStyle),o.getComponentMethod("errorbars","style")(t)}function s(e,t,r){i.pointStyle(e.selectAll("path.point"),t,r)}function l(e,t,r){i.textPointStyle(e.selectAll("text"),t,r)}function u(e,t,r){var n=t[0].trace;n.selectedpoints?(i.selectedPointStyle(r.selectAll("path.point"),n),i.selectedTextStyle(r.selectAll("text"),n)):(s(r,n,e),l(r,n,e))}e.exports={style:a,stylePoints:s,styleText:l,styleOnSelect:u}},5319:function(e,t,r){"use strict";var n=r("d784"),i=r("825a"),o=r("7b0b"),a=r("50c4"),s=r("a691"),l=r("1d80"),u=r("8aa5"),c=r("14c3"),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,m=function(e){return void 0===e?e:String(e)};n("replace",2,(function(e,t,r,n){var g=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(r,n){var i=l(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!g&&y||"string"===typeof n&&-1===n.indexOf(b)){var o=r(t,e,this,n);if(o.done)return o.value}var l=i(e),d=String(this),h="function"===typeof n;h||(n=String(n));var v=l.global;if(v){var A=l.unicode;l.lastIndex=0}var w=[];while(1){var _=c(l,d);if(null===_)break;if(w.push(_),!v)break;var E=String(_[0]);""===E&&(l.lastIndex=u(d,a(l.lastIndex),A))}for(var k="",T=0,C=0;C<w.length;C++){_=w[C];for(var S=String(_[0]),O=f(p(s(_.index),d.length),0),M=[],P=1;P<_.length;P++)M.push(m(_[P]));var B=_.groups;if(h){var L=[S].concat(M,O,d);void 0!==B&&L.push(B);var D=String(n.apply(void 0,L))}else D=x(S,d,O,M,B,n);O>=T&&(k+=d.slice(T,O)+D,T=O+S.length)}return k+d.slice(T)}];function x(e,r,n,i,a,s){var l=n+e.length,u=i.length,c=v;return void 0!==a&&(a=o(a),c=h),t.call(s,c,(function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>u){var f=d(c/10);return 0===f?t:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}s=i[c-1]}return void 0===s?"":s}))}}))},"531f":function(e,t,r){"use strict";var n=r("dc6e"),i=r("28dd"),o=n("./vertex.glsl"),a=n("./fragment.glsl");e.exports=function(e){return i(e,o,a,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},5348:function(e,t,r){"use strict";var n=r("f4e9"),i=r("a08c"),o=r("02ea"),a=r("a876"),s=r("9092").extendFlat,l=r("cb34").overrideAll,u=e.exports=l(s({x:i.x,y:i.y,z:i.z,value:i.value,isomin:i.isomin,isomax:i.isomax,surface:i.surface,spaceframe:{show:{valType:"boolean",role:"info",dflt:!1,description:["Displays/hides tetrahedron shapes between minimum and","maximum iso-values. Often useful when either caps or","surfaces are disabled or filled with values less than 1."].join(" ")},fill:{valType:"number",role:"style",min:0,max:1,dflt:1,description:["Sets the fill ratio of the `spaceframe` elements. The default fill value","is 1 meaning that they are entirely shaded. Applying a `fill` ratio less","than one would allow the creation of openings parallel to the edges."].join(" ")}},slices:i.slices,caps:i.caps,text:i.text,hovertext:i.hovertext,hovertemplate:i.hovertemplate},n("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{colorbar:i.colorbar,opacity:i.opacity,opacityscale:o.opacityscale,lightposition:i.lightposition,lighting:i.lighting,flatshading:i.flatshading,contour:i.contour,hoverinfo:s({},a.hoverinfo),showlegend:s({},a.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType=u.value.editType="calc+clearAxisTypes",u.transforms=void 0},"535c":function(e,t,r){"use strict";var n=r("f4e9"),i=r("94d5").hovertemplateAttrs,o=r("a876"),a=r("74b4"),s=r("9092").extendFlat;e.exports=s({lon:a.lon,lat:a.lat,z:{valType:"data_array",editType:"calc",description:["Sets the points' weight.","For example, a value of 10 would be equivalent to having 10 points of weight 1","in the same spot"].join(" ")},radius:{valType:"number",role:"info",editType:"plot",arrayOk:!0,min:1,dflt:30,description:["Sets the radius of influence of one `lon` / `lat` point in pixels.","Increasing the value makes the densitymapbox trace smoother, but less detailed."].join(" ")},below:{valType:"string",role:"info",editType:"plot",description:["Determines if the densitymapbox trace will be inserted","before the layer with the specified ID.","By default, densitymapbox traces are placed below the first","layer of type symbol","If set to '',","the layer will be inserted above every existing layer."].join(" ")},text:a.text,hovertext:a.hovertext,hoverinfo:s({},o.hoverinfo,{flags:["lon","lat","z","text","name"]}),hovertemplate:i(),showlegend:s({},o.showlegend,{dflt:!1})},n("",{cLetter:"z",editTypeOverride:"calc"}))},5374:function(e,t){function r(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e[3]=Math.min(t[3],r[3]),e}e.exports=r},"538c":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("0919"),a=r("c400").getTopojsonFeatures,s=r("ce56").findExtremes,l=r("e7ab").style;function u(e,t,r){var o=t.layers.backplot.select(".choroplethlayer");i.makeTraceGroups(o,r,"trace choropleth").each((function(t){var r=n.select(this),o=r.selectAll("path.choroplethlocation").data(i.identity);o.enter().append("path").classed("choroplethlocation",!0),o.exit().remove(),l(e,t)}))}function c(e,t){for(var r=e[0].trace,n=t[r.geo],i=n._subplot,l=r.locationmode,u=r._length,c="geojson-id"===l?o.extractTraceFeature(e):a(r,i.topojson),f=[],p=[],d=0;d<u;d++){var h=e[d],v="geojson-id"===l?h.fOut:o.locationToFeature(l,h.loc,c);if(v){h.geojson=v,h.ct=v.properties.ct,h._polygons=o.feature2polygons(v);var m=o.computeBbox(v);f.push(m[0],m[2]),p.push(m[1],m[3])}else h.geojson=null}if("geojson"===n.fitbounds&&"geojson-id"===l){var g=o.computeBbox(o.getTraceGeojson(r));f=[g[0],g[2]],p=[g[1],g[3]]}var y={padded:!0};r._extremes.lon=s(n.lonaxis._ax,f,y),r._extremes.lat=s(n.lataxis._ax,p,y)}e.exports={calcGeoJSON:c,plot:u}},"53a5":function(e,t){function r(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}e.exports=r},"53ca":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0");function n(e){return n="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},n(e)}},"53cc":function(e,t,r){"use strict";function n(e){for(var t=e.length,r=new Array(t),n=new Array(t),i=new Array(t),o=new Array(t),a=new Array(t),s=new Array(t),l=0;l<t;++l)r[l]=-1,n[l]=0,i[l]=!1,o[l]=0,a[l]=-1,s[l]=[];var u,c=0,f=[],p=[];function d(t){var l=[t],u=[t];r[t]=n[t]=c,i[t]=!0,c+=1;while(u.length>0){t=u[u.length-1];var d=e[t];if(o[t]<d.length){for(var h=o[t];h<d.length;++h){var v=d[h];if(r[v]<0){r[v]=n[v]=c,i[v]=!0,c+=1,l.push(v),u.push(v);break}i[v]&&(n[t]=0|Math.min(n[t],n[v])),a[v]>=0&&s[t].push(a[v])}o[t]=h}else{if(n[t]===r[t]){var m=[],g=[],y=0;for(h=l.length-1;h>=0;--h){var b=l[h];if(i[b]=!1,m.push(b),g.push(s[b]),y+=s[b].length,a[b]=f.length,b===t){l.length=h;break}}f.push(m);var x=new Array(y);for(h=0;h<g.length;h++)for(var A=0;A<g[h].length;A++)x[--y]=g[h][A];p.push(x)}u.pop()}}}for(l=0;l<t;++l)r[l]<0&&d(l);for(l=0;l<p.length;l++){var h=p[l];if(0!==h.length){h.sort((function(e,t){return e-t})),u=[h[0]];for(var v=1;v<h.length;v++)h[v]!==h[v-1]&&u.push(h[v]);p[l]=u}}return{components:f,adjacencyList:p}}e.exports=n},"53ce":function(e,t,r){"use strict";var n=r("772c"),i=r("8cb4"),o=i.strlen;function a(e,t){var r=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,a){var s=e.getText(),l=e.getEntityAt(i);r.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[n.stringify(l)])})})),r}e.exports=a},5422:function(e,t,r){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){function t(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!==r&&void 0!==r?r:null}this.setState(t.bind(this))}function o(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,s=null;if("function"===typeof t.componentWillMount?r="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var l=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;c.call(this,e,t,n)}}return e}r.r(t),r.d(t,"polyfill",(function(){return a})),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},"543f":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5,3C3.89,3 3,3.89 3,5V19C3,20.11 3.89,21 5,21H11V3M13,3V11H21V5C21,3.89 20.11,3 19,3M13,13V21H19C20.11,21 21,20.11 21,19V13"}))};e.exports=s},"54a9":function(e,t,r){"use strict";var n=r("551a"),i=r("2357"),o=r("b336"),a=r("1a3f"),s=r("765f").parseColorScale,l=r("f977"),u=r("c258").extractOpts,c=r("569b");function f(e,t,r){this.scene=e,this.uid=r,this.mesh=t,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var p=f.prototype;function d(e){for(var t=[],r=e.length,n=0;n<r;n++)t[n]=l(e[n]);return t}function h(e,t,r,n){for(var i=[],o=t.length,a=0;a<o;a++)i[a]=e.d2l(t[a],0,n)*r;return i}function v(e){for(var t=[],r=e.length,n=0;n<r;n++)t[n]=Math.round(e[n]);return t}function m(e,t){for(var r=["x","y","z"].indexOf(e),n=[],o=t.length,a=0;a<o;a++)n[a]=[t[a][(r+1)%3],t[a][(r+2)%3]];return i(n)}function g(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n]<=-.5||e[n]>=t-.5)return!1;return!0}function y(e,t){var r=e.glplot.gl,i=n({gl:r}),o=new f(e,i,t.uid);return i._trace=o,o.update(t),e.glplot.add(i),o}p.handlePick=function(e){if(e.object===this.mesh){var t=e.index=e.data.index;e.data._cellCenter?e.traceCoordinate=e.data.dataCoordinate:e.traceCoordinate=[this.data.x[t],this.data.y[t],this.data.z[t]];var r=this.data.hovertext||this.data.text;return Array.isArray(r)&&void 0!==r[t]?e.textLabel=r[t]:r&&(e.textLabel=r),!0}},p.update=function(e){var t=this.scene,r=t.fullSceneLayout;this.data=e;var n,i=e.x.length,f=c(h(r.xaxis,e.x,t.dataScale[0],e.xcalendar),h(r.yaxis,e.y,t.dataScale[1],e.ycalendar),h(r.zaxis,e.z,t.dataScale[2],e.zcalendar));if(e.i&&e.j&&e.k){if(e.i.length!==e.j.length||e.j.length!==e.k.length||!g(e.i,i)||!g(e.j,i)||!g(e.k,i))return;n=c(v(e.i),v(e.j),v(e.k))}else n=0===e.alphahull?a(f):e.alphahull>0?o(e.alphahull,f):m(e.delaunayaxis,f);var p={positions:f,cells:n,lightPosition:[e.lightposition.x,e.lightposition.y,e.lightposition.z],ambient:e.lighting.ambient,diffuse:e.lighting.diffuse,specular:e.lighting.specular,roughness:e.lighting.roughness,fresnel:e.lighting.fresnel,vertexNormalsEpsilon:e.lighting.vertexnormalsepsilon,faceNormalsEpsilon:e.lighting.facenormalsepsilon,opacity:e.opacity,contourEnable:e.contour.show,contourColor:l(e.contour.color).slice(0,3),contourWidth:e.contour.width,useFacetNormals:e.flatshading};if(e.intensity){var y=u(e);this.color="#fff";var b=e.intensitymode;p[b+"Intensity"]=e.intensity,p[b+"IntensityBounds"]=[y.min,y.max],p.colormap=s(e)}else e.vertexcolor?(this.color=e.vertexcolor[0],p.vertexColors=d(e.vertexcolor)):e.facecolor?(this.color=e.facecolor[0],p.cellColors=d(e.facecolor)):(this.color=e.color,p.meshColor=l(e.color));this.mesh.update(p)},p.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=y},"54b1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r("ab5b")),i=s(r("d7bc")),o=r("c85e"),a=r("e419");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e,t){var r=t.localize;return n.default.createElement(o.SubplotAccordion,null,n.default.createElement(o.PlotlySection,{name:r("Boundaries"),attr:"xaxis.domain[0]"},n.default.createElement(o.AxisOverlayDropdown,{label:r("X Overlay"),attr:"xaxis.overlaying"}),n.default.createElement(o.AxisOverlayDropdown,{label:r("Y Overlay"),attr:"yaxis.overlaying"})),n.default.createElement(o.RectanglePositioner,{attr:"domain.x[0]"}),n.default.createElement(o.RectanglePositioner,{attr:"xaxis.domain[0]",cartesian:!0}),n.default.createElement(o.TraceTypeSection,{name:r("X Anchor"),traceTypes:a.TRACE_TO_AXIS.cartesian},n.default.createElement(o.AxisAnchorDropdown,{label:r("Anchor to"),attr:"xaxis.anchor",clearable:!1}),n.default.createElement(o.AxisSide,{label:r("Side"),attr:"xaxis.side"})),n.default.createElement(o.TraceTypeSection,{name:r("Y Anchor"),traceTypes:a.TRACE_TO_AXIS.cartesian},n.default.createElement(o.AxisAnchorDropdown,{label:r("Anchor to"),attr:"yaxis.anchor",clearable:!1}),n.default.createElement(o.AxisSide,{label:r("Side"),attr:"yaxis.side"})),n.default.createElement(o.PlotlySection,{name:r("Aspect Ratio")},n.default.createElement(o.VisibilitySelect,{attr:"aspectmode",options:[{label:r("Auto"),value:"mode"},{label:r("Cube"),value:"cube"},{label:r("Data"),value:"data"},{label:r("Manual"),value:"manual"}],dropdown:!0,clearable:!1,showOn:"manual",defaultOpt:"mode"},n.default.createElement(o.Numeric,{label:r("X"),attr:"aspectratio.x",step:.1}),n.default.createElement(o.Numeric,{label:r("Y"),attr:"aspectratio.y",step:.1}),n.default.createElement(o.Numeric,{label:r("Z"),attr:"aspectratio.z",step:.1}))),n.default.createElement(o.PlotlySection,{name:r("Projection")},n.default.createElement(o.Dropdown,{label:r("Type"),attr:"camera.projection.type",options:[{label:r("Perspective"),value:"perspective"},{label:r("Orthographic"),value:"orthographic"}],clearable:!1})),n.default.createElement(o.PlotlySection,{name:r("Canvas")},n.default.createElement(o.ColorPicker,{label:r("Plot Background"),attr:"bgcolor"})),n.default.createElement(o.PlotlySection,{name:r("Bar Options")},n.default.createElement(o.Radio,{label:r("Bar Mode"),attr:"barmode",options:[{label:r("Stack"),value:"stack"},{label:r("Overlay"),value:"overlay"}]}),n.default.createElement(o.NumericFraction,{label:r("Bar Padding"),attr:"bargap",showSlider:!0})),n.default.createElement(o.PlotlySection,{name:r("Ternary")},n.default.createElement(o.Numeric,{label:r("Sum"),attr:"sum"})),n.default.createElement(o.PlotlySection,{name:r("Polar Sector")},n.default.createElement(o.Numeric,{label:r("Min"),attr:"sector[0]",min:-360,max:360,showSlider:!0}),n.default.createElement(o.Numeric,{label:r("Max"),attr:"sector[1]",min:-360,max:360,showSlider:!0}),n.default.createElement(o.NumericFraction,{label:r("Hole"),attr:"hole",min:0,max:100,showSlider:!0})))};l.contextTypes={localize:i.default.func};var u=l;t.default=u},"54d9":function(e,t,r){"use strict";var n=r("fc26"),i=r("927d");function o(e,t){for(var r=t._scatterStackOpts||{},n=0;n<e.length;n++){var i=e[n],o=i.xaxis+i.yaxis,a=r[o]||{},s=a[i.stackgroup]||{};if("h"!==i.orientation&&"h"!==s.orientation)return!1}return!0}e.exports=function(e,t,r){function a(r,o){return void 0!==t[r]?t[r]:n.coerce(e,t,i,r,o)}var s,l=a("clickmode");return t._has("cartesian")?l.indexOf("select")>-1?s="closest":(t._isHoriz=o(r,t),s=t._isHoriz?"y":"x"):s="closest",a("hovermode",s)}},"54e7":function(e,t,r){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},"54ea":function(e,t,r){var n=r("320c"),i=r("0230");n(i.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),i.local=i.regionalOptions[""],n(i.cdate.prototype,{formatDate:function(e,t){return"string"!==typeof e&&(t=e,e=""),this._calendar.formatDate(e||"",this,t)}}),n(i.baseCalendar.prototype,{UNIX_EPOCH:i.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:i.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(e,t,r){if("string"!==typeof e&&(r=t,t=e,e=""),!t)return"";if(t.calendar()!==this)throw i.local.invalidFormat||i.regionalOptions[""].invalidFormat;e=e||this.local.dateFormat,r=r||{};for(var n=r.dayNamesShort||this.local.dayNamesShort,o=r.dayNames||this.local.dayNames,a=r.monthNumbers||this.local.monthNumbers,s=r.monthNamesShort||this.local.monthNamesShort,l=r.monthNames||this.local.monthNames,u=(r.calculateWeek||this.local.calculateWeek,function(t,r){var n=1;while(b+n<e.length&&e.charAt(b+n)===t)n++;return b+=n-1,Math.floor(n/(r||1))>1}),c=function(e,t,r,n){var i=""+t;if(u(e,n))while(i.length<r)i="0"+i;return i},f=function(e,t,r,n){return u(e)?n[t]:r[t]},p=this,d=function(e){return"function"===typeof a?a.call(p,e,u("m")):m(c("m",e.month(),2))},h=function(e,t){return t?"function"===typeof l?l.call(p,e):l[e.month()-p.minMonth]:"function"===typeof s?s.call(p,e):s[e.month()-p.minMonth]},v=this.local.digits,m=function(e){return r.localNumbers&&v?v(e):e},g="",y=!1,b=0;b<e.length;b++)if(y)"'"!==e.charAt(b)||u("'")?g+=e.charAt(b):y=!1;else switch(e.charAt(b)){case"d":g+=m(c("d",t.day(),2));break;case"D":g+=f("D",t.dayOfWeek(),n,o);break;case"o":g+=c("o",t.dayOfYear(),3);break;case"w":g+=c("w",t.weekOfYear(),2);break;case"m":g+=d(t);break;case"M":g+=h(t,u("M"));break;case"y":g+=u("y",2)?t.year():(t.year()%100<10?"0":"")+t.year()%100;break;case"Y":u("Y",2),g+=t.formatYear();break;case"J":g+=t.toJD();break;case"@":g+=(t.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case"!":g+=(t.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case"'":u("'")?g+="'":y=!0;break;default:g+=e.charAt(b)}return g},parseDate:function(e,t,r){if(null==t)throw i.local.invalidArguments||i.regionalOptions[""].invalidArguments;if(t="object"===typeof t?t.toString():t+"",""===t)return null;e=e||this.local.dateFormat,r=r||{};var n=r.shortYearCutoff||this.shortYearCutoff;n="string"!==typeof n?n:this.today().year()%100+parseInt(n,10);for(var o=r.dayNamesShort||this.local.dayNamesShort,a=r.dayNames||this.local.dayNames,s=r.parseMonth||this.local.parseMonth,l=r.monthNumbers||this.local.monthNumbers,u=r.monthNamesShort||this.local.monthNamesShort,c=r.monthNames||this.local.monthNames,f=-1,p=-1,d=-1,h=-1,v=-1,m=!1,g=!1,y=function(t,r){var n=1;while(T+n<e.length&&e.charAt(T+n)===t)n++;return T+=n-1,Math.floor(n/(r||1))>1},b=function(e,r){var n=y(e,r),o=[2,3,n?4:2,n?4:2,10,11,20]["oyYJ@!".indexOf(e)+1],a=new RegExp("^-?\\d{1,"+o+"}"),s=t.substring(k).match(a);if(!s)throw(i.local.missingNumberAt||i.regionalOptions[""].missingNumberAt).replace(/\{0\}/,k);return k+=s[0].length,parseInt(s[0],10)},x=this,A=function(){if("function"===typeof l){y("m");var e=l.call(x,t.substring(k));return k+=e.length,e}return b("m")},w=function(e,r,n,o){for(var a=y(e,o)?n:r,s=0;s<a.length;s++)if(t.substr(k,a[s].length).toLowerCase()===a[s].toLowerCase())return k+=a[s].length,s+x.minMonth;throw(i.local.unknownNameAt||i.regionalOptions[""].unknownNameAt).replace(/\{0\}/,k)},_=function(){if("function"===typeof c){var e=y("M")?c.call(x,t.substring(k)):u.call(x,t.substring(k));return k+=e.length,e}return w("M",u,c)},E=function(){if(t.charAt(k)!==e.charAt(T))throw(i.local.unexpectedLiteralAt||i.regionalOptions[""].unexpectedLiteralAt).replace(/\{0\}/,k);k++},k=0,T=0;T<e.length;T++)if(g)"'"!==e.charAt(T)||y("'")?E():g=!1;else switch(e.charAt(T)){case"d":h=b("d");break;case"D":w("D",o,a);break;case"o":v=b("o");break;case"w":b("w");break;case"m":d=A();break;case"M":d=_();break;case"y":var C=T;m=!y("y",2),T=C,p=b("y",2);break;case"Y":p=b("Y",2);break;case"J":f=b("J")+.5,"."===t.charAt(k)&&(k++,b("J"));break;case"@":f=b("@")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case"!":f=b("!")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case"*":k=t.length;break;case"'":y("'")?E():g=!0;break;default:E()}if(k<t.length)throw i.local.unexpectedText||i.regionalOptions[""].unexpectedText;if(-1===p?p=this.today().year():p<100&&m&&(p+=-1===n?1900:this.today().year()-this.today().year()%100-(p<=n?0:100)),"string"===typeof d&&(d=s.call(this,p,d)),v>-1){d=1,h=v;for(var S=this.daysInMonth(p,d);h>S;S=this.daysInMonth(p,d))d++,h-=S}return f>-1?this.fromJD(f):this.newDate(p,d,h)},determineDate:function(e,t,r,n,i){r&&"object"!==typeof r&&(i=n,n=r,r=null),"string"!==typeof n&&(i=n,n="");var o=this,a=function(e){try{return o.parseDate(n,e,i)}catch(l){}e=e.toLowerCase();var t=(e.match(/^c/)&&r?r.newDate():null)||o.today(),a=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,s=a.exec(e);while(s)t.add(parseInt(s[1],10),s[2]||"d"),s=a.exec(e);return t};return t=t?t.newDate():null,e=null==e?t:"string"===typeof e?a(e):"number"===typeof e?isNaN(e)||e===1/0||e===-1/0?t:o.today().add(e,"d"):o.newDate(e),e}})},"54eb":function(e,t,r){var n=r("8eeb"),i=r("32f4");function o(e,t){return n(e,i(e),t)}e.exports=o},5506:function(e,t,r){"use strict";var n=e.exports=r("3a99");n.manager=r("2381")},"551a":function(e,t,r){"use strict";var n=1e-6,i=1e-6,o=r("28dd"),a=r("efce"),s=r("b205"),l=r("1d5b"),u=r("075f"),c=r("1417"),f=r("9343"),p=r("b5bb"),d=r("595c"),h=r("b7f8"),v=r("cea5"),m=r("38eb"),g=r("b82b"),y=m.meshShader,b=m.wireShader,x=m.pointShader,A=m.pickShader,w=m.pointPickShader,_=m.contourShader,E=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function k(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,k,T,C){this.gl=e,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=t,this.dirty=!0,this.triShader=r,this.lineShader=n,this.pointShader=i,this.pickShader=o,this.pointPickShader=a,this.contourShader=s,this.trianglePositions=l,this.triangleColors=c,this.triangleNormals=p,this.triangleUVs=f,this.triangleIds=u,this.triangleVAO=d,this.triangleCount=0,this.lineWidth=1,this.edgePositions=h,this.edgeColors=m,this.edgeUVs=g,this.edgeIds=v,this.edgeVAO=y,this.edgeCount=0,this.pointPositions=b,this.pointColors=A,this.pointUVs=w,this.pointSizes=_,this.pointIds=x,this.pointVAO=k,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=T,this.contourVAO=C,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=E,this._view=E,this._projection=E,this._resolution=[1,1]}var T=k.prototype;function C(e,t){if(!t)return 1;if(!t.length)return 1;for(var r=0;r<t.length;++r){if(t.length<2)return 1;if(t[r][0]===e)return t[r][1];if(t[r][0]>e&&r>0){var n=(t[r][0]-e)/(t[r][0]-t[r-1][0]);return t[r][1]*(1-n)+n*t[r-1][1]}}return 1}function S(e,t){for(var r=d({colormap:e,nshades:256,format:"rgba"}),n=new Uint8Array(1024),i=0;i<256;++i){for(var o=r[i],a=0;a<3;++a)n[4*i+a]=o[a];n[4*i+3]=t?255*C(i/255,t):255*o[3]}return p(n,[256,256,4],[4,0,1])}function O(e){for(var t=e.length,r=new Array(t),n=0;n<t;++n)r[n]=e[n][2];return r}function M(e){var t=o(e,y.vertex,y.fragment);return t.attributes.position.location=0,t.attributes.color.location=2,t.attributes.uv.location=3,t.attributes.normal.location=4,t}function P(e){var t=o(e,b.vertex,b.fragment);return t.attributes.position.location=0,t.attributes.color.location=2,t.attributes.uv.location=3,t}function B(e){var t=o(e,x.vertex,x.fragment);return t.attributes.position.location=0,t.attributes.color.location=2,t.attributes.uv.location=3,t.attributes.pointSize.location=4,t}function L(e){var t=o(e,A.vertex,A.fragment);return t.attributes.position.location=0,t.attributes.id.location=1,t}function D(e){var t=o(e,w.vertex,w.fragment);return t.attributes.position.location=0,t.attributes.id.location=1,t.attributes.pointSize.location=4,t}function I(e){var t=o(e,_.vertex,_.fragment);return t.attributes.position.location=0,t}function j(e,t){1===arguments.length&&(t=e,e=t.gl);var r=e.getExtension("OES_standard_derivatives")||e.getExtension("MOZ_OES_standard_derivatives")||e.getExtension("WEBKIT_OES_standard_derivatives");if(!r)throw new Error("derivatives not supported");var n=M(e),i=P(e),o=B(e),u=L(e),c=D(e),f=I(e),d=l(e,p(new Uint8Array([255,255,255,255]),[1,1,4]));d.generateMipmap(),d.minFilter=e.LINEAR_MIPMAP_LINEAR,d.magFilter=e.LINEAR;var h=a(e),v=a(e),m=a(e),g=a(e),y=a(e),b=s(e,[{buffer:h,type:e.FLOAT,size:3},{buffer:y,type:e.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:v,type:e.FLOAT,size:4},{buffer:m,type:e.FLOAT,size:2},{buffer:g,type:e.FLOAT,size:3}]),x=a(e),A=a(e),w=a(e),_=a(e),E=s(e,[{buffer:x,type:e.FLOAT,size:3},{buffer:_,type:e.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:A,type:e.FLOAT,size:4},{buffer:w,type:e.FLOAT,size:2}]),T=a(e),C=a(e),S=a(e),O=a(e),j=a(e),R=s(e,[{buffer:T,type:e.FLOAT,size:3},{buffer:j,type:e.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:C,type:e.FLOAT,size:4},{buffer:S,type:e.FLOAT,size:2},{buffer:O,type:e.FLOAT,size:1}]),F=a(e),N=s(e,[{buffer:F,type:e.FLOAT,size:3}]),z=new k(e,d,n,i,o,u,c,f,h,y,v,m,g,b,x,_,A,w,E,T,j,C,S,O,R,F,N);return z.update(t),z}T.isOpaque=function(){return!this.hasAlpha},T.isTransparent=function(){return this.hasAlpha},T.pickSlots=1,T.setPickBase=function(e){this.pickId=e},T.highlight=function(e){if(e&&this.contourEnable){for(var t=h(this.cells,this.intensity,e.intensity),r=t.cells,n=t.vertexIds,i=t.vertexWeights,o=r.length,a=v.mallocFloat32(6*o),s=0,l=0;l<o;++l)for(var u=r[l],c=0;c<2;++c){var f=u[0];2===u.length&&(f=u[c]);for(var p=n[f][0],d=n[f][1],m=i[f],g=1-m,y=this.positions[p],b=this.positions[d],x=0;x<3;++x)a[s++]=m*y[x]+g*b[x]}this.contourCount=s/3|0,this.contourPositions.update(a.subarray(0,s)),v.free(a)}else this.contourCount=0},T.update=function(e){e=e||{};var t=this.gl;this.dirty=!0,"contourEnable"in e&&(this.contourEnable=e.contourEnable),"contourColor"in e&&(this.contourColor=e.contourColor),"lineWidth"in e&&(this.lineWidth=e.lineWidth),"lightPosition"in e&&(this.lightPosition=e.lightPosition),this.hasAlpha=!1,"opacity"in e&&(this.opacity=e.opacity,this.opacity<1&&(this.hasAlpha=!0)),"opacityscale"in e&&(this.opacityscale=e.opacityscale,this.hasAlpha=!0),"ambient"in e&&(this.ambientLight=e.ambient),"diffuse"in e&&(this.diffuseLight=e.diffuse),"specular"in e&&(this.specularLight=e.specular),"roughness"in e&&(this.roughness=e.roughness),"fresnel"in e&&(this.fresnel=e.fresnel),e.texture?(this.texture.dispose(),this.texture=l(t,e.texture)):e.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=t.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=t.LINEAR,this.texture.setPixels(S(e.colormap,this.opacityscale)),this.texture.generateMipmap());var r=e.cells,o=e.positions;if(o&&r){var a=[],s=[],c=[],f=[],p=[],d=[],h=[],v=[],m=[],g=[],y=[],b=[],x=[],A=[];this.cells=r,this.positions=o;var w=e.vertexNormals,_=e.cellNormals,E=void 0===e.vertexNormalsEpsilon?n:e.vertexNormalsEpsilon,k=void 0===e.faceNormalsEpsilon?i:e.faceNormalsEpsilon;e.useFacetNormals&&!_&&(_=u.faceNormals(r,o,k)),_||w||(w=u.vertexNormals(r,o,E));var T=e.vertexColors,M=e.cellColors,P=e.meshColor||[1,1,1,1],B=e.vertexUVs,L=e.vertexIntensity,D=e.cellUVs,I=e.cellIntensity,j=1/0,R=-1/0;if(!B&&!D)if(L)if(e.vertexIntensityBounds)j=+e.vertexIntensityBounds[0],R=+e.vertexIntensityBounds[1];else for(var F=0;F<L.length;++F){var N=L[F];j=Math.min(j,N),R=Math.max(R,N)}else if(I)if(e.cellIntensityBounds)j=+e.cellIntensityBounds[0],R=+e.cellIntensityBounds[1];else for(F=0;F<I.length;++F){N=I[F];j=Math.min(j,N),R=Math.max(R,N)}else for(F=0;F<o.length;++F){N=o[F][2];j=Math.min(j,N),R=Math.max(R,N)}this.intensity=L||(I||O(o)),this.pickVertex=!(I||M);var z=e.pointSizes,U=e.pointSize||1;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(F=0;F<o.length;++F)for(var H=o[F],V=0;V<3;++V)!isNaN(H[V])&&isFinite(H[V])&&(this.bounds[0][V]=Math.min(this.bounds[0][V],H[V]),this.bounds[1][V]=Math.max(this.bounds[1][V],H[V]));var Q=0,W=0,K=0;e:for(F=0;F<r.length;++F){var q=r[F];switch(q.length){case 1:var G=q[0];for(H=o[G],V=0;V<3;++V)if(isNaN(H[V])||!isFinite(H[V]))continue e;g.push(H[0],H[1],H[2]),Y=T?T[G]:M?M[F]:P,this.opacityscale&&L?s.push(Y[0],Y[1],Y[2],this.opacity*C((L[G]-j)/(R-j),this.opacityscale)):3===Y.length?y.push(Y[0],Y[1],Y[2],this.opacity):(y.push(Y[0],Y[1],Y[2],Y[3]*this.opacity),Y[3]<1&&(this.hasAlpha=!0)),X=B?B[G]:L?[(L[G]-j)/(R-j),0]:D?D[F]:I?[(I[F]-j)/(R-j),0]:[(H[2]-j)/(R-j),0],b.push(X[0],X[1]),z?x.push(z[G]):x.push(U),A.push(F),K+=1;break;case 2:for(V=0;V<2;++V){G=q[V],H=o[G];for(var $=0;$<3;++$)if(isNaN(H[$])||!isFinite(H[$]))continue e}for(V=0;V<2;++V){G=q[V],H=o[G];d.push(H[0],H[1],H[2]),Y=T?T[G]:M?M[F]:P,this.opacityscale&&L?s.push(Y[0],Y[1],Y[2],this.opacity*C((L[G]-j)/(R-j),this.opacityscale)):3===Y.length?h.push(Y[0],Y[1],Y[2],this.opacity):(h.push(Y[0],Y[1],Y[2],Y[3]*this.opacity),Y[3]<1&&(this.hasAlpha=!0)),X=B?B[G]:L?[(L[G]-j)/(R-j),0]:D?D[F]:I?[(I[F]-j)/(R-j),0]:[(H[2]-j)/(R-j),0],v.push(X[0],X[1]),m.push(F)}W+=1;break;case 3:for(V=0;V<3;++V)for(G=q[V],H=o[G],$=0;$<3;++$)if(isNaN(H[$])||!isFinite(H[$]))continue e;for(V=0;V<3;++V){var Y,X,Z;G=q[2-V],H=o[G];a.push(H[0],H[1],H[2]),Y=T?T[G]:M?M[F]:P,Y?this.opacityscale&&L?s.push(Y[0],Y[1],Y[2],this.opacity*C((L[G]-j)/(R-j),this.opacityscale)):3===Y.length?s.push(Y[0],Y[1],Y[2],this.opacity):(s.push(Y[0],Y[1],Y[2],Y[3]*this.opacity),Y[3]<1&&(this.hasAlpha=!0)):s.push(.5,.5,.5,1),X=B?B[G]:L?[(L[G]-j)/(R-j),0]:D?D[F]:I?[(I[F]-j)/(R-j),0]:[(H[2]-j)/(R-j),0],f.push(X[0],X[1]),Z=w?w[G]:_[F],c.push(Z[0],Z[1],Z[2]),p.push(F)}Q+=1;break;default:break}}this.pointCount=K,this.edgeCount=W,this.triangleCount=Q,this.pointPositions.update(g),this.pointColors.update(y),this.pointUVs.update(b),this.pointSizes.update(x),this.pointIds.update(new Uint32Array(A)),this.edgePositions.update(d),this.edgeColors.update(h),this.edgeUVs.update(v),this.edgeIds.update(new Uint32Array(m)),this.trianglePositions.update(a),this.triangleColors.update(s),this.triangleUVs.update(f),this.triangleNormals.update(c),this.triangleIds.update(new Uint32Array(p))}},T.drawTransparent=T.draw=function(e){e=e||{};for(var t=this.gl,r=e.model||E,n=e.view||E,i=e.projection||E,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);var s={model:r,view:n,projection:i,inverseModel:E.slice(),clipBounds:o,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],contourColor:this.contourColor,texture:0};s.inverseModel=f(s.inverseModel,s.model),t.disable(t.CULL_FACE),this.texture.bind(0);var l=new Array(16);c(l,s.view,s.model),c(l,s.projection,l),f(l,l);for(a=0;a<3;++a)s.eyePosition[a]=l[12+a]/l[15];var u=l[15];for(a=0;a<3;++a)u+=this.lightPosition[a]*l[4*a+3];for(a=0;a<3;++a){for(var p=l[12+a],d=0;d<3;++d)p+=l[4*d+a]*this.lightPosition[d];s.lightPosition[a]=p/u}if(this.triangleCount>0){var h=this.triShader;h.bind(),h.uniforms=s,this.triangleVAO.bind(),t.drawArrays(t.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){h=this.lineShader;h.bind(),h.uniforms=s,this.edgeVAO.bind(),t.lineWidth(this.lineWidth*this.pixelRatio),t.drawArrays(t.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()}if(this.pointCount>0){h=this.pointShader;h.bind(),h.uniforms=s,this.pointVAO.bind(),t.drawArrays(t.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){h=this.contourShader;h.bind(),h.uniforms=s,this.contourVAO.bind(),t.drawArrays(t.LINES,0,this.contourCount),this.contourVAO.unbind()}},T.drawPick=function(e){e=e||{};for(var t=this.gl,r=e.model||E,n=e.view||E,i=e.projection||E,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(r),this._view=[].slice.call(n),this._projection=[].slice.call(i),this._resolution=[t.drawingBufferWidth,t.drawingBufferHeight];var s={model:r,view:n,projection:i,clipBounds:o,pickId:this.pickId/255},l=this.pickShader;if(l.bind(),l.uniforms=s,this.triangleCount>0&&(this.triangleVAO.bind(),t.drawArrays(t.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),t.lineWidth(this.lineWidth*this.pixelRatio),t.drawArrays(t.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0){l=this.pointPickShader;l.bind(),l.uniforms=s,this.pointVAO.bind(),t.drawArrays(t.POINTS,0,this.pointCount),this.pointVAO.unbind()}},T.pick=function(e){if(!e)return null;if(e.id!==this.pickId)return null;for(var t=e.value[0]+256*e.value[1]+65536*e.value[2],r=this.cells[t],n=this.positions,i=new Array(r.length),o=0;o<r.length;++o)i[o]=n[r[o]];var a=e.coord[0],s=e.coord[1];if(!this.pickVertex){var l=this.positions[r[0]],u=this.positions[r[1]],c=this.positions[r[2]],f=[(l[0]+u[0]+c[0])/3,(l[1]+u[1]+c[1])/3,(l[2]+u[2]+c[2])/3];return{_cellCenter:!0,position:[a,s],index:t,cell:r,cellId:t,intensity:this.intensity[t],dataCoordinate:f}}var p=g(i,[a*this.pixelRatio,this._resolution[1]-s*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!p)return null;var d=p[2],h=0;for(o=0;o<r.length;++o)h+=d[o]*this.intensity[r[o]];return{position:p[1],index:r[p[0]],cell:r,cellId:t,intensity:h,dataCoordinate:this.positions[r[p[0]]]}},T.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()},e.exports=j},5529:function(e,t,r){"use strict";var n,i=r("23c3"),o=r("24f7"),a=r("8164"),s=o.OrderedMap,l={getDirectionMap:function(e,t){n?n.reset():n=new i;var r=e.getBlockMap(),l=r.valueSeq().map((function(e){return a(n).getDirection(e.getText())})),u=s(r.keySeq().zip(l));return null!=t&&o.is(t,u)?t:u}};e.exports=l},5530:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("b64b"),r("a4d3"),r("4de4"),r("e439"),r("159b"),r("dbb45");var n=r("ade3");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(n["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},55306:function(e,t,r){"use strict";var n=r("24be"),i=function(e,t){var r=e instanceof n;if(!r)return null;var i=e.getNextSiblingKey();if(i)return i;var o=e.getParentKey();if(!o)return null;var a=t.get(o);while(a&&!a.getNextSiblingKey()){var s=a.getParentKey();a=s?t.get(s):null}return a?a.getNextSiblingKey():null};e.exports=i},"553a":function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("83d1"),a=r("de81");function s(e,t,r){var n={x:t.c2p(e.x),y:r.c2p(e.y)};return void 0!==e.yh&&(n.yh=r.c2p(e.yh),n.ys=r.c2p(e.ys),i(n.ys)||(n.noYS=!0,n.ys=r.c2p(e.ys,!0))),void 0!==e.xh&&(n.xh=t.c2p(e.xh),n.xs=t.c2p(e.xs),i(n.xs)||(n.noXS=!0,n.xs=t.c2p(e.xs,!0))),n}e.exports=function(e,t,r,l){var u,c=r.xaxis,f=r.yaxis,p=l&&l.duration>0;t.each((function(t){var d,h=t[0].trace,v=h.error_x||{},m=h.error_y||{};h.ids&&(d=function(e){return e.id});var g=a.hasMarkers(h)&&h.marker.maxdisplayed>0;m.visible||v.visible||(t=[]);var y=n.select(this).selectAll("g.errorbar").data(t,d);if(y.exit().remove(),t.length){v.visible||y.selectAll("path.xerror").remove(),m.visible||y.selectAll("path.yerror").remove(),y.style("opacity",1);var b=y.enter().append("g").classed("errorbar",!0);p&&b.style("opacity",0).transition().duration(l.duration).style("opacity",1),o.setClipUrl(y,r.layerClipId,e),y.each((function(e){var t=n.select(this),r=s(e,c,f);if(!g||e.vis){var o,a=t.select("path.yerror");if(m.visible&&i(r.x)&&i(r.yh)&&i(r.ys)){var d=m.width;o="M"+(r.x-d)+","+r.yh+"h"+2*d+"m-"+d+",0V"+r.ys,r.noYS||(o+="m-"+d+",0h"+2*d),u=!a.size(),u?a=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):p&&(a=a.transition().duration(l.duration).ease(l.easing)),a.attr("d",o)}else a.remove();var h=t.select("path.xerror");if(v.visible&&i(r.y)&&i(r.xh)&&i(r.xs)){var y=(v.copy_ystyle?m:v).width;o="M"+r.xh+","+(r.y-y)+"v"+2*y+"m0,-"+y+"H"+r.xs,r.noXS||(o+="m0,-"+y+"v"+2*y),u=!h.size(),u?h=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):p&&(h=h.transition().duration(l.duration).ease(l.easing)),h.attr("d",o)}else h.remove()}}))}}))}},5559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r){var n=r.getBoundingClientRect(),i=n.width,o=n.height,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),u=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>i&&(l=i),u<0?u=0:u>o&&(u=o);var c=l/i,f=1-u/o;return{h:t.h,s:c,v:f,a:t.a,source:"hsv"}}},5567:function(e,t,r){"use strict";e.exports=function(e){for(var t={},r=[],n=0,i=0;i<e.length;i++){var o=e[i];1!==t[o]&&(t[o]=1,r[n++]=o)}return r}},"558b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function i(){var r,a,u,c;s(this,i);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return u=l(this,(r=i.__proto__||Object.getPrototypeOf(i)).call.apply(r,[this].concat(p))),a=u,u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return o.default.createElement(t,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},o.default.createElement(e,n({},u.props,u.state)))},c=a,l(u,c)}return u(i,r),i}(o.default.Component)};t.default=c},"55a3":function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},"55eb":function(e,t,r){"use strict";e.exports={eventDataKeys:["initial","delta","final"]}},"55f6":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26").isArrayOrTypedArray,o=r("e806").BADNUM,a=r("3aa8"),s=r("fc26")._;e.exports=function(e,t){for(var r=t._length,l=new Array(r),u=t.z,c=i(u)&&u.length,f=0;f<r;f++){var p=l[f]={},d=t.lon[f],h=t.lat[f];if(p.lonlat=n(d)&&n(h)?[+d,+h]:[o,o],c){var v=u[f];p.z=n(v)?v:o}}return a(e,t,{vals:c?u:[0,1],containerStr:"",cLetter:"z"}),r&&(l[0].t={labels:{lat:s(e,"lat:")+" ",lon:s(e,"lon:")+" "}}),l}},"562c":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"RadioBlocks",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DateTimePicker",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"TraceTypeSelector",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"TraceTypeSelectorButton",{enumerable:!0,get:function(){return s.TraceTypeSelectorButton}});var i=c(r("ad9c")),o=c(r("37cc")),a=c(r("e433")),s=u(r("04e9"));function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}},5664:function(e,t,r){"use strict";function n(e,t,r){r=r||2;var n,o,s,l,u,c,p,d=t&&t.length,h=d?t[0]*r:e.length,v=i(e,0,h,r,!0),m=[];if(!v||v.next===v.prev)return m;if(d&&(v=f(e,t,v,r)),e.length>80*r){n=s=e[0],o=l=e[1];for(var g=r;g<h;g+=r)u=e[g],c=e[g+1],u<n&&(n=u),c<o&&(o=c),u>s&&(s=u),c>l&&(l=c);p=Math.max(s-n,l-o),p=0!==p?1/p:0}return a(v,m,r,n,o,p),m}function i(e,t,r,n,i){var o,a;if(i===D(e,t,r,n)>0)for(o=t;o<r;o+=n)a=P(o,e[o],e[o+1],a);else for(o=r-n;o>=t;o-=n)a=P(o,e[o],e[o+1],a);return a&&_(a,a.next)&&(B(a),a=a.next),a}function o(e,t){if(!e)return e;t||(t=e);var r,n=e;do{if(r=!1,n.steiner||!_(n,n.next)&&0!==w(n.prev,n,n.next))n=n.next;else{if(B(n),n=t=n.prev,n===n.next)break;r=!0}}while(r||n!==t);return t}function a(e,t,r,n,i,f,p){if(e){!p&&f&&m(e,n,i,f);var d,h,v=e;while(e.prev!==e.next)if(d=e.prev,h=e.next,f?l(e,n,i,f):s(e))t.push(d.i/r),t.push(e.i/r),t.push(h.i/r),B(e),e=h.next,v=h.next;else if(e=h,e===v){p?1===p?(e=u(o(e),t,r),a(e,t,r,n,i,f,2)):2===p&&c(e,t,r,n,i,f):a(o(e),t,r,n,i,f,1);break}}}function s(e){var t=e.prev,r=e,n=e.next;if(w(t,r,n)>=0)return!1;var i=e.next.next;while(i!==e.prev){if(x(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&w(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(e,t,r,n){var i=e.prev,o=e,a=e.next;if(w(i,o,a)>=0)return!1;var s=i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,l=i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,u=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,c=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,f=y(s,l,t,r,n),p=y(u,c,t,r,n),d=e.prevZ,h=e.nextZ;while(d&&d.z>=f&&h&&h.z<=p){if(d!==e.prev&&d!==e.next&&x(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;if(d=d.prevZ,h!==e.prev&&h!==e.next&&x(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&w(h.prev,h,h.next)>=0)return!1;h=h.nextZ}while(d&&d.z>=f){if(d!==e.prev&&d!==e.next&&x(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&w(d.prev,d,d.next)>=0)return!1;d=d.prevZ}while(h&&h.z<=p){if(h!==e.prev&&h!==e.next&&x(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&w(h.prev,h,h.next)>=0)return!1;h=h.nextZ}return!0}function u(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!_(i,a)&&E(i,n,n.next,a)&&S(i,a)&&S(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),B(n),B(n.next),n=e=a),n=n.next}while(n!==e);return o(n)}function c(e,t,r,n,i,s){var l=e;do{var u=l.next.next;while(u!==l.prev){if(l.i!==u.i&&A(l,u)){var c=M(l,u);return l=o(l,l.next),c=o(c,c.next),a(l,t,r,n,i,s),void a(c,t,r,n,i,s)}u=u.next}l=l.next}while(l!==e)}function f(e,t,r,n){var a,s,l,u,c,f=[];for(a=0,s=t.length;a<s;a++)l=t[a]*n,u=a<s-1?t[a+1]*n:e.length,c=i(e,l,u,n,!1),c===c.next&&(c.steiner=!0),f.push(b(c));for(f.sort(p),a=0;a<f.length;a++)d(f[a],r),r=o(r,r.next);return r}function p(e,t){return e.x-t.x}function d(e,t){if(t=h(e,t),t){var r=M(t,e);o(t,t.next),o(r,r.next)}}function h(e,t){var r,n=t,i=e.x,o=e.y,a=-1/0;do{if(o<=n.y&&o>=n.next.y&&n.next.y!==n.y){var s=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>a){if(a=s,s===i){if(o===n.y)return n;if(o===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==t);if(!r)return null;if(i===a)return r;var l,u=r,c=r.x,f=r.y,p=1/0;n=r;do{i>=n.x&&n.x>=c&&i!==n.x&&x(o<f?i:a,o,c,f,o<f?a:i,o,n.x,n.y)&&(l=Math.abs(o-n.y)/(i-n.x),S(n,e)&&(l<p||l===p&&(n.x>r.x||n.x===r.x&&v(r,n)))&&(r=n,p=l)),n=n.next}while(n!==u);return r}function v(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function m(e,t,r,n){var i=e;do{null===i.z&&(i.z=y(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,g(i)}function g(e){var t,r,n,i,o,a,s,l,u=1;do{r=e,e=null,o=null,a=0;while(r){for(a++,n=r,s=0,t=0;t<u;t++)if(s++,n=n.nextZ,!n)break;l=u;while(s>0||l>0&&n)0!==s&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,l--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;r=n}o.nextZ=null,u*=2}while(a>1);return e}function y(e,t,r,n,i){return e=32767*(e-r)*i,t=32767*(t-n)*i,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1}function b(e){var t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function x(e,t,r,n,i,o,a,s){return(i-a)*(t-s)-(e-a)*(o-s)>=0&&(e-a)*(n-s)-(r-a)*(t-s)>=0&&(r-a)*(o-s)-(i-a)*(n-s)>=0}function A(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!C(e,t)&&(S(e,t)&&S(t,e)&&O(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||_(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function _(e,t){return e.x===t.x&&e.y===t.y}function E(e,t,r,n){var i=T(w(e,t,r)),o=T(w(e,t,n)),a=T(w(r,n,e)),s=T(w(r,n,t));return i!==o&&a!==s||(!(0!==i||!k(e,r,t))||(!(0!==o||!k(e,n,t))||(!(0!==a||!k(r,e,n))||!(0!==s||!k(r,t,n)))))}function k(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function T(e){return e>0?1:e<0?-1:0}function C(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&E(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function S(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function O(e,t){var r=e,n=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{r.y>o!==r.next.y>o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}function M(e,t){var r=new L(e.i,e.x,e.y),n=new L(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function P(e,t,r,n){var i=new L(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function B(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function L(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function D(e,t,r,n){for(var i=0,o=t,a=r-n;o<r;o+=n)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}e.exports=n,e.exports.default=n,n.deviation=function(e,t,r,n){var i=t&&t.length,o=i?t[0]*r:e.length,a=Math.abs(D(e,0,o,r));if(i)for(var s=0,l=t.length;s<l;s++){var u=t[s]*r,c=s<l-1?t[s+1]*r:e.length;a-=Math.abs(D(e,u,c,r))}var f=0;for(s=0;s<n.length;s+=3){var p=n[s]*r,d=n[s+1]*r,h=n[s+2]*r;f+=Math.abs((e[p]-e[h])*(e[d+1]-e[p+1])-(e[p]-e[d])*(e[h+1]-e[p+1]))}return 0===a&&0===f?0:Math.abs((f-a)/a)},n.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var a=0;a<t;a++)r.vertices.push(e[i][o][a]);i>0&&(n+=e[i-1].length,r.holes.push(n))}return r}},"566e":function(e,t,r){"use strict";function n(e){var t,r,n,i=e.length,o=0;for(t=0;t<i;++t)o+=e[t].length;var a=new Array(o),s=0;for(t=0;t<i;++t){var l=e[t],u=l.length;for(r=0;r<u;++r){var c=a[s++]=new Array(u-1),f=0;for(n=0;n<u;++n)n!==r&&(c[f++]=l[n]);if(1&r){var p=c[1];c[1]=c[0],c[0]=p}}}return a}e.exports=n},5679:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3C8.03,3 4,7.03 4,12H1L4.96,16.03L9,12H6C6,8.13 9.13,5 13,5C16.87,5 20,8.13 20,12C20,15.87 16.87,19 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21C17.97,21 22,16.97 22,12C22,7.03 17.97,3 13,3"}))};e.exports=s},"567e":function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("e5ac"),a=r("a5cc"),s=r("fdc7");function l(e,t,r){function o(r,i){return n.coerce(e,t,a,r,i)}var l=o("visible");if(l){var u=o("path"),c=u?"path":"rect",f=o("type",c);"path"!==t.type&&delete t.path,o("editable"),o("layer"),o("opacity"),o("fillcolor"),o("fillrule");var p=o("line.width");p&&(o("line.color"),o("line.dash"));for(var d=o("xsizemode"),h=o("ysizemode"),v=["x","y"],m=0;m<2;m++){var g,y,b,x=v[m],A=x+"anchor",w="x"===x?d:h,_={_fullLayout:r},E=i.coerceRef(e,t,_,x,void 0,"paper"),k=i.getRefType(E);if("range"===k?(g=i.getFromId(_,E),g._shapeIndices.push(t._index),b=s.rangeToShapePosition(g),y=s.shapePositionToRange(g)):y=b=n.identity,"path"!==f){var T=.25,C=.75,S=x+"0",O=x+"1",M=e[S],P=e[O];e[S]=y(e[S],!0),e[O]=y(e[O],!0),"pixel"===w?(o(S,0),o(O,10)):(i.coercePosition(t,_,o,E,S,T),i.coercePosition(t,_,o,E,O,C)),t[S]=b(t[S]),t[O]=b(t[O]),e[S]=M,e[O]=P}if("pixel"===w){var B=e[A];e[A]=y(e[A],!0),i.coercePosition(t,_,o,E,A,.25),t[A]=b(t[A]),e[A]=B}}"path"===f?o("path"):n.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){o(e,t,{name:"shapes",handleItemDefaults:l})}},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"569b":function(e,t,r){"use strict";e.exports=function(e,t,r,n){n=n||e.length;for(var i=new Array(n),o=0;o<n;o++)i[o]=[e[o],t[o],r[o]];return i}},"56b3":function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=n||i||o,s=a&&(n?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),f=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),v=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),m=/Android/.test(e),g=v||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=v||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),A=f&&e.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(f=!1,l=!0);var w=y&&(u||f&&(null==A||A<12.11)),_=r||a&&s>=9;function E(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,T=function(e,t){var r=e.className,n=E(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return C(e).appendChild(t)}function O(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function M(e,t,r,n){var i=O(e,t,r,n);return i.setAttribute("role","presentation"),i}function P(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function B(){var e;try{e=document.activeElement}catch(t){e=document.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function L(e,t){var r=e.className;E(t).test(r)||(e.className+=(r?" ":"")+t)}function D(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!E(r[n]).test(t)&&(t+=" "+r[n]);return t}k=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(i){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var I=function(e){e.select()};function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function F(e,t,r,n,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=n||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=r-a%r,o=s+1}}v?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(I=function(e){try{e.select()}catch(t){}});var N=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};function z(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}N.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},N.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};var U=50,H={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},Q={origin:"*mouse"},W={origin:"+move"};function K(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||i+a>=t)return n+Math.min(a,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}var q=[""];function G(e){while(q.length<=e)q.push($(q)+" ");return q[e]}function $(e){return e[e.length-1]}function Y(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function X(e,t,r){var n=0,i=r(t);while(n<e.length&&r(e[n])<=i)n++;e.splice(n,0,t)}function Z(){}function J(e,t){var r;return Object.create?r=Object.create(e):(Z.prototype=e,r=new Z),t&&R(t,r),r}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function re(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,r){while((r<0?t>0:t<e.length)&&oe(e.charAt(t)))t+=r;return t}function se(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}function le(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<r&&a.to>t||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}var ue=null;function ce(e,t,r){var n;ue=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:ue=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:ue=i)}return null!=n?n:ue}var fe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(r){return r<=247?e.charAt(r):1424<=r&&r<=1524?"R":1536<=r&&r<=1785?t.charAt(r-1536):1774<=r&&r<=2220?"r":8192<=r&&r<=8203?"w":8204==r?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,r){this.level=e,this.from=t,this.to=r}return function(e,t){var u="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var c=e.length,f=[],p=0;p<c;++p)f.push(r(e.charCodeAt(p)));for(var d=0,h=u;d<c;++d){var v=f[d];"m"==v?f[d]=h:h=v}for(var m=0,g=u;m<c;++m){var y=f[m];"1"==y&&"r"==g?f[m]="n":o.test(y)&&(g=y,"r"==y&&(f[m]="R"))}for(var b=1,x=f[0];b<c-1;++b){var A=f[b];"+"==A&&"1"==x&&"1"==f[b+1]?f[b]="1":","!=A||x!=f[b+1]||"1"!=x&&"n"!=x||(f[b]=x),x=A}for(var w=0;w<c;++w){var _=f[w];if(","==_)f[w]="N";else if("%"==_){var E=void 0;for(E=w+1;E<c&&"%"==f[E];++E);for(var k=w&&"!"==f[w-1]||E<c&&"1"==f[E]?"1":"N",T=w;T<E;++T)f[T]=k;w=E-1}}for(var C=0,S=u;C<c;++C){var O=f[C];"L"==S&&"1"==O?f[C]="L":o.test(O)&&(S=O)}for(var M=0;M<c;++M)if(i.test(f[M])){var P=void 0;for(P=M+1;P<c&&i.test(f[P]);++P);for(var B="L"==(M?f[M-1]:u),L="L"==(P<c?f[P]:u),D=B==L?B?"L":"R":u,I=M;I<P;++I)f[I]=D;M=P-1}for(var j,R=[],F=0;F<c;)if(a.test(f[F])){var N=F;for(++F;F<c&&a.test(f[F]);++F);R.push(new l(0,N,F))}else{var z=F,U=R.length,H="rtl"==t?1:0;for(++F;F<c&&"L"!=f[F];++F);for(var V=z;V<F;)if(s.test(f[V])){z<V&&(R.splice(U,0,new l(1,z,V)),U+=H);var Q=V;for(++V;V<F&&s.test(f[V]);++V);R.splice(U,0,new l(2,Q,V)),U+=H,z=V}else++V;z<F&&R.splice(U,0,new l(1,z,F))}return"ltr"==t&&(1==R[0].level&&(j=e.match(/^\s+/))&&(R[0].from=j[0].length,R.unshift(new l(0,0,j[0].length))),1==$(R).level&&(j=e.match(/\s+$/))&&($(R).to-=j[0].length,R.push(new l(0,c-j[0].length,c)))),"rtl"==t?R.reverse():R}}();function pe(e,t){var r=e.order;return null==r&&(r=e.order=fe(e.text,t)),r}var de=[],he=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||de).concat(r)}};function ve(e,t){return e._handlers&&e._handlers[t]||de}function me(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=z(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ge(e,t){var r=ve(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function ye(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,r||t.type,e,t),Ee(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==z(r,t[n])&&r.push(t[n])}function xe(e,t){return ve(e,t).length>0}function Ae(e){e.prototype.on=function(e,t){he(this,e,t)},e.prototype.off=function(e,t){me(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function _e(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ke(e){we(e),_e(e)}function Te(e){return e.target||e.srcElement}function Ce(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Se,Oe,Me=function(){if(a&&s<9)return!1;var e=O("div");return"draggable"in e||"dragDrop"in e}();function Pe(e){if(null==Se){var t=O("span","");S(e,O("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Se=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var r=Se?O("span",""):O("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Be(e){if(null!=Oe)return Oe;var t=S(e,document.createTextNode("AخA")),r=k(t,0,1).getBoundingClientRect(),n=k(t,1,2).getBoundingClientRect();return C(e),!(!r||r.left==r.right)&&(Oe=n.right-r.right<3)}var Le=3!="\n\nb".split(/\n/).length?function(e){var t=0,r=[],n=e.length;while(t<=n){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},De=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(r){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ie=function(){var e=O("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),je=null;function Re(e){if(null!=je)return je;var t=S(e,O("span","x")),r=t.getBoundingClientRect(),n=k(t,0,1).getBoundingClientRect();return je=Math.abs(r.left-n.left)>1}var Fe={},Ne={};function ze(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function Ue(e,t){Ne[e]=t}function He(e){if("string"==typeof e&&Ne.hasOwnProperty(e))e=Ne[e];else if(e&&"string"==typeof e.name&&Ne.hasOwnProperty(e.name)){var t=Ne[e.name];"string"==typeof t&&(t={name:t}),e=J(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return He("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return He("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ve(e,t){t=He(t);var r=Fe[t.name];if(!r)return Ve(e,"text/plain");var n=r(e,t);if(Qe.hasOwnProperty(t.name)){var i=Qe[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)n[a]=t.modeProps[a];return n}var Qe={};function We(e,t){var r=Qe.hasOwnProperty(e)?Qe[e]:Qe[e]={};R(t,r)}function Ke(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function qe(e,t){var r;while(e.innerMode){if(r=e.innerMode(t),!r||r.mode==e)break;t=r.state,e=r.mode}return r||{mode:e,state:t}}function Ge(e,t,r){return!e.startState||e.startState(t,r)}var $e=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Ye(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var r=e;while(!r.lines)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function Xe(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,(function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i})),n}function Ze(e,t,r){var n=[];return e.iter(t,r,(function(e){n.push(e.text)})),n}function Je(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function et(e){if(null==e.parent)return null;for(var t=e.parent,r=z(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;;++i){if(n.children[i]==t)break;r+=n.children[i].chunkSize()}return r+t.first}function tt(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return r+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function nt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,r){if(void 0===r&&(r=null),!(this instanceof it))return new it(e,t,r);this.line=e,this.ch=t,this.sticky=r}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&0==ot(e,t)}function st(e){return it(e.line,e.ch)}function lt(e,t){return ot(e,t)<0?t:e}function ut(e,t){return ot(e,t)<0?e:t}function ct(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ft(e,t){if(t.line<e.first)return it(e.first,0);var r=e.first+e.size-1;return t.line>r?it(r,Ye(e,r).text.length):pt(t,Ye(e,t.line).text.length)}function pt(e,t){var r=e.ch;return null==r||r>t?it(e.line,t):r<0?it(e.line,0):e}function dt(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=ft(e,t[n]);return r}$e.prototype.eol=function(){return this.pos>=this.string.length},$e.prototype.sol=function(){return this.pos==this.lineStart},$e.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$e.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$e.prototype.eat=function(e){var t,r=this.string.charAt(this.pos);if(t="string"==typeof e?r==e:r&&(e.test?e.test(r):e(r)),t)return++this.pos,r},$e.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e));return this.pos>t},$e.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},$e.prototype.skipToEnd=function(){this.pos=this.string.length},$e.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},$e.prototype.backUp=function(e){this.pos-=e},$e.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},$e.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},$e.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},$e.prototype.current=function(){return this.string.slice(this.start,this.pos)},$e.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},$e.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},$e.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ht=function(e,t){this.state=e,this.lookAhead=t},vt=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};function mt(e,t,r,n){var i=[e.state.modeGen],o={};kt(e,t.text,e.doc.mode,r,(function(e,t){return i.push(e,t)}),o,n);for(var a=r.state,s=function(n){r.baseTokens=i;var s=e.state.overlays[n],l=1,u=0;r.state=!0,kt(e,t.text,s.mode,r,(function(e,t){var r=l;while(u<e){var n=i[l];n>e&&i.splice(l,1,e,i[l+1],n),l+=2,u=Math.min(e,n)}if(t)if(s.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t}}),o),r.state=a,r.baseTokens=null,r.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function gt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=yt(e,et(t)),i=t.text.length>e.options.maxHighlightLength&&Ke(e.doc.mode,n.state),o=mt(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function yt(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new vt(n,!0,t);var o=Tt(e,t,r),a=o>n.first&&Ye(n,o-1).stateAfter,s=a?vt.fromSaved(n,a,o):new vt(n,Ge(n.mode),o);return n.iter(o,t,(function(r){bt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine()})),r&&(n.modeFrontier=s.line),s}function bt(e,t,r,n){var i=e.doc.mode,o=new $e(t,e.options.tabSize,r);o.start=o.pos=n||0,""==t&&xt(i,r.state);while(!o.eol())At(i,o,r.state),o.start=o.pos}function xt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=qe(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function At(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=qe(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}vt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vt.fromSaved=function(e,t,r){return t instanceof ht?new vt(e,Ke(e.mode,t.state),r,t.lookAhead):new vt(e,Ke(e.mode,t),r)},vt.prototype.save=function(e){var t=!1!==e?Ke(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ht(t,this.maxLookAhead):t};var wt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function _t(e,t,r,n){var i,o=e.doc,a=o.mode;t=ft(o,t);var s,l=Ye(o,t.line),u=yt(e,t.line,r),c=new $e(l.text,e.options.tabSize,u);n&&(s=[]);while((n||c.pos<t.ch)&&!c.eol())c.start=c.pos,i=At(a,c,u.state),n&&s.push(new wt(c,i,Ke(o.mode,u.state)));return n?s:new wt(c,i,u.state)}function Et(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function kt(e,t,r,n,i,o,a){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,u=0,c=null,f=new $e(t,e.options.tabSize,n),p=e.options.addModeClass&&[null];""==t&&Et(xt(r,n.state),o);while(!f.eol()){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&bt(e,t,n,f.pos),f.pos=t.length,l=null):l=Et(At(r,f,n.state,p),o),p){var d=p[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!s||c!=l){while(u<f.start)u=Math.min(f.start,u+5e3),i(u,c);c=l}f.start=f.pos}while(u<f.pos){var h=Math.min(f.pos,u+5e3);i(h,c),u=h}}function Tt(e,t,r){for(var n,i,o=e.doc,a=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ye(o,s-1),u=l.stateAfter;if(u&&(!r||s+(u instanceof ht?u.lookAhead:0)<=o.modeFrontier))return s;var c=F(l.text,null,e.options.tabSize);(null==i||n>c)&&(i=s-1,n=c)}return i}function Ct(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Ye(e,n).stateAfter;if(i&&(!(i instanceof ht)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}}var St=!1,Ot=!1;function Mt(){St=!0}function Pt(){Ot=!0}function Bt(e,t,r){this.marker=e,this.from=t,this.to=r}function Lt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function Dt(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function It(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function jt(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!r||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Bt(a,o.from,l?null:o.to))}}return n}function Rt(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Bt(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return n}function Ft(e,t){if(t.full)return null;var r=rt(e,t.from.line)&&Ye(e,t.from.line).markedSpans,n=rt(e,t.to.line)&&Ye(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,a=0==ot(t.from,t.to),s=jt(r,i,a),l=Rt(n,o,a),u=1==t.text.length,c=$(t.text).length+(u?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=Lt(l,p.marker);d?u&&(p.to=null==d.to?null:d.to+c):p.to=i}}if(l)for(var h=0;h<l.length;++h){var v=l[h];if(null!=v.to&&(v.to+=c),null==v.from){var m=Lt(s,v.marker);m||(v.from=c,u&&(s||(s=[])).push(v))}else v.from+=c,u&&(s||(s=[])).push(v)}s&&(s=Nt(s)),l&&l!=s&&(l=Nt(l));var g=[s];if(!u){var y,b=t.text.length-2;if(b>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(y||(y=[])).push(new Bt(s[x].marker,null,null));for(var A=0;A<b;++A)g.push(y);g.push(l)}return g}function Nt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function zt(e,t,r){var n=null;if(e.iter(t.line,r.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=z(n,r)||(n||(n=[])).push(r)}})),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var a=n[o],s=a.find(0),l=0;l<i.length;++l){var u=i[l];if(!(ot(u.to,s.from)<0||ot(u.from,s.to)>0)){var c=[l,1],f=ot(u.from,s.from),p=ot(u.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}function Ut(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function Ht(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function Vt(e){return e.inclusiveLeft?-1:0}function Qt(e){return e.inclusiveRight?1:0}function Wt(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=ot(n.from,i.from)||Vt(e)-Vt(t);if(o)return-o;var a=ot(n.to,i.to)||Qt(e)-Qt(t);return a||t.id-e.id}function Kt(e,t){var r,n=Ot&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)i=n[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!r||Wt(r,i.marker)<0)&&(r=i.marker);return r}function qt(e){return Kt(e,!0)}function Gt(e){return Kt(e,!1)}function $t(e,t){var r,n=Ot&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Wt(r,o.marker)<0)&&(r=o.marker)}return r}function Yt(e,t,r,n,i){var o=Ye(e,t),a=Ot&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var u=l.marker.find(0),c=ot(u.from,r)||Vt(l.marker)-Vt(i),f=ot(u.to,n)||Qt(l.marker)-Qt(i);if(!(c>=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.to,r)>=0:ot(u.to,r)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.from,n)<=0:ot(u.from,n)<0)))return!0}}}function Xt(e){var t;while(t=qt(e))e=t.find(-1,!0).line;return e}function Zt(e){var t;while(t=Gt(e))e=t.find(1,!0).line;return e}function Jt(e){var t,r;while(t=Gt(e))e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function er(e,t){var r=Ye(e,t),n=Xt(r);return r==n?t:et(n)}function tr(e,t){if(t>e.lastLine())return t;var r,n=Ye(e,t);if(!rr(e,n))return t;while(r=Gt(n))n=r.find(1,!0).line;return et(n)+1}function rr(e,t){var r=Ot&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if(n=r[i],n.marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&nr(e,t,n))return!0}}function nr(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return nr(e,n.line,Lt(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&nr(e,t,i))return!0}function ir(e){e=Xt(e);for(var t=0,r=e.parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;r=o,o=r.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==r)break;t+=s.height}return t}function or(e){if(0==e.height)return 0;var t,r=e.text.length,n=e;while(t=qt(n)){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}n=e;while(t=Gt(n)){var o=t.find(0,!0);r-=n.text.length-o.from.ch,n=o.to.line,r+=n.text.length-o.to.ch}return r}function ar(e){var t=e.display,r=e.doc;t.maxLine=Ye(r,r.first),t.maxLineLength=or(t.maxLine),t.maxLineChanged=!0,r.iter((function(e){var r=or(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)}))}var sr=function(e,t,r){this.text=e,Ht(this,t),this.height=r?r(this):1};function lr(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ut(e),Ht(e,r);var i=n?n(e):1;i!=e.height&&Je(e,i)}function ur(e){e.parent=null,Ut(e)}sr.prototype.lineNo=function(){return et(this)},Ae(sr);var cr={},fr={};function pr(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?fr:cr;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function dr(e,t){var r=M("span",null,null,l?"padding-right: .1px":null),n={pre:M("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0,n.addToken=vr,Be(e.display.measure)&&(a=pe(o,e.doc.direction))&&(n.addToken=gr(n.addToken,a)),n.map=[];var s=t!=e.display.externalMeasured&&et(o);br(o,n,gt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=D(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=D(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Pe(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var u=n.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=D(n.pre.className,n.textClass||"")),n}function hr(e){var t=O("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function vr(e,t,r,n,i,o,l){if(t){var u,c=e.splitSpaces?mr(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){u=document.createDocumentFragment();var d=0;while(1){f.lastIndex=d;var h=f.exec(t),v=h?h.index-d:t.length-d;if(v){var m=document.createTextNode(c.slice(d,d+v));a&&s<9?u.appendChild(O("span",[m])):u.appendChild(m),e.map.push(e.pos,e.pos+v,m),e.col+=v,e.pos+=v}if(!h)break;d+=v+1;var g=void 0;if("\t"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;g=u.appendChild(O("span",G(b),"cm-tab")),g.setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),e.col+=b}else"\r"==h[0]||"\n"==h[0]?(g=u.appendChild(O("span","\r"==h[0]?"␍":"","cm-invalidchar")),g.setAttribute("cm-text",h[0]),e.col+=1):(g=e.cm.options.specialCharPlaceholder(h[0]),g.setAttribute("cm-text",h[0]),a&&s<9?u.appendChild(O("span",[g])):u.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),r||n||i||p||o){var x=r||"";n&&(x+=n),i&&(x+=i);var A=O("span",[u],x,o);if(l)for(var w in l)l.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&A.setAttribute(w,l[w]);return e.content.appendChild(A)}e.content.appendChild(u)}}function mr(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o}return n}function gr(e,t){return function(r,n,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var u=r.pos,c=u+n.length;;){for(var f=void 0,p=0;p<t.length;p++)if(f=t[p],f.to>u&&f.from<=u)break;if(f.to>=c)return e(r,n,i,o,a,s,l);e(r,n.slice(0,f.to-u),i,o,null,s,l),o=null,n=n.slice(f.to-u),u=f.to}}}function yr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function br(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,s,l,u,c,f,p,d=i.length,h=0,v=1,m="",g=0;;){if(g==h){l=u=c=s="",p=null,f=null,g=1/0;for(var y=[],b=void 0,x=0;x<n.length;++x){var A=n[x],w=A.marker;if("bookmark"==w.type&&A.from==h&&w.widgetNode)y.push(w);else if(A.from<=h&&(null==A.to||A.to>h||w.collapsed&&A.to==h&&A.from==h)){if(null!=A.to&&A.to!=h&&g>A.to&&(g=A.to,u=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&A.from==h&&(c+=" "+w.startStyle),w.endStyle&&A.to==g&&(b||(b=[])).push(w.endStyle,A.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var _ in w.attributes)(p||(p={}))[_]=w.attributes[_];w.collapsed&&(!f||Wt(f.marker,w)<0)&&(f=A)}else A.from>h&&g>A.from&&(g=A.from)}if(b)for(var E=0;E<b.length;E+=2)b[E+1]==g&&(u+=" "+b[E]);if(!f||f.from==h)for(var k=0;k<y.length;++k)yr(t,0,y[k]);if(f&&(f.from||0)==h){if(yr(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;var T=Math.min(d,g);while(1){if(m){var C=h+m.length;if(!f){var S=C>T?m.slice(0,T-h):m;t.addToken(t,S,a?a+l:l,c,h+S.length==g?u:"",s,p)}if(C>=T){m=m.slice(T-h),h=T;break}h=C,c=""}m=i.slice(o,o=r[v++]),a=pr(r[v++],t.cm.options)}}else for(var O=1;O<r.length;O+=2)t.addToken(t,i.slice(o,o=r[O]),pr(r[O+1],t.cm.options))}function xr(e,t,r){this.line=t,this.rest=Jt(t),this.size=this.rest?et($(this.rest))-r+1:1,this.node=this.text=null,this.hidden=rr(e,t)}function Ar(e,t,r){for(var n,i=[],o=t;o<r;o=n){var a=new xr(e.doc,Ye(e.doc,o),o);n=o+a.size,i.push(a)}return i}var wr=null;function _r(e){wr?wr.ops.push(e):e.ownsGroup=wr={ops:[e],delayedCallbacks:[]}}function Er(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}function kr(e,t){var r=e.ownsGroup;if(r)try{Er(r)}finally{wr=null,t(r)}}var Tr=null;function Cr(e,t){var r=ve(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);wr?n=wr.delayedCallbacks:Tr?n=Tr:(n=Tr=[],setTimeout(Sr,0));for(var o=function(e){n.push((function(){return r[e].apply(null,i)}))},a=0;a<r.length;++a)o(a)}}function Sr(){var e=Tr;Tr=null;for(var t=0;t<e.length;++t)e[t]()}function Or(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Lr(e,t):"gutter"==o?Ir(e,t,r,n):"class"==o?Dr(e,t):"widget"==o&&jr(e,t,n)}t.changes=null}function Mr(e){return e.node==e.text&&(e.node=O("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function Pr(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=Mr(t);t.background=n.insertBefore(O("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}function Br(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):dr(e,t)}function Lr(e,t){var r=t.text.className,n=Br(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,Dr(e,t)):r&&(t.text.className=r)}function Dr(e,t){Pr(e,t),t.line.wrapClass?Mr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function Ir(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Mr(t);t.gutterBackground=O("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Mr(t),s=t.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(O("div",nt(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var u=e.display.gutterSpecs[l].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(O("div",[c],"CodeMirror-gutter-elt","left: "+n.gutterLeft[u]+"px; width: "+n.gutterWidth[u]+"px"))}}}function jr(e,t,r){t.alignable&&(t.alignable=null);for(var n=E("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);Fr(e,t,r)}function Rr(e,t,r,n){var i=Br(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Dr(e,t),Ir(e,t,r,n),Fr(e,t,n),t.node}function Fr(e,t,r){if(Nr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)Nr(e,t.rest[n],t,r,!1)}function Nr(e,t,r,n,i){if(t.widgets)for(var o=Mr(r),a=0,s=t.widgets;a<s.length;++a){var l=s[a],u=O("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),zr(l,u,r,n),e.display.input.setUneditable(u),i&&l.above?o.insertBefore(u,r.gutter||r.text):o.appendChild(u),Cr(l,"redraw")}}function zr(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function Ur(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!P(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),S(t.display.measure,O("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function Hr(e,t){for(var r=Te(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Vr(e){return e.lineSpace.offsetTop}function Qr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Wr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=S(e.measure,O("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function Kr(e){return U-e.display.nativeBarWidth}function qr(e){return e.display.scroller.clientWidth-Kr(e)-e.display.barWidth}function Gr(e){return e.display.scroller.clientHeight-Kr(e)-e.display.barHeight}function $r(e,t,r){var n=e.options.lineWrapping,i=n&&qr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],u=a[s+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-r.top)}}o.push(r.bottom-r.top)}}function Yr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(et(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Xr(e,t){t=Xt(t);var r=et(t),n=e.display.externalMeasured=new xr(e.doc,t,r);n.lineN=r;var i=n.built=dr(e,n);return n.text=i.pre,S(e.display.lineMeasure,i.pre),n}function Zr(e,t,r,n){return tn(e,en(e,t),r,n)}function Jr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[In(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function en(e,t){var r=et(t),n=Jr(e,r);n&&!n.text?n=null:n&&n.changes&&(Or(e,n,r,Mn(e)),e.curOp.forceUpdate=!0),n||(n=Xr(e,t));var i=Yr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function tn(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||($r(e,t.view,t.rect),t.hasHeights=!0),o=sn(e,t,r,n),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var rn,nn={left:0,right:0,top:0,bottom:0};function on(e,t,r){for(var n,i,o,a,s,l,u=0;u<e.length;u+=3)if(s=e[u],l=e[u+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(u==e.length-3||t==l&&e[u+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(n=e[u+2],s==l&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)while(u&&e[u-2]==e[u-3]&&e[u-1].insertLeft)n=e[2+(u-=3)],a="left";if("right"==r&&i==l-s)while(u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft)n=e[(u+=3)+2],a="right";break}return{node:n,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function an(e,t){var r=nn;if("left"==t){for(var n=0;n<e.length;n++)if((r=e[n]).left!=r.right)break}else for(var i=e.length-1;i>=0;i--)if((r=e[i]).left!=r.right)break;return r}function sn(e,t,r,n){var i,o=on(t.map,r,n),l=o.node,u=o.start,c=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){while(u&&oe(t.line.text.charAt(o.coverStart+u)))--u;while(o.coverStart+c<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+c)))++c;if(i=a&&s<9&&0==u&&c==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():an(k(l,u,c).getClientRects(),n),i.left||i.right||0==u)break;c=u,u-=1,f="right"}a&&s<11&&(i=ln(e.display.measure,i))}else{var d;u>0&&(f=n="right"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d["right"==n?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+On(e.display),top:h.top,bottom:h.bottom}:nn}for(var v=i.top-t.rect.top,m=i.bottom-t.rect.top,g=(v+m)/2,y=t.view.measure.heights,b=0;b<y.length-1;b++)if(g<y[b])break;var x=b?y[b-1]:0,A=y[b],w={left:("right"==f?i.right:i.left)-t.rect.left,right:("left"==f?i.left:i.right)-t.rect.left,top:x,bottom:A};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=v,w.rbottom=m),w}function ln(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Re(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}function un(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function cn(e){e.display.externalMeasure=null,C(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)un(e.display.view[t])}function fn(e){cn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function pn(){return c&&m?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function dn(){return c&&m?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function hn(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=Ur(e.widgets[r]));return t}function vn(e,t,r,n,i){if(!i){var o=hn(t);r.top+=o,r.bottom+=o}if("line"==n)return r;n||(n="local");var a=ir(t);if("local"==n?a+=Vr(e.display):a-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==n?0:dn());var l=s.left+("window"==n?0:pn());r.left+=l,r.right+=l}return r.top+=a,r.bottom+=a,r}function mn(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=pn(),i-=dn();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top}}function gn(e,t,r,n,i){return n||(n=Ye(e.doc,t.line)),vn(e,n,Zr(e,n,t.ch,i),r)}function yn(e,t,r,n,i,o){function a(t,a){var s=tn(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,vn(e,n,s,r)}n=n||Ye(e.doc,t.line),i||(i=en(e,n));var s=pe(n,e.doc.direction),l=t.ch,u=t.sticky;if(l>=n.text.length?(l=n.text.length,u="before"):l<=0&&(l=0,u="after"),!s)return a("before"==u?l-1:l,"before"==u);function c(e,t,r){var n=s[t],i=1==n.level;return a(r?e-1:e,i!=r)}var f=ce(s,l,u),p=ue,d=c(l,f,"before"==u);return null!=p&&(d.other=c(l,p,"before"!=u)),d}function bn(e,t){var r=0;t=ft(e.doc,t),e.options.lineWrapping||(r=On(e.display)*t.ch);var n=Ye(e.doc,t.line),i=ir(n)+Vr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function xn(e,t,r,n,i){var o=it(e,t,r);return o.xRel=i,n&&(o.outside=n),o}function An(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return xn(n.first,0,null,-1,-1);var i=tt(n,r),o=n.first+n.size-1;if(i>o)return xn(n.first+n.size-1,Ye(n,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ye(n,i);;){var s=kn(e,a,i,t,r),l=$t(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var u=l.find(1);if(u.line==i)return u;a=Ye(n,i=u.line)}}function wn(e,t,r,n){n-=hn(t);var i=t.text.length,o=se((function(t){return tn(e,r,t-1).bottom<=n}),i,0);return i=se((function(t){return tn(e,r,t).top>n}),o,i),{begin:o,end:i}}function _n(e,t,r,n){r||(r=en(e,t));var i=vn(e,t,tn(e,r,n),"line").top;return wn(e,t,r,i)}function En(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function kn(e,t,r,n,i){i-=ir(t);var o=en(e,t),a=hn(t),s=0,l=t.text.length,u=!0,c=pe(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?Cn:Tn)(e,t,r,o,c,n,i);u=1!=f.level,s=u?f.from:f.to-1,l=u?f.to:f.from-1}var p,d,h=null,v=null,m=se((function(t){var r=tn(e,o,t);return r.top+=a,r.bottom+=a,!!En(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(h=t,v=r),!0)}),s,l),g=!1;if(v){var y=n-v.left<v.right-n,b=y==u;m=h+(b?0:1),d=b?"after":"before",p=y?v.left:v.right}else{u||m!=l&&m!=s||m++,d=0==m?"after":m==t.text.length?"before":tn(e,o,m-(u?1:0)).bottom+a<=i==u?"after":"before";var x=yn(e,it(r,m,d),"line",t,o);p=x.left,g=i<x.top?-1:i>=x.bottom?1:0}return m=ae(t.text,m,1),xn(r,m,d,g,n-p)}function Tn(e,t,r,n,i,o,a){var s=se((function(s){var l=i[s],u=1!=l.level;return En(yn(e,it(r,u?l.to:l.from,u?"before":"after"),"line",t,n),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var u=1!=l.level,c=yn(e,it(r,u?l.from:l.to,u?"after":"before"),"line",t,n);En(c,o,a,!0)&&c.top>a&&(l=i[s-1])}return l}function Cn(e,t,r,n,i,o,a){var s=wn(e,t,n,a),l=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=u||d.to<=l)){var h=1!=d.level,v=tn(e,n,h?Math.min(u,d.to)-1:Math.max(l,d.from)).right,m=v<o?o-v+1e9:v-o;(!c||f>m)&&(c=d,f=m)}}return c||(c=i[i.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function Sn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rn){rn=O("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rn.appendChild(document.createTextNode("x")),rn.appendChild(O("br"));rn.appendChild(document.createTextNode("x"))}S(e.measure,rn);var r=rn.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),C(e.measure),r||1}function On(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=O("span","xxxxxxxxxx"),r=O("pre",[t],"CodeMirror-line-like");S(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Mn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth}return{fixedPos:Pn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function Pn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Bn(e){var t=Sn(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/On(e.display)-3);return function(i){if(rr(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t}}function Ln(e){var t=e.doc,r=Bn(e);t.iter((function(e){var t=r(e);t!=e.height&&Je(e,t)}))}function Dn(e,t,r,n){var i=e.display;if(!r&&"true"==Te(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(f){return null}var l,u=An(e,o,a);if(n&&u.xRel>0&&(l=Ye(e.doc,u.line).text).length==u.ch){var c=F(l,l.length,e.options.tabSize)-l.length;u=it(u.line,Math.max(0,Math.round((o-Wr(e.display).left)/On(e.display))-c))}return u}function In(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if(t-=r[n].size,t<0)return n}function jn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ot&&er(e.doc,t)<i.viewTo&&Fn(e);else if(r<=i.viewFrom)Ot&&tr(e.doc,r+n)>i.viewFrom?Fn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)Fn(e);else if(t<=i.viewFrom){var o=Nn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):Fn(e)}else if(r>=i.viewTo){var a=Nn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Fn(e)}else{var s=Nn(e,t,t,-1),l=Nn(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(Ar(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):Fn(e)}var u=i.externalMeasured;u&&(r<u.lineN?u.lineN+=n:t<u.lineN+u.size&&(i.externalMeasured=null))}function Rn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[In(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==z(a,r)&&a.push(r)}}}function Fn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Nn(e,t,r,n){var i,o=In(e,t),a=e.display.view;if(!Ot||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(n>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,r+=i}while(er(e.doc,r)!=r){if(o==(n<0?0:a.length-1))return null;r+=n*a[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function zn(e,t,r){var n=e.display,i=n.view;0==i.length||t>=n.viewTo||r<=n.viewFrom?(n.view=Ar(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=Ar(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(In(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(Ar(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,In(e,r)))),n.viewTo=r}function Un(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function Hn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Vn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),a=0;a<r.sel.ranges.length;a++)if(t||a!=r.sel.primIndex){var s=r.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Qn(e,s.head,i),l||Kn(e,s,o)}}return n}function Qn(e,t,r){var n=yn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(O("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(O("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function Wn(e,t){return e.top-t.top||e.left-t.left}function Kn(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),a=Wr(e.display),s=a.left,l=Math.max(n.sizerWidth,qr(e)-n.sizer.offsetLeft)-a.right,u="ltr"==i.direction;function c(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n height: "+(n-t)+"px"))}function f(t,r,n){var o,a,f=Ye(i,t),p=f.text.length;function d(r,n){return gn(e,it(t,r),"div",f,n)}function h(t,r,n){var i=_n(e,f,null,t),o="ltr"==r==("after"==n)?"left":"right",a="after"==n?i.begin:i.end-(/\s/.test(f.text.charAt(i.end-1))?2:1);return d(a,o)[o]}var v=pe(f,i.direction);return le(v,r||0,null==n?p:n,(function(e,t,i,f){var m="ltr"==i,g=d(e,m?"left":"right"),y=d(t-1,m?"right":"left"),b=null==r&&0==e,x=null==n&&t==p,A=0==f,w=!v||f==v.length-1;if(y.top-g.top<=3){var _=(u?b:x)&&A,E=(u?x:b)&&w,k=_?s:(m?g:y).left,T=E?l:(m?y:g).right;c(k,g.top,T-k,g.bottom)}else{var C,S,O,M;m?(C=u&&b&&A?s:g.left,S=u?l:h(e,i,"before"),O=u?s:h(t,i,"after"),M=u&&x&&w?l:y.right):(C=u?h(e,i,"before"):s,S=!u&&b&&A?l:g.right,O=!u&&x&&w?s:y.left,M=u?h(t,i,"after"):l),c(C,g.top,S-C,g.bottom),g.bottom<y.top&&c(s,g.bottom,null,y.top),c(O,y.top,M-O,y.bottom)}(!o||Wn(g,o)<0)&&(o=g),Wn(y,o)<0&&(o=y),(!a||Wn(g,a)<0)&&(a=g),Wn(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Ye(i,p.line),v=Ye(i,d.line),m=Xt(h)==Xt(v),g=f(p.line,p.ch,m?h.text.length+1:null).end,y=f(d.line,m?0:null,d.ch).start;m&&(g.top<y.top-2?(c(g.right,g.top,null,g.bottom),c(s,y.top,y.left,y.bottom)):c(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&c(s,g.bottom,null,y.top)}r.appendChild(o)}function qn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Gn(e){e.state.focused||(e.display.input.focus(),Yn(e))}function $n(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Xn(e))}),100)}function Yn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,L(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),qn(e))}function Xn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Zn(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,l=void 0,u=0;if(!i.hidden){if(a&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;l=c-r,r=c}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var p=i.line.height-l;if((p>.005||p<-.005)&&(Je(i.line,l),Jn(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Jn(i.rest[d]);if(u>e.display.sizerWidth){var h=Math.ceil(u/On(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Jn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function ei(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Vr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=tt(t,n),a=tt(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<o?(o=s,a=tt(t,ir(Ye(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=tt(t,ir(Ye(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!ye(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=O("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Vr(e.display))+"px;\n height: "+(t.bottom-t.top+Kr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ri(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,r="before"==t.sticky?it(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=yn(e,t),l=r&&r!=t?yn(e,r):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n};var u=ii(e,i),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=u.scrollTop&&(fi(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(di(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function ni(e,t){var r=ii(e,t);null!=r.scrollTop&&fi(e,r.scrollTop),null!=r.scrollLeft&&di(e,r.scrollLeft)}function ii(e,t){var r=e.display,n=Sn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Gr(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Qr(r),l=t.top<n,u=t.bottom>s-n;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft,p=qr(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function oi(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,r){null==t&&null==r||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function li(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=bn(e,t.from),n=bn(e,t.to);ci(e,r,n,t.margin)}}function ci(e,t,r,n){var i=ii(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});si(e,i.scrollLeft,i.scrollTop)}function fi(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||Hi(e,{top:t}),pi(e,t,!0),r&&Hi(e),Di(e,100))}function pi(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function di(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,Ki(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function hi(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Qr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Kr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var vi=function(e,t,r){this.cm=r;var n=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),he(n,"scroll",(function(){n.clientHeight&&t(n.scrollTop,"vertical")})),he(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},vi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vi.prototype.zeroWidthHack=function(){var e=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new N,this.disableVert=new N},vi.prototype.enableZeroWidthBar=function(e,t,r){function n(){var i=e.getBoundingClientRect(),o="vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,n)}e.style.pointerEvents="auto",t.set(1e3,n)},vi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var mi=function(){};function gi(e,t){t||(t=hi(e));var r=e.display.barWidth,n=e.display.barHeight;yi(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Zn(e),yi(e,hi(e)),r=e.display.barWidth,n=e.display.barHeight}function yi(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}mi.prototype.update=function(){return{bottom:0,right:0}},mi.prototype.setScrollLeft=function(){},mi.prototype.setScrollTop=function(){},mi.prototype.clear=function(){};var bi={native:vi,null:mi};function xi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),he(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,r){"horizontal"==r?di(e,t):fi(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Ai=0;function wi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ai},_r(e.curOp)}function _i(e){var t=e.curOp;t&&kr(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Ei(e)}))}function Ei(e){for(var t=e.ops,r=0;r<t.length;r++)ki(t[r]);for(var n=0;n<t.length;n++)Ti(t[n]);for(var i=0;i<t.length;i++)Ci(t[i]);for(var o=0;o<t.length;o++)Si(t[o]);for(var a=0;a<t.length;a++)Oi(t[a])}function ki(e){var t=e.cm,r=t.display;Ri(t),e.updateMaxLine&&ar(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ji(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ti(e){e.updatedDisplay=e.mustUpdate&&zi(e.cm,e.update)}function Ci(e){var t=e.cm,r=t.display;e.updatedDisplay&&Zn(t),e.barMeasure=hi(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Zr(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Kr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-qr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function Si(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&di(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==B();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&gi(t,e.barMeasure),e.updatedDisplay&&Wi(t,e.barMeasure),e.selectionChanged&&qn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&Gn(e.cm)}function Oi(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&Ui(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&pi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&di(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=ri(t,ft(n,e.scrollToPos.from),ft(n,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||ge(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&ge(a[l],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Mi(e,t){if(e.curOp)return t();wi(e);try{return t()}finally{_i(e)}}function Pi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);wi(e);try{return t.apply(e,arguments)}finally{_i(e)}}}function Bi(e){return function(){if(this.curOp)return e.apply(this,arguments);wi(this);try{return e.apply(this,arguments)}finally{_i(this)}}}function Li(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);wi(t);try{return e.apply(this,arguments)}finally{_i(t)}}}function Di(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,j(Ii,e))}function Ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=yt(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(n.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ke(t.mode,n.state):null,l=mt(e,o,n,!0);s&&(n.state=s),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&bt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>r)return Di(e,e.options.workDelay),!0})),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&Mi(e,(function(){for(var t=0;t<i.length;t++)Rn(e,i[t],"text")}))}}var ji=function(e,t,r){var n=e.display;this.viewport=t,this.visible=ei(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=qr(e),this.force=r,this.dims=Mn(e),this.events=[]};function Ri(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Kr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Kr(e)+"px",t.scrollbarsClipped=!0)}function Fi(e){if(e.hasFocus())return null;var t=B();if(!t||!P(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&P(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}function Ni(e){if(e&&e.activeElt&&e.activeElt!=B()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&P(document.body,e.anchorNode)&&P(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}function zi(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return Fn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==Un(e))return!1;qi(e)&&(Fn(e),t.dims=Mn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),Ot&&(o=er(e.doc,o),a=tr(e.doc,a));var s=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;zn(e,o,a),r.viewOffset=ir(Ye(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=Un(e);if(!s&&0==l&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=Fi(e);return l>4&&(r.lineDiv.style.display="none"),Vi(e,r.updateLineNumbers,t.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,Ni(u),C(r.cursorDiv),C(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,Di(e,400)),r.updateLineNumbers=null,!0}function Ui(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=qr(e))n&&(t.visible=ei(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Qr(e.display)-Gr(e),r.top)}),t.visible=ei(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!zi(e,t))break;Zn(e);var i=hi(e);Hn(e),gi(e,i),Wi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Hi(e,t){var r=new ji(e,t);if(zi(e,r)){Zn(e),Ui(e,r);var n=hi(e);Hn(e),gi(e,n),Wi(e,n),r.finish()}}function Vi(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,a=o.firstChild;function s(t){var r=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var u=n.view,c=n.viewFrom,f=0;f<u.length;f++){var p=u[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){while(a!=p.node)a=s(a);var d=i&&null!=t&&t<=c&&p.lineNumber;p.changes&&(z(p.changes,"gutter")>-1&&(d=!1),Or(e,p,c,r)),d&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(nt(e.options,c)))),a=p.node.nextSibling}else{var h=Rr(e,p,c,r);o.insertBefore(h,a)}c+=p.size}while(a)a=s(a)}function Qi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Wi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Kr(e)+"px"}function Ki(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=Pn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a<r.length;a++)if(!r[a].hidden){e.options.fixedGutter&&(r[a].gutter&&(r[a].gutter.style.left=o),r[a].gutterBackground&&(r[a].gutterBackground.style.left=o));var s=r[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function qi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=nt(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(O("div",[O("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1,n.lineNumWidth=n.lineNumInnerWidth+a,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Qi(e.display),!0}return!1}function Gi(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}r.push({className:o,style:a})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function $i(e){var t=e.gutters,r=e.gutterSpecs;C(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,a=i.style,s=t.appendChild(O("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",Qi(e)}function Yi(e){$i(e.display),jn(e),Ki(e)}function Xi(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=M("div",null,"CodeMirror-code"),o.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=O("div",null,"CodeMirror-cursors"),o.measure=O("div",null,"CodeMirror-measure"),o.lineMeasure=O("div",null,"CodeMirror-measure"),o.lineSpace=M("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=M("div",[o.lineSpace],"CodeMirror-lines");o.mover=O("div",[u],null,"position: relative"),o.sizer=O("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=O("div",null,null,"position: absolute; height: "+U+"px; width: 1px;"),o.gutters=O("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=O("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=O("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||r&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Gi(i.gutters,i.lineNumbers),$i(o),n.init(o)}ji.prototype.signal=function(e,t){xe(e,t)&&this.events.push(arguments)},ji.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};var Zi=0,Ji=null;function eo(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function to(e){var t=eo(e);return t.x*=Ji,t.y*=Ji,t}function ro(e,t){var n=eo(t),i=n.x,o=n.y,a=e.display,s=a.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==p){e.display.currentWheelTarget=p;break e}if(i&&!r&&!f&&null!=Ji)return o&&c&&fi(e,Math.max(0,s.scrollTop+o*Ji)),di(e,Math.max(0,s.scrollLeft+i*Ji)),(!o||o&&c)&&we(t),void(a.wheelStartX=null);if(o&&null!=Ji){var v=o*Ji,m=e.doc.scrollTop,g=m+a.wrapper.clientHeight;v<0?m=Math.max(0,m+v-50):g=Math.min(e.doc.height,g+v+50),Hi(e,{top:m,bottom:g})}Zi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,r&&(Ji=(Ji*Zi+r)/(Zi+1),++Zi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?Ji=-.53:r?Ji=15:c?Ji=-.7:p&&(Ji=-1/3);var no=function(e,t){this.ranges=e,this.primIndex=t};no.prototype.primary=function(){return this.ranges[this.primIndex]},no.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!at(r.anchor,n.anchor)||!at(r.head,n.head))return!1}return!0},no.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new io(st(this.ranges[t].anchor),st(this.ranges[t].head));return new no(e,this.primIndex)},no.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},no.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(ot(t,n.from())>=0&&ot(e,n.to())<=0)return r}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort((function(e,t){return ot(e.from(),t.from())})),r=z(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=ot(s.to(),a.from());if(n&&!a.empty()?l>0:l>=0){var u=ut(s.from(),a.from()),c=lt(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new io(f?c:u,f?u:c))}}return new no(t,r)}function ao(e,t){return new no([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,$(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function lo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=so(t).ch-t.to.ch),it(r,n)}function uo(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new io(lo(i.anchor,t),lo(i.head,t)))}return oo(e.cm,r,e.sel.primIndex)}function co(e,t,r){return e.line==t.line?it(r.line,e.ch-t.ch+r.ch):it(r.line+(e.line-t.line),e.ch)}function fo(e,t,r){for(var n=[],i=it(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=co(s.from,i,o),u=co(so(s),i,o);if(i=s.to,o=u,"around"==r){var c=e.sel.ranges[a],f=ot(c.head,c.anchor)<0;n[a]=new io(f?u:l,f?l:u)}else n[a]=new io(l,l)}return new no(n,e.sel.primIndex)}function po(e){e.doc.mode=Ve(e.options,e.doc.modeOption),ho(e)}function ho(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Di(e,100),e.state.modeGen++,e.curOp&&jn(e)}function vo(e,t){return 0==t.from.ch&&0==t.to.ch&&""==$(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function mo(e,t,r,n){function i(e){return r?r[e]:null}function o(e,r,i){lr(e,r,i,n),Cr(e,"change",e,t)}function a(e,t){for(var r=[],o=e;o<t;++o)r.push(new sr(u[o],i(o),n));return r}var s=t.from,l=t.to,u=t.text,c=Ye(e,s.line),f=Ye(e,l.line),p=$(u),d=i(u.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(vo(e,t)){var v=a(0,u.length-1);o(f,f.text,d),h&&e.remove(s.line,h),v.length&&e.insert(s.line,v)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+p+c.text.slice(l.ch),d);else{var m=a(1,u.length-1);m.push(new sr(p+c.text.slice(l.ch),d,n)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,m)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,p+f.text.slice(l.ch),d);var g=a(1,u.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}Cr(e,"change",e,t)}function go(e,t,r){function n(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;r&&!l||(t(s.doc,l),n(s.doc,e,l))}}}n(e,null,!0)}function yo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Ln(e),po(e),bo(e),e.options.lineWrapping||ar(e),e.options.mode=t.modeOption,jn(e)}function bo(e){("rtl"==e.doc.direction?L:T)(e.display.lineDiv,"CodeMirror-rtl")}function xo(e){Mi(e,(function(){bo(e),jn(e)}))}function Ao(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function wo(e,t){var r={from:st(t.from),to:so(t),text:Xe(e,t.from,t.to)};return Oo(e,r,t.from.line,t.to.line+1),go(e,(function(e){return Oo(e,r,t.from.line,t.to.line+1)}),!0),r}function _o(e){while(e.length){var t=$(e);if(!t.ranges)break;e.pop()}}function Eo(e,t){return t?(_o(e.done),$(e.done)):e.done.length&&!$(e.done).ranges?$(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),$(e.done)):void 0}function ko(e,t,r,n){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Eo(i,i.lastOp==n)))a=$(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(wo(e,t));else{var l=$(i.done);l&&l.ranges||So(e.sel,i.done),o={changes:[wo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,a||ge(e,"historyAdded")}function To(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Co(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||To(e,o,$(i.done),t))?i.done[i.done.length-1]=t:So(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&_o(i.undone)}function So(e,t){var r=$(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Oo(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),(function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o}))}function Mo(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function Po(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(Mo(r[i]));return n}function Bo(e,t){var r=Po(e,t),n=Ft(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue e;o.push(l)}else a&&(r[i]=a)}return r}function Lo(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?no.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];n.push({changes:s});for(var l=0;l<a.length;++l){var u=a[l],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\d+)$/))&&z(t,Number(c[1]))>-1&&($(s)[f]=u[f],delete u[f])}}}return n}function Do(e,t,r,n){if(n){var i=e.anchor;if(r){var o=ot(t,i)<0;o!=ot(r,i)<0?(i=t,t=r):o!=ot(t,r)<0&&(t=r)}return new io(i,t)}return new io(r||t,t)}function Io(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Uo(e,new no([Do(e.sel.primary(),t,r,i)],0),n)}function jo(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=Do(e.sel.ranges[o],t[o],null,i);var a=oo(e.cm,n,e.sel.primIndex);Uo(e,a,r)}function Ro(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,Uo(e,oo(e.cm,i,e.sel.primIndex),n)}function Fo(e,t,r,n){Uo(e,ao(t,r),n)}function No(e,t,r){var n={ranges:t.ranges,update:function(t){this.ranges=[];for(var r=0;r<t.length;r++)this.ranges[r]=new io(ft(e,t[r].anchor),ft(e,t[r].head))},origin:r&&r.origin};return ge(e,"beforeSelectionChange",e,n),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?oo(e.cm,n.ranges,n.ranges.length-1):t}function zo(e,t,r){var n=e.history.done,i=$(n);i&&i.ranges?(n[n.length-1]=t,Ho(e,t,r)):Uo(e,t,r)}function Uo(e,t,r){Ho(e,t,r),Co(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Ho(e,t,r){(xe(e,"beforeSelectionChange")||e.cm&&xe(e.cm,"beforeSelectionChange"))&&(t=No(e,t,r));var n=r&&r.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Vo(e,Wo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||ai(e.cm)}function Vo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),Cr(e,"cursorActivity",e))}function Qo(e){Vo(e,Wo(e,e.sel,null,!1))}function Wo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=qo(e,a.anchor,s&&s.anchor,r,n),u=qo(e,a.head,s&&s.head,r,n);(i||l!=a.anchor||u!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new io(l,u))}return i?oo(e.cm,i,t.primIndex):t}function Ko(e,t,r,n,i){var o=Ye(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,u="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,c="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(r){var f=l.find(n<0?1:-1),p=void 0;if((n<0?c:u)&&(f=Go(e,f,-n,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=ot(f,r))&&(n<0?p<0:p>0))return Ko(e,f,t,n,i)}var d=l.find(n<0?-1:1);return(n<0?u:c)&&(d=Go(e,d,n,d.line==t.line?o:null)),d?Ko(e,d,t,n,i):null}}return t}function qo(e,t,r,n,i){var o=n||1,a=Ko(e,t,r,o,i)||!i&&Ko(e,t,r,o,!0)||Ko(e,t,r,-o,i)||!i&&Ko(e,t,r,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Go(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?ft(e,it(t.line-1)):null:r>0&&t.ch==(n||Ye(e,t.line)).text.length?t.line<e.first+e.size-1?it(t.line+1,0):null:new it(t.line,t.ch+r)}function $o(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),V)}function Yo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(t,r,i,o){t&&(n.from=ft(e,t)),r&&(n.to=ft(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o)}),ge(e,"beforeChange",e,n),e.cm&&ge(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function Xo(e,t,r){if(e.cm){if(!e.cm.curOp)return Pi(e.cm,Xo)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"))||(t=Yo(e,t,!0),t)){var n=St&&!r&&zt(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)Zo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else Zo(e,t)}}function Zo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var r=uo(e,t);ko(e,t,r,e.cm?e.cm.curOp.id:NaN),ta(e,t,r,Ft(e,t));var n=[];go(e,(function(e,r){r||-1!=z(n,e.history)||(aa(e.history,t),n.push(e.history)),ta(e,t,null,Ft(e,t))}))}}function Jo(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,u=0;u<s.length;u++)if(i=s[u],r?i.ranges&&!i.equals(e.sel):!i.ranges)break;if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(n)return void s.push(i);break}if(So(i,l),r&&!i.equals(e.sel))return void Uo(e,i,{clearRedo:!1});a=i}var c=[];So(a,l),l.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"),p=function(r){var n=i.changes[r];if(n.origin=t,f&&!Yo(e,n,!1))return s.length=0,{};c.push(wo(e,n));var o=r?uo(e,n):$(s);ta(e,n,o,Bo(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:so(n)});var a=[];go(e,(function(e,t){t||-1!=z(a,e.history)||(aa(e.history,n),a.push(e.history)),ta(e,n,null,Bo(e,n))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new no(Y(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){jn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)Rn(e.cm,n,"gutter")}}function ta(e,t,r,n){if(e.cm&&!e.cm.curOp)return Pi(e.cm,ta)(e,t,r,n);if(t.to.line<e.first)ea(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i),t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[$(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:it(o,Ye(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Xe(e,t.from,t.to),r||(r=uo(e,t)),e.cm?ra(e.cm,t,n):mo(e,t,n),Ho(e,r,V),e.cantEdit&&qo(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function ra(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=et(Xt(Ye(n,o.line))),n.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),n.sel.contains(t.from,t.to)>-1&&be(e),mo(n,t,r,Bn(e)),e.options.lineWrapping||(n.iter(l,o.line+t.text.length,(function(e){var t=or(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Ct(n,o.line),Di(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?jn(e):o.line!=a.line||1!=t.text.length||vo(e.doc,t)?jn(e,o.line,a.line+1,u):Rn(e,o.line,"text");var c=xe(e,"changes"),f=xe(e,"change");if(f||c){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&Cr(e,"change",e,p),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function na(e,t,r,n,i){var o;n||(n=r),ot(n,r)<0&&(o=[n,r],r=o[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Xo(e,{from:r,to:n,text:t,origin:i})}function ia(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function oa(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ia(o.ranges[s].anchor,t,r,n),ia(o.ranges[s].head,t,r,n)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(r<u.from.line)u.from=it(u.from.line+n,u.from.ch),u.to=it(u.to.line+n,u.to.ch);else if(t<=u.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function aa(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;oa(e.done,r,n,i),oa(e.undone,r,n,i)}function sa(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Ye(e,ct(e,t)):i=et(t),null==i?null:(n(o,i)&&e.cm&&Rn(e.cm,i,r),o)}function la(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function ua(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}io.prototype.from=function(){return ut(this.anchor,this.head)},io.prototype.to=function(){return lt(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,ur(i),Cr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof la))){var s=[];this.collapse(s),this.children=[new la(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new la(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),r=new ua(t);if(e.parent){e.size-=r.size,e.height-=r.height;var n=z(e.parent.children,e);e.parent.children.splice(n+1,0,r)}else{var i=new ua(e.children);i.parent=e,e.children=[i,r],e=i}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ca=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};function fa(e,t,r){ir(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oi(e,r)}function pa(e,t,r,n){var i=new ca(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),sa(e,t,"widget",(function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!rr(e,t)){var n=ir(t)<e.scrollTop;Je(t,t.height+Ur(i)),n&&oi(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Cr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:et(t)),i}ca.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=et(r);if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var o=Ur(this);Je(r,Math.max(0,r.height-o)),e&&(Mi(e,(function(){fa(e,r,-o),Rn(e,n,"widget")})),Cr(e,"lineWidgetCleared",e,this,n))}},ca.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=Ur(this)-t;i&&(rr(this.doc,n)||Je(n,n.height+i),r&&Mi(r,(function(){r.curOp.forceUpdate=!0,fa(r,n,i),Cr(r,"lineWidgetChanged",r,e,et(n))})))},Ae(ca);var da=0,ha=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++da};function va(e,t,r,n,i){if(n&&n.shared)return ga(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return Pi(e.cm,va)(e,t,r,n,i);var o=new ha(e,i),a=ot(t,r);if(n&&R(n,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=M("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Yt(e,t.line,t,r,o)||t.line!=r.line&&Yt(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pt()}o.addToHistory&&ko(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,r.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Xt(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Je(e,0),It(e,new Bt(o,l==t.line?t.ch:null,l==r.line?r.ch:null)),++l})),o.collapsed&&e.iter(t.line,r.line+1,(function(t){rr(e,t)&&Je(t,0)})),o.clearOnEnter&&he(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Mt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++da,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)jn(u,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=r.line;c++)Rn(u,c,"text");o.atomic&&Qo(u.doc),Cr(u,"markerAdded",u,o)}return o}ha.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&wi(e),xe(this,"clear")){var r=this.find();r&&Cr(this,"clear",r.from,r.to)}for(var n=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Lt(a.markedSpans,this);e&&!this.collapsed?Rn(e,et(a),"text"):e&&(null!=s.to&&(i=et(a)),null!=s.from&&(n=et(a))),a.markedSpans=Dt(a.markedSpans,s),null==s.from&&this.collapsed&&!rr(this.doc,a)&&e&&Je(a,Sn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=Xt(this.lines[l]),c=or(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&jn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Qo(e.doc)),e&&Cr(e,"markerCleared",e,this,n,i),t&&_i(e),this.parent&&this.parent.clear()}},ha.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Lt(o.markedSpans,this);if(null!=a.from&&(r=it(t?o:et(o),a.from),-1==e))return r;if(null!=a.to&&(n=it(t?o:et(o),a.to),1==e))return n}return r&&{from:r,to:n}},ha.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&Mi(n,(function(){var i=t.line,o=et(t.line),a=Jr(n,o);if(a&&(un(a),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!rr(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var l=Ur(r)-s;l&&Je(i,i.height+l)}Cr(n,"markerChanged",n,e)}))},ha.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=z(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ha.prototype.detachLine=function(e){if(this.lines.splice(z(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Ae(ha);var ma=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function ga(e,t,r,n,i){n=R(n),n.shared=!1;var o=[va(e,t,r,n,i)],a=o[0],s=n.widgetNode;return go(e,(function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(va(e,ft(e,t),ft(e,r),n,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=$(o)})),new ma(o,a)}function ya(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),(function(e){return e.parent}))}function ba(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var s=va(e,o,a,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}function xa(e){for(var t=function(t){var r=e[t],n=[r.primary.doc];go(r.primary.doc,(function(e){return n.push(e)}));for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==z(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}ma.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Cr(this,"clear")}},ma.prototype.find=function(e,t){return this.primary.find(e,t)},Ae(ma);var Aa=0,wa=function(e,t,r,n,i){if(!(this instanceof wa))return new wa(e,t,r,n,i);null==r&&(r=0),ua.call(this,[new la([new sr("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=it(r,0);this.sel=ao(o),this.history=new Ao(null),this.id=++Aa,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),mo(this,{from:o,to:o,text:e}),Uo(this,ao(o),V)};wa.prototype=J(ua.prototype,{constructor:wa,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ze(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Li((function(e){var t=it(this.first,0),r=this.first+this.size-1;Xo(this,{from:t,to:it(r,Ye(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&si(this.cm,0,0),Uo(this,ao(t),V)})),replaceRange:function(e,t,r,n){t=ft(this,t),r=r?ft(this,r):t,na(this,e,t,r,n)},getRange:function(e,t,r){var n=Xe(this,ft(this,e),ft(this,t));return!1===r?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e))return Ye(this,e)},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ye(this,e)),Xt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ft(this,e)},getCursor:function(e){var t,r=this.sel.primary();return t=null==e||"head"==e?r.head:"anchor"==e?r.anchor:"end"==e||"to"==e||!1===e?r.to():r.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Li((function(e,t,r){Fo(this,ft(this,"number"==typeof e?it(e,t||0):e),null,r)})),setSelection:Li((function(e,t,r){Fo(this,ft(this,e),ft(this,t||e),r)})),extendSelection:Li((function(e,t,r){Io(this,ft(this,e),t&&ft(this,t),r)})),extendSelections:Li((function(e,t){jo(this,dt(this,e),t)})),extendSelectionsBy:Li((function(e,t){var r=Y(this.sel.ranges,e);jo(this,dt(this,r),t)})),setSelections:Li((function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new io(ft(this,e[i].anchor),ft(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Uo(this,oo(this.cm,n,t),r)}})),addSelection:Li((function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new io(ft(this,e),ft(this,t||e))),Uo(this,oo(this.cm,n,n.length-1),r)})),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Xe(this,r[n].from(),r[n].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Xe(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:Li((function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r}}for(var s=t&&"end"!=t&&fo(this,n,t),l=n.length-1;l>=0;l--)Xo(this,n[l]);s?zo(this,s):this.cm&&ai(this.cm)})),undo:Li((function(){Jo(this,"undo")})),redo:Li((function(){Jo(this,"redo")})),undoSelection:Li((function(){Jo(this,"undo",!0)})),redoSelection:Li((function(){Jo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new Ao(this.history.maxGeneration),go(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Lo(this.history.done),undone:Lo(this.history.undone)}},setHistory:function(e){var t=this.history=new Ao(this.history.maxGeneration);t.done=Lo(e.done.slice(0),null,!0),t.undone=Lo(e.undone.slice(0),null,!0)},setGutterMarker:Li((function(e,t,r){return sa(this,e,"gutter",(function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&ne(n)&&(e.gutterMarkers=null),!0}))})),clearGutter:Li((function(e){var t=this;this.iter((function(r){r.gutterMarkers&&r.gutterMarkers[e]&&sa(t,r,"gutter",(function(){return r.gutterMarkers[e]=null,ne(r.gutterMarkers)&&(r.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!rt(this,e))return null;if(t=e,e=Ye(this,e),!e)return null}else if(t=et(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Li((function(e,t,r){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(E(r).test(e[n]))return!1;e[n]+=" "+r}else e[n]=r;return!0}))})),removeLineClass:Li((function(e,t,r){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(E(r));if(!o)return!1;var a=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Li((function(e,t,r){return pa(this,e,t,r)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return va(this,ft(this,e),ft(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=ft(this,e),va(this,e,e,r,"bookmark")},findMarksAt:function(e){e=ft(this,e);var t=[],r=Ye(this,e.line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=ft(this,e),t=ft(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||r&&!r(l.marker)||n.push(l.marker.parent||l.marker)}++i})),n},getAllMarks:function(){var e=[];return this.iter((function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)})),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r})),ft(this,it(r,t))},indexFromPos:function(e){e=ft(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+r})),t},copy:function(e){var t=new wa(Ze(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new wa(Ze(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ba(n,ya(this)),n},unlinkDoc:function(e){if(e instanceof js&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var r=this.linked[t];if(r.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),xa(ya(this));break}}if(e.history==this.history){var n=[e.id];go(e,(function(e){return n.push(e.id)}),!0),e.history=new Ao(null),e.history.done=Lo(this.history.done,n),e.history.undone=Lo(this.history.undone,n)}},iterLinkedDocs:function(e){go(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Le(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Li((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&xo(this.cm))}))}),wa.prototype.eachLine=wa.prototype.iter;var _a=0;function Ea(e){var t=this;if(Ca(t),!ye(t,e)&&!Hr(t.display,e)){we(e),a&&(_a=+new Date);var r=Dn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),s=0,l=function(){++s==i&&Pi(t,(function(){r=ft(t.doc,r);var e={from:r,to:r,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Xo(t.doc,e),zo(t.doc,ao(ft(t.doc,r),ft(t.doc,so(e))))}))()},u=function(e,r){if(t.options.allowDropFileTypes&&-1==z(t.options.allowDropFileTypes,e.type))l();else{var n=new FileReader;n.onerror=function(){return l()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[r]=e),l()},n.readAsText(e)}},c=0;c<n.length;c++)u(n[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData("Text");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),Ho(t.doc,ao(r,r)),p)for(var d=0;d<p.length;++d)na(t.doc,"",p[d].anchor,p[d].head,"drag");t.replaceSelection(f,"around","paste"),t.display.input.focus()}}catch(h){}}}}function ka(e,t){if(a&&(!e.state.draggingText||+new Date-_a<100))ke(t);else if(!ye(e,t)&&!Hr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var r=O("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",f&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),f&&r.parentNode.removeChild(r)}}function Ta(e,t){var r=Dn(e,t);if(r){var n=document.createDocumentFragment();Qn(e,r,n),e.display.dragCursor||(e.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),S(e.display.dragCursor,n)}}function Ca(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Sa(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation((function(){for(var t=0;t<r.length;t++)e(r[t])}))}}var Oa=!1;function Ma(){Oa||(Pa(),Oa=!0)}function Pa(){var e;he(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Sa(Ba)}),100))})),he(window,"blur",(function(){return Sa(Xn)}))}function Ba(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var La={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Da=0;Da<10;Da++)La[Da+48]=La[Da+96]=String(Da);for(var Ia=65;Ia<=90;Ia++)La[Ia]=String.fromCharCode(Ia);for(var ja=1;ja<=12;ja++)La[ja+111]=La[ja+63235]="F"+ja;var Ra={};function Fa(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Na(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=Y(r.split(" "),Fa),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=n):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[r]}for(var u in t)e[u]=t[u];return e}function za(e,t,r,n){t=Qa(t);var i=t.call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return za(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var a=za(e,t.fallthrough[o],r,n);if(a)return a}}}function Ua(e){var t="string"==typeof e?e:La[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Ha(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(w?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(w?t.ctrlKey:t.metaKey)&&"Mod"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Va(e,t){if(f&&34==e.keyCode&&e["char"])return!1;var r=La[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Ha(r,e,t))}function Qa(e){return"string"==typeof e?Ra[e]:e}function Wa(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){var o=t(r[i]);while(n.length&&ot(o.from,$(n).to)<=0){var a=n.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}n.push(o)}Mi(e,(function(){for(var t=n.length-1;t>=0;t--)na(e.doc,"",n[t].from,n[t].to,"+delete");ai(e)}))}function Ka(e,t,r){var n=ae(e.text,t+r,r);return n<0||n>e.text.length?null:n}function qa(e,t,r){var n=Ka(e,t.ch,r);return null==n?null:new it(t.line,n,r<0?"after":"before")}function Ga(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=pe(r,t.doc.direction);if(o){var a,s=i<0?$(o):o[0],l=i<0==(1==s.level),u=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=en(t,r);a=i<0?r.text.length-1:0;var f=tn(t,c,a).top;a=se((function(e){return tn(t,c,e).top==f}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=Ka(r,a,1))}else a=i<0?s.to:s.from;return new it(n,a,u)}}return new it(n,i<0?r.text.length:0,i<0?"before":"after")}function $a(e,t,r,n){var i=pe(t,e.doc.direction);if(!i)return qa(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ce(i,r.ch,r.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(n>0?a.to>r.ch:a.from<r.ch))return qa(t,r,n);var s,l=function(e,r){return Ka(t,e instanceof it?e.ch:e,r)},u=function(r){return e.options.lineWrapping?(s=s||en(e,t),_n(e,t,s,r)):{begin:0,end:t.text.length}},c=u("before"==r.sticky?l(r,-1):r.ch);if("rtl"==e.doc.direction||1==a.level){var f=1==a.level==n<0,p=l(r,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=c.end:p>=a.from&&p>=c.begin)){var d=f?"before":"after";return new it(r.line,p,d)}}var h=function(e,t,n){for(var o=function(e,t){return t?new it(r.line,l(e,1),"before"):new it(r.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),u=s?n.begin:l(n.end,-1);if(a.from<=u&&u<a.to)return o(u,s);if(u=s?a.from:l(a.to,-1),n.begin<=u&&u<n.end)return o(u,s)}},v=h(o+n,n,c);if(v)return v;var m=n>0?c.end:l(c.begin,-1);return null==m||n>0&&m==t.text.length||(v=h(n>0?0:i.length-1,n,u(m)),!v)?null:v}Ra.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ra.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ra.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ra.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ra["default"]=y?Ra.macDefault:Ra.pcDefault;var Ya={selectAll:$o,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return Wa(e,(function(t){if(t.empty()){var r=Ye(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:it(t.head.line+1,0)}:{from:t.head,to:it(t.head.line,r)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Wa(e,(function(t){return{from:it(t.from().line,0),to:ft(e.doc,it(t.to().line+1,0))}}))},delLineLeft:function(e){return Wa(e,(function(e){return{from:it(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Wa(e,(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return{from:n,to:t.from()}}))},delWrappedLineRight:function(e){return Wa(e,(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Xa(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Za(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")}),W)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")}),W)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?Ja(e,t.head):n}),W)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),a=F(e.getLine(o.line),o.ch,n);t.push(G(n-a%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Mi(e,(function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,o=Ye(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new it(i.line,i.ch-1)),i.ch>0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ye(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}r.push(new io(i,i))}e.setSelections(r)}))},newlineAndIndent:function(e){return Mi(e,(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);ai(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Xa(e,t){var r=Ye(e.doc,t),n=Xt(r);return n!=r&&(t=et(n)),Ga(!0,e,n,t,1)}function Za(e,t){var r=Ye(e.doc,t),n=Zt(r);return n!=r&&(t=et(n)),Ga(!0,e,r,t,-1)}function Ja(e,t){var r=Xa(e,t.line),n=Ye(e.doc,r.line),i=pe(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return it(r.line,a?0:o,r.sticky)}return r}function es(e,t,r){if("string"==typeof t&&(t=Ya[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=H}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}function ts(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=za(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&za(t,e.options.extraKeys,r,e)||za(t,e.options.keyMap,r,e)}var rs=new N;function ns(e,t,r,n){var i=e.state.keySeq;if(i){if(Ua(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rs.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),is(e,i+" "+t,r,n))return!0}return is(e,t,r,n)}function is(e,t,r,n){var i=ts(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Cr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(we(r),qn(e)),!!i}function os(e,t){var r=Va(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?ns(e,"Shift-"+r,t,(function(t){return es(e,t,!0)}))||ns(e,r,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return es(e,t)})):ns(e,r,t,(function(t){return es(e,t)})))}function as(e,t,r){return ns(e,"'"+r+"'",t,(function(t){return es(e,t,!0)}))}var ss=null;function ls(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&(t.curOp.focus=B(),!ye(t,e))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=os(t,e);f&&(ss=i?n:null,i||88!=n||Ie||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!y&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),me(document,"keyup",r),me(document,"mouseover",r))}L(t,"CodeMirror-crosshair"),he(document,"keyup",r),he(document,"mouseover",r)}function cs(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function fs(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&!(Hr(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(f&&r==ss)return ss=null,void we(e);if(!f||e.which&&!(e.which<10)||!os(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(as(t,e,i)||t.display.input.onKeyPress(e))}}}var ps,ds,hs=400,vs=function(e,t,r){this.time=e,this.pos=t,this.button=r};function ms(e,t){var r=+new Date;return ds&&ds.compare(r,e,t)?(ps=ds=null,"triple"):ps&&ps.compare(r,e,t)?(ds=new vs(r,e,t),ps=null,"double"):(ps=new vs(r,e,t),ds=null,"single")}function gs(e){var t=this,r=t.display;if(!(ye(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,Hr(r,e))l||(r.scroller.draggable=!1,setTimeout((function(){return r.scroller.draggable=!0}),100));else if(!Ts(t,e)){var n=Dn(t,e),i=Ce(e),o=n?ms(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&ys(t,i,n,o,e)||(1==i?n?xs(t,n,o,e):Te(e)==r.scroller&&we(e):2==i?(n&&Io(t.doc,n),setTimeout((function(){return r.input.focus()}),20)):3==i&&(_?t.display.input.onContextMenu(e):$n(t)))}}function ys(e,t,r,n,i){var o="Click";return"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,ns(e,Ha(o,i),i,(function(t){if("string"==typeof t&&(t=Ya[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=H}finally{e.state.suppressEdits=!1}return n}))}function bs(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=b?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),null==i.addNew&&(i.addNew=y?r.metaKey:r.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?r.altKey:r.ctrlKey)),i}function xs(e,t,r,n){a?setTimeout(j(Gn,e),0):e.curOp.focus=B();var i,o=bs(e,r,n),s=e.doc.sel;e.options.dragDrop&&Me&&!e.isReadOnly()&&"single"==r&&(i=s.contains(t))>-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?As(e,n,t,o):_s(e,n,t,o)}function As(e,t,r,n){var i=e.display,o=!1,u=Pi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,me(i.wrapper.ownerDocument,"mouseup",u),me(i.wrapper.ownerDocument,"mousemove",c),me(i.scroller,"dragstart",f),me(i.scroller,"drop",u),o||(we(t),n.addNew||Io(e.doc,r,null,null,n.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!n.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),he(i.wrapper.ownerDocument,"mouseup",u),he(i.wrapper.ownerDocument,"mousemove",c),he(i.scroller,"dragstart",f),he(i.scroller,"drop",u),$n(e),setTimeout((function(){return i.input.focus()}),20)}function ws(e,t,r){if("char"==r)return new io(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new io(it(t.line,0),ft(e.doc,it(t.line+1,0)));var n=r(e,t);return new io(n.from,n.to)}function _s(e,t,r,n){var i=e.display,o=e.doc;we(t);var a,s,l=o.sel,u=l.ranges;if(n.addNew&&!n.extend?(s=o.sel.contains(r),a=s>-1?u[s]:new io(r,r)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==n.unit)n.addNew||(a=new io(r,r)),r=Dn(e,t,!0,!0),s=-1;else{var c=ws(e,r,n.unit);a=n.extend?Do(a,c.anchor,c.head,n.extend):c}n.addNew?-1==s?(s=u.length,Uo(o,oo(e,u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==n.unit&&!n.extend?(Uo(o,oo(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Ro(o,s,a,Q):(s=0,Uo(o,new no([a],0),Q),l=o.sel);var f=r;function p(t){if(0!=ot(f,t))if(f=t,"rectangle"==n.unit){for(var i=[],u=e.options.tabSize,c=F(Ye(o,r.line).text,r.ch,u),p=F(Ye(o,t.line).text,t.ch,u),d=Math.min(c,p),h=Math.max(c,p),v=Math.min(r.line,t.line),m=Math.min(e.lastLine(),Math.max(r.line,t.line));v<=m;v++){var g=Ye(o,v).text,y=K(g,d,u);d==h?i.push(new io(it(v,y),it(v,y))):g.length>y&&i.push(new io(it(v,y),it(v,K(g,h,u))))}i.length||i.push(new io(r,r)),Uo(o,oo(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=a,A=ws(e,t,n.unit),w=x.anchor;ot(A.anchor,w)>0?(b=A.head,w=ut(x.from(),A.anchor)):(b=A.anchor,w=lt(x.to(),A.head));var _=l.ranges.slice(0);_[s]=Es(e,new io(ft(o,w),b)),Uo(o,oo(e,_,s),Q)}}var d=i.wrapper.getBoundingClientRect(),h=0;function v(t){var r=++h,a=Dn(e,t,!0,"rectangle"==n.unit);if(a)if(0!=ot(a,f)){e.curOp.focus=B(),p(a);var s=ei(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Pi(e,(function(){h==r&&v(t)})),150)}else{var l=t.clientY<d.top?-20:t.clientY>d.bottom?20:0;l&&setTimeout(Pi(e,(function(){h==r&&(i.scroller.scrollTop+=l,v(t))})),50)}}function m(t){e.state.selectingText=!1,h=1/0,t&&(we(t),i.input.focus()),me(i.wrapper.ownerDocument,"mousemove",g),me(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var g=Pi(e,(function(e){0!==e.buttons&&Ce(e)?v(e):m(e)})),y=Pi(e,m);e.state.selectingText=y,he(i.wrapper.ownerDocument,"mousemove",g),he(i.wrapper.ownerDocument,"mouseup",y)}function Es(e,t){var r=t.anchor,n=t.head,i=Ye(e.doc,r.line);if(0==ot(r,n)&&r.sticky==n.sticky)return t;var o=pe(i);if(!o)return t;var a=ce(o,r.ch,r.sticky),s=o[a];if(s.from!=r.ch&&s.to!=r.ch)return t;var l,u=a+(s.from==r.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(n.line!=r.line)l=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ce(o,n.ch,n.sticky),f=c-a||(n.ch-r.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var p=o[u+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,v=d?"after":"before";return r.ch==h&&r.sticky==v?t:new io(new it(r.line,h,v),n)}function ks(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(p){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&we(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!xe(e,r))return Ee(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var u=a.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=i){var c=tt(e.doc,o),f=e.display.gutterSpecs[l];return ge(e,r,e,c,f.className,t),Ee(t)}}}function Ts(e,t){return ks(e,t,"gutterClick",!0)}function Cs(e,t){Hr(e.display,t)||Ss(e,t)||ye(e,t,"contextmenu")||_||e.display.input.onContextMenu(t)}function Ss(e,t){return!!xe(e,"gutterContextMenu")&&ks(e,t,"gutterContextMenu",!1)}function Os(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fn(e)}vs.prototype.compare=function(e,t,r){return this.time+hs>e&&0==ot(t,this.pos)&&r==this.button};var Ms={toString:function(){return"CodeMirror.Init"}},Ps={},Bs={};function Ls(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=Ms&&i(e,t,r)}:i)}e.defineOption=r,e.Init=Ms,r("value","",(function(e,t){return e.setValue(t)}),!0),r("mode",null,(function(e,t){e.doc.modeOption=t,po(e)}),!0),r("indentUnit",2,po,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,(function(e){ho(e),fn(e),jn(e)}),!0),r("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(it(n,o))}n++}));for(var i=r.length-1;i>=0;i--)na(e.doc,t,r[i],it(r[i].line,r[i].ch+t.length))}})),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=Ms&&e.refresh()})),r("specialCharPlaceholder",hr,(function(e){return e.refresh()}),!0),r("electricChars",!0),r("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),r("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),r("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),r("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),r("rtlMoveVisually",!x),r("wholeLineUpdateBefore",!0),r("theme","default",(function(e){Os(e),Yi(e)}),!0),r("keyMap","default",(function(e,t,r){var n=Qa(t),i=r!=Ms&&Qa(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)})),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Is,!0),r("gutters",[],(function(e,t){e.display.gutterSpecs=Gi(t,e.options.lineNumbers),Yi(e)}),!0),r("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Pn(e.display)+"px":"0",e.refresh()}),!0),r("coverGutterNextToScrollbar",!1,(function(e){return gi(e)}),!0),r("scrollbarStyle","native",(function(e){xi(e),gi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),r("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Gi(e.options.gutters,t),Yi(e)}),!0),r("firstLineNumber",1,Yi,!0),r("lineNumberFormatter",(function(e){return e}),Yi,!0),r("showCursorWhenSelecting",!1,Hn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,(function(e,t){"nocursor"==t&&(Xn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),r("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),r("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),r("dragDrop",!0,Ds),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,Hn,!0),r("singleCursorHeightPerLine",!0,Hn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,ho,!0),r("addModeClass",!1,ho,!0),r("pollInterval",100),r("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),r("historyEventDelay",1250),r("viewportMargin",10,(function(e){return e.refresh()}),!0),r("maxHighlightLength",1e4,ho,!0),r("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),r("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),r("autofocus",null),r("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),r("phrases",null)}function Ds(e,t,r){var n=r&&r!=Ms;if(!t!=!n){var i=e.display.dragFunctions,o=t?he:me;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Is(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),ar(e)),Ln(e),jn(e),fn(e),setTimeout((function(){return gi(e)}),100)}function js(e,t){var r=this;if(!(this instanceof js))return new js(e,t);this.options=t=t?R(t):{},R(Ps,t,!1);var n=t.value;"string"==typeof n?n=new wa(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new js.inputStyles[t.inputStyle](this),o=this.display=new Xi(e,n,i,t);for(var u in o.wrapper.CodeMirror=this,Os(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new N,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return r.display.input.reset(!0)}),20),Rs(this),Ma(),wi(this),this.curOp.forceUpdate=!0,yo(this,n),t.autofocus&&!g||this.hasFocus()?setTimeout(j(Yn,this),20):Xn(this),Bs)Bs.hasOwnProperty(u)&&Bs[u](this,t[u],Ms);qi(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Fs.length;++c)Fs[c](this);_i(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Rs(e){var t=e.display;he(t.scroller,"mousedown",Pi(e,gs)),he(t.scroller,"dblclick",a&&s<11?Pi(e,(function(t){if(!ye(e,t)){var r=Dn(e,t);if(r&&!Ts(e,t)&&!Hr(e.display,t)){we(t);var n=e.findWordAt(r);Io(e.doc,n.anchor,n.head)}}})):function(t){return ye(e,t)||we(t)}),he(t.scroller,"contextmenu",(function(t){return Cs(e,t)})),he(t.input.getField(),"contextmenu",(function(r){t.scroller.contains(r.target)||Cs(e,r)}));var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout((function(){return t.activeTouch=null}),1e3),n=t.activeTouch,n.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400}he(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!Ts(e,i)){t.input.ensurePolled(),clearTimeout(r);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),he(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),he(t.scroller,"touchend",(function(r){var n=t.activeTouch;if(n&&!Hr(t,r)&&null!=n.left&&!n.moved&&new Date-n.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!n.prev||l(n,n.prev)?new io(a,a):!n.prev.prev||l(n,n.prev.prev)?e.findWordAt(a):new io(it(a.line,0),ft(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),we(r)}i()})),he(t.scroller,"touchcancel",i),he(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(fi(e,t.scroller.scrollTop),di(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e))})),he(t.scroller,"mousewheel",(function(t){return ro(e,t)})),he(t.scroller,"DOMMouseScroll",(function(t){return ro(e,t)})),he(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||ke(t)},over:function(t){ye(e,t)||(Ta(e,t),ke(t))},start:function(t){return ka(e,t)},drop:Pi(e,Ea),leave:function(t){ye(e,t)||Ca(e)}};var u=t.input.getField();he(u,"keyup",(function(t){return cs.call(e,t)})),he(u,"keydown",Pi(e,ls)),he(u,"keypress",Pi(e,fs)),he(u,"focus",(function(t){return Yn(e,t)})),he(u,"blur",(function(t){return Xn(e,t)}))}js.defaults=Ps,js.optionHandlers=Bs;var Fs=[];function Ns(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=yt(e,t).state:r="prev");var a=e.options.tabSize,s=Ye(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&(u=o.mode.indent(i,s.text.slice(c.length),s.text),u==H||u>150)){if(!n)return;r="prev"}}else u=0,r="not";"prev"==r?u=t>o.first?F(Ye(o,t-1).text,null,a):0:"add"==r?u=l+e.options.indentUnit:"subtract"==r?u=l-e.options.indentUnit:"number"==typeof r&&(u=l+r),u=Math.max(0,u);var f="",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/a);d;--d)p+=a,f+="\t";if(p<u&&(f+=G(u-p)),f!=c)return na(o,f,it(t,0),it(t,c.length),"+input"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var v=o.sel.ranges[h];if(v.head.line==t&&v.head.ch<c.length){var m=it(t,c.length);Ro(o,h,new io(m,m));break}}}js.defineInitHook=function(e){return Fs.push(e)};var zs=null;function Us(e){zs=e}function Hs(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Le(t),u=null;if(s&&n.ranges.length>1)if(zs&&zs.text.join("\n")==t){if(n.ranges.length%zs.text.length==0){u=[];for(var c=0;c<zs.text.length;c++)u.push(o.splitLines(zs.text[c]))}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(u=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=n.ranges.length-1;p>=0;p--){var d=n.ranges[p],h=d.from(),v=d.to();d.empty()&&(r&&r>0?h=it(h.line,h.ch-r):e.state.overwrite&&!s?v=it(v.line,Math.min(Ye(o,v.line).text.length,v.ch+$(l).length)):s&&zs&&zs.lineWise&&zs.text.join("\n")==l.join("\n")&&(h=v=it(h.line,0)));var m={from:h,to:v,text:u?u[p%u.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Xo(e.doc,m),Cr(e,"inputRead",e,m)}t&&!s&&Qs(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Vs(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Mi(t,(function(){return Hs(t,r,0,null,"paste")})),!0}function Qs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Ns(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ye(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Ns(e,i.head.line,"smart"));a&&Cr(e,"electricInput",e,i.head.line)}}}function Ws(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:it(i,0),head:it(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Ks(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function qs(){var e=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=O("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),v&&(e.style.border="1px solid black"),Ks(e),t}function Gs(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&Pi(this,t[e])(this,r,i),ge(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Qa(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:Bi((function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");X(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},(function(e){return e.priority})),this.state.modeGen++,jn(this)})),removeOverlay:Bi((function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void jn(this)}})),indentLine:Bi((function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),rt(this.doc,e)&&Ns(this,e,t,r)})),indentSelection:Bi((function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(Ns(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&ai(this));else{var o=i.from(),a=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<r;++l)Ns(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[n].from().ch>0&&Ro(this.doc,n,new io(o,u[n].to()),V)}}})),getTokenAt:function(e,t){return _t(this,e,t)},getLineTokens:function(e,t){return _t(this,it(e),t,!0)},getTokenTypeAt:function(e){e=ft(this.doc,e);var t,r=gt(this,Ye(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]<o)){t=r[2*a+2];break}n=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&n.push(s)}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var l=0;l<i._global.length;l++){var u=i._global[l];u.pred(o,this)&&-1==z(n,u.val)&&n.push(u.val)}return n},getStateAfter:function(e,t){var r=this.doc;return e=ct(r,null==e?r.first+r.size-1:e),yt(this,e+1,t).state},cursorCoords:function(e,t){var r,n=this.doc.sel.primary();return r=null==e?n.head:"object"==typeof e?ft(this.doc,e):e?n.from():n.to(),yn(this,r,t||"page")},charCoords:function(e,t){return gn(this,ft(this.doc,e),t||"page")},coordsChar:function(e,t){return e=mn(this,e,t||"page"),An(this,e.left,e.top)},lineAtHeight:function(e,t){return e=mn(this,{top:e,left:0},t||"page").top,tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Ye(this.doc,e)}else n=e;return vn(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-ir(n):0)},defaultTextHeight:function(){return Sn(this.display)},defaultCharWidth:function(){return On(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o=this.display;e=yn(this,ft(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==n)a=e.top;else if("above"==n||"near"==n){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),r&&ni(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Bi(ls),triggerOnKeyPress:Bi(fs),triggerOnKeyUp:cs,triggerOnMouseDown:Bi(gs),execCommand:function(e){if(Ya.hasOwnProperty(e))return Ya[e].call(null,this)},triggerElectric:Bi((function(e){Qs(this,e)})),findPosH:function(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=ft(this.doc,e),a=0;a<t;++a)if(o=$s(this.doc,o,i,r,n),o.hitSide)break;return o},moveH:Bi((function(e,t){var r=this;this.extendSelectionsBy((function(n){return r.display.shift||r.doc.extend||n.empty()?$s(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()}),W)})),deleteH:Bi((function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):Wa(this,(function(r){var i=$s(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}}))})),findPosV:function(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var a=ft(this.doc,e),s=0;s<t;++s){var l=yn(this,a,"div");if(null==o?o=l.left:l.left=o,a=Ys(this,l,i,r),a.hitSide)break}return a},moveV:Bi((function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=yn(r,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Ys(r,s,e,t);return"page"==t&&a==n.sel.primary()&&oi(r,gn(r,l,"div").top-s.top),l}),W),i.length)for(var a=0;a<n.sel.ranges.length;a++)n.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=this.doc,r=Ye(t,e.line).text,n=e.ch,i=e.ch;if(r){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=r.length||!n?++i:--n;var a=r.charAt(n),s=re(a,o)?function(e){return re(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!re(e)};while(n>0&&s(r.charAt(n-1)))--n;while(i<r.length&&s(r.charAt(i)))++i}return new io(it(e.line,n),it(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==B()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Bi((function(e,t){si(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Kr(this)-this.display.barHeight,width:e.scrollWidth-Kr(this)-this.display.barWidth,clientHeight:Gr(this),clientWidth:qr(this)}},scrollIntoView:Bi((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:it(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?li(this,e):ci(this,e.from,e.to,e.margin)})),setSize:Bi((function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&cn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Rn(r,i,"widget");break}++i})),this.curOp.forceUpdate=!0,ge(this,"refresh",this)})),operation:function(e){return Mi(this,e)},startOperation:function(){return wi(this)},endOperation:function(){return _i(this)},refresh:Bi((function(){var e=this.display.cachedTextHeight;jn(this),this.curOp.forceUpdate=!0,fn(this),si(this,this.doc.scrollLeft,this.doc.scrollTop),Qi(this.display),(null==e||Math.abs(e-Sn(this.display))>.5||this.options.lineWrapping)&&Ln(this),ge(this,"refresh",this)})),swapDoc:Bi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),yo(this,e),fn(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Cr(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ae(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o})}}function $s(e,t,r,n,i){var o=t,a=r,s=Ye(e,t.line),l=i&&"rtl"==e.direction?-r:r;function u(){var r=t.line+l;return!(r<e.first||r>=e.first+e.size)&&(t=new it(r,t.ch,t.sticky),s=Ye(e,r))}function c(n){var o;if(o=i?$a(e.cm,s,t,r):qa(s,t,r),null==o){if(n||!u())return!1;t=Ga(i,e.cm,s,t.line,l)}else t=o;return!0}if("char"==n)c();else if("column"==n)c(!0);else if("word"==n||"group"==n)for(var f=null,p="group"==n,d=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;;h=!1){if(r<0&&!c(!h))break;var v=s.text.charAt(t.ch)||"\n",m=re(v,d)?"w":p&&"\n"==v?"n":!p||/\s/.test(v)?null:"p";if(!p||h||m||(m="s"),f&&f!=m){r<0&&(r=1,c(),t.sticky="after");break}if(m&&(f=m),r>0&&!c(!h))break}var g=qo(e,t,o,a,!0);return at(o,g)&&(g.hitSide=!0),g}function Ys(e,t,r,n){var i,o,a=e.doc,s=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*Sn(e.display),3);i=(r>0?t.bottom:t.top)+r*u}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;;){if(o=An(e,s,i),!o.outside)break;if(r<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*r}return o}var Xs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new N,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Zs(e,t){var r=Jr(e,t.line);if(!r||r.hidden)return null;var n=Ye(e.doc,t.line),i=Yr(r,n,t.line),o=pe(n,e.doc.direction),a="left";if(o){var s=ce(o,t.ch);a=s%2?"right":"left"}var l=on(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Js(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,r,n,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function u(e){return function(t){return t.id==e}}function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function f(e){e&&(c(),o+=e)}function p(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void f(r);var o,d=t.getAttribute("cm-marker");if(d){var h=e.findMarks(it(n,0),it(i+1,0),u(+d));return void(h.length&&(o=h[0].find(0))&&f(Xe(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var v=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;v&&c();for(var m=0;m<t.childNodes.length;m++)p(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),v&&(a=!0)}else 3==t.nodeType&&f(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(p(t),t==r)break;t=t.nextSibling,l=!1}return o}function rl(e,t,r){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[r],!n)return el(e.clipPos(it(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return nl(o,t,r)}}function nl(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!P(n,t))return el(it(et(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?$(e.rest):e.line;return el(it(et(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,r&&(r=a.nodeValue.length));while(s.parentNode!=n)s=s.parentNode;var l=e.measure,u=l.maps;function c(t,r,n){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?l.map:u[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==r){var c=et(i<0?e.line:e.rest[i]),f=o[a]+n;return(n<0||s!=t)&&(f=o[a+(n?1:0)]),it(c,f)}}}var f=c(a,s,r);if(f)return el(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-r:0;p;p=p.nextSibling){if(f=c(p,p.firstChild,0),f)return el(it(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,v=r;h;h=h.previousSibling){if(f=c(h,h.firstChild,-1),f)return el(it(f.line,f.ch+v),i);v+=h.textContent.length}}Xs.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(n,e)){if(n.somethingSelected())Us({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=Ws(n);Us({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation((function(){n.setSelections(t.ranges,0,V),n.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=zs.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=qs(),l=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),l.value=zs.text.join("\n");var u=document.activeElement;I(l),setTimeout((function(){n.display.lineSpace.removeChild(s),u.focus(),u==i&&r.showPrimarySelection()}),50)}}Ks(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),he(i,"paste",(function(e){!o(e)||ye(n,e)||Vs(e,n)||s<=11&&setTimeout(Pi(n,(function(){return t.updateFromDOM()})),20)})),he(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),he(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),he(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),he(i,"touchstart",(function(){return r.forceCompositionEnd()})),he(i,"input",(function(){t.composing||t.readFromDOMSoon()})),he(i,"copy",a),he(i,"cut",a)},Xs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Xs.prototype.prepareSelection=function(){var e=Vn(this.cm,!1);return e.focus=document.activeElement==this.div,e},Xs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Xs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Xs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=rl(t,e.anchorNode,e.anchorOffset),s=rl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=ot(ut(a,s),i)||0!=ot(lt(a,s),o)){var l=t.display.view,u=i.line>=t.display.viewFrom&&Zs(t,i)||{node:l[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Zs(t,o);if(!c){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;c={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(u&&c){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=k(u.node,u.offset,c.offset,c.node)}catch(v){}d&&(!r&&t.state.focused?(e.collapse(u.node,u.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Xs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Xs.prototype.showMultipleSelections=function(e){S(this.cm.display.cursorDiv,e.cursors),S(this.cm.display.selectionDiv,e.selection)},Xs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Xs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return P(this.div,t)},Xs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Xs.prototype.blur=function(){this.div.blur()},Xs.prototype.getField=function(){return this.div},Xs.prototype.supportsTouch=function(){return!0},Xs.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Mi(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},Xs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Xs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(m&&c&&this.cm.display.gutterSpecs.length&&Js(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=rl(t,e.anchorNode,e.anchorOffset),n=rl(t,e.focusNode,e.focusOffset);r&&n&&Mi(t,(function(){Uo(t.doc,ao(r,n),V),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)}))}}},Xs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>n.firstLine()&&(a=it(a.line-1,Ye(n.doc,a.line-1).length)),s.ch==Ye(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=it(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=In(n,a.line))?(t=et(i.view[0].line),r=i.view[0].node):(t=et(i.view[e].line),r=i.view[e-1].node.nextSibling);var l,u,c=In(n,s.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=et(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!r)return!1;var f=n.doc.splitLines(tl(n,r,u,t,l)),p=Xe(n.doc,it(t,0),it(l,Ye(n.doc,l).text.length));while(f.length>1&&p.length>1)if($(f)==$(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}var d=0,h=0,v=f[0],m=p[0],g=Math.min(v.length,m.length);while(d<g&&v.charCodeAt(d)==m.charCodeAt(d))++d;var y=$(f),b=$(p),x=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));while(h<x&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1))++h;if(1==f.length&&1==p.length&&t==a.line)while(d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1))d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var A=it(t,d),w=it(l,p.length?$(p).length-h:0);return f.length>1||f[0]||ot(A,w)?(na(n.doc,f,A,w,"+input"),!0):void 0},Xs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Xs.prototype.reset=function(){this.forceCompositionEnd()},Xs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Xs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Xs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Mi(this.cm,(function(){return jn(e.cm)}))},Xs.prototype.setUneditable=function(e){e.contentEditable="false"},Xs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Pi(this.cm,Hs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Xs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Xs.prototype.onContextMenu=function(){},Xs.prototype.resetPosition=function(){},Xs.prototype.needsContentAttribute=!0;var il=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new N,this.hasSelection=!1,this.composing=null};function ol(e,t){if(t=t?R(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=B();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function n(){e.value=s.getValue()}var i;if(e.form&&(he(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(me(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=js((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function al(e){e.off=me,e.on=he,e.wheelEventPixels=to,e.Doc=wa,e.splitLines=Le,e.countColumn=F,e.findColumn=K,e.isWordChar=te,e.Pass=H,e.signal=ge,e.Line=sr,e.changeEnd=so,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=Fe,e.mimeModes=Ne,e.resolveMode=He,e.getMode=Ve,e.modeExtensions=Qe,e.extendMode=We,e.copyState=Ke,e.startState=Ge,e.innerMode=qe,e.commands=Ya,e.keyMap=Ra,e.keyName=Va,e.isModifierKey=Ua,e.lookupKey=za,e.normalizeKeyMap=Na,e.StringStream=$e,e.SharedTextMarker=ma,e.TextMarker=ha,e.LineWidget=ca,e.e_preventDefault=we,e.e_stopPropagation=_e,e.e_stop=ke,e.addClass=L,e.contains=P,e.rmClass=T,e.keyNames=La}il.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(n,e)){if(n.somethingSelected())Us({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=Ws(n);Us({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,V):(r.prevInput="",i.value=t.text.join("\n"),I(i))}"cut"==e.type&&(n.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),v&&(i.style.width="0px"),he(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()})),he(i,"paste",(function(e){ye(n,e)||Vs(e,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())})),he(i,"cut",o),he(i,"copy",o),he(e.scroller,"paste",(function(t){if(!Hr(e,t)&&!ye(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date,void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),he(e.lineSpace,"selectstart",(function(t){Hr(e,t)||we(t)})),he(i,"compositionstart",(function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}})),he(i,"compositionend",(function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)}))},il.prototype.createField=function(e){this.wrapper=qs(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=Vn(e);if(e.options.moveInputWithCursor){var i=yn(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return n},il.prototype.showSelection=function(e){var t=this.cm,r=t.display;S(r.cursorDiv,e.cursors),S(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},il.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&I(this.textarea),a&&s>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||B()!=this.textarea))try{this.textarea.focus()}catch(e){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},il.prototype.fastPoll=function(){var e=!1,t=this;function r(){var n=t.poll();n||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))}t.pollingFast=!0,t.polling.set(20,r)},il.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||De(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n=""),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,u=Math.min(n.length,i.length);while(l<u&&n.charCodeAt(l)==i.charCodeAt(l))++l;return Mi(t,(function(){Hs(t,i.slice(l),n.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Dn(r,e),u=n.scroller.scrollTop;if(o&&!f){var c=r.options.resetSelectionOnContextMenu;c&&-1==r.doc.sel.contains(o)&&Pi(r,Uo)(r.doc,ao(o),V);var p,d=i.style.cssText,h=t.wrapper.style.cssText,v=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-v.top-5)+"px; left: "+(e.clientX-v.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(p=window.scrollY),n.input.focus(),l&&window.scrollTo(null,p),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),a&&s>=9&&g(),_){ke(e);var m=function(){me(window,"mouseup",m),setTimeout(y,20)};he(window,"mouseup",m)}else setTimeout(y,50)}function g(){if(null!=i.selectionStart){var e=r.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,i.style.cssText=d,a&&s<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=u),null!=i.selectionStart)){(!a||a&&s<9)&&g();var e=0,o=function(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Pi(r,$o)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(o,200)}}},il.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1,Ls(js),Gs(js);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in wa.prototype)wa.prototype.hasOwnProperty(ll)&&z(sl,ll)<0&&(js.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(wa.prototype[ll]));return Ae(wa),js.inputStyles={textarea:il,contenteditable:Xs},js.defineMode=function(e){js.defaults.mode||"null"==e||(js.defaults.mode=e),ze.apply(this,arguments)},js.defineMIME=Ue,js.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),js.defineMIME("text/plain","null"),js.defineExtension=function(e,t){js.prototype[e]=t},js.defineDocExtension=function(e,t){wa.prototype[e]=t},js.fromTextArea=ol,al(js),js.version="5.57.0",js}))},"56b4":function(e,t,r){"use strict";var n=r("fc26"),i=r("78d8");e.exports=function(e,t){function r(r,o){return n.coerce(e,t,i,r,o)}r("hiddenlabels"),r("piecolorway",t.colorway),r("extendpiecolors")}},"56cf":function(e,t){function r(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e[3]=t[3]-r[3],e}e.exports=r},"56ef":function(e,t,r){var n=r("d066"),i=r("241c"),o=r("7418"),a=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},"56f3":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("94d5").texttemplateAttrs,o=r("107c"),a=r("a876"),s=r("f4e9"),l=r("db54").dash,u=r("9092").extendFlat,c=r("cb34").overrideAll,f=o.marker,p=o.line,d=f.line;e.exports=c({lon:{valType:"data_array",description:"Sets the longitude coordinates (in degrees East)."},lat:{valType:"data_array",description:"Sets the latitude coordinates (in degrees North)."},locations:{valType:"data_array",description:["Sets the coordinates via location IDs or names.","Coordinates correspond to the centroid of each location given.","See `locationmode` for more info."].join(" ")},locationmode:{valType:"enumerated",values:["ISO-3","USA-states","country names","geojson-id"],role:"info",dflt:"ISO-3",description:["Determines the set of locations used to match entries in `locations`","to regions on the map.","Values *ISO-3*, *USA-states*, *country names* correspond to features on","the base map and value *geojson-id* corresponds to features from a custom","GeoJSON linked to the `geojson` attribute."].join(" ")},geojson:{valType:"any",role:"info",editType:"calc",description:["Sets optional GeoJSON data associated with this trace.","If not given, the features on the base map are used when `locations` is set.","It can be set as a valid GeoJSON object or as a URL string.","Note that we only accept GeoJSONs of type *FeatureCollection* or *Feature*","with geometries of type *Polygon* or *MultiPolygon*."].join(" ")},featureidkey:{valType:"string",role:"info",editType:"calc",dflt:"id",description:["Sets the key in GeoJSON features which is used as id to match the items","included in the `locations` array.","Only has an effect when `geojson` is set.","Support nested property, for example *properties.name*."].join(" ")},mode:u({},o.mode,{dflt:"markers"}),text:u({},o.text,{description:["Sets text elements associated with each (lon,lat) pair","or item in `locations`.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) or `locations` coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:i({editType:"plot"},{keys:["lat","lon","location","text"]}),hovertext:u({},o.hovertext,{description:["Sets hover text elements associated with each (lon,lat) pair","or item in `locations`.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) or `locations` coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),textfont:o.textfont,textposition:o.textposition,line:{color:p.color,width:p.width,dash:l},connectgaps:o.connectgaps,marker:u({symbol:f.symbol,opacity:f.opacity,size:f.size,sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode,colorbar:f.colorbar,line:u({width:d.width},s("marker.line")),gradient:f.gradient},s("marker")),fill:{valType:"enumerated",values:["none","toself"],dflt:"none",role:"style",description:["Sets the area to fill with a solid color.","Use with `fillcolor` if not *none*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape."].join(" ")},fillcolor:o.fillcolor,selected:o.selected,unselected:o.unselected,hoverinfo:u({},a.hoverinfo,{flags:["lon","lat","location","text","name"]}),hovertemplate:n()},"calc","nested")},"56fc":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o=t-2,a=r-2;return n&&i?function(t,r,n){var i,s,l,u,c,f;t||(t=[]);var p=Math.max(0,Math.min(Math.floor(r),o)),d=Math.max(0,Math.min(Math.floor(n),a)),h=Math.max(0,Math.min(1,r-p)),v=Math.max(0,Math.min(1,n-d));p*=3,d*=3;var m=h*h,g=m*h,y=1-h,b=y*y,x=b*y,A=v*v,w=A*v,_=1-v,E=_*_,k=E*_;for(f=0;f<e.length;f++)c=e[f],i=x*c[d][p]+3*(b*h*c[d][p+1]+y*m*c[d][p+2])+g*c[d][p+3],s=x*c[d+1][p]+3*(b*h*c[d+1][p+1]+y*m*c[d+1][p+2])+g*c[d+1][p+3],l=x*c[d+2][p]+3*(b*h*c[d+2][p+1]+y*m*c[d+2][p+2])+g*c[d+2][p+3],u=x*c[d+3][p]+3*(b*h*c[d+3][p+1]+y*m*c[d+3][p+2])+g*c[d+3][p+3],t[f]=k*i+3*(E*v*s+_*A*l)+w*u;return t}:n?function(t,r,n){t||(t=[]);var i,s,l,u,c,f,p=Math.max(0,Math.min(Math.floor(r),o)),d=Math.max(0,Math.min(Math.floor(n),a)),h=Math.max(0,Math.min(1,r-p)),v=Math.max(0,Math.min(1,n-d));p*=3;var m=h*h,g=m*h,y=1-h,b=y*y,x=b*y,A=1-v;for(c=0;c<e.length;c++)f=e[c],i=A*f[d][p]+v*f[d+1][p],s=A*f[d][p+1]+v*f[d+1][p+1],l=A*f[d][p+2]+v*f[d+1][p+1],u=A*f[d][p+3]+v*f[d+1][p+1],t[c]=x*i+3*(b*h*s+y*m*l)+g*u;return t}:i?function(t,r,n){t||(t=[]);var i,s,l,u,c,f,p=Math.max(0,Math.min(Math.floor(r),o)),d=Math.max(0,Math.min(Math.floor(n),a)),h=Math.max(0,Math.min(1,r-p)),v=Math.max(0,Math.min(1,n-d));d*=3;var m=v*v,g=m*v,y=1-v,b=y*y,x=b*y,A=1-h;for(c=0;c<e.length;c++)f=e[c],i=A*f[d][p]+h*f[d][p+1],s=A*f[d+1][p]+h*f[d+1][p+1],l=A*f[d+2][p]+h*f[d+2][p+1],u=A*f[d+3][p]+h*f[d+3][p+1],t[c]=x*i+3*(b*v*s+y*m*l)+g*u;return t}:function(t,r,n){t||(t=[]);var i,s,l,u,c=Math.max(0,Math.min(Math.floor(r),o)),f=Math.max(0,Math.min(Math.floor(n),a)),p=Math.max(0,Math.min(1,r-c)),d=Math.max(0,Math.min(1,n-f)),h=1-d,v=1-p;for(l=0;l<e.length;l++)u=e[l],i=v*u[f][c]+p*u[f][c+1],s=v*u[f+1][c]+p*u[f+1][c+1],t[l]=h*i+d*s;return t}}},5714:function(e,t){function r(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e}e.exports=r},5752:function(e,t,r){"use strict";var n=r("8e3f");function i(e){return new n(e)}e.exports=i},"578f":function(e,t,r){"use strict";e.exports=f;var n=r("44c3"),i=r("cea5"),o=r("b5bb"),a=r("a48a").nextPow2,s=function(e,t,r){for(var n=1e8,i=-1,o=-1,a=e.shape[0],s=e.shape[1],l=0;l<a;l++)for(var u=0;u<s;u++){var c=e.get(l,u,0),f=e.get(l,u,1),p=e.get(l,u,2),d=e.get(l,u,3);if(c<255||f<255||p<255||d<255){var h=t-l,v=r-u,m=h*h+v*v;m<n&&(n=m,i=l,o=u)}}return[i,o,n]};function l(e,t,r,n,i){this.coord=[e,t],this.id=r,this.value=n,this.distance=i}function u(e,t,r){this.gl=e,this.fbo=t,this.buffer=r,this._readTimeout=null;var n=this;this._readCallback=function(){n.gl&&(t.bind(),e.readPixels(0,0,t.shape[0],t.shape[1],e.RGBA,e.UNSIGNED_BYTE,n.buffer),n._readTimeout=null)}}var c=u.prototype;function f(e,t){var r=t[0],o=t[1],a={},s=n(e,r,o,a),l=i.mallocUint8(r*o*4);return new u(e,s,l)}Object.defineProperty(c,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(e){if(this.gl){this.fbo.shape=e;var t=this.fbo.shape[0],r=this.fbo.shape[1];if(r*t*4>this.buffer.length){i.free(this.buffer);for(var n=this.buffer=i.mallocUint8(a(r*t*4)),o=0;o<r*t*4;++o)n[o]=255}return e}}}),c.begin=function(){var e=this.gl;this.shape;e&&(this.fbo.bind(),e.clearColor(1,1,1,1),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT))},c.end=function(){var e=this.gl;e&&(e.bindFramebuffer(e.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},c.query=function(e,t,r){if(!this.gl)return null;var n=this.fbo.shape.slice();e|=0,t|=0,"number"!==typeof r&&(r=1);var i=0|Math.min(Math.max(e-r,0),n[0]),a=0|Math.min(Math.max(e+r,0),n[0]),u=0|Math.min(Math.max(t-r,0),n[1]),c=0|Math.min(Math.max(t+r,0),n[1]);if(a<=i||c<=u)return null;var f=[a-i,c-u],p=o(this.buffer,[f[0],f[1],4],[4,4*n[0],1],4*(i+n[0]*u)),d=s(p.hi(f[0],f[1],1),r,r),h=d[0],v=d[1];if(h<0||Math.pow(this.radius,2)<d[2])return null;var m=p.get(h,v,0),g=p.get(h,v,1),y=p.get(h,v,2),b=p.get(h,v,3);return new l(h+i|0,v+u|0,m,[g,y,b],Math.sqrt(d[2]))},c.dispose=function(){this.gl&&(this.fbo.dispose(),i.free(this.buffer),this.gl=null,this._readTimeout&&clearTimeout(this._readTimeout))}},5793:function(e,t,r){"use strict";var n=r("fc26").dateTick0,i=r("e806"),o=i.ONEWEEK;function a(e,t){return n(t,e%o===0?1:0)}e.exports=function(e,t,r,n,i){if(i||(i={x:!0,y:!0}),i.x){var o=n("xperiod");o&&(n("xperiod0",a(o,t.xcalendar)),n("xperiodalignment"))}if(i.y){var s=n("yperiod");s&&(n("yperiod0",a(s,t.ycalendar)),n("yperiodalignment"))}}},"579f":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}))};e.exports=s},"57a4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r("ab5b")),i=s(r("d7bc")),o=r("c85e"),a=r("e688");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e,t){var r=t.localize,i=t.setPanel;return n.default.createElement(o.TraceAccordion,{canAdd:!0,traceFilterCondition:function(e){return!(e.transforms&&e.transforms.some((function(e){return["fit","moving-average"].includes(e.type)})))},canReorder:!0},n.default.createElement(o.TraceSelector,{label:r("Type"),attr:"type",show:!0}),n.default.createElement(o.Dropzone,{attr:"geojson",fileType:"geojson"}),n.default.createElement(o.LocationSelector,{attr:"type"}),n.default.createElement(o.DataSelector,{label:r("Values"),attr:"values"}),n.default.createElement(o.DataSelector,{label:r("Labels"),attr:"labels"}),n.default.createElement(o.DataSelector,{label:r("Parents"),attr:"parents"}),n.default.createElement(o.TraceTypeSection,{traceTypes:["sunburst","treemap"],mode:"trace"},n.default.createElement(o.DataSelector,{label:r("IDs"),attr:"ids"})),n.default.createElement(o.Dropdown,{label:r("Parent Value Mode"),attr:"branchvalues",options:[{label:r("Total"),value:"total"},{label:r("Remainder"),value:"remainder"}],clearable:!1}),n.default.createElement(o.DataSelector,{label:{histogram2d:r("X Values"),histogram:r("X Values"),"*":r("X")},attr:"x"}),n.default.createElement(o.DataSelector,{label:{histogram2d:r("Y Values"),histogram:r("Y Values"),"*":r("Y")},attr:"y"}),n.default.createElement(o.DataSelector,{label:{choropleth:r("Values"),histogram2d:r("Z Values"),"*":r("Z")},attr:"z"}),n.default.createElement(o.DropdownCustom,{label:r("GeoJSON Location Field"),attr:"featureidkey",options:[{label:r("id"),value:"id"},{label:r("Custom"),value:"custom"}],customOpt:"custom",dafaultOpt:"",clearable:!1}),n.default.createElement(o.Numeric,{label:r("Radius"),attr:"radius",min:0,max:50,showSlider:!0}),n.default.createElement(o.DataSelector,{label:r("Measure"),attr:"measure"}),n.default.createElement(o.PlotlySection,{name:r("Nodes")},n.default.createElement(o.DataSelector,{label:r("Labels"),attr:"node.label"}),n.default.createElement(o.DataSelector,{label:r("Groups"),attr:"node.groups"}),n.default.createElement(o.DataSelector,{label:r("X"),attr:"node.x"}),n.default.createElement(o.DataSelector,{label:r("Y"),attr:"node.y"})),n.default.createElement(o.PlotlySection,{name:r("Links")},n.default.createElement(o.DataSelector,{label:r("Sources"),attr:"link.source"}),n.default.createElement(o.DataSelector,{label:r("Targets"),attr:"link.target"}),n.default.createElement(o.DataSelector,{label:r("Values"),attr:"link.value"}),n.default.createElement(o.DataSelector,{label:r("Labels"),attr:"link.label"})),n.default.createElement(o.Radio,{label:r("Orientation"),attr:"orientation",options:[{label:r("Vertical"),value:"v"},{label:r("Horizontal"),value:"h"}]}),n.default.createElement(a.HistogramInfoVertical,null,r("Note: in vertical orientation, X values are used for binning. If Y values are provided, they are used as inputs to the histogram function which you can configure in the "),n.default.createElement("a",{onClick:function(){return i("Style","Traces")}},r("Traces")),r(" panel under Style. If Y values are omitted, the histogram function defaults to Count.")),n.default.createElement(a.HistogramInfoHorizontal,null,r("Note: in horizontal orientation, Y values are used for binning. If X values are provided, they are used as inputs to the histogram function which you can configure in the "),n.default.createElement("a",{onClick:function(){return i("Style","Traces")}},r("Traces")),r(" under Style panel. If X values are omitted, the histogram function defaults to Count.")),n.default.createElement(a.Histogram2d,null,r("Note: X and Y Values are used for binning. If Z values are provided, they are used as inputs to the histogram function which you can configure in the "),n.default.createElement("a",{onClick:function(){return i("Style","Traces")}},r("Traces")),r(" under Style panel. If Z values are omitted, the histogram function defaults to Count.")),n.default.createElement(o.DataSelector,{label:r("I (Optional)"),attr:"i"}),n.default.createElement(o.DataSelector,{label:r("J (Optional)"),attr:"j"}),n.default.createElement(o.DataSelector,{label:r("K (Optional)"),attr:"k"}),n.default.createElement(o.DataSelector,{label:r("Open"),attr:"open"}),n.default.createElement(o.DataSelector,{label:r("High"),attr:"high"}),n.default.createElement(o.DataSelector,{label:r("Low"),attr:"low"}),n.default.createElement(o.DataSelector,{label:r("Close"),attr:"close"}),n.default.createElement(o.DataSelector,{label:r("A"),attr:"a"}),n.default.createElement(o.DataSelector,{label:r("B"),attr:"b"}),n.default.createElement(o.DataSelector,{label:r("C"),attr:"c"}),n.default.createElement(o.DataSelector,{label:r("U"),attr:"u"}),n.default.createElement(o.DataSelector,{label:r("V"),attr:"v"}),n.default.createElement(o.DataSelector,{label:r("W"),attr:"w"}),n.default.createElement(o.DataSelector,{label:r("X start"),attr:"starts.x"}),n.default.createElement(o.DataSelector,{label:r("Y start"),attr:"starts.y"}),n.default.createElement(o.DataSelector,{label:r("Z start"),attr:"starts.z"}),n.default.createElement(o.DataSelector,{label:r("Headers"),attr:"header.values"}),n.default.createElement(o.DataSelector,{label:r("Columns"),attr:"cells.values"}),n.default.createElement(o.TraceTypeSection,{traceTypes:["scatterpolar","scatterpolargl","barpolar"],mode:"trace"},n.default.createElement(o.DataSelector,{label:r("Radius"),attr:"r"}),n.default.createElement(o.DataSelector,{label:r("Theta"),attr:"theta"}),n.default.createElement(o.Dropdown,{label:r("Theta Unit"),options:[{label:r("Radians"),value:"radians"},{label:r("Degrees"),value:"degrees"},{label:r("Gradians"),value:"gradians"}],attr:"thetaunit",clearable:!1})),n.default.createElement(o.AxesCreator,{attr:"fake_attr"}),n.default.createElement(o.SubplotCreator,{attr:"fake_attr"}),n.default.createElement(o.PlotlySection,{name:r("Header Options")},n.default.createElement(o.DataSelector,{label:r("Fill Color"),attr:"header.fill.color"}),n.default.createElement(o.DataSelector,{label:r("Font Color"),attr:"header.font.color"}),n.default.createElement(o.DataSelector,{label:r("Font Size"),attr:"header.font.size"})),n.default.createElement(o.PlotlySection,{name:r("Cell Options")},n.default.createElement(o.DataSelector,{label:r("Fill Color"),attr:"cells.fill.color"}),n.default.createElement(o.DataSelector,{label:r("Font Color"),attr:"cells.font.color"}),n.default.createElement(o.DataSelector,{label:r("Font Size"),attr:"cells.font.size"})),n.default.createElement(o.PlotlySection,{name:r("Column Options")},n.default.createElement(o.DataSelector,{label:r("Width"),attr:"columnwidth"}),n.default.createElement(o.DataSelector,{label:r("Order"),attr:"columnorder"})),n.default.createElement(o.PlotlySection,{name:r("Options")},n.default.createElement(o.DataSelector,{label:r("Intensity"),attr:"intensity"}),n.default.createElement(o.DataSelector,{label:r("Facecolor"),attr:"facecolor"}),n.default.createElement(o.DataSelector,{label:r("Vertexcolor"),attr:"vertexcolor"}),n.default.createElement(o.Radio,{label:r("Transpose"),attr:"transpose",options:[{label:r("No"),value:!1},{label:r("Yes"),value:!0}]})))},u=l;t.default=u,l.contextTypes={localize:i.default.func,setPanel:i.default.func}},"57a5":function(e,t,r){var n=r("91e9"),i=n(Object.keys,Object);e.exports=i},"57c7":function(e,t,r){"use strict";var n=r("24be"),i=r("ac96"),o=r("24f7"),a=o.OrderedMap,s=function(e){var t,r={};return a(e.withMutations((function(e){e.forEach((function(n,o){var a=n.getKey(),s=n.getNextSiblingKey(),l=n.getPrevSiblingKey(),u=n.getChildKeys(),c=n.getParentKey(),f=i();if(r[a]=f,s){var p=e.get(s);p?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)}if(l){var d=e.get(l);d?e.setIn([l,"nextSibling"],f):e.setIn([a,"prevSibling"],null)}if(c&&e.get(c)){var h=e.get(c),v=h.getChildKeys();e.setIn([c,"children"],v.set(v.indexOf(n.getKey()),f))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],r[t.getKey()])),t=e.get(a);u.forEach((function(t){var r=e.get(t);r?e.setIn([t,"parent"],f):e.setIn([a,"children"],n.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[r[e.getKey()],e.set("key",r[e.getKey()])]})))},l=function(e){return a(e.toArray().map((function(e){var t=i();return[t,e.set("key",t)]})))},u=function(e){var t=e.first()instanceof n;return t?s(e):l(e)};e.exports=u},"57da":function(e,t,r){"use strict";var n=r("6e58"),i=r("fb56"),o=r("fc26"),a=r("1a5e").TEXTPAD,s=r("c791"),l=s.toMoveInsideBar,u=r("93a6"),c=u.recordMinTextSize,f=u.clearMinTextSize,p=r("2df3").resizeText,d=r("23cc"),h=r("bfb6"),v=r("223c");function m(e){return i.isHierarchyRoot(e)?"":i.getPtId(e)}function g(e,t,r,s){var u=e._fullLayout,f=t[0],p=f.trace,g=f.hierarchy,y=i.findEntryWithLevel(g,p.level),b=n.select(r),x=b.selectAll("g.pathbar"),A=b.selectAll("g.slice");if(!y)return x.remove(),void A.remove();var w=i.isHierarchyRoot(y),_=!u.uniformtext.mode&&i.hasTransition(s),E=i.getMaxDepth(p),k=function(e){return e.data.depth-y.data.depth<E},T=u._size,C=p.domain,S=T.w*(C.x[1]-C.x[0]),O=T.h*(C.y[1]-C.y[0]),M=S,P=p.pathbar.thickness,B=p.marker.line.width+d.gapWithPathbar,L=p.pathbar.visible?p.pathbar.side.indexOf("bottom")>-1?O+B:-(P+B):0,D={x0:M,x1:M,y0:L,y1:L+P},I=function(e,t,r){var n=p.tiling.pad,i=function(e){return e-n<=t.x0},o=function(e){return e+n>=t.x1},a=function(e){return e-n<=t.y0},s=function(e){return e+n>=t.y1};return{x0:i(e.x0-n)?0:o(e.x0-n)?r[0]:e.x0,x1:i(e.x1+n)?0:o(e.x1+n)?r[0]:e.x1,y0:a(e.y0-n)?0:s(e.y0-n)?r[1]:e.y0,y1:a(e.y1+n)?0:s(e.y1+n)?r[1]:e.y1}},j=null,R={},F={},N=null,z=function(e,t){return t?R[m(e)]:F[m(e)]},U=function(e,t,r,n){if(t)return R[m(g)]||D;var i=F[p.level]||r;return k(e)?I(e,i,n):{}};f.hasMultipleRoots&&w&&E++,p._maxDepth=E,p._backgroundColor=u.paper_bgcolor,p._entryDepth=y.data.depth,p._atRootLevel=w;var H=-S/2+T.l+T.w*(C.x[1]+C.x[0])/2,V=-O/2+T.t+T.h*(1-(C.y[1]+C.y[0])/2),Q=function(e){return H+e},W=function(e){return V+e},K=W(0),q=Q(0),G=function(e){return q+e},$=function(e){return K+e};function Y(e,t){return e+","+t}var X=G(0),Z=function(e){e.x=Math.max(X,e.x)},J=p.pathbar.edgeshape,ee=function(e){var t=G(Math.max(Math.min(e.x0,e.x0),0)),r=G(Math.min(Math.max(e.x1,e.x1),M)),n=$(e.y0),i=$(e.y1),o=P/2,a={},s={};a.x=t,s.x=r,a.y=s.y=(n+i)/2;var l={x:t,y:n},u={x:r,y:n},c={x:r,y:i},f={x:t,y:i};return">"===J?(l.x-=o,u.x-=o,c.x-=o,f.x-=o):"/"===J?(c.x-=o,f.x-=o,a.x-=o/2,s.x-=o/2):"\\"===J?(l.x-=o,u.x-=o,a.x-=o/2,s.x-=o/2):"<"===J&&(a.x-=o,s.x-=o),Z(l),Z(f),Z(a),Z(u),Z(c),Z(s),"M"+Y(l.x,l.y)+"L"+Y(u.x,u.y)+"L"+Y(s.x,s.y)+"L"+Y(c.x,c.y)+"L"+Y(f.x,f.y)+"L"+Y(a.x,a.y)+"Z"},te=function(e){var t=Q(e.x0),r=Q(e.x1),n=W(e.y0),i=W(e.y1),o=r-t,a=i-n;if(!o||!a)return"";var s=0,l=o>2*s&&a>2*s?s:0,u=function(e,t){return l?"a"+Y(l,l)+" 0 0 1 "+Y(e,t):""};return"M"+Y(t,n+l)+u(l,-l)+"L"+Y(r-l,n)+u(l,l)+"L"+Y(r,i-l)+u(-l,l)+"L"+Y(t+l,i)+u(-l,-l)+"Z"},re=function(e,t){var r=e.x0,n=e.x1,i=e.y0,o=e.y1,s=e.textBB,f=function(e){return-1!==p.textposition.indexOf(e)},d=f("bottom"),h=f("top")||t.isHeader&&!d,v=h?"start":d?"end":"middle",m=f("right"),g=f("left")||t.onPathbar,y=g?-1:m?1:0,b=p.marker.pad;if(t.isHeader){if(r+=b.l-a,n-=b.r-a,r>=n){var x=(r+n)/2;r=x,n=x}var A;d?(A=o-b.b,i<A&&A<o&&(i=A)):(A=i+b.t,i<A&&A<o&&(o=A))}var w=l(r,n,i,o,s,{isHorizontal:!1,constrained:!0,angle:0,anchor:v,leftToRight:y});return w.fontSize=t.fontSize,w.targetX=Q(w.targetX),w.targetY=W(w.targetY),isNaN(w.targetX)||isNaN(w.targetY)?{}:(r!==n&&i!==o&&c(p.type,w,u),{scale:w.scale,rotate:w.rotate,textX:w.textX,textY:w.textY,anchorX:w.anchorX,anchorY:w.anchorY,targetX:w.targetX,targetY:w.targetY})},ne=function(e,t){var r,n=0,i=e;while(!r&&n<E)n++,i=i.parent,i?r=z(i,t):n=E;return r||{}},ie=function(e,t,r,i){var o,a=z(e,t);if(t)o=D;else{var s=z(y,t);o=s?I(e,s,i):{}}return n.interpolate(a,o)},oe=function(e,t,r,i){var a,s=z(e,t);if(s)a=s;else if(t)a=D;else if(j)if(e.parent){var l=N||r;l&&!t?a=I(e,l,i):(a={},o.extendFlat(a,ne(e,t)))}else a=e;else a={};return n.interpolate(a,{x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})},ae=function(e,t,r,a){var s=z(e,t),l={},f=U(e,t,r,a);o.extendFlat(l,{transform:re({x0:f.x0,x1:f.x1,y0:f.y0,y1:f.y1,textBB:e.textBB,_text:e._text},{isHeader:i.isHeader(e,p)})}),s?l=s:e.parent&&o.extendFlat(l,ne(e,t));var d=e.transform;return e.x0!==e.x1&&e.y0!==e.y1&&c(p.type,d,u),n.interpolate(l,{transform:{scale:d.scale,rotate:d.rotate,textX:d.textX,textY:d.textY,anchorX:d.anchorX,anchorY:d.anchorY,targetX:d.targetX,targetY:d.targetY}})},se=function(e,t,r,i,o){var a=i[0],s=i[1];_?e.exit().transition().each((function(){var e=n.select(this),i=e.select("path.surface");i.transition().attrTween("d",(function(e){var n=ie(e,t,r,[a,s]);return function(e){return o(n(e))}}));var l=e.select("g.slicetext");l.attr("opacity",0)})).remove():e.exit().remove()},le=function(e){var t=e.transform;return e.x0!==e.x1&&e.y0!==e.y1&&c(p.type,t,u),o.getTextTransform({textX:t.textX,textY:t.textY,anchorX:t.anchorX,anchorY:t.anchorY,targetX:t.targetX,targetY:t.targetY,scale:t.scale,rotate:t.rotate})};_&&(x.each((function(e){R[m(e)]={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1},e.transform&&(R[m(e)].transform={textX:e.transform.textX,textY:e.transform.textY,anchorX:e.transform.anchorX,anchorY:e.transform.anchorY,targetX:e.transform.targetX,targetY:e.transform.targetY,scale:e.transform.scale,rotate:e.transform.rotate})})),A.each((function(e){F[m(e)]={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1},e.transform&&(F[m(e)].transform={textX:e.transform.textX,textY:e.transform.textY,anchorX:e.transform.anchorX,anchorY:e.transform.anchorY,targetX:e.transform.targetX,targetY:e.transform.targetY,scale:e.transform.scale,rotate:e.transform.rotate}),!j&&i.isEntry(e)&&(j=e)}))),N=h(e,t,y,A,{width:S,height:O,viewX:Q,viewY:W,pathSlice:te,toMoveInsideSlice:re,prevEntry:j,makeUpdateSliceInterpolator:oe,makeUpdateTextInterpolator:ae,handleSlicesExit:se,hasTransition:_,strTransform:le}),p.pathbar.visible?v(e,t,y,x,{barDifY:L,width:M,height:P,viewX:G,viewY:$,pathSlice:ee,toMoveInsideSlice:re,makeUpdateSliceInterpolator:oe,makeUpdateTextInterpolator:ae,handleSlicesExit:se,hasTransition:_,strTransform:le}):x.remove()}e.exports=function(e,t,r,o){var a,s,l=e._fullLayout,u=l._treemaplayer,c=!r;if(f("treemap",l),a=u.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid})),a.enter().append("g").classed("trace",!0).classed("treemap",!0),a.order(),!l.uniformtext.mode&&i.hasTransition(r)){o&&(s=o());var d=n.transition().duration(r.duration).ease(r.easing).each("end",(function(){s&&s()})).each("interrupt",(function(){s&&s()}));d.each((function(){u.selectAll("g.trace").each((function(t){g(e,t,this,r)}))}))}else a.each((function(t){g(e,t,this,r)})),l.uniformtext.mode&&p(e,l._treemaplayer.selectAll(".trace"),"treemap");c&&a.exit().remove()}},5844:function(e,t,r){"use strict";e.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",role:"style",editType:"calc",description:["Determines whether or not the range of this axis in","the rangeslider use the same value than in the main plot","when zooming in/out.","If *auto*, the autorange will be used.","If *fixed*, the `range` is used.","If *match*, the current range of the corresponding y-axis on the main subplot is used."].join(" ")},range:{valType:"info_array",role:"style",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot",description:["Sets the range of this axis for the rangeslider."].join(" ")},editType:"calc"}},"585a":function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r("c8ba"))},5885:function(e,t,r){"use strict";e.exports=function(e,t){return t.hoverOnBox&&(e.hoverOnBox=t.hoverOnBox),"xVal"in t&&(e.x=t.xVal),"yVal"in t&&(e.y=t.yVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},5893:function(e,t,r){"use strict";var n=r("15c3"),i=r("dec3"),o=r("d082"),a=r("6606");function s(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState,r=t.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(r.toJS())})}}else{var s=e.props.editorState,l=a(s,o(e)),u=l.selectionState;u!==s.getSelection()&&(s=l.needsRecovery?i.forceSelection(s,u):i.acceptSelection(s,u),e.update(s))}}e.exports=s},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("1d80"),i=r("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},"58b1":function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r("ab5b"),s=r("0984"),l=r("d8db"),u=r("1b23"),c=s.isBrowser("IE <= 11");function f(e){return c?"\n"===e.textContent:"BR"===e.tagName}var p=function(e){return c?a.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):a.createElement("br",{key:"A","data-text":"true",ref:e})},d=function(e){return c?a.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):a.createElement("br",{key:"B","data-text":"true",ref:e})},h=function(e){function t(t){var r;return r=e.call(this,t)||this,o(n(r),"_forceFlag",void 0),o(n(r),"_node",void 0),r._forceFlag=!1,r}i(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,r=""===e.children;u(t)||l(!1);var n=t;return r?!f(n):n.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e=this;return""===this.props.children?this._forceFlag?p((function(t){return e._node=t})):d((function(t){return e._node=t})):a.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},t}(a.Component);e.exports=h},"58b7":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(r("5174")),o=d(r("d7bc")),a=p(r("ab5b")),s=r("4578"),l=d(r("5f31")),u=d(r("37cc")),c=d(r("c7db"));function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var S=276,O=8,M=function(e){A(r,e);var t=_(r);function r(e,n){var i;return y(this,r),i=t.call(this,e,n),i.sendUpdate=i.sendUpdate.bind(k(i)),i.attr=i.props.cartesian?{x:["xaxis.domain[0]","xaxis.domain[1]"],y:["yaxis.domain[0]","yaxis.domain[1]"]}:{x:["domain.x[0]","domain.x[1]"],y:["domain.y[0]","domain.y[1]"]},i.state={snap:!0},i}return x(r,[{key:"sendUpdate",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.fieldWidthPx,a=e.fieldHeightPx,s=t/o,l=(n+t)/o,u=(a-(i+r))/a,c=(a-r)/a,f=this.state.snap?function(e){return Math.round(e*O)/O}:function(e){return e},p={};s>=0&&l<=1&&(p[this.attr.x[0]]=f(s),p[this.attr.x[1]]=f(l)),u>=0&&c<=1&&(p[this.attr.y[0]]=f(u),p[this.attr.y[1]]=f(c)),this.context.updateContainer(p)}},{key:"render",value:function(){var e=this,t=this.props,r=t.attr,n=t.cartesian,o=this.context,s=o.localize,f=o.fullContainer,p=o.fullLayout,d=p.width,h=p.height,v=n?f.xaxis.domain:f.domain.x,m=n?f.yaxis.domain:f.domain.y,y=h/d,b=Math.min(S,S/y),x=Math.min(S,S*y),A=b*(v[1]-v[0]),w=x*(m[1]-m[0]),_=b*v[0],E=x*(1-m[1]),k="";return f.xaxis&&f.yaxis&&(f.xaxis.overlaying||f.yaxis.overlaying)?f.xaxis.overlaying?f.yaxis.overlaying||(k="n, s"):k="e, w":k="n, w, s, e, nw, ne, se, sw",a.default.createElement("div",{style:{marginRight:25}},a.default.createElement(i.default,g({},this.props,{attr:r}),a.default.createElement(i.default,{label:s("Snap to Grid")},a.default.createElement(u.default,{alignment:"center",onOptionChange:function(t){return e.setState({snap:t})},activeOption:this.state.snap,options:[{label:s("On"),value:!0},{label:s("Off"),value:!1}]})),a.default.createElement("div",{className:"rect-container",style:{width:b+1,height:x+1}},Array(O*O).fill(0).map((function(e,t){return a.default.createElement("div",{key:t,className:"rect-grid",style:{width:b/O-1,height:x/O-1,borderBottom:t<O*(O-1)?"0":"1px solid ",borderRight:(t+1)%O?"0":"1px solid"}})})),a.default.createElement(l.default,{bounds:"parent",width:A,height:w,left:_,top:E,rotatable:!1,draggable:!this.state.snap,zoomable:k,onResize:function(t){e.sendUpdate({fieldWidthPx:b,fieldHeightPx:x,width:t.width,height:t.height,x:t.left,y:t.top})},onDrag:function(t,r){e.sendUpdate({fieldWidthPx:b,fieldHeightPx:x,width:A,height:w,x:_+t,y:E+r})}})),f.xaxis&&f.xaxis.overlaying?"":a.default.createElement(c.default,{label:s("X"),attr:this.attr.x[0],attr2:this.attr.x[1],percentage:!0,step:1,min:0,max:100}),f.yaxis&&f.yaxis.overlaying?"":a.default.createElement(c.default,{label:s("Y"),attr:this.attr.y[0],attr2:this.attr.y[1],percentage:!0,step:1,min:0,max:100})))}}]),r}(a.Component);M.propTypes=v({fullValue:o.default.any,updatePlot:o.default.func,cartesian:o.default.bool},i.default.propTypes),M.contextTypes={localize:o.default.func,updateContainer:o.default.func,fullContainer:o.default.object,fullLayout:o.default.object},M.displayName="UnconnectedRectanglePositioner";var P=(0,s.connectToContainer)(M);t.default=P},"58e0":function(e,t,r){"use strict";(function(e){var n=r("26ee"),i=r("2f74"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?n["a"].Buffer:void 0,u=l?l.isBuffer:void 0,c=u||i["a"];t["a"]=c}).call(this,r("dd40")(e))},5913:function(e,t,r){"use strict";var n=r("e806"),i=n.ONEAVGYEAR,o=n.ONEAVGMONTH,a=n.ONEDAY,s=n.ONEHOUR,l=n.ONEMIN,u=n.ONESEC,c=r("0642").tickIncrement;function f(e,t,r,n){if(e*t<=0)return 1/0;for(var i=Math.abs(t-e),o="date"===r.type,a=p(i,o),s=0;s<10;s++){var l=p(80*a,o);if(a===l)break;if(!d(l,e,t,o,r,n))break;a=l}return a}function p(e,t){return t&&e>u?e>a?e>1.1*i?i:e>1.1*o?o:a:e>s?s:e>l?l:u:Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function d(e,t,r,n,o,s){if(n&&e>a){var l=h(t,o,s),u=h(r,o,s),c=e===i?0:1;return l[c]!==u[c]}return Math.floor(r/e)-Math.floor(t/e)>.1}function h(e,t,r){var n=t.c2d(e,i,r).split("-");return""===n[0]&&(n.unshift(),n[0]="-"+n[0]),n}e.exports=function(e,t,r,n,o){var s,l,u=-1.1*t,p=-.1*t,d=e-p,h=r[0],v=r[1],m=Math.min(f(h+p,h+d,n,o),f(v+p,v+d,n,o)),g=Math.min(f(h+u,h+p,n,o),f(v+u,v+p,n,o));if(m>g&&g<Math.abs(v-h)/4e3?(s=m,l=!1):(s=Math.min(m,g),l=!0),"date"===n.type&&s>a){var y=s===i?1:6,b=s===i?"M12":"M1";return function(t,r){var a=n.c2d(t,i,o),s=a.indexOf("-",y);s>0&&(a=a.substr(0,s));var u=n.d2c(a,0,o);if(u<t){var f=c(u,b,!1,o);(u+f)/2<t+e&&(u=f)}return r&&l?c(u,b,!0,o):u}}return function(t,r){var n=s*Math.round(t/s);return n+s/10<t&&n+.9*s<t+e&&(n+=s),r&&l&&(n-=s),n}}},5928:function(e,t){function r(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=r+r,s=n+n,l=i+i,u=r*a,c=n*a,f=n*s,p=i*a,d=i*s,h=i*l,v=o*a,m=o*s,g=o*l;return e[0]=1-f-h,e[1]=c+g,e[2]=p-m,e[3]=0,e[4]=c-g,e[5]=1-u-h,e[6]=d+v,e[7]=0,e[8]=p+m,e[9]=d-v,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},"592e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("00ac")),o=f(r("d7bc")),a=c(r("ab5b")),s=f(r("4d26")),l=r("8704");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(){var e;return p(this,r),e=t.call(this),e.state={isOpen:!1},e.togglePanel=e.togglePanel.bind(b(e)),e}return h(r,[{key:"getIcon",value:function(){var e=this.props,t=e.question,r=e.icon;return t?{icon:a.default.createElement(l.QuestionIcon,{className:"menupanel__icon"}),spanClass:"menupanel__icon-span menupanel__icon-span--question"}:r?{icon:a.default.createElement(r,{className:"menupanel__icon"}),spanClass:"menupanel__icon-span"}:{icon:a.default.createElement(l.CogIcon,{className:"menupanel__icon"}),spanClass:"menupanel__icon-span menupanel__icon-span--cog"}}},{key:"togglePanel",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=this.props,t=e.show,r=e.ownline,n=e.label,o=e.children,l=t||this.state.isOpen,u=(0,s.default)("menupanel",{"menupanel--ownline":r}),c=this.getIcon(),f=c.icon,p=c.spanClass;return a.default.createElement("div",{className:u},a.default.createElement("div",{className:p},a.default.createElement("div",{className:"menupanel__label"},n),a.default.createElement("div",{className:"menupanel__icon__wrapper",onClick:this.togglePanel},f)),l&&a.default.createElement(i.default,{onClose:this.togglePanel},o))}}]),r}(a.Component);t.default=w,w.propTypes={children:o.default.node,icon:o.default.oneOfType([o.default.node,o.default.func]),label:o.default.string,ownline:o.default.bool,question:o.default.bool,show:o.default.bool}},"595c":function(e,t,r){"use strict";var n=r("9a02"),i=r("9b49");function o(e){var t,r,o,u,c,f,p,d,h,v;if(e||(e={}),d=(e.nshades||72)-1,p=e.format||"hex",f=e.colormap,f||(f="jet"),"string"===typeof f){if(f=f.toLowerCase(),!n[f])throw Error(f+" not a supported colorscale");c=n[f]}else{if(!Array.isArray(f))throw Error("unsupported colormap option",f);c=f.slice()}if(c.length>d+1)throw new Error(f+" map requires nshades to be at least size "+c.length);h=Array.isArray(e.alpha)?2!==e.alpha.length?[1,1]:e.alpha.slice():"number"===typeof e.alpha?[e.alpha,e.alpha]:[1,1],t=c.map((function(e){return Math.round(e.index*d)})),h[0]=Math.min(Math.max(h[0],0),1),h[1]=Math.min(Math.max(h[1],0),1);var m=c.map((function(e,t){var r=c[t].index,n=c[t].rgb.slice();return 4===n.length&&n[3]>=0&&n[3]<=1||(n[3]=h[0]+(h[1]-h[0])*r),n})),g=[];for(v=0;v<t.length-1;++v){u=t[v+1]-t[v],r=m[v],o=m[v+1];for(var y=0;y<u;y++){var b=y/u;g.push([Math.round(i(r[0],o[0],b)),Math.round(i(r[1],o[1],b)),Math.round(i(r[2],o[2],b)),i(r[3],o[3],b)])}}return g.push(c[c.length-1].rgb.concat(h[1])),"hex"===p?g=g.map(s):"rgbaString"===p?g=g.map(l):"float"===p&&(g=g.map(a)),g}function a(e){return[e[0]/255,e[1]/255,e[2]/255,e[3]]}function s(e){for(var t,r="#",n=0;n<3;++n)t=e[n],t=t.toString(16),r+=("00"+t).substr(t.length);return r}function l(e){return"rgba("+e.join(",")+")"}e.exports=o},5968:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasValidCustomConfigVisibilityRules=u,t.computeCustomConfigVisibility=c,t.isVisibleGivenCustomConfig=f,t.default=p;var n=a(r("74d6")),i=a(r("19b2")),o=r("e419");function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(e){return void 0!==e&&null!==e};function u(e){if(e&&e===Object(e)&&Object.keys(e).length&&e.visibility_rules){if(e.visibility_rules.blacklist&&e.visibility_rules.whitelist)return console.error("customConfig.visibility_rules can have a blacklist OR whitelist key, both are present in your config."),!1;if(!Object.keys(e.visibility_rules).some((function(e){return["blacklist","whitelist"].includes(e)})))return console.error("customConfig.visibility_rules must have at least a blacklist or whitelist key."),!1;var t=function e(t){return t.exceptions?t.exceptions.every(e):t.type&&["attrName","controlType"].includes(t.type)&&t.regex_match},r="All rules and exceptions must have a type (one of: 'attrName' or 'controlType') and regex_match key.";return e.visibility_rules.blacklist&&!e.visibility_rules.blacklist.every(t)?(console.error(r),!1):!(e.visibility_rules.whitelist&&!e.visibility_rules.whitelist.every(t))||(console.error(r),!1)}return!1}function c(e,t,r){var n,i=function(t){var n="attrName"===t.type?e.attr:r;return RegExp(t.regex_match).test(n)},o=function e(t){var r=function(t){return!!t.exceptions&&t.exceptions.some((function(t){return e(t)}))};return i(t)&&!r(t)};return t.visibility_rules.blacklist&&(n=!t.visibility_rules.blacklist.some(o)),t.visibility_rules.whitelist&&(n=t.visibility_rules.whitelist.some(o)),n}function f(e,t,r,n){var i=e;return i&&r.hasValidCustomConfigVisibilityRules&&(i=c(t,r.customConfig,n)),i}function p(e,t){var r,a=t.container,u=t.getValObject,c=t.defaultContainer,f=t.updateContainer;if(!e.attr)return{};u&&(r=t.getValObject(e.attr)||{});var p=t.fullContainer,d=(0,n.default)(p,e.attr),h=d.get(),v=!1;h===o.MULTI_VALUED&&(h=o.MULTI_VALUED_PLACEHOLDER,v=!0);var m,g,y,b=Boolean(l(h)||e.show),x=e.defaultValue;void 0===x&&c&&(x=(0,n.default)(c,e.attr).get()),r&&((0,i.default)(r.max)&&(g=r.max),(0,i.default)(r.min)&&(m=r.min),y=r.description);var A=function(t){f&&f(s({},e.attr,t))};return{attrMeta:r,container:a,defaultValue:x,fullContainer:p,fullValue:h,getValObject:u,isVisible:b,max:g,min:m,description:y,multiValued:v,updateContainer:f,updatePlot:A}}},"59a1":function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}e.exports=n},"59b0":function(e,t,r){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},"59be":function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray,i=r("215c").hasColorscale,o=r("4183");e.exports=function(e,t,r,a,s,l){var u=(e.marker||{}).color;if(s("line.color",r),i(e,"line"))o(e,t,a,s,{prefix:"line.",cLetter:"c"});else{var c=!n(u)&&u||r;s("line.color",c)}s("line.width"),(l||{}).noDash||s("line.dash")}},"59ce":function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("371e"),a=r("fc26"),s=a.strRotate,l=a.strTranslate,u=r("d115"),c=r("83d1"),f=r("bb71"),p=r("0642"),d=r("1a40"),h=r("7a52"),v=r("ce56").doAutoRange,m=r("9676"),g=r("4efe"),y=r("a5c4"),b=r("1999"),x=r("1876").prepSelect,A=r("1876").selectOnClick,w=r("1876").clearSelect,_=r("0f37"),E=r("821b"),k=r("a392").redrawReglTraces,T=r("63dc").MID_SHIFT,C=r("f510"),S=r("a60f"),O=a._,M=a.mod,P=a.deg2rad,B=a.rad2deg;function L(e,t){this.id=t,this.gd=e,this._hasClipOnAxisFalse=null,this.vangles=null,this.radialAxisAngle=null,this.traceHash={},this.layers={},this.clipPaths={},this.clipIds={},this.viewInitial={};var r=e._fullLayout,n="clip"+r._uid+t;this.clipIds.forTraces=n+"-for-traces",this.clipPaths.forTraces=r._clips.append("clipPath").attr("id",this.clipIds.forTraces),this.clipPaths.forTraces.append("path"),this.framework=r._polarlayer.append("g").attr("class",t),this.radialTickLayout=null,this.angularTickLayout=null}var D=L.prototype;function I(e){var t=e.ticks+String(e.ticklen)+String(e.showticklabels);return"side"in e&&(t+=e.side),t}function j(e){var t,r,n,i,o=e[0],a=e[1],s=a-o,l=M(o,360),u=l+s,c=Math.cos(P(l)),f=Math.sin(P(l)),p=Math.cos(P(u)),d=Math.sin(P(u));return i=l<=90&&u>=90||l>90&&u>=450?1:f<=0&&d<=0?0:Math.max(f,d),t=l<=180&&u>=180||l>180&&u>=540?-1:c>=0&&p>=0?0:Math.min(c,p),r=l<=270&&u>=270||l>270&&u>=630?-1:f>=0&&d>=0?0:Math.min(f,d),n=u>=360?1:c<=0&&p<=0?0:Math.max(c,p),[t,r,n,i]}function R(e,t){var r=function(t){return a.angleDist(e,t)},n=a.findIndexOfMin(t,r);return t[n]}function F(e,t,r){return t?(e.attr("display",null),e.attr(r)):e&&e.attr("display","none"),e}e.exports=function(e,t){return new L(e,t)},D.plot=function(e,t){var r=this,n=t[r.id];r._hasClipOnAxisFalse=!1;for(var i=0;i<e.length;i++){var o=e[i][0].trace;if(!1===o.cliponaxis){r._hasClipOnAxisFalse=!0;break}}r.updateLayers(t,n),r.updateLayout(t,n),f.generalUpdatePerTraceModule(r.gd,r,e,n),r.updateFx(t,n)},D.updateLayers=function(e,t){var r=this,i=r.layers,o=t.radialaxis,a=t.angularaxis,s=C.layerNames,l=s.indexOf("frontplot"),u=s.slice(0,l),c="below traces"===a.layer,f="below traces"===o.layer;c&&u.push("angular-line"),f&&u.push("radial-line"),c&&u.push("angular-axis"),f&&u.push("radial-axis"),u.push("frontplot"),c||u.push("angular-line"),f||u.push("radial-line"),c||u.push("angular-axis"),f||u.push("radial-axis");var p=r.framework.selectAll(".polarsublayer").data(u,String);p.enter().append("g").attr("class",(function(e){return"polarsublayer "+e})).each((function(e){var t=i[e]=n.select(this);switch(e){case"frontplot":t.append("g").classed("barlayer",!0),t.append("g").classed("scatterlayer",!0);break;case"backplot":t.append("g").classed("maplayer",!0);break;case"plotbg":i.bg=t.append("path");break;case"radial-grid":t.style("fill","none");break;case"angular-grid":t.style("fill","none");break;case"radial-line":t.append("line").style("fill","none");break;case"angular-line":t.append("path").style("fill","none");break}})),p.order()},D.updateLayout=function(e,t){var r=this,n=r.layers,i=e._size,o=t.radialaxis,a=t.angularaxis,s=t.domain.x,f=t.domain.y;r.xOffset=i.l+i.w*s[0],r.yOffset=i.t+i.h*(1-f[1]);var p=r.xLength=i.w*(s[1]-s[0]),d=r.yLength=i.h*(f[1]-f[0]),h=t.sector;r.sectorInRad=h.map(P);var v,m,g,y,b,x=r.sectorBBox=j(h),A=x[2]-x[0],w=x[3]-x[1],_=d/p,E=Math.abs(w/A);_>E?(v=p,m=p*E,b=(d-m)/i.h/2,g=[s[0],s[1]],y=[f[0]+b,f[1]-b]):(v=d/E,m=d,b=(p-v)/i.w/2,g=[s[0]+b,s[1]-b],y=[f[0],f[1]]),r.xLength2=v,r.yLength2=m,r.xDomain2=g,r.yDomain2=y;var k=r.xOffset2=i.l+i.w*g[0],T=r.yOffset2=i.t+i.h*(1-y[1]),C=r.radius=v/A,S=r.innerRadius=t.hole*C,O=r.cx=k-C*x[0],M=r.cy=T+C*x[3],B=r.cxx=O-k,L=r.cyy=M-T;r.radialAxis=r.mockAxis(e,t,o,{_id:"x",side:{counterclockwise:"top",clockwise:"bottom"}[o.side],_realSide:o.side,domain:[S/i.w,C/i.w]}),r.angularAxis=r.mockAxis(e,t,a,{side:"right",domain:[0,Math.PI],autorange:!1}),r.doAutoRange(e,t),r.updateAngularAxis(e,t),r.updateRadialAxis(e,t),r.updateRadialAxisTitle(e,t),r.xaxis=r.mockCartesianAxis(e,t,{_id:"x",domain:g}),r.yaxis=r.mockCartesianAxis(e,t,{_id:"y",domain:y});var D=r.pathSubplot();r.clipPaths.forTraces.select("path").attr("d",D).attr("transform",l(B,L)),n.frontplot.attr("transform",l(k,T)).call(c.setClipUrl,r._hasClipOnAxisFalse?null:r.clipIds.forTraces,r.gd),n.bg.attr("d",D).attr("transform",l(O,M)).call(u.fill,t.bgcolor)},D.mockAxis=function(e,t,r,n){var i=a.extendFlat({},r,n);return h(i,t,e),i},D.mockCartesianAxis=function(e,t,r){var n=this,i=r._id,o=a.extendFlat({type:"linear"},r);d(o,e);var s={x:[0,2],y:[1,3]};return o.setRange=function(){var e=n.sectorBBox,r=s[i],a=n.radialAxis._rl,l=(a[1]-a[0])/(1-t.hole);o.range=[e[r[0]]*l,e[r[1]]*l]},o.isPtWithinRange="x"===i?function(e){return n.isPtInside(e)}:function(){return!0},o.setRange(),o.setScale(),o},D.doAutoRange=function(e,t){var r=this.gd,n=this.radialAxis,i=t.radialaxis;n.setScale(),v(r,n);var o=n.range;i.range=o.slice(),i._input.range=o.slice(),n._rl=[n.r2l(o[0],null,"gregorian"),n.r2l(o[1],null,"gregorian")]},D.updateRadialAxis=function(e,t){var r=this,n=r.gd,i=r.layers,o=r.radius,c=r.innerRadius,f=r.cx,d=r.cy,h=t.radialaxis,v=M(t.sector[0],360),m=r.radialAxis,g=c<o;r.fillViewInitialKey("radialaxis.angle",h.angle),r.fillViewInitialKey("radialaxis.range",m.range.slice()),m.setGeometry(),"auto"===m.tickangle&&v>90&&v<=270&&(m.tickangle=180);var y=function(e){return l(m.l2p(e.x)+c,0)},b=function(e){return r.pathArc(m.r2p(e.x)+c)},x=I(h);if(r.radialTickLayout!==x&&(i["radial-axis"].selectAll(".xtick").remove(),r.radialTickLayout=x),g){m.setScale();var A=p.calcTicks(m),w=p.clipEnds(m,A),_=p.getTickSigns(m)[2];p.drawTicks(n,m,{vals:A,layer:i["radial-axis"],path:p.makeTickPath(m,0,_),transFn:y,crisp:!1}),p.drawGrid(n,m,{vals:w,layer:i["radial-grid"],path:b,transFn:a.noop,crisp:!1}),p.drawLabels(n,m,{vals:A,layer:i["radial-axis"],transFn:y,labelFns:p.makeLabelFns(m,0)})}var E=r.radialAxisAngle=r.vangles?B(R(P(h.angle),r.vangles)):h.angle,k=l(f,d),T=k+s(-E);F(i["radial-axis"],g&&(h.showticklabels||h.ticks),{transform:T}),F(i["radial-grid"],g&&h.showgrid,{transform:k}),F(i["radial-line"].select("line"),g&&h.showline,{x1:c,y1:0,x2:o,y2:0,transform:T}).attr("stroke-width",h.linewidth).call(u.stroke,h.linecolor)},D.updateRadialAxisTitle=function(e,t,r){var n=this,i=n.gd,o=n.radius,a=n.cx,s=n.cy,l=t.radialaxis,u=n.id+"title",f=void 0!==r?r:n.radialAxisAngle,p=P(f),d=Math.cos(p),h=Math.sin(p),v=0;if(l.title){var m=c.bBox(n.layers["radial-axis"].node()).height,g=l.title.font.size;v="counterclockwise"===l.side?-m-.4*g:m+.8*g}n.layers["radial-axis-title"]=b.draw(i,u,{propContainer:l,propName:n.id+".radialaxis.title",placeholder:O(i,"Click to enter radial axis title"),attributes:{x:a+o/2*d+v*h,y:s-o/2*h+v*d,"text-anchor":"middle"},transform:{rotate:-f}})},D.updateAngularAxis=function(e,t){var r=this,n=r.gd,i=r.layers,o=r.radius,c=r.innerRadius,f=r.cx,d=r.cy,h=t.angularaxis,v=r.angularAxis;r.fillViewInitialKey("angularaxis.rotation",h.rotation),v.setGeometry(),v.setScale();var m=function(e){return v.t2g(e.x)};"linear"===v.type&&"radians"===v.thetaunit&&(v.tick0=B(v.tick0),v.dtick=B(v.dtick));var g=function(e){return l(f+o*Math.cos(e),d-o*Math.sin(e))},y=function(e){return g(m(e))},b=function(e){var t=m(e);return g(t)+s(-B(t))},x=function(e){var t=m(e),r=Math.cos(t),n=Math.sin(t);return"M"+[f+c*r,d-c*n]+"L"+[f+o*r,d-o*n]},A=p.makeLabelFns(v,0),w=A.labelStandoff,_={xFn:function(e){var t=m(e);return Math.cos(t)*w},yFn:function(e){var t=m(e),r=Math.sin(t)>0?.2:1;return-Math.sin(t)*(w+e.fontSize*r)+Math.abs(Math.cos(t))*(e.fontSize*T)},anchorFn:function(e){var t=m(e),r=Math.cos(t);return Math.abs(r)<.1?"middle":r>0?"start":"end"},heightFn:function(e,t,r){var n=m(e);return-.5*(1+Math.sin(n))*r}},E=I(h);r.angularTickLayout!==E&&(i["angular-axis"].selectAll("."+v._id+"tick").remove(),r.angularTickLayout=E);var k,C=p.calcTicks(v);if("linear"===t.gridshape?(k=C.map(m),a.angleDelta(k[0],k[1])<0&&(k=k.slice().reverse())):k=null,r.vangles=k,"category"===v.type&&(C=C.filter((function(e){return a.isAngleInsideSector(m(e),r.sectorInRad)}))),v.visible){var S="inside"===v.ticks?-1:1,O=(v.linewidth||1)/2;p.drawTicks(n,v,{vals:C,layer:i["angular-axis"],path:"M"+S*O+",0h"+S*v.ticklen,transFn:b,crisp:!1}),p.drawGrid(n,v,{vals:C,layer:i["angular-grid"],path:x,transFn:a.noop,crisp:!1}),p.drawLabels(n,v,{vals:C,layer:i["angular-axis"],repositionOnUpdate:!0,transFn:y,labelFns:_})}F(i["angular-line"].select("path"),h.showline,{d:r.pathSubplot(),transform:l(f,d)}).attr("stroke-width",h.linewidth).call(u.stroke,h.linecolor)},D.updateFx=function(e,t){this.gd._context.staticPlot||(this.updateAngularDrag(e),this.updateRadialDrag(e,t,0),this.updateRadialDrag(e,t,1),this.updateMainDrag(e))},D.updateMainDrag=function(e){var t,r,s=this,u=s.gd,c=s.layers,f=e._zoomlayer,p=C.MINZOOM,d=C.OFFEDGE,h=s.radius,v=s.innerRadius,b=s.cx,_=s.cy,E=s.cxx,k=s.cyy,T=s.sectorInRad,O=s.vangles,M=s.radialAxis,P=S.clampTiny,B=S.findXYatLength,L=S.findEnclosingVertexAngles,D=C.cornerHalfWidth,I=C.cornerLen/2,j=m.makeDragger(c,"path","maindrag","crosshair");n.select(j).attr("d",s.pathSubplot()).attr("transform",l(b,_));var R,F,N,z,U,H,V,Q,W,K={element:j,gd:u,subplot:s.id,plotinfo:{id:s.id,xaxis:s.xaxis,yaxis:s.yaxis},xaxes:[s.xaxis],yaxes:[s.yaxis]};function q(e,t){return Math.sqrt(e*e+t*t)}function G(e,t){return q(e-E,t-k)}function $(e,t){return Math.atan2(k-t,e-E)}function Y(e,t){return[e*Math.cos(t),e*Math.sin(-t)]}function X(e,t){if(0===e)return s.pathSector(2*D);var r=I/e,n=t-r,i=t+r,o=Math.max(0,Math.min(e,h)),a=o-D,l=o+D;return"M"+Y(a,n)+"A"+[a,a]+" 0,0,0 "+Y(a,i)+"L"+Y(l,i)+"A"+[l,l]+" 0,0,1 "+Y(l,n)+"Z"}function Z(e,t,r){if(0===e)return s.pathSector(2*D);var n,i,o=Y(e,t),a=Y(e,r),l=P((o[0]+a[0])/2),u=P((o[1]+a[1])/2);if(l&&u){var c=u/l,f=-1/c,p=B(D,c,l,u);n=B(I,f,p[0][0],p[0][1]),i=B(I,f,p[1][0],p[1][1])}else{var d,h;u?(d=I,h=D):(d=D,h=I),n=[[l-d,u-h],[l+d,u-h]],i=[[l-d,u+h],[l+d,u+h]]}return"M"+n.join("L")+"L"+i.reverse().join("L")+"Z"}function J(){N=null,z=null,U=s.pathSubplot(),H=!1;var e=u._fullLayout[s.id];V=i(e.bgcolor).getLuminance(),Q=m.makeZoombox(f,V,b,_,U),Q.attr("fill-rule","evenodd"),W=m.makeCorners(f,b,_),w(u)}function ee(e,t){return t=Math.max(Math.min(t,h),v),e<d?e=0:h-e<d?e=h:t<d?t=0:h-t<d&&(t=h),Math.abs(t-e)>p?(e<t?(N=e,z=t):(N=t,z=e),!0):(N=null,z=null,!1)}function te(e,t){e=e||U,t=t||"M0,0Z",Q.attr("d",e),W.attr("d",t),m.transitionZoombox(Q,W,H,V),H=!0;var r={};ae(r),u.emit("plotly_relayouting",r)}function re(e,n){e*=t,n*=r;var i,o,a=R+e,l=F+n,u=G(R,F),c=Math.min(G(a,l),h),f=$(R,F);ee(u,c)&&(i=U+s.pathSector(z),N&&(i+=s.pathSector(N)),o=X(N,f)+X(z,f)),te(i,o)}function ne(e,t,r,n){var i=S.findIntersectionXY(r,n,r,[e-E,k-t]);return q(i[0],i[1])}function ie(e,t){var r,n,i=R+e,o=F+t,a=$(R,F),l=$(i,o),u=L(a,O),c=L(l,O),f=ne(R,F,u[0],u[1]),p=Math.min(ne(i,o,c[0],c[1]),h);ee(f,p)&&(r=U+s.pathSector(z),N&&(r+=s.pathSector(N)),n=[Z(N,u[0],u[1]),Z(z,u[0],u[1])].join(" ")),te(r,n)}function oe(){if(m.removeZoombox(u),null!==N&&null!==z){var e={};ae(e),m.showDoubleClickNotifier(u),o.call("_guiRelayout",u,e)}}function ae(e){var t=M._rl,r=(t[1]-t[0])/(1-v/h)/h,n=[t[0]+(N-v)*r,t[0]+(z-v)*r];e[s.id+".radialaxis.range"]=n}function se(e,t){var r=u._fullLayout.clickmode;if(m.removeZoombox(u),2===e){var n={};for(var i in s.viewInitial)n[s.id+"."+i]=s.viewInitial[i];u.emit("plotly_doubleclick",null),o.call("_guiRelayout",u,n)}r.indexOf("select")>-1&&1===e&&A(t,u,[s.xaxis],[s.yaxis],s.id,K),r.indexOf("event")>-1&&y.click(u,t,s.id)}K.prepFn=function(e,n,i){var o=u._fullLayout.dragmode,s=j.getBoundingClientRect();u._fullLayout._calcInverseTransform(u);var l=u._fullLayout._invTransform;t=u._fullLayout._invScaleX,r=u._fullLayout._invScaleY;var c=a.apply3DTransform(l)(n-s.left,i-s.top);if(R=c[0],F=c[1],O){var f=S.findPolygonOffset(h,T[0],T[1],O);R+=E+f[0],F+=k+f[1]}switch(o){case"zoom":K.moveFn=O?ie:re,K.clickFn=se,K.doneFn=oe,J(e,n,i);break;case"select":case"lasso":x(e,n,i,K,o);break}},j.onmousemove=function(e){y.hover(u,e,s.id),u._fullLayout._lasthover=j,u._fullLayout._hoversubplot=s.id},j.onmouseout=function(e){u._dragging||g.unhover(u,e)},g.init(K)},D.updateRadialDrag=function(e,t,r){var i=this,u=i.gd,c=i.layers,f=i.radius,p=i.innerRadius,d=i.cx,h=i.cy,v=i.radialAxis,y=C.radialDragBoxSize,b=y/2;if(v.visible){var x,A,_,T=P(i.radialAxisAngle),S=v._rl,O=S[0],M=S[1],L=S[r],D=.75*(S[1]-S[0])/(1-t.hole)/f;r?(x=d+(f+b)*Math.cos(T),A=h-(f+b)*Math.sin(T),_="radialdrag"):(x=d+(p-b)*Math.cos(T),A=h-(p-b)*Math.sin(T),_="radialdrag-inner");var I,j,N,z=m.makeRectDragger(c,_,"crosshair",-b,-b,y,y),U={element:z,gd:u};F(n.select(z),v.visible&&p<f,{transform:l(x,A)}),U.prepFn=function(){I=null,j=null,N=null,U.moveFn=H,U.doneFn=Q,w(u)},U.clampFn=function(e,t){return Math.sqrt(e*e+t*t)<C.MINDRAG&&(e=0,t=0),[e,t]},g.init(U)}function H(e,t){if(I)I(e,t);else{var r=[e,-t],n=[Math.cos(T),Math.sin(T)],i=Math.abs(a.dot(r,n)/Math.sqrt(a.dot(r,r)));isNaN(i)||(I=i<.5?W:K)}var o={};V(o),u.emit("plotly_relayouting",o)}function V(e){null!==j?e[i.id+".radialaxis.angle"]=j:null!==N&&(e[i.id+".radialaxis.range["+r+"]"]=N)}function Q(){null!==j?o.call("_guiRelayout",u,i.id+".radialaxis.angle",j):null!==N&&o.call("_guiRelayout",u,i.id+".radialaxis.range["+r+"]",N)}function W(e,t){if(0!==r){var n=x+e,o=A+t;j=Math.atan2(h-o,n-d),i.vangles&&(j=R(j,i.vangles)),j=B(j);var a=l(d,h)+s(-j);c["radial-axis"].attr("transform",a),c["radial-line"].select("line").attr("transform",a);var u=i.gd._fullLayout,f=u[i.id];i.updateRadialAxisTitle(u,f,j)}}function K(e,t){var n=a.dot([e,-t],[Math.cos(T),Math.sin(T)]);if(N=L-D*n,D>0===(r?N>O:N<M)){var s=u._fullLayout,l=s[i.id];v.range[r]=N,v._rl[r]=N,i.updateRadialAxis(s,l),i.xaxis.setRange(),i.xaxis.setScale(),i.yaxis.setRange(),i.yaxis.setScale();var c=!1;for(var f in i.traceHash){var p=i.traceHash[f],d=a.filterVisible(p),h=p[0][0].trace._module;h.plot(u,i,d,l),o.traceIs(f,"gl")&&d.length&&(c=!0)}c&&(E(u),k(u))}else N=null}},D.updateAngularDrag=function(e){var t=this,r=t.gd,i=t.layers,u=t.radius,f=t.angularAxis,p=t.cx,d=t.cy,h=t.cxx,v=t.cyy,y=C.angularDragBoxSize,b=m.makeDragger(i,"path","angulardrag","move"),x={element:b,gd:r};function A(e,t){return Math.atan2(v+y-t,e-h-y)}n.select(b).attr("d",t.pathAnnulus(u,u+y)).attr("transform",l(p,d)).call(_,"move");var T,S,O,M,P,L,D=i.frontplot.select(".scatterlayer").selectAll(".trace"),I=D.selectAll(".point"),j=D.selectAll(".textpoint");function R(u,m){var g=t.gd._fullLayout,y=g[t.id],b=T+u*e._invScaleX,x=S+m*e._invScaleY,w=A(b,x),_=B(w-L);if(M=O+_,i.frontplot.attr("transform",l(t.xOffset2,t.yOffset2)+s([-_,h,v])),t.vangles){P=t.radialAxisAngle+_;var C=l(p,d)+s(-_),R=l(p,d)+s(-P);i.bg.attr("transform",C),i["radial-grid"].attr("transform",C),i["radial-axis"].attr("transform",R),i["radial-line"].select("line").attr("transform",R),t.updateRadialAxisTitle(g,y,P)}else t.clipPaths.forTraces.select("path").attr("transform",l(h,v)+s(_));I.each((function(){var e=n.select(this),t=c.getTranslate(e);e.attr("transform",l(t.x,t.y)+s([_]))})),j.each((function(){var e=n.select(this),t=e.select("text"),r=c.getTranslate(e);e.attr("transform",s([_,t.attr("x"),t.attr("y")])+l(r.x,r.y))})),f.rotation=a.modHalf(M,360),t.updateAngularAxis(g,y),t._hasClipOnAxisFalse&&!a.isFullCircle(t.sectorInRad)&&D.call(c.hideOutsideRangePoints,t);var N=!1;for(var z in t.traceHash)if(o.traceIs(z,"gl")){var U=t.traceHash[z],H=a.filterVisible(U),V=U[0][0].trace._module;V.plot(r,t,H,y),H.length&&(N=!0)}N&&(E(r),k(r));var Q={};F(Q),r.emit("plotly_relayouting",Q)}function F(e){e[t.id+".angularaxis.rotation"]=M,t.vangles&&(e[t.id+".radialaxis.angle"]=P)}function N(){j.select("text").attr("transform",null);var e={};F(e),o.call("_guiRelayout",r,e)}x.prepFn=function(n,i,o){var s=e[t.id];O=s.angularaxis.rotation;var l=b.getBoundingClientRect();T=i-l.left,S=o-l.top,r._fullLayout._calcInverseTransform(r);var u=a.apply3DTransform(e._invTransform)(T,S);T=u[0],S=u[1],L=A(T,S),x.moveFn=R,x.doneFn=N,w(r)},t.vangles&&!a.isFullCircle(t.sectorInRad)&&(x.prepFn=a.noop,_(n.select(b),null)),g.init(x)},D.isPtInside=function(e){var t=this.sectorInRad,r=this.vangles,n=this.angularAxis.c2g(e.theta),i=this.radialAxis,o=i.c2l(e.r),s=i._rl,l=r?S.isPtInsidePolygon:a.isPtInsideSector;return l(o,n,s,t,r)},D.pathArc=function(e){var t=this.sectorInRad,r=this.vangles,n=r?S.pathPolygon:a.pathArc;return n(e,t[0],t[1],r)},D.pathSector=function(e){var t=this.sectorInRad,r=this.vangles,n=r?S.pathPolygon:a.pathSector;return n(e,t[0],t[1],r)},D.pathAnnulus=function(e,t){var r=this.sectorInRad,n=this.vangles,i=n?S.pathPolygonAnnulus:a.pathAnnulus;return i(e,t,r[0],r[1],n)},D.pathSubplot=function(){var e=this.innerRadius,t=this.radius;return e?this.pathAnnulus(e,t):this.pathSector(t)},D.fillViewInitialKey=function(e,t){e in this.viewInitial||(this.viewInitial[e]=t)}},"59e0":function(e,t,r){"use strict";var n=r("fc26");function i(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}t.formatPiePercent=function(e,t){var r=i((100*e).toPrecision(3));return n.numSeparate(r,t)+"%"},t.formatPieValue=function(e,t){var r=i(e.toPrecision(10));return n.numSeparate(r,t)},t.getFirstFilled=function(e,t){if(Array.isArray(e))for(var r=0;r<t.length;r++){var n=e[t[r]];if(n||0===n||""===n)return n}},t.castOption=function(e,r){return Array.isArray(e)?t.getFirstFilled(e,r):e||void 0},t.getRotationAngle=function(e){return("auto"===e?0:e)*Math.PI/180}},"5a1b":function(e,t,r){"use strict";e.exports=function(e,t){if(t instanceof RegExp){for(var r=t.toString(),n=0;n<e.length;n++)if(e[n]instanceof RegExp&&e[n].toString()===r)return e;e.push(t)}else!t&&0!==t||-1!==e.indexOf(t)||e.push(t);return e}},"5a1e":function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("a935"),a=r("fc26"),s=a.strScale,l=a.strRotate,u=a.strTranslate;e.exports=function(e,t,r){var a,c,f,p,d=e.node(),h=o[r.arrowhead||0],v=o[r.startarrowhead||0],m=(r.arrowwidth||1)*(r.arrowsize||1),g=(r.arrowwidth||1)*(r.startarrowsize||1),y=t.indexOf("start")>=0,b=t.indexOf("end")>=0,x=h.backoff*m+r.standoff,A=v.backoff*g+r.startstandoff;if("line"===d.nodeName){a={x:+e.attr("x1"),y:+e.attr("y1")},c={x:+e.attr("x2"),y:+e.attr("y2")};var w=a.x-c.x,_=a.y-c.y;if(f=Math.atan2(_,w),p=f+Math.PI,x&&A&&x+A>Math.sqrt(w*w+_*_))return void I();if(x){if(x*x>w*w+_*_)return void I();var E=x*Math.cos(f),k=x*Math.sin(f);c.x+=E,c.y+=k,e.attr({x2:c.x,y2:c.y})}if(A){if(A*A>w*w+_*_)return void I();var T=A*Math.cos(f),C=A*Math.sin(f);a.x-=T,a.y-=C,e.attr({x1:a.x,y1:a.y})}}else if("path"===d.nodeName){var S=d.getTotalLength(),O="";if(S<x+A)return void I();var M=d.getPointAtLength(0),P=d.getPointAtLength(.1);f=Math.atan2(M.y-P.y,M.x-P.x),a=d.getPointAtLength(Math.min(A,S)),O="0px,"+A+"px,";var B=d.getPointAtLength(S),L=d.getPointAtLength(S-.1);p=Math.atan2(B.y-L.y,B.x-L.x),c=d.getPointAtLength(Math.max(0,S-x));var D=O?A+x:x;O+=S-D+"px,"+S+"px",e.style("stroke-dasharray",O)}function I(){e.style("stroke-dasharray","0px,100px")}function j(t,o,a,c){t.path&&(t.noRotate&&(a=0),n.select(d.parentNode).append("path").attr({class:e.attr("class"),d:t.path,transform:u(o.x,o.y)+l(180*a/Math.PI)+s(c)}).style({fill:i.rgb(r.arrowcolor),"stroke-width":0}))}y&&j(v,a,f,g),b&&j(h,c,p,m)}},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5a4c":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("0d82"),a=r("8164"),s=null,l={cut:function(e){var t=e.getCurrentContent(),r=e.getSelection(),l=null;if(r.isCollapsed()){var u=r.getAnchorKey(),c=t.getBlockForKey(u).getLength();if(c===r.getAnchorOffset()){var f=t.getKeyAfter(u);if(null==f)return e;l=r.set("focusKey",f).set("focusOffset",0)}else l=r.set("focusOffset",c)}else l=r;l=a(l),s=o(t,l);var p=n.removeRange(t,l,"forward");return p===t?e:i.push(e,p,"remove-range")},paste:function(e){if(!s)return e;var t=n.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return i.push(e,t,"insert-fragment")}};e.exports=l},"5aa9":function(e,t,r){"use strict";var n=r("0948"),i=r("7223");function o(e){var t=e[0],r=e[1];if(0===t.cmpn(0))return 0;var o=t.abs().divmod(r.abs()),a=o.div,s=n(a),l=o.mod,u=t.negative!==r.negative?-1:1;if(0===l.cmpn(0))return u*s;if(s){var c=i(s)+4,f=n(l.ushln(c).divRound(r));return u*(s+f*Math.pow(2,-c))}var p=r.bitLength()-l.bitLength()+53;f=n(l.ushln(p).divRound(r));return p<1023?u*f*Math.pow(2,-p):(f*=Math.pow(2,-1023),u*f*Math.pow(2,1023-p))}e.exports=o},"5aae":function(e,t,r){"use strict";var n=r("107c"),i=r("a876"),o=r("94d5").hovertemplateAttrs,a=r("94d5").texttemplateAttrs,s=r("f4e9"),l=r("9092").extendFlat,u=n.marker,c=n.line,f=u.line;e.exports={carpet:{valType:"string",role:"info",editType:"calc",description:["An identifier for this carpet, so that `scattercarpet` and","`contourcarpet` traces can specify a carpet plot on which","they lie"].join(" ")},a:{valType:"data_array",editType:"calc",description:"Sets the a-axis coordinates."},b:{valType:"data_array",editType:"calc",description:"Sets the b-axis coordinates."},mode:l({},n.mode,{dflt:"markers"}),text:l({},n.text,{description:["Sets text elements associated with each (a,b) point.","If a single string, the same string appears over","all the data points.","If an array of strings, the items are mapped in order to the","the data points in (a,b).","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:a({editType:"plot"},{keys:["a","b","text"]}),hovertext:l({},n.hovertext,{description:["Sets hover text elements associated with each (a,b) point.","If a single string, the same string appears over","all the data points.","If an array of strings, the items are mapped in order to the","the data points in (a,b).","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),line:{color:c.color,width:c.width,dash:c.dash,shape:l({},c.shape,{values:["linear","spline"]}),smoothing:c.smoothing,editType:"calc"},connectgaps:n.connectgaps,fill:l({},n.fill,{values:["none","toself","tonext"],dflt:"none",description:["Sets the area to fill with a solid color.","Use with `fillcolor` if not *none*.","scatterternary has a subset of the options available to scatter.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other."].join(" ")}),fillcolor:n.fillcolor,marker:l({symbol:u.symbol,opacity:u.opacity,maxdisplayed:u.maxdisplayed,size:u.size,sizeref:u.sizeref,sizemin:u.sizemin,sizemode:u.sizemode,line:l({width:f.width,editType:"calc"},s("marker.line")),gradient:u.gradient,editType:"calc"},s("marker")),textfont:n.textfont,textposition:n.textposition,selected:n.selected,unselected:n.unselected,hoverinfo:l({},i.hoverinfo,{flags:["a","b","text","name"]}),hoveron:n.hoveron,hovertemplate:o()}},"5ad1":function(e,t,r){"use strict";function n(e,t){var r=[],n=t.value;"number"!==typeof t._lastValue&&(t._lastValue=t.value);var i=t._lastValue,o=i;return t._hasDelta&&"number"===typeof t.delta.reference&&(o=t.delta.reference),r[0]={y:n,lastY:i,delta:n-o,relativeDelta:(n-o)/o},r}e.exports={calc:n}},"5b01":function(e,t,r){var n=r("8eeb"),i=r("ec69");function o(e,t){return e&&n(t,i(t),e)}e.exports=o},"5b41":function(e,t,r){"use strict";t.version="1.58.4"},"5b68":function(e,t,r){"use strict";e.exports={mode:{valType:"enumerated",dflt:"afterall",role:"info",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",role:"info",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,role:"info",description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",role:"info",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",role:"info",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",role:"info",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],role:"info",editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",role:"info",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}},"5b71":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=r("e2a0"),i=f(n),o=r("020f"),a=f(o),s=r("60ed"),l=f(s),u=r("dd61"),c=f(u);function f(e){return e&&e.__esModule?e:{default:e}}var p=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,c.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,l.default)(t)?(0,a.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,i.default)(t)&&r.push(t)})),r};t.default=p},"5baa":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,1C1.89,1 1,1.89 1,3V5H3V3H5V1H3M7,1V3H10V1H7M12,1V3H14V5H16V3C16,1.89 15.11,1 14,1H12M1,7V10H3V7H1M14,7C14,7 14,11.67 14,14C11.67,14 7,14 7,14C7,14 7,18 7,20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7C18,7 14,7 14,7M16,9H20V20H9V16H14C15.11,16 16,15.11 16,14V9M1,12V14C1,15.11 1.89,16 3,16H5V14H3V12H1Z"}))};e.exports=s},"5be5":function(e,t,r){"use strict";function n(e){return n="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},n(e)}function i(e){if("object"!==n(e))throw new Error("trace provided to plotlyTraceToCustomTrace function should be an object, received ".concat(n(e)));var t="gl",r=e.type?e.type.endsWith(t)?e.type.slice(0,-t.length):e.type:"scatter";return"scatter"!==r&&"scattergl"!==r||[null,void 0,""].includes(e.stackgroup)&&!["tozeroy","tozerox","tonexty","tonextx","toself","tonext"].includes(e.fill)?"scatter"!==r&&"scattergl"!==r||"lines"!==e.mode&&"lines+markers"!==e.mode?"scatter3d"===r&&"lines"===e.mode?"line3d":r:"line":"area"}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r={type:"scatter"+t,mode:"markers",stackgroup:null};switch(e){case"line":return{type:"scatter"+t,mode:"lines",stackgroup:null};case"scatter":return r;case void 0:return r;case"area":return{type:"scatter"+t,mode:"lines",stackgroup:1};case"scatterpolar":return{type:"scatterpolar"+t};case"waterfall":return{type:"waterfall",orientation:"v"};case"box":return{type:"box",boxpoints:!1};case"violin":return{type:"violin",bandwidth:0};case"line3d":return{type:"scatter3d",mode:"lines"};case"scatter3d":return{type:"scatter3d",mode:"markers"};case"bar":return{orientation:"v",type:"bar"};case"cone":return{sizeref:1,type:"cone"};case"histogram2dcontour":return{type:"histogram2dcontour",autocolorscale:!0};case"histogram2d":return{type:"histogram2d",autocolorscale:!0};case"heatmap":return{type:"heatmap",autocolorscale:!0};case"contour":return{type:"contour",autocolorscale:!0};default:return{type:e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.plotlyTraceToCustomTrace=i,t.traceTypeToPlotlyInitFigure=o},"5be9":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M9.5,3C13.09,3 16,5.91 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16C5.91,16 3,13.09 3,9.5C3,5.91 5.91,3 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}))};e.exports=s},"5bec":function(e,t,r){"use strict";e.exports=function(e,t){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"initial"in t&&(e.initial=t.initial),"delta"in t&&(e.delta=t.delta),"final"in t&&(e.final=t.final),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},"5c08":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var i=f(r("ab5b")),o=u(r("d7bc")),a=u(r("74d6")),s=r("4578"),l=r("e419");function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function w(e){var t=function(t){v(n,t);var r=g(n);function n(){return p(this,n),r.apply(this,arguments)}return h(n,[{key:"getChildContext",value:function(){var e=this.context,t=e.layout,r=e.fullLayout,n=e.plotly,i=e.onUpdate,o=function(e){i&&i({type:l.EDITOR_ACTIONS.UPDATE_LAYOUT,payload:{update:e}})};return{getValObject:function(e){return n?n.PlotSchema.getLayoutValObject(r,(0,a.default)({},e).parts):null},updateContainer:o,container:t,fullContainer:r}}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="LayoutConnected".concat((0,s.getDisplayName)(e)),t.contextTypes={layout:o.default.object,fullLayout:o.default.object,plotly:o.default.object,onUpdate:o.default.func},t.childContextTypes={getValObject:o.default.func,updateContainer:o.default.func,container:o.default.object,fullContainer:o.default.object};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"5c33":function(e,t,r){"use strict";var n=r("bb4a"),i=r("9092").extendFlat,o=r("cb34").overrideAll,a=r("9845"),s=r("81f0").attributes,l=r("78df").FORMAT_LINK,u=e.exports=o({domain:s({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null,role:"style",description:["The width of columns expressed as a ratio. Columns fill the available width","in proportion of their specified column widths."].join(" ")},columnorder:{valType:"data_array",role:"info",description:["Specifies the rendered order of the data columns; for example, a value `2` at position `0`","means that column index `0` in the data will be rendered as the","third column, as columns have an index base of zero."].join(" ")},header:{values:{valType:"data_array",role:"info",dflt:[],description:["Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`,","therefore the `values[m]` vector length for all columns must be the same (longer vectors","will be truncated). Each value must be a finite number or a string."].join(" ")},format:{valType:"data_array",role:"info",dflt:[],description:["Sets the cell value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",l].join(" ")},prefix:{valType:"string",arrayOk:!0,dflt:null,role:"style",description:"Prefix for cell values."},suffix:{valType:"string",arrayOk:!0,dflt:null,role:"style",description:"Suffix for cell values."},height:{valType:"number",dflt:28,role:"style",description:"The height of cells."},align:i({},n.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1,role:"style"},color:{valType:"color",arrayOk:!0,dflt:"grey",role:"style"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white",role:"style",description:["Sets the cell fill color. It accepts either a specific color"," or an array of colors or a 2D array of colors."].join("")}},font:i({},a({arrayOk:!0}))},cells:{values:{valType:"data_array",role:"info",dflt:[],description:["Cell values. `values[m][n]` represents the value of the `n`th point in column `m`,","therefore the `values[m]` vector length for all columns must be the same (longer vectors","will be truncated). Each value must be a finite number or a string."].join(" ")},format:{valType:"data_array",role:"info",dflt:[],description:["Sets the cell value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",l].join(" ")},prefix:{valType:"string",arrayOk:!0,dflt:null,role:"style",description:"Prefix for cell values."},suffix:{valType:"string",arrayOk:!0,dflt:null,role:"style",description:"Suffix for cell values."},height:{valType:"number",dflt:20,role:"style",description:"The height of cells."},align:i({},n.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1,role:"style"},color:{valType:"color",arrayOk:!0,dflt:"grey",role:"style"}},fill:{color:{valType:"color",arrayOk:!0,role:"style",dflt:"white",description:["Sets the cell fill color. It accepts either a specific color"," or an array of colors or a 2D array of colors."].join("")}},font:i({},a({arrayOk:!0}))}},"calc","from-root");u.transforms=void 0},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5c79":function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("371e"),a=r("fc26"),s=a.strTranslate,l=a._,u=r("d115"),c=r("83d1"),f=r("1a40"),p=r("9092").extendFlat,d=r("bb71"),h=r("0642"),v=r("4efe"),m=r("a5c4"),g=r("e21b"),y=g.freeMode,b=g.rectMode,x=r("1999"),A=r("1876").prepSelect,w=r("1876").selectOnClick,_=r("1876").clearSelect,E=r("1876").clearSelectionsCache,k=r("d301");function T(e,t){this.id=e.id,this.graphDiv=e.graphDiv,this.init(t),this.makeFramework(t),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}e.exports=T;var C=T.prototype;C.init=function(e){this.container=e._ternarylayer,this.defs=e._defs,this.layoutId=e._uid,this.traceHash={},this.layers={}},C.plot=function(e,t){var r=this,n=t[r.id],i=t._size;r._hasClipOnAxisFalse=!1;for(var o=0;o<e.length;o++){var a=e[o][0].trace;if(!1===a.cliponaxis){r._hasClipOnAxisFalse=!0;break}}r.updateLayers(n),r.adjustLayout(n,i),d.generalUpdatePerTraceModule(r.graphDiv,r,e,n),r.layers.plotbg.select("path").call(u.fill,n.bgcolor)},C.makeFramework=function(e){var t=this,r=t.graphDiv,n=e[t.id],i=t.clipId="clip"+t.layoutId+t.id,o=t.clipIdRelative="clip-relative"+t.layoutId+t.id;t.clipDef=a.ensureSingleById(e._clips,"clipPath",i,(function(e){e.append("path").attr("d","M0,0Z")})),t.clipDefRelative=a.ensureSingleById(e._clips,"clipPath",o,(function(e){e.append("path").attr("d","M0,0Z")})),t.plotContainer=a.ensureSingle(t.container,"g",t.id),t.updateLayers(n),c.setClipUrl(t.layers.backplot,i,r),c.setClipUrl(t.layers.grids,i,r)},C.updateLayers=function(e){var t=this,r=t.layers,i=["draglayer","plotbg","backplot","grids"];"below traces"===e.aaxis.layer&&i.push("aaxis","aline"),"below traces"===e.baxis.layer&&i.push("baxis","bline"),"below traces"===e.caxis.layer&&i.push("caxis","cline"),i.push("frontplot"),"above traces"===e.aaxis.layer&&i.push("aaxis","aline"),"above traces"===e.baxis.layer&&i.push("baxis","bline"),"above traces"===e.caxis.layer&&i.push("caxis","cline");var o=t.plotContainer.selectAll("g.toplevel").data(i,String),a=["agrid","bgrid","cgrid"];o.enter().append("g").attr("class",(function(e){return"toplevel "+e})).each((function(e){var t=n.select(this);r[e]=t,"frontplot"===e?t.append("g").classed("scatterlayer",!0):"backplot"===e?t.append("g").classed("maplayer",!0):"plotbg"===e?t.append("path").attr("d","M0,0Z"):"aline"===e||"bline"===e||"cline"===e?t.append("path"):"grids"===e&&a.forEach((function(e){r[e]=t.append("g").classed("grid "+e,!0)}))})),o.order()};var S=Math.sqrt(4/3);function O(e){return e.ticks+String(e.ticklen)+String(e.showticklabels)}C.adjustLayout=function(e,t){var r,n,i,o,a,l,d=this,h=e.domain,v=(h.x[0]+h.x[1])/2,m=(h.y[0]+h.y[1])/2,g=h.x[1]-h.x[0],y=h.y[1]-h.y[0],b=g*t.w,x=y*t.h,A=e.sum,w=e.aaxis.min,_=e.baxis.min,E=e.caxis.min;b>S*x?(o=x,i=o*S):(i=b,o=i/S),a=g*i/b,l=y*o/x,r=t.l+t.w*v-i/2,n=t.t+t.h*(1-m)-o/2,d.x0=r,d.y0=n,d.w=i,d.h=o,d.sum=A,d.xaxis={type:"linear",range:[w+2*E-A,A-w-2*_],domain:[v-a/2,v+a/2],_id:"x"},f(d.xaxis,d.graphDiv._fullLayout),d.xaxis.setScale(),d.xaxis.isPtWithinRange=function(e){return e.a>=d.aaxis.range[0]&&e.a<=d.aaxis.range[1]&&e.b>=d.baxis.range[1]&&e.b<=d.baxis.range[0]&&e.c>=d.caxis.range[1]&&e.c<=d.caxis.range[0]},d.yaxis={type:"linear",range:[w,A-_-E],domain:[m-l/2,m+l/2],_id:"y"},f(d.yaxis,d.graphDiv._fullLayout),d.yaxis.setScale(),d.yaxis.isPtWithinRange=function(){return!0};var k=d.yaxis.domain[0],T=d.aaxis=p({},e.aaxis,{range:[w,A-_-E],side:"left",tickangle:(+e.aaxis.tickangle||0)-30,domain:[k,k+l*S],anchor:"free",position:0,_id:"y",_length:i});f(T,d.graphDiv._fullLayout),T.setScale();var C=d.baxis=p({},e.baxis,{range:[A-w-E,_],side:"bottom",domain:d.xaxis.domain,anchor:"free",position:0,_id:"x",_length:i});f(C,d.graphDiv._fullLayout),C.setScale();var O=d.caxis=p({},e.caxis,{range:[A-w-_,E],side:"right",tickangle:(+e.caxis.tickangle||0)+30,domain:[k,k+l*S],anchor:"free",position:0,_id:"y",_length:i});f(O,d.graphDiv._fullLayout),O.setScale();var M="M"+r+","+(n+o)+"h"+i+"l-"+i/2+",-"+o+"Z";d.clipDef.select("path").attr("d",M),d.layers.plotbg.select("path").attr("d",M);var P="M0,"+o+"h"+i+"l-"+i/2+",-"+o+"Z";d.clipDefRelative.select("path").attr("d",P);var B=s(r,n);d.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",B),d.clipDefRelative.select("path").attr("transform",null);var L=s(r-C._offset,n+o);d.layers.baxis.attr("transform",L),d.layers.bgrid.attr("transform",L);var D=s(r+i/2,n)+"rotate(30)"+s(0,-T._offset);d.layers.aaxis.attr("transform",D),d.layers.agrid.attr("transform",D);var I=s(r+i/2,n)+"rotate(-30)"+s(0,-O._offset);d.layers.caxis.attr("transform",I),d.layers.cgrid.attr("transform",I),d.drawAxes(!0),d.layers.aline.select("path").attr("d",T.showline?"M"+r+","+(n+o)+"l"+i/2+",-"+o:"M0,0").call(u.stroke,T.linecolor||"#000").style("stroke-width",(T.linewidth||0)+"px"),d.layers.bline.select("path").attr("d",C.showline?"M"+r+","+(n+o)+"h"+i:"M0,0").call(u.stroke,C.linecolor||"#000").style("stroke-width",(C.linewidth||0)+"px"),d.layers.cline.select("path").attr("d",O.showline?"M"+(r+i/2)+","+n+"l"+i/2+","+o:"M0,0").call(u.stroke,O.linecolor||"#000").style("stroke-width",(O.linewidth||0)+"px"),d.graphDiv._context.staticPlot||d.initInteractions(),c.setClipUrl(d.layers.frontplot,d._hasClipOnAxisFalse?null:d.clipId,d.graphDiv)},C.drawAxes=function(e){var t=this,r=t.graphDiv,n=t.id.substr(7)+"title",i=t.layers,o=t.aaxis,a=t.baxis,s=t.caxis;if(t.drawAx(o),t.drawAx(a),t.drawAx(s),e){var u=Math.max(o.showticklabels?o.tickfont.size/2:0,(s.showticklabels?.75*s.tickfont.size:0)+("outside"===s.ticks?.87*s.ticklen:0)),c=(a.showticklabels?a.tickfont.size:0)+("outside"===a.ticks?a.ticklen:0)+3;i["a-title"]=x.draw(r,"a"+n,{propContainer:o,propName:t.id+".aaxis.title",placeholder:l(r,"Click to enter Component A title"),attributes:{x:t.x0+t.w/2,y:t.y0-o.title.font.size/3-u,"text-anchor":"middle"}}),i["b-title"]=x.draw(r,"b"+n,{propContainer:a,propName:t.id+".baxis.title",placeholder:l(r,"Click to enter Component B title"),attributes:{x:t.x0-c,y:t.y0+t.h+.83*a.title.font.size+c,"text-anchor":"middle"}}),i["c-title"]=x.draw(r,"c"+n,{propContainer:s,propName:t.id+".caxis.title",placeholder:l(r,"Click to enter Component C title"),attributes:{x:t.x0+t.w+c,y:t.y0+t.h+.83*s.title.font.size+c,"text-anchor":"middle"}})}},C.drawAx=function(e){var t=this,r=t.graphDiv,n=e._name,i=n.charAt(0),o=e._id,s=t.layers[n],l=30,u=i+"tickLayout",c=O(e);t[u]!==c&&(s.selectAll("."+o+"tick").remove(),t[u]=c),e.setScale();var f=h.calcTicks(e),p=h.clipEnds(e,f),d=h.makeTransTickFn(e),v=h.getTickSigns(e)[2],m=a.deg2rad(l),g=v*(e.linewidth||1)/2,y=v*e.ticklen,b=t.w,x=t.h,A="b"===i?"M0,"+g+"l"+Math.sin(m)*y+","+Math.cos(m)*y:"M"+g+",0l"+Math.cos(m)*y+","+-Math.sin(m)*y,w={a:"M0,0l"+x+",-"+b/2,b:"M0,0l-"+b/2+",-"+x,c:"M0,0l-"+x+","+b/2}[i];h.drawTicks(r,e,{vals:"inside"===e.ticks?p:f,layer:s,path:A,transFn:d,crisp:!1}),h.drawGrid(r,e,{vals:p,layer:t.layers[i+"grid"],path:w,transFn:d,crisp:!1}),h.drawLabels(r,e,{vals:f,layer:s,transFn:d,labelFns:h.makeLabelFns(e,0,l)})};var M=k.MINZOOM/2+.87,P="m-0.87,.5h"+M+"v3h-"+(M+5.2)+"l"+(M/2+2.6)+",-"+(.87*M+4.5)+"l2.6,1.5l-"+M/2+","+.87*M+"Z",B="m0.87,.5h-"+M+"v3h"+(M+5.2)+"l-"+(M/2+2.6)+",-"+(.87*M+4.5)+"l-2.6,1.5l"+M/2+","+.87*M+"Z",L="m0,1l"+M/2+","+.87*M+"l2.6,-1.5l-"+(M/2+2.6)+",-"+(.87*M+4.5)+"l-"+(M/2+2.6)+","+(.87*M+4.5)+"l2.6,1.5l"+M/2+",-"+.87*M+"Z",D="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",I=!0;function j(e){n.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}C.clearSelect=function(){E(this.dragOptions),_(this.dragOptions.gd)},C.initInteractions=function(){var e,t,r,n,f,p,d,h,g,x,_,E,T=this,C=T.layers.plotbg.select("path").node(),O=T.graphDiv,M=O._fullLayout._zoomlayer;function R(e){var t={};return t[T.id+".aaxis.min"]=e.a,t[T.id+".baxis.min"]=e.b,t[T.id+".caxis.min"]=e.c,t}function F(e,t){var r=O._fullLayout.clickmode;j(O),2===e&&(O.emit("plotly_doubleclick",null),o.call("_guiRelayout",O,R({a:0,b:0,c:0}))),r.indexOf("select")>-1&&1===e&&w(t,O,[T.xaxis],[T.yaxis],T.id,T.dragOptions),r.indexOf("event")>-1&&m.click(O,t,T.id)}function N(e,t,o){var l=C.getBoundingClientRect();r=t-l.left,n=o-l.top,O._fullLayout._calcInverseTransform(O);var c=O._fullLayout._invTransform,v=a.apply3DTransform(c)(r,n);r=v[0],n=v[1],f={a:T.aaxis.range[0],b:T.baxis.range[1],c:T.caxis.range[1]},d=f,p=T.aaxis.range[1]-f.a,h=i(T.graphDiv._fullLayout[T.id].bgcolor).getLuminance(),g="M0,"+T.h+"L"+T.w/2+", 0L"+T.w+","+T.h+"Z",x=!1,_=M.append("path").attr("class","zoombox").attr("transform",s(T.x0,T.y0)).style({fill:h>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",g),E=M.append("path").attr("class","zoombox-corners").attr("transform",s(T.x0,T.y0)).style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),T.clearSelect(O)}function z(e,t){return 1-t/T.h}function U(e,t){return 1-(e+(T.h-t)/Math.sqrt(3))/T.w}function H(e,t){return(e-(T.h-t)/Math.sqrt(3))/T.w}function V(i,o){var a=r+i*e,s=n+o*t,l=Math.max(0,Math.min(1,z(r,n),z(a,s))),u=Math.max(0,Math.min(1,U(r,n),U(a,s))),c=Math.max(0,Math.min(1,H(r,n),H(a,s))),v=(l/2+c)*T.w,m=(1-l/2-u)*T.w,y=(v+m)/2,b=m-v,A=(1-l)*T.h,w=A-b/S;b<k.MINZOOM?(d=f,_.attr("d",g),E.attr("d","M0,0Z")):(d={a:f.a+l*p,b:f.b+u*p,c:f.c+c*p},_.attr("d",g+"M"+v+","+A+"H"+m+"L"+y+","+w+"L"+v+","+A+"Z"),E.attr("d","M"+r+","+n+D+"M"+v+","+A+P+"M"+m+","+A+B+"M"+y+","+w+L)),x||(_.transition().style("fill",h>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),E.transition().style("opacity",1).duration(200),x=!0),O.emit("plotly_relayouting",R(d))}function Q(){j(O),d!==f&&(o.call("_guiRelayout",O,R(d)),I&&O.data&&O._context.showTips&&(a.notifier(l(O,"Double-click to zoom back out"),"long"),I=!1))}function W(){f={a:T.aaxis.range[0],b:T.baxis.range[1],c:T.caxis.range[1]},d=f}function K(e,t){var r=e/T.xaxis._m,n=t/T.yaxis._m;d={a:f.a-n,b:f.b+(r+n)/2,c:f.c-(r-n)/2};var i=[d.a,d.b,d.c].sort(a.sorterAsc),o={a:i.indexOf(d.a),b:i.indexOf(d.b),c:i.indexOf(d.c)};i[0]<0&&(i[1]+i[0]/2<0?(i[2]+=i[0]+i[1],i[0]=i[1]=0):(i[2]+=i[0]/2,i[1]+=i[0]/2,i[0]=0),d={a:i[o.a],b:i[o.b],c:i[o.c]},t=(f.a-d.a)*T.yaxis._m,e=(f.c-d.c-f.b+d.b)*T.xaxis._m);var l=s(T.x0+e,T.y0+t);T.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",l);var u=s(-e,-t);T.clipDefRelative.select("path").attr("transform",u),T.aaxis.range=[d.a,T.sum-d.b-d.c],T.baxis.range=[T.sum-d.a-d.c,d.b],T.caxis.range=[T.sum-d.a-d.b,d.c],T.drawAxes(!1),T._hasClipOnAxisFalse&&T.plotContainer.select(".scatterlayer").selectAll(".trace").call(c.hideOutsideRangePoints,T),O.emit("plotly_relayouting",R(d))}function q(){o.call("_guiRelayout",O,R(d))}this.dragOptions={element:C,gd:O,plotinfo:{id:T.id,domain:O._fullLayout[T.id].domain,xaxis:T.xaxis,yaxis:T.yaxis},subplot:T.id,prepFn:function(r,n,i){T.dragOptions.xaxes=[T.xaxis],T.dragOptions.yaxes=[T.yaxis],e=O._fullLayout._invScaleX,t=O._fullLayout._invScaleY;var o=T.dragOptions.dragmode=O._fullLayout.dragmode;y(o)?T.dragOptions.minDrag=1:T.dragOptions.minDrag=void 0,"zoom"===o?(T.dragOptions.moveFn=V,T.dragOptions.clickFn=F,T.dragOptions.doneFn=Q,N(r,n,i)):"pan"===o?(T.dragOptions.moveFn=K,T.dragOptions.clickFn=F,T.dragOptions.doneFn=q,W(),T.clearSelect(O)):(b(o)||y(o))&&A(r,n,i,T.dragOptions,o)}},C.onmousemove=function(e){m.hover(O,e,T.id),O._fullLayout._lasthover=C,O._fullLayout._hoversubplot=T.id},C.onmouseout=function(e){O._dragging||v.unhover(O,e)},v.init(this.dragOptions)}},"5c9a":function(e,t,r){"use strict";e.exports={attributes:r("43ef"),supplyDefaults:r("1a06"),calc:r("6bd5"),plot:r("6954").plot,style:r("ee6b"),colorbar:r("a5e1"),hoverPoints:r("510f"),moduleType:"trace",name:"contour",basePlotModule:r("91cd"),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{description:["The data from which contour lines are computed is set in `z`.","Data in `z` must be a {2D array} of numbers.","Say that `z` has N rows and M columns, then by default,","these N rows correspond to N y coordinates","(set in `y` or auto-generated) and the M columns","correspond to M x coordinates (set in `x` or auto-generated).","By setting `transpose` to *true*, the above behavior is flipped."].join(" ")}}},"5cc5":function(e,t,r){"use strict";e.exports=r("5c9a")},"5ccc":function(e,t,r){var n=r("e98f"),i=r("28dd"),o=n("./vertex.glsl"),a=n("./composite.glsl");e.exports=function(e){return i(e,o,a,null,[{name:"position",type:"vec2"}])}},"5cf9":function(e,t,r){"use strict";function n(e){if("object"===typeof e){if("buttons"in e)return e.buttons;if("which"in e){var t=e.which;if(2===t)return 4;if(3===t)return 2;if(t>0)return 1<<t-1}else if("button"in e){t=e.button;if(1===t)return 4;if(2===t)return 2;if(t>=0)return 1<<t}}return 0}function i(e){return e.target||e.srcElement||window}function o(e){if("object"===typeof e){if("offsetX"in e)return e.offsetX;var t=i(e),r=t.getBoundingClientRect();return e.clientX-r.left}return 0}function a(e){if("object"===typeof e){if("offsetY"in e)return e.offsetY;var t=i(e),r=t.getBoundingClientRect();return e.clientY-r.top}return 0}t.buttons=n,t.element=i,t.x=o,t.y=a},"5d0a":function(e,t,r){"use strict";var n=r("0642");e.exports=function(e,t,r){var i={},o=r[t.geo]._subplot,a=o.mockAxis,s=e.lonlat;return i.lonLabel=n.tickText(a,a.c2l(s[0]),!0).text,i.latLabel=n.tickText(a,a.c2l(s[1]),!0).text,i}},"5d0b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function i(){var r,a,u,c;s(this,i);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return u=l(this,(r=i.__proto__||Object.getPrototypeOf(i)).call.apply(r,[this].concat(p))),a=u,u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return o.default.createElement(t,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},o.default.createElement(e,n({},u.props,u.state)))},c=a,l(u,c)}return u(i,r),i}(o.default.Component)};t.default=c},"5d7c":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M9,3V21H11V3H9M5,3V21H7V3H5M13,3V21H15V3H13M19,3H17V21H19V3Z"}))};e.exports=s},"5d89":function(e,t,r){var n=r("f8af");function i(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}e.exports=i},"5d8c":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M4,2H20C21.1,2 22,2.9 22,4V16C22,17.1 21.1,18 20,18H16L12,22L8,18H4C2.9,18 2,17.1 2,16V4C2,2.9 2.9,2 4,2M5,5V7H19V5H5M5,9V11H15V9H5M5,13V15H17V13H5Z"}))};e.exports=s},"5da2":function(e,t,r){"use strict";var n=r("fc26"),i=r("66db").handleRThetaDefaults,o=r("9103"),a=r("792f");e.exports=function(e,t,r,s){function l(r,i){return n.coerce(e,t,a,r,i)}var u=i(e,t,s,l);u?(l("thetaunit"),l("base"),l("offset"),l("width"),l("text"),l("hovertext"),l("hovertemplate"),o(e,t,l,r,s),n.coerceSelectionMarkerOpacity(t,l)):t.visible=!1}},"5dc6":function(e,t,r){"use strict";e.exports=p;var n=r("578f"),i=r("ed8d"),o=r("615a"),a=r("283e"),s=r("5e2e3");function l(e,t){this.gl=e,this.pickBuffer=t,this.screenBox=[0,0,e.drawingBufferWidth,e.drawingBufferHeight],this.viewBox=[0,0,0,0],this.dataBox=[-10,-10,10,10],this.gridLineEnable=[!0,!0],this.gridLineWidth=[1,1],this.gridLineColor=[[0,0,0,1],[0,0,0,1]],this.pixelRatio=1,this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickEnable=[!0,!0,!0,!0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[15,15,15,15],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelEnable=[!0,!0,!0,!0],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.titleCenter=[0,0],this.titleEnable=!0,this.titleAngle=0,this.titleColor=[0,0,0,1],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[4,4],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderLineEnable=[!0,!0,!0,!0],this.borderLineWidth=[2,2,2,2],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.grid=null,this.text=null,this.line=null,this.box=null,this.objects=[],this.overlays=[],this._tickBounds=[1/0,1/0,-1/0,-1/0],this.static=!1,this.dirty=!1,this.pickDirty=!1,this.pickDelay=120,this.pickRadius=10,this._pickTimeout=null,this._drawPick=this.drawPick.bind(this),this._depthCounter=0}var u=l.prototype;function c(e){for(var t=e.slice(),r=0;r<t.length;++r)t[r]=t[r].slice();return t}function f(e,t){return e.x-t.x}function p(e){var t=e.gl,r=n(t,[t.drawingBufferWidth,t.drawingBufferHeight]),u=new l(t,r);return u.grid=i(u),u.text=o(u),u.line=a(u),u.box=s(u),u.update(e),u}u.setDirty=function(){this.dirty=this.pickDirty=!0},u.setOverlayDirty=function(){this.dirty=!0},u.nextDepthValue=function(){return this._depthCounter++/65536},u.draw=function(){return function(){var e=this.gl,t=this.screenBox,r=this.viewBox,n=this.dataBox,i=this.pixelRatio,o=this.grid,a=this.line,s=this.text,l=this.objects;if(this._depthCounter=0,this.pickDirty&&(this._pickTimeout&&clearTimeout(this._pickTimeout),this.pickDirty=!1,this._pickTimeout=setTimeout(this._drawPick,this.pickDelay)),this.dirty){if(this.dirty=!1,e.bindFramebuffer(e.FRAMEBUFFER,null),e.enable(e.SCISSOR_TEST),e.disable(e.DEPTH_TEST),e.depthFunc(e.LESS),e.depthMask(!1),e.enable(e.BLEND),e.blendEquation(e.FUNC_ADD,e.FUNC_ADD),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),this.borderColor){e.scissor(t[0],t[1],t[2]-t[0],t[3]-t[1]);var u=this.borderColor;e.clearColor(u[0]*u[3],u[1]*u[3],u[2]*u[3],u[3]),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)}e.scissor(r[0],r[1],r[2]-r[0],r[3]-r[1]),e.viewport(r[0],r[1],r[2]-r[0],r[3]-r[1]);var c=this.backgroundColor;e.clearColor(c[0]*c[3],c[1]*c[3],c[2]*c[3],c[3]),e.clear(e.COLOR_BUFFER_BIT),o.draw();var f=this.zeroLineEnable,p=this.zeroLineColor,d=this.zeroLineWidth;if(f[0]||f[1]){a.bind();for(var h=0;h<2;++h)if(f[h]&&n[h]<=0&&n[h+2]>=0){var v=t[h]-n[h]*(t[h+2]-t[h])/(n[h+2]-n[h]);0===h?a.drawLine(v,t[1],v,t[3],d[h],p[h]):a.drawLine(t[0],v,t[2],v,d[h],p[h])}}for(h=0;h<l.length;++h)l[h].draw();e.viewport(t[0],t[1],t[2]-t[0],t[3]-t[1]),e.scissor(t[0],t[1],t[2]-t[0],t[3]-t[1]),this.grid.drawTickMarks(),a.bind();var m=this.borderLineEnable,g=this.borderLineWidth,y=this.borderLineColor;m[1]&&a.drawLine(r[0],r[1]-.5*g[1]*i,r[0],r[3]+.5*g[3]*i,g[1],y[1]),m[0]&&a.drawLine(r[0]-.5*g[0]*i,r[1],r[2]+.5*g[2]*i,r[1],g[0],y[0]),m[3]&&a.drawLine(r[2],r[1]-.5*g[1]*i,r[2],r[3]+.5*g[3]*i,g[3],y[3]),m[2]&&a.drawLine(r[0]-.5*g[0]*i,r[3],r[2]+.5*g[2]*i,r[3],g[2],y[2]),s.bind();for(h=0;h<2;++h)s.drawTicks(h);this.titleEnable&&s.drawTitle();var b=this.overlays;for(h=0;h<b.length;++h)b[h].draw();e.disable(e.SCISSOR_TEST),e.disable(e.BLEND),e.depthMask(!0)}}}(),u.drawPick=function(){return function(){if(!this.static){var e=this.pickBuffer;this.gl;this._pickTimeout=null,e.begin();for(var t=1,r=this.objects,n=0;n<r.length;++n)t=r[n].drawPick(t);e.end()}}}(),u.pick=function(){return function(e,t){if(!this.static){var r=this.pixelRatio,n=this.pickPixelRatio,i=this.viewBox,o=0|Math.round((e-i[0]/r)*n),a=0|Math.round((t-i[1]/r)*n),s=this.pickBuffer.query(o,a,this.pickRadius);if(!s)return null;for(var l=s.id+(s.value[0]<<8)+(s.value[1]<<16)+(s.value[2]<<24),u=this.objects,c=0;c<u.length;++c){var f=u[c].pick(o,a,l);if(f)return f}return null}}}(),u.setScreenBox=function(e){var t=this.screenBox,r=this.pixelRatio;t[0]=0|Math.round(e[0]*r),t[1]=0|Math.round(e[1]*r),t[2]=0|Math.round(e[2]*r),t[3]=0|Math.round(e[3]*r),this.setDirty()},u.setDataBox=function(e){var t=this.dataBox,r=t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3];r&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],this.setDirty())},u.setViewBox=function(e){var t=this.pixelRatio,r=this.viewBox;r[0]=0|Math.round(e[0]*t),r[1]=0|Math.round(e[1]*t),r[2]=0|Math.round(e[2]*t),r[3]=0|Math.round(e[3]*t);var n=this.pickPixelRatio;this.pickBuffer.shape=[0|Math.round((e[2]-e[0])*n),0|Math.round((e[3]-e[1])*n)],this.setDirty()},u.update=function(e){e=e||{};var t=this.gl;this.pixelRatio=e.pixelRatio||1;var r=this.pixelRatio;this.pickPixelRatio=Math.max(r,1),this.setScreenBox(e.screenBox||[0,0,t.drawingBufferWidth/r,t.drawingBufferHeight/r]);this.screenBox;this.setViewBox(e.viewBox||[.125*(this.screenBox[2]-this.screenBox[0])/r,.125*(this.screenBox[3]-this.screenBox[1])/r,.875*(this.screenBox[2]-this.screenBox[0])/r,.875*(this.screenBox[3]-this.screenBox[1])/r]);var n=this.viewBox,i=(n[2]-n[0])/(n[3]-n[1]);this.setDataBox(e.dataBox||[-10,-10/i,10,10/i]),this.borderColor=!1!==e.borderColor&&(e.borderColor||[0,0,0,0]).slice(),this.backgroundColor=(e.backgroundColor||[0,0,0,0]).slice(),this.gridLineEnable=(e.gridLineEnable||[!0,!0]).slice(),this.gridLineWidth=(e.gridLineWidth||[1,1]).slice(),this.gridLineColor=c(e.gridLineColor||[[.5,.5,.5,1],[.5,.5,.5,1]]),this.zeroLineEnable=(e.zeroLineEnable||[!0,!0]).slice(),this.zeroLineWidth=(e.zeroLineWidth||[4,4]).slice(),this.zeroLineColor=c(e.zeroLineColor||[[0,0,0,1],[0,0,0,1]]),this.tickMarkLength=(e.tickMarkLength||[0,0,0,0]).slice(),this.tickMarkWidth=(e.tickMarkWidth||[0,0,0,0]).slice(),this.tickMarkColor=c(e.tickMarkColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.titleCenter=(e.titleCenter||[.5*(n[0]+n[2])/r,(n[3]+120)/r]).slice(),this.titleEnable=!("titleEnable"in e)||!!e.titleEnable,this.titleAngle=e.titleAngle||0,this.titleColor=(e.titleColor||[0,0,0,1]).slice(),this.labelPad=(e.labelPad||[15,15,15,15]).slice(),this.labelAngle=(e.labelAngle||[0,Math.PI/2,0,3*Math.PI/2]).slice(),this.labelEnable=(e.labelEnable||[!0,!0,!0,!0]).slice(),this.labelColor=c(e.labelColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.tickPad=(e.tickPad||[15,15,15,15]).slice(),this.tickAngle=(e.tickAngle||[0,0,0,0]).slice(),this.tickEnable=(e.tickEnable||[!0,!0,!0,!0]).slice(),this.tickColor=c(e.tickColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.borderLineEnable=(e.borderLineEnable||[!0,!0,!0,!0]).slice(),this.borderLineWidth=(e.borderLineWidth||[2,2,2,2]).slice(),this.borderLineColor=c(e.borderLineColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]);var o=e.ticks||[[],[]],a=this._tickBounds;a[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(var s=0;s<2;++s){var l=o[s].slice(0);0!==l.length&&(l.sort(f),a[s]=Math.min(a[s],l[0].x),a[s+2]=Math.max(a[s+2],l[l.length-1].x))}this.grid.update({bounds:a,ticks:o}),this.text.update({bounds:a,ticks:o,labels:e.labels||["x","y"],labelSize:e.labelSize||[12,12],labelFont:e.labelFont||["sans-serif","sans-serif"],title:e.title||"",titleSize:e.titleSize||18,titleFont:e.titleFont||"sans-serif"}),this.static=!!e.static,this.setDirty()},u.dispose=function(){this.box.dispose(),this.grid.dispose(),this.text.dispose(),this.line.dispose();for(var e=this.objects.length-1;e>=0;--e)this.objects[e].dispose();this.objects.length=0;for(e=this.overlays.length-1;e>=0;--e)this.overlays[e].dispose();this.overlays.length=0,this.gl=null},u.addObject=function(e){this.objects.indexOf(e)<0&&(this.objects.push(e),this.setDirty())},u.removeObject=function(e){for(var t=this.objects,r=0;r<t.length;++r)if(t[r]===e){t.splice(r,1),this.setDirty();break}},u.addOverlay=function(e){this.overlays.indexOf(e)<0&&(this.overlays.push(e),this.setOverlayDirty())},u.removeOverlay=function(e){for(var t=this.overlays,r=0;r<t.length;++r)if(t[r]===e){t.splice(r,1),this.setOverlayDirty();break}}},"5dd4":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"}))};e.exports=s},"5def":function(e,t,r){"use strict";var n=r("74d6"),i=/^\w*$/,o=0,a=1,s=2,l=3,u=4;e.exports=function(e,t,r,c){var f,p,d;r=r||"name",c=c||"value";var h={};t&&t.length?(d=n(e,t),p=d.get()):p=e,t=t||"";var v={};if(p)for(f=0;f<p.length;f++)v[p[f][r]]=f;var m=i.test(c),g={set:function(e,t){var i=null===t?u:o;if(!p){if(!d||i===u)return;p=[],d.set(p)}var a=v[e];if(void 0===a){if(i===u)return;i|=l,a=p.length,v[e]=a}else t!==(m?p[a][c]:n(p[a],c).get())&&(i|=s);var f=p[a]=p[a]||{};return f[r]=e,m?f[c]=t:n(f,c).set(t),null!==t&&(i&=~u),h[a]=h[a]|i,g},get:function(e){if(p){var t=v[e];return void 0===t?void 0:m?p[t][c]:n(p[t],c).get()}},rename:function(e,t){var n=v[e];return void 0===n||(h[n]=h[n]|a,v[t]=n,delete v[e],p[n][r]=t),g},remove:function(e){var t=v[e];if(void 0===t)return g;var i=p[t];if(Object.keys(i).length>2)return h[t]=h[t]|s,g.set(e,null);if(m){for(f=t;f<p.length;f++)h[f]=h[f]|l;for(f=t;f<p.length;f++)v[p[f][r]]--;p.splice(t,1),delete v[e]}else n(i,c).set(null),h[t]=h[t]|s|u;return g},constructUpdate:function(){for(var e,i,o={},l=Object.keys(h),f=0;f<l.length;f++)i=l[f],e=t+"["+i+"]",p[i]?(h[i]&a&&(o[e+"."+r]=p[i][r]),h[i]&s&&(o[e+"."+c]=m?h[i]&u?null:p[i][c]:h[i]&u?null:n(p[i],c).get())):o[e]=null;return o}};return g}},"5e2e":function(e,t,r){var n=r("28c9"),i=r("69d5"),o=r("b4c0"),a=r("fba5"),s=r("67ca");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"5e2e3":function(e,t,r){"use strict";e.exports=l;var n=r("efce"),i=r("28dd"),o=r("b44d");function a(e,t,r){this.plot=e,this.vbo=t,this.shader=r}var s=a.prototype;function l(e){var t=e.gl,r=n(t,[0,0,0,1,1,0,1,1]),s=i(t,o.boxVert,o.lineFrag);return new a(e,r,s)}s.bind=function(){var e=this.shader;this.vbo.bind(),this.shader.bind(),e.attributes.coord.pointer(),e.uniforms.screenBox=this.plot.screenBox},s.drawBox=function(){var e=[0,0],t=[0,0];return function(r,n,i,o,a){var s=this.plot,l=this.shader,u=s.gl;e[0]=r,e[1]=n,t[0]=i,t[1]=o,l.uniforms.lo=e,l.uniforms.hi=t,l.uniforms.color=a,u.drawArrays(u.TRIANGLE_STRIP,0,4)}}(),s.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},"5e46":function(e,t,r){"use strict";var n=r("98e74");e.exports=function(e,t,r){var i=e.i;return"r"in e||(e.r=t._r[i]),"theta"in e||(e.theta=t._theta[i]),n(e,t,r)}},"5e8f":function(e,t,r){"use strict";var n=r("de81");e.exports={hasLines:n.hasLines,hasMarkers:n.hasMarkers,hasText:n.hasText,isBubble:n.isBubble,attributes:r("107c"),supplyDefaults:r("0eb7"),crossTraceDefaults:r("0324"),calc:r("70b4").calc,crossTraceCalc:r("4324"),arraysToCalcdata:r("106b"),plot:r("f118"),colorbar:r("f3cf"),formatLabels:r("7e96"),style:r("52e8").style,styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("391b"),selectPoints:r("214c"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:r("91cd"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}},"5e95":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.updateSubplot=i.updateSubplot.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.subplot,n=e.traceIndexes,i=t.container,o=t.fullContainer,s=t.data;this.container=i[r]||{},this.fullContainer=o[r]||{};var l=n.length>0?s[n[0]]:{},u=(0,a.getFullTrace)(e,t);l&&u&&(this.icon=(0,a.renderTraceIcon)((0,a.plotlyTraceToCustomTrace)(l)),this.name=u.name)}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("".concat(e.props.subplot,".").concat(t)):null},updateContainer:this.updateSubplot,container:this.container,fullContainer:this.fullContainer}}},{key:"updateSubplot",value:function(e){var t={};for(var r in e)t["".concat(this.props.subplot,".").concat(r)]=e[r];this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,c({name:this.name,icon:this.icon},this.props))}}]),n}(i.Component);t.displayName="SubplotConnected".concat((0,a.getDisplayName)(e)),t.propTypes={subplot:o.default.string.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,fullData:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"5ea3":function(e,t,r){"use strict";(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t["a"]=r}).call(this,r("c8ba"))},"5ecd":function(e,t){e.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},"5edd":function(e,t,r){"use strict";var n=r("936a"),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!n(e)&&hasOwnProperty.call(i,typeof e)}},"5f0d":function(e,t,r){"use strict";var n=r("53cc"),i=r("fc26"),o=r("0a3e").wrap,a=i.isArrayOrTypedArray,s=i.isIndex,l=r("c258");function u(e){var t,r=e.node,n=e.link,o=[],u=a(n.color),f=a(n.customdata),p={},d={},h=n.colorscales.length;for(t=0;t<h;t++){var v=n.colorscales[t],m=l.extractScale(v,{cLetter:"c"}),g=l.makeColorScaleFunc(m);d[v.label]=g}var y=0;for(t=0;t<n.value.length;t++)n.source[t]>y&&(y=n.source[t]),n.target[t]>y&&(y=n.target[t]);var b,x=y+1;e.node._count=x;var A=e.node.groups,w={};for(t=0;t<A.length;t++){var _=A[t];for(b=0;b<_.length;b++){var E=_[b],k=x+t;w.hasOwnProperty(E)?i.warn("Node "+E+" is already part of a group."):w[E]=k}}var T={source:[],target:[]};for(t=0;t<n.value.length;t++){var C=n.value[t],S=n.source[t],O=n.target[t];if(C>0&&s(S,x)&&s(O,x)&&(!w.hasOwnProperty(S)||!w.hasOwnProperty(O)||w[S]!==w[O])){w.hasOwnProperty(O)&&(O=w[O]),w.hasOwnProperty(S)&&(S=w[S]),S=+S,O=+O,p[S]=p[O]=!0;var M="";n.label&&n.label[t]&&(M=n.label[t]);var P=null;M&&d.hasOwnProperty(M)&&(P=d[M]),o.push({pointNumber:t,label:M,color:u?n.color[t]:n.color,customdata:f?n.customdata[t]:n.customdata,concentrationscale:P,source:S,target:O,value:+C}),T.source.push(S),T.target.push(O)}}var B=x+A.length,L=a(r.color),D=a(r.customdata),I=[];for(t=0;t<B;t++)if(p[t]){var j=r.label[t];I.push({group:t>x-1,childrenNodes:[],pointNumber:t,label:j,color:L?r.color[t]:r.color,customdata:D?r.customdata[t]:r.customdata})}var R=!1;return c(B,T.source,T.target)&&(R=!0),{circular:R,links:o,nodes:I,groups:A,groupLookup:w}}function c(e,t,r){for(var o=i.init2dArray(e,0),a=0;a<Math.min(t.length,r.length);a++)if(i.isIndex(t[a],e)&&i.isIndex(r[a],e)){if(t[a]===r[a])return!0;o[t[a]].push(r[a])}var s=n(o);return s.components.some((function(e){return e.length>1}))}e.exports=function(e,t){var r=u(t);return o({circular:r.circular,_nodes:r.nodes,_links:r.links,_groups:r.groups,_groupLookup:r.groupLookup})}},"5f11":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("ab5b")),o=l(r("e874")),a=l(r("d7bc")),s=r("0bab");function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(r,e);var t=h(r);function r(e){var n;u(this,r),n=t.call(this,e);var i=n.unwrap(e.value);return n.state={value:i},n.onChange=n.onChange.bind(m(n)),n.onBlur=n.onBlur.bind(m(n)),n}return f(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.unwrap(e.value);t!==this.state.value&&this.setState({value:t})}},{key:"unwrap",value:function(e){return(0,s.isLaTeXExpr)(e)?e.substr(1,e.length-2):e}},{key:"wrap",value:function(e){return(0,s.isLaTeXExpr)(e)?e:"$".concat(e,"$")}},{key:"onChange",value:function(e){this.setState({value:e.target.value})}},{key:"onBlur",value:function(e){var t=this.wrap(e.target.value);this.props.onChange(t)}},{key:"render",value:function(){var e=this.props.className,t=e||"text-editor__latex";return i.default.createElement("textarea",{value:this.state.value,placeholder:this.props.placeholder,onChange:this.onChange,onBlur:this.onBlur,className:t})}}]),r}(o.default);t.default=b,b.propTypes={className:a.default.string,onChange:a.default.func.isRequired,placeholder:a.default.string,value:a.default.string},b.defaultProps={value:"",placeholder:""}},"5f31":function(e,t,r){"use strict";r.r(t);var n=r("d7bc"),i=r.n(n),o=r("ab5b"),a=r.n(o),s=r("bce9");function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){f(e,t,r[t])}))}return e}function d(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&&v(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?m(e):t}var y=function(e,t){return Math.sqrt(e*e+t*t)},b=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y,a=r*i+n*o,s=r*o-n*i,l=Math.atan2(s,a)/Math.PI*180;return(l+360)%360},x=function(e){return e*Math.PI/180},A=function(e){return Math.cos(x(e))},w=function(e){return Math.sin(x(e))},_=function(e,t,r){var n=e+t;return n>r?e=n:(t=r-e,e=r),{width:e,deltaW:t}},E=function(e,t,r){var n=e+t;return n>r?e=n:(t=r-e,e=r),{height:e,deltaH:t}},k=function(e,t,r,n,i,o,a){var s=t.width,l=t.height,u=t.centerX,c=t.centerY,f=t.rotateAngle,p=s<0?-1:1,d=l<0?-1:1;switch(s=Math.abs(s),l=Math.abs(l),e){case"r":var h=_(s,r,o);s=h.width,r=h.deltaW,i?(n=r/i,l=s/i,u+=r/2*A(f)-n/2*w(f),c+=r/2*w(f)+n/2*A(f)):(u+=r/2*A(f),c+=r/2*w(f));break;case"tr":n=-n;var v=_(s,r,o);s=v.width,r=v.deltaW;var m=E(l,n,a);l=m.height,n=m.deltaH,i&&(r=n*i,s=l*i),u+=r/2*A(f)+n/2*w(f),c+=r/2*w(f)-n/2*A(f);break;case"br":var g=_(s,r,o);s=g.width,r=g.deltaW;var y=E(l,n,a);l=y.height,n=y.deltaH,i&&(r=n*i,s=l*i),u+=r/2*A(f)-n/2*w(f),c+=r/2*w(f)+n/2*A(f);break;case"b":var b=E(l,n,a);l=b.height,n=b.deltaH,i?(r=n*i,s=l*i,u+=r/2*A(f)-n/2*w(f),c+=r/2*w(f)+n/2*A(f)):(u-=n/2*w(f),c+=n/2*A(f));break;case"bl":r=-r;var x=_(s,r,o);s=x.width,r=x.deltaW;var k=E(l,n,a);l=k.height,n=k.deltaH,i&&(l=s/i,n=r/i),u-=r/2*A(f)+n/2*w(f),c-=r/2*w(f)-n/2*A(f);break;case"l":r=-r;var T=_(s,r,o);s=T.width,r=T.deltaW,i?(l=s/i,n=r/i,u-=r/2*A(f)+n/2*w(f),c-=r/2*w(f)-n/2*A(f)):(u-=r/2*A(f),c-=r/2*w(f));break;case"tl":r=-r,n=-n;var C=_(s,r,o);s=C.width,r=C.deltaW;var S=E(l,n,a);l=S.height,n=S.deltaH,i&&(s=l*i,r=n*i),u-=r/2*A(f)-n/2*w(f),c-=r/2*w(f)+n/2*A(f);break;case"t":n=-n;var O=E(l,n,a);l=O.height,n=O.deltaH,i?(s=l*i,r=n*i,u+=r/2*A(f)+n/2*w(f),c+=r/2*w(f)-n/2*A(f)):(u+=n/2*w(f),c-=n/2*A(f));break}return{position:{centerX:u,centerY:c},size:{width:s*p,height:l*d}}},T={n:0,ne:1,e:2,se:3,s:4,sw:5,w:6,nw:7},C=["n","ne","e","se","s","sw","w","nw"],S={0:0,1:1,2:2,3:2,4:3,5:4,6:4,7:5,8:6,9:6,10:7,11:8},O=function(e,t){var r=S[Math.floor(e/30)],n=T[t],i=(n+r)%8;return C[i]},M=function(e){var t=e.centerX,r=e.centerY,n=e.width,i=e.height,o=e.rotateAngle;return{top:r-i/2,left:t-n/2,width:n,height:i,rotateAngle:o}},P=function(e){var t=e.top,r=e.left,n=e.width,i=e.height,o=e.rotateAngle;return{position:{centerX:r+n/2,centerY:t+i/2},size:{width:n,height:i},transform:{rotateAngle:o}}},B=s["a"].div.withConfig({displayName:"StyledRect",componentId:"sc-1uso172-0"})(['position:absolute;border:1px solid #eb5648;.square{position:absolute;width:7px;height:7px;background:white;border:1px solid #eb5648;border-radius:1px;}.resizable-handler{position:absolute;width:14px;height:14px;cursor:pointer;z-index:1;&.tl,&.t,&.tr{top:-7px;}&.tl,&.l,&.bl{left:-7px;}&.bl,&.b,&.br{bottom:-7px;}&.br,&.r,&.tr{right:-7px;}&.l,&.r{margin-top:-7px;}&.t,&.b{margin-left:-7px;}}.rotate{position:absolute;cursor:pointer;left:50%;top:-26px;transform:translateX(-50%);& i{font-size:18px;display:inline-block;width:1em;height:1em;background-size:1em 1em;background-repeat:no-repeat;background-position:center center;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNOC4zIDUuNEw4IC40bDMuMiAyLjEgMS43IDF6Ii8+PG1hc2sgaWQ9ImIiIHg9IjAiIHk9IjAiIHdpZHRoPSI0LjkiIGhlaWdodD0iNC45IiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIiBzdHJva2U9IiNGNTVENTQiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTExIDkuMkE2IDYgMCAwIDEgMCA2YTYgNiAwIDAgMSAxMC43LTMuOCIvPjx1c2UgbWFzaz0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIyIiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAwIDAgMSAyMSAwKSIgeGxpbms6aHJlZj0iI2EiLz48L2c+PC9zdmc+Cg==");}}.t,.tl,.tr{top:-3px;}.b,.bl,.br{bottom:-3px;}.r,.tr,.br{right:-3px;}.tl,.l,.bl{left:-3px;}.l,.r{top:50%;margin-top:-3px;}.t,.b{left:50%;margin-left:-3px;}']),L={n:"t",s:"b",e:"r",w:"l",ne:"tr",nw:"tl",se:"br",sw:"bl"},D=function(e){function t(){var e,r;l(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=g(this,(e=h(t)).call.apply(e,[this].concat(i))),f(m(m(r)),"setElementRef",(function(e){r.$element=e})),f(m(m(r)),"startDrag",(function(e){var t=e.clientX,n=e.clientY;r.props.onDragStart&&r.props.onDragStart(),r._isMouseDown=!0;var i=function(e){if(r._isMouseDown){e.stopImmediatePropagation();var i=e.clientX,o=e.clientY,a=i-t,s=o-n;r.props.onDrag(a,s),t=i,n=o}},o=function e(){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e),r._isMouseDown&&(r._isMouseDown=!1,r.props.onDragEnd&&r.props.onDragEnd())};document.addEventListener("mousemove",i),document.addEventListener("mouseup",o)})),f(m(m(r)),"startRotate",(function(e){if(0===e.button){var t=e.clientX,n=e.clientY,i=r.props.styles.transform.rotateAngle,o=r.$element.getBoundingClientRect(),a={x:o.left+o.width/2,y:o.top+o.height/2},s={x:t-a.x,y:n-a.y};r.props.onRotateStart&&r.props.onRotateStart(),r._isMouseDown=!0;var l=function(e){if(r._isMouseDown){e.stopImmediatePropagation();var t=e.clientX,n=e.clientY,o={x:t-a.x,y:n-a.y},l=b(s,o);r.props.onRotate(l,i)}},u=function e(){document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",e),r._isMouseDown&&(r._isMouseDown=!1,r.props.onRotateEnd&&r.props.onRotateEnd())};document.addEventListener("mousemove",l),document.addEventListener("mouseup",u)}})),f(m(m(r)),"startResize",(function(e,t){if(0===e.button){document.body.style.cursor=t;var n=r.props.styles,i=n.position,o=i.centerX,a=i.centerY,s=n.size,l=s.width,u=s.height,c=n.transform.rotateAngle,f=e.clientX,p=e.clientY,d={width:l,height:u,centerX:o,centerY:a,rotateAngle:c},h=e.target.getAttribute("class").split(" ")[0];r.props.onResizeStart&&r.props.onResizeStart(),r._isMouseDown=!0;var v=function(e){if(r._isMouseDown){e.stopImmediatePropagation();var t=e.clientX,n=e.clientY,i=t-f,o=n-p,a=Math.atan2(o,i),s=y(i,o),l=e.shiftKey;r.props.onResize(s,a,d,h,l)}},m=function e(){document.body.style.cursor="auto",document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",e),r._isMouseDown&&(r._isMouseDown=!1,r.props.onResizeEnd&&r.props.onResizeEnd())};document.addEventListener("mousemove",v),document.addEventListener("mouseup",m)}})),r}return d(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.styles,n=r.position,i=n.centerX,o=n.centerY,s=r.size,l=s.width,u=s.height,c=r.transform.rotateAngle,f=t.zoomable,p=t.rotatable,d=t.parentRotateAngle,h={width:Math.abs(l),height:Math.abs(u),transform:"rotate(".concat(c,"deg)"),left:i-Math.abs(l)/2,top:o-Math.abs(u)/2},v=f.split(",").map((function(e){return e.trim()})).filter((function(e){return e}));return a.a.createElement(B,{ref:this.setElementRef,onMouseDown:this.startDrag,className:"rect single-resizer",style:h},p&&a.a.createElement("div",{className:"rotate",onMouseDown:this.startRotate},a.a.createElement("i",null)),v.map((function(t){var r="".concat(O(c+d,t),"-resize");return a.a.createElement("div",{key:t,style:{cursor:r},className:"".concat(L[t]," resizable-handler"),onMouseDown:function(t){return e.startResize(t,r)}})})),v.map((function(e){return a.a.createElement("div",{key:e,className:"".concat(L[e]," square")})})))}}]),t}(o["PureComponent"]);f(D,"propTypes",{styles:i.a.object,zoomable:i.a.string,rotatable:i.a.bool,onResizeStart:i.a.func,onResize:i.a.func,onResizeEnd:i.a.func,onRotateStart:i.a.func,onRotate:i.a.func,onRotateEnd:i.a.func,onDragStart:i.a.func,onDrag:i.a.func,onDragEnd:i.a.func,parentRotateAngle:i.a.number});var I=function(e){function t(){var e,r;l(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=g(this,(e=h(t)).call.apply(e,[this].concat(i))),f(m(m(r)),"handleRotate",(function(e,t){if(r.props.onRotate){var n=Math.round(t+e);n>=360?n-=360:n<0&&(n+=360),n>356||n<4?n=0:n>86&&n<94?n=90:n>176&&n<184?n=180:n>266&&n<274&&(n=270),r.props.onRotate(n)}})),f(m(m(r)),"handleResize",(function(e,t,n,i,o){if(r.props.onResize){var a=r.props,s=a.rotateAngle,l=a.aspectRatio,u=a.minWidth,c=a.minHeight,f=a.parentRotateAngle,d=t-x(s+f),h=e*Math.cos(d),v=e*Math.sin(d),m=o&&!l?n.width/n.height:l,g=k(i,p({},n,{rotateAngle:s}),h,v,m,u,c),y=g.position,b=y.centerX,A=y.centerY,w=g.size,_=w.width,E=w.height;r.props.onResize(M({centerX:b,centerY:A,width:_,height:E,rotateAngle:s}),o,i)}})),f(m(m(r)),"handleDrag",(function(e,t){r.props.onDrag&&r.props.onDrag(e,t)})),r}return d(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.top,r=e.left,n=e.width,i=e.height,o=e.rotateAngle,s=e.parentRotateAngle,l=e.zoomable,u=e.rotatable,c=e.onRotate,f=e.onResizeStart,p=e.onResizeEnd,d=e.onRotateStart,h=e.onRotateEnd,v=e.onDragStart,m=e.onDragEnd,g=P({top:t,left:r,width:n,height:i,rotateAngle:o});return a.a.createElement(D,{styles:g,zoomable:l,rotatable:Boolean(u&&c),parentRotateAngle:s,onResizeStart:f,onResize:this.handleResize,onResizeEnd:p,onRotateStart:d,onRotate:this.handleRotate,onRotateEnd:h,onDragStart:v,onDrag:this.handleDrag,onDragEnd:m})}}]),t}(o["Component"]);f(I,"propTypes",{left:i.a.number.isRequired,top:i.a.number.isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired,rotatable:i.a.bool,rotateAngle:i.a.number,parentRotateAngle:i.a.number,zoomable:i.a.string,minWidth:i.a.number,minHeight:i.a.number,aspectRatio:i.a.oneOfType([i.a.number,i.a.bool]),onRotateStart:i.a.func,onRotate:i.a.func,onRotateEnd:i.a.func,onResizeStart:i.a.func,onResize:i.a.func,onResizeEnd:i.a.func,onDragStart:i.a.func,onDrag:i.a.func,onDragEnd:i.a.func}),f(I,"defaultProps",{parentRotateAngle:0,rotateAngle:0,rotatable:!0,zoomable:"",minWidth:10,minHeight:10}),t["default"]=I},"5f50":function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}},"5f5f":function(e,t,r){"use strict";function n(e){this.plot=e,this.enable=[!0,!0,!1,!1],this.width=[1,1,1,1],this.color=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.center=[1/0,1/0]}e.exports=o;var i=n.prototype;function o(e,t){var r=new n(e);return r.update(t),e.addOverlay(r),r}i.update=function(e){e=e||{},this.enable=(e.enable||[!0,!0,!1,!1]).slice(),this.width=(e.width||[1,1,1,1]).slice(),this.color=(e.color||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]).map((function(e){return e.slice()})),this.center=(e.center||[1/0,1/0]).slice(),this.plot.setOverlayDirty()},i.draw=function(){var e=this.enable,t=this.width,r=this.color,n=this.center,i=this.plot,o=i.line,a=i.dataBox,s=i.viewBox;if(o.bind(),a[0]<=n[0]&&n[0]<=a[2]&&a[1]<=n[1]&&n[1]<=a[3]){var l=s[0]+(n[0]-a[0])/(a[2]-a[0])*(s[2]-s[0]),u=s[1]+(n[1]-a[1])/(a[3]-a[1])*(s[3]-s[1]);e[0]&&o.drawLine(l,u,s[0],u,t[0],r[0]),e[1]&&o.drawLine(l,u,l,s[1],t[1],r[1]),e[2]&&o.drawLine(l,u,s[2],u,t[2],r[2]),e[3]&&o.drawLine(l,u,l,s[3],t[3],r[3])}},i.dispose=function(){this.plot.removeOverlay(this)}},"5fb2":function(e,t,r){"use strict";var n=2147483647,i=36,o=1,a=26,s=38,l=700,u=72,c=128,f="-",p=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",v=i-o,m=Math.floor,g=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},x=function(e,t,r){var n=0;for(e=r?m(e/l):e>>1,e+=m(e/t);e>v*a>>1;n+=i)e=m(e/v);return m(n+(v+1)*e/(e+s))},A=function(e){var t=[];e=y(e);var r,s,l=e.length,p=c,d=0,v=u;for(r=0;r<e.length;r++)s=e[r],s<128&&t.push(g(s));var A=t.length,w=A;A&&t.push(f);while(w<l){var _=n;for(r=0;r<e.length;r++)s=e[r],s>=p&&s<_&&(_=s);var E=w+1;if(_-p>m((n-d)/E))throw RangeError(h);for(d+=(_-p)*E,p=_,r=0;r<e.length;r++){if(s=e[r],s<p&&++d>n)throw RangeError(h);if(s==p){for(var k=d,T=i;;T+=i){var C=T<=v?o:T>=v+a?a:T-v;if(k<C)break;var S=k-C,O=i-C;t.push(g(b(C+S%O))),k=m(S/O)}t.push(g(b(k))),v=x(d,E,w==A),d=0,++w}}++d,++p}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(d,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(p.test(r)?"xn--"+A(r):r);return n.join(".")}},6017:function(e,t,r){(function(e,t){(function(e,r){"use strict";if(!e.setImmediate){var n,i=1,o={},a=!1,s=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?d():h()?v():e.MessageChannel?m():s&&"onreadystatechange"in s.createElement("script")?g():y(),l.setImmediate=u,l.clearImmediate=c}function u(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var a={callback:e,args:t};return o[i]=a,n(i),i++}function c(e){delete o[e]}function f(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n);break}}function p(e){if(a)setTimeout(p,0,e);else{var t=o[e];if(t){a=!0;try{f(t)}finally{c(e),a=!1}}}}function d(){n=function(e){t.nextTick((function(){p(e)}))}}function h(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}function v(){var t="setImmediate$"+Math.random()+"$",r=function(r){r.source===e&&"string"===typeof r.data&&0===r.data.indexOf(t)&&p(+r.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(r){e.postMessage(t+r,"*")}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;p(t)},n=function(t){e.port2.postMessage(t)}}function g(){var e=s.documentElement;n=function(t){var r=s.createElement("script");r.onreadystatechange=function(){p(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r)}}function y(){n=function(e){setTimeout(p,0,e)}}})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,r("c8ba"),r("4362"))},6024:function(e,t,r){"use strict";var n,i=r("e0f6"),o=r("f973"),a=r("f508"),s=r("1c4a"),l=r("06a2"),u=Object.defineProperty;n=e.exports=function(e,t){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");l.call(this,e),t=t?o.call(t,"key+value")?"key+value":o.call(t,"key")?"key":"value":"value",u(this,"__kind__",a("",t))},i&&i(n,l),delete n.prototype.constructor,n.prototype=Object.create(l.prototype,{_resolve:a((function(e){return"value"===this.__kind__?this.__list__[e]:"key+value"===this.__kind__?[e,this.__list__[e]]:e}))}),u(n.prototype,s.toStringTag,a("c","Array Iterator"))},6030:function(e,t,r){"use strict";var n=r("ce00");function i(e){var t=e.toString("hex",0,2);return"ffd8"===t}function o(e){var t=e.toString("hex",2,6);return"45786966"===t}function a(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}var s=2,l=6,u=2,c="4d4d",f="4949",p=12,d=2;function h(e,t){var r=e.slice(s,t),n=r.toString("hex",l,l+u),i=n===c,o=n===f;if(i||o)return v(r,i)}function v(e,t){for(var r,i,o=8,a=l+o,s=n(e,16,a,t),u=0;u<s;u++){if(r=a+d+u*p,i=r+p,r>e.length)return;var c=e.slice(r,i),f=n(c,16,0,t);if(274===f){var h=n(c,16,2,t);if(3!==h)return;var v=n(c,32,4,t);if(1!==v)return;return n(c,16,8,t)}}}function m(e,t){if(t>e.length)throw new TypeError("Corrupt JPG, exceeded buffer limits");if(255!==e[t])throw new TypeError("Invalid JPG, marker table corrupted")}function g(e){var t,r,n;e=e.slice(4);while(e.length){if(r=e.readUInt16BE(0),o(e)&&(t=h(e,r)),m(e,r),n=e[r+1],192===n||193===n||194===n){var i=a(e,r+5);return t?{width:i.width,height:i.height,orientation:t}:i}e=e.slice(r+2)}throw new TypeError("Invalid JPG, no size found")}e.exports={detect:i,calculate:g}},6033:function(e,t,r){"use strict";var n=r("8720");function i(e,t){var r=e._latestEditorState,i=r.getSelection();i.isCollapsed()?t.preventDefault():e.setClipboard(n(e._latestEditorState))}e.exports=i},"603a":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedDropzone=void 0;var i=f(r("6754")),o=f(r("5174")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){return s.default.createElement(o.default,this.props,s.default.createElement(i.default,{value:this.props.fullValue,onUpdate:this.props.updatePlot,fileType:this.props.fileType}))}}]),r}(s.Component);function T(e,t,r){"choroplethmapbox"!==t.container.type&&"choropleth"!==t.container.type||(r.isVisible=!0)}t.UnconnectedDropzone=k,k.propTypes=d({value:a.default.any,onUpdate:a.default.func},o.default.propTypes),k.displayName="UnconnectedDropzone";var C=(0,l.connectToContainer)(k,{modifyPlotProps:T});t.default=C},6044:function(e,t,r){var n=r("0b07"),i=n(Object,"create");e.exports=i},"605a":function(e,t,r){"use strict";function n(e,t){var r=e+"",n=r.indexOf("."),i=0;n>=0&&(i=r.length-n-1);var o=Math.pow(10,i),a=Math.round(e*t*o),s=a+"";if(s.indexOf("e")>=0)return s;var l=a/o,u=a%o;a<0?(l=0|-Math.ceil(l),u=0|-u):(l=0|Math.floor(l),u|=0);var c=""+l;if(a<0&&(c="-"+c),i){var f=""+u;while(f.length<i)f="0"+f;return c+"."+f}return c}function i(e,t){for(var r=[],i=0;i<3;++i){for(var o=[],a=(e[0][i],e[1][i],0);a*t[i]<=e[1][i];++a)o.push({x:a*t[i],text:n(t[i],a)});for(a=-1;a*t[i]>=e[0][i];--a)o.push({x:a*t[i],text:n(t[i],a)});r.push(o)}return r}function o(e,t){for(var r=0;r<3;++r){if(e[r].length!==t[r].length)return!1;for(var n=0;n<e[r].length;++n){var i=e[r][n],o=t[r][n];if(i.x!==o.x||i.text!==o.text||i.font!==o.font||i.fontColor!==o.fontColor||i.fontSize!==o.fontSize||i.dx!==o.dx||i.dy!==o.dy)return!1}}return!0}t.create=i,t.equal=o},6062:function(e,t,r){"use strict";var n=r("6d61"),i=r("6566");e.exports=n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},6097:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M18,4V3C18,2.45 17.55,2 17,2H5C4.45,2 4,2.45 4,3V7C4,7.55 4.45,8 5,8H17C17.55,8 18,7.55 18,7V6H19V10H9V21C9,21.55 9.45,22 10,22H12C12.55,22 13,21.55 13,21V12H21V4H18Z"}))};e.exports=s},"609c":function(e,t,r){"use strict";var n=r("d115"),i=function(){};e.exports=function(e){for(var t in e)"function"===typeof e[t]&&(e[t]=i);e.destroy=function(){e.container.parentNode.removeChild(e.container)};var r=document.createElement("div");r.className="no-webgl",r.style.cursor="pointer",r.style.fontSize="24px",r.style.color=n.defaults[0],r.style.position="absolute",r.style.left=r.style.top="0px",r.style.width=r.style.height="100%",r.style["background-color"]=n.lightLine,r.style["z-index"]=30;var o=document.createElement("p");return o.textContent="WebGL is not supported by your browser - visit https://get.webgl.org for more info",o.style.position="relative",o.style.top="50%",o.style.left="50%",o.style.height="30%",o.style.width="50%",o.style.margin="-15% 0 0 -25%",r.appendChild(o),e.container.appendChild(r),e.container.style.background="#FFFFFF",e.container.onclick=function(){window.open("https://get.webgl.org")},!1}},"60c5":function(e,t,r){"use strict";var n=r("98e7");e.exports={moduleType:"trace",name:"scattergl",basePlotModule:r("91cd"),categories:["gl","regl","cartesian","symbols","errorBarsOK","showLegend","scatter-like"],attributes:r("c20e"),supplyDefaults:r("27c6"),crossTraceDefaults:r("0324"),colorbar:r("f3cf"),formatLabels:r("3cf3"),calc:r("9597"),plot:r("299d"),hoverPoints:n.hoverPoints,selectPoints:r("f177"),meta:{hrName:"scatter_gl",description:["The data visualized as scatter point or lines is set in `x` and `y`","using the WebGL plotting engine.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to a numerical arrays."].join(" ")}}},"60d4":function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("66db").handleRThetaDefaults,a=r("5047"),s=r("59be"),l=r("e9f7"),u=r("3802"),c=r("de69").PTS_LINESONLY,f=r("bd9b");e.exports=function(e,t,r,p){function d(r,i){return n.coerce(e,t,f,r,i)}var h=o(e,t,p,d);h?(d("thetaunit"),d("mode",h<c?"lines+markers":"lines"),d("text"),d("hovertext"),"fills"!==t.hoveron&&d("hovertemplate"),i.hasLines(t)&&(s(e,t,r,p,d),d("connectgaps")),i.hasMarkers(t)&&a(e,t,r,p,d),i.hasText(t)&&(d("texttemplate"),l(e,t,p,d)),d("fill"),"none"!==t.fill&&u(e,t,r,d),n.coerceSelectionMarkerOpacity(t,d)):t.visible=!1}},"60da":function(e,t,r){"use strict";var n=r("83ab"),i=r("d039"),o=r("df75"),a=r("7418"),s=r("d1e7"),l=r("7b0b"),u=r("44ad"),c=Object.assign,f=Object.defineProperty;e.exports=!c||i((function(){if(n&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||o(c({},t)).join("")!=i}))?function(e,t){var r=l(e),i=arguments.length,c=1,f=a.f,p=s.f;while(i>c){var d,h=u(arguments[c++]),v=f?o(h).concat(f(h)):o(h),m=v.length,g=0;while(m>g)d=v[g++],n&&!p.call(h,d)||(r[d]=h[d])}return r}:c},"60dc":function(e,t,r){"use strict";e.exports={boxmode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",role:"info",editType:"calc",description:["Determines how boxes at the same location coordinate","are displayed on the graph.","If *group*, the boxes are plotted next to one another","centered around the shared location.","If *overlay*, the boxes are plotted over one another,","you might need to set *opacity* to see them multiple boxes.","Has no effect on traces that have *width* set."].join(" ")},boxgap:{valType:"number",min:0,max:1,dflt:.3,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between boxes of","adjacent location coordinates.","Has no effect on traces that have *width* set."].join(" ")},boxgroupgap:{valType:"number",min:0,max:1,dflt:.3,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between boxes of","the same location coordinate.","Has no effect on traces that have *width* set."].join(" ")}}},"60ed":function(e,t,r){var n=r("3729"),i=r("2dcb"),o=r("1310"),a="[object Object]",s=Function.prototype,l=Object.prototype,u=s.toString,c=l.hasOwnProperty,f=u.call(Object);function p(e){if(!o(e)||n(e)!=a)return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==f}e.exports=p},6147:function(e,t,r){"use strict";var n=r("485e"),i=r("dec3"),o=r("0c45"),a=r("f1df");function s(e){var t=a(e,(function(e){var t=e.getSelection(),r=t.getStartOffset(),i=t.getStartKey(),a=e.getCurrentContent(),s=a.getBlockForKey(i).getText().slice(r),l=n.getForward(s);return o(e,l.length||1)}),"forward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}e.exports=s},6152:function(e,t,r){"use strict";function n(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(i).join(" "):Array.prototype.map.call(arguments,i).join(" ")}function i(e){return e.replace(/\//g,"-")}e.exports=n},"615a":function(e,t,r){"use strict";e.exports=c;var n=r("efce"),i=r("28dd"),o=r("9662"),a=r("6178"),s=r("b44d");function l(e,t,r){this.plot=e,this.vbo=t,this.shader=r,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var u=l.prototype;function c(e){var t=e.gl,r=n(t),o=i(t,s.textVert,s.textFrag),a=new l(e,r,o);return a}u.drawTicks=function(){var e=[0,0],t=[0,0],r=[0,0];return function(n){var i=this.plot,o=this.shader,s=this.tickX[n],l=this.tickOffset[n],u=i.gl,c=i.viewBox,f=i.dataBox,p=i.screenBox,d=i.pixelRatio,h=i.tickEnable,v=i.tickPad,m=i.tickColor,g=i.tickAngle,y=i.labelEnable,b=i.labelPad,x=i.labelColor,A=i.labelAngle,w=this.labelOffset[n],_=this.labelCount[n],E=a.lt(s,f[n]),k=a.le(s,f[n+2]);e[0]=e[1]=0,e[n]=1,t[n]=(c[2+n]+c[n])/(p[2+n]-p[n])-1;var T=2/p[2+(1^n)]-p[1^n];t[1^n]=T*c[1^n]-1,h[n]&&(t[1^n]-=T*d*v[n],E<k&&l[k]>l[E]&&(o.uniforms.dataAxis=e,o.uniforms.screenOffset=t,o.uniforms.color=m[n],o.uniforms.angle=g[n],u.drawArrays(u.TRIANGLES,l[E],l[k]-l[E]))),y[n]&&_&&(t[1^n]-=T*d*b[n],o.uniforms.dataAxis=r,o.uniforms.screenOffset=t,o.uniforms.color=x[n],o.uniforms.angle=A[n],u.drawArrays(u.TRIANGLES,w,_)),t[1^n]=T*c[2+(1^n)]-1,h[n+2]&&(t[1^n]+=T*d*v[n+2],E<k&&l[k]>l[E]&&(o.uniforms.dataAxis=e,o.uniforms.screenOffset=t,o.uniforms.color=m[n+2],o.uniforms.angle=g[n+2],u.drawArrays(u.TRIANGLES,l[E],l[k]-l[E]))),y[n+2]&&_&&(t[1^n]+=T*d*b[n+2],o.uniforms.dataAxis=r,o.uniforms.screenOffset=t,o.uniforms.color=x[n+2],o.uniforms.angle=A[n+2],u.drawArrays(u.TRIANGLES,w,_))}}(),u.drawTitle=function(){var e=[0,0],t=[0,0];return function(){var r=this.plot,n=this.shader,i=r.gl,o=r.screenBox,a=r.titleCenter,s=r.titleAngle,l=r.titleColor,u=r.pixelRatio;if(this.titleCount){for(var c=0;c<2;++c)t[c]=2*(a[c]*u-o[c])/(o[2+c]-o[c])-1;n.bind(),n.uniforms.dataAxis=e,n.uniforms.screenOffset=t,n.uniforms.angle=s,n.uniforms.color=l,i.drawArrays(i.TRIANGLES,this.titleOffset,this.titleCount)}}}(),u.bind=function(){var e=[0,0],t=[0,0],r=[0,0];return function(){var n=this.plot,i=this.shader,o=n._tickBounds,a=n.dataBox,s=n.screenBox,l=n.viewBox;i.bind();for(var u=0;u<2;++u){var c=o[u],f=o[u+2],p=f-c,d=.5*(a[u+2]+a[u]),h=a[u+2]-a[u],v=l[u],m=l[u+2],g=m-v,y=s[u],b=s[u+2],x=b-y;t[u]=2*p/h*g/x,e[u]=2*(c-d)/h*g/x}r[1]=2*n.pixelRatio/(s[3]-s[1]),r[0]=r[1]*(s[3]-s[1])/(s[2]-s[0]),i.uniforms.dataScale=t,i.uniforms.dataShift=e,i.uniforms.textScale=r,this.vbo.bind(),i.attributes.textCoordinate.pointer()}}(),u.update=function(e){var t,r,n,i,a,s=[],l=e.ticks,u=e.bounds;for(a=0;a<2;++a){var c=[Math.floor(s.length/3)],f=[-1/0],p=l[a];for(t=0;t<p.length;++t){var d=p[t],h=d.x,v=d.text,m=d.font||"sans-serif";i=d.fontSize||12;for(var g=1/(u[a+2]-u[a]),y=u[a],b=v.split("\n"),x=0;x<b.length;x++)for(n=o(m,b[x]).data,r=0;r<n.length;r+=2)s.push(n[r]*i,-n[r+1]*i-x*i*1.2,(h-y)*g);c.push(Math.floor(s.length/3)),f.push(h)}this.tickOffset[a]=c,this.tickX[a]=f}for(a=0;a<2;++a){for(this.labelOffset[a]=Math.floor(s.length/3),n=o(e.labelFont[a],e.labels[a],{textAlign:"center"}).data,i=e.labelSize[a],t=0;t<n.length;t+=2)s.push(n[t]*i,-n[t+1]*i,0);this.labelCount[a]=Math.floor(s.length/3)-this.labelOffset[a]}for(this.titleOffset=Math.floor(s.length/3),n=o(e.titleFont,e.title).data,i=e.titleSize,t=0;t<n.length;t+=2)s.push(n[t]*i,-n[t+1]*i,0);this.titleCount=Math.floor(s.length/3)-this.titleOffset,this.vbo.update(s)},u.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},"615b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=l(i),a=r("d7bc"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){var e=this.props,t=e.weekday,r=e.className,n=e.weekdaysLong,i=e.weekdaysShort,a=e.localeUtils,s=e.locale,l=void 0;l=n?n[t]:a.formatWeekdayLong(t,s);var u=void 0;return u=i?i[t]:a.formatWeekdayShort(t,s),o.default.createElement("div",{className:r,role:"columnheader"},o.default.createElement("abbr",{title:l},u))}}]),t}(i.Component);p.propTypes={weekday:s.default.number,className:s.default.string,locale:s.default.string,localeUtils:s.default.object,weekdaysLong:s.default.arrayOf(s.default.string),weekdaysShort:s.default.arrayOf(s.default.string)},t.default=p},"615d":function(e,t){function r(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}e.exports=r},6174:function(e,t,r){"use strict";var n=r("19b2"),i=r("f6b0");e.exports=function(e,t,r,o){t=t||{};var a="log"===r&&"linear"===t.type,s="linear"===r&&"log"===t.type;if(a||s)for(var l,u,c=e._fullLayout.images,f=t._id.charAt(0),p=0;p<c.length;p++)if(l=c[p],u="images["+p+"].",l[f+"ref"]===t._id){var d=l[f],h=l["size"+f],v=null,m=null;if(a){v=i(d,t.range);var g=h/Math.pow(10,v)/2;m=2*Math.log(g+Math.sqrt(1+g*g))/Math.LN10}else v=Math.pow(10,d),m=v*(Math.pow(10,h/2)-Math.pow(10,-h/2));n(v)?n(m)||(m=null):(v=null,m=null),o(u+f,v),o(u+"size"+f,m)}}},6178:function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},"61ba":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.ShapeAccordion,{canAdd:!0,canReorder:!0},n.default.createElement(o.Radio,{attr:"visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Radio,{attr:"type",options:[{label:r("Line"),value:"line"},{label:r("Rectangle"),value:"rect"},{label:r("Ellipse"),value:"circle"}]}),n.default.createElement(o.PlotlySection,{name:r("Horizontal Boundaries")},n.default.createElement(o.PositioningRef,{label:r("Relative to"),attr:"xref"}),n.default.createElement(o.PositioningNumeric,{label:r("Start Point"),attr:"x0"}),n.default.createElement(o.PositioningNumeric,{label:r("End Point"),attr:"x1"})),n.default.createElement(o.PlotlySection,{name:r("Vertical Boundaries")},n.default.createElement(o.PositioningRef,{label:r("Relative to"),attr:"yref"}),n.default.createElement(o.PositioningNumeric,{label:r("Start Point"),attr:"y0"}),n.default.createElement(o.PositioningNumeric,{label:r("End Point"),attr:"y1"})),n.default.createElement(o.PlotlySection,{name:r("Lines")},n.default.createElement(o.Numeric,{label:r("Width"),attr:"line.width"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"line.color"}),n.default.createElement(o.LineDashSelector,{label:r("Type"),attr:"line.dash"})),n.default.createElement(o.PlotlySection,{name:r("Fill")},n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"fillcolor"}),n.default.createElement(o.NumericFraction,{label:r("Opacity"),attr:"opacity"})))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},"61e5":function(e,t,r){"use strict";var n=r("24f7"),i=n.OrderedMap,o={createFromArray:function(e){return i(e.map((function(e){return[e.getKey(),e]})))}};e.exports=o},"61e6":function(e,t,r){"use strict";e.exports=d;var n=r("8f9c"),i=r("e581"),o=r("5928"),a=r("9343"),s=r("a39a");function l(e,t,r){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(r,2))}function u(e,t,r,n){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(r,2)+Math.pow(n,2))}function c(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=u(r,n,i,o);a>1e-6?(e[0]=r/a,e[1]=n/a,e[2]=i/a,e[3]=o/a):(e[0]=e[1]=e[2]=0,e[3]=1)}function f(e,t,r){this.radius=n([r]),this.center=n(t),this.rotation=n(e),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var p=f.prototype;function d(e){e=e||{};var t=e.center||[0,0,0],r=e.rotation||[0,0,0,1],n=e.radius||1;t=[].slice.call(t,0,3),r=[].slice.call(r,0,4),c(r,r);var i=new f(r,t,Math.log(n));return i.setDistanceLimits(e.zoomMin,e.zoomMax),("eye"in e||"up"in e)&&i.lookAt(0,e.eye,e.center,e.up),i}p.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},p.recalcMatrix=function(e){this.radius.curve(e),this.center.curve(e),this.rotation.curve(e);var t=this.computedRotation;c(t,t);var r=this.computedMatrix;o(r,t);var n=this.computedCenter,i=this.computedEye,a=this.computedUp,s=Math.exp(this.computedRadius[0]);i[0]=n[0]+s*r[2],i[1]=n[1]+s*r[6],i[2]=n[2]+s*r[10],a[0]=r[1],a[1]=r[5],a[2]=r[9];for(var l=0;l<3;++l){for(var u=0,f=0;f<3;++f)u+=r[l+4*f]*i[f];r[12+l]=-u}},p.getMatrix=function(e,t){this.recalcMatrix(e);var r=this.computedMatrix;if(t){for(var n=0;n<16;++n)t[n]=r[n];return t}return r},p.idle=function(e){this.center.idle(e),this.radius.idle(e),this.rotation.idle(e)},p.flush=function(e){this.center.flush(e),this.radius.flush(e),this.rotation.flush(e)},p.pan=function(e,t,r,n){t=t||0,r=r||0,n=n||0,this.recalcMatrix(e);var i=this.computedMatrix,o=i[1],a=i[5],s=i[9],u=l(o,a,s);o/=u,a/=u,s/=u;var c=i[0],f=i[4],p=i[8],d=c*o+f*a+p*s;c-=o*d,f-=a*d,p-=s*d;var h=l(c,f,p);c/=h,f/=h,p/=h;var v=i[2],m=i[6],g=i[10],y=v*o+m*a+g*s,b=v*c+m*f+g*p;v-=y*o+b*c,m-=y*a+b*f,g-=y*s+b*p;var x=l(v,m,g);v/=x,m/=x,g/=x;var A=c*t+o*r,w=f*t+a*r,_=p*t+s*r;this.center.move(e,A,w,_);var E=Math.exp(this.computedRadius[0]);E=Math.max(1e-4,E+n),this.radius.set(e,Math.log(E))},p.rotate=function(e,t,r,n){this.recalcMatrix(e),t=t||0,r=r||0;var i=this.computedMatrix,o=i[0],a=i[4],s=i[8],c=i[1],f=i[5],p=i[9],d=i[2],h=i[6],v=i[10],m=t*o+r*c,g=t*a+r*f,y=t*s+r*p,b=-(h*y-v*g),x=-(v*m-d*y),A=-(d*g-h*m),w=Math.sqrt(Math.max(0,1-Math.pow(b,2)-Math.pow(x,2)-Math.pow(A,2))),_=u(b,x,A,w);_>1e-6?(b/=_,x/=_,A/=_,w/=_):(b=x=A=0,w=1);var E=this.computedRotation,k=E[0],T=E[1],C=E[2],S=E[3],O=k*w+S*b+T*A-C*x,M=T*w+S*x+C*b-k*A,P=C*w+S*A+k*x-T*b,B=S*w-k*b-T*x-C*A;if(n){b=d,x=h,A=v;var L=Math.sin(n)/l(b,x,A);b*=L,x*=L,A*=L,w=Math.cos(t),O=O*w+B*b+M*A-P*x,M=M*w+B*x+P*b-O*A,P=P*w+B*A+O*x-M*b,B=B*w-O*b-M*x-P*A}var D=u(O,M,P,B);D>1e-6?(O/=D,M/=D,P/=D,B/=D):(O=M=P=0,B=1),this.rotation.set(e,O,M,P,B)},p.lookAt=function(e,t,r,n){this.recalcMatrix(e),r=r||this.computedCenter,t=t||this.computedEye,n=n||this.computedUp;var o=this.computedMatrix;i(o,t,r,n);var a=this.computedRotation;s(a,o[0],o[1],o[2],o[4],o[5],o[6],o[8],o[9],o[10]),c(a,a),this.rotation.set(e,a[0],a[1],a[2],a[3]);for(var l=0,u=0;u<3;++u)l+=Math.pow(r[u]-t[u],2);this.radius.set(e,.5*Math.log(Math.max(l,1e-6))),this.center.set(e,r[0],r[1],r[2])},p.translate=function(e,t,r,n){this.center.move(e,t||0,r||0,n||0)},p.setMatrix=function(e,t){var r=this.computedRotation;s(r,t[0],t[1],t[2],t[4],t[5],t[6],t[8],t[9],t[10]),c(r,r),this.rotation.set(e,r[0],r[1],r[2],r[3]);var n=this.computedMatrix;a(n,t);var i=n[15];if(Math.abs(i)>1e-6){var o=n[12]/i,l=n[13]/i,u=n[14]/i;this.recalcMatrix(e);var f=Math.exp(this.computedRadius[0]);this.center.set(e,o-n[2]*f,l-n[6]*f,u-n[10]*f),this.radius.idle(e)}else this.center.idle(e),this.radius.idle(e)},p.setDistance=function(e,t){t>0&&this.radius.set(e,Math.log(t))},p.setDistanceLimits=function(e,t){e=e>0?Math.log(e):-1/0,t=t>0?Math.log(t):1/0,t=Math.max(t,e),this.radius.bounds[0][0]=e,this.radius.bounds[1][0]=t},p.getDistanceLimits=function(e){var t=this.radius.bounds;return e?(e[0]=Math.exp(t[0][0]),e[1]=Math.exp(t[1][0]),e):[Math.exp(t[0][0]),Math.exp(t[1][0])]},p.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},p.fromJSON=function(e){var t=this.lastT(),r=e.center;r&&this.center.set(t,r[0],r[1],r[2]);var n=e.rotation;n&&this.rotation.set(t,n[0],n[1],n[2],n[3]);var i=e.distance;i&&i>0&&this.radius.set(t,Math.log(i)),this.setDistanceLimits(e.zoomMin,e.zoomMax)}},6220:function(e,t,r){"use strict";var n=8,i=4,o=4;function a(e){return"icns"===e.toString("ascii",0,4)}var s={ICON:32,"ICN#":32,"icm#":16,icm4:16,icm8:16,"ics#":16,ics4:16,ics8:16,is32:16,s8mk:16,icp4:16,icl4:32,icl8:32,il32:32,l8mk:32,icp5:32,ic11:32,ich4:48,ich8:48,ih32:48,h8mk:48,icp6:64,ic12:32,it32:128,t8mk:128,ic07:128,ic08:256,ic13:256,ic09:512,ic14:512,ic10:1024};function l(e,t){var r=t+o;return[e.toString("ascii",t,r),e.readUInt32BE(r)]}function u(e){var t=s[e];return{width:t,height:t,type:e}}function c(e){var t,r,o,a=e.length,s=n,c=e.readUInt32BE(i);if(t=l(e,s),r=u(t[0]),s+=t[1],s===c)return r;o={width:r.width,height:r.height,images:[r]};while(s<c&&s<a)t=l(e,s),r=u(t[0]),s+=t[1],o.images.push(r);return o}e.exports={detect:a,calculate:c}},"622c":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("eff1")),o=f(r("5174")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){return s.default.createElement(o.default,this.props,s.default.createElement(i.default,{selected:this.props.fullValue,onColorscaleChange:this.props.updatePlot,initialCategory:"categorical",disableCategorySwitch:this.props.disableCategorySwitch}))}}]),r}(s.Component);k.propTypes=d({fullValue:a.default.any,updatePlot:a.default.func},o.default.propTypes),k.displayName="UnconnectedColorwayPicker";var T=(0,l.connectToContainer)(k);t.default=T},6259:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*a,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*a,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*a,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*a,e}e.exports=r},6283:function(e,t,r){var n;
|
||
/*!
|
||
* sqlite-parser - v1.0.1
|
||
* @copyright 2015-2017 Code School (http://codeschool.com)
|
||
* @author Nick Wronski <nick@javascript.com>
|
||
*/
|
||
(function(t){e.exports=t()})((function(){return function e(t,r,i){function o(s,l){if(!r[s]){if(!t[s]){var u="function"==typeof n&&n;if(!l&&u)return n(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[s]={exports:{}};t[s][0].call(f.exports,(function(e){var r=t[s][1][e];return o(r||e)}),f,f.exports,e,t,r,i)}return r[s].exports}for(var a="function"==typeof n&&n,s=0;s<i.length;s++)o(i[s]);return o}({"./streaming":[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});r.SqliteParserTransform=function e(t){throw n(this,e),new Error("SqliteParserTransform is not available in this environment")},r.SingleNodeTransform=function e(t){throw n(this,e),new Error("SingleNodeTransform is not available in this environment")}},{}],1:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var n=e("./parser"),i=e("./tracer"),o=e("./streaming");function a(e,t,r){var o=(0,i.Tracer)();2===arguments.length&&"function"===typeof t&&(r=t,t={});var a="function"===typeof r,s={tracer:o,startRule:"start"};if(t&&t.streaming&&(s["startRule"]="start_streaming"),a)setTimeout((function(){var t=void 0,i=void 0;try{t=(0,n.parse)(e,s)}catch(a){i=a instanceof n.SyntaxError?o.smartError(a):a}r(i,t)}),0);else try{return(0,n.parse)(e,s)}catch(l){throw l instanceof n.SyntaxError?o.smartError(l):l}}a["createParser"]=function(){return new o.SqliteParserTransform},a["createStitcher"]=function(){return new o.SingleNodeTransform},a["NAME"]="sqlite-parser",a["VERSION"]="1.0.1",t.exports=r["default"]},{"./parser":2,"./streaming":"./streaming","./tracer":3}],2:[function(e,t,r){"use strict";var n=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),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};function o(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}function a(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,a)}function s(){this.indentLevel=0}function l(e,t){t=void 0!==t?t:{};var r,i={},o={start:0,start_streaming:1},l=0,u=[function(e){return e},function(e,t){return{type:"statement",variant:"list",statement:j([e,t])}},function(e){return e},E("Type Definition"),function(e,t){return Object.assign(e,t)},function(e){return{type:"datatype",variant:e[0],affinity:e[1]}},E("Custom Datatype Name"),function(e,t){var r=I([e,t]),n="numeric";return/int/i.test(r)?n="integer":/char|clob|text/i.test(r)?n="text":/blob/i.test(r)?n="blob":/real|floa|doub/i.test(r)&&(n="real"),{type:"datatype",variant:r,affinity:n}},/^[\t ]/,A(["\t"," "],!1,!1),function(e){return e},E("Type Definition Arguments"),function(e,t){return{args:{type:"expression",variant:"list",expression:j([e,t])}}},function(e){return e},E("Null Literal"),function(e){return{type:"literal",variant:"null",value:z(e)}},E("Date Literal"),function(e){return{type:"literal",variant:"date",value:z(e)}},E("String Literal"),function(e,t){return{type:"literal",variant:"text",value:t}},E("Single-quoted String Literal"),function(e){return R(e,"'")},"''",x("''",!1),/^[^']/,A(["'"],!0,!1),E("Blob Literal"),/^[x]/i,A(["x"],!1,!0),function(e){return{type:"literal",variant:"blob",value:e}},function(e){return{type:"literal",variant:"text",value:e}},E("Number Sign"),function(e,t){return B(e)&&(t["value"]=D([e,t["value"]])),t},function(e,t){return{type:"literal",variant:"decimal",value:D([e,t])}},E("Decimal Literal"),function(e,t){return D([e,t])},function(e,t){return D([e,t])},E("Decimal Literal Exponent"),"e",x("E",!0),/^[+\-]/,A(["+","-"],!1,!1),function(e,t,r){return D([e,t,r])},E("Hexidecimal Literal"),"0x",x("0x",!0),function(e,t){return{type:"literal",variant:"hexidecimal",value:D([e,t])}},/^[0-9a-f]/i,A([["0","9"],["a","f"]],!1,!0),/^[0-9]/,A([["0","9"]],!1,!1),E("Bind Parameter"),function(e){return Object.assign({type:"variable"},e)},E("Numbered Bind Parameter"),function(e,t){return{format:"numbered",name:D([e,t])}},/^[1-9]/,A([["1","9"]],!1,!1),function(e,t){return D([e,t])},E("Named Bind Parameter"),/^[:@]/,A([":","@"],!1,!1),function(e,t){return{format:"named",name:D([e,t])}},E("TCL Bind Parameter"),"$",x("$",!1),":",x(":",!1),function(e,t,r){return Object.assign({format:"tcl",name:D([e,t])},r)},function(e){return{suffix:e}},E("EXISTS Expression"),function(e,t){return B(e)?{type:"expression",format:"unary",variant:"exists",expression:t,operator:z(e)}:t},E("EXISTS Keyword"),function(e,t){return I([e,t])},E("RAISE Expression"),function(e,t){return Object.assign({type:"expression",format:"unary",variant:z(e),expression:t},t)},E("RAISE Expression Arguments"),function(e){return Object.assign({type:"error"},e)},E("IGNORE Keyword"),function(e){return{action:z(e)}},function(e,t){return{action:z(e),message:t}},function(e){return e},function(e,t){return Object.assign(t,{expression:e})},function(e,t){return{type:"expression",format:"unary",variant:"operation",expression:t,operator:z(e)}},E("COLLATE Expression"),function(e){return Object.assign({type:"expression",format:"unary",variant:"operation",operator:"collate"},e)},function(e,t){return H(e,t)},function(e){return[null,e,null,{type:"literal",variant:"null",value:"null"}]},"not ",x("NOT ",!0),"null",x("NULL",!0),function(){return"not"},function(){return"is"},E("CAST Expression"),function(e,t,r){return{type:"expression",format:"unary",variant:z(e),expression:t,as:r}},E("Type Alias"),function(e){return e},E("CASE Expression"),function(e,t,r,n){return Object.assign({type:"expression",variant:z(e),expression:j([r,n])},t)},function(e){return{discriminant:e}},E("WHEN Clause"),function(e,t,r){return{type:"condition",variant:z(e),condition:t,consequent:r}},E("ELSE Clause"),function(e,t){return{type:"condition",variant:z(e),consequent:t}},function(e,t){return Object.assign(t,{left:e})},E("Comparison Expression"),function(e,t,r,n){return Object.assign({type:"expression",format:"binary",variant:"operation",operation:I([e,t]),right:r},n)},E("ESCAPE Expression"),function(e,t){return{escape:t}},E("BETWEEN Expression"),function(e,t,r){return{type:"expression",format:"binary",variant:"operation",operation:I([e,t]),right:r}},function(e,t){return H(e,[t])},function(e){return z(e)},E("IN Expression"),function(e,t,r){return{type:"expression",format:"binary",variant:"operation",operation:I([e,t]),right:r}},function(e){return e},E("Expression List"),function(e){return{type:"expression",variant:"list",expression:B(e)?e:[]}},function(e,t){return j([e,t])},E("Function Call"),function(e,t){return Object.assign({type:"function",name:e},t)},E("Function Call Arguments"),function(e){return{args:{type:"identifier",variant:"star",name:e}}},function(e,t){return!B(e)||t["expression"].length>0},function(e,t){return{args:Object.assign(t,e)}},function(e){return{filter:z(e)}},E("Error Message"),function(e){return e},E("Statement"),function(e,t){return Object.assign(t,e)},E("QUERY PLAN"),function(e,t){return{explain:B(e)}},E("QUERY PLAN Keyword"),function(e,t){return I([e,t])},E("END Transaction Statement"),function(e,t){return{type:"statement",variant:"transaction",action:"commit"}},E("BEGIN Transaction Statement"),function(e,t,r,n){return Object.assign({type:"statement",variant:"transaction",action:"begin"},t,n)},function(e){return e},function(e){return{defer:z(e)}},E("ROLLBACK Statement"),function(e,t){return Object.assign({type:"statement",variant:"transaction",action:"rollback"},t)},E("TO Clause"),function(e){return{savepoint:e}},function(e){return z(e)},E("SAVEPOINT Statement"),function(e,t){return{type:"statement",variant:e,target:t}},E("RELEASE Statement"),function(e,t,r){return{type:"statement",variant:z(e),target:r}},E("ALTER TABLE Statement"),function(e,t,r){return Object.assign({type:"statement",variant:z(e),target:t},r)},E("ALTER TABLE Keyword"),function(e,t){return I([e,t])},E("RENAME TO Keyword"),function(e,t){return{action:z(e),name:t}},E("ADD COLUMN Keyword"),function(e,t){return{action:z(e),definition:t}},function(e,t){return Object.assign(t,e)},E("WITH Clause"),function(e,t,r){var n={variant:B(t)?"recursive":"common"};return U(r)&&(r=r.map((function(e){return Object.assign(e,n)}))),{with:r}},function(e,t){return j([e,t])},E("Common Table Expression"),function(e,t){return Object.assign({type:"expression",format:"table",variant:"common",target:e},t)},function(e){return{expression:e}},function(e,t){return Object.assign(t,e)},E("ATTACH Statement"),function(e,t,r,n){return{type:"statement",variant:z(e),target:n,attach:r}},E("DETACH Statement"),function(e,t,r){return{type:"statement",variant:z(e),target:r}},E("VACUUM Statement"),function(e,t){return Object.assign({type:"statement",variant:"vacuum"},t)},function(e){return{target:e}},E("ANALYZE Statement"),function(e,t){return Object.assign({type:"statement",variant:z(e)},t)},function(e){return{target:e["name"]}},E("REINDEX Statement"),function(e){return{target:e["name"]}},E("PRAGMA Statement"),function(e,t,r){return{type:"statement",variant:z(e),target:t,args:{type:"expression",variant:"list",expression:r}}},function(e){return e},function(e){return/^(yes|no|on|off|false|true|0|1)$/i.test(e)},function(e){return{type:"literal",variant:"boolean",normalized:/^(yes|on|true|1)$/i.test(e)?"1":"0",value:e}},function(e){return z(e)},function(e){return{type:"identifier",variant:"name",name:e}},E("SELECT Statement"),function(e,t,r){return Object.assign(e,t,r)},E("ORDER BY Clause"),function(e){return{order:e["result"]}},E("LIMIT Clause"),function(e,t,r){return{limit:Object.assign({type:"expression",variant:"limit",start:t},r)}},E("OFFSET Clause"),function(e,t){return{offset:t}},function(e,t){return U(t)?{type:"statement",variant:"compound",statement:e,compound:t}:e},E("Union Operation"),function(e,t){return{type:"compound",variant:e,statement:t}},function(e,t,r,n){return Object.assign({type:"statement",variant:"select"},e,t,r,n)},E("SELECT Results Clause"),function(e,t){return Object.assign({result:t},e)},E("SELECT Results Modifier"),function(e){return{distinct:!0}},function(e){return{}},E("FROM Clause"),function(e,t){return{from:t}},E("WHERE Clause"),function(e,t){return{where:P(t)}},E("GROUP BY Clause"),function(e,t,r){return Object.assign({group:t},r)},E("HAVING Clause"),function(e,t){return{having:t}},function(e,t){return{type:"identifier",variant:"star",name:D([e,t])}},function(e,t){return D([e,t])},function(e,t){return Object.assign(e,t)},function(e,t){return U(t)?{type:"map",variant:"join",source:e,map:t}:e},function(e,t){return Object.assign(e,t)},E("CROSS JOIN Operation"),function(e){return{type:"join",variant:"cross join",source:e}},E("JOIN Operation"),function(e,t){return{type:"join",variant:z(e),source:t}},function(e,t,r){return Object.assign({type:"function",variant:"table",name:e,args:t},r)},E("Qualified Table"),function(e,t){return Object.assign(e,t)},E("Qualified Table Identifier"),function(e,t){return Object.assign(e,t)},E("Qualfied Table Index"),function(e,t){return{index:t}},function(e,t){return{index:I([e,t])}},E("SELECT Source"),function(e,t){return Object.assign(e,t)},E("Subquery"),function(e,t){return Object.assign(e,t)},E("Alias"),function(e,t){return{alias:t}},E("JOIN Operator"),function(e,t,r){return I([e,t,r])},function(e,t){return I([e,t])},function(e){return z(e)},E("JOIN Constraint"),function(e){return{constraint:Object.assign({type:"constraint",variant:"join"},e)}},E("Join ON Clause"),function(e,t){return{format:z(e),on:t}},E("Join USING Clause"),function(e,t){return{format:z(e),using:t}},E("VALUES Clause"),function(e,t){return{type:"statement",variant:"select",result:t}},function(e,t){return{result:j([e,t])}},function(e){return e},E("Ordering Expression"),function(e,t){return B(t)?Object.assign({type:"expression",variant:"order",expression:e},t):e},E("Star"),E("Fallback Type"),E("INSERT Statement"),function(e,t){return Object.assign({type:"statement",variant:"insert"},e,t)},E("INSERT Keyword"),function(e,t){return Object.assign({action:z(e)},t)},E("REPLACE Keyword"),function(e){return{action:z(e)}},E("INSERT OR Modifier"),function(e,t){return{or:z(t)}},function(e,t){return Object.assign({into:e},t)},E("INTO Clause"),function(e,t){return t},E("INTO Keyword"),function(e){return{result:e}},E("Column List"),function(e,t){return{columns:j([e,t])}},function(e){return e},E("Column Name"),function(e){return{type:"identifier",variant:"column",name:e}},function(e,t){return t},E("VALUES Keyword"),function(e,t){return j([e,t])},E("Wrapped Expression List"),function(e){return e},E("DEFAULT VALUES Clause"),function(e,t){return{type:"values",variant:"default"}},E("Compound Operator"),E("UNION Operator"),function(e,t){return I([e,t])},function(e){return e},E("UPDATE Statement"),function(e,t,r,n,i,o,a){return Object.assign({type:"statement",variant:e,into:r},t,n,i,o,a)},E("UPDATE Keyword"),E("UPDATE OR Modifier"),function(e){return{or:z(e)}},E("SET Clause"),function(e){return{set:e}},E("Column Assignment"),function(e,t){return{type:"assignment",target:e,value:t}},E("DELETE Statement"),function(e,t,r,n,i){return Object.assign({type:"statement",variant:e,from:t},r,n,i)},E("DELETE Keyword"),E("CREATE Statement"),E("CREATE TABLE Statement"),function(e,t,r,n){return Object.assign({type:"statement",name:r},e,n,t)},function(e,t,r){return Object.assign({variant:e,format:z(r)},t)},function(e){return{temporary:B(e)}},E("IF NOT EXISTS Modifier"),function(e,t,r){return{condition:P({type:"condition",variant:z(e),condition:{type:"expression",variant:z(r),operator:I([t,r])}})}},E("Table Definition"),function(e,t,r){return Object.assign({definition:j([e,t])},r)},function(e,t){return{optimization:[{type:"optimization",value:I([e,t])}]}},function(e){return e},E("Column Definition"),function(e,t,r){return Object.assign({type:"definition",variant:"column",name:e,definition:B(r)?r:[]},t)},E("Column Datatype"),function(e){return{datatype:e}},E("Column Constraint"),function(e,t,r){return Object.assign(t,e)},function(e){return e[e.length-1]},E("CONSTRAINT Name"),function(e){return{name:e}},E("FOREIGN KEY Column Constraint"),function(e){return Object.assign({variant:"foreign key"},e)},E("PRIMARY KEY Column Constraint"),function(e,t,r,n){return Object.assign(e,r,t,n)},E("PRIMARY KEY Keyword"),function(e,t){return{type:"constraint",variant:I([e,t])}},E("AUTOINCREMENT Keyword"),function(e){return{autoIncrement:!0}},function(e,t){return Object.assign({type:"constraint",variant:e},t)},E("UNIQUE Column Constraint"),E("NULL Column Constraint"),function(e,t){return I([e,t])},E("CHECK Column Constraint"),E("DEFAULT Column Constraint"),function(e,t){return{type:"constraint",variant:z(e),value:t}},E("COLLATE Column Constraint"),function(e){return{type:"constraint",variant:"collate",collate:e}},E("Table Constraint"),function(e,t,r){return Object.assign({type:"definition",variant:"constraint"},t,e)},E("CHECK Table Constraint"),function(e){return{definition:P(e)}},E("PRIMARY KEY Table Constraint"),function(e,t,r){return{definition:P(Object.assign(e,r,t[1])),columns:t[0]}},function(e){return{type:"constraint",variant:z(e)}},function(e,t){return I([e,t])},E("UNIQUE Keyword"),function(e){return z(e)},function(e,t){return[e].concat(t)},function(e){return e.map((function(e){var t=n(e,1),r=t[0];return r}))},function(e){var t=e.find((function(e){var t=n(e,2),r=(t[0],t[1]);return B(r)}));return[e.map((function(e){var t=n(e,2),r=t[0];t[1];return r})),t?t[1]:null]},E("Indexed Column"),function(e,t,r){var n=e;return B(t)&&(n=Object.assign({type:"expression",variant:"order",expression:e},t)),[n,r]},E("Collation"),function(e){return{collate:P(e)}},E("Column Direction"),function(e){return{direction:z(e)}},function(e,t){return{conflict:z(t)}},E("ON CONFLICT Keyword"),function(e,t){return I([e,t])},function(e,t){return{type:"constraint",variant:z(e),expression:t}},E("FOREIGN KEY Table Constraint"),function(e,t,r){return Object.assign({definition:P(Object.assign(e,r))},t)},E("FOREIGN KEY Keyword"),function(e,t){return{type:"constraint",variant:I([e,t])}},function(e,t,r){return Object.assign({type:"constraint"},e,t,r)},E("REFERENCES Clause"),function(e,t){return{references:t}},function(e,t){return{action:j([e,t])}},E("FOREIGN KEY Action Clause"),function(e,t,r){return{type:"action",variant:z(e),action:z(r)}},E("FOREIGN KEY Action"),function(e,t){return I([e,t])},function(e){return z(e)},function(e,t){return I([e,t])},function(e,t){return{type:"action",variant:z(e),action:t}},E("DEFERRABLE Clause"),function(e,t,r){return{defer:I([e,t,r])}},function(e,t){return I([e,t])},function(e){return{definition:P(e)}},E("CREATE INDEX Statement"),function(e,t,r,n,i){return Object.assign({type:"statement",target:r,on:n},e,t,i)},function(e,t,r){return Object.assign({variant:z(e),format:z(r)},t)},function(e){return{unique:!0}},E("ON Clause"),function(e,t,r){return{type:"identifier",variant:"expression",format:"table",name:t["name"],columns:r}},E("CREATE TRIGGER Statement"),function(e,t,r,n,i,o,a,s){return Object.assign({type:"statement",target:r,on:i,event:n,by:B(o)?o:"row",action:P(s)},e,t,a)},function(e,t,r){return Object.assign({variant:z(e),format:z(r)},t)},E("Conditional Clause"),function(e,t){return Object.assign({type:"event"},e,t)},function(e){return{occurs:z(e)}},function(e,t){return I([e,t])},E("Conditional Action"),function(e){return{event:z(e)}},function(e,t){return{event:z(e),of:t}},function(e,t){return t},"statement",x("STATEMENT",!0),function(e,t,r){return z(r)},function(e,t){return{when:t}},E("Actions Clause"),function(e,t,r){return t},function(e){return e},E("CREATE VIEW Statement"),function(e,t,r,n){return Object.assign({type:"statement",target:r,result:n},e,t)},function(e,t){return Object.assign({type:"identifier",variant:"expression",format:"view",name:e["name"],columns:[]},t)},function(e,t,r){return Object.assign({variant:z(e),format:z(r)},t)},E("CREATE VIRTUAL TABLE Statement"),function(e,t,r,n){return Object.assign({type:"statement",target:r,result:n},e,t)},function(e,t,r){return{variant:z(e),format:z(t)}},function(e,t){return Object.assign({type:"module",variant:"virtual",name:e},t)},E("Module Arguments"),function(e){return{args:{type:"expression",variant:"list",expression:B(e)?e:[]}}},function(e,t){return j([e,t]).filter((function(e){return B(e)}))},function(e){return e},E("DROP Statement"),function(e,t){return Object.assign({type:"statement",target:Object.assign(t,{variant:e["format"]})},e)},E("DROP Keyword"),function(e,t,r){return Object.assign({variant:z(e),format:t,condition:[]},r)},E("DROP Type"),E("IF EXISTS Keyword"),function(e,t){return{condition:[{type:"condition",variant:z(e),condition:{type:"expression",variant:z(t),operator:z(t)}}]}},E("Or"),E("Add"),E("Subtract"),E("Multiply"),E("Divide"),E("Modulo"),E("Shift Left"),E("Shift Right"),E("Logical AND"),E("Logical OR"),E("Less Than"),E("Greater Than"),E("Less Than Or Equal"),E("Greater Than Or Equal"),E("Equal"),E("Not Equal"),E("IS"),function(e,t){return I([e,t])},E("Identifier"),E("Database Identifier"),function(e){return{type:"identifier",variant:"database",name:e}},E("Function Identifier"),function(e,t){return{type:"identifier",variant:"function",name:D([e,t])}},E("Table Identifier"),function(e,t){return{type:"identifier",variant:"table",name:D([e,t])}},function(e,t){return D([e,t])},E("Column Identifier"),function(e,t){return{type:"identifier",variant:"column",name:D([e,t])}},function(){return""},function(e,t){return D([e,t])},E("Collation Identifier"),function(e){return{type:"identifier",variant:"collation",name:e}},E("Savepoint Identifier"),function(e){return{type:"identifier",variant:"savepoint",name:e}},E("Index Identifier"),function(e,t){return{type:"identifier",variant:"index",name:D([e,t])}},E("Trigger Identifier"),function(e,t){return{type:"identifier",variant:"trigger",name:D([e,t])}},E("View Identifier"),function(e,t){return{type:"identifier",variant:"view",name:D([e,t])}},E("Pragma Identifier"),function(e,t){return{type:"identifier",variant:"pragma",name:D([e,t])}},E("CTE Identifier"),function(e){return e},function(e,t){return Object.assign({type:"identifier",variant:"expression",format:"table",name:e["name"],columns:[]},t)},E("Table Constraint Identifier"),function(e){return{type:"identifier",variant:"constraint",format:"table",name:e}},E("Column Constraint Identifier"),function(e){return{type:"identifier",variant:"constraint",format:"column",name:e}},E("Datatype Name"),function(e){return[e,"text"]},function(e){return[e,"real"]},function(e){return[e,"numeric"]},function(e){return[e,"integer"]},function(e){return[e,"none"]},E("TEXT Datatype Name"),"n",x("N",!0),"var",x("VAR",!0),"char",x("CHAR",!0),"tiny",x("TINY",!0),"medium",x("MEDIUM",!0),"long",x("LONG",!0),"text",x("TEXT",!0),"clob",x("CLOB",!0),E("REAL Datatype Name"),"float",x("FLOAT",!0),"real",x("REAL",!0),E("DOUBLE Datatype Name"),"double",x("DOUBLE",!0),"precision",x("PRECISION",!0),function(e,t){return D([e,t])},E("NUMERIC Datatype Name"),"numeric",x("NUMERIC",!0),"decimal",x("DECIMAL",!0),"boolean",x("BOOLEAN",!0),"date",x("DATE",!0),"time",x("TIME",!0),"stamp",x("STAMP",!0),"string",x("STRING",!0),E("INTEGER Datatype Name"),"int",x("INT",!0),"2",x("2",!1),"4",x("4",!1),"8",x("8",!1),"eger",x("EGER",!0),"big",x("BIG",!0),"small",x("SMALL",!0),"floating",x("FLOATING",!0),"point",x("POINT",!0),function(e,t){return D([e,t])},E("BLOB Datatype Name"),"blob",x("BLOB",!0),/^[a-z0-9$_]/i,A([["a","z"],["0","9"],"$","_"],!1,!0),"\\u",x("\\u",!1),/^[a-f0-9]/i,A([["a","f"],["0","9"]],!1,!0),function(e,t){return D([e,t]).toLowerCase()},function(e){return z(e)},w(),function(e){return N(e)},/^[ \t]/,A([" ","\t"],!1,!1),'"',x('"',!1),'""',x('""',!1),/^[^"]/,A(['"'],!0,!1),function(e){return R(e,'"')},"'",x("'",!1),function(e){return R(e,"'")},"`",x("`",!1),"``",x("``",!1),/^[^`]/,A(["`"],!0,!1),function(e){return R(e,"`")},E("Open Bracket"),"[",x("[",!1),E("Close Bracket"),"]",x("]",!1),E("Open Parenthesis"),"(",x("(",!1),E("Close Parenthesis"),")",x(")",!1),E("Comma"),",",x(",",!1),E("Period"),".",x(".",!1),E("Asterisk"),"*",x("*",!1),E("Question Mark"),"?",x("?",!1),E("Single Quote"),E("Double Quote"),E("Backtick"),E("Tilde"),"~",x("~",!1),E("Plus"),"+",x("+",!1),E("Minus"),"-",x("-",!1),"=",x("=",!1),E("Ampersand"),"&",x("&",!1),E("Pipe"),"|",x("|",!1),"%",x("%",!1),"<",x("<",!1),">",x(">",!1),E("Exclamation"),"!",x("!",!1),E("Semicolon"),";",x(";",!1),E("Colon"),E("Forward Slash"),"/",x("/",!1),E("Backslash"),"\\",x("\\",!1),"abort",x("ABORT",!0),"action",x("ACTION",!0),"add",x("ADD",!0),"after",x("AFTER",!0),"all",x("ALL",!0),"alter",x("ALTER",!0),"analyze",x("ANALYZE",!0),"and",x("AND",!0),"as",x("AS",!0),"asc",x("ASC",!0),"attach",x("ATTACH",!0),"autoincrement",x("AUTOINCREMENT",!0),"before",x("BEFORE",!0),"begin",x("BEGIN",!0),"between",x("BETWEEN",!0),"by",x("BY",!0),"cascade",x("CASCADE",!0),"case",x("CASE",!0),"cast",x("CAST",!0),"check",x("CHECK",!0),"collate",x("COLLATE",!0),"column",x("COLUMN",!0),"commit",x("COMMIT",!0),"conflict",x("CONFLICT",!0),"constraint",x("CONSTRAINT",!0),"create",x("CREATE",!0),"cross",x("CROSS",!0),"current_date",x("CURRENT_DATE",!0),"current_time",x("CURRENT_TIME",!0),"current_timestamp",x("CURRENT_TIMESTAMP",!0),"database",x("DATABASE",!0),"default",x("DEFAULT",!0),"deferrable",x("DEFERRABLE",!0),"deferred",x("DEFERRED",!0),"delete",x("DELETE",!0),"desc",x("DESC",!0),"detach",x("DETACH",!0),"distinct",x("DISTINCT",!0),"drop",x("DROP",!0),"each",x("EACH",!0),"else",x("ELSE",!0),"end",x("END",!0),"escape",x("ESCAPE",!0),"except",x("EXCEPT",!0),"exclusive",x("EXCLUSIVE",!0),"exists",x("EXISTS",!0),"explain",x("EXPLAIN",!0),"fail",x("FAIL",!0),"for",x("FOR",!0),"foreign",x("FOREIGN",!0),"from",x("FROM",!0),"full",x("FULL",!0),"glob",x("GLOB",!0),"group",x("GROUP",!0),"having",x("HAVING",!0),"if",x("IF",!0),"ignore",x("IGNORE",!0),"immediate",x("IMMEDIATE",!0),"in",x("IN",!0),"index",x("INDEX",!0),"indexed",x("INDEXED",!0),"initially",x("INITIALLY",!0),"inner",x("INNER",!0),"insert",x("INSERT",!0),"instead",x("INSTEAD",!0),"intersect",x("INTERSECT",!0),"into",x("INTO",!0),"is",x("IS",!0),"isnull",x("ISNULL",!0),"join",x("JOIN",!0),"key",x("KEY",!0),"left",x("LEFT",!0),"like",x("LIKE",!0),"limit",x("LIMIT",!0),"match",x("MATCH",!0),"natural",x("NATURAL",!0),"no",x("NO",!0),"not",x("NOT",!0),"notnull",x("NOTNULL",!0),"of",x("OF",!0),"offset",x("OFFSET",!0),"on",x("ON",!0),"or",x("OR",!0),"order",x("ORDER",!0),"outer",x("OUTER",!0),"plan",x("PLAN",!0),"pragma",x("PRAGMA",!0),"primary",x("PRIMARY",!0),"query",x("QUERY",!0),"raise",x("RAISE",!0),"recursive",x("RECURSIVE",!0),"references",x("REFERENCES",!0),"regexp",x("REGEXP",!0),"reindex",x("REINDEX",!0),"release",x("RELEASE",!0),"rename",x("RENAME",!0),"replace",x("REPLACE",!0),"restrict",x("RESTRICT",!0),"right",x("RIGHT",!0),"rollback",x("ROLLBACK",!0),"row",x("ROW",!0),"rowid",x("ROWID",!0),"savepoint",x("SAVEPOINT",!0),"select",x("SELECT",!0),"set",x("SET",!0),"table",x("TABLE",!0),"temp",x("TEMP",!0),"temporary",x("TEMPORARY",!0),"then",x("THEN",!0),"to",x("TO",!0),"transaction",x("TRANSACTION",!0),"trigger",x("TRIGGER",!0),"union",x("UNION",!0),"unique",x("UNIQUE",!0),"update",x("UPDATE",!0),"using",x("USING",!0),"vacuum",x("VACUUM",!0),"values",x("VALUES",!0),"view",x("VIEW",!0),"virtual",x("VIRTUAL",!0),"when",x("WHEN",!0),"where",x("WHERE",!0),"with",x("WITH",!0),"without",x("WITHOUT",!0),function(e){return z(e)},function(){return null},E("Line Comment"),"--",x("--",!1),/^[\n\v\f\r]/,A(["\n","\v","\f","\r"],!1,!1),E("Block Comment"),"/*",x("/*",!1),"*/",x("*/",!1),/^[\n\v\f\r\t ]/,A(["\n","\v","\f","\r","\t"," "],!1,!1),E("Whitespace"),"__TODO__",x("__TODO__",!1)],c=[O("%;ȿ/H#;#/?$;\".\" &\"/1$;#/($8$: $!!)($'#(#'#(\"'#&'#"),O("%;ȿ/C#;#/:$;x/1$;#/($8$: $!!)($'#(#'#(\"'#&'#"),O("%;x/B#;ȿ/9$$;%0#*;%&/)$8#:!#\"\" )(#'#(\"'#&'#"),O("$;Ƴ0#*;Ƴ&"),O("$;Ƴ/�#*;Ƴ&&&#"),O("%;$/:#;x/1$;ȿ/($8#:\"#!!)(#'#(\"'#&'#"),O('<%;\'.# &;(/@#;ȿ/7$;*." &"/)$8#:$#"" )(#\'#("\'#&\'#=." 7#'),O("%;Ƌ/' 8!:%!! )"),O('<%;ƕ/9#$;)0#*;)&/)$8":\'""! )("\'#&\'#=." 7&'),O('%4(""5!7)/1#;Ɨ/($8":*"! )("\'#&\'#'),O("<%;Ơ/R#;5/I$;ȿ/@$;+.\" &\"/2$;ơ/)$8%:,%\"#!)(%'#($'#(#'#(\"'#&'#=.\" 7+"),O("%;Ƣ/C#;ȿ/:$;5/1$;ȿ/($8$:-$!!)($'#(#'#(\"'#&'#"),O(";5.; &;6.5 &;2./ &;-.) &;..# &;/"),O('<%;Ȇ/1#;ȿ/($8":/"!!)("\'#&\'#=." 7.'),O('<%;ǒ.) &;ǔ.# &;Ǔ/1#;ȿ/($8":1"!!)("\'#&\'#=." 70'),O('<%;4." &"/2#;0/)$8":3""! )("\'#&\'#=." 72'),O("<%;Ʀ/A#$;10#*;1&/1$;Ʀ/($8#:5#!!)(#'#(\"'#&'#=.\" 74"),O('26""6677.) &48""5!79'),O('<%4;""5!7</1#;0/($8":="! )("\'#&\'#=." 7:'),O("%;Ɨ.# &;ƛ/' 8!:>!! )"),O('<%;ƪ.# &;ƫ/\' 8!:"!! )=." 7?'),O('%;4." &"/2#;6/)$8":@""! )("\'#&\'#'),O(";<.# &;7"),O('%;8/7#;;." &"/)$8":A""! )("\'#&\'#'),O('<;9.# &;:=." 7B'),O('%$;>/�#*;>&&&#/7#;:." &"/)$8":C""! )("\'#&\'#'),O('%;ƣ/9#$;>0#*;>&/)$8":D""! )("\'#&\'#'),O('<%3F""5!7G/T#4H""5!7I." &"/@$$;>/�#*;>&&&#/*$8#:J##"! )(#\'#("\'#&\'#=." 7E'),O('<%3L""5"7M/?#$;=/�#*;=&&&#/)$8":N""! )("\'#&\'#=." 7K'),O('4O""5!7P'),O('4Q""5!7R'),O("<%;@.) &;B.# &;C/' 8!:T!! )=.\" 7S"),O('<%;ƥ/@#;A." &"/2$;ȿ/)$8#:V#""!)(#\'#("\'#&\'#=." 7U'),O('%4W""5!7X/9#$;>0#*;>&/)$8":Y""! )("\'#&\'#'),O('<%4[""5!7\\/H#$;Ɠ/�#*;Ɠ&&&#/2$;ȿ/)$8#:]#""!)(#\'#("\'#&\'#=." 7Z'),O('<%2_""6_7`/o#$;Ɠ.) &2a""6a7b/2#0/*;Ɠ.) &2a""6a7b&&&#/A$;ȿ/8$;D." &"/*$8$:c$##" )($\'#(#\'#("\'#&\'#=." 7^'),O('%;ƛ/1#;ȿ/($8":d"!!)("\'#&\'#'),O('<%;F." &"/;#;ȿ/2$;/)$8#:f#"" )(#\'#("\'#&\'#=." 7e'),O('<%;k." &"/;#;Ǥ/2$;ȿ/)$8#:h#""!)(#\'#("\'#&\'#=." 7g'),O("<%;ȑ/_#;ȿ/V$;Ơ/M$;ȿ/D$;H/;$;ȿ/2$;ơ/)$8':j'\"&\")(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7i"),O("<%;I.# &;J/' 8!:l!! )=.\" 7k"),O("<%;ǯ/' 8!:n!! )=.\" 7m"),O("%;ț.) &;Ʒ.# &;Ǧ/M#;ȿ/D$;Ƣ/;$;ȿ/2$;w/)$8%:o%\"$ )(%'#($'#(#'#(\"'#&'#"),O(";?./ &;t.) &;,.# &;Ž"),O("%;Ơ/L#;ȿ/C$;p/:$;ȿ/1$;ơ/($8%:p%!\")(%'#($'#(#'#(\"'#&'#"),O(";L.; &;E.5 &;_./ &;a.) &;G.# &;K"),O("%;M/;#;ȿ/2$;Q/)$8#:q#\"\" )(#'#(\"'#&'#.# &;M"),O("%;P/A#;ȿ/8$;N.# &;p/)$8#:r#\"\" )(#'#(\"'#&'#.# &;N"),O(";Ʃ.U &;ƫ.O &;ƪ.I &%%;k/8#%<;Ǥ=.##&&!&'#/#$+\")(\"'#&'#/\"!&,)"),O("<%;ĭ/' 8!:t!! )=.\" 7s"),O("%;O/#$%;ȿ/>#;Ŧ/5$;ȿ/,$;O/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;Ŧ/5$;ȿ/,$;O/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O("%;R/#$%;ȿ/>#;T/5$;ȿ/,$;R/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;T/5$;ȿ/,$;R/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O(";ũ.) &;Ū.# &;ū"),O("%;S/#$%;ȿ/>#;V/5$;ȿ/,$;S/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;V/5$;ȿ/,$;S/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O(";ŧ.# &;Ũ"),O("%;U/#$%;ȿ/>#;X/5$;ȿ/,$;U/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;X/5$;ȿ/,$;U/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O(";Ŭ.U &;ŭ.O &;Ů.I &%%;ů/8#%<;ů=.##&&!&'#/#$+\")(\"'#&'#/\"!&,)"),O("%;W/#$%;ȿ/>#;Z/5$;ȿ/,$;W/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;Z/5$;ȿ/,$;W/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O(";Ų.{ &;ų.u &%%;Ű/8#%<;X=.##&&!&'#/#$+\")(\"'#&'#/\"!&,).I &%%;ű/8#%<;X=.##&&!&'#/#$+\")(\"'#&'#/\"!&,)"),O('%;Y/9#$;\\0#*;\\&/)$8":u""! )("\'#&\'#'),O("%;ȿ/1#;]/($8\":v\"! )(\"'#&'#.H &%;ȿ/>#;^/5$;ȿ/,$;Y/#$+$)($'#(#'#(\"'#&'#"),O('%3w""5$7x/?#;ȿ/6$3y""5$7z/\'$8#:{# )(#\'#("\'#&\'#.? &%;ǻ/& 8!:|! ).. &%;ȅ/& 8!:{! )'),O(";ŷ./ &;ŵ.) &;Ŷ.# &;Ŵ"),O("<%;lj/i#;ȿ/`$;Ơ/W$;p/N$;ȿ/E$;`/<$;ȿ/3$;ơ/*$8(:~(#'$\")(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7}"),O("<%;ƿ/:#;ȿ/1$;&/($8#:#! )(#'#(\"'#&'#=.\" 7"),O("<%;Lj/#;ȿ/$;b.\" &\"/|$;ȿ/s$$;c/�#*;c&&&#/]$;ȿ/T$;d.\" &\"/F$;ȿ/=$;Ǡ/4$;ȿ/+$8*:*$)'%#)(*'#()'#(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7"),O("%%<;Ȱ=.##&&!&'#/1#;p/($8\":\"! )(\"'#&'#"),O("<%;Ȱ/i#;ȿ/`$;p/W$;ȿ/N$;Ȥ/E$;ȿ/<$;p/3$;ȿ/*$8(:
(#'%!)(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7"),O("<%;ǟ/D#;ȿ/;$;p/2$;ȿ/)$8$:$\"#!)($'#(#'#(\"'#&'#=.\" 7"),O("%;[/;#;ȿ/2$;f/)$8#:#\"\" )(#'#(\"'#&'#.# &;["),O(";l.) &;i.# &;g"),O('<%;k." &"/o#;ǿ./ &;ǫ.) &;Ȕ.# &;ȁ/T$;ȿ/K$;p/B$;ȿ/9$;h." &"/+$8&:&$%$" )(&\'#(%\'#($\'#(#\'#("\'#&\'#=." 7'),O("<%;ǡ/D#;ȿ/;$;p/2$;ȿ/)$8$:$\"#!)($'#(#'#(\"'#&'#=.\" 7"),O('<%;k." &"/E#;Dž/<$;ȿ/3$;j/*$8$:$##" )($\'#(#\'#("\'#&\'#=." 7'),O("%;e/W#%;ȿ/>#;ƾ/5$;ȿ/,$;e/#$+$)($'#(#'#(\"'#&'#/)$8\":\"\"! )(\"'#&'#"),O('%;Ȅ/1#;ȿ/($8":"!!)("\'#&\'#'),O('<%;k." &"/E#;DZ/<$;ȿ/3$;m/*$8$:$##" )($\'#(#\'#("\'#&\'#=." 7'),O(";n.# &;Ż"),O("%;Ơ/I#;.# &;q/:$;ȿ/1$;ơ/($8$:$!\")($'#(#'#(\"'#&'#"),O("%;e/#$%;ȿ/>#;ƾ/5$;ȿ/,$;e/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;ƾ/5$;ȿ/,$;e/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O("%;o/#$%;ȿ/>#;Ȋ/5$;ȿ/,$;o/#$+$)($'#(#'#(\"'#&'#0H*%;ȿ/>#;Ȋ/5$;ȿ/,$;o/#$+$)($'#(#'#(\"'#&'#&/)$8\":u\"\"! )(\"'#&'#"),O('<%;r." &"/1#;ȿ/($8":"!!)("\'#&\'#=." 7'),O("%;p/B#;ȿ/9$$;s0#*;s&/)$8#:#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;p/1$;ȿ/($8#:#!!)(#'#(\"'#&'#"),O("<%;ź/[#;ȿ/R$;Ơ/I$;u.\" &\"/;$;ȿ/2$;ơ/)$8&:&\"%\")(&'#(%'#($'#(#'#(\"'#&'#=.\" 7"),O('<%;Û/\' 8!:!! ).V &%;v." &"/G#;q/>$9: "! -""&!&#/)$8#:#""!)(#\'#("\'#&\'#=." 7'),O('%;ǜ.# &;ƻ/1#;ȿ/($8":"!!)("\'#&\'#'),O("<%;//' 8!:!! )=.\" 7"),O('<%;y." &"/;#;{/2$;ȿ/)$8#:¡#""!)(#\'#("\'#&\'#=." 7 '),O('<%;ǥ/@#;ȿ/7$;z." &"/)$8#:£#"" )(#\'#("\'#&\'#=." 7¢'),O("<%;Ȑ/D#;ȿ/;$;ȍ/2$;ȿ/)$8$:¥$\"#!)($'#(#'#(\"'#&'#=.\" 7¤"),O(";.S &;û.M &;Ţ.G &;}.A &;|.; &;.5 &;./ &;.) &;
.# &;"),O('<%;Ǎ.# &;Ǡ/@#;ȿ/7$;~." &"/)$8#:§#"" )(#\'#("\'#&\'#=." 7¦'),O('<%;DŽ/^#;ȿ/U$;." &"/G$;~." &"/9$;." &"/+$8%:©%$$"! )(%\'#($\'#(#\'#("\'#&\'#=." 7¨'),O('%;Ȧ/1#;ȿ/($8":ª"!!)("\'#&\'#'),O('%;ǘ.) &;ǰ.# &;ǣ/1#;ȿ/($8":«"!!)("\'#&\'#'),O('<%;ț/N#;ȿ/E$;~." &"/7$;." &"/)$8$:$"# )($\'#(#\'#("\'#&\'#=." 7¬'),O('<%%;ȥ/,#;ȿ/#$+")("\'#&\'#." &"/?#;." &"/1$;/($8#:p#! )(#\'#("\'#&\'#=." 7®'),O('%;Ƃ/1#;ȿ/($8":¯"!!)("\'#&\'#'),O('%;Ȟ/1#;ȿ/($8":°"!!)("\'#&\'#'),O('<%;/2#;/)$8":²""! )("\'#&\'#=." 7±'),O("<%;Ȗ/J#;ȿ/A$;.\" &\"/3$;/*$8$:´$##! )($'#(#'#(\"'#&'#=.\" 7³"),O("<%;/N#;Ż/E$;ȿ/<$;/3$;ȿ/*$8%:¶%#$#!)(%'#($'#(#'#(\"'#&'#=.\" 7µ"),O("<%;Ƽ/D#;ȿ/;$;ȡ/2$;ȿ/)$8$:¸$\"#!)($'#(#'#(\"'#&'#=.\" 7·"),O(";.# &;"),O("<%;ȗ/M#;ȿ/D$;ȥ/;$;ȿ/2$;Ż/)$8%:º%\"$ )(%'#($'#(#'#(\"'#&'#=.\" 7¹"),O('<%;ƹ/I#;ȿ/@$;." &"/2$;Č/)$8$:¼$"# )($\'#(#\'#("\'#&\'#=." 7»'),O('%;nj/1#;ȿ/($8":°"!!)("\'#&\'#'),O('%;/2#;§/)$8":½""! )("\'#&\'#'),O('<%;." &"/1#;ȿ/($8":*"!!)("\'#&\'#=." 7¾'),O("%;Ȳ/J#;ȿ/A$;.\" &\"/3$;/*$8$:¿$##! )($'#(#'#(\"'#&'#"),O('%;Ȓ/1#;ȿ/($8":°"!!)("\'#&\'#'),O("%;/B#;ȿ/9$$;0#*;&/)$8#:À#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;/1$;ȿ/($8#:#!!)(#'#(\"'#&'#"),O('<%;Ƈ/2#;/)$8":Â""! )("\'#&\'#=." 7Á'),O("%;ƿ/:#;ȿ/1$;/($8#:Ã#! )(#'#(\"'#&'#"),O("%;Ơ/C#;/:$;ȿ/1$;ơ/($8$: $!\")($'#(#'#(\"'#&'#"),O('%;/2#;¨/)$8":Ä""! )("\'#&\'#'),O(";.; &;.5 &;./ &;.) &;.# &; "),O("<%;ǁ/#;ȿ/$%;Ǖ/,#;ȿ/#$+\")(\"'#&'#.\" &\"/a$;p/X$;ȿ/O$;ƿ/F$;ȿ/=$;/4$;ȿ/+$8):Æ)$(&%!)()'#(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7Å"),O(";Ź.) &;-.# &;?"),O("<%;Ǜ/f#;ȿ/]$%;Ǖ/,#;ȿ/#$+\")(\"'#&'#.\" &\"/<$;/3$;ȿ/*$8%:È%#$\"!)(%'#($'#(#'#(\"'#&'#=.\" 7Ç"),O('<%;Ȭ/@#;ȿ/7$;." &"/)$8#:Ê#"" )(#\'#("\'#&\'#=." 7É'),O('%;Ź/1#;ȿ/($8":Ë"!!)("\'#&\'#'),O('<%;ƽ/@#;ȿ/7$;." &"/)$8#:Í#"" )(#\'#("\'#&\'#=." 7Ì'),O('%;Ż.) &;ƃ.# &;Ź/1#;ȿ/($8":Î"!!)("\'#&\'#'),O('<%;ȕ/I#;ȿ/@$;." &"/2$;ȿ/)$8$:Í$"#!)($\'#(#\'#("\'#&\'#=." 7Ï'),O('%;Ż.) &;ƃ.# &;Ɓ/1#;ȿ/($8":Ð"!!)("\'#&\'#'),O("<%;Ȏ/S#;ȿ/J$;Ɔ/A$;ȿ/8$;¡.\" &\"/*$8%:Ò%#$\" )(%'#($'#(#'#(\"'#&'#=.\" 7Ñ"),O("%;Ơ/C#;¢/:$;ȿ/1$;ơ/($8$:Ó$!\")($'#(#'#(\"'#&'#.D &%;Ƭ/:#;¢/1$;ȿ/($8#:Ó#!!)(#'#(\"'#&'#"),O(";¤.) &;£.# &;¦"),O(";5.) &;/.# &;3"),O('%;¥/<#9:Ô ! -""&!&#/($8":Õ"!!)("\'#&\'#'),O("%$;Ɠ/�#*;Ɠ&&&#/' 8!:Ö!! )"),O("%;¥/' 8!:×!! )"),O(";¨./ &;Ý.) &;ò.# &;ù"),O('<%;®/X#;ȿ/O$;©." &"/A$;ȿ/8$;ª." &"/*$8%:Ù%#$" )(%\'#($\'#(#\'#("\'#&\'#=." 7Ø'),O("<%;ȋ/L#;ȿ/C$;dž/:$;ȿ/1$;Ø/($8%:Û%! )(%'#($'#(#'#(\"'#&'#=.\" 7Ú"),O("<%;Ȁ/S#;ȿ/J$;p/A$;ȿ/8$;«.\" &\"/*$8%:Ý%#$\" )(%'#($'#(#'#(\"'#&'#=.\" 7Ü"),O('<%;¬/2#;p/)$8":ß""! )("\'#&\'#=." 7Þ'),O(";.# &;Ƣ"),O('%;Ȉ/1#;ȿ/($8":°"!!)("\'#&\'#'),O("%;°/B#;ȿ/9$$;¯0#*;¯&/)$8#:à#\"\" )(#'#(\"'#&'#"),O("<%;ï/D#;ȿ/;$;°/2$;ȿ/)$8$:â$\"#!)($'#(#'#(\"'#&'#=.\" 7á"),O(";±.# &;×"),O('%;²/U#;¸." &"/G$;¹." &"/9$;º." &"/+$8$:ã$$#"! )($\'#(#\'#("\'#&\'#'),O('<%;ȟ/R#;ȿ/I$;³." &"/;$;ȿ/2$;¶/)$8%:å%"" )(%\'#($\'#(#\'#("\'#&\'#=." 7ä'),O('<;´.# &;µ=." 7æ'),O('%;ǜ/1#;ȿ/($8":ç"!!)("\'#&\'#'),O('%;ƻ/1#;ȿ/($8":è"!!)("\'#&\'#'),O("%;¼/B#;ȿ/9$$;·0#*;·&/)$8#:À#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;¼/1$;ȿ/($8#:-#!!)(#'#(\"'#&'#"),O("<%;ǩ/D#;ȿ/;$;À/2$;ȿ/)$8$:ê$\"#!)($'#(#'#(\"'#&'#=.\" 7é"),O("<%;ȱ/D#;ȿ/;$;p/2$;ȿ/)$8$:ì$\"#!)($'#(#'#(\"'#&'#=.\" 7ë"),O("<%;Ǭ/e#;ȿ/\\$;dž/S$;ȿ/J$;q/A$;ȿ/8$;».\" &\"/*$8':î'#&\" )(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7í"),O("<%;ǭ/D#;ȿ/;$;p/2$;ȿ/)$8$:ð$\"#!)($'#(#'#(\"'#&'#=.\" 7ï"),O(";½.# &;¿"),O('%;¾." &"/2#;Û/)$8":ñ""! )("\'#&\'#'),O('%;ƕ/2#;ƣ/)$8":ò""! )("\'#&\'#'),O('%;p/@#;ȿ/7$;Í." &"/)$8#:ó#"" )(#\'#("\'#&\'#'),O("%;Ä/B#;ȿ/9$$;Á0#*;Á&/)$8#:ô#\"\" )(#'#(\"'#&'#"),O('%;Â.# &;Ã/7#;Ô." &"/)$8":õ""! )("\'#&\'#'),O("<%;Ƣ/:#;Ä/1$;ȿ/($8#:÷#!!)(#'#(\"'#&'#=.\" 7ö"),O("<%;Î/D#;ȿ/;$;Ä/2$;ȿ/)$8$:ù$\"#!)($'#(#'#(\"'#&'#=.\" 7ø"),O(";Ë.5 &;?./ &;Å.) &;Æ.# &;Ì"),O("%;ź/S#;ȿ/J$;í/A$;ȿ/8$;Í.\" &\"/*$8%:ú%#$\" )(%'#($'#(#'#(\"'#&'#"),O('<%;Ç/@#;ȿ/7$;È." &"/)$8#:ü#"" )(#\'#("\'#&\'#=." 7û'),O('<%;Ż/@#;ȿ/7$;Í." &"/)$8#:þ#"" )(#\'#("\'#&\'#=." 7ý'),O('<;É.# &;Ê=." 7ÿ'),O("%;dz/V#;ȿ/M$;dž/D$;ȿ/;$;ƃ/2$;ȿ/)$8&:Ā&\"%!)(&'#(%'#($'#(#'#(\"'#&'#"),O("%;k/;#;dz/2$;ȿ/)$8#:ā#\"\"!)(#'#(\"'#&'#"),O("<%;Ơ/R#;À/I$;ȿ/@$;ơ/7$;Í.\" &\"/)$8%:ă%\"# )(%'#($'#(#'#(\"'#&'#=.\" 7Ă"),O('<%;/7#;Í." &"/)$8":ą""! )("\'#&\'#=." 7Ą'),O('<%%;ƿ/Q#%%<;Ɠ.# &;ȶ=.##&&!&\'#/,#;ȿ/#$+")("\'#&\'#/#$+")("\'#&\'#." &"/;#;ƕ/2$;ȿ/)$8#:ć#""!)(#\'#("\'#&\'#=." 7Ć'),O('<%;Ï." &"/J#;ȿ/A$;Ð." &"/3$;Ǽ/*$8$:ĉ$##! )($\'#(#\'#("\'#&\'#=." 7Ĉ'),O('%;Ȃ/1#;ȿ/($8":"!!)("\'#&\'#'),O(";Ñ.# &;Ó"),O('%;Ǿ.) &;Ț.# &;Ǫ/@#;ȿ/7$;Ò." &"/)$8#:Ċ#"" )(#\'#("\'#&\'#'),O('%;Ȍ/1#;ȿ/($8":ċ"!!)("\'#&\'#'),O('%;ǵ.# &;Ǒ/1#;ȿ/($8":ċ"!!)("\'#&\'#'),O('<%;Õ.# &;Ö/1#;ȿ/($8":č"!!)("\'#&\'#=." 7Č'),O('<%;ȉ/;#;ȿ/2$;p/)$8#:ď#"" )(#\'#("\'#&\'#=." 7Ď'),O('<%;ȫ/;#;ȿ/2$;æ/)$8#:đ#"" )(#\'#("\'#&\'#=." 7Đ'),O('<%;ȭ/;#;ȿ/2$;ë/)$8#:ē#"" )(#\'#("\'#&\'#=." 7Ē'),O("%;Ú/B#;ȿ/9$$;Ù0#*;Ù&/)$8#:Ĕ#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;Ú/1$;ȿ/($8#:ĕ#!!)(#'#(\"'#&'#"),O('<%;p/@#;ȿ/7$;į." &"/)$8#:ė#"" )(#\'#("\'#&\'#=." 7Ė'),O('<;Ƥ=." 7Ę'),O('<;Ș.5 &;ț./ &;Ʒ.) &;Ǧ.# &;ǯ=." 7ę'),O('<%;Þ/;#;ȿ/2$;â/)$8#:ě#"" )(#\'#("\'#&\'#=." 7Ě'),O(";ß.# &;à"),O('<%;Ƕ/@#;ȿ/7$;á." &"/)$8#:ĝ#"" )(#\'#("\'#&\'#=." 7Ĝ'),O('<%;Ș/1#;ȿ/($8":ğ"!!)("\'#&\'#=." 7Ğ'),O('<%;Ȋ/;#;ȿ/2$;Ü/)$8#:ġ#"" )(#\'#("\'#&\'#=." 7Ġ'),O('%;ã/2#;å/)$8":Ģ""! )("\'#&\'#'),O('<%;ä/2#;Ƈ/)$8":Ĥ""! )("\'#&\'#=." 7ģ'),O('<%;ǹ/,#;ȿ/#$+")("\'#&\'#=." 7ĥ'),O('<%;é.) &;.# &;î/1#;ȿ/($8":Ħ"!!)("\'#&\'#=." 7Ē'),O("<%;Ơ/T#;è/K$;ȿ/B$$;ç0#*;ç&/2$;ơ/)$8%:Ĩ%\"#!)(%'#($'#(#'#(\"'#&'#=.\" 7ħ"),O("%;Ƣ/:#;è/1$;ȿ/($8#:ĩ#!!)(#'#(\"'#&'#"),O("<%;Ÿ/' 8!:ī!! )=.\" 7Ī"),O('<%;ê/2#;ë/)$8":Ĭ""! )("\'#&\'#=." 7Ē'),O('<%;ȭ/1#;ȿ/($8":°"!!)("\'#&\'#=." 7ĭ'),O("%;í/B#;ȿ/9$$;ì0#*;ì&/)$8#:Į#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;í/1$;ȿ/($8#:#!!)(#'#(\"'#&'#"),O("<%;Ơ/C#;q/:$;ȿ/1$;ơ/($8$:İ$!\")($'#(#'#(\"'#&'#=.\" 7į"),O('<%;ǖ/;#;ȿ/2$;ȭ/)$8#:IJ#"" )(#\'#("\'#&\'#=." 7ı'),O("<%;ð.) &;Ǹ.# &;Ǣ/' 8!:°!! )=.\" 7ij"),O('<%;Ȩ/@#;ȿ/7$;ñ." &"/)$8#:ĵ#"" )(#\'#("\'#&\'#=." 7Ĵ'),O('%;ƻ/1#;ȿ/($8":Ķ"!!)("\'#&\'#'),O("<%;ó/#;ô.\" &\"/|$;Æ/s$;ȿ/j$;õ/a$;¹.\" &\"/S$;©.\" &\"/E$;ȿ/<$;ª.\" &\"/.$8):ĸ)'('&$#\" )()'#(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7ķ"),O('<%;Ȫ/1#;ȿ/($8":°"!!)("\'#&\'#=." 7Ĺ'),O("<%;Ȋ/C#;ȿ/:$;Ü/1$;ȿ/($8$:Ļ$!!)($'#(#'#(\"'#&'#=.\" 7ĺ"),O("<%;Ƞ/C#;ȿ/:$;ö/1$;ȿ/($8$:Ľ$!!)($'#(#'#(\"'#&'#=.\" 7ļ"),O('%;ø/9#$;÷0#*;÷&/)$8":Į""! )("\'#&\'#'),O("%;ȿ/:#;Ƣ/1$;ø/($8#:ĩ#! )(#'#(\"'#&'#"),O("<%;Ž/M#;ȿ/D$;Ƭ/;$;p/2$;ȿ/)$8%:Ŀ%\"$!)(%'#($'#(#'#(\"'#&'#=.\" 7ľ"),O('<%;ú/h#;Æ/_$;ȿ/V$;¹." &"/H$;©." &"/:$;ª." &"/,$8&:Ł&%%$"! )(&\'#(%\'#($\'#(#\'#("\'#&\'#=." 7ŀ'),O("<%;Ǚ/C#;ȿ/:$;ǩ/1$;ȿ/($8$:°$!#)($'#(#'#(\"'#&'#=.\" 7ł"),O('<;ý.5 &;þ./ &;ÿ.) &;Ā.# &;ā=." 7Ń'),O('%;ǐ/1#;ȿ/($8":°"!!)("\'#&\'#'),O("%%<%;ü/>#;Dz./ &;ȧ.) &;Ȯ.# &;ȯ/#$+\")(\"'#&'#=.##&&!&'#/1#;Ă/($8\":ĩ\"! )(\"'#&'#"),O("%%<%;ü/>#;ȡ./ &;ȧ.) &;Ȯ.# &;ȯ/#$+\")(\"'#&'#=.##&&!&'#/1#;Ń/($8\":ĩ\"! )(\"'#&'#"),O("%%<%;ü/>#;ȡ./ &;Dz.) &;Ȯ.# &;ȯ/#$+\")(\"'#&'#=.##&&!&'#/1#;Ň/($8\":ĩ\"! )(\"'#&'#"),O("%%<%;ü/>#;ȡ./ &;Dz.) &;ȧ.# &;ȯ/#$+\")(\"'#&'#=.##&&!&'#/1#;Ŗ/($8\":ĩ\"! )(\"'#&'#"),O("%%<%;ü/>#;ȡ./ &;Dz.) &;ȧ.# &;Ȯ/#$+\")(\"'#&'#=.##&&!&'#/1#;Ś/($8\":ĩ\"! )(\"'#&'#"),O("<%;ă/T#;ą.\" &\"/F$;Ż/=$;ȿ/4$;Ć/+$8%:Ņ%$$#\" )(%'#($'#(#'#(\"'#&'#=.\" 7ń"),O("%;ü/J#;Ą.\" &\"/<$;ȡ/3$;ȿ/*$8$:ņ$##\"!)($'#(#'#(\"'#&'#"),O('%;ȣ.# &;Ȣ/1#;ȿ/($8":Ň"!!)("\'#&\'#'),O("<%;Ǯ/N#;ȿ/E$;k/<$;Ǥ/3$;ȿ/*$8%:ʼn%#$\"!)(%'#($'#(#'#(\"'#&'#=.\" 7ň"),O(";ć.# &;ł"),O("<%;Ơ/Z#;ĉ/Q$$;ċ0#*;ċ&/A$;ơ/8$;Ĉ.\" &\"/*$8%:ŋ%##\" )(%'#($'#(#'#(\"'#&'#=.\" 7Ŋ"),O("%;ȳ/D#;ȿ/;$;ȝ/2$;ȿ/)$8$:Ō$\"#!)($'#(#'#(\"'#&'#"),O("%;Č/B#;ȿ/9$$;Ċ0#*;Ċ&/)$8#:Į#\"\" )(#'#(\"'#&'#"),O("%;Ƣ/:#;Č/1$;ȿ/($8#:ª#!!)(#'#(\"'#&'#"),O('%;Ƣ." &"/1#;Ġ/($8":ō"! )("\'#&\'#'),O('<%;č/O#;ȿ/F$;Ď." &"/8$;ď." &"/*$8$:ŏ$##! )($\'#(#\'#("\'#&\'#=." 7Ŏ'),O("%;ƕ/=#%<;ȿ=/##&'!&&#/($8\":p\"!!)(\"'#&'#.\\ &%%<;Ď.) &;đ.# &;Ġ=.##&&!&'#/:#;ȿ/1$;Ƙ/($8#:p#! )(#'#(\"'#&'#"),O('<%;&/1#;ȿ/($8":ő"!!)("\'#&\'#=." 7Ő'),O("%;đ/B#$;Đ0#*;Đ&/2$;ȿ/)$8#:Į#\"\"!)(#'#(\"'#&'#"),O('%;ȿ/1#;đ/($8":ĩ"! )("\'#&\'#'),O('<%;Ē." &"/A#;Ĕ/8$;Ē." &"/*$8#:œ##"! )(#\'#("\'#&\'#=." 7Œ'),O("%$;ē/�#*;ē&&&#/' 8!:Ŕ!! )"),O("<%;Ǐ/C#;ȿ/:$;ƕ/1$;ȿ/($8$:Ŗ$!!)($'#(#'#(\"'#&'#=.\" 7ŕ"),O(";Ė.; &;ę.5 &;Ĝ./ &;ĝ.) &;ğ.# &;ĕ"),O("<%;ĵ/' 8!:Ř!! )=.\" 7ŗ"),O('<%;ė/U#;į." &"/G$;İ." &"/9$;Ę." &"/+$8$:Ś$$#"! )($\'#(#\'#("\'#&\'#=." 7ř'),O("<%;ȏ.# &;Ȏ/D#;ȿ/;$;ǽ/2$;ȿ/)$8$:Ŝ$\"#!)($'#(#'#(\"'#&'#=.\" 7ś"),O('<%;ǂ/1#;ȿ/($8":Ş"!!)("\'#&\'#=." 7ŝ'),O('%;Ě/@#;İ." &"/2$;ȿ/)$8#:ş#""!)(#\'#("\'#&\'#'),O('<%;ě.# &;ȩ/1#;ȿ/($8":ċ"!!)("\'#&\'#=." 7Š'),O('<%;k." &"/2#;Ȇ/)$8":Ţ""! )("\'#&\'#=." 7š'),O('<;IJ=." 7ţ'),O("<%;ǖ/D#;ȿ/;$;Ğ/2$;ȿ/)$8$:ť$\"#!)($'#(#'#(\"'#&'#=.\" 7Ť"),O(";L./ &;5.) &;,.# &;3"),O("<%;ĭ/' 8!:ŧ!! )=.\" 7Ŧ"),O('<%;Ē." &"/J#;ġ/A$;ȿ/8$;Ē." &"/*$8$:ũ$##" )($\'#(#\'#("\'#&\'#=." 7Ũ'),O(";ij.) &;ģ.# &;Ģ"),O("<%;IJ/' 8!:ū!! )=.\" 7Ū"),O("<%;Ĥ/J#;ȿ/A$;ĩ/8$;İ.\" &\"/*$8$:ŭ$##! )($'#(#'#(\"'#&'#=.\" 7Ŭ"),O('%;ĥ.# &;Ħ/1#;ȿ/($8":Ů"!!)("\'#&\'#'),O('<%;ȏ/;#;ȿ/2$;ǽ/)$8#:ů#"" )(#\'#("\'#&\'#=." 7ś'),O("<%;ȩ/' 8!:ű!! )=.\" 7Ű"),O("%;Ơ/T#;ī/K$;ȿ/B$$;Ī0#*;Ī&/2$;ơ/)$8%:Ų%\"#!)(%'#($'#(#'#(\"'#&'#"),O("%;ħ/' 8!:ų!! )"),O("%;ħ/' 8!:Ŵ!! )"),O("%;Ƣ/:#;ī/1$;ȿ/($8#:ĩ#!!)(#'#(\"'#&'#"),O('<%;Ĭ/O#;ȿ/F$;į." &"/8$;Ę." &"/*$8$:Ŷ$##! )($\'#(#\'#("\'#&\'#=." 7ŵ'),O("%;è/\\#%<%;ȿ/8#;Ƴ.) &;ơ.# &;į/#$+\")(\"'#&'#=/##&'!&&#/($8\":p\"!!)(\"'#&'#.# &;p"),O("<%$;Į/�#*;Į&&&#/' 8!:Ÿ!! )=.\" 7ŷ"),O("%;Nj/C#;ȿ/:$;Ɓ/1$;ȿ/($8$:p$!!)($'#(#'#(\"'#&'#"),O('<%;ǀ.# &;ǚ/1#;ȿ/($8":ź"!!)("\'#&\'#=." 7Ź'),O("%;ı/;#;Ü/2$;ȿ/)$8#:Ż#\"\"!)(#'#(\"'#&'#"),O("<%;ȉ/D#;ȿ/;$;ǎ/2$;ȿ/)$8$:Ž$\"#!)($'#(#'#(\"'#&'#=.\" 7ż"),O("%;NJ/;#;ȿ/2$;L/)$8#:ž#\"\" )(#'#(\"'#&'#"),O("<%;Ĵ/E#;æ/<$;ĵ/3$;ȿ/*$8$:ƀ$##\"!)($'#(#'#(\"'#&'#=.\" 7ſ"),O("<%;Ǩ/D#;ȿ/;$;ǽ/2$;ȿ/)$8$:Ƃ$\"#!)($'#(#'#(\"'#&'#=.\" 7Ɓ"),O('%;Ķ/F#;ķ." &"/8$;ŀ." &"/*$8#:ƃ##"! )(#\'#("\'#&\'#'),O("<%;ȓ/D#;ȿ/;$;Ƈ/2$;ȿ/)$8$:ƅ$\"#!)($'#(#'#(\"'#&'#=.\" 7Ƅ"),O("%;Ĺ/B#;ȿ/9$$;ĸ0#*;ĸ&/)$8#:Ɔ#\"\" )(#'#(\"'#&'#"),O('%;Ĺ/1#;ȿ/($8":Ķ"!!)("\'#&\'#'),O('<;ĺ.# &;Ŀ=." 7Ƈ'),O("%;ȉ/T#;ȿ/K$;Ǚ.# &;Ȫ/<$;ȿ/3$;Ļ/*$8%:ƈ%#$\" )(%'#($'#(#'#(\"'#&'#"),O('<;ļ.) &;Ľ.# &;ľ=." 7Ɖ'),O("%;Ƞ/J#;ȿ/A$;Ȇ.# &;ǖ/2$;ȿ/)$8$:Ɗ$\"#!)($'#(#'#(\"'#&'#"),O('%;LJ.# &;ș/1#;ȿ/($8":Ƌ"!!)("\'#&\'#'),O("%;ȃ/D#;ȿ/;$;Ƹ/2$;ȿ/)$8$:ƌ$\"#!)($'#(#'#(\"'#&'#"),O("%;ȁ/D#;ȿ/;$;ƕ/2$;ȿ/)$8$:ƍ$\"#!)($'#(#'#(\"'#&'#"),O('<%;k." &"/J#;Ǘ/A$;ȿ/8$;Ł." &"/*$8$:Ə$##" )($\'#(#\'#("\'#&\'#=." 7Ǝ'),O("%;Ǵ/J#;ȿ/A$;ǘ.# &;ǰ/2$;ȿ/)$8$:Ɛ$\"#!)($'#(#'#(\"'#&'#"),O("%;ř/' 8!:Ƒ!! )"),O("<%;ń/c#;ą.\" &\"/U$;ƃ/L$;ȿ/C$;ņ/:$;¹.\" &\"/,$8&:Ɠ&%%$#! )(&'#(%'#($'#(#'#(\"'#&'#=.\" 7ƒ"),O("%;ü/J#;Ņ.\" &\"/<$;Dz/3$;ȿ/*$8$:Ɣ$##\"!)($'#(#'#(\"'#&'#"),O('%;ȩ/1#;ȿ/($8":ƕ"!!)("\'#&\'#'),O("<%;ȉ/N#;ȿ/E$;Ż/<$;ȿ/3$;Ĩ/*$8%:Ɨ%#$\" )(%'#($'#(#'#(\"'#&'#=.\" 7Ɩ"),O("<%;ň/¦#;ą.\" &\"/$;Ƅ.\" &\"/$;ȿ/$;ʼn/x$;ȉ/o$;ȿ/f$;Ż/]$;ȿ/T$;ő.\" &\"/F$;Œ.\" &\"/8$;œ//$8,:ƙ,(+*)'$\"! )(,'#(+'#(*'#()'#(('#(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7Ƙ"),O("%;ü/J#;Ą.\" &\"/<$;ȧ/3$;ȿ/*$8$:ƚ$##\"!)($'#(#'#(\"'#&'#"),O('<%;Ŋ." &"/2#;Ō/)$8":Ɯ""! )("\'#&\'#=." 7ƛ'),O('%;ǃ.) &;ƺ.# &;ŋ/1#;ȿ/($8":Ɲ"!!)("\'#&\'#'),O("%;Ƿ/;#;ȿ/2$;ȇ/)$8#:ƞ#\"\" )(#'#(\"'#&'#"),O('<;ō.# &;Ŏ=." 7Ɵ'),O('%;Ǚ.# &;Ƕ/1#;ȿ/($8":Ơ"!!)("\'#&\'#'),O('%;Ȫ/@#;ȿ/7$;ŏ." &"/)$8#:ơ#"" )(#\'#("\'#&\'#'),O("%;ȇ/;#;ȿ/2$;Ő/)$8#:Ƣ#\"\" )(#'#(\"'#&'#"),O("%;è/B#;ȿ/9$$;ç0#*;ç&/)$8#:Į#\"\" )(#'#(\"'#&'#"),O("%;ǧ/c#;ȿ/Z$;Ǟ/Q$;ȿ/H$;Ȝ.) &3ƣ\"\"5)7Ƥ/3$;ȿ/*$8&:ƥ&#%#!)(&'#(%'#($'#(#'#(\"'#&'#"),O("<%;Ȱ/D#;ȿ/;$;p/2$;ȿ/)$8$:Ʀ$\"#!)($'#(#'#(\"'#&'#=.\" 7"),O("<%;DŽ/W#;ȿ/N$;Ŕ/E$;ȿ/<$;Ǡ/3$;ȿ/*$8&:ƨ&#%#!)(&'#(%'#($'#(#'#(\"'#&'#=.\" 7Ƨ"),O("%$;ŕ/�#*;ŕ&&&#/' 8!:Ʃ!! )"),O("%;/:#;ȿ/1$;$/($8#:\"#!\")(#'#(\"'#&'#"),O("<%;Ř/T#;ą.\" &\"/F$;ŗ/=$;ȿ/4$;ř/+$8%:ƫ%$$#\" )(%'#($'#(#'#(\"'#&'#=.\" 7ƪ"),O("%;ƅ/;#;ȿ/2$;æ/)$8#:Ƭ#\"\" )(#'#(\"'#&'#.# &;ƅ"),O("%;ü/J#;Ą.\" &\"/<$;Ȯ/3$;ȿ/*$8$:ƭ$##\"!)($'#(#'#(\"'#&'#"),O("%;ƿ/D#;ȿ/;$;¨/2$;ȿ/)$8$:Ĭ$\"#!)($'#(#'#(\"'#&'#"),O("<%;ś/f#;ą.\" &\"/X$;Ż/O$;ȿ/F$;ȫ/=$;ȿ/4$;Ŝ/+$8':Ư'$&%$ )(''#(&'#(%'#($'#(#'#(\"'#&'#=.\" 7Ʈ"),O("%;ü/N#;ȯ/E$;ȿ/<$;ȡ/3$;ȿ/*$8%:ư%#$#!)(%'#($'#(#'#(\"'#&'#"),O('%;Ɨ/@#;ȿ/7$;ŝ." &"/)$8#:Ʊ#"" )(#\'#("\'#&\'#'),O("<%;Ơ/Z#;ȿ/Q$;Ş.\" &\"/C$;ȿ/:$;ơ/1$;ȿ/($8&:Ƴ&!#)(&'#(%'#($'#(#'#(\"'#&'#=.\" 7Ʋ"),O('%;Š/9#$;ş0#*;ş&/)$8":ƴ""! )("\'#&\'#'),O("%;ȿ/H#;Ƣ/?$;ȿ/6$;Š.\" &\"/($8$:Ƶ$! )($'#(#'#(\"'#&'#"),O("%%<%;ƕ/;#;ȿ/2$;&.# &;đ/#$+#)(#'#(\"'#&'#=.##&&!&'#/:#;p/1$;ȿ/($8#:İ#!!)(#'#(\"'#&'#.x &%;š/n#%%<;Ɠ=.##&&!&'#/,#;ȿ/#$+\")(\"'#&'#/F$;Ď.\" &\"/8$;ď.\" &\"/*$8$:ŏ$##! )($'#(#'#(\"'#&'#"),O(";ƕ.# &;Ƙ"),O('<%;ţ/;#;Ż/2$;ȿ/)$8#:Ʒ#""!)(#\'#("\'#&\'#=." 7ƶ'),O("<%;ǝ/J#;ȿ/A$;Ť/8$;ť.\" &\"/*$8$:ƹ$##! )($'#(#'#(\"'#&'#=.\" 7Ƹ"),O('<%;ȡ./ &;Dz.) &;ȧ.# &;Ȯ/1#;ȿ/($8":ċ"!!)("\'#&\'#=." 7ƺ'),O("<%;Ǯ/D#;ȿ/;$;Ǥ/2$;ȿ/)$8$:Ƽ$\"#!)($'#(#'#(\"'#&'#=.\" 7ƻ"),O('<%;Ʈ/,#;Ʈ/#$+")("\'#&\'#=." 7ƽ'),O('<;ƪ=." 7ƾ'),O('<;ƫ=." 7ƿ'),O('<;Ƥ=." 7ǀ'),O('<;Ƶ=." 7ǁ'),O('<;Ư=." 7ǂ'),O('<%;ư/,#;ư/#$+")("\'#&\'#=." 7ǃ'),O('<%;Ʊ/,#;Ʊ/#$+")("\'#&\'#=." 7DŽ'),O('<;ƭ=." 7Dž'),O('<;Ʈ=." 7dž'),O('<;ư=." 7LJ'),O('<;Ʊ=." 7Lj'),O('<%;ư/,#;Ƭ/#$+")("\'#&\'#=." 7lj'),O('<%;Ʊ/,#;Ƭ/#$+")("\'#&\'#=." 7NJ'),O('<%;Ƭ/1#;Ƭ." &"/#$+")("\'#&\'#=." 7Nj'),O('<%;Ʋ/,#;Ƭ/#$+")("\'#&\'#=." 7nj'),O('<%;ư/,#;Ʊ/#$+")("\'#&\'#=." 7nj'),O('<%;Ǻ/@#;ȿ/7$;k." &"/)$8#:ǎ#"" )(#\'#("\'#&\'#=." 7Ǎ'),O('<;ƕ.# &;Ƙ=." 7Ǐ'),O("<%;Ÿ/' 8!:Ǒ!! )=.\" 7ǐ"),O('<%;ż." &"/2#;Ÿ/)$8":Ǔ""! )("\'#&\'#=." 7ǒ'),O('<%;ż." &"/2#;Ÿ/)$8":Ǖ""! )("\'#&\'#=." 7ǔ'),O('%;Ÿ/2#;ƣ/)$8":ǖ""! )("\'#&\'#'),O('<%;ſ.) &;ƀ.# &;ž/2#;Ÿ/)$8":ǘ""! )("\'#&\'#=." 7Ǘ'),O("%;ȿ/& 8!:Ǚ! )"),O('%;ż/2#;ƀ/)$8":ǚ""! )("\'#&\'#'),O('%;Ÿ/2#;ƣ/)$8":D""! )("\'#&\'#'),O("<%;Ÿ/' 8!:ǜ!! )=.\" 7Ǜ"),O("<%;Ÿ/' 8!:Ǟ!! )=.\" 7ǝ"),O('<%;ż." &"/2#;Ÿ/)$8":Ǡ""! )("\'#&\'#=." 7ǟ'),O('<%;ż." &"/2#;Ÿ/)$8":Ǣ""! )("\'#&\'#=." 7ǡ'),O('<%;ż." &"/2#;Ÿ/)$8":Ǥ""! )("\'#&\'#=." 7ǣ'),O('<%;ż." &"/2#;Ÿ/)$8":Ǧ""! )("\'#&\'#=." 7ǥ'),O('<%;ƈ.# &;Ż/1#;ȿ/($8":Ǩ"!!)("\'#&\'#=." 7ǧ'),O("%;Ż/;#;ȿ/2$;æ/)$8#:ǩ#\"\" )(#'#(\"'#&'#"),O("<%;Ÿ/' 8!:ǫ!! )=.\" 7Ǫ"),O("<%;Ÿ/' 8!:ǭ!! )=.\" 7Ǭ"),O('<%;ƌ/=#%<;Ɠ=.##&&!&\'#/($8":ǯ"!!)("\'#&\'#.Å &%;ƍ/=#%<;Ɠ=.##&&!&\'#/($8":ǰ"!!)("\'#&\'#. &%;Ə/=#%<;Ɠ=.##&&!&\'#/($8":DZ"!!)("\'#&\'#.q &%;Ɛ/=#%<;Ɠ=.##&&!&\'#/($8":Dz"!!)("\'#&\'#.G &%;ƒ/=#%<;Ɠ=.##&&!&\'#/($8":dz"!!)("\'#&\'#=." 7Ǯ'),O('<%%3ǵ""5!7Ƕ." &"/F#3Ƿ""5#7Ǹ." &"/2$3ǹ""5$7Ǻ/#$+#)(#\'#("\'#&\'#.k &%3ǻ""5$7Ǽ.5 &3ǽ""5&7Ǿ.) &3ǿ""5$7Ȁ." &"/2#3ȁ""5$7Ȃ/#$+")("\'#&\'#.) &3ȃ""5$7Ȅ/\' 8!:ċ!! )=." 7Ǵ'),O('<%;Ǝ.5 &3Ȇ""5%7ȇ.) &3Ȉ""5$7ȉ/\' 8!:ċ!! )=." 7ȅ'),O('<%3ȋ""5&7Ȍ/i#%$4(""5!7)/,#0)*4(""5!7)&&&#/2#3ȍ""5)7Ȏ/#$+")("\'#&\'#." &"/)$8":ȏ""! )("\'#&\'#=." 7Ȋ'),O('<%3ȑ""5\'7Ȓ. &3ȓ""5\'7Ȕ. &3ȕ""5\'7Ȗ.} &%3ȗ""5$7Ș/7#3ș""5$7Ț." &"/#$+")("\'#&\'#.S &%3ș""5$7Ț/7#3ț""5%7Ȝ." &"/#$+")("\'#&\'#.) &3ȝ""5&7Ȟ/\' 8!:ċ!! )=." 7Ȑ'),O('<%%3Ƞ""5#7ȡ/V#2Ȣ""6Ȣ7ȣ.A &2Ȥ""6Ȥ7ȥ.5 &2Ȧ""6Ȧ7ȧ.) &3Ȩ""5$7ȩ/#$+")("\'#&\'#.q &%3Ȫ""5#7ȫ.A &3ǽ""5&7Ǿ.5 &3Ȭ""5%7ȭ.) &3ǻ""5$7Ǽ." &"/2#3Ƞ""5#7ȡ/#$+")("\'#&\'#.# &;Ƒ/\' 8!:ċ!! )=." 7ȟ'),O('%3Ȯ""5(7ȯ/d#%$4(""5!7)/,#0)*4(""5!7)&&&#/2#3Ȱ""5%7ȱ/#$+")("\'#&\'#/)$8":Ȳ""! )("\'#&\'#'),O('<%3ȴ""5$7ȵ/\' 8!:ċ!! )=." 7ȳ'),O('4ȶ""5!7ȷ'),O('%2ȸ""6ȸ7ȹ/K#$4Ⱥ""5!7Ȼ/,#0)*4Ⱥ""5!7Ȼ&&&#/)$8":ȼ""! )("\'#&\'#'),O(";Ɩ.# &;Ɨ"),O(";ƙ./ &;Ɲ.) &;ƛ.# &;Ɯ"),O("%%<;ȴ.# &;>=.##&&!&'#/J#$;Ɣ.# &;Ɠ/,#0)*;Ɣ.# &;Ɠ&&&#/($8\":Ö\"! )(\"'#&'#"),O("%%<;ȶ.# &;>=.##&&!&'#/J#$;Ɣ.# &;Ɠ/,#0)*;Ɣ.# &;Ɠ&&&#/($8\":Ƚ\"! )(\"'#&'#"),O("%;ƞ/#;ȿ/$%$%%<;ƚ=.##&&!&'#/1#1\"\"5!7Ⱦ/#$+\")(\"'#&'#0G*%%<;ƚ=.##&&!&'#/1#1\"\"5!7Ⱦ/#$+\")(\"'#&'#&/\"!&,)/1$;ƚ/($8$:ȿ$!!)($'#(#'#(\"'#&'#"),O('%$4ɀ""5!7Ɂ0)*4ɀ""5!7Ɂ&/5#;Ɵ/,$;ȿ/#$+#)(#\'#("\'#&\'#'),O('%2ɂ""6ɂ7Ƀ/k#$2Ʉ""6Ʉ7Ʌ.) &4Ɇ""5!7ɇ05*2Ʉ""6Ʉ7Ʌ.) &4Ɇ""5!7ɇ&/7$2ɂ""6ɂ7Ƀ/($8#:Ɉ#!!)(#\'#("\'#&\'#'),O('%2ɉ""6ɉ7Ɋ/k#$26""6677.) &48""5!7905*26""6677.) &48""5!79&/7$2ɉ""6ɉ7Ɋ/($8#:ɋ#!!)(#\'#("\'#&\'#'),O('%2Ɍ""6Ɍ7ɍ/k#$2Ɏ""6Ɏ7ɏ.) &4ɐ""5!7ɑ05*2Ɏ""6Ɏ7ɏ.) &4ɐ""5!7ɑ&/7$2Ɍ""6Ɍ7ɍ/($8#:ɒ#!!)(#\'#("\'#&\'#'),O('<%2ɔ""6ɔ7ɕ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɓ'),O('<%2ɗ""6ɗ7ɘ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɖ'),O('<%2ɚ""6ɚ7ɛ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ə'),O('<%2ɝ""6ɝ7ɞ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɜ'),O('<%2ɠ""6ɠ7ɡ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɟ'),O('<%2ɣ""6ɣ7ɤ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɢ'),O('<%2ɦ""6ɦ7ɧ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɥ'),O('<%2ɩ""6ɩ7ɪ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɨ'),O('<%2ɉ""6ɉ7Ɋ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɫ'),O('<%2ɂ""6ɂ7Ƀ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɬ'),O('<%2Ɍ""6Ɍ7ɍ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɭ'),O('<%2ɯ""6ɯ7ɰ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɮ'),O('<%2ɲ""6ɲ7ɳ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɱ'),O('<%2ɵ""6ɵ7ɶ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɴ'),O('<%2ɷ""6ɷ7ɸ/1#;ȿ/($8":""!!)("\'#&\'#=." 7Nj'),O('<%2ɺ""6ɺ7ɻ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɹ'),O('<%2ɽ""6ɽ7ɾ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ɼ'),O('<%2ɿ""6ɿ7ʀ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ǂ'),O('<%2ʁ""6ʁ7ʂ/1#;ȿ/($8":""!!)("\'#&\'#=." 7LJ'),O('<%2ʃ""6ʃ7ʄ/1#;ȿ/($8":""!!)("\'#&\'#=." 7Lj'),O('<%2ʆ""6ʆ7ʇ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ʅ'),O('<%2ʉ""6ʉ7ʊ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ʈ'),O('<%2a""6a7b/1#;ȿ/($8":""!!)("\'#&\'#=." 7ʋ'),O('<%2ʍ""6ʍ7ʎ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ʌ'),O('<%2ʐ""6ʐ7ʑ/1#;ȿ/($8":""!!)("\'#&\'#=." 7ʏ'),O('%3ʒ""5%7ʓ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʔ""5&7ʕ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʖ""5#7ʗ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʘ""5%7ʙ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʚ""5#7ʛ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʜ""5%7ʝ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ʞ\"\"5'7ʟ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3ʠ""5#7ʡ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʢ""5"7ʣ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʤ""5#7ʥ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʦ""5&7ʧ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʨ""5-7ʩ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʪ""5&7ʫ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʬ""5%7ʭ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ʮ\"\"5'7ʯ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3ʰ""5"7ʱ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ʲ\"\"5'7ʳ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3ʴ""5$7ʵ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʶ""5$7ʷ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʸ""5%7ʹ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ʺ\"\"5'7ʻ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3ʼ""5&7ʽ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʾ""5&7ʿ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˀ""5(7ˁ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˂""5*7˃/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˄""5&7˅/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˆ""5%7ˇ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˈ""5,7ˉ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˊ""5,7ˋ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˌ""517ˍ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˎ""5(7ˏ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ː\"\"5'7ˑ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3˒""5*7˓/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˔""5(7˕/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˖""5&7˗/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˘""5$7˙/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˚""5&7˛/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˜""5(7˝/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˞""5$7˟/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˠ""5$7ˡ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˢ""5$7ˣ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˤ""5#7˥/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˦""5&7˧/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˨""5&7˩/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˪""5)7˫/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ˬ""5&7˭/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3ˮ\"\"5'7˯/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3˰""5$7˱/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˲""5#7˳/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3˴\"\"5'7˵/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3˶""5$7˷/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˸""5$7˹/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˺""5$7˻/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˼""5%7˽/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3˾""5&7˿/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̀""5"7́/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̂""5&7̃/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̄""5)7̅/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̆""5"7̇/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̈""5%7̉/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3̊\"\"5'7̋/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3̌""5)7̍/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̎""5%7̏/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̐""5&7̑/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3̒\"\"5'7̓/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3̔""5)7̕/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̖""5$7̗/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̘""5"7̙/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̚""5&7̛/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̜""5$7̝/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̞""5#7̟/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̠""5$7̡/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̢""5$7̣/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̤""5%7̥/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̦""5%7̧/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3̨\"\"5'7̩/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3̪""5"7̫/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̬""5#7̭/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3̮\"\"5'7̯/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3y""5$7z/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̰""5"7̱/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̲""5&7̳/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̴""5"7̵/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̶""5"7̷/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̸""5%7̹/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̺""5%7̻/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̼""5$7̽/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̾""5&7̿/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3̀\"\"5'7́/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3͂""5%7̓/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3̈́""5%7ͅ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͆""5)7͇/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͈""5*7͉/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͊""5&7͋/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3͌\"\"5'7͍/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O("%3͎\"\"5'7͏/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3͐""5&7͑/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3͒\"\"5'7͓/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3͔""5(7͕/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͖""5%7͗/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͘""5(7͙/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͚""5#7͛/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͜""5%7͝/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͞""5)7͟/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͠""5&7͡/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3͢""5#7ͣ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͤ""5%7ͥ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͦ""5$7ͧ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͨ""5)7ͩ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͪ""5$7ͫ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͬ""5"7ͭ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͮ""5+7ͯ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3Ͱ\"\"5'7ͱ/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3Ͳ""5%7ͳ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ʹ""5&7͵/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3Ͷ""5&7ͷ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3""5%7/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͺ""5&7ͻ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3ͼ""5&7ͽ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3;""5$7Ϳ/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3\"\"5'7/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O('%3""5$7/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3΄""5%7΅/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O('%3Ά""5$7·/8#%<;Ɠ=.##&&!&\'#/#$+")("\'#&\'#'),O("%3Έ\"\"5'7Ή/8#%<;Ɠ=.##&&!&'#/#$+\")(\"'#&'#"),O("%;ȵ/' 8!:Ί!! )"),O(";Ʒ.˹ &;Ƹ.˳ &;ƹ.˭ &;ƺ.˧ &;ƻ.ˡ &;Ƽ.˛ &;ƽ.˕ &;ƾ.ˏ &;ƿ.ˉ &;ǀ.˃ &;ǁ.ʽ &;ǂ.ʷ &;ǃ.ʱ &;DŽ.ʫ &;Dž.ʥ &;dž.ʟ &;LJ.ʙ &;Lj.ʓ &;lj.ʍ &;NJ.ʇ &;Nj.ʁ &;nj.ɻ &;Ǎ.ɵ &;ǎ.ɯ &;Ǐ.ɩ &;ǐ.ɣ &;Ǒ.ɝ &;ǒ.ɗ &;Ǔ.ɑ &;ǔ.ɋ &;Ǖ.Ʌ &;ǖ.ȿ &;Ǘ.ȹ &;ǘ.ȳ &;Ǚ.ȭ &;ǚ.ȧ &;Ǜ.ȡ &;ǜ.ț &;ǝ.ȕ &;Ǟ.ȏ &;ǟ.ȉ &;Ǡ.ȃ &;ǡ.ǽ &;Ǣ.Ƿ &;ǣ.DZ &;Ǥ.ǫ &;ǥ.ǥ &;Ǧ.ǟ &;ǧ.Ǚ &;Ǩ.Ǔ &;ǩ.Ǎ &;Ǫ.LJ &;ǫ.ǁ &;Ǭ.ƻ &;ǭ.Ƶ &;Ǯ.Ư &;ǯ.Ʃ &;ǰ.ƣ &;DZ.Ɲ &;Dz.Ɨ &;dz.Ƒ &;Ǵ.Ƌ &;ǵ.ƅ &;Ƕ.ſ &;Ƿ.Ź &;Ǹ.ų &;ǹ.ŭ &;Ǻ.ŧ &;ǻ.š &;Ǽ.ś &;ǽ.ŕ &;Ǿ.ŏ &;ǿ.ʼn &;Ȁ.Ń &;ȁ.Ľ &;Ȃ.ķ &;ȃ.ı &;Ȅ.ī &;ȅ.ĥ &;Ȇ.ğ &;ȇ.ę &;Ȉ.ē &;ȉ.č &;Ȋ.ć &;ȋ.ā &;Ȍ.û &;ȍ.õ &;Ȏ.ï &;ȏ.é &;Ȑ.ã &;ȑ.Ý &;Ȓ.× &;ȓ.Ñ &;Ȕ.Ë &;ȕ.Å &;Ȗ.¿ &;ȗ.¹ &;Ș.³ &;ș. &;Ț.§ &;ț.¡ &;Ȝ. &;Ȟ. &;ȟ. &;Ƞ. &;ȡ. &;ȣ.} &;Ȥ.w &;ȥ.q &;Ȧ.k &;ȧ.e &;Ȩ._ &;ȩ.Y &;Ȫ.S &;ȫ.M &;Ȭ.G &;ȭ.A &;Ȯ.; &;ȯ.5 &;Ȱ./ &;ȱ.) &;Ȳ.# &;ȳ"),O(";ƹ.ŧ &;ƻ.š &;Ƽ.ś &;ƾ.ŕ &;ƿ.ŏ &;ǂ.ʼn &;Dž.Ń &;Lj.Ľ &;NJ.ķ &;Nj.ı &;Ǎ.ī &;Ǐ.ĥ &;ǐ.ğ &;ǖ.ę &;Ǘ.ē &;Ǚ.č &;ǜ.ć &;ǝ.ā &;ǟ.û &;ǡ.õ &;Ǣ.ï &;Ǥ.é &;Ǩ.ã &;ǩ.Ý &;Ǭ.× &;ǭ.Ñ &;DZ.Ë &;Dz.Å &;Ƕ.¿ &;Ǹ.¹ &;ǹ.³ &;Ǻ. &;ǻ.§ &;Ǽ.¡ &;Ȁ. &;Ȅ. &;ȅ. &;Ȇ. &;ȉ. &;Ȋ.} &;ȋ.w &;ȏ.q &;ȓ.k &;ȟ.e &;Ƞ._ &;ȡ.Y &;Ȥ.S &;ȥ.M &;Ȧ.G &;Ȩ.A &;ȩ.; &;Ȫ.5 &;ȫ./ &;ȭ.) &;Ȱ.# &;ȱ"),O(";ȸ.. &%;ȹ/& 8!:! )"),O('<%2""67Ύ/#$%%<4Ώ""5!7ΐ=.##&&!&\'#/1#1""5!7Ⱦ/#$+")("\'#&\'#0M*%%<4Ώ""5!7ΐ=.##&&!&\'#/1#1""5!7Ⱦ/#$+")("\'#&\'#&/#$+")("\'#&\'#=." 7Ό'),O("<%;Ⱥ/5#;Ⱦ/,$;Ȼ/#$+#)(#'#(\"'#&'#=.\" 7Α"),O('2Β""6Β7Γ'),O('2Δ""6Δ7Ε'),O('$%%<;Ȼ.# &;Ⱥ=.##&&!&\'#/1#1""5!7Ⱦ/#$+")("\'#&\'#/P#0M*%%<;Ȼ.# &;Ⱥ=.##&&!&\'#/1#1""5!7Ⱦ/#$+")("\'#&\'#&&&#'),O(";ȼ.# &;ȹ"),O('%;Ƚ/K#$4Ζ""5!7Η.# &;Ƚ0/*4Ζ""5!7Η.# &;Ƚ&/#$+")("\'#&\'#'),O('<%$4Ζ""5!7Η.# &;ȷ0/*4Ζ""5!7Η.# &;ȷ&/\' 8!:-!! )=." 7Θ'),O('2Ι""6Ι7Κ')],f=0,p=[{line:1,column:1}],d=0,h=[],v=0,m={},g=["start","start_streaming","stmt_list","semi_optional","semi_required","stmt_list_tail","type_definition","type_definition_types","datatype_custom","datatype_word_tail","type_definition_args","definition_args_loop","literal_value","literal_null","literal_date","literal_string","literal_string_single","literal_string_schar","literal_blob","literal_text","number_sign","literal_number_signed","literal_number","literal_number_decimal","number_decimal_node","number_decimal_full","number_decimal_fraction","number_decimal_exponent","literal_number_hex","number_hex","number_digit","bind_parameter","bind_parameter_numbered","bind_number_id","bind_parameter_named","bind_parameter_tcl","tcl_suffix","expression_exists","expression_exists_ne","expression_raise","expression_raise_args","raise_args_ignore","raise_args_message","expression_root","expression_wrapped","expression_recur","expression_unary_collate","expression_unary","expression_unary_op","expression_collate","expression_concat","expression_multiply","expression_multiply_op","expression_add","expression_add_op","expression_shift","expression_shift_op","expression_compare","expression_compare_op","expression_equiv","expression_equiv_tails","expression_equiv_null_op","expression_equiv_op","expression_cast","type_alias","expression_case","case_expression","expression_case_when","expression_case_else","expression_postfix","expression_postfix_tail","expression_like","expression_escape","expression_between","expression_between_tail","expression_is_not","expression_in","expression_in_target","expression_list_or_select","expression_and","expression","expression_list","expression_list_loop","expression_list_rest","function_call","function_call_args","args_list_distinct","error_message","stmt","stmt_modifier","modifier_query","stmt_nodes","stmt_commit","stmt_begin","commit_transaction","stmt_begin_modifier","stmt_rollback","rollback_savepoint","savepoint_name","savepoint_alt","stmt_savepoint","stmt_release","stmt_alter","alter_start","alter_action","alter_action_rename","alter_action_add","action_add_modifier","stmt_crud","stmt_core_with","clause_with","clause_with_recursive","clause_with_tables","clause_with_loop","expression_cte","select_alias","select_wrapped","stmt_select_full","stmt_sqlite","stmt_attach","attach_arg","stmt_detach","stmt_vacuum","vacuum_target","stmt_analyze","analyze_arg","stmt_reindex","reindex_arg","stmt_pragma","pragma_expression","pragma_value","pragma_value_literal","pragma_value_bool","pragma_bool_id","pragma_value_name","stmt_crud_types","stmt_select","stmt_core_order","stmt_core_limit","stmt_core_limit_offset","limit_offset_variant","limit_offset_variant_name","select_loop","select_loop_union","select_parts","select_parts_core","select_core_select","select_modifier","select_modifier_distinct","select_modifier_all","select_target","select_target_loop","select_core_from","stmt_core_where","select_core_group","select_core_having","select_node","select_node_star","select_node_star_qualified","select_node_aliased","select_source","source_loop_tail","select_cross_clause","select_join_clause","table_or_sub","table_or_sub_func","table_qualified","table_qualified_id","table_or_sub_index_node","index_node_indexed","index_node_none","table_or_sub_sub","table_or_sub_select","alias","join_operator","join_operator_natural","join_operator_types","operator_types_hand","types_hand_outer","operator_types_misc","join_condition","join_condition_on","join_condition_using","select_parts_values","stmt_core_order_list","stmt_core_order_list_loop","stmt_core_order_list_item","select_star","stmt_fallback_types","stmt_insert","insert_keyword","insert_keyword_ins","insert_keyword_repl","insert_keyword_mod","insert_target","insert_into","insert_into_start","insert_results","loop_columns","loop_column_tail","loop_name","insert_value","insert_value_start","insert_values_list","insert_values_loop","expression_list_wrapped","insert_default","operator_compound","compound_union","compound_union_all","stmt_update","update_start","update_fallback","update_set","update_columns","update_columns_tail","update_column","stmt_delete","delete_start","stmt_create","create_start","create_table_only","create_index_only","create_trigger_only","create_view_only","create_virtual_only","create_table","create_table_start","create_core_tmp","create_core_ine","create_table_source","table_source_def","source_def_rowid","source_def_loop","source_def_tail","source_tbl_loop","source_def_column","source_def_name","column_type","column_constraints","column_constraint_tail","column_constraint","constraint_name","constraint_name_loop","column_constraint_types","column_constraint_foreign","column_constraint_primary","col_primary_start","col_primary_auto","column_constraint_null","constraint_null_types","constraint_null_value","column_constraint_check","column_constraint_default","column_default_values","column_constraint_collate","table_constraint","table_constraint_types","table_constraint_check","table_constraint_primary","primary_start","primary_start_normal","primary_start_unique","primary_columns","primary_columns_index","primary_columns_table","primary_column_tail","primary_column","primary_column_types","column_collate","column_collate_loop","primary_column_dir","primary_conflict","primary_conflict_start","constraint_check","table_constraint_foreign","foreign_start","foreign_clause","foreign_references","foreign_actions","foreign_actions_tail","foreign_action","foreign_action_on","action_on_action","on_action_set","on_action_cascade","on_action_none","foreign_action_match","foreign_deferrable","deferrable_initially","table_source_select","create_index","create_index_start","index_unique","index_on","create_trigger","create_trigger_start","trigger_conditions","trigger_apply_mods","trigger_apply_instead","trigger_do","trigger_do_on","trigger_do_update","do_update_of","do_update_columns","trigger_foreach","trigger_when","trigger_action","action_loop","action_loop_stmt","create_view","id_view_expression","create_view_start","create_as_select","create_virtual","create_virtual_start","virtual_module","virtual_args","virtual_args_loop","virtual_args_tail","virtual_arg_types","virtual_column_name","stmt_drop","drop_start","drop_types","drop_ie","binary_concat","binary_plus","binary_minus","binary_multiply","binary_divide","binary_mod","binary_left","binary_right","binary_and","binary_or","binary_lt","binary_gt","binary_lte","binary_gte","binary_equal","binary_notequal_a","binary_notequal_b","binary_lang_isnt","id_name","id_database","id_function","id_table","id_table_qualified","id_column","column_unqualified","column_qualifiers","id_column_qualified","id_collation","id_savepoint","id_index","id_trigger","id_view","id_pragma","id_cte","id_table_expression","id_constraint_table","id_constraint_column","datatype_types","datatype_text","datatype_real","datatype_real_double","datatype_numeric","datatype_integer","datatype_integer_fp","datatype_none","name_char","unicode_char","name","name_quoted","name_unquoted","name_reserved","name_bracketed","bracket_terminator","name_dblquoted","name_sglquoted","name_backticked","sym_bopen","sym_bclose","sym_popen","sym_pclose","sym_comma","sym_dot","sym_star","sym_quest","sym_sglquote","sym_dblquote","sym_backtick","sym_tilde","sym_plus","sym_minus","sym_equal","sym_amp","sym_pipe","sym_mod","sym_lt","sym_gt","sym_excl","sym_semi","sym_colon","sym_fslash","sym_bslash","ABORT","ACTION","ADD","AFTER","ALL","ALTER","ANALYZE","AND","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FOR","FOREIGN","FROM","FULL","GLOB","GROUP","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LEFT","LIKE","LIMIT","MATCH","NATURAL","NO","NOT","NOTNULL","NULL","OF","OFFSET","ON","OR","ORDER","OUTER","PLAN","PRAGMA","PRIMARY","QUERY","RAISE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RIGHT","ROLLBACK","ROW","ROWID","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TO","TRANSACTION","TRIGGER","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WITH","WITHOUT","reserved_words","reserved_word_list","reserved_critical_list","comment","comment_line","comment_block","comment_block_start","comment_block_end","comment_block_body","block_body_nodes","comment_block_feed","o","_TODO_"],y=[null,null,null,null,null,null,"Type Definition",null,"Custom Datatype Name",null,"Type Definition Arguments",null,null,"Null Literal","Date Literal","String Literal","Single-quoted String Literal",null,"Blob Literal",null,"Number Sign",null,null,null,"Decimal Literal",null,null,"Decimal Literal Exponent","Hexidecimal Literal",null,null,"Bind Parameter","Numbered Bind Parameter",null,"Named Bind Parameter","TCL Bind Parameter",null,"EXISTS Expression","EXISTS Keyword","RAISE Expression","RAISE Expression Arguments","IGNORE Keyword",null,null,null,null,null,null,null,"COLLATE Expression",null,null,null,null,null,null,null,null,null,null,null,null,null,"CAST Expression","Type Alias","CASE Expression",null,"WHEN Clause","ELSE Clause",null,null,"Comparison Expression","ESCAPE Expression","BETWEEN Expression",null,null,"IN Expression",null,null,null,null,"Expression List",null,null,"Function Call","Function Call Arguments",null,"Error Message","Statement","QUERY PLAN","QUERY PLAN Keyword",null,"END Transaction Statement","BEGIN Transaction Statement",null,null,"ROLLBACK Statement","TO Clause",null,null,"SAVEPOINT Statement","RELEASE Statement","ALTER TABLE Statement","ALTER TABLE Keyword",null,"RENAME TO Keyword","ADD COLUMN Keyword",null,null,"WITH Clause",null,null,null,null,"Common Table Expression",null,null,null,null,"ATTACH Statement",null,"DETACH Statement","VACUUM Statement",null,"ANALYZE Statement",null,"REINDEX Statement",null,"PRAGMA Statement",null,null,null,null,null,null,null,"SELECT Statement","ORDER BY Clause","LIMIT Clause","OFFSET Clause",null,null,null,"Union Operation",null,null,"SELECT Results Clause","SELECT Results Modifier",null,null,null,null,"FROM Clause","WHERE Clause","GROUP BY Clause","HAVING Clause",null,null,null,null,null,null,"CROSS JOIN Operation","JOIN Operation",null,null,"Qualified Table","Qualified Table Identifier","Qualfied Table Index",null,null,"SELECT Source","Subquery","Alias","JOIN Operator",null,null,null,null,null,"JOIN Constraint","Join ON Clause","Join USING Clause","VALUES Clause",null,null,"Ordering Expression","Star","Fallback Type","INSERT Statement",null,"INSERT Keyword","REPLACE Keyword","INSERT OR Modifier",null,"INTO Clause","INTO Keyword","VALUES Clause","Column List",null,"Column Name","VALUES Clause","VALUES Keyword",null,null,"Wrapped Expression List","DEFAULT VALUES Clause","Compound Operator","UNION Operator",null,"UPDATE Statement","UPDATE Keyword","UPDATE OR Modifier","SET Clause",null,null,"Column Assignment","DELETE Statement","DELETE Keyword","CREATE Statement",null,null,null,null,null,null,"CREATE TABLE Statement",null,null,"IF NOT EXISTS Modifier",null,"Table Definition",null,null,null,null,"Column Definition",null,"Column Datatype",null,null,"Column Constraint",null,"CONSTRAINT Name",null,"FOREIGN KEY Column Constraint","PRIMARY KEY Column Constraint","PRIMARY KEY Keyword","AUTOINCREMENT Keyword",null,"UNIQUE Column Constraint","NULL Column Constraint","CHECK Column Constraint","DEFAULT Column Constraint",null,"COLLATE Column Constraint","Table Constraint",null,"CHECK Table Constraint","PRIMARY KEY Table Constraint",null,"PRIMARY KEY Keyword","UNIQUE Keyword",null,null,null,null,"Indexed Column",null,"Collation",null,"Column Direction",null,"ON CONFLICT Keyword",null,"FOREIGN KEY Table Constraint","FOREIGN KEY Keyword",null,"REFERENCES Clause",null,null,"FOREIGN KEY Action Clause",null,"FOREIGN KEY Action",null,null,null,null,"DEFERRABLE Clause",null,null,"CREATE INDEX Statement",null,null,"ON Clause","CREATE TRIGGER Statement",null,"Conditional Clause",null,null,"Conditional Action",null,null,null,null,null,"WHEN Clause","Actions Clause",null,null,"CREATE VIEW Statement",null,null,null,"CREATE VIRTUAL TABLE Statement",null,null,"Module Arguments",null,null,null,null,"DROP Statement","DROP Keyword","DROP Type","IF EXISTS Keyword","Or","Add","Subtract","Multiply","Divide","Modulo","Shift Left","Shift Right","Logical AND","Logical OR","Less Than","Greater Than","Less Than Or Equal","Greater Than Or Equal","Equal","Not Equal","Not Equal","IS","Identifier","Database Identifier","Function Identifier","Table Identifier",null,"Column Identifier",null,null,null,"Collation Identifier","Savepoint Identifier","Index Identifier","Trigger Identifier","View Identifier","Pragma Identifier","CTE Identifier",null,"Table Constraint Identifier","Column Constraint Identifier","Datatype Name","TEXT Datatype Name","REAL Datatype Name","DOUBLE Datatype Name","NUMERIC Datatype Name","INTEGER Datatype Name",null,"BLOB Datatype Name",null,null,null,null,null,null,null,null,null,null,null,"Open Bracket","Close Bracket","Open Parenthesis","Close Parenthesis","Comma","Period","Asterisk","Question Mark","Single Quote","Double Quote","Backtick","Tilde","Plus","Minus","Equal","Ampersand","Pipe","Modulo","Less Than","Greater Than","Exclamation","Semicolon","Colon","Forward Slash","Backslash",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Line Comment","Block Comment",null,null,null,null,null,"Whitespace",null],b="tracer"in t?t.tracer:new s;if("startRule"in t){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');l=o[t.startRule]}function x(e,t){return{type:"literal",text:e,ignoreCase:t}}function A(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function w(){return{type:"any"}}function _(){return{type:"end"}}function E(e){return{type:"other",description:e}}function k(t){var r,n=p[t];if(n)return n;r=t-1;while(!p[r])r--;n=p[r],n={line:n.line,column:n.column};while(r<t)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return p[t]=n,n}function T(e,t){var r=k(e),n=k(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function C(e){f<d||(f>d&&(d=f,h=[]),h.push(e))}function S(e,t,r){return new a(a.buildMessage(e,t),e,t,r)}function O(e){return e.split("").map((function(e){return e.charCodeAt(0)-32}))}function M(t){var r,n=c[t],o=0,a=[],s=n.length,l=[],p=[],d=f;b.trace({type:"rule.enter",rule:g[t],description:y[t],location:T(d,d)});var h=545*f+t,x=m[h];if(x)return f=x.nextPos,x.result!==i?b.trace({type:"rule.match",rule:g[t],description:y[t],result:x.result,location:T(d,f)}):b.trace({type:"rule.fail",rule:g[t],description:y[t],location:T(d,d)}),x.result;while(1){while(o<s)switch(n[o]){case 0:p.push(u[n[o+1]]),o+=2;break;case 1:p.push(void 0),o++;break;case 2:p.push(null),o++;break;case 3:p.push(i),o++;break;case 4:p.push([]),o++;break;case 5:p.push(f),o++;break;case 6:p.pop(),o++;break;case 7:f=p.pop(),o++;break;case 8:p.length-=n[o+1],o+=2;break;case 9:p.splice(-2,1),o++;break;case 10:p[p.length-2].push(p.pop()),o++;break;case 11:p.push(p.splice(p.length-n[o+1],n[o+1])),o+=2;break;case 12:p.push(e.substring(p.pop(),f)),o++;break;case 13:l.push(s),a.push(o+3+n[o+1]+n[o+2]),p[p.length-1]?(s=o+3+n[o+1],o+=3):(s=o+3+n[o+1]+n[o+2],o+=3+n[o+1]);break;case 14:l.push(s),a.push(o+3+n[o+1]+n[o+2]),p[p.length-1]===i?(s=o+3+n[o+1],o+=3):(s=o+3+n[o+1]+n[o+2],o+=3+n[o+1]);break;case 15:l.push(s),a.push(o+3+n[o+1]+n[o+2]),p[p.length-1]!==i?(s=o+3+n[o+1],o+=3):(s=o+3+n[o+1]+n[o+2],o+=3+n[o+1]);break;case 16:p[p.length-1]!==i?(l.push(s),a.push(o),s=o+2+n[o+1],o+=2):o+=2+n[o+1];break;case 17:l.push(s),a.push(o+3+n[o+1]+n[o+2]),e.length>f?(s=o+3+n[o+1],o+=3):(s=o+3+n[o+1]+n[o+2],o+=3+n[o+1]);break;case 18:l.push(s),a.push(o+4+n[o+2]+n[o+3]),e.substr(f,u[n[o+1]].length)===u[n[o+1]]?(s=o+4+n[o+2],o+=4):(s=o+4+n[o+2]+n[o+3],o+=4+n[o+2]);break;case 19:l.push(s),a.push(o+4+n[o+2]+n[o+3]),e.substr(f,u[n[o+1]].length).toLowerCase()===u[n[o+1]]?(s=o+4+n[o+2],o+=4):(s=o+4+n[o+2]+n[o+3],o+=4+n[o+2]);break;case 20:l.push(s),a.push(o+4+n[o+2]+n[o+3]),u[n[o+1]].test(e.charAt(f))?(s=o+4+n[o+2],o+=4):(s=o+4+n[o+2]+n[o+3],o+=4+n[o+2]);break;case 21:p.push(e.substr(f,n[o+1])),f+=n[o+1],o+=2;break;case 22:p.push(u[n[o+1]]),f+=u[n[o+1]].length,o+=2;break;case 23:p.push(i),0===v&&C(u[n[o+1]]),o+=2;break;case 24:p[p.length-1-n[o+1]],o+=2;break;case 25:f,o++;break;case 26:r=n.slice(o+4,o+4+n[o+3]).map((function(e){return p[p.length-1-e]})),p.splice(p.length-n[o+2],n[o+2],u[n[o+1]].apply(null,r)),o+=4+n[o+3];break;case 27:p.push(M(n[o+1])),o+=2;break;case 28:v++,o++;break;case 29:v--,o++;break;default:throw new Error("Invalid opcode: "+n[o]+".")}if(!(l.length>0))break;s=l.pop(),o=a.pop()}return m[h]={nextPos:f,result:p[0]},p[0]!==i?b.trace({type:"rule.match",rule:g[t],description:y[t],result:p[0],location:T(d,f)}):b.trace({type:"rule.fail",rule:g[t],description:y[t],location:T(d,d)}),p[0]}function P(e){return B(e)?Array.isArray(e)?e:[e]:[]}function B(e){return null!=e}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=e.filter((function(e){return B(e)})).reduce((function(e,r){return""+e+F(r)+t}),"");return r.trim()}function D(e){return L(e,"")}function I(e){return L(e).toLowerCase()}function j(e){return e.filter((function(e){return B(e)})).reduce((function(e,t){return e.concat(t)}),[])}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"'",r=new RegExp(t+"{2}","g");return F(e).replace(r,t)}function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return P(e).join("")}function N(e){return F(e).trim()}function z(e){return N(e).toLowerCase()}function U(e){return Array.isArray(e)&&e.length>0&&B(e[0])}function H(e,t){return t.reduce((function(e,t){var r=n(t,4),i=(r[0],r[1]),o=(r[2],r[3]);return{type:"expression",format:"binary",variant:"operation",operation:z(i),left:e,right:o}}),e)}if(r=M(l),r!==i&&f===e.length)return r;throw r!==i&&f<e.length&&C(_()),S(h,d<e.length?e.charAt(d):null,d<e.length?T(d,d+1):T(d,d))}o(a,Error),a.buildMessage=function(e,t){var r={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)}));return"["+(e.inverted?"^":"")+t+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function a(e){return r[e.type](e)}function s(e){var t,r,n=e.map(a);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}function l(e){return e?'"'+i(e)+'"':"end of input"}return"Expected "+s(e)+" but "+l(t)+" found."},s.prototype.trace=function(e){var t=this;function r(e){function r(e,t){var r,n="";for(r=0;r<t;r++)n+=e;return n}function n(e,t){return e+r(" ",t-e.length)}"object"===("undefined"===typeof console?"undefined":i(console))&&console.log(e.location.start.line+":"+e.location.start.column+"-"+e.location.end.line+":"+e.location.end.column+" "+n(e.type,10)+" "+r(" ",t.indentLevel)+e.rule)}switch(e.type){case"rule.enter":r(e),this.indentLevel++;break;case"rule.match":this.indentLevel--,r(e);break;case"rule.fail":this.indentLevel--,r(e);break;default:throw new Error("Invalid event type: "+e.type+".")}},t.exports={SyntaxError:a,DefaultTracer:s,parse:l}},{}],3:[function(e,t,r){"use strict";function n(e,t){for(var r=e.length-1;r>=0;r-=1)if(t(e[r]))return r;return-1}function i(e,t){for(var r=e.length,n=0;n<r;n+=1)if(!t(e[n]))return e.slice(0,n);return e}Object.defineProperty(r,"__esModule",{value:!0});r.Tracer=function(){function e(){if(!(this instanceof e))return new e;this.events=[],this.indentation=0,this.whitespaceRule=/(^whitespace)|(char$)|(^[oe]$)|(^sym\_)/i,this.statementRule=/Statement$/i,this.firstNodeRule=/(Statement|Clause)$/i}return e.prototype.trace=function(e){var t,r,i=this;switch(e.indentation=this.indentation,e.type){case"rule.enter":this.events.push(e),this.indentation+=1;break;case"rule.match":this.indentation-=1;break;case"rule.fail":t=n(this.events,(function(t){var r=t.rule;return r===e.rule})),r=n(this.events,(function(e){return!i.whitespaceRule.test(e.rule)})),(i.whitespaceRule.test(e.rule)||t===r)&&this.events.splice(t,1),this.indentation-=1;break}},e.prototype.smartError=function(e){var t,r,n,o,a,s=this,l={indentation:-1},u=!1,c=0,f=this.events.filter((function(e){return null!=e.description&&!s.whitespaceRule.test(e.rule)})).reverse();return n=i(f,(function(e){if(/^(sym\_semi)$/i.test(e.rule)&&(c+=1),c>1)return!1;if(u){if(/^(stmt)$/i.test(e.rule))return u=!0,!0}else e.indentation>l.indentation?l=e:u=!0;return!0})),n.length&&(r=l.location,a=n.find((function(e){return s.firstNodeRule.test(e.description)&&e.description!==l.description&&e.indentation!==l.indentation})),o=null!=a?this.statementRule.test(l.description)&&this.statementRule.test(a.description)?a.description:l.description+" ("+a.description+")":l.description,t="Syntax error found near "+o,Object.assign(e,{message:t,location:r})),e},e}()},{}]},{},[1])(1)}))},6295:function(e,t,r){var n=r("28dd"),i=r("bf2a"),o=i("../shaders/vertex.glsl"),a=i("../shaders/fragment.glsl"),s=i("../shaders/contour-vertex.glsl"),l=i("../shaders/pick.glsl");t.createShader=function(e){var t=n(e,o,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return t.attributes.uv.location=0,t.attributes.f.location=1,t.attributes.normal.location=2,t},t.createPickShader=function(e){var t=n(e,o,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return t.attributes.uv.location=0,t.attributes.f.location=1,t.attributes.normal.location=2,t},t.createContourShader=function(e){var t=n(e,s,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return t.attributes.uv.location=0,t.attributes.f.location=1,t},t.createPickContourShader=function(e){var t=n(e,s,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return t.attributes.uv.location=0,t.attributes.f.location=1,t}},"62b1":function(e,t,r){"use strict";var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a=r("0bca"),s=r("22af"),l=r("ab5b"),u=r("8164"),c=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,r=e.editorState,n=t.getDirectionMap(),i=r.getDirectionMap();if(n!==i)return!0;var o=t.getSelection().getHasFocus(),a=r.getSelection().getHasFocus();if(o!==a)return!0;var s=r.getNativelyRenderedContent(),l=t.isInCompositionMode(),u=r.isInCompositionMode();if(t===r||null!==s&&r.getCurrentContent()===s||l&&u)return!1;var c=t.getCurrentContent(),f=r.getCurrentContent(),p=t.getDecorator(),d=r.getDecorator();return l!==u||c!==f||p!==d||r.mustForceSelection()},r.render=function(){var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,o=e.customStyleMap,c=e.customStyleFn,f=e.editorState,p=e.editorKey,d=e.textDirectionality,h=f.getCurrentContent(),v=f.getSelection(),m=f.mustForceSelection(),g=f.getDecorator(),y=u(f.getDirectionMap()),b=h.getBlocksAsArray(),x=b[0],A=[],w=x;while(w){var _=w.getKey(),E={blockRenderMap:t,blockRendererFn:r,blockStyleFn:n,contentState:h,customStyleFn:c,customStyleMap:o,decorator:g,editorKey:p,editorState:f,forceSelection:m,selection:v,block:w,direction:d||y.get(_),tree:f.getBlockTree(_)},k=t.get(w.getType())||t.get("unstyled"),T=k.wrapper;A.push({block:l.createElement(a,i({key:_},E)),wrapperTemplate:T,key:_,offsetKey:s.encode(_,0,0)});var C=w.getNextSiblingKey();w=C?h.getBlockForKey(C):null}for(var S=[],O=0;O<A.length;){var M=A[O];if(M.wrapperTemplate){var P=[];do{P.push(A[O].block),O++}while(O<A.length&&A[O].wrapperTemplate===M.wrapperTemplate);var B=l.cloneElement(M.wrapperTemplate,{key:M.key+"-wrap","data-offset-key":M.offsetKey},P);S.push(B)}else S.push(M.block),O++}return l.createElement("div",{"data-contents":"true"},S)},t}(l.Component);e.exports=c},"62b9":function(e,t,r){"use strict";function n(e){var t=e.getSelection(),r=t.getAnchorKey(),n=e.getBlockTree(r),i=t.getStartOffset(),o=!1;return n.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o}e.exports=n},"62c4":function(e,t,r){"use strict";var n=r("e76c")();e.exports=function(e){return e!==n&&null!==e}},"62d6":function(e,t,r){"use strict";var n=r("40ce"),i={body:"",args:[],thisVars:[],localVars:[]};function o(e){if(!e)return i;for(var t=0;t<e.args.length;++t){var r=e.args[t];e.args[t]=0===t?{name:r,lvalue:!0,rvalue:!!e.rvalue,count:e.count||1}:{name:r,lvalue:!1,rvalue:!0,count:1}}return e.thisVars||(e.thisVars=[]),e.localVars||(e.localVars=[]),e}function a(e){return n({args:e.args,pre:o(e.pre),body:o(e.body),post:o(e.proc),funcName:e.funcName})}function s(e){for(var t=[],r=0;r<e.args.length;++r)t.push("a"+r);var n=new Function("P",["return function ",e.funcName,"_ndarrayops(",t.join(","),") {P(",t.join(","),");return a0}"].join(""));return n(a(e))}var l={add:"+",sub:"-",mul:"*",div:"/",mod:"%",band:"&",bor:"|",bxor:"^",lshift:"<<",rshift:">>",rrshift:">>>"};(function(){for(var e in l){var r=l[e];t[e]=s({args:["array","array","array"],body:{args:["a","b","c"],body:"a=b"+r+"c"},funcName:e}),t[e+"eq"]=s({args:["array","array"],body:{args:["a","b"],body:"a"+r+"=b"},rvalue:!0,funcName:e+"eq"}),t[e+"s"]=s({args:["array","array","scalar"],body:{args:["a","b","s"],body:"a=b"+r+"s"},funcName:e+"s"}),t[e+"seq"]=s({args:["array","scalar"],body:{args:["a","s"],body:"a"+r+"=s"},rvalue:!0,funcName:e+"seq"})}})();var u={not:"!",bnot:"~",neg:"-",recip:"1.0/"};(function(){for(var e in u){var r=u[e];t[e]=s({args:["array","array"],body:{args:["a","b"],body:"a="+r+"b"},funcName:e}),t[e+"eq"]=s({args:["array"],body:{args:["a"],body:"a="+r+"a"},rvalue:!0,count:2,funcName:e+"eq"})}})();var c={and:"&&",or:"||",eq:"===",neq:"!==",lt:"<",gt:">",leq:"<=",geq:">="};(function(){for(var e in c){var r=c[e];t[e]=s({args:["array","array","array"],body:{args:["a","b","c"],body:"a=b"+r+"c"},funcName:e}),t[e+"s"]=s({args:["array","array","scalar"],body:{args:["a","b","s"],body:"a=b"+r+"s"},funcName:e+"s"}),t[e+"eq"]=s({args:["array","array"],body:{args:["a","b"],body:"a=a"+r+"b"},rvalue:!0,count:2,funcName:e+"eq"}),t[e+"seq"]=s({args:["array","scalar"],body:{args:["a","s"],body:"a=a"+r+"s"},rvalue:!0,count:2,funcName:e+"seq"})}})();var f=["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan"];(function(){for(var e=0;e<f.length;++e){var r=f[e];t[r]=s({args:["array","array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b"],body:"a=this_f(b)",thisVars:["this_f"]},funcName:r}),t[r+"eq"]=s({args:["array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a"],body:"a=this_f(a)",thisVars:["this_f"]},rvalue:!0,count:2,funcName:r+"eq"})}})();var p=["max","min","atan2","pow"];(function(){for(var e=0;e<p.length;++e){var r=p[e];t[r]=s({args:["array","array","array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b","c"],body:"a=this_f(b,c)",thisVars:["this_f"]},funcName:r}),t[r+"s"]=s({args:["array","array","scalar"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b","c"],body:"a=this_f(b,c)",thisVars:["this_f"]},funcName:r+"s"}),t[r+"eq"]=s({args:["array","array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b"],body:"a=this_f(a,b)",thisVars:["this_f"]},rvalue:!0,count:2,funcName:r+"eq"}),t[r+"seq"]=s({args:["array","scalar"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b"],body:"a=this_f(a,b)",thisVars:["this_f"]},rvalue:!0,count:2,funcName:r+"seq"})}})();var d=["atan2","pow"];(function(){for(var e=0;e<d.length;++e){var r=d[e];t[r+"op"]=s({args:["array","array","array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b","c"],body:"a=this_f(c,b)",thisVars:["this_f"]},funcName:r+"op"}),t[r+"ops"]=s({args:["array","array","scalar"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b","c"],body:"a=this_f(c,b)",thisVars:["this_f"]},funcName:r+"ops"}),t[r+"opeq"]=s({args:["array","array"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b"],body:"a=this_f(b,a)",thisVars:["this_f"]},rvalue:!0,count:2,funcName:r+"opeq"}),t[r+"opseq"]=s({args:["array","scalar"],pre:{args:[],body:"this_f=Math."+r,thisVars:["this_f"]},body:{args:["a","b"],body:"a=this_f(b,a)",thisVars:["this_f"]},rvalue:!0,count:2,funcName:r+"opseq"})}})(),t.any=n({args:["array"],pre:i,body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:1}],body:"if(a){return true}",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:"return false"},funcName:"any"}),t.all=n({args:["array"],pre:i,body:{args:[{name:"x",lvalue:!1,rvalue:!0,count:1}],body:"if(!x){return false}",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:"return true"},funcName:"all"}),t.sum=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=0"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:1}],body:"this_s+=a",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return this_s"},funcName:"sum"}),t.prod=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=1"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:1}],body:"this_s*=a",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return this_s"},funcName:"prod"}),t.norm2squared=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=0"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:2}],body:"this_s+=a*a",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return this_s"},funcName:"norm2squared"}),t.norm2=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=0"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:2}],body:"this_s+=a*a",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return Math.sqrt(this_s)"},funcName:"norm2"}),t.norminf=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=0"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:4}],body:"if(-a>this_s){this_s=-a}else if(a>this_s){this_s=a}",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return this_s"},funcName:"norminf"}),t.norm1=n({args:["array"],pre:{args:[],localVars:[],thisVars:["this_s"],body:"this_s=0"},body:{args:[{name:"a",lvalue:!1,rvalue:!0,count:3}],body:"this_s+=a<0?-a:a",localVars:[],thisVars:["this_s"]},post:{args:[],localVars:[],thisVars:["this_s"],body:"return this_s"},funcName:"norm1"}),t.sup=n({args:["array"],pre:{body:"this_h=-Infinity",args:[],thisVars:["this_h"],localVars:[]},body:{body:"if(_inline_1_arg0_>this_h)this_h=_inline_1_arg0_",args:[{name:"_inline_1_arg0_",lvalue:!1,rvalue:!0,count:2}],thisVars:["this_h"],localVars:[]},post:{body:"return this_h",args:[],thisVars:["this_h"],localVars:[]}}),t.inf=n({args:["array"],pre:{body:"this_h=Infinity",args:[],thisVars:["this_h"],localVars:[]},body:{body:"if(_inline_1_arg0_<this_h)this_h=_inline_1_arg0_",args:[{name:"_inline_1_arg0_",lvalue:!1,rvalue:!0,count:2}],thisVars:["this_h"],localVars:[]},post:{body:"return this_h",args:[],thisVars:["this_h"],localVars:[]}}),t.argmin=n({args:["index","array","shape"],pre:{body:"{this_v=Infinity;this_i=_inline_0_arg2_.slice(0)}",args:[{name:"_inline_0_arg0_",lvalue:!1,rvalue:!1,count:0},{name:"_inline_0_arg1_",lvalue:!1,rvalue:!1,count:0},{name:"_inline_0_arg2_",lvalue:!1,rvalue:!0,count:1}],thisVars:["this_i","this_v"],localVars:[]},body:{body:"{if(_inline_1_arg1_<this_v){this_v=_inline_1_arg1_;for(var _inline_1_k=0;_inline_1_k<_inline_1_arg0_.length;++_inline_1_k){this_i[_inline_1_k]=_inline_1_arg0_[_inline_1_k]}}}",args:[{name:"_inline_1_arg0_",lvalue:!1,rvalue:!0,count:2},{name:"_inline_1_arg1_",lvalue:!1,rvalue:!0,count:2}],thisVars:["this_i","this_v"],localVars:["_inline_1_k"]},post:{body:"{return this_i}",args:[],thisVars:["this_i"],localVars:[]}}),t.argmax=n({args:["index","array","shape"],pre:{body:"{this_v=-Infinity;this_i=_inline_0_arg2_.slice(0)}",args:[{name:"_inline_0_arg0_",lvalue:!1,rvalue:!1,count:0},{name:"_inline_0_arg1_",lvalue:!1,rvalue:!1,count:0},{name:"_inline_0_arg2_",lvalue:!1,rvalue:!0,count:1}],thisVars:["this_i","this_v"],localVars:[]},body:{body:"{if(_inline_1_arg1_>this_v){this_v=_inline_1_arg1_;for(var _inline_1_k=0;_inline_1_k<_inline_1_arg0_.length;++_inline_1_k){this_i[_inline_1_k]=_inline_1_arg0_[_inline_1_k]}}}",args:[{name:"_inline_1_arg0_",lvalue:!1,rvalue:!0,count:2},{name:"_inline_1_arg1_",lvalue:!1,rvalue:!0,count:2}],thisVars:["this_i","this_v"],localVars:["_inline_1_k"]},post:{body:"{return this_i}",args:[],thisVars:["this_i"],localVars:[]}}),t.random=s({args:["array"],pre:{args:[],body:"this_f=Math.random",thisVars:["this_f"]},body:{args:["a"],body:"a=this_f()",thisVars:["this_f"]},funcName:"random"}),t.assign=s({args:["array","array"],body:{args:["a","b"],body:"a=b"},funcName:"assign"}),t.assigns=s({args:["array","scalar"],body:{args:["a","b"],body:"a=b"},funcName:"assigns"}),t.equals=n({args:["array","array"],pre:i,body:{args:[{name:"x",lvalue:!1,rvalue:!0,count:1},{name:"y",lvalue:!1,rvalue:!0,count:1}],body:"if(x!==y){return false}",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:"return true"},funcName:"equals"})},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6321:function(e,t,r){"use strict";var n=r("9013");e.exports=function(e){if("function"!==typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!==typeof e.length)return!1;if("function"!==typeof e.call)return!1;if("function"!==typeof e.apply)return!1}catch(t){return!1}return!n(e)}},"633c":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,15.5C10.07,15.5 8.5,13.93 8.5,12C8.5,10.07 10.07,8.5 12,8.5C13.93,8.5 15.5,10.07 15.5,12C15.5,13.93 13.93,15.5 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}))};e.exports=s},6373:function(e,t,r){"use strict";var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){a(e,t,r[t])}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var l=r("0ed8"),u=r("22af"),c=r("ab5b"),f=r("6152"),p=r("7da0"),d=r("8164"),h=function(e,t,r,n){return f({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":r,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===n,"public/DraftStyleDefault/listRTL":"RTL"===n})},v=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,r=e.editorState,n=t.getDirectionMap(),i=r.getDirectionMap();if(n!==i)return!0;var o=t.getSelection().getHasFocus(),a=r.getSelection().getHasFocus();if(o!==a)return!0;var s=r.getNativelyRenderedContent(),l=t.isInCompositionMode(),u=r.isInCompositionMode();if(t===r||null!==s&&r.getCurrentContent()===s||l&&u)return!1;var c=t.getCurrentContent(),f=r.getCurrentContent(),p=t.getDecorator(),d=r.getDecorator();return l!==u||c!==f||p!==d||r.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,a=e.customStyleMap,s=e.customStyleFn,f=e.editorState,v=e.editorKey,m=e.preventScroll,g=e.textDirectionality,y=f.getCurrentContent(),b=f.getSelection(),x=f.mustForceSelection(),A=f.getDecorator(),w=d(f.getDirectionMap()),_=y.getBlocksAsArray(),E=[],k=null,T=null,C=0;C<_.length;C++){var S=_[C],O=S.getKey(),M=S.getType(),P=r(S),B=void 0,L=void 0,D=void 0;P&&(B=P.component,L=P.props,D=P.editable);var I=g||w.get(O),j=u.encode(O,0,0),R={contentState:y,block:S,blockProps:L,blockStyleFn:n,customStyleMap:a,customStyleFn:s,decorator:A,direction:I,forceSelection:x,offsetKey:j,preventScroll:m,selection:b,tree:f.getBlockTree(O)},F=t.get(M)||t.get("unstyled"),N=F.wrapper,z=F.element||t.get("unstyled").element,U=S.getDepth(),H="";if(n&&(H=n(S)),"li"===z){var V=T!==N||null===k||U>k;H=p(H,h(M,U,V,I))}var Q=B||l,W={className:H,"data-block":!0,"data-editor":v,"data-offset-key":j,key:O};void 0!==D&&(W=o({},W,{contentEditable:D,suppressContentEditableWarning:!0}));var K=c.createElement(z,W,c.createElement(Q,i({},R,{key:O})));E.push({block:K,wrapperTemplate:N,key:O,offsetKey:j}),k=N?S.getDepth():null,T=N}for(var q=[],G=0;G<E.length;){var $=E[G];if($.wrapperTemplate){var Y=[];do{Y.push(E[G].block),G++}while(G<E.length&&E[G].wrapperTemplate===$.wrapperTemplate);var X=c.cloneElement($.wrapperTemplate,{key:$.key+"-wrap","data-offset-key":$.offsetKey},Y);q.push(X)}else q.push($.block),G++}return c.createElement("div",{"data-contents":"true"},q)},t}(c.Component);e.exports=v},6386:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:r("c07c"),categories:["polar","symbols","showLegend","scatter-like"],attributes:r("8a6e"),supplyDefaults:r("66db").supplyDefaults,colorbar:r("f3cf"),formatLabels:r("98e74"),calc:r("8a43"),plot:r("8260"),style:r("52e8").style,styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("efcd").hoverPoints,selectPoints:r("214c"),meta:{hrName:"scatter_polar",description:["The scatterpolar trace type encompasses line charts, scatter charts, text charts, and bubble charts","in polar coordinates.","The data visualized as scatter point or lines is set in","`r` (radial) and `theta` (angular) coordinates","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}},"63dc":function(e,t,r){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},"63f9":function(e,t,r){"use strict";function n(e){e._internalDrag=!0,e.setMode("drag")}e.exports=n},"642a":function(e,t,r){var n=r("966f"),i=r("3bb4"),o=r("20ec");function a(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}e.exports=a},"643c":function(e,t,r){"use strict";var n=r("bb71");t.name="indicator",t.plot=function(e,r,i,o){n.plotBasePlot(t.name,e,r,i,o)},t.clean=function(e,r,i,o){n.cleanBasePlot(t.name,e,r,i,o)}},"644a":function(e,t){function r(e){var t=e[0],r=e[1],n=e[2],i=e[3];return t*t+r*r+n*n+i*i}e.exports=r},"64b3":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,3C20.1,3 21,3.9 21,5V19C21,20.1 20.1,21 19,21H5C3.9,21 3,20.1 3,19V5C3,3.9 3.9,3 5,3H19M18.5,18.5V13.2C18.5,11.4 17.04,9.94 15.24,9.94C14.39,9.94 13.4,10.46 12.92,11.24V10.13H10.13V18.5H12.92V13.57C12.92,12.8 13.54,12.17 14.31,12.17C15.08,12.17 15.71,12.8 15.71,13.57V18.5H18.5M6.88,8.56C7.81,8.56 8.56,7.81 8.56,6.88C8.56,5.95 7.81,5.19 6.88,5.19C5.95,5.19 5.19,5.95 5.19,6.88C5.19,7.81 5.95,8.56 6.88,8.56M8.27,18.5V10.13H5.5V18.5H8.27Z"}))};e.exports=s},"64c3":function(e,t,r){"use strict";var n=r("fc26").extendFlat,i=r("6657"),o=r("1ebf");function a(e){return{line:{color:n({},o.line.color,{dflt:e}),width:o.line.width,editType:"style"},fillcolor:o.fillcolor,editType:"style"}}e.exports={xperiod:i.xperiod,xperiod0:i.xperiod0,xperiodalignment:i.xperiodalignment,x:i.x,open:i.open,high:i.high,low:i.low,close:i.close,line:{width:n({},o.line.width,{description:[o.line.width.description,"Note that this style setting can also be set per","direction via `increasing.line.width` and","`decreasing.line.width`."].join(" ")}),editType:"style"},increasing:a(i.increasing.line.color.dflt),decreasing:a(i.decreasing.line.color.dflt),text:i.text,hovertext:i.hovertext,whiskerwidth:n({},o.whiskerwidth,{dflt:0}),hoverlabel:i.hoverlabel}},6533:function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t,r,i){i||(i={});var o=e("contours.showlabels");if(o){var a=t.font;n.coerceFont(e,"contours.labelfont",{family:a.family,size:a.size,color:r}),e("contours.labelformat")}!1!==i.hasHover&&e("zhoverformat")}},6547:function(e,t,r){var n=r("a691"),i=r("1d80"),o=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"654e":function(e,t,r){"use strict";var n=r("fc26"),i=r("4183"),o=r("535c");e.exports=function(e,t,r,a){function s(r,i){return n.coerce(e,t,o,r,i)}var l=s("lon")||[],u=s("lat")||[],c=Math.min(l.length,u.length);c?(t._length=c,s("z"),s("radius"),s("below"),s("text"),s("hovertext"),s("hovertemplate"),i(e,t,a,s,{prefix:"",cLetter:"z"})):t.visible=!1}},6566:function(e,t,r){"use strict";var n=r("9bf2").f,i=r("7c73"),o=r("e2cc"),a=r("0366"),s=r("19aa"),l=r("2266"),u=r("7dd0"),c=r("2626"),f=r("83ab"),p=r("f183").fastKey,d=r("69f3"),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,r,u){var c=e((function(e,n){s(e,c,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=n&&l(n,e[u],e,r)})),d=v(t),m=function(e,t,r){var n,i,o=d(e),a=g(e,t);return a?a.value=r:(o.last=a={index:i=p(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var r,n=d(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return o(c.prototype,{clear:function(){var e=this,t=d(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,r=d(t),n=g(t,e);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),f?r.size--:t.size--}return!!n},forEach:function(e){var t,r=d(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),o(c.prototype,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&n(c.prototype,"size",{get:function(){return d(this).size}}),c},setStrong:function(e,t,r){var n=t+" Iterator",i=v(t),o=v(n);u(e,t,(function(e,t){h(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=o(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(t)}}},"656b":function(e,t,r){var n=r("e2e4"),i=r("f4d6");function o(e,t){t=n(t,e);var r=0,o=t.length;while(null!=e&&r<o)e=e[i(t[r++])];return r&&r==o?e:void 0}e.exports=o},6578:function(e,t,r){"use strict";e.exports=r("16ef")},6599:function(e,t,r){"use strict";var n=Object.create(null),i=Math.random;e.exports=function(){var e;do{e=i().toString(36).slice(2)}while(n[e]);return e}},"65ee":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M5.375 11.875C5.25 11.187 4.812 11 4.25 11H0v.188c2.875.75 5.25 2.313 6.313 5.25zm1.188 6l-.25-1.438c-.563-1.438-1.875-2.813-3.375-3.375L5.001 21h2.75l4.125-10H9.063zM13.875 21L15.5 11h-2.625L11.25 21zm7.063-10.187c-2.563 0-4.375 1.375-4.375 3.313 0 1.438 1.313 2.25 2.25 2.75 1.063.5 1.375.813 1.375 1.25 0 .625-.813.938-1.563.938-1.063 0-1.625-.125-2.438-.5l-.313-.188-.375 2.25c.563.313 1.688.563 2.875.563 2.688 0 4.5-1.375 4.5-3.438 0-1.125-.688-2-2.188-2.75-.875-.438-1.438-.75-1.438-1.188s.5-.875 1.5-.875c.813 0 1.438.125 1.938.375l.25.125.313-2.188a6.565 6.565 0 0 0-2.313-.438zm7 .187c-.625 0-1.125.188-1.375.875L22.688 21h2.75c.438-1.188.563-1.5.563-1.5h3.313l.25 1.5h2.438l-2.063-10zm-1.25 6.5s.25-.625 1.063-2.813c0 0 .188-.625.313-.938l.188.813c.5 2.438.625 2.938.625 2.938h-2.188z"}))};t.default=u},"65f0":function(e,t,r){var n=r("861d"),i=r("e8b5"),o=r("b622"),a=o("species");e.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!i(r.prototype)?n(r)&&(r=r[a],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},"65ff":function(e,t,r){"use strict";function n(e,t,r){var n=e;if(r===n.count())t.forEach((function(e){n=n.push(e)}));else if(0===r)t.reverse().forEach((function(e){n=n.unshift(e)}));else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(t,o).toList()}return n}e.exports=n},6606:function(e,t,r){"use strict";var n=r("2127");function i(e,t){var r=t.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset,l=r.rangeCount;return 0===l||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(e,t,i,o,a,s)}e.exports=i},"661c":function(e,t,r){"use strict";var n,i,o=r("70e1").timeFormat,a=r("19b2"),s=r("ae13"),l=r("d3dc").mod,u=r("e806"),c=u.BADNUM,f=u.ONEDAY,p=u.ONEHOUR,d=u.ONEMIN,h=u.ONESEC,v=u.EPOCHJD,m=r("371e"),g=r("70e1").utcFormat,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,b=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,x=(new Date).getFullYear()-70;function A(e){return e&&m.componentsRegistry.calendars&&"string"===typeof e&&"gregorian"!==e}function w(e,t){return A(e)?t?m.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:m.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"}function _(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,r){var n=w(e,!!r);if(r<2)return n;var i=t.dateTime2ms(n,e);return i+=f*(r-1),t.ms2DateTime(i,0,e)},t.dfltRange=function(e){return A(e)?m.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},t.isJSDate=function(e){return"object"===typeof e&&null!==e&&"function"===typeof e.getTime},t.dateTime2ms=function(e,r){if(t.isJSDate(e)){var o=e.getTimezoneOffset()*d,a=(e.getUTCMinutes()-e.getMinutes())*d+(e.getUTCSeconds()-e.getSeconds())*h+(e.getUTCMilliseconds()-e.getMilliseconds());if(a){var s=3*d;o=o-s/2+l(a-o+s/2,s)}return e=Number(e)-o,e>=n&&e<=i?e:c}if("string"!==typeof e&&"number"!==typeof e)return c;e=String(e);var u=A(r),g=e.charAt(0);!u||"G"!==g&&"g"!==g||(e=e.substr(1),r="");var w=u&&"chinese"===r.substr(0,7),_=e.match(w?b:y);if(!_)return c;var E=_[1],k=_[3]||"1",T=Number(_[5]||1),C=Number(_[7]||0),S=Number(_[9]||0),O=Number(_[11]||0);if(u){if(2===E.length)return c;var M;E=Number(E);try{var P=m.getComponentMethod("calendars","getCal")(r);if(w){var B="i"===k.charAt(k.length-1);k=parseInt(k,10),M=P.newDate(E,P.toMonthIndex(E,k,B),T)}else M=P.newDate(E,Number(k),T)}catch(D){return c}return M?(M.toJD()-v)*f+C*p+S*d+O*h:c}E=2===E.length?(Number(E)+2e3-x)%100+x:Number(E),k-=1;var L=new Date(Date.UTC(2e3,k,T,C,S));return L.setUTCFullYear(E),L.getUTCMonth()!==k||L.getUTCDate()!==T?c:L.getTime()+O*h},n=t.MIN_MS=t.dateTime2ms("-9999"),i=t.MAX_MS=t.dateTime2ms("9999-12-31 23:59:59.9999"),t.isDateTime=function(e,r){return t.dateTime2ms(e,r)!==c};var E=90*f,k=3*p,T=5*d;function C(e,t,r,n,i){if((t||r||n||i)&&(e+=" "+_(t,2)+":"+_(r,2),(n||i)&&(e+=":"+_(n,2),i))){var o=4;while(i%10===0)o-=1,i/=10;e+="."+_(i,o)}return e}t.ms2DateTime=function(e,t,r){if("number"!==typeof e||!(e>=n&&e<=i))return c;t||(t=0);var o,a,s,u,y,b,x=Math.floor(10*l(e+.05,1)),w=Math.round(e-x/10);if(A(r)){var _=Math.floor(w/f)+v,S=Math.floor(l(e,f));try{o=m.getComponentMethod("calendars","getCal")(r).fromJD(_).formatDate("yyyy-mm-dd")}catch(O){o=g("G%Y-%m-%d")(new Date(w))}if("-"===o.charAt(0))while(o.length<11)o="-0"+o.substr(1);else while(o.length<10)o="0"+o;a=t<E?Math.floor(S/p):0,s=t<E?Math.floor(S%p/d):0,u=t<k?Math.floor(S%d/h):0,y=t<T?S%h*10+x:0}else b=new Date(w),o=g("%Y-%m-%d")(b),a=t<E?b.getUTCHours():0,s=t<E?b.getUTCMinutes():0,u=t<k?b.getUTCSeconds():0,y=t<T?10*b.getUTCMilliseconds()+x:0;return C(o,a,s,u,y)},t.ms2DateTimeLocal=function(e){if(!(e>=n+f&&e<=i-f))return c;var t=Math.floor(10*l(e+.05,1)),r=new Date(Math.round(e-t/10)),a=o("%Y-%m-%d")(r),s=r.getHours(),u=r.getMinutes(),p=r.getSeconds(),d=10*r.getUTCMilliseconds()+t;return C(a,s,u,p,d)},t.cleanDate=function(e,r,n){if(e===c)return r;if(t.isJSDate(e)||"number"===typeof e&&isFinite(e)){if(A(n))return s.error("JS Dates and milliseconds are incompatible with world calendars",e),r;if(e=t.ms2DateTimeLocal(+e),!e&&void 0!==r)return r}else if(!t.isDateTime(e,n))return s.error("unrecognized date",e),r;return e};var S=/%\d?f/g;function O(e,t,r,n){e=e.replace(S,(function(e){var r=Math.min(+e.charAt(1)||6,6),n=(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0";return n}));var i=new Date(Math.floor(t+.05));if(A(n))try{e=m.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(o){return"Invalid"}return r(e)(i)}var M=[59,59.9,59.99,59.999,59.9999];function P(e,t){var r=l(e+.05,f),n=_(Math.floor(r/p),2)+":"+_(l(Math.floor(r/d),60),2);if("M"!==t){a(t)||(t=0);var i=Math.min(l(e/h,60),M[t]),o=(100+i).toFixed(t).substr(1);t>0&&(o=o.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+o}return n}t.formatDate=function(e,t,r,n,i,o){if(i=A(i)&&i,!t)if("y"===r)t=o.year;else if("m"===r)t=o.month;else{if("d"!==r)return P(e,r)+"\n"+O(o.dayMonthYear,e,n,i);t=o.dayMonth+"\n"+o.year}return O(t,e,n,i)};var B=3*f;t.incrementMonth=function(e,t,r){r=A(r)&&r;var n=l(e,f);if(e=Math.round(e-n),r)try{var i=Math.round(e/f)+v,o=m.getComponentMethod("calendars","getCal")(r),a=o.fromJD(i);return t%12?o.add(a,t,"m"):o.add(a,t/12,"y"),(a.toJD()-v)*f+n}catch(c){s.error("invalid ms "+e+" in calendar "+r)}var u=new Date(e+B);return u.setUTCMonth(u.getUTCMonth()+t)+n-B},t.findExactDates=function(e,t){for(var r,n,i=0,o=0,s=0,l=0,u=A(t)&&m.getComponentMethod("calendars","getCal")(t),c=0;c<e.length;c++)if(n=e[c],a(n)){if(!(n%f))if(u)try{r=u.fromJD(n/f+v),1===r.day()?1===r.month()?i++:o++:s++}catch(d){}else r=new Date(n),1===r.getUTCDate()?0===r.getUTCMonth()?i++:o++:s++}else l++;o+=i,s+=o;var p=e.length-l;return{exactYears:i/p,exactMonths:o/p,exactDays:s/p}}},6626:function(e,t,r){"use strict";e.exports=r("0b4f")},"662f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnNames=s,t.default=l;var n=o(r("ff43")),i=r("4578");function o(e){return e&&e.__esModule?e:{default:e}}var a=/src$/;function s(e,t){return e.map((function(e){var r=t.filter((function(t){return t.value===e}));return 1===r.length?r[0].columnName||r[0].label:""})).join(" - ")}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{deleteKeys:!1},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=Array.isArray(e),u=function(e,n,u){if(a.test(e)){var c=e.replace(a,""),f=r.toSrc?r.toSrc(n[e]):n[e];Array.isArray(f)||(f=[f]);var p=f.map((function(e){return r.deleteKeys&&!(e in t)&&delete n[c],t[e]}));1===f.length&&(p=p[0]),Array.isArray(p)&&(l&&null!==n.type?(null!==o&&(n.meta=n.meta||{},n.meta.columnNames=n.meta.columnNames||{},n.meta.columnNames[c]=s(f,o)),n[c]=(0,i.maybeTransposeData)(p,u,n.type)):n[c]=p)}};l?(0,n.default)(e,u,{walkArraysMatchingKeys:["data","transforms"],pathType:"nestedProperty"}):(0,n.default)(e,u,{pathType:"nestedProperty"})}},6649:function(e,t,r){var n=r("b332");function i(){var e={};return function(t){if(("object"!==typeof t||null===t)&&"function"!==typeof t)throw new Error("Weakmap-shim: Key must be object");var r=t.valueOf(e);return r&&r.identity===e?r:n(t,e)}}e.exports=i},"664d":function(e,t,r){"use strict";e.exports=r("9509")},6657:function(e,t,r){"use strict";var n=r("fc26").extendFlat,i=r("107c"),o=r("db54").dash,a=r("a462"),s=r("b8ce"),l=s.INCREASING.COLOR,u=s.DECREASING.COLOR,c=i.line;function f(e){return{line:{color:n({},c.color,{dflt:e}),width:c.width,dash:o,editType:"style"},editType:"style"}}e.exports={xperiod:i.xperiod,xperiod0:i.xperiod0,xperiodalignment:i.xperiodalignment,x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the x coordinates.","If absent, linear coordinate will be generated."].join(" ")},open:{valType:"data_array",editType:"calc",description:"Sets the open values."},high:{valType:"data_array",editType:"calc",description:"Sets the high values."},low:{valType:"data_array",editType:"calc",description:"Sets the low values."},close:{valType:"data_array",editType:"calc",description:"Sets the close values."},line:{width:n({},c.width,{description:[c.width,"Note that this style setting can also be set per","direction via `increasing.line.width` and","`decreasing.line.width`."].join(" ")}),dash:n({},o,{description:[o.description,"Note that this style setting can also be set per","direction via `increasing.line.dash` and","`decreasing.line.dash`."].join(" ")}),editType:"style"},increasing:f(l),decreasing:f(u),text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets hover text elements associated with each sample point.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to","this trace's sample points."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:"Same as `text`."},tickwidth:{valType:"number",min:0,max:.5,dflt:.3,role:"style",editType:"calc",description:["Sets the width of the open/close tick marks","relative to the *x* minimal interval."].join(" ")},hoverlabel:n({},a.hoverlabel,{split:{valType:"boolean",role:"info",dflt:!1,editType:"style",description:["Show hover information (open, close, high, low) in","separate labels."].join(" ")}})}},6672:function(e,t,r){"use strict";var n=r("19b2"),i=r("66cb"),o=r("a876"),a=r("4852"),s=r("72a4").DESELECTDIM,l=r("74d6"),u=r("055a").counter,c=r("d3dc").modHalf,f=r("6af8").isArrayOrTypedArray;function p(e,r){var n=t.valObjectMeta[r.valType];if(r.arrayOk&&f(e))return!0;if(n.validateFunction)return n.validateFunction(e,r);var i={},o=i,a={set:function(e){o=e}};return n.coerceFunction(e,a,i,r),o!==i}t.valObjectMeta={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){f(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;n<r.length;n++){var i=String(r[n]);if("/"===i.charAt(0)&&"/"===i.charAt(i.length-1)){var o=new RegExp(i.substr(1,i.length-2));if(o.test(e))return!0}else if(e===r[n])return!0}return!1}},boolean:{description:"A boolean (true/false) value.",requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){!0===e||!1===e?t.set(e):t.set(r)}},number:{description:["A number or a numeric value","(e.g. a number inside a string).","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,i){!n(e)||void 0!==i.min&&e<i.min||void 0!==i.max&&e>i.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,i){e%1||!n(e)||void 0!==i.min&&e<i.min||void 0!==i.max&&e>i.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!==typeof e){var i="number"===typeof e;!0!==n.strict&&i?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){i(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){function n(e){return i(e).isValid()}Array.isArray(e)&&e.length&&e.every(n)?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(a.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(a.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):n(e)?t.set(c(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var i=n.regex||u(r);"string"===typeof e&&i.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"===typeof e&&!!u(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"===typeof e)if(-1===(n.extras||[]).indexOf(e)){var i=e.split("+"),o=0;while(o<i.length){var a=i[o];-1===n.flags.indexOf(a)||i.indexOf(a)<o?i.splice(o,1):o++}i.length?t.set(i.join("+")):t.set(r)}else t.set(e);else t.set(r)}},any:{description:"Any type.",requiredOpts:[],otherOpts:["dflt","values","arrayOk"],coerceFunction:function(e,t,r){void 0===e?t.set(r):t.set(e)}},info_array:{description:["An {array} of plot information."].join(" "),requiredOpts:["items"],otherOpts:["dflt","freeLength","dimensions"],coerceFunction:function(e,r,n,i){function o(e,r,n){var i,o={set:function(e){i=e}};return void 0===n&&(n=r.dflt),t.valObjectMeta[r.valType].coerceFunction(e,o,n,r),i}var a=2===i.dimensions||"1-2"===i.dimensions&&Array.isArray(e)&&Array.isArray(e[0]);if(Array.isArray(e)){var s,l,u,c,f,p,d=i.items,h=[],v=Array.isArray(d),m=v&&a&&Array.isArray(d[0]),g=a&&v&&!m,y=v&&!g?d.length:e.length;if(n=Array.isArray(n)?n:[],a)for(s=0;s<y;s++)for(h[s]=[],u=Array.isArray(e[s])?e[s]:[],f=g?d.length:v?d[s].length:u.length,l=0;l<f;l++)c=g?d[l]:v?d[s][l]:d,p=o(u[l],c,(n[s]||[])[l]),void 0!==p&&(h[s][l]=p);else for(s=0;s<y;s++)p=o(e[s],v?d[s]:d,n[s]),void 0!==p&&(h[s]=p);r.set(h)}else r.set(n)},validateFunction:function(e,t){if(!Array.isArray(e))return!1;var r=t.items,n=Array.isArray(r),i=2===t.dimensions;if(!t.freeLength&&e.length!==r.length)return!1;for(var o=0;o<e.length;o++)if(i){if(!Array.isArray(e[o])||!t.freeLength&&e[o].length!==r[o].length)return!1;for(var a=0;a<e[o].length;a++)if(!p(e[o][a],n?r[o][a]:r))return!1}else if(!p(e[o],n?r[o]:r))return!1;return!0}}},t.coerce=function(e,r,n,i,o){var a=l(n,i).get(),s=l(e,i),u=l(r,i),c=s.get(),d=r._template;if(void 0===c&&d&&(c=l(d,i).get(),d=0),void 0===o&&(o=a.dflt),a.arrayOk&&f(c))return u.set(c),c;var h=t.valObjectMeta[a.valType].coerceFunction;h(c,u,o,a);var v=u.get();return d&&v===o&&!p(c,a)&&(c=l(d,i).get(),h(c,u,o,a),v=u.get()),v},t.coerce2=function(e,r,n,i,o){var a=l(e,i),s=t.coerce(e,r,n,i,o),u=a.get();return void 0!==u&&null!==u&&s},t.coerceFont=function(e,t,r){var n={};return r=r||{},n.family=e(t+".family",r.family),n.size=e(t+".size",r.size),n.color=e(t+".color",r.color),n},t.coerceHoverinfo=function(e,r,n){var i,a=r._module.attributes,s=a.hoverinfo?a:o,l=s.hoverinfo;if(1===n._dataLength){var u="all"===l.dflt?l.flags.slice():l.dflt.split("+");u.splice(u.indexOf("name"),1),i=u.join("+")}return t.coerce(e,r,s,"hoverinfo",i)},t.coerceSelectionMarkerOpacity=function(e,t){if(e.marker){var r,n,i=e.marker.opacity;if(void 0!==i)f(i)||e.selected||e.unselected||(r=i,n=s*i),t("selected.marker.opacity",r),t("unselected.marker.opacity",n)}},t.validate=p},"66ac":function(e,t,r){"use strict";var n=r("9c7c");function i(e,t){for(var r=e.length,i=new Array(r),o=0;o<r;++o)i[o]=n(e[o],t[o]);return i}e.exports=i},"66cb":function(e,t,r){var n;(function(i){var o=/^\s+/,a=/\s+$/,s=0,l=i.round,u=i.min,c=i.max,f=i.random;function p(e,t){if(e=e||"",t=t||{},e instanceof p)return e;if(!(this instanceof p))return new p(e,t);var r=d(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=s++}function d(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,s=!1;return"string"==typeof e&&(e=Y(e)),"object"==typeof e&&($(e.r)&&$(e.g)&&$(e.b)?(t=h(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):$(e.h)&&$(e.s)&&$(e.v)?(n=W(e.s),i=W(e.v),t=y(e.h,n,i),a=!0,s="hsv"):$(e.h)&&$(e.s)&&$(e.l)&&(n=W(e.s),o=W(e.l),t=m(e.h,n,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=F(r),{ok:a,format:e.format||s,r:u(255,c(t.r,0)),g:u(255,c(t.g,0)),b:u(255,c(t.b,0)),a:r}}function h(e,t,r){return{r:255*N(e,255),g:255*N(t,255),b:255*N(r,255)}}function v(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,i,o=c(e,t,r),a=u(e,t,r),s=(o+a)/2;if(o==a)n=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4;break}n/=6}return{h:n,s:i,l:s}}function m(e,t,r){var n,i,o;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*n,g:255*i,b:255*o}}function g(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,i,o=c(e,t,r),a=u(e,t,r),s=o,l=o-a;if(i=0===o?0:l/o,o==a)n=0;else{switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4;break}n/=6}return{h:n,s:i,v:s}}function y(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=i.floor(e),o=e-n,a=r*(1-t),s=r*(1-o*t),l=r*(1-(1-o)*t),u=n%6,c=[r,s,a,a,l,r][u],f=[l,r,r,s,a,a][u],p=[a,a,l,r,r,s][u];return{r:255*c,g:255*f,b:255*p}}function b(e,t,r,n){var i=[Q(l(e).toString(16)),Q(l(t).toString(16)),Q(l(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function x(e,t,r,n,i){var o=[Q(l(e).toString(16)),Q(l(t).toString(16)),Q(l(r).toString(16)),Q(K(n))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function A(e,t,r,n){var i=[Q(K(n)),Q(l(e).toString(16)),Q(l(t).toString(16)),Q(l(r).toString(16))];return i.join("")}function w(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s-=t/100,r.s=z(r.s),p(r)}function _(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s+=t/100,r.s=z(r.s),p(r)}function E(e){return p(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l+=t/100,r.l=z(r.l),p(r)}function T(e,t){t=0===t?0:t||10;var r=p(e).toRgb();return r.r=c(0,u(255,r.r-l(-t/100*255))),r.g=c(0,u(255,r.g-l(-t/100*255))),r.b=c(0,u(255,r.b-l(-t/100*255))),p(r)}function C(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l-=t/100,r.l=z(r.l),p(r)}function S(e,t){var r=p(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,p(r)}function O(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function M(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+120)%360,s:t.s,l:t.l}),p({h:(r+240)%360,s:t.s,l:t.l})]}function P(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+90)%360,s:t.s,l:t.l}),p({h:(r+180)%360,s:t.s,l:t.l}),p({h:(r+270)%360,s:t.s,l:t.l})]}function B(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+72)%360,s:t.s,l:t.l}),p({h:(r+216)%360,s:t.s,l:t.l})]}function L(e,t,r){t=t||6,r=r||30;var n=p(e).toHsl(),i=360/r,o=[p(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(p(n));return o}function D(e,t){t=t||6;var r=p(e).toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;while(t--)a.push(p({h:n,s:i,v:o})),o=(o+s)%1;return a}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n,o,a,s=this.toRgb();return e=s.r/255,t=s.g/255,r=s.b/255,n=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),a=r<=.03928?r/12.92:i.pow((r+.055)/1.055,2.4),.2126*n+.7152*o+.0722*a},setAlpha:function(e){return this._a=F(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=v(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return x(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+A(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=p(e);r="#"+A(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0,i=!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return i?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return p(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(E,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(B,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(P,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:W(e[n]));e=r}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:f(),g:f(),b:f()})},p.mix=function(e,t,r){r=0===r?0:r||50;var n=p(e).toRgb(),i=p(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return p(a)},p.readability=function(e,t){var r=p(e),n=p(t);return(i.max(r.getLuminance(),n.getLuminance())+.05)/(i.min(r.getLuminance(),n.getLuminance())+.05)},p.isReadable=function(e,t,r){var n,i,o=p.readability(e,t);switch(i=!1,n=X(r),n.level+n.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7;break}return i},p.mostReadable=function(e,t,r){var n,i,o,a,s=null,l=0;r=r||{},i=r.includeFallbackColors,o=r.level,a=r.size;for(var u=0;u<t.length;u++)n=p.readability(e,t[u]),n>l&&(l=n,s=p(t[u]));return p.isReadable(e,s,{level:o,size:a})||!i?s:(r.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],r))};var I=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=p.hexNames=R(I);function R(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function F(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){H(e)&&(e="100%");var r=V(e);return e=u(t,c(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function z(e){return u(1,c(0,e))}function U(e){return parseInt(e,16)}function H(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function V(e){return"string"===typeof e&&-1!=e.indexOf("%")}function Q(e){return 1==e.length?"0"+e:""+e}function W(e){return e<=1&&(e=100*e+"%"),e}function K(e){return i.round(255*parseFloat(e)).toString(16)}function q(e){return U(e)/255}var G=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",r="(?:"+t+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function $(e){return!!G.CSS_UNIT.exec(e)}function Y(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,r=!1;if(I[e])e=I[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),a:q(t[4]),format:r?"name":"hex8"}:(t=G.hex6.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),format:r?"name":"hex"}:(t=G.hex4.exec(e))?{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),a:q(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=G.hex3.exec(e))&&{r:U(t[1]+""+t[1]),g:U(t[2]+""+t[2]),b:U(t[3]+""+t[3]),format:r?"name":"hex"}}function X(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==r&&"large"!==r&&(r="small"),{level:t,size:r}}e.exports?e.exports=p:(n=function(){return p}.call(t,r,t,e),void 0===n||(e.exports=n))})(Math)},"66db":function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("5047"),a=r("59be"),s=r("eb07"),l=r("e9f7"),u=r("3802"),c=r("de69").PTS_LINESONLY,f=r("8a6e");function p(e,t,r,p){function h(r,i){return n.coerce(e,t,f,r,i)}var v=d(e,t,p,h);if(v){h("thetaunit"),h("mode",v<c?"lines+markers":"lines"),h("text"),h("hovertext"),"fills"!==t.hoveron&&h("hovertemplate"),i.hasLines(t)&&(a(e,t,r,p,h),s(e,t,h),h("connectgaps")),i.hasMarkers(t)&&o(e,t,r,p,h,{gradient:!0}),i.hasText(t)&&(h("texttemplate"),l(e,t,p,h));var m=[];(i.hasMarkers(t)||i.hasText(t))&&(h("cliponaxis"),h("marker.maxdisplayed"),m.push("points")),h("fill"),"none"!==t.fill&&(u(e,t,r,h),i.hasLines(t)||s(e,t,h)),"tonext"!==t.fill&&"toself"!==t.fill||m.push("fills"),h("hoveron",m.join("+")||"points"),n.coerceSelectionMarkerOpacity(t,h)}else t.visible=!1}function d(e,t,r,n){var i,o=n("r"),a=n("theta");if(o)a?i=Math.min(o.length,a.length):(i=o.length,n("theta0"),n("dtheta"));else{if(!a)return 0;i=t.theta.length,n("r0"),n("dr")}return t._length=i,i}e.exports={handleRThetaDefaults:d,supplyDefaults:p}},6726:function(e,t,r){"use strict";function n(e,t){if("string"!==typeof e)return[e];var r=[e];"string"===typeof t||Array.isArray(t)?t={brackets:t}:t||(t={});var n=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],i=t.escape||"___",o=!!t.flat;n.forEach((function(e){var t=new RegExp(["\\",e[0],"[^\\",e[0],"\\",e[1],"]*\\",e[1]].join("")),n=[];function o(t,o,a){var s=r.push(t.slice(e[0].length,-e[1].length))-1;return n.push(s),i+s+i}r.forEach((function(e,n){var i,a=0;while(e!=i)if(i=e,e=e.replace(t,o),a++>1e4)throw Error("References have circular dependency. Please, check them.");r[n]=e})),n=n.reverse(),r=r.map((function(t){return n.forEach((function(r){t=t.replace(new RegExp("(\\"+i+r+"\\"+i+")","g"),e[0]+"$1"+e[1])})),t}))}));var a=new RegExp("\\"+i+"([0-9]+)\\"+i);function s(e,t,r){var n,i=[],o=0;while(n=a.exec(e)){if(o++>1e4)throw Error("Circular references in parenthesis");i.push(e.slice(0,n.index)),i.push(s(t[n[1]],t)),e=e.slice(n.index+n[0].length)}return i.push(e),i}return o?r:s(r[0],r)}function i(e,t){if(t&&t.flat){var r,n=t&&t.escape||"___",i=e[0];if(!i)return"";var o=new RegExp("\\"+n+"([0-9]+)\\"+n),a=0;while(i!=r){if(a++>1e4)throw Error("Circular references in "+e);r=i,i=i.replace(o,s)}return i}return e.reduce((function e(t,r){return Array.isArray(r)&&(r=r.reduce(e,"")),t+r}),"");function s(t,r){if(null==e[r])throw Error("Reference "+r+"is undefined");return e[r]}}function o(e,t){return Array.isArray(e)?i(e,t):n(e,t)}o.parse=n,o.stringify=i,e.exports=o},6747:function(e,t){var r=Array.isArray;e.exports=r},6754:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=s(r("cb36"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(e,n){var i;return f(this,r),i=t.call(this,e,n),i.state={content:""},i.validFiletypes={image:"image/jpeg, image/jpg, image/svg, image/png, image/gif, image/bmp, image/webp",geojson:"application/json"},i.onDrop=i.onDrop.bind(y(i)),i.parsingError=i.parsingError.bind(y(i)),i.renderSuccess=i.renderSuccess.bind(y(i)),i}return d(r,[{key:"renderSuccess",value:function(e){var t=this.context.localize;return"image"===this.props.fileType?i.default.createElement("div",{className:"dropzone-container__image",style:{backgroundImage:"url(".concat(e,")")}}):"geojson"===this.props.fileType?i.default.createElement("div",{className:"dropzone-container__message"},i.default.createElement("p",null,t("GeoJSON loaded!")),i.default.createElement("p",null,e.features.length+t(" features detected."))):i.default.createElement("div",{className:"dropzone-container__message"},t("File loaded!"))}},{key:"UNSAFE_componentWillMount",value:function(){var e=this.context.localize;this.props.value&&""!==this.props.value?this.setState({content:this.renderSuccess(this.props.value)}):this.setState({content:i.default.createElement("div",{className:"dropzone-container__message"},i.default.createElement("p",null,e("Drop the ")+this.props.fileType+e(" to upload here or click to choose a file from your computer.")),this.validFiletypes[this.props.fileType]?i.default.createElement("p",null,e("Supported formats are: ")+this.validFiletypes[this.props.fileType].split("image/").join("")+"."):null)})}},{key:"parsingError",value:function(){var e=this.context.localize,t="image"===this.props.fileType?this.validFiletypes[this.props.fileType].split("image/").join(""):this.validFiletypes[this.props.fileType];return i.default.createElement("div",{className:"dropzone-container__message"},e("Yikes! This doesn't look like a valid ")+this.props.fileType,i.default.createElement("p",null,e("Try again with a supported file format: ")+t+"."))}},{key:"onLoad",value:function(e){try{var t=e.target.result,r="image"===this.props.fileType?t:JSON.parse(t);this.props.onUpdate(r),this.setState({content:this.renderSuccess(r)})}catch(n){console.warn(n),this.setState({content:this.parsingError()})}}},{key:"onDrop",value:function(e,t){var r=this,n=this.context.localize,o=new FileReader;if(e.length){if(e.length>1)return void this.setState({content:i.default.createElement("div",{className:"dropzone-container__message"},i.default.createElement("p",null,n("Yikes! You can only upload one file at a time.")))});this.setState({content:n("Loading...")}),o.onload=function(e){return r.onLoad(e)},"image"===this.props.fileType?o.readAsDataURL(e[0]):"geojson"===this.props.fileType&&o.readAsText(e[0])}t.length&&this.setState({content:this.parsingError()})}},{key:"render",value:function(){var e=this;return i.default.createElement(a.default,{accept:this.validFiletypes[this.props.fileType],onDrop:this.onDrop,activeClassName:"dropzone-container--active",rejectClassName:"dropzone-container--rejected"},(function(t){var r=t.getRootProps,n=t.getInputProps;return i.default.createElement("div",c({},r(),{className:"dropzone-container"}),i.default.createElement("input",n()),i.default.createElement("div",{className:"dropzone-container__content"},e.state.content))}))}}]),r}(i.Component);A.propTypes={fileType:o.default.string.isRequired,onUpdate:o.default.func,value:o.default.any},A.contextTypes={localize:o.default.func};var w=A;t.default=w},6779:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,22V8H7V22H3M10,22V2H14V22H10M17,22V14H21V22H17Z"}))};e.exports=s},"67b9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n,i=250;function o(){window.clearTimeout(n),n=null}function a(e,t){n&&o(),n=window.setTimeout((function(){e.apply(null,t),n=null}),i)}},"67c4":function(e,t,r){"use strict";var n=r("d798"),i=r("9845"),o=r("9092").extendFlat,a=r("cb34").overrideAll;e.exports=a({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:n.linecolor,outlinewidth:n.linewidth,bordercolor:n.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:n.tickmode,nticks:n.nticks,tick0:n.tick0,dtick:n.dtick,tickvals:n.tickvals,ticktext:n.ticktext,ticks:o({},n.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:n.ticklen,tickwidth:n.tickwidth,tickcolor:n.tickcolor,showticklabels:n.showticklabels,tickfont:i({description:"Sets the color bar's tick label font"}),tickangle:n.tickangle,tickformat:n.tickformat,tickformatstops:n.tickformatstops,tickprefix:n.tickprefix,showtickprefix:n.showtickprefix,ticksuffix:n.ticksuffix,showticksuffix:n.showticksuffix,separatethousands:n.separatethousands,exponentformat:n.exponentformat,minexponent:n.minexponent,showexponent:n.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:i({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:i({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")},"67ca":function(e,t,r){var n=r("cb5a");function i(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}e.exports=i},"67db":function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=function(){function e(e){n(this,"_uri",void 0),this._uri=e}var t=e.prototype;return t.toString=function(){return this._uri},e}();e.exports=i},"67f2":function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("5047"),a=r("59be"),s=r("e9f7"),l=r("3802"),u=r("74b4");function c(e,t,r){var n=r("lon")||[],i=r("lat")||[],o=Math.min(n.length,i.length);return t._length=o,o}e.exports=function(e,t,r,f){function p(r,i){return n.coerce(e,t,u,r,i)}var d=c(e,t,p);if(d){if(p("text"),p("texttemplate"),p("hovertext"),p("hovertemplate"),p("mode"),p("below"),i.hasLines(t)&&(a(e,t,r,f,p,{noDash:!0}),p("connectgaps")),i.hasMarkers(t)){o(e,t,r,f,p,{noLine:!0}),p("marker.allowoverlap"),p("marker.angle");var h=t.marker;"circle"!==h.symbol&&(n.isArrayOrTypedArray(h.size)&&(h.size=h.size[0]),n.isArrayOrTypedArray(h.color)&&(h.color=h.color[0]))}i.hasText(t)&&s(e,t,f,p,{noSelect:!0}),p("fill"),"none"!==t.fill&&l(e,t,r,p),n.coerceSelectionMarkerOpacity(t,p)}else t.visible=!1}},"681d":function(e,t,r){"use strict";var n=r("1b23");function i(e){return!(!e||!e.ownerDocument)&&(n(e)&&"BR"===e.nodeName)}e.exports=i},6833:function(e,t,r){"use strict";var n=r("19b2"),i=r("66cb"),o=r("fc26").isArrayOrTypedArray;t.coerceString=function(e,t,r){if("string"===typeof t){if(t||!e.noBlank)return t}else if(("number"===typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},t.coerceNumber=function(e,t,r){if(n(t)){t=+t;var i=e.min,o=e.max,a=void 0!==i&&t<i||void 0!==o&&t>o;if(!a)return t}return void 0!==r?r:e.dflt},t.coerceColor=function(e,t,r){return i(t).isValid()?t:void 0!==r?r:e.dflt},t.coerceEnumerated=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},t.getValue=function(e,t){var r;return Array.isArray(e)?t<e.length&&(r=e[t]):r=e,r},t.getLineWidth=function(e,t){var r=0<t.mlw?t.mlw:o(e.marker.line.width)?0:e.marker.line.width;return r}},"683f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M14.688 22.688L0 17.313v9.375h32v-5.375l-8-3.938zM24 8l-9.313 5.375L-.001 5.312v9.313L14.687 20 24 14.687l8 4v-6.75z"}))};t.default=u},6858:function(e,t,r){"use strict";e.exports=r("cecf")("forEach")},"685e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M7 20h8v20H7z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M32 28h8v12h-8zM15 16h9v24h-9z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M24 20h8v20h-8z"}))};t.default=u},"68e6":function(e,t,r){"use strict";var n=r("2160");e.exports=function(e){if(!n(e))throw new TypeError(e+" is not an Object");return e}},6901:function(e,t){function r(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=n,e[6]=r,e[7]=0,e[8]=0,e[9]=-r,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},"691e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Section=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(){var e;return c(this,r),e=t.call(this),e.sectionVisible=!0,e}return p(r,[{key:"render",value:function(){return this.sectionVisible?i.default.createElement("div",{className:"section"},this.props.name?i.default.createElement("div",{className:"section__heading"},i.default.createElement("div",{className:"section__heading__text"},this.props.name)):null,this.props.children):null}}]),r}(i.Component);t.Section=x,x.plotly_editor_traits={no_visibility_forcing:!1},x.propTypes={children:o.default.node,name:o.default.string,attr:o.default.string};var A=function(e){d(r,e);var t=v(r);function r(e,n){var i;return c(this,r),i=t.call(this,e,n),i.determineVisibility(e,n),i}return p(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.determineVisibility(e,t)}},{key:"determineVisibility",value:function(e,t){var r=this,n=(0,a.unpackPlotProps)(e,t),o=n.isVisible;this.sectionVisible=(0,a.isVisibleGivenCustomConfig)(o,e,t),i.default.Children.forEach(e.children,(function(e){if(e&&!r.sectionVisible){if(e.props.attr){var n=(0,a.unpackPlotProps)(e.props,t);return e.type.modifyPlotProps&&e.type.modifyPlotProps(e.props,t,n),void(r.sectionVisible=(0,a.isVisibleGivenCustomConfig)(r.sectionVisible||n.isVisible,e.props,t,e.type&&e.type.displayName?e.type.displayName:null))}(e.type.plotly_editor_traits||{}).no_visibility_forcing||(r.sectionVisible=!0)}}))}}]),r}(x);t.default=A,A.plotly_editor_traits={no_visibility_forcing:!0},A.contextTypes=a.containerConnectedContextTypes},6921:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("a876"),a=r("a685"),s=r("a9cb"),l=r("5b68"),u=r("3ff5").configAttributes,c=r("fa06"),f=r("b7b8"),p=r("cb34"),d=i.extendFlat,h=i.extendDeepAll,v=i.isPlainObject,m=i.isArrayOrTypedArray,g=i.nestedProperty,y=i.valObjectMeta,b="_isSubplotObj",x="_isLinkedToArray",A="_arrayAttrRegexps",w="_deprecated",_=[b,x,A,w];function E(e,t){var r,i,o,s,l=e._basePlotModules;if(l){var u;for(r=0;r<l.length;r++){if(o=l[r],o.attrRegex&&o.attrRegex.test(t)){if(o.layoutAttrOverrides)return o.layoutAttrOverrides;!u&&o.layoutAttributes&&(u=o.layoutAttributes)}var c=o.baseLayoutAttrOverrides;if(c&&t in c)return c[t]}if(u)return u}var p=e._modules;if(p)for(r=0;r<p.length;r++)if(s=p[r].layoutAttributes,s&&t in s)return s[t];for(i in n.componentsRegistry){if(o=n.componentsRegistry[i],"colorscale"===o.name&&0===t.indexOf("coloraxis"))return o.layoutAttributes[t];if(!o.schema&&t===o.name)return o.layoutAttributes}return t in a?a[t]:"radialaxis"===t||"angularaxis"===t?f[t]:f.layout[t]||!1}function k(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(T(t[r]))r++;else if(r<t.length)return!1;for(;r<t.length;r++){var n=e[t[r]];if(!v(n))break;if(e=n,r===t.length-1)break;if(e._isLinkedToArray){if(r++,!T(t[r]))return!1}else if("info_array"===e.valType){r++;var i=t[r];if(!T(i))return!1;var o=e.items;if(Array.isArray(o)){if(i>=o.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var a=t[r];if(!T(a))return!1;e=o[i][a]}else e=o[i]}else e=o}}return e}function T(e){return e===Math.round(e)&&e>=0}function C(e){var r,i;"area"===e?(r={attributes:c},i={}):(r=n.modules[e]._module,i=r.basePlotModule);var a={type:null},s=h({},o),l=h({},r.attributes);t.crawl(l,(function(e,t,r,n,i){g(s,i).set(void 0),void 0===e&&g(l,i).set(void 0)})),h(a,s),n.traceIs(e,"noOpacity")&&delete a.opacity,n.traceIs(e,"showLegend")||(delete a.showlegend,delete a.legendgroup),n.traceIs(e,"noHover")&&(delete a.hoverinfo,delete a.hoverlabel),r.selectPoints||delete a.selectedpoints,h(a,l),i.attributes&&h(a,i.attributes),a.type=e;var u={meta:r.meta||{},categories:r.categories||{},animatable:Boolean(r.animatable),type:e,attributes:P(a)};if(r.layoutAttributes){var f={};h(f,r.layoutAttributes),u.layoutAttributes=P(f)}return r.animatable||t.crawl(u,(function(e){t.isValObject(e)&&"anim"in e&&delete e.anim})),u}function S(){var e,t,r={};for(e in h(r,a),n.subplotsRegistry)if(t=n.subplotsRegistry[e],t.layoutAttributes)if(Array.isArray(t.attr))for(var i=0;i<t.attr.length;i++)j(r,t,t.attr[i]);else{var o="subplot"===t.attr?t.name:t.attr;j(r,t,o)}for(e in r=I(r),n.componentsRegistry){t=n.componentsRegistry[e];var s=t.schema;if(s&&(s.subplots||s.layout)){var l=s.subplots;if(l&&l.xaxis&&!l.yaxis)for(var u in l.xaxis)delete r.yaxis[u]}else"colorscale"===t.name?h(r,t.layoutAttributes):t.layoutAttributes&&R(r,t.layoutAttributes,t.name)}return{layoutAttributes:P(r)}}function O(e){var t=n.transformsRegistry[e],r=h({},t.attributes);return Object.keys(n.componentsRegistry).forEach((function(t){var i=n.componentsRegistry[t];i.schema&&i.schema.transforms&&i.schema.transforms[e]&&Object.keys(i.schema.transforms[e]).forEach((function(t){R(r,i.schema.transforms[e][t],t)}))})),{attributes:P(r)}}function M(){var e={frames:h({},s)};return P(e),e.frames}function P(e){return B(e),L(e),D(e),e}function B(e){function r(e){return{valType:"string",role:"info",description:["Sets the source reference on Chart Studio Cloud for ",e,"."].join(" "),editType:"none"}}function n(e,n,i){t.isValObject(e)?"data_array"===e.valType?(e.role="data",i[n+"src"]=r(n)):!0===e.arrayOk&&(i[n+"src"]=r(n)):v(e)&&(e.role="object")}t.crawl(e,n)}function L(e){function r(e,t,r){if(e){var n=e[x];n&&(delete e[x],r[t]={items:{}},r[t].items[n]=e,r[t].role="object")}}t.crawl(e,r)}function D(e){function t(e){for(var r in e)if(v(e[r]))t(e[r]);else if(Array.isArray(e[r]))for(var n=0;n<e[r].length;n++)t(e[r][n]);else e[r]instanceof RegExp&&(e[r]=e[r].toString())}t(e)}function I(e){return d(e,{radialaxis:f.radialaxis,angularaxis:f.angularaxis}),d(e,f.layout),e}function j(e,t,r){var n=g(e,r),i=h({},t.layoutAttributes);i[b]=!0,n.set(i)}function R(e,t,r){var n=g(e,r);n.set(h(n.get()||{},t))}t.IS_SUBPLOT_OBJ=b,t.IS_LINKED_TO_ARRAY=x,t.DEPRECATED=w,t.UNDERSCORE_ATTRS=_,t.get=function(){var e={};n.allTypes.concat("area").forEach((function(t){e[t]=C(t)}));var t={};return Object.keys(n.transformsRegistry).forEach((function(e){t[e]=O(e)})),{defs:{valObjects:y,metaKeys:_.concat(["description","role","editType","impliedEdits"]),editType:{traces:p.traces,layout:p.layout},impliedEdits:{description:["Sometimes when an attribute is changed, other attributes","must be altered as well in order to achieve the intended","result. For example, when `range` is specified, it is","important to set `autorange` to `false` or the new `range`","value would be lost in the redraw. `impliedEdits` is the","mechanism to do this: `impliedEdits: {autorange: false}`.","Each key is a relative paths to the attribute string to","change, using *^* to ascend into the parent container,","for example `range[0]` has `impliedEdits: {*^autorange*: false}`.","A value of `undefined` means that the attribute will not be","changed, but its previous value should be recorded in case","we want to reverse this change later. For example, `autorange`","has `impliedEdits: {*range[0]*: undefined, *range[1]*:undefined}","because the range will likely be changed by redraw."].join(" ")}},traces:e,layout:S(),transforms:t,frames:M(),animation:P(l),config:P(u)}},t.crawl=function(e,r,n,i){var o=n||0;i=i||"",Object.keys(e).forEach((function(n){var a=e[n];if(-1===_.indexOf(n)){var s=(i?i+".":"")+n;r(a,n,e,o,s),t.isValObject(a)||v(a)&&"impliedEdits"!==n&&t.crawl(a,r,o+1,s)}}))},t.isValObject=function(e){return e&&void 0!==e.valType},t.findArrayAttributes=function(e){var r,n,i=[],a=[],s=[];function l(e,t,n,i){a=a.slice(0,i).concat([t]),s=s.slice(0,i).concat([e&&e._isLinkedToArray]);var o=e&&("data_array"===e.valType||!0===e.arrayOk)&&!("colorbar"===a[i-1]&&("ticktext"===t||"tickvals"===t));o&&u(r,0,"")}function u(e,t,r){var o=e[a[t]],l=r+a[t];if(t===a.length-1)m(o)&&i.push(n+l);else if(s[t]){if(Array.isArray(o))for(var c=0;c<o.length;c++)v(o[c])&&u(o[c],t+1,l+"["+c+"].")}else v(o)&&u(o,t+1,l+".")}r=e,n="",t.crawl(o,l),e._module&&e._module.attributes&&t.crawl(e._module.attributes,l);var c=e.transforms;if(c)for(var f=0;f<c.length;f++){var p=c[f],d=p._module;d&&(n="transforms["+f+"].",r=p,t.crawl(d.attributes,l))}return i},t.getTraceValObject=function(e,t){var r,i,a=t[0],s=1;if("transforms"===a){if(1===t.length)return o.transforms;var l=e.transforms;if(!Array.isArray(l)||!l.length)return!1;var u=t[1];if(!T(u)||u>=l.length)return!1;r=(n.transformsRegistry[l[u].type]||{}).attributes,i=r&&r[t[2]],s=3}else if("area"===e.type)i=c[a];else{var f=e._module;if(f||(f=(n.modules[e.type||o.type.dflt]||{})._module),!f)return!1;if(r=f.attributes,i=r&&r[a],!i){var p=f.basePlotModule;p&&p.attributes&&(i=p.attributes[a])}i||(i=o[a])}return k(i,t,s)},t.getLayoutValObject=function(e,t){var r=E(e,t[0]);return k(r,t,1)}},"692b":function(e,t,r){"use strict";var n=Object.prototype.toString,i=n.call("");e.exports=function(e){return"string"===typeof e||e&&"object"===typeof e&&(e instanceof String||n.call(e)===i)||!1}},6954:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("c258"),s=r("0379"),l=r("0642"),u=r("1a40"),c=r("fa8a"),f=r("da89"),p=r("f50a"),d=r("3511"),h=r("849d"),v=r("c997"),m=r("8e43"),g=m.LABELOPTIMIZER;function y(e,t,r){var n=i.ensureSingle(e,"g","contourbg"),o=n.selectAll("path").data("fill"===r.coloring?[0]:[]);o.enter().append("path"),o.exit().remove(),o.attr("d","M"+t.join("L")+"Z").style("stroke","none")}function b(e,t,r,o){var a="fill"===o.coloring||"constraint"===o.type&&"="!==o._operation,s="M"+r.join("L")+"Z";a&&v(t,o);var l=i.ensureSingle(e,"g","contourfill"),u=l.selectAll("path").data(a?t:[]);u.enter().append("path"),u.exit().remove(),u.each((function(e){var t=(e.prefixBoundary?s:"")+x(e,r);t?n.select(this).attr("d",t).style("stroke","none"):n.select(this).remove()}))}function x(e,t){var r,n,a,s,l,u,c="",f=0,p=e.edgepaths.map((function(e,t){return t})),d=!0;function h(e){return Math.abs(e[1]-t[0][1])<.01}function v(e){return Math.abs(e[1]-t[2][1])<.01}function m(e){return Math.abs(e[0]-t[0][0])<.01}function g(e){return Math.abs(e[0]-t[2][0])<.01}while(p.length){for(u=o.smoothopen(e.edgepaths[f],e.smoothing),c+=d?u:u.replace(/^M/,"L"),p.splice(p.indexOf(f),1),r=e.edgepaths[f][e.edgepaths[f].length-1],s=-1,a=0;a<4;a++){if(!r){i.log("Missing end?",f,e);break}for(h(r)&&!g(r)?n=t[1]:m(r)?n=t[0]:v(r)?n=t[3]:g(r)&&(n=t[2]),l=0;l<e.edgepaths.length;l++){var y=e.edgepaths[l][0];Math.abs(r[0]-n[0])<.01?Math.abs(r[0]-y[0])<.01&&(y[1]-r[1])*(n[1]-y[1])>=0&&(n=y,s=l):Math.abs(r[1]-n[1])<.01?Math.abs(r[1]-y[1])<.01&&(y[0]-r[0])*(n[0]-y[0])>=0&&(n=y,s=l):i.log("endpt to newendpt is not vert. or horz.",r,n,y)}if(r=n,s>=0)break;c+="L"+n}if(s===e.edgepaths.length){i.log("unclosed perimeter path");break}f=s,d=-1===p.indexOf(f),d&&(f=p[0],c+="Z")}for(f=0;f<e.paths.length;f++)c+=o.smoothclosed(e.paths[f],e.smoothing);return c}function A(e,r,a,s,l){var u=i.ensureSingle(e,"g","contourlines"),c=!1!==l.showlines,f=l.showlabels,p=c&&f,d=t.createLines(u,c||f,r),h=t.createLineClip(u,p,a,s.trace.uid),v=e.selectAll("g.contourlabels").data(f?[0]:[]);if(v.exit().remove(),v.enter().append("g").classed("contourlabels",!0),f){var g=[],y=[];i.clearLocationCache();var b=t.labelFormatter(a,s),x=o.tester.append("text").attr("data-notex",1).call(o.font,l.labelfont),A=r[0].xaxis,w=r[0].yaxis,_=A._length,E=w._length,k=A.range,T=w.range,C=i.aggNums(Math.min,null,s.x),S=i.aggNums(Math.max,null,s.x),O=i.aggNums(Math.min,null,s.y),M=i.aggNums(Math.max,null,s.y),P=Math.max(A.c2p(C,!0),0),B=Math.min(A.c2p(S,!0),_),L=Math.max(w.c2p(M,!0),0),D=Math.min(w.c2p(O,!0),E),I={};k[0]<k[1]?(I.left=P,I.right=B):(I.left=B,I.right=P),T[0]<T[1]?(I.top=L,I.bottom=D):(I.top=D,I.bottom=L),I.middle=(I.top+I.bottom)/2,I.center=(I.left+I.right)/2,g.push([[I.left,I.top],[I.right,I.top],[I.right,I.bottom],[I.left,I.bottom]]);var j=Math.sqrt(_*_+E*E),R=m.LABELDISTANCE*j/Math.max(1,r.length/m.LABELINCREASE);d.each((function(e){var r=t.calcTextOpts(e.level,b,x,a);n.select(this).selectAll("path").each((function(){var e=this,n=i.getVisibleSegment(e,I,r.height/2);if(n&&!(n.len<(r.width+r.height)*m.LABELMIN))for(var o=Math.min(Math.ceil(n.len/R),m.LABELMAX),a=0;a<o;a++){var s=t.findBestTextLocation(e,n,r,y,I);if(!s)break;t.addLabelData(s,r,y,g)}}))})),x.remove(),t.drawLabels(v,y,a,h,p?g:null)}f&&!c&&d.remove()}function w(e,t,r,n){var o=t.width/2,a=t.height/2,s=e.x,l=e.y,u=e.theta,c=Math.cos(u)*o,f=Math.sin(u)*o,p=(s>n.center?n.right-s:s-n.left)/(c+Math.abs(Math.sin(u)*a)),d=(l>n.middle?n.bottom-l:l-n.top)/(Math.abs(f)+Math.cos(u)*a);if(p<1||d<1)return 1/0;var h=g.EDGECOST*(1/(p-1)+1/(d-1));h+=g.ANGLECOST*u*u;for(var v=s-c,m=l-f,y=s+c,b=l+f,x=0;x<r.length;x++){var A=r[x],w=Math.cos(A.theta)*A.width/2,_=Math.sin(A.theta)*A.width/2,E=2*i.segmentDistance(v,m,y,b,A.x-w,A.y-_,A.x+w,A.y+_)/(t.height+A.height),k=A.level===t.level,T=k?g.SAMELEVELDISTANCE:1;if(E<=T)return 1/0;var C=g.NEIGHBORCOST*(k?g.SAMELEVELFACTOR:1);h+=C/(E-T)}return h}function _(e,t,r,n,a){var s=n.trace,l=r._fullLayout._clips,u="clip"+s.uid,c=l.selectAll("#"+u).data(s.connectgaps?[]:[0]);if(c.enter().append("clipPath").classed("contourclip",!0).attr("id",u),c.exit().remove(),!1===s.connectgaps){var d={level:.9,crossings:{},starts:[],edgepaths:[],paths:[],xaxis:t.xaxis,yaxis:t.yaxis,x:n.x,y:n.y,z:E(n),smoothing:0};f([d]),p([d]),v([d],{type:"levels"});var h=i.ensureSingle(c,"path","");h.attr("d",(d.prefixBoundary?"M"+a.join("L")+"Z":"")+x(d,a))}else u=null;o.setClipUrl(e,u,r)}function E(e){var t,r,n=e.trace._emptypoints,i=[],o=e.z.length,a=e.z[0].length,s=[];for(t=0;t<a;t++)s.push(1);for(t=0;t<o;t++)i.push(s.slice());for(t=0;t<n.length;t++)r=n[t],i[r[0]][r[1]]=0;return e.zmask=i,i}t.plot=function(e,t,r,o){var a=t.xaxis,s=t.yaxis;i.makeTraceGroups(o,r,"contour").each((function(r){var o=n.select(this),l=r[0],u=l.trace,v=l.x,m=l.y,g=u.contours,x=d(g,t,l),w=i.ensureSingle(o,"g","heatmapcoloring"),E=[];"heatmap"===g.coloring&&(E=[r]),c(e,t,E,w),f(x),p(x);var k=a.c2p(v[0],!0),T=a.c2p(v[v.length-1],!0),C=s.c2p(m[0],!0),S=s.c2p(m[m.length-1],!0),O=[[k,S],[T,S],[T,C],[k,C]],M=x;"constraint"===g.type&&(M=h(x,g._operation)),y(o,O,g),b(o,M,O,g),A(o,x,e,l,g),_(o,t,e,l,O)}))},t.createLines=function(e,t,r){var n=r[0].smoothing,i=e.selectAll("g.contourlevel").data(t?r:[]);if(i.exit().remove(),i.enter().append("g").classed("contourlevel",!0),t){var a=i.selectAll("path.openline").data((function(e){return e.pedgepaths||e.edgepaths}));a.exit().remove(),a.enter().append("path").classed("openline",!0),a.attr("d",(function(e){return o.smoothopen(e,n)})).style("stroke-miterlimit",1).style("vector-effect","non-scaling-stroke");var s=i.selectAll("path.closedline").data((function(e){return e.ppaths||e.paths}));s.exit().remove(),s.enter().append("path").classed("closedline",!0),s.attr("d",(function(e){return o.smoothclosed(e,n)})).style("stroke-miterlimit",1).style("vector-effect","non-scaling-stroke")}return i},t.createLineClip=function(e,t,r,n){var i=r._fullLayout._clips,a=t?"clipline"+n:null,s=i.selectAll("#"+a).data(t?[0]:[]);return s.exit().remove(),s.enter().append("clipPath").classed("contourlineclip",!0).attr("id",a),o.setClipUrl(e,a,r),s},t.labelFormatter=function(e,t){var r=e._fullLayout,n=t.trace,i=n.contours,o={type:"linear",_id:"ycontour",showexponent:"all",exponentformat:"B"};if(i.labelformat)o.tickformat=i.labelformat,u(o,r);else{var s=a.extractOpts(n);if(s&&s.colorbar&&s.colorbar._axis)o=s.colorbar._axis;else{if("constraint"===i.type){var c=i.value;Array.isArray(c)?o.range=[c[0],c[c.length-1]]:o.range=[c,c]}else o.range=[i.start,i.end],o.nticks=(i.end-i.start)/i.size;o.range[0]===o.range[1]&&(o.range[1]+=o.range[0]||1),o.nticks||(o.nticks=1e3),u(o,r),l.prepTicks(o),o._tmin=null,o._tmax=null}}return function(e){return l.tickText(o,e).text}},t.calcTextOpts=function(e,t,r,n){var i=t(e);r.text(i).call(s.convertToTspans,n);var a=r.node(),l=o.bBox(a,!0);return{text:i,width:l.width,height:l.height,fontSize:+a.style["font-size"].replace("px",""),level:e,dy:(l.top+l.bottom)/2}},t.findBestTextLocation=function(e,t,r,n,o){var a,s,l,u,c,f=r.width;t.isClosed?(s=t.len/g.INITIALSEARCHPOINTS,a=t.min+s/2,l=t.max):(s=(t.len-f)/(g.INITIALSEARCHPOINTS+1),a=t.min+s+f/2,l=t.max-(s+f)/2);for(var p=1/0,d=0;d<g.ITERATIONS;d++){for(var h=a;h<l;h+=s){var v=i.getTextLocation(e,t.total,h,f),m=w(v,r,n,o);m<p&&(p=m,c=v,u=h)}if(p>2*g.MAXCOST)break;d&&(s/=2),a=u-s/2,l=a+1.5*s}if(p<=g.MAXCOST)return c},t.addLabelData=function(e,t,r,n){var i=t.fontSize,o=t.width+i/3,a=Math.max(0,t.height-i/3),s=e.x,l=e.y,u=e.theta,c=Math.sin(u),f=Math.cos(u),p=function(e,t){return[s+e*f-t*c,l+e*c+t*f]},d=[p(-o/2,-a/2),p(-o/2,a/2),p(o/2,a/2),p(o/2,-a/2)];r.push({text:t.text,x:s,y:l,dy:t.dy,theta:u,level:t.level,width:o,height:a}),n.push(d)},t.drawLabels=function(e,t,r,o,a){var l=e.selectAll("text").data(t,(function(e){return e.text+","+e.x+","+e.y+","+e.theta}));if(l.exit().remove(),l.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each((function(e){var t=e.x+Math.sin(e.theta)*e.dy,i=e.y-Math.cos(e.theta)*e.dy;n.select(this).text(e.text).attr({x:t,y:i,transform:"rotate("+180*e.theta/Math.PI+" "+t+" "+i+")"}).call(s.convertToTspans,r)})),a){for(var u="",c=0;c<a.length;c++)u+="M"+a[c].join("L")+"Z";var f=i.ensureSingle(o,"path","");f.attr("d",u)}}},69548:function(e,t){function r(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}e.exports=r},6962:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("c4c7").appendArrayPointValue,a=r("a5c4"),s=r("fc26"),l=r("8741"),u=r("fb56"),c=r("59e0"),f=c.formatPieValue;function p(e,t,r){for(var n=e.data.data,i={curveNumber:t.index,pointNumber:n.i,data:t._input,fullData:t},a=0;a<r.length;a++){var s=r[a];s in e&&(i[s]=e[s])}return"parentString"in e&&!u.isHierarchyRoot(e)&&(i.parent=e.parentString),o(i,t,n.i),i}e.exports=function(e,t,r,o,c){var d=o[0],h=d.trace,v=d.hierarchy,m="sunburst"===h.type,g="treemap"===h.type;"_hasHoverLabel"in h||(h._hasHoverLabel=!1),"_hasHoverEvent"in h||(h._hasHoverEvent=!1);var y=function(i){var o=r._fullLayout;if(!r._dragging&&!1!==o.hovermode){var l=r._fullData[h.index],y=i.data.data,b=y.i,x=u.isHierarchyRoot(i),A=u.getParent(v,i),w=u.getValue(i),_=function(e){return s.castOption(l,b,e)},E=_("hovertemplate"),k=a.castHoverinfo(l,o,b),T=o.separators;if(E||k&&"none"!==k&&"skip"!==k){var C,S;m&&(C=d.cx+i.pxmid[0]*(1-i.rInscribed),S=d.cy+i.pxmid[1]*(1-i.rInscribed)),g&&(C=i._hoverX,S=i._hoverY);var O,M={},P=[],B=[],L=function(e){return-1!==P.indexOf(e)};k&&(P="all"===k?l._module.attributes.hoverinfo.flags:k.split("+")),M.label=y.label,L("label")&&M.label&&B.push(M.label),y.hasOwnProperty("v")&&(M.value=y.v,M.valueLabel=f(M.value,T),L("value")&&B.push(M.valueLabel)),M.currentPath=i.currentPath=u.getPath(i.data),L("current path")&&!x&&B.push(M.currentPath);var D=[],I=function(){-1===D.indexOf(O)&&(B.push(O),D.push(O))};M.percentParent=i.percentParent=w/u.getValue(A),M.parent=i.parentString=u.getPtLabel(A),L("percent parent")&&(O=u.formatPercent(M.percentParent,T)+" of "+M.parent,I()),M.percentEntry=i.percentEntry=w/u.getValue(t),M.entry=i.entry=u.getPtLabel(t),!L("percent entry")||x||i.onPathbar||(O=u.formatPercent(M.percentEntry,T)+" of "+M.entry,I()),M.percentRoot=i.percentRoot=w/u.getValue(v),M.root=i.root=u.getPtLabel(v),L("percent root")&&!x&&(O=u.formatPercent(M.percentRoot,T)+" of "+M.root,I()),M.text=_("hovertext")||_("text"),L("text")&&(O=M.text,s.isValidTextValue(O)&&B.push(O));var j={trace:l,y:S,text:B.join("<br>"),name:E||L("name")?l.name:void 0,color:_("hoverlabel.bgcolor")||y.color,borderColor:_("hoverlabel.bordercolor"),fontFamily:_("hoverlabel.font.family"),fontSize:_("hoverlabel.font.size"),fontColor:_("hoverlabel.font.color"),nameLength:_("hoverlabel.namelength"),textAlign:_("hoverlabel.align"),hovertemplate:E,hovertemplateLabels:M,eventData:[p(i,l,c.eventDataKeys)]};m&&(j.x0=C-i.rInscribed*i.rpx1,j.x1=C+i.rInscribed*i.rpx1,j.idealAlign=i.pxmid[0]<0?"left":"right"),g&&(j.x=C,j.idealAlign=C<0?"left":"right"),a.loneHover(j,{container:o._hoverlayer.node(),outerContainer:o._paper.node(),gd:r}),h._hasHoverLabel=!0}if(g){var R=e.select("path.surface");c.styleOne(R,i,l,{hovered:!0})}h._hasHoverEvent=!0,r.emit("plotly_hover",{points:[p(i,l,c.eventDataKeys)],event:n.event})}},b=function(t){var i=r._fullLayout,o=r._fullData[h.index],s=n.select(this).datum();if(h._hasHoverEvent&&(t.originalEvent=n.event,r.emit("plotly_unhover",{points:[p(s,o,c.eventDataKeys)],event:n.event}),h._hasHoverEvent=!1),h._hasHoverLabel&&(a.loneUnhover(i._hoverlayer.node()),h._hasHoverLabel=!1),g){var l=e.select("path.surface");c.styleOne(l,s,o,{hovered:!1})}},x=function(e){var t=r._fullLayout,o=r._fullData[h.index],s=m&&(u.isHierarchyRoot(e)||u.isLeaf(e)),f=u.getPtId(e),d=u.isEntry(e)?u.findEntryWithChild(v,f):u.findEntryWithLevel(v,f),g=u.getPtId(d),y={points:[p(e,o,c.eventDataKeys)],event:n.event};s||(y.nextLevel=g);var b=l.triggerHandler(r,"plotly_"+h.type+"click",y);if(!1!==b&&t.hovermode&&(r._hoverdata=[p(e,o,c.eventDataKeys)],a.click(r,n.event)),!s&&!1!==b&&!r._dragging&&!r._transitioning){i.call("_storeDirectGUIEdit",o,t._tracePreGUI[o.uid],{level:o.level});var x={data:[{level:g}],traces:[h.index]},A={frame:{redraw:!1,duration:c.transitionTime},transition:{duration:c.transitionTime,easing:c.transitionEasing},mode:"immediate",fromcurrent:!0};a.loneUnhover(t._hoverlayer.node()),i.call("animate",r,x,A)}};e.on("mouseover",y),e.on("mouseout",b),e.on("click",x)}},"69a4":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16,20H20V16H16M16,14H20V10H16M10,8H14V4H10M16,8H20V4H16M10,14H14V10H10M4,14H8V10H4M4,20H8V16H4M10,20H14V16H10M4,8H8V4H4V8Z"}))};e.exports=s},"69b9":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteMapboxLayer=i.deleteMapboxLayer.bind(y(i)),i.updateMapboxLayer=i.updateMapboxLayer.bind(y(i)),i.moveMapboxLayer=i.moveMapboxLayer.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.mapboxLayerIndex,n=t.container,i=t.fullContainer,o=n.layers||[],a=i.layers||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("layers[].".concat(t)):null},updateContainer:this.updateMapboxLayer,deleteContainer:this.deleteMapboxLayer,moveContainer:this.moveMapboxLayer,container:this.container,fullContainer:this.fullContainer}}},{key:"updateMapboxLayer",value:function(e){var t={},r=this.props.mapboxLayerIndex;for(var n in e){var i="layers[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteMapboxLayer",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_MAPBOXLAYER,payload:{mapboxId:this.context.fullContainer._subplot.id,mapboxLayerIndex:this.props.mapboxLayerIndex}})}},{key:"moveMapboxLayer",value:function(e){if(this.context.onUpdate){var t=this.props.mapboxLayerIndex,r="up"===e?t-1:t+1;this.context.onUpdate({type:s.EDITOR_ACTIONS.MOVE_TO,payload:{fromIndex:t,toIndex:r,mapboxId:this.context.fullContainer._subplot.id,path:"layout.mapbox.layers"}})}}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="MapboxLayerConnected".concat((0,a.getDisplayName)(e)),t.propTypes={mapboxLayerIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,moveContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"69d5":function(e,t,r){var n=r("cb5a"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,r=n(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():o.call(t,r,1),--this.size,!0}e.exports=a},"69f1":function(e,t){var r=7,n=[.9999999999998099,676.5203681218851,-1259.1392167224028,771.3234287776531,-176.6150291621406,12.507343278686905,-.13857109526572012,9984369578019572e-21,1.5056327351493116e-7],i=607/128,o=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function a(e){if(e<0)return Number("0/0");for(var t=o[0],r=o.length-1;r>0;--r)t+=o[r]/(e+r);var n=e+i+.5;return.5*Math.log(2*Math.PI)+(e+.5)*Math.log(n)-n+Math.log(t)-Math.log(e)}e.exports=function e(t){if(t<.5)return Math.PI/(Math.sin(Math.PI*t)*e(1-t));if(t>100)return Math.exp(a(t));t-=1;for(var i=n[0],o=1;o<r+2;o++)i+=n[o]/(t+o);var s=t+r+.5;return Math.sqrt(2*Math.PI)*Math.pow(s,t+.5)*Math.exp(-s)*i},e.exports.log=a},"69f3":function(e,t,r){var n,i,o,a=r("7f9a"),s=r("da84"),l=r("861d"),u=r("9112"),c=r("5135"),f=r("f772"),p=r("d012"),d=s.WeakMap,h=function(e){return o(e)?i(e):n(e,{})},v=function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(a){var m=new d,g=m.get,y=m.has,b=m.set;n=function(e,t){return b.call(m,e,t),t},i=function(e){return g.call(m,e)||{}},o=function(e){return y.call(m,e)}}else{var x=f("state");p[x]=!0,n=function(e,t){return u(e,x,t),t},i=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:n,get:i,has:o,enforce:h,getterFor:v}},"6a08":function(e,t,r){"use strict";var n=r("0a3e").wrap,i=r("215c").hasColorscale,o=r("3aa8"),a=r("5567"),s=r("83d1"),l=r("fc26"),u=r("19b2");function c(e,t,r){var n=e.map((function(e){return e.categories.length})).reduce((function(e,t){return Math.max(e,t)}));return{dimensions:e,paths:t,trace:void 0,maxCats:n,count:r}}function f(e,t,r,n,i){return{dimensionInd:e,containerInd:t,displayInd:r,dimensionLabel:n,count:i,categories:[],dragX:null}}function p(e,t,r,n){return{dimensionInd:e,categoryInd:t,categoryValue:r,displayInd:t,categoryLabel:n,valueInds:[],count:0,dragY:null}}function d(e,t,r){e.valueInds.push(t),e.count+=r}function h(e,t,r){return{categoryInds:e,color:t,rawColor:r,valueInds:[],count:0}}function v(e,t,r){e.valueInds.push(t),e.count+=r}function m(e,t){t=void 0===t||null===t?[]:t.map((function(e){return e}));var r={},n={},i=[];t.forEach((function(e,t){r[e]=0,n[e]=t}));for(var o=0;o<e.length;o++){var a,s=e[o];void 0===r[s]?(r[s]=1,a=t.push(s)-1,n[s]=a):(r[s]++,a=n[s]),i.push(a)}var l=t.map((function(e){return r[e]}));return{uniqueValues:t,uniqueCounts:l,inds:i}}function g(e){var t,r=e.map((function(e){return e.displayindex}));if(b(r))for(t=0;t<e.length;t++)e[t]._displayindex=e[t].displayindex;else for(t=0;t<e.length;t++)e[t]._displayindex=t}function y(e,t){e._categoryarray=t.uniqueValues,null===e.ticktext||void 0===e.ticktext?e._ticktext=[]:e._ticktext=e.ticktext.slice();for(var r=e._ticktext.length;r<t.uniqueValues.length;r++)e._ticktext.push(t.uniqueValues[r])}function b(e){for(var t=new Array(e.length),r=0;r<e.length;r++){if(e[r]<0||e[r]>=e.length)return!1;if(void 0!==t[e[r]])return!1;t[e[r]]=!0}return!0}e.exports=function(e,t){var r=l.filterVisible(t.dimensions);if(0===r.length)return[];var b,x,A,w=r.map((function(e){var t;if("trace"===e.categoryorder)t=null;else if("array"===e.categoryorder)t=e.categoryarray;else{t=a(e.values);for(var r=!0,n=0;n<t.length;n++)if(!u(t[n])){r=!1;break}t.sort(r?l.sorterAsc:void 0),"category descending"===e.categoryorder&&(t=t.reverse())}return m(e.values,t)}));b=l.isArrayOrTypedArray(t.counts)?t.counts:[t.counts],g(r),r.forEach((function(e,t){y(e,w[t])}));var _,E=t.line;function k(e){var t,r;return l.isArrayOrTypedArray(E.color)?(t=E.color[e%E.color.length],r=t):t=E.color,{color:_(t),rawColor:r}}E?(i(t,"line")&&o(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),_=s.tryColorscale(E)):_=l.identity;var T,C,S=r[0].values.length,O={},M=w.map((function(e){return e.inds}));for(A=0,T=0;T<S;T++){var P=[];for(C=0;C<M.length;C++)P.push(M[C][T]);x=b[T%b.length],A+=x;var B=k(T),L=P+"-"+B.rawColor;void 0===O[L]&&(O[L]=h(P,B.color,B.rawColor)),v(O[L],T,x)}var D=r.map((function(e,t){return f(t,e._index,e._displayindex,e.label,A)}));for(T=0;T<S;T++)for(x=b[T%b.length],C=0;C<D.length;C++){var I=D[C].containerInd,j=w[C].inds[T],R=D[C].categories;if(void 0===R[j]){var F=t.dimensions[I]._categoryarray[j],N=t.dimensions[I]._ticktext[j];R[j]=p(C,j,F,N)}d(R[j],T,x)}return n(c(D,O,A))}},"6a25":function(e,t){e.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},"6a30":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M16 0L1.312 8v16L16 32l14.688-8V8zM4 11.313l4 2v4.125l-4-2.25zm19.063-.25l-4.688-2.375 4.188-2 4.5 2.5zm-2.25 1.187L16 14.688l-4.813-2.438L16 9.875zM8.938 11.063l-4-2 4.5-2.375 4.188 2zm1.75 3.625l4 2v4.5l-4-2.25zm4 9.437v4l-4-2.125v-4.125zm2.625 0l4-2.25V26l-4 2.125zm0-2.937v-4.5l4-2v4.25zM24 13.313l4-2v3.875l-4 2.25zm-3.75-8L16 7.438l-4.25-2.125L16 3.063zM4 18.25l4 2.313v4.125l-4-2.125zm20 6.438v-4.125l4-2.313v4.125z"}))};t.default=u},"6a4d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.313 0H2.688A2.668 2.668 0 0 0 0 2.688v26.625c0 1.5 1.188 2.688 2.688 2.688h26.625c1.5 0 2.688-1.188 2.688-2.688V2.688c0-1.5-1.188-2.688-2.688-2.688zM18.125 2.938c.125.125.25.125.438.125h.375c0 .125 0 .125-.125.25h-.125l-.125.125s0 .188-.188.188h.313v-.313-.125c-.125-.125-.125-.125-.313 0-.125.125-.125.125-.25 0 0 0 0-.125-.125-.125 0-.125-.125-.125-.125-.125l-.25-.125-.188-.125h-.125H18c.125.125.125.125.125.25zm-.812.125v.375l-.125.188c-.125.125-.125 0-.125-.188v-.25h-.25-.125s-.125.125 0 .125.125.125.125.313h-1.376v-.188h.188c.25 0 .375 0 .5-.125.125-.375-.125-.375-.25-.375s-.125 0-.25-.125l-.188-.125h1.75c0 .125.125.25.125.375zm-4.375 0c.125 0 .125.125.25.125 0 0 0 .25-.125.125s-.375-.125-.5-.125c-.188-.125-.313-.125-.438-.125h-.688c-.125 0-.125.125-.25.125v-.25h-.125s-.125 0-.125.125c-.125-.125-.25-.125-.375-.125h-.938s0 .125-.188.125c0 .125-.125.25-.25 0h-.625c-.188 0-.438-.125-.563-.25-.25 0-.563.125-.813.125-.125 0-.25-.125-.5-.125h-.813-.125c-.125 0-.125-.125-.313-.125h6c.313.125.438.125.563.25.125 0 .375 0 .563-.125v-.125h.125zM12 8c-.125 0-.125-.125-.125-.25s-.125-.125-.25-.125h-.188v-.188l.188.188c.125 0 .25 0 .375.125V8zM2.688 2.688h2.75s0 .125-.125.125-.25.125-.375.125-.25.125-.563.125H4s-.125.125-.125.25.125.313.25.313.25 0 .438.125c.125 0 .25.125.25.25.125 0 .125.125 0 .125-.25-.125-.438-.125-.563-.25l-.125-.125L4 3.876c-.25 0-.375.125-.563.125 0 .125.188.25.313.25.125.125.25.125.375.125h.563s0 .313-.313.313c-.125 0-.375 0-.5.125 0 .125-.125.125-.125.25.125.125.25.375.25.563 0 .125.125 0 .25 0 0 0 .125 0 .125-.188 0-.125.313-.125.188.188 0 .125 0 .25.125.25 0-.125.125-.25.125-.25l.25.25s.125-.125.125 0 0 0-.125.125-.375.125-.5.25h-.188c-.125 0-.125.125-.25.125s-.125.313 0 .313c.25 0 .563-.125.813-.313.125 0 .125.188.375 0l.125-.125c.188-.125.313-.125.313-.25.125.125.125.125.25.125h.125c.125 0 .125-.125.25-.125v-.125h-.25c.125 0 .125-.125.25-.25v-.188c0-.125.188-.125.188-.125.125 0 .125 0 0 .313-.188.25.125-.188.25-.188h.375c0-.125 0-.125.125-.125 0-.125 0-.125.125-.25.188.125.313.125.438.125s.25 0 .375.125c.125 0 .688.125.813.125.25 0 .375.188.375.438s.188.25.188.25c.125 0 .25.125.375.25 0 .188 0 .438.125.563s.25.125.438.25v-.125c0-.125 0-.125-.188-.125v-.125c0-.125.188-.125.188 0 0-.125.125 0 .25.125s.125.25.125.25 0 .438.125.438.25.125.375.25c0 0 .188.125.188.25s.125.25.125.438v.75c0 .313.125.563.25.813 0 .25 0 .563.125.688s.25.125.563.125c.125 0 .25.125.375.375 0 .438.125.563.25.813.125 0 .313.125.125.25-.125.188-.125.313 0 .313.188 0 .188-.125.313.125.125.125.125.25.25.375 0 .125.125.125.125.125.125 0 .125.313.438.313v-.188c-.188-.125-.188-.125-.313-.25 0-.125-.125-.25-.125-.25 0-.125-.125-.25-.125-.25h-.125c-.125-.125-.125-.313-.25-.438l-.188-.125s-.125-.125 0-.25c.188-.125.188.125.313.25.125.25.375.563.5.688.125.25.313.375.563.625.125.188.25.188.25.313s.125.25.125.25c0 .125 0 .25.125.375a.77.77 0 0 1 .688.438c0 .125.125.375.25.375h.438s.125.125.25 0c0-.125.125-.125.25-.125s.25.125.25.25c.188.125.313.313.438.313s.25.125.25.125c.125 0 .125 0 .25.125.188.125.313.25.188.375 0 .125.125.313.25.313.125.125.25.125.25.25.125 0 .25.125.25.125s.125.125.313.125l.125-.125v-.125h.25c.125.125.125.25.125.375.125.125.125.438.125.563s0 .25-.125.375-.25.125-.25.25c-.125.188-.25.313-.25.438v.5c-.188.125-.188.313-.188.563s.438.25.438.375.25.688.25.813c.125.25.125.375.125.688.125.25.313.375.563.375.125 0 .25.125.25.25.125.188.25.188.25.313s.125.25 0 .375c0 0 0 .688-.125.938v.813c-.125.125-.25.125-.125.25s.375.25.375.25c0 .125.188.313 0 .563 0 .125-.125.25-.125.375-.125.125-.125.313-.125.438s-.125.125-.125.25.125.125.125.25-.125.25-.125.438c0 .125 0 .25.125.375 0 .125-.125.25-.125.375-.125.188-.125.313-.125.313 0 .125.125.125.125.25 0 0 0 .125-.125.25H2.696zm26.625 26.625h-6.625v-.125-.25h-.313v-.125l.188-.125.125-.125c.125-.188.125-.313.25-.313 0 0 .125-.125.125-.25s0 0-.125 0-.125-.125-.125-.25c.125 0 .25 0 .375.125h.125v-.25-.188-.125h.688c.125 0 .125-.125.125-.25l.125-.125s.125-.125 0-.25h-.25l-.125-.125v-.188c0-.125 0-.25.125-.375 0 .25 0 .375.25.563.125.125.438 0 .563-.188l.125-.125c.125-.125.25-.25.25-.375v-.25s0-.188.125-.188l.125-.125c0-.125.188-.125.313-.25v-.25-.25l.125-.188.25-.125c.125 0 .125-.125.25-.125.188 0 .313 0 .438-.125 0-.125.125-.25.125-.375l.125-.188.125-.125c.125-.125.125-.25.125-.25v-.25c0-.125 0-.25.125-.25v-.313c0-.125 0-.25.188-.25l.625-.813c.125-.125.125-.25.313-.375l.125-.25c0-.188.125-.313.125-.438s0-.125-.125-.25c0-.125-.125-.125-.313-.25-.125 0-.25 0-.25-.188 0 0-.125 0-.125-.125l-.125-.125c-.125-.125-.25-.125-.25-.125h-.438l-.375-.25c-.125-.125-.25-.125-.438-.125-.125 0-.125-.125-.25.125 0 .125-.125.125-.125.25h-.25-.125l.125-.125v-.25-.313c0 .188-.125.188-.313.313-.25 0-.25-.125-.125-.125s.313-.188.438-.188.125-.125.125-.125c0-.125 0-.125-.125-.25s-.125-.25-.313-.375l-.25-.438c-.125-.125-.25-.25-.5-.25-.125 0-.313.25-.438 0v-.125l-.25-.25h-.25s-.313 0-.125-.188v-.125-.25-.125c0 .125-.188.125-.313.25l-.25-.25h-.25s-.125 0-.125.125v.125s0-.125-.125-.125c-.188-.125-.313-.125-.438 0 0 0-.125 0-.125-.125s-.125-.125-.125-.25h-.125c-.125 0-.125.125-.125.25s-.188.25-.188.375v-.125-.25c0-.125.188-.25 0-.25h-.125l.125.375h-.125c-.125.125-.25.125-.25.25s-.125.313-.25.313h-.125c0-.188-.125-.188-.125-.188h-.313-.125l-.25.188c-.125.125-.25 0-.438 0 0-.188-.125-.188-.125-.313v-.125-.25-.438c0-.125 0-.125-.125-.25 0-.125-.125-.125-.25-.125s-.25.125-.25.125h-.313c-.125 0 0 0 0-.125v-.125-.25c0-.125 0-.125.188-.313.125-.125.125-.25.125-.375 0 0 0-.125-.125-.125h-.563a.269.269 0 0 0-.25.25v.125c0 .125 0 .313-.125.313-.188-.188-.313-.188-.313 0 0 .125 0 0-.25-.188h-.125c-.125-.125-.25-.25-.25-.375v-.125-.438-.25-.375s0-.125.125-.125l.125-.313c.125 0 .125-.125.25-.25h.438c.125 0 .25 0 .375.125h.25v-.125s.125-.125.313-.125c.125 0 .375-.125.5-.125 0 0 .125.25.25.25.125-.125.125-.25.125 0s.188.438.313.688c0 .125.125.25.25.25.125-.125.125-.125.125-.25v-.25c0-.188-.125-.313-.125-.438 0 0 0-.125-.125-.125v-.125c0-.125.125-.25.125-.25.125-.188.125-.188.25-.313s.125-.25.313-.25c.125-.125.375-.125.25-.25s-.125-.25-.125-.563c0-.125.125-.125.125 0s.25-.125.125-.25v-.125h.125v-.125c0-.125.125-.125.25-.125h.563v-.188c0-.125-.125-.125-.125-.25v-.125c0-.125.125-.25.25-.25h.25l.125-.125h.188s0 .375.125.375.25-.125.25-.125l.375-.125c.125 0 .313 0 .438-.125v-.313s0-.125-.125-.125c0 0-.188 0-.188.125h-.125c0-.125 0-.25-.125-.25l-.125.125-.125-.125c.125 0 .125-.125 0-.25h-.25s-.125.125-.313.125c-.125 0-.125 0-.25.125C22 7.99 22 7.865 22 7.865c0-.125 0-.125.125-.125s.438-.125.563-.125c.125 0 .25 0 .25.125v.375s.375-.125.25-.125 0 0 0-.125l.125-.125h.438l.125-.125c.125 0 .125.125 0 .25s-.125.25-.25.5c-.188.188 0 .188.125.188h.375c.125 0 .125 0 .25.125h.563v-.125l-.125-.313v-.5-.125h-.125v-.188c-.125 0-.125.188-.125 0 .125-.125.125-.125.125-.25s.125-.125.125-.25v-.125a.269.269 0 0 1-.25-.25c0-.188-.188-.188-.313-.313h-.5c0-.125 0-.125-.125-.25 0 0 0-.125-.188-.125l-.125-.125-.25-.438v-.125s-.125 0-.25.25l-.125.188h-.125c-.188 0-.313-.188-.438-.313v-.125l.125-.125c-.125-.125-.25-.125-.375-.125-.125-.125-.25-.125-.563-.25h-.625c-.125.125-.125.25-.125.25v.25h-.188v.125c.188.125.313.313.313.438s0 .125-.125.25c-.188.25-.313.25-.438.25h-.125c.125.125.125.125.125.313v.5h-.25c-.125 0-.125-.125-.125-.125v-.25l-.125.125v-.25-.188c0-.125-.188-.25-.313-.25 0-.125-.125-.125-.25-.125h-.5c-.188 0-.313-.125-.438-.25h-.25-.25c0-.125 0-.125-.188-.313-.125 0 0-.125-.125-.25v-.25l.313-.125.25-.125c0-.125.125-.313.25-.313.25 0 .438.188.438.188v-.188-.25c0 .125.25.125.125.25-.125.188 0 .188 0 .188.125 0 .25-.188.25-.188s.25-.125.25 0c0 .188 0 .313.125.313s.313-.125.125-.313c-.125-.125-.25-.125-.25-.25l.25-.125h-.125-.125-.125s0-.125.125-.125h.563c.125 0 .125 0 .25-.125l.125-.125c0-.188-.125-.188-.125-.188l.125-.125h.438v-.125c.125 0 0 .25.125.125h.25c0 .125 0 .313-.125.313h-.125s-.125.125 0 .125h.25c0-.125.125-.125.125-.313h.125s.25.188.125.188l-.125.125c-.125 0-.125.125-.125.125v.125h-.25-.125-.125v.375s.125 0 .25-.125h.5c.125 0 .313.125.313.125.125 0 .125.188.25.188H22c.125 0 .125.125.125.125h.25v-.125h.188c.125.125.125.125.25.125v-.125c0-.188 0-.188-.125-.313s-.313-.125-.438-.25v-.125c.125 0 .313 0 .438.125s.25.125.25.125l.125-.125h.125l.438-.25h-.188c-.125 0-.25 0-.25-.125-.125-.188-.25-.188-.375-.313 0 0-.25.125-.25 0v-.25c0-.125 0-.125-.188-.25l-.625-.125h7.563zM19.875 8.375c0-.125-.125.313 0 .438 0 .125 0 .125-.125.25h-.125s-.188-.125-.188-.25v-.125c0-.125 0-.313-.125-.313h-.125c-.125 0-.125.188-.25.313v.625c-.125 0-.25-.125-.25-.375v-.125-.438c.125-.125.25-.125.375-.25.125 0 .375.125.375.125h.438c.125.125.25.313.25.438-.125 0-.25-.125-.25-.313zm.375.438c.313-.125.438-.125.563-.125.125.125-.125.125-.125.25-.125 0-.125.125-.313.125l-.25.125H20v.125c-.125.125-.25.125-.25.125l.25-.125v-.125zM19.063 8h-.375s-.125 0-.125-.125c-.188 0-.313 0-.313.125H18v-.125l.25-.125c.125-.125.313-.313.563-.313.125.188.25.313.375.313 0 0 0 .25-.125.25z"}))};t.default=u},"6a77":function(e,t,r){"use strict";var n=r("19b2"),i=r("0642"),o=r("8797"),a=r("fc26"),s=r("e806").BADNUM,l=a._;function u(e,t,r,i){var s,l=t in e,u=t+"0"in e,c="d"+t in e;if(l||u&&c){var f=r.makeCalcdata(e,t),p=o(e,r,t,f);return[p,f]}s=u?e[t+"0"]:"name"in e&&("category"===r.type||n(e.name)&&-1!==["linear","log"].indexOf(r.type)||a.isDateTime(e.name)&&"date"===r.type)?e.name:i;for(var d="multicategory"===r.type?r.r2c_just_indices(s):r.d2c(s,0,e[t+"calendar"]),h=e._length,v=new Array(h),m=0;m<h;m++)v[m]=d;return[v]}function c(e,t){for(var r=e.length,n=new Array(r+1),i=0;i<r;i++)n[i]=e[i]-t;return n[r]=e[r-1]+t,n}function f(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=[];return t}e.exports=function(e,t){var r,o,p,w,_,E,k,T=e._fullLayout,C=i.getFromId(e,t.xaxis||"x"),S=i.getFromId(e,t.yaxis||"y"),O=[],M="violin"===t.type?"_numViolins":"_numBoxes";"h"===t.orientation?(p=C,w="x",_=S,E="y",k=!!t.yperiodalignment):(p=S,w="y",_=C,E="x",k=!!t.xperiodalignment);var P,B,L,D,I,j,R=u(t,E,_,T[M]),F=R[0],N=R[1],z=a.distinctVals(F),U=z.vals,H=z.minDiff/2,V="all"===(t.boxpoints||t.points)?a.identity:function(e){return e.v<P.lf||e.v>P.uf};if(t._hasPreCompStats){var Q=t[w],W=function(e){return p.d2c((t[e]||[])[r])},K=1/0,q=-1/0;for(r=0;r<t._length;r++){var G=F[r];if(n(G)){if(P={},P.pos=P[E]=G,k&&N&&(P.orig_p=N[r]),P.q1=W("q1"),P.med=W("median"),P.q3=W("q3"),B=[],Q&&a.isArrayOrTypedArray(Q[r]))for(o=0;o<Q[r].length;o++)j=p.d2c(Q[r][o]),j!==s&&(I={v:j,i:[r,o]},d(I,t,[r,o]),B.push(I));if(P.pts=B.sort(v),L=P[w]=B.map(m),D=L.length,P.med!==s&&P.q1!==s&&P.q3!==s&&P.med>=P.q1&&P.q3>=P.med){var $=W("lowerfence");P.lf=$!==s&&$<=P.q1?$:g(P,L,D);var Y=W("upperfence");P.uf=Y!==s&&Y>=P.q3?Y:y(P,L,D);var X=W("mean");P.mean=X!==s?X:D?a.mean(L,D):(P.q1+P.q3)/2;var Z=W("sd");P.sd=X!==s&&Z>=0?Z:D?a.stdev(L,D,P.mean):P.q3-P.q1,P.lo=b(P),P.uo=x(P);var J=W("notchspan");J=J!==s&&J>0?J:A(P,D),P.ln=P.med-J,P.un=P.med+J;var ee=P.lf,te=P.uf;t.boxpoints&&L.length&&(ee=Math.min(ee,L[0]),te=Math.max(te,L[D-1])),t.notched&&(ee=Math.min(ee,P.ln),te=Math.max(te,P.un)),P.min=ee,P.max=te}else{var re;a.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+P.q1,"median = "+P.med,"q3 = "+P.q3].join("\n")),re=P.med!==s?P.med:P.q1!==s?P.q3!==s?(P.q1+P.q3)/2:P.q1:P.q3!==s?P.q3:0,P.med=re,P.q1=P.q3=re,P.lf=P.uf=re,P.mean=P.sd=re,P.ln=P.un=re,P.min=P.max=re}K=Math.min(K,P.min),q=Math.max(q,P.max),P.pts2=B.filter(V),O.push(P)}}t._extremes[p._id]=i.findExtremes(p,[K,q],{padded:!0})}else{var ne=p.makeCalcdata(t,w),ie=c(U,H),oe=U.length,ae=f(oe);for(r=0;r<t._length;r++)if(j=ne[r],n(j)){var se=a.findBin(F[r],ie);se>=0&&se<oe&&(I={v:j,i:r},d(I,t,r),ae[se].push(I))}var le=1/0,ue=-1/0,ce=t.quartilemethod,fe="exclusive"===ce,pe="inclusive"===ce;for(r=0;r<oe;r++)if(ae[r].length>0){var de,he;if(P={},P.pos=P[E]=U[r],B=P.pts=ae[r].sort(v),L=P[w]=B.map(m),D=L.length,P.min=L[0],P.max=L[D-1],P.mean=a.mean(L,D),P.sd=a.stdev(L,D,P.mean),P.med=a.interp(L,.5),D%2&&(fe||pe))fe?(de=L.slice(0,D/2),he=L.slice(D/2+1)):pe&&(de=L.slice(0,D/2+1),he=L.slice(D/2)),P.q1=a.interp(de,.5),P.q3=a.interp(he,.5);else P.q1=a.interp(L,.25),P.q3=a.interp(L,.75);P.lf=g(P,L,D),P.uf=y(P,L,D),P.lo=b(P),P.uo=x(P);var ve=A(P,D);P.ln=P.med-ve,P.un=P.med+ve,le=Math.min(le,P.ln),ue=Math.max(ue,P.un),P.pts2=B.filter(V),O.push(P)}t._extremes[p._id]=i.findExtremes(p,t.notched?ne.concat([le,ue]):ne,{padded:!0})}return h(O,t),O.length>0?(O[0].t={num:T[M],dPos:H,posLetter:E,valLetter:w,labels:{med:l(e,"median:"),min:l(e,"min:"),q1:l(e,"q1:"),q3:l(e,"q3:"),max:l(e,"max:"),mean:"sd"===t.boxmean?l(e,"mean ± σ:"):l(e,"mean:"),lf:l(e,"lower fence:"),uf:l(e,"upper fence:")}},T[M]++,O):[{t:{empty:!0}}]};var p={text:"tx",hovertext:"htx"};function d(e,t,r){for(var n in p)a.isArrayOrTypedArray(t[n])&&(Array.isArray(r)?a.isArrayOrTypedArray(t[n][r[0]])&&(e[p[n]]=t[n][r[0]][r[1]]):e[p[n]]=t[n][r])}function h(e,t){if(a.isArrayOrTypedArray(t.selectedpoints))for(var r=0;r<e.length;r++){for(var n=e[r].pts||[],i={},o=0;o<n.length;o++)i[n[o].i]=o;a.tagSelected(n,t,i)}}function v(e,t){return e.v-t.v}function m(e){return e.v}function g(e,t,r){return 0===r?e.q1:Math.min(e.q1,t[Math.min(a.findBin(2.5*e.q1-1.5*e.q3,t,!0)+1,r-1)])}function y(e,t,r){return 0===r?e.q3:Math.max(e.q3,t[Math.max(a.findBin(2.5*e.q3-1.5*e.q1,t),0)])}function b(e){return 4*e.q1-3*e.q3}function x(e){return 4*e.q3-3*e.q1}function A(e,t){return 0===t?0:1.57*(e.q3-e.q1)/Math.sqrt(t)}},"6a79":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7,10L12,15L17,10H7Z"}))};e.exports=s},"6aa3":function(e,t,r){"use strict";var n=r("0a3e").wrap;e.exports=function(){return n({})}},"6aa6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"#119DFF",d:"M1247.981 867.856l-551.37-255.077a40.776 40.776 0 0 0-34.201 0L111.045 867.856a40.731 40.731 0 0 0-.267 73.819l551.362 259.917a40.777 40.777 0 0 0 17.374 3.887 40.722 40.722 0 0 0 17.363-3.887l551.37-259.917a40.754 40.754 0 0 0 23.37-36.994 40.74 40.74 0 0 0-23.636-36.825z"}),o.default.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"730.859",y1:"916.448",x2:"860.664",y2:"991.391"},o.default.createElement("stop",{offset:"0",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".462",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#a)",d:"M763.471 859.964c39.777-20.916 73.551.519 91.382 18.35 17.828 17.828 39.952 52.288 18.342 91.374l-160.126 50.409 50.402-160.133z"}),o.default.createElement("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"730.856",y1:"617",x2:"860.663",y2:"691.945"},o.default.createElement("stop",{offset:"0",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".462",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#b)",d:"M763.463 560.523c39.779-20.916 73.559.512 91.39 18.342 17.828 17.828 39.944 52.296 18.337 91.382l-160.121 50.404 50.394-160.128z"}),o.default.createElement("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"1020.848",y1:"750.898",x2:"1150.659",y2:"825.844"},o.default.createElement("stop",{offset:"0",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".462",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#c)",d:"M1053.46 694.414c39.774-20.921 73.549.514 91.382 18.35 17.828 17.83 39.952 52.286 18.348 91.379l-160.131 50.406 50.401-160.135z"}),o.default.createElement("linearGradient",{id:"d",gradientUnits:"userSpaceOnUse",x1:"1106.724",y1:"555.481",x2:"1031.777",y2:"425.669"},o.default.createElement("stop",{offset:".237",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".989",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#d)",d:"M1053.452 413.156c39.775-20.916 73.552.512 91.385 18.345 17.831 17.833 39.944 52.296 18.345 91.384l-160.126 50.402 50.396-160.131z"}),o.default.createElement("linearGradient",{id:"e",gradientUnits:"userSpaceOnUse",x1:"426.62",y1:"677.754",x2:"556.428",y2:"752.698"},o.default.createElement("stop",{offset:"0",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".462",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#e)",d:"M459.229 621.274c39.775-20.918 73.552.509 91.382 18.342 17.833 17.833 39.95 52.291 18.345 91.382l-160.131 50.404 50.404-160.128z"}),o.default.createElement("linearGradient",{id:"f",gradientUnits:"userSpaceOnUse",x1:"156.995",y1:"821.842",x2:"286.801",y2:"896.785"},o.default.createElement("stop",{offset:"0",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".462",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#f)",d:"M189.604 765.361c39.775-20.921 73.549.51 91.382 18.343 17.828 17.828 39.942 52.286 18.342 91.382L139.2 925.49l50.404-160.129z"}),o.default.createElement("linearGradient",{id:"g",gradientUnits:"userSpaceOnUse",x1:"242.869",y1:"578.82",x2:"167.925",y2:"449.012"},o.default.createElement("stop",{offset:".237",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".989",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#g)",d:"M189.604 436.496c39.77-20.916 73.549.512 91.382 18.345 17.828 17.828 39.939 52.291 18.342 91.382L139.2 596.626l50.404-160.13z"}),o.default.createElement("linearGradient",{id:"h",gradientUnits:"userSpaceOnUse",x1:"512.5",y1:"309.669",x2:"437.554",y2:"179.859"},o.default.createElement("stop",{offset:".237",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".989",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#h)",d:"M459.234 167.341c39.777-20.922 73.549.514 91.38 18.347 17.833 17.833 39.955 52.285 18.35 91.381l-160.138 50.404 50.408-160.132z"}),o.default.createElement("linearGradient",{id:"i",gradientUnits:"userSpaceOnUse",x1:"816.734",y1:"445.83",x2:"741.791",y2:"316.024"},o.default.createElement("stop",{offset:".237",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".989",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#i)",d:"M763.468 303.509c39.772-20.914 73.554.514 91.387 18.345 17.828 17.828 39.942 52.299 18.338 91.38l-160.126 50.409 50.401-160.134z"}))};t.default=u},"6add":function(e,t,r){"use strict";var n=r("fc26"),i=r("ce56"),o=r("3c1c").id2name,a=r("d798"),s=r("9759"),l=r("1a40"),u=r("e806").ALMOST_EQUAL,c=r("63dc").FROM_BL;function f(e,t,r){var i=r.axIds,s=r.layoutOut,l=r.hasImage,u=s._axisConstraintGroups,c=s._axisMatchGroups,f=t._id,v=f.charAt(0),m=((s._splomAxes||{})[v]||{})[f]||{},g=t._id,y="x"===g.charAt(0);function b(r,i){return n.coerce(e,t,a,r,i)}t._matchGroup=null,t._constraintGroup=null,b("constrain",l?"domain":"range"),n.coerce(e,t,{constraintoward:{valType:"enumerated",values:y?["left","center","right"]:["bottom","middle","top"],dflt:y?"center":"middle"}},"constraintoward");var x,A,w=t.type,_=[];for(x=0;x<i.length;x++)if(A=i[x],A!==g){var E=s[o(A)];E.type===w&&_.push(A)}var k=d(u,g);if(k){var T=[];for(x=0;x<_.length;x++)A=_[x],k[A]||T.push(A);_=T}var C,S,O=_.length;O&&(e.matches||m.matches)&&(C=n.coerce(e,t,{matches:{valType:"enumerated",values:_,dflt:-1!==_.indexOf(m.matches)?m.matches:void 0}},"matches"));var M=l&&!y?t.anchor:void 0;if(O&&!C&&(e.scaleanchor||M)&&(S=n.coerce(e,t,{scaleanchor:{valType:"enumerated",values:_}},"scaleanchor",M)),C){t._matchGroup=h(c,g,C,1);var P=s[o(C)],B=p(s,t)/p(s,P);y!==("x"===C.charAt(0))&&(B=(y?"x":"y")+B),h(u,g,C,B)}else e.matches&&-1!==i.indexOf(e.matches)&&n.warn("ignored "+t._name+'.matches: "'+e.matches+'" to avoid an infinite loop');if(S){var L=b("scaleratio");L||(L=t.scaleratio=1),h(u,g,S,L)}else e.scaleanchor&&-1!==i.indexOf(e.scaleanchor)&&n.warn("ignored "+t._name+'.scaleanchor: "'+e.scaleanchor+'" to avoid either an infinite loop and possibly inconsistent scaleratios, or because this axis declares a *matches* constraint.')}function p(e,t){var r=t.domain;return r||(r=e[o(t.overlaying)].domain),r[1]-r[0]}function d(e,t){for(var r=0;r<e.length;r++)if(e[r][t])return e[r];return null}function h(e,t,r,n){var i,o,a,s,l,u=d(e,t);null===u?(u={},u[t]=1,l=e.length,e.push(u)):l=e.indexOf(u);var c=Object.keys(u);for(i=0;i<e.length;i++)if(a=e[i],i!==l&&a[r]){var f=a[r];for(o=0;o<c.length;o++)s=c[o],a[s]=v(f,v(n,u[s]));return void e.splice(l,1)}if(1!==n)for(o=0;o<c.length;o++){var p=c[o];u[p]=v(n,u[p])}u[r]=1}function v(e,t){var r,n,i="",o="";"string"===typeof e&&(i=e.match(/^[xy]*/)[0],r=i.length,e=+e.substr(r)),"string"===typeof t&&(o=t.match(/^[xy]*/)[0],n=o.length,t=+t.substr(n));var a=e*t;return r||n?r&&n&&i.charAt(0)!==o.charAt(0)?r===n?a:(r>n?i.substr(n):o.substr(r))+a:i+o+e*t:a}function m(e,t){for(var r=t._size,n=r.h/r.w,i={},o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],l=e[s];if("string"===typeof l){var u=l.match(/^[xy]*/)[0],c=u.length;l=+l.substr(c);for(var f="y"===u.charAt(0)?n:1/n,p=0;p<c;p++)l*=f}i[s]=l}return i}function g(e,t){var r=e._inputDomain,n=c[e.constraintoward],i=r[0]+(r[1]-r[0])*n;e.domain=e._input.domain=[i+(r[0]-i)/t,i+(r[1]-i)/t],e.setScale()}t.handleDefaults=function(e,t,r){var i,a,s,u,c,p,d,h,v=r.axIds,m=r.axHasImage,g=t._axisConstraintGroups=[],y=t._axisMatchGroups=[];for(i=0;i<v.length;i++)u=o(v[i]),c=e[u],p=t[u],f(c,p,{axIds:v,layoutOut:t,hasImage:m[u]});function b(e,r){for(i=0;i<e.length;i++)for(s in a=e[i],a)t[o(s)][r]=a}for(b(y,"_matchGroup"),i=0;i<g.length;i++)for(s in a=g[i],a)if(p=t[o(s)],p.fixedrange){for(var x in a){var A=o(x);!1===(e[A]||{}).fixedrange&&n.warn("fixedrange was specified as false for axis "+A+" but was overridden because another axis in its constraint group has fixedrange true"),t[A].fixedrange=!0}break}i=0;while(i<g.length){for(s in a=g[i],a){p=t[o(s)],p._matchGroup&&Object.keys(p._matchGroup).length===Object.keys(a).length&&(g.splice(i,1),i--);break}i++}b(g,"_constraintGroup");var w=["constrain","range","autorange","rangemode","rangebreaks","categoryorder","categoryarray"],_=!1,E=!1;function k(){h=p[d],"rangebreaks"===d&&(E=p._hasDayOfWeekBreaks)}for(i=0;i<y.length;i++){a=y[i];for(var T=0;T<w.length;T++){var C;for(s in d=w[T],h=null,a)if(u=o(s),c=e[u],p=t[u],d in p){if(!p.matches&&(C=p,d in c)){k();break}null===h&&d in c&&k()}if("range"===d&&h&&(_=!0),"autorange"===d&&null===h&&_&&(h=!1),null===h&&d in C&&(h=C[d]),null!==h)for(s in a)p=t[o(s)],p[d]="range"===d?h.slice():h,"rangebreaks"===d&&(p._hasDayOfWeekBreaks=E,l(p,t))}}},t.enforce=function(e){var t,r,n,a,l,c,f,p,d=e._fullLayout,h=d._axisConstraintGroups||[];for(t=0;t<h.length;t++){n=m(h[t],d);var v=Object.keys(n),y=1/0,b=0,x=1/0,A={},w={},_=!1;for(r=0;r<v.length;r++)a=v[r],w[a]=l=d[o(a)],l._inputDomain?l.domain=l._inputDomain.slice():l._inputDomain=l.domain.slice(),l._inputRange||(l._inputRange=l.range.slice()),l.setScale(),A[a]=c=Math.abs(l._m)/n[a],y=Math.min(y,c),"domain"!==l.constrain&&l._constraintShrinkable||(x=Math.min(x,c)),delete l._constraintShrinkable,b=Math.max(b,c),"domain"===l.constrain&&(_=!0);if(!(y>u*b)||_)for(r=0;r<v.length;r++)if(a=v[r],c=A[a],l=w[a],f=l.constrain,c!==x||"domain"===f)if(p=c/x,"range"===f)s(l,p);else{var E=l._inputDomain,k=(l.domain[1]-l.domain[0])/(E[1]-E[0]),T=(l.r2l(l.range[1])-l.r2l(l.range[0]))/(l.r2l(l._inputRange[1])-l.r2l(l._inputRange[0]));if(p/=k,p*T<1){l.domain=l._input.domain=E.slice(),s(l,p);continue}if(T<1&&(l.range=l._input.range=l._inputRange.slice(),p*=T),l.autorange){var C=l.r2l(l.range[0]),S=l.r2l(l.range[1]),O=(C+S)/2,M=O,P=O,B=Math.abs(S-O),L=O-B*p*1.0001,D=O+B*p*1.0001,I=i.makePadFn(d,l,0),j=i.makePadFn(d,l,1);g(l,p);var R,F,N=Math.abs(l._m),z=i.concatExtremes(e,l),U=z.min,H=z.max;for(F=0;F<U.length;F++)R=U[F].val-I(U[F])/N,R>L&&R<M&&(M=R);for(F=0;F<H.length;F++)R=H[F].val+j(H[F])/N,R<D&&R>P&&(P=R);var V=(P-M)/(2*B);p/=V,M=l.l2r(M),P=l.l2r(P),l.range=l._input.range=C<S?[M,P]:[P,M]}g(l,p)}}},t.getAxisGroup=function(e,t){for(var r=e._axisMatchGroups,n=0;n<r.length;n++){var i=r[n];if(i[t])return"g"+n}return t},t.clean=function(e,t){if(t._inputDomain){for(var r=!1,n=t._id,i=e._fullLayout._axisConstraintGroups,o=0;o<i.length;o++)if(i[o][n]){r=!0;break}r&&"domain"===t.constrain||(t._input.domain=t.domain=t._inputDomain,delete t._inputDomain)}}},"6af8":function(e,t,r){"use strict";var n=Array.isArray,i="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},o="undefined"===typeof DataView?function(){}:DataView;function a(e){return i.isView(e)&&!(e instanceof o)}function s(e){return n(e)||a(e)}function l(e){return!s(e[0])}function u(e,t,r){if(s(e)){if(s(e[0])){for(var n=r,i=0;i<e.length;i++)n=t(n,e[i].length);return n}return e.length}return 0}t.isTypedArray=a,t.isArrayOrTypedArray=s,t.isArray1D=l,t.ensureArray=function(e,t){return n(e)||(e=[]),e.length=t,e},t.concat=function(){var e,t,r,i,o,a,s,l,u=[],c=!0,f=0;for(r=0;r<arguments.length;r++)i=arguments[r],a=i.length,a&&(t?u.push(i):(t=i,o=a),n(i)?e=!1:(c=!1,f?e!==i.constructor&&(e=!1):e=i.constructor),f+=a);if(!f)return[];if(!u.length)return t;if(c)return t.concat.apply(t,u);if(e){for(s=new e(f),s.set(t),r=0;r<u.length;r++)i=u[r],s.set(i,o),o+=i.length;return s}for(s=new Array(f),l=0;l<t.length;l++)s[l]=t[l];for(r=0;r<u.length;r++){for(i=u[r],l=0;l<i.length;l++)s[o+l]=i[l];o+=l}return s},t.maxRowLength=function(e){return u(e,Math.max,0)},t.minRowLength=function(e){return u(e,Math.min,1/0)}},"6b10":function(e,t,r){"use strict";var n=r("fc26"),i=r("a651"),o=r("3c1c"),a=r("8f38"),s=r("5844");e.exports=function(e,t,r){var l=e[r],u=t[r];if(l.rangeslider||t._requestRangeslider[u._id]){n.isPlainObject(l.rangeslider)||(l.rangeslider={});var c,f,p=l.rangeslider,d=i.newContainer(u,"rangeslider"),h=_("visible");if(h){_("bgcolor",t.plot_bgcolor),_("bordercolor"),_("borderwidth"),_("thickness"),_("autorange",!u.isValidRange(p.range)),_("range");var v=t._subplots;if(v)for(var m=v.cartesian.filter((function(e){return e.substr(0,e.indexOf("y"))===o.name2id(r)})).map((function(e){return e.substr(e.indexOf("y"),e.length)})),g=n.simpleMap(m,o.id2name),y=0;y<g.length;y++){var b=g[y];c=p[b]||{},f=i.newContainer(d,b,"yaxis");var x,A=t[b];c.range&&A.isValidRange(c.range)&&(x="fixed");var w=E("rangemode",x);"match"!==w&&E("range",A.range.slice())}d._input=p}}function _(e,t){return n.coerce(p,d,a,e,t)}function E(e,t){return n.coerce(c,f,s,e,t)}}},"6b38":function(e,t,r){"use strict";(function(t){var n=r("b7d1");function i(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*t.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*t.innerHeight);else{var r=e.container.getBoundingClientRect();e.canvas.width=e.width||r.right-r.left,e.canvas.height=e.height||r.bottom-r.top}}function o(e){return"function"===typeof e.getContext&&"width"in e&&"height"in e}function a(e){return"string"===typeof e.nodeName&&"function"===typeof e.appendChild&&"function"===typeof e.getBoundingClientRect}function s(e){return"function"===typeof e.drawArrays||"function"===typeof e.drawElements}function l(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}e.exports=function(e){if(e?"string"===typeof e&&(e={container:e}):e={},e=o(e)||a(e)?{container:e}:s(e)?{gl:e}:n(e,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),e.pixelRatio||(e.pixelRatio=t.pixelRatio||1),e.gl)return e.gl;if(e.canvas&&(e.container=e.canvas.parentNode),e.container){if("string"===typeof e.container){var r=document.querySelector(e.container);if(!r)throw Error("Element "+e.container+" is not found");e.container=r}o(e.container)?(e.canvas=e.container,e.container=e.canvas.parentNode):e.canvas||(e.canvas=l(),e.container.appendChild(e.canvas),i(e))}else if(!e.canvas){if("undefined"===typeof document)throw Error("Not DOM environment. Use headless-gl.");e.container=document.body||document.documentElement,e.canvas=l(),e.container.appendChild(e.canvas),i(e)}return e.gl||["webgl","experimental-webgl","webgl-experimental"].some((function(t){try{e.gl=e.canvas.getContext(t,e.attrs)}catch(r){}return e.gl})),e.gl}}).call(this,r("c8ba"))},"6b3c":function(e,t,r){"use strict";var n=r("28dd"),i=r("efce"),o=r("b205"),a=r("1d5b"),s=r("1417"),l=r("9343"),u=r("b5bb"),c=r("595c"),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function p(e,t,r,n,i,o,a,s,l,u,c){this.gl=e,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=t,this.dirty=!0,this.triShader=r,this.pickShader=n,this.trianglePositions=i,this.triangleVectors=o,this.triangleColors=s,this.triangleUVs=l,this.triangleIds=a,this.triangleVAO=u,this.triangleCount=0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.traceType=c,this.tubeScale=1,this.coneScale=2,this.vectorScale=1,this.coneOffset=.25,this._model=f,this._view=f,this._projection=f,this._resolution=[1,1]}var d=p.prototype;function h(e){for(var t=c({colormap:e,nshades:256,format:"rgba"}),r=new Uint8Array(1024),n=0;n<256;++n){for(var i=t[n],o=0;o<3;++o)r[4*n+o]=i[o];r[4*n+3]=255*i[3]}return u(r,[256,256,4],[4,0,1])}function v(e){for(var t=e.length,r=new Array(t),n=0;n<t;++n)r[n]=e[n][2];return r}function m(e,t){var r=n(e,t.meshShader.vertex,t.meshShader.fragment,null,t.meshShader.attributes);return r.attributes.position.location=0,r.attributes.color.location=2,r.attributes.uv.location=3,r.attributes.vector.location=4,r}function g(e,t){var r=n(e,t.pickShader.vertex,t.pickShader.fragment,null,t.pickShader.attributes);return r.attributes.position.location=0,r.attributes.id.location=1,r.attributes.vector.location=4,r}function y(e,t,r){var n=r.shaders;1===arguments.length&&(t=e,e=t.gl);var s=m(e,n),l=g(e,n),c=a(e,u(new Uint8Array([255,255,255,255]),[1,1,4]));c.generateMipmap(),c.minFilter=e.LINEAR_MIPMAP_LINEAR,c.magFilter=e.LINEAR;var f=i(e),d=i(e),h=i(e),v=i(e),y=i(e),b=o(e,[{buffer:f,type:e.FLOAT,size:4},{buffer:y,type:e.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:h,type:e.FLOAT,size:4},{buffer:v,type:e.FLOAT,size:2},{buffer:d,type:e.FLOAT,size:4}]),x=new p(e,c,s,l,f,d,y,h,v,b,r.traceType||"cone");return x.update(t),x}d.isOpaque=function(){return this.opacity>=1},d.isTransparent=function(){return this.opacity<1},d.pickSlots=1,d.setPickBase=function(e){this.pickId=e},d.update=function(e){e=e||{};var t=this.gl;this.dirty=!0,"lightPosition"in e&&(this.lightPosition=e.lightPosition),"opacity"in e&&(this.opacity=e.opacity),"ambient"in e&&(this.ambientLight=e.ambient),"diffuse"in e&&(this.diffuseLight=e.diffuse),"specular"in e&&(this.specularLight=e.specular),"roughness"in e&&(this.roughness=e.roughness),"fresnel"in e&&(this.fresnel=e.fresnel),void 0!==e.tubeScale&&(this.tubeScale=e.tubeScale),void 0!==e.vectorScale&&(this.vectorScale=e.vectorScale),void 0!==e.coneScale&&(this.coneScale=e.coneScale),void 0!==e.coneOffset&&(this.coneOffset=e.coneOffset),e.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=t.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=t.LINEAR,this.texture.setPixels(h(e.colormap)),this.texture.generateMipmap());var r=e.cells,n=e.positions,i=e.vectors;if(n&&r&&i){var o=[],a=[],s=[],l=[],u=[];this.cells=r,this.positions=n,this.vectors=i;var c=e.meshColor||[1,1,1,1],f=e.vertexIntensity,p=1/0,d=-1/0;if(f)if(e.vertexIntensityBounds)p=+e.vertexIntensityBounds[0],d=+e.vertexIntensityBounds[1];else for(var m=0;m<f.length;++m){var g=f[m];p=Math.min(p,g),d=Math.max(d,g)}else for(m=0;m<n.length;++m){g=n[m][2];p=Math.min(p,g),d=Math.max(d,g)}this.intensity=f||v(n),this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(m=0;m<n.length;++m)for(var y=n[m],b=0;b<3;++b)!isNaN(y[b])&&isFinite(y[b])&&(this.bounds[0][b]=Math.min(this.bounds[0][b],y[b]),this.bounds[1][b]=Math.max(this.bounds[1][b],y[b]));var x=0;e:for(m=0;m<r.length;++m){var A=r[m];switch(A.length){case 3:for(b=0;b<3;++b)for(var w=A[b],_=(y=n[w],0);_<3;++_)if(isNaN(y[_])||!isFinite(y[_]))continue e;for(b=0;b<3;++b){w=A[2-b],y=n[w];o.push(y[0],y[1],y[2],y[3]);var E=i[w];a.push(E[0],E[1],E[2],E[3]||0);var k,T=c;3===T.length?s.push(T[0],T[1],T[2],1):s.push(T[0],T[1],T[2],T[3]),k=f?[(f[w]-p)/(d-p),0]:[(y[2]-p)/(d-p),0],l.push(k[0],k[1]),u.push(m)}x+=1;break;default:break}}this.triangleCount=x,this.trianglePositions.update(o),this.triangleVectors.update(a),this.triangleColors.update(s),this.triangleUVs.update(l),this.triangleIds.update(new Uint32Array(u))}},d.drawTransparent=d.draw=function(e){e=e||{};for(var t=this.gl,r=e.model||f,n=e.view||f,i=e.projection||f,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);var u={model:r,view:n,projection:i,inverseModel:f.slice(),clipBounds:o,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],opacity:this.opacity,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,texture:0};u.inverseModel=l(u.inverseModel,u.model),t.disable(t.CULL_FACE),this.texture.bind(0);var c=new Array(16);s(c,u.view,u.model),s(c,u.projection,c),l(c,c);for(a=0;a<3;++a)u.eyePosition[a]=c[12+a]/c[15];var p=c[15];for(a=0;a<3;++a)p+=this.lightPosition[a]*c[4*a+3];for(a=0;a<3;++a){for(var d=c[12+a],h=0;h<3;++h)d+=c[4*h+a]*this.lightPosition[h];u.lightPosition[a]=d/p}if(this.triangleCount>0){var v=this.triShader;v.bind(),v.uniforms=u,this.triangleVAO.bind(),t.drawArrays(t.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},d.drawPick=function(e){e=e||{};for(var t=this.gl,r=e.model||f,n=e.view||f,i=e.projection||f,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(r),this._view=[].slice.call(n),this._projection=[].slice.call(i),this._resolution=[t.drawingBufferWidth,t.drawingBufferHeight];var s={model:r,view:n,projection:i,clipBounds:o,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},l=this.pickShader;l.bind(),l.uniforms=s,this.triangleCount>0&&(this.triangleVAO.bind(),t.drawArrays(t.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},d.pick=function(e){if(!e)return null;if(e.id!==this.pickId)return null;var t=e.value[0]+256*e.value[1]+65536*e.value[2],r=this.cells[t],n=this.positions[r[1]].slice(0,3),i={position:n,dataCoordinate:n,index:Math.floor(r[1]/48)};return"cone"===this.traceType?i.index=Math.floor(r[1]/48):"streamtube"===this.traceType&&(i.intensity=this.intensity[r[1]],i.velocity=this.vectors[r[1]].slice(0,3),i.divergence=this.vectors[r[1]][3],i.index=t),i},d.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},e.exports=y},"6b50":function(e,t,r){"use strict";var n=r("f4e9"),i=r("94d5").hovertemplateAttrs,o=r("02ea"),a=r("a876"),s=r("9092").extendFlat;e.exports=s({x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z`","jointly represent the X, Y and Z coordinates of the nth vertex."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the Y coordinates of the vertices. The nth element of vectors `x`, `y` and `z`","jointly represent the X, Y and Z coordinates of the nth vertex."].join(" ")},z:{valType:"data_array",editType:"calc+clearAxisTypes",description:["Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z`","jointly represent the X, Y and Z coordinates of the nth vertex."].join(" ")},i:{valType:"data_array",editType:"calc",description:["A vector of vertex indices, i.e. integer values between 0 and the length of the vertex","vectors, representing the *first* vertex of a triangle. For example, `{i[m], j[m], k[m]}`","together represent face m (triangle m) in the mesh, where `i[m] = n` points to the triplet","`{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `i` represents a","point in space, which is the first vertex of a triangle."].join(" ")},j:{valType:"data_array",editType:"calc",description:["A vector of vertex indices, i.e. integer values between 0 and the length of the vertex","vectors, representing the *second* vertex of a triangle. For example, `{i[m], j[m], k[m]}` ","together represent face m (triangle m) in the mesh, where `j[m] = n` points to the triplet","`{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `j` represents a","point in space, which is the second vertex of a triangle."].join(" ")},k:{valType:"data_array",editType:"calc",description:["A vector of vertex indices, i.e. integer values between 0 and the length of the vertex","vectors, representing the *third* vertex of a triangle. For example, `{i[m], j[m], k[m]}`","together represent face m (triangle m) in the mesh, where `k[m] = n` points to the triplet ","`{x[n], y[n], z[n]}` in the vertex arrays. Therefore, each element in `k` represents a","point in space, which is the third vertex of a triangle."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets the text elements associated with the vertices.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:"Same as `text`."},hovertemplate:i({editType:"calc"}),delaunayaxis:{valType:"enumerated",role:"info",values:["x","y","z"],dflt:"z",editType:"calc",description:["Sets the Delaunay axis, which is the axis that is perpendicular to the surface of the","Delaunay triangulation.","It has an effect if `i`, `j`, `k` are not provided and `alphahull` is set to indicate","Delaunay triangulation."].join(" ")},alphahull:{valType:"number",role:"style",dflt:-1,editType:"calc",description:["Determines how the mesh surface triangles are derived from the set of","vertices (points) represented by the `x`, `y` and `z` arrays, if","the `i`, `j`, `k` arrays are not supplied.","For general use of `mesh3d` it is preferred that `i`, `j`, `k` are","supplied.","If *-1*, Delaunay triangulation is used, which is mainly suitable if the","mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`.","In case the `delaunayaxis` intersects the mesh surface at more than one point","it will result triangles that are very long in the dimension of `delaunayaxis`.","If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value","signals the use of the alpha-shape algorithm, _and_ its value","acts as the parameter for the mesh fitting.","If *0*, the convex-hull algorithm is used. It is suitable for convex bodies","or if the intention is to enclose the `x`, `y` and `z` point set into a convex","hull."].join(" ")},intensity:{valType:"data_array",editType:"calc",description:["Sets the intensity values for vertices or cells","as defined by `intensitymode`.","It can be used for plotting fields on meshes."].join(" ")},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc",role:"info",description:["Determines the source of `intensity` values."].join(" ")},color:{valType:"color",role:"style",editType:"calc",description:"Sets the color of the whole mesh"},vertexcolor:{valType:"data_array",role:"style",editType:"calc",description:["Sets the color of each vertex","Overrides *color*. While Red, green and blue colors","are in the range of 0 and 255; in the case of having","vertex color data in RGBA format, the alpha color","should be normalized to be between 0 and 1."].join(" ")},facecolor:{valType:"data_array",role:"style",editType:"calc",description:["Sets the color of each face","Overrides *color* and *vertexcolor*."].join(" ")},transforms:void 0},n("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:o.opacity,flatshading:{valType:"boolean",role:"style",dflt:!1,editType:"calc",description:["Determines whether or not normal smoothing is applied to the meshes,","creating meshes with an angular, low-poly look via flat reflections."].join(" ")},contour:{show:s({},o.contours.x.show,{description:["Sets whether or not dynamic contours are shown on hover"].join(" ")}),color:o.contours.x.color,width:o.contours.x.width,editType:"calc"},lightposition:{x:s({},o.lightposition.x,{dflt:1e5}),y:s({},o.lightposition.y,{dflt:1e5}),z:s({},o.lightposition.z,{dflt:0}),editType:"calc"},lighting:s({vertexnormalsepsilon:{valType:"number",role:"style",min:0,max:1,dflt:1e-12,editType:"calc",description:"Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry."},facenormalsepsilon:{valType:"number",role:"style",min:0,max:1,dflt:1e-6,editType:"calc",description:"Epsilon for face normals calculation avoids math issues arising from degenerate geometry."},editType:"calc"},o.lighting),hoverinfo:s({},a.hoverinfo,{editType:"calc"}),showlegend:s({},a.showlegend,{dflt:!1})})},"6b5f":function(e,t,r){"use strict";var n=r("bb71");t.name="pie",t.plot=function(e,r,i,o){n.plotBasePlot(t.name,e,r,i,o)},t.clean=function(e,r,i,o){n.cleanBasePlot(t.name,e,r,i,o)}},"6b75":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r("ab5b")),i=o(r("d7bc"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return n.default.createElement("a",{href:"#",style:e.style},e.children)};a.propTypes={style:i.default.object.isRequired,children:i.default.oneOfType([i.default.array,i.default.element]).isRequired};var s=a;t.default=s},"6b78":function(e,t,r){"use strict";var n=["orientation","groupnorm","stackgaps"];e.exports=function(e,t,r,i){var o=r._scatterStackOpts,a=i("stackgroup");if(a){var s=t.xaxis+t.yaxis,l=o[s];l||(l=o[s]={});var u=l[a],c=!1;u?u.traces.push(t):(u=l[a]={traceIndices:[],traces:[t]},c=!0);for(var f={orientation:t.x&&!t.y?"h":"v"},p=0;p<n.length;p++){var d=n[p],h=d+"Found";if(!u[h]){var v=void 0!==e[d],m="orientation"===d;if((v||c)&&(u[d]=i(d,f[d]),m&&(u.fillDflt="h"===u[d]?"tonextx":"tonexty"),v&&(u[h]=!0,!c&&(delete u.traces[0][d],m))))for(var g=0;g<u.traces.length-1;g++){var y=u.traces[g];y._input.fill!==y.fill&&(y.fill=u.fillDflt)}}}return u}}},"6b79":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}))};e.exports=s},"6bd2":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedVisibilitySelect=void 0;var i=d(r("ab5b")),o=f(r("d7bc")),a=r("4578"),s=r("e419"),l=f(r("5174")),u=f(r("e518")),c=f(r("7515"));function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.setMode=i.setMode.bind(E(i)),i.setLocals=i.setLocals.bind(E(i)),i.setLocals(e),i}return b(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setLocals(e)}},{key:"setLocals",value:function(e){this.mode=void 0===e.fullValue||e.fullValue===s.MULTI_VALUED_PLACEHOLDER?this.props.defaultOpt:e.fullValue}},{key:"setMode",value:function(e){this.props.updateContainer(m({},this.props.attr,e))}},{key:"render",value:function(){var e=this.props,t=e.dropdown,r=e.clearable,n=e.options,o=e.showOn,a=e.attr,s=e.label;return i.default.createElement(i.default.Fragment,null,t?i.default.createElement(c.default,{attr:a,label:s,options:n,fullValue:this.mode,updatePlot:this.setMode,clearable:r}):i.default.createElement(u.default,{attr:a,label:s,options:n,fullValue:this.mode,updatePlot:this.setMode}),Array.isArray(o)&&o.includes(this.mode)||this.mode===o?this.props.children:null)}}]),r}(i.Component);t.UnconnectedVisibilitySelect=C,C.propTypes=v({fullValue:o.default.any,updatePlot:o.default.func,dropdown:o.default.bool,clearable:o.default.bool,showOn:o.default.oneOfType([o.default.number,o.default.bool,o.default.string,o.default.array]),defaultOpt:o.default.oneOfType([o.default.number,o.default.bool,o.default.string]),label:o.default.string,attr:o.default.string},l.default.propTypes),C.contextTypes={updateContainer:o.default.func},C.displayName="UnconnectedVisibilitySelect";var S=(0,a.connectToContainer)(C);t.default=S},"6bd5":function(e,t,r){"use strict";var n=r("c258"),i=r("0625"),o=r("8a7d"),a=r("bc6b");e.exports=function(e,t){var r=i(e,t),s=r[0].z;o(t,s);var l,u=t.contours,c=n.extractOpts(t);if("heatmap"===u.coloring&&c.auto&&!1===t.autocontour){var f=u.start,p=a(u),d=u.size||1,h=Math.floor((p-f)/d)+1;isFinite(d)||(d=1,h=1);var v=f-d/2,m=v+h*d;l=[v,m]}else l=s;return n.calc(e,t,{vals:l,cLetter:"z"}),r}},"6c5a":function(e,t,r){"use strict";t.isLeftAnchor=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},t.isCenterAnchor=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},t.isRightAnchor=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},t.isTopAnchor=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},t.isMiddleAnchor=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},t.isBottomAnchor=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}},"6c77":function(e,t,r){"use strict";e.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},"6ca5":function(e,t,r){"use strict";e.exports=r("89ab")},"6cab":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,19V8H5V19H19M16,1H18V3H19C20.1,3 21,3.9 21,5V19C21,20.1 20.1,21 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1M7,10H9V12H7V10M15,10H17V12H15V10M11,14H13V16H11V14M15,14H17V16H15V14Z"}))};e.exports=s},"6cd4":function(e,t,r){var n=r("8057"),i=r("48a0"),o=r("1304"),a=r("6747");function s(e,t){var r=a(e)?n:i;return r(e,o(t))}e.exports=s},"6cd7":function(e,t,r){"use strict";var n=r("8cb4"),i=n.substr;function o(e,t){var r=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var n=i(e,0,t.offset).length,o=n+i(e,t.offset,t.length).length,a=n;a<o;a++)r[a]=t.key})),r}e.exports=o},"6ceb":function(e,t,r){var n=r("fda9");e.exports=function(e){return n("webgl",e)}},"6d08":function(e,t,r){(function(t){(function(){var r,n,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(r()-a)/1e6},n=t.hrtime,r=function(){var e;return e=n(),1e9*e[0]+e[1]},o=r(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,r("4362"))},"6d0a":function(e,t,r){"use strict";e.exports=r("c7c2")},"6d5b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r("ab5b")),i=u(r("d7bc")),o=r("c85e"),a=r("e688"),s=r("3366"),l=u(r("ac8b"));function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,s.traceTypes)(l.default).map((function(e){var t=e.value;return t})),f=function(e,t){var r=t.localize;return n.default.createElement(o.TraceAccordion,{canGroup:!0},n.default.createElement(o.TextEditor,{label:r("Name"),attr:"name",richTextOnly:!0}),n.default.createElement(o.NumericFraction,{label:r("Trace Opacity"),attr:"opacity"}),n.default.createElement(o.TraceTypeSection,{name:r("Leaves"),traceTypes:["sunburst","treemap"],mode:"trace"},n.default.createElement(a.LevelRendered,{label:r("Start at Level"),attr:"level"}),n.default.createElement(o.Numeric,{label:r("Max Depth"),attr:"maxdepth",min:-1,step:1}),n.default.createElement(o.NumericFraction,{label:r("Opacity"),attr:"leaf.opacity"})),n.default.createElement(o.PlotlySection,{name:r("Legend")},n.default.createElement(a.ShowInLegend,{label:r("Show in Legend"),attr:"showlegend",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}],showOn:!0},n.default.createElement(o.GroupCreator,{label:r("Legend Group"),prefix:r("Group"),attr:"legendgroup"}))),n.default.createElement(o.PlotlySection,{name:r("Cones & Streamtubes")},n.default.createElement(o.Numeric,{label:r("Size"),attr:"sizeref",stepmode:"relative"}),n.default.createElement(o.Dropdown,{label:r("Size Mode"),options:[{label:r("scaled"),value:"scaled"},{label:r("absolute"),value:"absolute"}],attr:"sizemode"}),n.default.createElement(o.Dropdown,{label:r("Cone Anchor"),options:[{label:r("Tip"),value:"tip"},{label:r("Tail"),value:"tail"},{label:r("Center"),value:"center"},{label:r("Center of Mass"),value:"cm"}],attr:"anchor"}),n.default.createElement(o.Numeric,{label:r("Max Tube segments"),attr:"maxdisplayed"})),n.default.createElement(o.MultiColorPicker,{label:r("Color"),attr:"color"}),n.default.createElement(o.TraceTypeSection,{name:r("Segment Colors"),traceTypes:["pie","sunburst","treemap","funnelarea"],mode:"trace"},n.default.createElement(o.LayoutSection,{attr:"name"},n.default.createElement(o.ColorwayPicker,{label:r("Colors"),attr:"piecolorway"}),n.default.createElement(o.Radio,{label:r("Extended Colors"),attr:"extendpiecolors",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}),n.default.createElement(o.ColorwayPicker,{label:r("Colors"),attr:"sunburstcolorway"}),n.default.createElement(o.ColorwayPicker,{label:r("Colors"),attr:"treemapcolorway"}),n.default.createElement(o.Radio,{label:r("Extended Colors"),attr:"extendsunburstcolors",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Extended Colors"),attr:"extendtreemapcolors",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}),n.default.createElement(o.ColorwayPicker,{label:r("Colors"),attr:"funnelareacolorway"}),n.default.createElement(o.Radio,{label:r("Extended Colors"),attr:"extendfunnelareacolors",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}))),n.default.createElement(o.PlotlySection,{name:r("Funnel Dimensions"),traceTypes:["funnelarea"],attr:"aspectratio"},n.default.createElement(o.Numeric,{label:r("Aspect Ratio"),attr:"aspectratio",step:.01,min:0,max:2,showSlider:!0}),n.default.createElement(o.NumericFraction,{label:r("Base Ratio"),attr:"baseratio"})),n.default.createElement(o.PlotlySection,{name:r("Subplot Title"),attr:"title.text"},n.default.createElement(o.TextEditor,{label:r("Name"),attr:"title.text"}),n.default.createElement(o.Dropdown,{label:"Title Position",attr:"titleposition",options:[{label:r("Top Left"),value:"top left"},{label:r("Top Center"),value:"top center"},{label:r("Top Right"),value:"top right"},{label:r("Middle Center"),value:"middle center"},{label:r("Bottom Left"),value:"bottom left"},{label:r("Bottom Center"),value:"bottom center"},{label:r("Bottom Right"),value:"bottom right"}]}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"title.font.family",clearable:!1}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"title.font.size",units:"px"})),n.default.createElement(o.PlotlySection,{name:r("Values")},n.default.createElement(a.BinningDropdown,{label:r("Histogram Function"),attr:"histfunc"}),n.default.createElement(o.Dropdown,{label:r("Histogram Normalization"),options:[{label:r("Number of Occurences"),value:""},{label:r("Percent"),value:"percent"},{label:r("Probability"),value:"probability"},{label:r("Density"),value:"density"},{label:r("Probability Density"),value:"probability density"}],attr:"histnorm"})),n.default.createElement(o.PlotlySection,{name:r("Cumulative")},n.default.createElement(o.Radio,{label:r("Cumulative"),attr:"cumulative.enabled",options:[{label:r("Enabled"),value:!0},{label:r("Disabled"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Direction"),attr:"cumulative.direction",options:[{label:r("Increasing"),value:"increasing"},{label:r("Decreasing"),value:"decreasing"}]}),n.default.createElement(o.Radio,{label:r("Current Bin"),attr:"cumulative.currentbin",options:[{label:r("Include"),value:"include"},{label:r("Exclude"),value:"exclude"},{label:r("Half"),value:"half"}]})),n.default.createElement(o.PlotlySection,{name:r("Header")},n.default.createElement(o.Numeric,{label:r("Height"),attr:"header.height"}),n.default.createElement(o.MultiColorPicker,{label:r("Fill Color"),attr:"header.fill.color"}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"header.font.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"header.font.size"}),n.default.createElement(o.Dropdown,{label:r("Text Alignment"),options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}],attr:"header.align"}),n.default.createElement(o.MultiColorPicker,{label:r("Font Color"),attr:"header.font.color"}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"header.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Border Color"),attr:"header.line.color"})),n.default.createElement(o.PlotlySection,{name:r("Cells")},n.default.createElement(o.Numeric,{label:r("Height"),attr:"cells.height"}),n.default.createElement(o.MultiColorPicker,{label:r("Fill Color"),attr:"cells.fill.color"}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"cells.font.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"cells.font.size"}),n.default.createElement(o.Dropdown,{label:r("Text Alignment"),options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}],attr:"cells.align"}),n.default.createElement(o.MultiColorPicker,{label:r("Font Color"),attr:"cells.font.color"}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"cells.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Border Color"),attr:"cells.line.color"})),n.default.createElement(o.PlotlySection,{name:r("Display")},n.default.createElement(o.Flaglist,{attr:"mode",options:[{label:r("Points"),value:"markers"},{label:r("Lines"),value:"lines"},{label:r("Text"),value:"text"}]}),n.default.createElement(o.Radio,{attr:"flatshading",label:r("Flatshading"),options:[{label:r("Enable"),value:!0},{label:r("Disable"),value:!1}]})),n.default.createElement(o.TraceTypeSection,{name:r("Bar Grouping, Sizing and Spacing"),traceTypes:["bar","histogram","funnel","waterfall"],mode:"trace"},n.default.createElement(o.LayoutSection,{attr:"name"},n.default.createElement(o.Dropdown,{label:r("Bar Mode"),attr:"barmode",options:[{label:r("Grouped"),value:"group"},{label:r("Positive/Negative Stacked"),value:"relative"},{label:r("Strict Sum Stacked"),value:"stack"},{label:r("Overlaid"),value:"overlay"}],clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Normalization"),attr:"barnorm",options:[{label:r("None"),value:""},{label:r("Fraction"),value:"fraction"},{label:r("Percent"),value:"percent"}],clearable:!1}),n.default.createElement(o.NumericFractionInverse,{label:r("Bar Width"),attr:"bargap"}),n.default.createElement(o.NumericFraction,{label:r("Bar Padding"),attr:"bargroupgap"}),n.default.createElement(o.Dropdown,{label:r("Bar Mode"),attr:"funnelmode",options:[{label:r("Grouped"),value:"group"},{label:r("Stacked"),value:"stack"},{label:r("Overlaid"),value:"overlay"}],clearable:!1}),n.default.createElement(o.NumericFractionInverse,{label:r("Bar Width"),attr:"funnelgap"}),n.default.createElement(o.NumericFraction,{label:r("Bar Padding"),attr:"funnelgroupgap"}),n.default.createElement(o.Dropdown,{label:r("Bar Mode"),attr:"waterfallmode",options:[{label:r("Grouped"),value:"group"},{label:r("Stacked"),value:"stack"},{label:r("Overlaid"),value:"overlay"}],clearable:!1}),n.default.createElement(o.NumericFractionInverse,{label:r("Bar Width"),attr:"waterfallgap"}),n.default.createElement(o.NumericFraction,{label:r("Bar Padding"),attr:"waterfallgroupgap"}))),n.default.createElement(o.PlotlySection,{name:r("Binning")},n.default.createElement(o.NumericOrDate,{label:r("X Bin Start"),attr:"xbins.start",axis:"x"}),n.default.createElement(o.NumericOrDate,{label:r("X Bin End"),attr:"xbins.end",axis:"x"}),n.default.createElement(o.Numeric,{label:r("Max X Bins"),attr:"nbinsx"}),n.default.createElement(o.AxisInterval,{label:r("X Bin Size"),attr:"xbins.size",axis:"x"}),n.default.createElement(o.NumericOrDate,{label:r("Y Bin Start"),attr:"ybins.start",axis:"y"}),n.default.createElement(o.NumericOrDate,{label:r("Y Bin End"),attr:"ybins.end",axis:"y"}),n.default.createElement(o.Numeric,{label:r("Max Y Bins"),attr:"nbinsy"}),n.default.createElement(o.AxisInterval,{label:r("Y Bin Size"),attr:"ybins.size",axis:"y"})),n.default.createElement(o.PlotlySection,{label:r("Bar Position")},n.default.createElement(o.NumericOrDate,{label:r("Base"),attr:"base"}),n.default.createElement(o.Numeric,{label:r("Offset"),attr:"offset"}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"width"})),n.default.createElement(o.TraceTypeSection,{name:r("Box Size and Spacing"),traceTypes:["box"],mode:"trace"},n.default.createElement(o.LayoutSection,{attr:"name"},n.default.createElement(o.Radio,{label:r("Box Mode"),attr:"boxmode",options:[{label:r("Overlay"),value:"overlay"},{label:r("Group"),value:"group"}]}),n.default.createElement(o.NumericFractionInverse,{label:r("Box Width"),attr:"boxgap"}),n.default.createElement(o.NumericFraction,{label:r("Box Padding"),attr:"boxgroupgap"}))),n.default.createElement(o.TraceTypeSection,{name:r("Violin Size and Spacing"),traceTypes:["violin"],mode:"trace"},n.default.createElement(o.LayoutSection,{attr:"name"},n.default.createElement(o.Radio,{label:r("Violin Mode"),attr:"violinmode",options:[{label:r("Overlay"),value:"overlay"},{label:r("Group"),value:"group"}]}),n.default.createElement(o.NumericFractionInverse,{label:r("Violin Width"),attr:"violingap"}),n.default.createElement(o.NumericFraction,{label:r("Violin Padding"),attr:"violingroupgap"}))),n.default.createElement(o.NumericFraction,{label:r("Whisker Width"),attr:"whiskerwidth"}),n.default.createElement(o.TraceMarkerSection,null,n.default.createElement(o.Radio,{label:r("Order"),attr:"sort",options:[{label:r("Sorted"),value:!0},{label:r("Unsorted"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Direction"),attr:"direction",options:[{label:r("Clockwise"),value:"clockwise"},{label:r("Counterclockwise"),value:"counterclockwise"}]}),n.default.createElement(o.Numeric,{label:r("Rotation"),attr:"rotation"}),n.default.createElement(o.NumericFraction,{label:r("Hole Size"),attr:"hole"}),n.default.createElement(o.NumericFraction,{label:r("Pull"),attr:"pull"}),n.default.createElement(o.Dropdown,{options:[{label:r("Show All"),value:"all"},{label:r("Outliers"),value:"outliers"},{label:r("Suspected Outliers"),value:"suspectedoutliers"},{label:r("Hide"),value:!1}],attr:"boxpoints",clearable:!1}),n.default.createElement(o.Dropdown,{options:[{label:r("Show All"),value:"all"},{label:r("Outliers"),value:"outliers"},{label:r("Suspected Outliers"),value:"suspectedoutliers"},{label:r("Hide"),value:!1}],attr:"points",clearable:!1}),n.default.createElement(o.NumericFraction,{label:r("Jitter"),attr:"jitter"}),n.default.createElement(o.Numeric,{label:r("Position"),attr:"pointpos",step:.1,showSlider:!0}),n.default.createElement(o.MarkerColor,{suppressMultiValuedMessage:!0,label:r("Color"),attr:"marker.color",labelWidth:80}),n.default.createElement(o.NumericFraction,{label:r("Point Opacity"),attr:"marker.opacity"}),n.default.createElement(o.MarkerSize,{label:r("Size"),attr:"marker.size"}),n.default.createElement(a.NumericReciprocal,{label:r("Size Scale"),attr:"marker.sizeref",step:.2,stepmode:"relative"}),n.default.createElement(o.Radio,{label:r("Size Mode"),attr:"marker.sizemode",options:[{label:r("Area"),value:"area"},{label:r("Diameter"),value:"diameter"}]}),n.default.createElement(o.Numeric,{label:r("Minimum Size"),attr:"marker.sizemin"}),n.default.createElement(o.SymbolSelector,{label:r("Symbol"),attr:"marker.symbol"}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"marker.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Border Color"),attr:"marker.line.color"}),n.default.createElement(o.Numeric,{label:r("Max Number of Points"),attr:"marker.maxdisplayed"})),n.default.createElement(o.PlotlySection,{name:r("Connector Styles")},n.default.createElement(o.Radio,{attr:"connector.visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.MultiColorPicker,{label:r("Fill Color"),attr:"connector.fillcolor"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"connector.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"connector.line.color"}),n.default.createElement(o.LineDashSelector,{label:r("Line Type"),attr:"connector.line.dash"}),n.default.createElement(o.Dropdown,{label:r("Line Shape"),options:[{label:r("Spanning"),value:"spanning"},{label:r("Between"),value:"between"}],attr:"connector.mode",clearable:!1})),n.default.createElement(o.PlotlySection,{name:r("Increasing Marker Styles")},n.default.createElement(o.TextEditor,{label:r("Name"),attr:"increasing.name",richTextOnly:!0}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"increasing.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"increasing.line.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Marker Color"),attr:"increasing.marker.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"increasing.marker.line.color"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"increasing.marker.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Fill Color"),attr:"increasing.fillcolor"}),n.default.createElement(o.LineDashSelector,{label:r("Type"),attr:"increasing.line.dash"}),n.default.createElement(o.Radio,{label:r("Show in Legend"),attr:"increasing.showlegend",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Decreasing Marker Styles")},n.default.createElement(o.TextEditor,{label:r("Name"),attr:"decreasing.name",richTextOnly:!0}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"decreasing.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"decreasing.line.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Marker Color"),attr:"decreasing.marker.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"decreasing.marker.line.color"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"decreasing.marker.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Fill Color"),attr:"decreasing.fillcolor"}),n.default.createElement(o.LineDashSelector,{label:r("Type"),attr:"decreasing.line.dash"}),n.default.createElement(o.Radio,{label:r("Show in Legend"),attr:"decreasing.showlegend",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Total Marker Styles")},n.default.createElement(o.MultiColorPicker,{label:r("Marker Color"),attr:"totals.marker.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"totals.marker.line.color"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"totals.marker.line.width"})),n.default.createElement(o.PlotlySection,{name:r("Ticks")},n.default.createElement(o.Numeric,{label:r("Width"),attr:"tickwidth"})),n.default.createElement(o.PlotlySection,{name:r("Contours")},n.default.createElement(o.Radio,{label:r("Type"),attr:"contours.type",options:[{label:r("Levels"),value:"levels"},{label:r("Constraint"),value:"constraint"}]}),n.default.createElement(o.Dropdown,{label:r("Coloring"),attr:"contours.coloring",options:[{label:r("Fill"),value:"fill"},{label:r("Heatmap"),value:"heatmap"},{label:r("Lines"),value:"lines"},{label:r("None"),value:"none"}],clearable:!1}),n.default.createElement(o.Radio,{label:r("Contour Lines"),attr:"contours.showlines",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Contour Labels"),attr:"contours.showlabels",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Number of Contours"),attr:"autocontour",options:[{label:r("Auto"),value:!0},{label:r("Custom"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Max Contours"),attr:"ncontours"}),n.default.createElement(o.ContourNumeric,{label:r("Step Size"),attr:"contours.size"}),n.default.createElement(o.ContourNumeric,{label:r("Min Contour"),attr:"contours.start"}),n.default.createElement(o.ContourNumeric,{label:r("Max Contour"),attr:"contours.end"})),n.default.createElement(o.TraceTypeSection,{name:r("Stacking"),traceTypes:["scatter"],mode:"trace"},n.default.createElement(o.GroupCreator,{label:r("Group"),prefix:r("Stack"),attr:"stackgroup"}),n.default.createElement(o.Radio,{label:r("Gaps"),attr:"stackgaps",options:[{label:r("Infer Zero"),value:"infer zero"},{label:r("Interpolate"),value:"interpolate"}]}),n.default.createElement(o.Radio,{label:r("Orientation"),attr:"orientation",options:[{label:r("Horizontal"),value:"h"},{label:r("Vertical"),value:"v"}]}),n.default.createElement(o.Radio,{label:r("Normalization"),attr:"groupnorm",options:[{label:r("None"),value:""},{label:r("Fraction"),value:"fraction"},{label:r("Percent"),value:"percent"}]})),n.default.createElement(o.TraceTypeSection,{name:r("Lines"),traceTypes:["scatter","contour","scatterternary","scatterpolar","scatterpolargl","box","violin","scatter3d","scattergl","scattergeo","parcoords","parcats","scattermapbox","scattercarpet","contourcarpet","ohlc","candlestick","histogram2dcontour"],mode:"trace"},n.default.createElement(o.Numeric,{label:r("Width"),attr:"line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Color"),attr:"line.color"}),n.default.createElement(o.Radio,{label:r("Color Bar"),attr:"line.showscale",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.ColorscalePicker,{label:r("Colorscale"),attr:"line.colorscale"}),n.default.createElement(o.LineDashSelector,{label:r("Type"),attr:"line.dash"}),n.default.createElement(o.LineShapeSelector,{label:r("Shape"),attr:"line.shape"}),n.default.createElement(o.Numeric,{label:r("Smoothing"),attr:"line.smoothing",showSlider:!0,step:.1}),n.default.createElement(o.Radio,{label:r("Connect Gaps"),attr:"connectgaps",options:[{label:r("Connect"),value:!0},{label:r("Blank"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Filled Area")},n.default.createElement(o.FillDropdown,{attr:"fill",label:r("Fill to")}),n.default.createElement(o.MultiColorPicker,{label:r("Color"),attr:"fillcolor"})),n.default.createElement(o.PlotlySection,{name:r("Notches")},n.default.createElement(o.Radio,{attr:"notched",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Width"),attr:"notchwidth",min:0,max:.5,step:.1})),n.default.createElement(o.TraceTypeSection,{name:r("Text"),traceTypes:c.filter((function(e){return!["histogram2d","histogram2dcontour","parcoords","parcats","sankey","table","scattercarpet","carpet"].includes(e)})),mode:"trace"},n.default.createElement(o.TextPosition,{label:r("Text Position"),attr:"textposition"}),n.default.createElement(o.HoverTemplateSwitch,{attr:"texttemplate",label:r("Mode")}),n.default.createElement(a.TextInfo,{attr:"textinfo",label:r("Show")}),n.default.createElement(o.HoverTemplateText,{attr:"texttemplate",label:r("Template")}),n.default.createElement(o.DataSelector,{label:r("Text"),attr:"text"}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"textfont.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"textfont.size",units:"px"}),n.default.createElement(o.MultiColorPicker,{label:r("Font Color"),attr:"textfont.color"}),n.default.createElement(o.Dropdown,{label:r("Inside Text Orientation"),options:[{label:r("Auto"),value:"auto"},{label:r("Radial"),value:"radial"},{label:r("Tangential"),value:"tangential"},{label:r("Horizontal"),value:"horizontal"}],attr:"insidetextorientation",clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Text Angle"),options:[{label:r("Auto"),value:"auto"},{label:r("Horizontal"),value:0},{label:r("Vertical Up"),value:-90},{label:r("Vertical Down"),value:90},{label:r("Angled Down"),value:45},{label:r("Angled Up"),value:-45}],attr:"textangle",clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Constrain Text"),options:[{label:r("Inside"),value:"inside"},{label:r("Outside"),value:"outside"},{label:r("Both"),value:"both"},{label:r("None"),value:"none"}],attr:"constraintext",clearable:!1}),n.default.createElement(o.Radio,{label:r("Clip on Axes"),attr:"cliponaxis",options:[{label:r("Yes"),value:!0},{label:r("No"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Colorscale")},n.default.createElement(o.ColorscalePicker,{label:r("Colorscale"),attr:"colorscale"}),n.default.createElement(o.Radio,{label:r("Color Bar"),attr:"showscale",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Radio,{label:r("Orientation"),attr:"reversescale",options:[{label:r("Normal"),value:!1},{label:r("Reversed"),value:!0}]}),n.default.createElement(o.VisibilitySelect,{label:r("Range"),attr:"zauto",options:[{label:r("Auto"),value:!0},{label:r("Custom"),value:!1}],showOn:!1,defaultOpt:!0},n.default.createElement(o.Numeric,{label:r("Min"),attr:"zmin"}),n.default.createElement(o.Numeric,{label:r("Max"),attr:"zmax"})),n.default.createElement(o.VisibilitySelect,{label:r("Range"),attr:"cauto",options:[{label:r("Auto"),value:!0},{label:r("Custom"),value:!1}],showOn:!1,defaultOpt:!0},n.default.createElement(o.Numeric,{label:r("Min"),attr:"cmin"}),n.default.createElement(o.Numeric,{label:r("Max"),attr:"cmax"})),n.default.createElement(o.Radio,{label:r("Smoothing"),attr:"zsmooth",options:[{label:r("On"),value:"best"},{label:r("Off"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Gaps Between Cells")},n.default.createElement(o.Numeric,{label:r("Horizontal Gap"),attr:"xgap"}),n.default.createElement(o.Numeric,{label:r("Vertical Gap"),attr:"ygap"})),n.default.createElement(o.PlotlySection,{name:r("Heatmap")},n.default.createElement(o.Numeric,{label:r("Horizontal Gaps"),attr:"xgap"}),n.default.createElement(o.Numeric,{label:r("Vertical Gaps"),attr:"ygap"})),n.default.createElement(o.TraceTypeSection,{name:r("Gaps in Data"),traceTypes:["heatmap","contour","heatmapgl"],mode:"trace"},n.default.createElement(o.Radio,{label:r("Interpolate Gaps"),attr:"connectgaps",options:[{label:r("On"),value:!0},{label:r("Off"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Lighting")},n.default.createElement(o.NumericFraction,{label:r("Ambient"),attr:"lighting.ambient"}),n.default.createElement(o.NumericFraction,{label:r("Diffuse"),attr:"lighting.diffuse"}),n.default.createElement(o.NumericFraction,{label:r("Specular"),attr:"lighting.specular"}),n.default.createElement(o.NumericFraction,{label:r("Roughness"),attr:"lighting.roughness"}),n.default.createElement(o.NumericFraction,{label:r("Fresnel"),attr:"lighting.fresnel"}),n.default.createElement(o.NumericFraction,{label:r("Vertex Normal"),attr:"lighting.vertexnormalsepsilon"}),n.default.createElement(o.NumericFraction,{label:r("Face Normal"),attr:"lighting.facenormalsepsilon"})),n.default.createElement(o.PlotlySection,{name:r("Light Position")},n.default.createElement(o.NumericFraction,{label:r("X"),attr:"lightposition.x"}),n.default.createElement(o.NumericFraction,{label:r("Y"),attr:"lightposition.y"}),n.default.createElement(o.NumericFraction,{label:r("Z"),attr:"lightposition.z"})),n.default.createElement(o.PlotlySection,{name:r("Scaling")},n.default.createElement(o.GroupCreator,{label:r("Scale Group"),prefix:r("Group"),attr:"scalegroup"}),n.default.createElement(o.Radio,{label:r("Scale Mode"),attr:"scalemode",options:[{label:r("Width"),value:"width"},{label:r("Count"),value:"count"}]}),n.default.createElement(o.Radio,{label:r("Span Mode"),attr:"spanmode",options:[{label:r("Soft"),value:"soft"},{label:r("Hard"),value:"hard"},{label:r("Manual"),value:"manual"}]}),n.default.createElement(o.Numeric,{label:r("Bandwidth"),attr:"bandwidth"}),n.default.createElement(o.Numeric,{label:r("Span"),attr:"span"}),n.default.createElement(o.Radio,{attr:"side",label:r("Visible Sides"),options:[{label:r("Both"),value:"both"},{label:r("Positive"),value:"positive"},{label:r("Negative"),value:"negative"}]})),n.default.createElement(o.PlotlySection,{name:r("Box Mean")},n.default.createElement(o.Radio,{attr:"boxmean",options:[{label:r("Mean"),value:!0},{label:r("Mean & SD"),value:"sd"},{label:r("None"),value:!1}]})),n.default.createElement(o.PlotlySection,{name:r("Box")},n.default.createElement(o.Radio,{attr:"box.visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.NumericFraction,{label:r("Box Width"),attr:"box.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Box Fill Color"),attr:"box.color"}),n.default.createElement(o.NumericFraction,{label:r("Box Line Width"),attr:"box.line.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Box Line Color"),attr:"box.line.color"})),n.default.createElement(o.PlotlySection,{name:r("Meanline")},n.default.createElement(o.Radio,{attr:"meanline.visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.NumericFraction,{label:r("Meanline Width"),attr:"meanline.width"}),n.default.createElement(o.MultiColorPicker,{label:r("Meanline Color"),attr:"meanline.color"})),n.default.createElement(o.PlotlySection,{name:r("Nodes")},n.default.createElement(o.ColorArrayPicker,{label:r("Color"),attr:"node.color"}),n.default.createElement(o.Numeric,{label:r("Padding"),attr:"node.pad",min:0}),n.default.createElement(o.Numeric,{label:r("Thickness"),attr:"node.thickness",min:0}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"node.line.color"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"node.line.width",min:0}),n.default.createElement(o.Dropdown,{label:r("Arrangement"),attr:"arrangement",options:[{label:r("Snap"),value:"snap"},{label:r("Perpendicular"),value:"perpendicular"},{label:r("Freeform"),value:"freeform"},{label:r("Fixed"),value:"fixed"}],clearable:!1})),n.default.createElement(o.PlotlySection,{name:r("Links")},n.default.createElement(o.ColorArrayPicker,{label:r("Color"),attr:"link.color"}),n.default.createElement(o.MultiColorPicker,{label:r("Line Color"),attr:"link.line.color"}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"link.line.width",min:0})),n.default.createElement(o.PlotlySection,{name:r("Path Bar"),attr:"pathbar.visible"},n.default.createElement(o.Radio,{attr:"pathbar.visible",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Radio,{attr:"pathbar.side",options:[{label:r("Top"),value:"top"},{label:r("Bottom"),value:"bottom"}],label:r("Side")})),n.default.createElement(o.PlotlySection,{name:r("Hover/Tooltip")},n.default.createElement(a.HoveronDropdown,{attr:"hoveron",label:r("Hover on")}),n.default.createElement(o.Radio,{label:r("Hover on Gaps"),attr:"hoverongaps",options:[{label:r("Yes"),value:!0},{label:r("No"),value:!1}]}),n.default.createElement(o.HoverTemplateSwitch,{attr:"hovertemplate",label:r("Mode")}),n.default.createElement(o.HoverInfo,{attr:"hoverinfo",label:r("Show")}),n.default.createElement(o.HoverTemplateText,{attr:"hovertemplate",label:r("Template")}),n.default.createElement(o.Radio,{label:r("Split labels"),attr:"hoverlabel.split",options:[{label:r("Yes"),value:!0},{label:r("No"),value:!1}]}),n.default.createElement(o.HoverLabelNameLength,{label:r("Trace Name"),attr:"hoverlabel.namelength"}),n.default.createElement(o.VisibilitySelect,{attr:"contour.show",label:r("Show Contour"),options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}],showOn:!0,defaultOpt:!1},n.default.createElement(o.MultiColorPicker,{label:r("Contour Color"),attr:"contour.color"}),n.default.createElement(o.Numeric,{label:r("Contour Width"),attr:"contour.width"})),n.default.createElement(o.Dropdown,{label:r("Text Alignment"),attr:"hoverlabel.align",options:[{label:r("Auto"),value:"auto"},{label:r("Left"),value:"left"},{label:r("Right"),value:"right"}],clearable:!1}),n.default.createElement(o.Text,{label:r("Value Format"),attr:"valueformat"}),n.default.createElement(o.Text,{label:r("Value Suffix"),attr:"valuesuffix"})),n.default.createElement(o.TraceTypeSection,{name:r("Error Bars X"),traceTypes:["scatter","scattergl","scatter3d","bar"],mode:"trace"},n.default.createElement(o.ErrorBars,{attr:"error_x"})),n.default.createElement(o.TraceTypeSection,{name:r("Error Bars Y"),traceTypes:["scatter","scattergl","scatter3d","bar"],mode:"trace"},n.default.createElement(o.ErrorBars,{attr:"error_y"})),n.default.createElement(o.TraceTypeSection,{name:r("Error Bars Z"),traceTypes:["scatter3d"],mode:"trace"},n.default.createElement(o.ErrorBars,{attr:"error_z"})))};f.contextTypes={localize:i.default.func};var p=f;t.default=p},"6d61":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("f183"),l=r("2266"),u=r("19aa"),c=r("861d"),f=r("d039"),p=r("1c7e"),d=r("d44e"),h=r("7156");e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),g=v?"set":"add",y=i[e],b=y&&y.prototype,x=y,A={},w=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(o(e,"function"!=typeof y||!(m||b.forEach&&!f((function(){(new y).entries().next()})))))x=r.getConstructor(t,e,v,g),s.REQUIRED=!0;else if(o(e,!0)){var _=new x,E=_[g](m?{}:-0,1)!=_,k=f((function(){_.has(1)})),T=p((function(e){new y(e)})),C=!m&&f((function(){var e=new y,t=5;while(t--)e[g](t,t);return!e.has(-0)}));T||(x=t((function(t,r){u(t,x,e);var n=h(new y,t,x);return void 0!=r&&l(r,n[g],n,v),n})),x.prototype=b,b.constructor=x),(k||C)&&(w("delete"),w("has"),v&&w("get")),(C||E)&&w(g),m&&b.clear&&delete b.clear}return A[e]=x,n({global:!0,forced:x!=y},A),d(x,e),m||r.setStrong(x,e,v),x}},"6d74":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M30.375 28.688L16 1.188 3.625 24.813l-2 3.875zM4.688 25.75c.375-.313 1.188-.688 2-.563.375 0 .625.25.938.563.375.625 1.188 1.188 2.125 1.563h-6zm14.125 1.563s.125 0 .25-.125c2.25-1.313 4.813-2.625 7.188-3.563l2 3.688zm-7.188-14.5c.5-.563 1.813-.688 3.438-.688s3.313.125 4.563.438l3.313 5.438c-1.875.125-3.625 0-5.5 0-3.563-.125-6-2.125-6-4.688-.125-.125 0-.25.188-.5zm5.688 6.5c1.063 0 2.313.125 3.375.125h2c-1.5 1.875-4.938 5.5-9.063 4-2.188-.875-4.188-2-5.875-3.438l2.625-4.938c.688 2.375 3.375 4.125 6.938 4.25zm2.437-8c-1.188-.125-5.063-.625-7.5-.125L16 4.125zm-12.687 9.75c1.875 1.5 3.875 2.563 6.125 3.5.813.25 1.625.375 2.438.375 4.25 0 7.438-3.875 8.625-5.5l1.5 2.813c-2.563 1.063-4.938 2.313-7.375 3.75-3.438 2-8.625.563-9.688-1.188a2.572 2.572 0 0 0-1.75-1.188H5.75z"}))};t.default=u},"6dcc":function(e,t,r){"use strict";var n=r("19b2");e.exports={count:function(e,t,r){return r[e]++,1},sum:function(e,t,r,i){var o=i[t];return n(o)?(o=Number(o),r[e]+=o,o):0},avg:function(e,t,r,i,o){var a=i[t];return n(a)&&(a=Number(a),r[e]+=a,o[e]++),0},min:function(e,t,r,i){var o=i[t];if(n(o)){if(o=Number(o),!n(r[e]))return r[e]=o,o;if(r[e]>o){var a=o-r[e];return r[e]=o,a}}return 0},max:function(e,t,r,i){var o=i[t];if(n(o)){if(o=Number(o),!n(r[e]))return r[e]=o,o;if(r[e]<o){var a=o-r[e];return r[e]=o,a}}return 0}}},"6dd0":function(e){e.exports=JSON.parse('["caption","icon","menu","message-box","small-caption","status-bar"]')},"6dd8":function(e,t,r){"use strict";r.r(t),function(e){var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}()}(),n="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var r=!1,n=!1,i=0;function s(){r&&(r=!1,e()),n&&u()}function l(){o(s)}function u(){var e=Date.now();if(r){if(e-i<a)return;n=!0}else r=!0,n=!1,setTimeout(l,t);i=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,f=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t,n=u.some((function(e){return!!~r.indexOf(e)}));n&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),p=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},h=E(0,0,0,0);function v(e){return parseFloat(e)||0}function m(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){var n=e["border-"+r+"-width"];return t+v(n)}),0)}function g(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],a=e["padding-"+o];r[o]=v(a)}return r}function y(e){var t=e.getBBox();return E(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return h;var n=d(e).getComputedStyle(e),i=g(n),o=i.left+i.right,a=i.top+i.bottom,s=v(n.width),l=v(n.height);if("border-box"===n.boxSizing&&(Math.round(s+o)!==t&&(s-=m(n,"left","right")+o),Math.round(l+a)!==r&&(l-=m(n,"top","bottom")+a)),!A(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return E(i.left,i.top,s,l)}var x=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox}}();function A(e){return e===d(e).document.documentElement}function w(e){return n?x(e)?y(e):b(e):h}function _(e){var t=e.x,r=e.y,n=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return p(a,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),a}function E(e,t,r,n){return{x:e,y:t,width:r,height:n}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=E(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=w(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),T=function(){function e(e,t){var r=_(t);p(this,{target:e,contentRect:r})}return e}(),C=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new T(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!==typeof WeakMap?new WeakMap:new r,O=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=f.getInstance(),n=new C(t,r,this);S.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));var M=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:O}();t["default"]=M}.call(this,r("c8ba"))},"6ddf":function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(!e)return null;var i={};for(var o in e)n.call(e,o)&&(i[o]=t.call(r,e[o],o,e));return i}e.exports=i},"6dea":function(e,t,r){"use strict";var n=r("3aa8");e.exports=function(e,t){t.intensity&&n(e,t,{vals:t.intensity,containerStr:"",cLetter:"c"})}},"6e1f":function(e,t,r){"use strict";e.exports=o;var n=r("92ba")[3];function i(e,t,r,n){for(var i=0;i<2;++i){var o=e[i],a=t[i],s=Math.min(o,a),l=Math.max(o,a),u=r[i],c=n[i],f=Math.min(u,c),p=Math.max(u,c);if(p<s||l<f)return!1}return!0}function o(e,t,r,o){var a=n(e,r,o),s=n(t,r,o);if(a>0&&s>0||a<0&&s<0)return!1;var l=n(r,e,t),u=n(o,e,t);return!(l>0&&u>0||l<0&&u<0)&&(0!==a||0!==s||0!==l||0!==u||i(e,t,r,o))}},"6e40":function(e,t,r){"use strict";var n=r("d3dc"),i=n.mod,o=n.modHalf,a=Math.PI,s=2*a;function l(e){return e/180*a}function u(e){return e/a*180}function c(e){return Math.abs(e[1]-e[0])>s-1e-14}function f(e,t){return o(t-e,s)}function p(e,t){return Math.abs(f(e,t))}function d(e,t){if(c(t))return!0;var r,n;t[0]<t[1]?(r=t[0],n=t[1]):(r=t[1],n=t[0]),r=i(r,s),n=i(n,s),r>n&&(n+=s);var o=i(e,s),a=o+s;return o>=r&&o<=n||a>=r&&a<=n}function h(e,t,r,n){return!!d(t,n)&&(r[0]<r[1]?(i=r[0],o=r[1]):(i=r[1],o=r[0]),e>=i&&e<=o);var i,o}function v(e,t,r,n,i,o,l){i=i||0,o=o||0;var u,f,p,d,h,v=c([r,n]);function m(e,t){return[e*Math.cos(t)+i,o-e*Math.sin(t)]}v?(u=0,f=a,p=s):r<n?(u=r,p=n):(u=n,p=r),e<t?(d=e,h=t):(d=t,h=e);var g,y=Math.abs(p-u)<=a?0:1;function b(e,t,r){return"A"+[e,e]+" "+[0,y,r]+" "+m(e,t)}return v?g=null===d?"M"+m(h,u)+b(h,f,0)+b(h,p,0)+"Z":"M"+m(d,u)+b(d,f,0)+b(d,p,0)+"ZM"+m(h,u)+b(h,f,1)+b(h,p,1)+"Z":null===d?(g="M"+m(h,u)+b(h,p,0),l&&(g+="L0,0Z")):g="M"+m(d,u)+"L"+m(h,u)+b(h,p,0)+"L"+m(d,p)+b(d,u,1)+"Z",g}function m(e,t,r,n,i){return v(null,e,t,r,n,i,0)}function g(e,t,r,n,i){return v(null,e,t,r,n,i,1)}function y(e,t,r,n,i,o){return v(e,t,r,n,i,o,1)}e.exports={deg2rad:l,rad2deg:u,angleDelta:f,angleDist:p,isFullCircle:c,isAngleInsideSector:d,isPtInsideSector:h,pathArc:m,pathSector:g,pathAnnulus:y}},"6e58":function(e,t,r){var n,i;!function(){var o={version:"3.5.17"},a=[].slice,s=function(e){return a.call(e)},l=this.document;function u(e){return e&&(e.ownerDocument||e.document||e).documentElement}function c(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(l)try{s(l.documentElement.childNodes)[0].nodeType}catch(su){s=function(e){var t=e.length,r=new Array(t);while(t--)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),l)try{l.createElement("DIV").style.setProperty("opacity",0,"")}catch(lu){var f=this.Element.prototype,p=f.setAttribute,d=f.setAttributeNS,h=this.CSSStyleDeclaration.prototype,v=h.setProperty;f.setAttribute=function(e,t){p.call(this,e,t+"")},f.setAttributeNS=function(e,t,r){d.call(this,e,t,r+"")},h.setProperty=function(e,t,r){v.call(this,e,t+"",r)}}function m(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function g(e){return null===e?NaN:+e}function y(e){return!isNaN(e)}function b(e){return{left:function(t,r,n,i){arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);while(n<i){var o=n+i>>>1;e(t[o],r)<0?n=o+1:i=o}return n},right:function(t,r,n,i){arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);while(n<i){var o=n+i>>>1;e(t[o],r)>0?i=o:n=o+1}return n}}}o.ascending=m,o.descending=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},o.min=function(e,t){var r,n,i=-1,o=e.length;if(1===arguments.length){while(++i<o)if(null!=(n=e[i])&&n>=n){r=n;break}while(++i<o)null!=(n=e[i])&&r>n&&(r=n)}else{while(++i<o)if(null!=(n=t.call(e,e[i],i))&&n>=n){r=n;break}while(++i<o)null!=(n=t.call(e,e[i],i))&&r>n&&(r=n)}return r},o.max=function(e,t){var r,n,i=-1,o=e.length;if(1===arguments.length){while(++i<o)if(null!=(n=e[i])&&n>=n){r=n;break}while(++i<o)null!=(n=e[i])&&n>r&&(r=n)}else{while(++i<o)if(null!=(n=t.call(e,e[i],i))&&n>=n){r=n;break}while(++i<o)null!=(n=t.call(e,e[i],i))&&n>r&&(r=n)}return r},o.extent=function(e,t){var r,n,i,o=-1,a=e.length;if(1===arguments.length){while(++o<a)if(null!=(n=e[o])&&n>=n){r=i=n;break}while(++o<a)null!=(n=e[o])&&(r>n&&(r=n),i<n&&(i=n))}else{while(++o<a)if(null!=(n=t.call(e,e[o],o))&&n>=n){r=i=n;break}while(++o<a)null!=(n=t.call(e,e[o],o))&&(r>n&&(r=n),i<n&&(i=n))}return[r,i]},o.sum=function(e,t){var r,n=0,i=e.length,o=-1;if(1===arguments.length)while(++o<i)y(r=+e[o])&&(n+=r);else while(++o<i)y(r=+t.call(e,e[o],o))&&(n+=r);return n},o.mean=function(e,t){var r,n=0,i=e.length,o=-1,a=i;if(1===arguments.length)while(++o<i)y(r=g(e[o]))?n+=r:--a;else while(++o<i)y(r=g(t.call(e,e[o],o)))?n+=r:--a;if(a)return n/a},o.quantile=function(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),i=+e[n-1],o=r-n;return o?i+o*(e[n]-i):i},o.median=function(e,t){var r,n=[],i=e.length,a=-1;if(1===arguments.length)while(++a<i)y(r=g(e[a]))&&n.push(r);else while(++a<i)y(r=g(t.call(e,e[a],a)))&&n.push(r);if(n.length)return o.quantile(n.sort(m),.5)},o.variance=function(e,t){var r,n,i=e.length,o=0,a=0,s=-1,l=0;if(1===arguments.length)while(++s<i)y(r=g(e[s]))&&(n=r-o,o+=n/++l,a+=n*(r-o));else while(++s<i)y(r=g(t.call(e,e[s],s)))&&(n=r-o,o+=n/++l,a+=n*(r-o));if(l>1)return a/(l-1)},o.deviation=function(){var e=o.variance.apply(this,arguments);return e?Math.sqrt(e):e};var x=b(m);function A(e){return e.length}o.bisectLeft=x.left,o.bisect=o.bisectRight=x.right,o.bisector=function(e){return b(1===e.length?function(t,r){return m(e(t),r)}:e)},o.shuffle=function(e,t,r){(o=arguments.length)<3&&(r=e.length,o<2&&(t=0));var n,i,o=r-t;while(o)i=Math.random()*o--|0,n=e[o+t],e[o+t]=e[i+t],e[i+t]=n;return e},o.permute=function(e,t){var r=t.length,n=new Array(r);while(r--)n[r]=e[t[r]];return n},o.pairs=function(e){var t=0,r=e.length-1,n=e[0],i=new Array(r<0?0:r);while(t<r)i[t]=[n,n=e[++t]];return i},o.transpose=function(e){if(!(i=e.length))return[];for(var t=-1,r=o.min(e,A),n=new Array(r);++t<r;)for(var i,a=-1,s=n[t]=new Array(i);++a<i;)s[a]=e[a][t];return n},o.zip=function(){return o.transpose(arguments)},o.keys=function(e){var t=[];for(var r in e)t.push(r);return t},o.values=function(e){var t=[];for(var r in e)t.push(e[r]);return t},o.entries=function(e){var t=[];for(var r in e)t.push({key:r,value:e[r]});return t},o.merge=function(e){var t,r,n,i=e.length,o=-1,a=0;while(++o<i)a+=e[o].length;r=new Array(a);while(--i>=0){n=e[i],t=n.length;while(--t>=0)r[--a]=n[t]}return r};var w=Math.abs;function _(e){var t=1;while(e*t%1)t*=10;return t}function E(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function k(){this._=Object.create(null)}o.range=function(e,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=e,e=0)),(t-e)/r===1/0)throw new Error("infinite range");var n,i=[],o=_(w(r)),a=-1;if(e*=o,t*=o,r*=o,r<0)while((n=e+r*++a)>t)i.push(n/o);else while((n=e+r*++a)<t)i.push(n/o);return i},o.map=function(e,t){var r=new k;if(e instanceof k)e.forEach((function(e,t){r.set(e,t)}));else if(Array.isArray(e)){var n,i=-1,o=e.length;if(1===arguments.length)while(++i<o)r.set(i,e[i]);else while(++i<o)r.set(t.call(e,n=e[i],i),n)}else for(var a in e)r.set(a,e[a]);return r};var T="__proto__",C="\0";function S(e){return(e+="")===T||e[0]===C?C+e:e}function O(e){return(e+="")[0]===C?e.slice(1):e}function M(e){return S(e)in this._}function P(e){return(e=S(e))in this._&&delete this._[e]}function B(){var e=[];for(var t in this._)e.push(O(t));return e}function L(){var e=0;for(var t in this._)++e;return e}function D(){for(var e in this._)return!1;return!0}function I(){this._=Object.create(null)}function j(e){return e}function R(e,t,r){return function(){var n=r.apply(t,arguments);return n===t?e:n}}function F(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var r=0,n=N.length;r<n;++r){var i=N[r]+t;if(i in e)return i}}E(k,{has:M,get:function(e){return this._[S(e)]},set:function(e,t){return this._[S(e)]=t},remove:P,keys:B,values:function(){var e=[];for(var t in this._)e.push(this._[t]);return e},entries:function(){var e=[];for(var t in this._)e.push({key:O(t),value:this._[t]});return e},size:L,empty:D,forEach:function(e){for(var t in this._)e.call(this,O(t),this._[t])}}),o.nest=function(){var e,t,r={},n=[],i=[];function a(i,o,s){if(s>=n.length)return t?t.call(r,o):e?o.sort(e):o;var l,u,c,f,p=-1,d=o.length,h=n[s++],v=new k;while(++p<d)(f=v.get(l=h(u=o[p])))?f.push(u):v.set(l,[u]);return i?(u=i(),c=function(e,t){u.set(e,a(i,t,s))}):(u={},c=function(e,t){u[e]=a(i,t,s)}),v.forEach(c),u}function s(e,t){if(t>=n.length)return e;var r=[],o=i[t++];return e.forEach((function(e,n){r.push({key:e,values:s(n,t)})})),o?r.sort((function(e,t){return o(e.key,t.key)})):r}return r.map=function(e,t){return a(t,e,0)},r.entries=function(e){return s(a(o.map,e,0),0)},r.key=function(e){return n.push(e),r},r.sortKeys=function(e){return i[n.length-1]=e,r},r.sortValues=function(t){return e=t,r},r.rollup=function(e){return t=e,r},r},o.set=function(e){var t=new I;if(e)for(var r=0,n=e.length;r<n;++r)t.add(e[r]);return t},E(I,{has:M,add:function(e){return this._[S(e+="")]=!0,e},remove:P,values:B,size:L,empty:D,forEach:function(e){for(var t in this._)e.call(this,O(t))}}),o.behavior={},o.rebind=function(e,t){var r,n=1,i=arguments.length;while(++n<i)e[r=arguments[n]]=R(e,t,t[r]);return e};var N=["webkit","ms","moz","Moz","o","O"];function z(){}function U(){}function H(e){var t=[],r=new k;function n(){var r,n=t,i=-1,o=n.length;while(++i<o)(r=n[i].on)&&r.apply(this,arguments);return e}return n.on=function(n,i){var o,a=r.get(n);return arguments.length<2?a&&a.on:(a&&(a.on=null,t=t.slice(0,o=t.indexOf(a)).concat(t.slice(o+1)),r.remove(n)),i&&t.push(r.set(n,{on:i})),e)},n}function V(){o.event.preventDefault()}function Q(){var e,t=o.event;while(e=t.sourceEvent)t=e;return t}function W(e){var t=new U,r=0,n=arguments.length;while(++r<n)t[arguments[r]]=H(t);return t.of=function(r,n){return function(i){try{var a=i.sourceEvent=o.event;i.target=e,o.event=i,t[i.type].apply(r,n)}finally{o.event=a}}},t}o.dispatch=function(){var e=new U,t=-1,r=arguments.length;while(++t<r)e[arguments[t]]=H(e);return e},U.prototype.on=function(e,t){var r=e.indexOf("."),n="";if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},o.event=null,o.requote=function(e){return e.replace(K,"\\$&")};var K=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,q={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function G(e){return q(e,Z),e}var $=function(e,t){return t.querySelector(e)},Y=function(e,t){return t.querySelectorAll(e)},X=function(e,t){var r=e.matches||e[F(e,"matchesSelector")];return X=function(e,t){return r.call(e,t)},X(e,t)};"function"===typeof Sizzle&&($=function(e,t){return Sizzle(e,t)[0]||null},Y=Sizzle,X=Sizzle.matchesSelector),o.selection=function(){return o.select(l.documentElement)};var Z=o.selection.prototype=[];function J(e){return"function"===typeof e?e:function(){return $(e,this)}}function ee(e){return"function"===typeof e?e:function(){return Y(e,this)}}Z.select=function(e){var t,r,n,i,o=[];e=J(e);for(var a=-1,s=this.length;++a<s;){o.push(t=[]),t.parentNode=(n=this[a]).parentNode;for(var l=-1,u=n.length;++l<u;)(i=n[l])?(t.push(r=e.call(i,i.__data__,l,a)),r&&"__data__"in i&&(r.__data__=i.__data__)):t.push(null)}return G(o)},Z.selectAll=function(e){var t,r,n=[];e=ee(e);for(var i=-1,o=this.length;++i<o;)for(var a=this[i],l=-1,u=a.length;++l<u;)(r=a[l])&&(n.push(t=s(e.call(r,r.__data__,l,i))),t.parentNode=r);return G(n)};var te="http://www.w3.org/1999/xhtml",re={svg:"http://www.w3.org/2000/svg",xhtml:te,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ne(e,t){function r(){this.removeAttribute(e)}function n(){this.removeAttributeNS(e.space,e.local)}function i(){this.setAttribute(e,t)}function a(){this.setAttributeNS(e.space,e.local,t)}function s(){var r=t.apply(this,arguments);null==r?this.removeAttribute(e):this.setAttribute(e,r)}function l(){var r=t.apply(this,arguments);null==r?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,r)}return e=o.ns.qualify(e),null==t?e.local?n:r:"function"===typeof t?e.local?l:s:e.local?a:i}function ie(e){return e.trim().replace(/\s+/g," ")}function oe(e){return new RegExp("(?:^|\\s+)"+o.requote(e)+"(?:\\s+|$)","g")}function ae(e){return(e+"").trim().split(/^|\s+/)}function se(e,t){e=ae(e).map(le);var r=e.length;function n(){var n=-1;while(++n<r)e[n](this,t)}function i(){var n=-1,i=t.apply(this,arguments);while(++n<r)e[n](this,i)}return"function"===typeof t?i:n}function le(e){var t=oe(e);return function(r,n){if(i=r.classList)return n?i.add(e):i.remove(e);var i=r.getAttribute("class")||"";n?(t.lastIndex=0,t.test(i)||r.setAttribute("class",ie(i+" "+e))):r.setAttribute("class",ie(i.replace(t," ")))}}function ue(e,t,r){function n(){this.style.removeProperty(e)}function i(){this.style.setProperty(e,t,r)}function o(){var n=t.apply(this,arguments);null==n?this.style.removeProperty(e):this.style.setProperty(e,n,r)}return null==t?n:"function"===typeof t?o:i}function ce(e,t){function r(){delete this[e]}function n(){this[e]=t}function i(){var r=t.apply(this,arguments);null==r?delete this[e]:this[e]=r}return null==t?r:"function"===typeof t?i:n}function fe(e){function t(){var t=this.ownerDocument,r=this.namespaceURI;return r===te&&t.documentElement.namespaceURI===te?t.createElement(e):t.createElementNS(r,e)}function r(){return this.ownerDocument.createElementNS(e.space,e.local)}return"function"===typeof e?e:(e=o.ns.qualify(e)).local?r:t}function pe(){var e=this.parentNode;e&&e.removeChild(this)}function de(e){return{__data__:e}}function he(e){return function(){return X(this,e)}}function ve(e){return arguments.length||(e=m),function(t,r){return t&&r?e(t.__data__,r.__data__):!t-!r}}function me(e,t){for(var r=0,n=e.length;r<n;r++)for(var i,o=e[r],a=0,s=o.length;a<s;a++)(i=o[a])&&t(i,a,r);return e}function ge(e){return q(e,ye),e}o.ns={prefix:re,qualify:function(e){var t=e.indexOf(":"),r=e;return t>=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),re.hasOwnProperty(r)?{space:re[r],local:e}:e}},Z.attr=function(e,t){if(arguments.length<2){if("string"===typeof e){var r=this.node();return e=o.ns.qualify(e),e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}for(t in e)this.each(ne(t,e[t]));return this}return this.each(ne(e,t))},Z.classed=function(e,t){if(arguments.length<2){if("string"===typeof e){var r=this.node(),n=(e=ae(e)).length,i=-1;if(t=r.classList){while(++i<n)if(!t.contains(e[i]))return!1}else{t=r.getAttribute("class");while(++i<n)if(!oe(e[i]).test(t))return!1}return!0}for(t in e)this.each(se(t,e[t]));return this}return this.each(se(e,t))},Z.style=function(e,t,r){var n=arguments.length;if(n<3){if("string"!==typeof e){for(r in n<2&&(t=""),e)this.each(ue(r,e[r],t));return this}if(n<2){var i=this.node();return c(i).getComputedStyle(i,null).getPropertyValue(e)}r=""}return this.each(ue(e,t,r))},Z.property=function(e,t){if(arguments.length<2){if("string"===typeof e)return this.node()[e];for(t in e)this.each(ce(t,e[t]));return this}return this.each(ce(e,t))},Z.text=function(e){return arguments.length?this.each("function"===typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},Z.html=function(e){return arguments.length?this.each("function"===typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},Z.append=function(e){return e=fe(e),this.select((function(){return this.appendChild(e.apply(this,arguments))}))},Z.insert=function(e,t){return e=fe(e),t=J(t),this.select((function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)}))},Z.remove=function(){return this.each(pe)},Z.data=function(e,t){var r,n,i=-1,o=this.length;if(!arguments.length){e=new Array(o=(r=this[0]).length);while(++i<o)(n=r[i])&&(e[i]=n.__data__);return e}function a(e,r){var n,i,o,a=e.length,c=r.length,f=Math.min(a,c),p=new Array(c),d=new Array(c),h=new Array(a);if(t){var v,m=new k,g=new Array(a);for(n=-1;++n<a;)(i=e[n])&&(m.has(v=t.call(i,i.__data__,n))?h[n]=i:m.set(v,i),g[n]=v);for(n=-1;++n<c;)(i=m.get(v=t.call(r,o=r[n],n)))?!0!==i&&(p[n]=i,i.__data__=o):d[n]=de(o),m.set(v,!0);for(n=-1;++n<a;)n in g&&!0!==m.get(g[n])&&(h[n]=e[n])}else{for(n=-1;++n<f;)i=e[n],o=r[n],i?(i.__data__=o,p[n]=i):d[n]=de(o);for(;n<c;++n)d[n]=de(r[n]);for(;n<a;++n)h[n]=e[n]}d.update=p,d.parentNode=p.parentNode=h.parentNode=e.parentNode,s.push(d),l.push(p),u.push(h)}var s=ge([]),l=G([]),u=G([]);if("function"===typeof e)while(++i<o)a(r=this[i],e.call(r,r.parentNode.__data__,i));else while(++i<o)a(r=this[i],e);return l.enter=function(){return s},l.exit=function(){return u},l},Z.datum=function(e){return arguments.length?this.property("__data__",e):this.property("__data__")},Z.filter=function(e){var t,r,n,i=[];"function"!==typeof e&&(e=he(e));for(var o=0,a=this.length;o<a;o++){i.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var s=0,l=r.length;s<l;s++)(n=r[s])&&e.call(n,n.__data__,s,o)&&t.push(n)}return G(i)},Z.order=function(){for(var e=-1,t=this.length;++e<t;)for(var r,n=this[e],i=n.length-1,o=n[i];--i>=0;)(r=n[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this},Z.sort=function(e){e=ve.apply(this,arguments);for(var t=-1,r=this.length;++t<r;)this[t].sort(e);return this.order()},Z.each=function(e){return me(this,(function(t,r,n){e.call(t,t.__data__,r,n)}))},Z.call=function(e){var t=s(arguments);return e.apply(t[0]=this,t),this},Z.empty=function(){return!this.node()},Z.node=function(){for(var e=0,t=this.length;e<t;e++)for(var r=this[e],n=0,i=r.length;n<i;n++){var o=r[n];if(o)return o}return null},Z.size=function(){var e=0;return me(this,(function(){++e})),e};var ye=[];function be(e){var t,r;return function(n,i,o){var a,s=e[o].update,l=s.length;o!=r&&(r=o,t=0),i>=t&&(t=i+1);while(!(a=s[t])&&++t<l);return a}}function xe(e,t,r){var n="__on"+e,i=e.indexOf("."),a=we;i>0&&(e=e.slice(0,i));var l=Ae.get(e);function u(){var t=this[n];t&&(this.removeEventListener(e,t,t.$),delete this[n])}function c(){var i=a(t,s(arguments));u.call(this),this.addEventListener(e,this[n]=i,i.$=r),i._=t}function f(){var t,r=new RegExp("^__on([^.]+)"+o.requote(e)+"$");for(var n in this)if(t=n.match(r)){var i=this[n];this.removeEventListener(t[1],i,i.$),delete this[n]}}return l&&(e=l,a=_e),i?t?c:u:t?z:f}o.selection.enter=ge,o.selection.enter.prototype=ye,ye.append=Z.append,ye.empty=Z.empty,ye.node=Z.node,ye.call=Z.call,ye.size=Z.size,ye.select=function(e){for(var t,r,n,i,o,a=[],s=-1,l=this.length;++s<l;){n=(i=this[s]).update,a.push(t=[]),t.parentNode=i.parentNode;for(var u=-1,c=i.length;++u<c;)(o=i[u])?(t.push(n[u]=r=e.call(i.parentNode,o.__data__,u,s)),r.__data__=o.__data__):t.push(null)}return G(a)},ye.insert=function(e,t){return arguments.length<2&&(t=be(this)),Z.insert.call(this,e,t)},o.select=function(e){var t;return"string"===typeof e?(t=[$(e,l)],t.parentNode=l.documentElement):(t=[e],t.parentNode=u(e)),G([t])},o.selectAll=function(e){var t;return"string"===typeof e?(t=s(Y(e,l)),t.parentNode=l.documentElement):(t=s(e),t.parentNode=null),G([t])},Z.on=function(e,t,r){var n=arguments.length;if(n<3){if("string"!==typeof e){for(r in n<2&&(t=!1),e)this.each(xe(r,e[r],t));return this}if(n<2)return(n=this.node()["__on"+e])&&n._;r=!1}return this.each(xe(e,t,r))};var Ae=o.map({mouseenter:"mouseover",mouseleave:"mouseout"});function we(e,t){return function(r){var n=o.event;o.event=r,t[0]=this.__data__;try{e.apply(this,t)}finally{o.event=n}}}function _e(e,t){var r=we(e,t);return function(e){var t=this,n=e.relatedTarget;n&&(n===t||8&n.compareDocumentPosition(t))||r.call(t,e)}}l&&Ae.forEach((function(e){"on"+e in l&&Ae.remove(e)}));var Ee,ke=0;function Te(e){var t=".dragsuppress-"+ ++ke,r="click"+t,n=o.select(c(e)).on("touchmove"+t,V).on("dragstart"+t,V).on("selectstart"+t,V);if(null==Ee&&(Ee=!("onselectstart"in e)&&F(e.style,"userSelect")),Ee){var i=u(e).style,a=i[Ee];i[Ee]="none"}return function(e){if(n.on(t,null),Ee&&(i[Ee]=a),e){var o=function(){n.on(r,null)};n.on(r,(function(){V(),o()}),!0),setTimeout(o,0)}}}o.mouse=function(e){return Se(e,Q())};var Ce=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Se(e,t){t.changedTouches&&(t=t.changedTouches[0]);var r=e.ownerSVGElement||e;if(r.createSVGPoint){var n=r.createSVGPoint();if(Ce<0){var i=c(e);if(i.scrollX||i.scrollY){r=o.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var a=r[0][0].getScreenCTM();Ce=!(a.f||a.e),r.remove()}}return Ce?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),n=n.matrixTransform(e.getScreenCTM().inverse()),[n.x,n.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function Oe(){return o.event.changedTouches[0].identifier}o.touch=function(e,t,r){if(arguments.length<3&&(r=t,t=Q().changedTouches),t)for(var n,i=0,o=t.length;i<o;++i)if((n=t[i]).identifier===r)return Se(e,n)},o.behavior.drag=function(){var e=W(i,"drag","dragstart","dragend"),t=null,r=a(z,o.mouse,c,"mousemove","mouseup"),n=a(Oe,o.touch,j,"touchmove","touchend");function i(){this.on("mousedown.drag",r).on("touchstart.drag",n)}function a(r,n,i,a,s){return function(){var l,u=this,c=o.event.target.correspondingElement||o.event.target,f=u.parentNode,p=e.of(u,arguments),d=0,h=r(),v=".drag"+(null==h?"":"-"+h),m=o.select(i(c)).on(a+v,b).on(s+v,x),g=Te(c),y=n(f,h);function b(){var e,t,r=n(f,h);r&&(e=r[0]-y[0],t=r[1]-y[1],d|=e|t,y=r,p({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:e,dy:t}))}function x(){n(f,h)&&(m.on(a+v,null).on(s+v,null),g(d),p({type:"dragend"}))}t?(l=t.apply(u,arguments),l=[l.x-y[0],l.y-y[1]]):l=[0,0],p({type:"dragstart"})}}return i.origin=function(e){return arguments.length?(t=e,i):t},o.rebind(i,e,"on")},o.touches=function(e,t){return arguments.length<2&&(t=Q().touches),t?s(t).map((function(t){var r=Se(e,t);return r.identifier=t.identifier,r})):[]};var Me=1e-6,Pe=Me*Me,Be=Math.PI,Le=2*Be,De=Le-Me,Ie=Be/2,je=Be/180,Re=180/Be;function Fe(e){return e>0?1:e<0?-1:0}function Ne(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function ze(e){return e>1?0:e<-1?Be:Math.acos(e)}function Ue(e){return e>1?Ie:e<-1?-Ie:Math.asin(e)}function He(e){return((e=Math.exp(e))-1/e)/2}function Ve(e){return((e=Math.exp(e))+1/e)/2}function Qe(e){return((e=Math.exp(2*e))-1)/(e+1)}function We(e){return(e=Math.sin(e/2))*e}var Ke=Math.SQRT2,qe=2,Ge=4;o.interpolateZoom=function(e,t){var r,n,i=e[0],o=e[1],a=e[2],s=t[0],l=t[1],u=t[2],c=s-i,f=l-o,p=c*c+f*f;if(p<Pe)n=Math.log(u/a)/Ke,r=function(e){return[i+e*c,o+e*f,a*Math.exp(Ke*e*n)]};else{var d=Math.sqrt(p),h=(u*u-a*a+Ge*p)/(2*a*qe*d),v=(u*u-a*a-Ge*p)/(2*u*qe*d),m=Math.log(Math.sqrt(h*h+1)-h),g=Math.log(Math.sqrt(v*v+1)-v);n=(g-m)/Ke,r=function(e){var t=e*n,r=Ve(m),s=a/(qe*d)*(r*Qe(Ke*t+m)-He(m));return[i+s*c,o+s*f,a*r/Ve(Ke*t+m)]}}return r.duration=1e3*n,r},o.behavior.zoom=function(){var e,t,r,n,i,a,s,u,f,p={x:0,y:0,k:1},d=[960,500],h=Xe,v=250,m=0,g="mousedown.zoom",y="mousemove.zoom",b="mouseup.zoom",x="touchstart.zoom",A=W(w,"zoomstart","zoom","zoomend");function w(e){e.on(g,B).on(Ye+".zoom",D).on("dblclick.zoom",I).on(x,L)}function _(e){return[(e[0]-p.x)/p.k,(e[1]-p.y)/p.k]}function E(e){return[e[0]*p.k+p.x,e[1]*p.k+p.y]}function k(e){p.k=Math.max(h[0],Math.min(h[1],e))}function T(e,t){t=E(t),p.x+=e[0]-t[0],p.y+=e[1]-t[1]}function C(e,r,n,i){e.__chart__={x:p.x,y:p.y,k:p.k},k(Math.pow(2,i)),T(t=r,n),e=o.select(e),v>0&&(e=e.transition().duration(v)),e.call(w.event)}function S(){s&&s.domain(a.range().map((function(e){return(e-p.x)/p.k})).map(a.invert)),f&&f.domain(u.range().map((function(e){return(e-p.y)/p.k})).map(u.invert))}function O(e){m++||e({type:"zoomstart"})}function M(e){S(),e({type:"zoom",scale:p.k,translate:[p.x,p.y]})}function P(e){--m||(e({type:"zoomend"}),t=null)}function B(){var e=this,t=A.of(e,arguments),r=0,n=o.select(c(e)).on(y,s).on(b,l),i=_(o.mouse(e)),a=Te(e);function s(){r=1,T(o.mouse(e),i),M(t)}function l(){n.on(y,null).on(b,null),a(r),P(t)}Ml.call(e),O(t)}function L(){var e,t=this,r=A.of(t,arguments),n={},a=0,s=".zoom-"+o.event.changedTouches[0].identifier,l="touchmove"+s,u="touchend"+s,c=[],f=o.select(t),d=Te(t);function h(){var r=o.touches(t);return e=p.k,r.forEach((function(e){e.identifier in n&&(n[e.identifier]=_(e))})),r}function v(){var e=o.event.target;o.select(e).on(l,m).on(u,y),c.push(e);for(var r=o.event.changedTouches,s=0,f=r.length;s<f;++s)n[r[s].identifier]=null;var d=h(),v=Date.now();if(1===d.length){if(v-i<500){var g=d[0];C(t,g,n[g.identifier],Math.floor(Math.log(p.k)/Math.LN2)+1),V()}i=v}else if(d.length>1){g=d[0];var b=d[1],x=g[0]-b[0],A=g[1]-b[1];a=x*x+A*A}}function m(){var s,l,u,c,f=o.touches(t);Ml.call(t);for(var p=0,d=f.length;p<d;++p,c=null)if(u=f[p],c=n[u.identifier]){if(l)break;s=u,l=c}if(c){var h=(h=u[0]-s[0])*h+(h=u[1]-s[1])*h,v=a&&Math.sqrt(h/a);s=[(s[0]+u[0])/2,(s[1]+u[1])/2],l=[(l[0]+c[0])/2,(l[1]+c[1])/2],k(v*e)}i=null,T(s,l),M(r)}function y(){if(o.event.touches.length){for(var e=o.event.changedTouches,t=0,i=e.length;t<i;++t)delete n[e[t].identifier];for(var a in n)return void h()}o.selectAll(c).on(s,null),f.on(g,B).on(x,L),d(),P(r)}v(),O(r),f.on(g,null).on(x,v)}function D(){var i=A.of(this,arguments);n?clearTimeout(n):(Ml.call(this),e=_(t=r||o.mouse(this)),O(i)),n=setTimeout((function(){n=null,P(i)}),50),V(),k(Math.pow(2,.002*$e())*p.k),T(t,e),M(i)}function I(){var e=o.mouse(this),t=Math.log(p.k)/Math.LN2;C(this,e,_(e),o.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}return Ye||(Ye="onwheel"in l?($e=function(){return-o.event.deltaY*(o.event.deltaMode?120:1)},"wheel"):"onmousewheel"in l?($e=function(){return o.event.wheelDelta},"mousewheel"):($e=function(){return-o.event.detail},"MozMousePixelScroll")),w.event=function(e){e.each((function(){var e=A.of(this,arguments),r=p;Ll?o.select(this).transition().each("start.zoom",(function(){p=this.__chart__||{x:0,y:0,k:1},O(e)})).tween("zoom:zoom",(function(){var n=d[0],i=d[1],a=t?t[0]:n/2,s=t?t[1]:i/2,l=o.interpolateZoom([(a-p.x)/p.k,(s-p.y)/p.k,n/p.k],[(a-r.x)/r.k,(s-r.y)/r.k,n/r.k]);return function(t){var r=l(t),i=n/r[2];this.__chart__=p={x:a-r[0]*i,y:s-r[1]*i,k:i},M(e)}})).each("interrupt.zoom",(function(){P(e)})).each("end.zoom",(function(){P(e)})):(this.__chart__=p,O(e),M(e),P(e))}))},w.translate=function(e){return arguments.length?(p={x:+e[0],y:+e[1],k:p.k},S(),w):[p.x,p.y]},w.scale=function(e){return arguments.length?(p={x:p.x,y:p.y,k:null},k(+e),S(),w):p.k},w.scaleExtent=function(e){return arguments.length?(h=null==e?Xe:[+e[0],+e[1]],w):h},w.center=function(e){return arguments.length?(r=e&&[+e[0],+e[1]],w):r},w.size=function(e){return arguments.length?(d=e&&[+e[0],+e[1]],w):d},w.duration=function(e){return arguments.length?(v=+e,w):v},w.x=function(e){return arguments.length?(s=e,a=e.copy(),p={x:0,y:0,k:1},w):s},w.y=function(e){return arguments.length?(f=e,u=e.copy(),p={x:0,y:0,k:1},w):f},o.rebind(w,A,"on")};var $e,Ye,Xe=[0,1/0];function Ze(){}function Je(e,t,r){return this instanceof Je?(this.h=+e,this.s=+t,void(this.l=+r)):arguments.length<2?e instanceof Je?new Je(e.h,e.s,e.l):At(""+e,wt,Je):new Je(e,t,r)}o.color=Ze,Ze.prototype.toString=function(){return this.rgb()+""},o.hsl=Je;var et=Je.prototype=new Ze;function tt(e,t,r){var n,i;function o(e){return e>360?e-=360:e<0&&(e+=360),e<60?n+(i-n)*e/60:e<180?i:e<240?n+(i-n)*(240-e)/60:n}function a(e){return Math.round(255*o(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,r=r<0?0:r>1?1:r,i=r<=.5?r*(1+t):r+t-r*t,n=2*r-i,new mt(a(e+120),a(e),a(e-120))}function rt(e,t,r){return this instanceof rt?(this.h=+e,this.c=+t,void(this.l=+r)):arguments.length<2?e instanceof rt?new rt(e.h,e.c,e.l):pt(e instanceof ot?e.l:(e=_t((e=o.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new rt(e,t,r)}et.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new Je(this.h,this.s,this.l/e)},et.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new Je(this.h,this.s,e*this.l)},et.rgb=function(){return tt(this.h,this.s,this.l)},o.hcl=rt;var nt=rt.prototype=new Ze;function it(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new ot(r,Math.cos(e*=je)*t,Math.sin(e)*t)}function ot(e,t,r){return this instanceof ot?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof ot?new ot(e.l,e.a,e.b):e instanceof rt?it(e.h,e.c,e.l):_t((e=mt(e)).r,e.g,e.b):new ot(e,t,r)}nt.brighter=function(e){return new rt(this.h,this.c,Math.min(100,this.l+at*(arguments.length?e:1)))},nt.darker=function(e){return new rt(this.h,this.c,Math.max(0,this.l-at*(arguments.length?e:1)))},nt.rgb=function(){return it(this.h,this.c,this.l).rgb()},o.lab=ot;var at=18,st=.95047,lt=1,ut=1.08883,ct=ot.prototype=new Ze;function ft(e,t,r){var n=(e+16)/116,i=n+t/500,o=n-r/200;return i=dt(i)*st,n=dt(n)*lt,o=dt(o)*ut,new mt(vt(3.2404542*i-1.5371385*n-.4985314*o),vt(-.969266*i+1.8760108*n+.041556*o),vt(.0556434*i-.2040259*n+1.0572252*o))}function pt(e,t,r){return e>0?new rt(Math.atan2(r,t)*Re,Math.sqrt(t*t+r*r),e):new rt(NaN,NaN,e)}function dt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function ht(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function vt(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function mt(e,t,r){return this instanceof mt?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof mt?new mt(e.r,e.g,e.b):At(""+e,mt,tt):new mt(e,t,r)}function gt(e){return new mt(e>>16,e>>8&255,255&e)}function yt(e){return gt(e)+""}ct.brighter=function(e){return new ot(Math.min(100,this.l+at*(arguments.length?e:1)),this.a,this.b)},ct.darker=function(e){return new ot(Math.max(0,this.l-at*(arguments.length?e:1)),this.a,this.b)},ct.rgb=function(){return ft(this.l,this.a,this.b)},o.rgb=mt;var bt=mt.prototype=new Ze;function xt(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function At(e,t,r){var n,i,o,a=0,s=0,l=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()),n)switch(i=n[2].split(","),n[1]){case"hsl":return r(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(kt(i[0]),kt(i[1]),kt(i[2]))}return(o=Tt.get(e))?t(o.r,o.g,o.b):(null==e||"#"!==e.charAt(0)||isNaN(o=parseInt(e.slice(1),16))||(4===e.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,l=15&o,l|=l<<4):7===e.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),t(a,s,l))}function wt(e,t,r){var n,i,o=Math.min(e/=255,t/=255,r/=255),a=Math.max(e,t,r),s=a-o,l=(a+o)/2;return s?(i=l<.5?s/(a+o):s/(2-a-o),n=e==a?(t-r)/s+(t<r?6:0):t==a?(r-e)/s+2:(e-t)/s+4,n*=60):(n=NaN,i=l>0&&l<1?0:n),new Je(n,i,l)}function _t(e,t,r){e=Et(e),t=Et(t),r=Et(r);var n=ht((.4124564*e+.3575761*t+.1804375*r)/st),i=ht((.2126729*e+.7151522*t+.072175*r)/lt),o=ht((.0193339*e+.119192*t+.9503041*r)/ut);return ot(116*i-16,500*(n-i),200*(i-o))}function Et(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function kt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}bt.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,i=30;return t||r||n?(t&&t<i&&(t=i),r&&r<i&&(r=i),n&&n<i&&(n=i),new mt(Math.min(255,t/e),Math.min(255,r/e),Math.min(255,n/e))):new mt(i,i,i)},bt.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new mt(e*this.r,e*this.g,e*this.b)},bt.hsl=function(){return wt(this.r,this.g,this.b)},bt.toString=function(){return"#"+xt(this.r)+xt(this.g)+xt(this.b)};var Tt=o.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function Ct(e){return"function"===typeof e?e:function(){return e}}function St(e){return function(t,r,n){return 2===arguments.length&&"function"===typeof r&&(n=r,r=null),Ot(t,r,e,n)}}function Ot(e,t,r,n){var i={},a=o.dispatch("beforesend","progress","load","error"),l={},u=new XMLHttpRequest,c=null;function f(){var e,t=u.status;if(!t&&Pt(u)||t>=200&&t<300||304===t){try{e=r.call(i,u)}catch(su){return void a.error.call(i,su)}a.load.call(i,e)}else a.error.call(i,u)}return this.XDomainRequest&&!("withCredentials"in u)&&/^(http(s)?:)?\/\//.test(e)&&(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=f:u.onreadystatechange=function(){u.readyState>3&&f()},u.onprogress=function(e){var t=o.event;o.event=e;try{a.progress.call(i,u)}finally{o.event=t}},i.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?l[e]:(null==t?delete l[e]:l[e]=t+"",i)},i.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",i):t},i.responseType=function(e){return arguments.length?(c=e,i):c},i.response=function(e){return r=e,i},["get","post"].forEach((function(e){i[e]=function(){return i.send.apply(i,[e].concat(s(arguments)))}})),i.send=function(r,n,o){if(2===arguments.length&&"function"===typeof n&&(o=n,n=null),u.open(r,e,!0),null==t||"accept"in l||(l["accept"]=t+",*/*"),u.setRequestHeader)for(var s in l)u.setRequestHeader(s,l[s]);return null!=t&&u.overrideMimeType&&u.overrideMimeType(t),null!=c&&(u.responseType=c),null!=o&&i.on("error",o).on("load",(function(e){o(null,e)})),a.beforesend.call(i,u),u.send(null==n?null:n),i},i.abort=function(){return u.abort(),i},o.rebind(i,a,"on"),null==n?i:i.get(Mt(n))}function Mt(e){return 1===e.length?function(t,r){e(null==t?r:null)}:e}function Pt(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}Tt.forEach((function(e,t){Tt.set(e,gt(t))})),o.functor=Ct,o.xhr=St(j),o.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function i(e,r,n){arguments.length<3&&(n=r,r=null);var i=Ot(e,t,null==r?o:a(r),n);return i.row=function(e){return arguments.length?i.response(null==(r=e)?o:a(e)):r},i}function o(e){return i.parse(e.responseText)}function a(e){return function(t){return i.parse(t.responseText,e)}}function s(t){return t.map(l).join(e)}function l(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return i.parse=function(e,t){var r;return i.parseRows(e,(function(e,n){if(r)return r(e,n-1);var i=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(i(e),r)}:i}))},i.parseRows=function(e,t){var r,i,o={},a={},s=[],l=e.length,u=0,c=0;function f(){if(u>=l)return a;if(i)return i=!1,o;var t=u;if(34===e.charCodeAt(t)){var r=t;while(r++<l)if(34===e.charCodeAt(r)){if(34!==e.charCodeAt(r+1))break;++r}u=r+2;var s=e.charCodeAt(r+1);return 13===s?(i=!0,10===e.charCodeAt(r+2)&&++u):10===s&&(i=!0),e.slice(t+1,r).replace(/""/g,'"')}while(u<l){s=e.charCodeAt(u++);var c=1;if(10===s)i=!0;else if(13===s)i=!0,10===e.charCodeAt(u)&&(++u,++c);else if(s!==n)continue;return e.slice(t,u-c)}return e.slice(t)}while((r=f())!==a){var p=[];while(r!==o&&r!==a)p.push(r),r=f();t&&null==(p=t(p,c++))||s.push(p)}return s},i.format=function(t){if(Array.isArray(t[0]))return i.formatRows(t);var r=new I,n=[];return t.forEach((function(e){for(var t in e)r.has(t)||n.push(r.add(t))})),[n.map(l).join(e)].concat(t.map((function(t){return n.map((function(e){return l(t[e])})).join(e)}))).join("\n")},i.formatRows=function(e){return e.map(s).join("\n")},i},o.csv=o.dsv(",","text/csv"),o.tsv=o.dsv("\t","text/tab-separated-values");var Bt,Lt,Dt,It,jt=this[F(this,"requestAnimationFrame")]||function(e){setTimeout(e,17)};function Rt(e,t,r){var n=arguments.length;n<2&&(t=0),n<3&&(r=Date.now());var i=r+t,o={c:e,t:i,n:null};return Lt?Lt.n=o:Bt=o,Lt=o,Dt||(It=clearTimeout(It),Dt=1,jt(Ft)),o}function Ft(){var e=Nt(),t=zt()-e;t>24?(isFinite(t)&&(clearTimeout(It),It=setTimeout(Ft,t)),Dt=0):(Dt=1,jt(Ft))}function Nt(){var e=Date.now(),t=Bt;while(t)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function zt(){var e,t=Bt,r=1/0;while(t)t.c?(t.t<r&&(r=t.t),t=(e=t).n):t=e?e.n=t.n:Bt=t.n;return Lt=e,r}function Ut(e,t){return t-(e?Math.ceil(Math.log(e)/Math.LN10):1)}o.timer=function(){Rt.apply(this,arguments)},o.timer.flush=function(){Nt(),zt()},o.round=function(e,t){return t?Math.round(e*(t=Math.pow(10,t)))/t:Math.round(e)};var Ht=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(Vt);function Vt(e,t){var r=Math.pow(10,3*w(8-t));return{scale:t>8?function(e){return e/r}:function(e){return e*r},symbol:e}}function Qt(e){var t=e.decimal,r=e.thousands,n=e.grouping,i=e.currency,a=n&&r?function(e,t){var i=e.length,o=[],a=0,s=n[0],l=0;while(i>0&&s>0){if(l+s+1>t&&(s=Math.max(1,t-l)),o.push(e.substring(i-=s,i+s)),(l+=s+1)>t)break;s=n[a=(a+1)%n.length]}return o.reverse().join(r)}:j;return function(e){var r=Wt.exec(e),n=r[1]||" ",s=r[2]||">",l=r[3]||"-",u=r[4]||"",c=r[5],f=+r[6],p=r[7],d=r[8],h=r[9],v=1,m="",g="",y=!1,b=!0;switch(d&&(d=+d.substring(1)),(c||"0"===n&&"="===s)&&(c=n="0",s="="),h){case"n":p=!0,h="g";break;case"%":v=100,g="%",h="f";break;case"p":v=100,g="%",h="r";break;case"b":case"o":case"x":case"X":"#"===u&&(m="0"+h.toLowerCase());case"c":b=!1;case"d":y=!0,d=0;break;case"s":v=-1,h="r";break}"$"===u&&(m=i[0],g=i[1]),"r"!=h||d||(h="g"),null!=d&&("g"==h?d=Math.max(1,Math.min(21,d)):"e"!=h&&"f"!=h||(d=Math.max(0,Math.min(20,d)))),h=Kt.get(h)||qt;var x=c&&p;return function(e){var r=g;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===l?"":l;if(v<0){var u=o.formatPrefix(e,d);e=u.scale(e),r=u.symbol+g}else e*=v;e=h(e,d);var A,w,_=e.lastIndexOf(".");if(_<0){var E=b?e.lastIndexOf("e"):-1;E<0?(A=e,w=""):(A=e.substring(0,E),w=e.substring(E))}else A=e.substring(0,_),w=t+e.substring(_+1);!c&&p&&(A=a(A,1/0));var k=m.length+A.length+w.length+(x?0:i.length),T=k<f?new Array(k=f-k+1).join(n):"";return x&&(A=a(T+A,T.length?f-w.length:1/0)),i+=m,e=A+w,("<"===s?i+e+T:">"===s?T+i+e:"^"===s?T.substring(0,k>>=1)+i+e+T.substring(k):i+(x?e:T+e))+r}}}o.formatPrefix=function(e,t){var r=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=o.round(e,Ut(e,t))),r=1+Math.floor(1e-12+Math.log(e)/Math.LN10),r=Math.max(-24,Math.min(24,3*Math.floor((r-1)/3)))),Ht[8+r/3]};var Wt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Kt=o.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=o.round(e,Ut(e,t))).toFixed(Math.max(0,Math.min(20,Ut(e*(1+1e-15),t))))}});function qt(e){return e+""}var Gt=o.time={},$t=Date;function Yt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Yt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Xt.setUTCDate.apply(this._,arguments)},setDay:function(){Xt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Xt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Xt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Xt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Xt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Xt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Xt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Xt.setTime.apply(this._,arguments)}};var Xt=Date.prototype;function Zt(e,t,r){function n(t){var r=e(t),n=o(r,1);return t-r<n-t?r:n}function i(r){return t(r=e(new $t(r-1)),1),r}function o(e,r){return t(e=new $t(+e),r),e}function a(e,n,o){var a=i(e),s=[];if(o>1)while(a<n)r(a)%o||s.push(new Date(+a)),t(a,1);else while(a<n)s.push(new Date(+a)),t(a,1);return s}function s(e,t,r){try{$t=Yt;var n=new Yt;return n._=e,a(n,t,r)}finally{$t=Date}}e.floor=e,e.round=n,e.ceil=i,e.offset=o,e.range=a;var l=e.utc=Jt(e);return l.floor=l,l.round=Jt(n),l.ceil=Jt(i),l.offset=Jt(o),l.range=s,e}function Jt(e){return function(t,r){try{$t=Yt;var n=new Yt;return n._=t,e(n,r)._}finally{$t=Date}}}function er(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,s=e.shortDays,l=e.months,u=e.shortMonths;function c(e){var t=e.length;function r(r){var n,i,o,a=[],s=-1,l=0;while(++s<t)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=tr[n=e.charAt(++s)])&&(n=e.charAt(++s)),(o=A[n])&&(n=o(r,null==i?"e"===n?" ":"0":i)),a.push(n),l=s+1);return a.push(e.slice(l,s)),a.join("")}return r.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},n=f(r,e,t,0);if(n!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var i=null!=r.Z&&$t!==Yt,o=new(i?Yt:$t);return"j"in r?o.setFullYear(r.y,0,r.j):"W"in r||"U"in r?("w"in r||(r.w="W"in r?1:0),o.setFullYear(r.y,0,1),o.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(o.getDay()+5)%7:r.w+7*r.U-(o.getDay()+6)%7)):o.setFullYear(r.y,r.m,r.d),o.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),i?o._:o},r.toString=function(){return e},r}function f(e,t,r,n){var i,o,a,s=0,l=t.length,u=r.length;while(s<l){if(n>=u)return-1;if(i=t.charCodeAt(s++),37===i){if(a=t.charAt(s++),o=w[a in tr?t.charAt(s++):a],!o||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}c.utc=function(e){var t=c(e);function r(e){try{$t=Yt;var r=new $t;return r._=e,t(r)}finally{$t=Date}}return r.parse=function(e){try{$t=Yt;var r=t.parse(e);return r&&r._}finally{$t=Date}},r.toString=t.toString,r},c.multi=c.utc.multi=_r;var p=o.map(),d=or(a),h=ar(a),v=or(s),m=ar(s),g=or(l),y=ar(l),b=or(u),x=ar(u);i.forEach((function(e,t){p.set(e.toLowerCase(),t)}));var A={a:function(e){return s[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:c(t),d:function(e,t){return ir(e.getDate(),t,2)},e:function(e,t){return ir(e.getDate(),t,2)},H:function(e,t){return ir(e.getHours(),t,2)},I:function(e,t){return ir(e.getHours()%12||12,t,2)},j:function(e,t){return ir(1+Gt.dayOfYear(e),t,3)},L:function(e,t){return ir(e.getMilliseconds(),t,3)},m:function(e,t){return ir(e.getMonth()+1,t,2)},M:function(e,t){return ir(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return ir(e.getSeconds(),t,2)},U:function(e,t){return ir(Gt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return ir(Gt.mondayOfYear(e),t,2)},x:c(r),X:c(n),y:function(e,t){return ir(e.getFullYear()%100,t,2)},Y:function(e,t){return ir(e.getFullYear()%1e4,t,4)},Z:Ar,"%":function(){return"%"}},w={a:_,A:E,b:k,B:T,c:C,d:vr,e:vr,H:gr,I:gr,j:mr,L:xr,m:hr,M:yr,p:M,S:br,U:lr,w:sr,W:ur,x:S,X:O,y:fr,Y:cr,Z:pr,"%":wr};function _(e,t,r){v.lastIndex=0;var n=v.exec(t.slice(r));return n?(e.w=m.get(n[0].toLowerCase()),r+n[0].length):-1}function E(e,t,r){d.lastIndex=0;var n=d.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1}function k(e,t,r){b.lastIndex=0;var n=b.exec(t.slice(r));return n?(e.m=x.get(n[0].toLowerCase()),r+n[0].length):-1}function T(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1}function C(e,t,r){return f(e,A.c.toString(),t,r)}function S(e,t,r){return f(e,A.x.toString(),t,r)}function O(e,t,r){return f(e,A.X.toString(),t,r)}function M(e,t,r){var n=p.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)}return c}Gt.year=Zt((function(e){return e=Gt.day(e),e.setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Gt.years=Gt.year.range,Gt.years.utc=Gt.year.utc.range,Gt.day=Zt((function(e){var t=new $t(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Gt.days=Gt.day.range,Gt.days.utc=Gt.day.utc.range,Gt.dayOfYear=function(e){var t=Gt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Gt[e]=Zt((function(e){return(e=Gt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Gt.year(e).getDay();return Math.floor((Gt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Gt[e+"s"]=r.range,Gt[e+"s"].utc=r.utc.range,Gt[e+"OfYear"]=function(e){var r=Gt.year(e).getDay();return Math.floor((Gt.dayOfYear(e)+(r+t)%7)/7)}})),Gt.week=Gt.sunday,Gt.weeks=Gt.sunday.range,Gt.weeks.utc=Gt.sunday.utc.range,Gt.weekOfYear=Gt.sundayOfYear;var tr={"-":"",_:" ",0:"0"},rr=/^\s*\d+/,nr=/^%/;function ir(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function or(e){return new RegExp("^(?:"+e.map(o.requote).join("|")+")","i")}function ar(e){var t=new k,r=-1,n=e.length;while(++r<n)t.set(e[r].toLowerCase(),r);return t}function sr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function lr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r));return n?(e.U=+n[0],r+n[0].length):-1}function ur(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r));return n?(e.W=+n[0],r+n[0].length):-1}function cr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function fr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.y=dr(+n[0]),r+n[0].length):-1}function pr(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function dr(e){return e+(e>68?1900:2e3)}function hr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function vr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function mr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function gr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function yr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function br(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function xr(e,t,r){rr.lastIndex=0;var n=rr.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Ar(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=w(t)/60|0,i=w(t)%60;return r+ir(n,"0",2)+ir(i,"0",2)}function wr(e,t,r){nr.lastIndex=0;var n=nr.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function _r(e){var t=e.length,r=-1;while(++r<t)e[r][0]=this(e[r][0]);return function(t){var r=0,n=e[r];while(!n[1](t))n=e[++r];return n[0](t)}}o.locale=function(e){return{numberFormat:Qt(e),timeFormat:er(e)}};var Er=o.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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 kr(){}o.format=Er.numberFormat,o.geo={},kr.prototype={s:0,t:0,add:function(e){Cr(e,this.t,Tr),Cr(Tr.s,this.s,this),this.s?this.t+=Tr.t:this.s=Tr.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Tr=new kr;function Cr(e,t,r){var n=r.s=e+t,i=n-e,o=n-i;r.t=e-o+(t-i)}function Sr(e,t){e&&Mr.hasOwnProperty(e.type)&&Mr[e.type](e,t)}o.geo.stream=function(e,t){e&&Or.hasOwnProperty(e.type)?Or[e.type](e,t):Sr(e,t)};var Or={Feature:function(e,t){Sr(e.geometry,t)},FeatureCollection:function(e,t){var r=e.features,n=-1,i=r.length;while(++n<i)Sr(r[n].geometry,t)}},Mr={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){var r=e.coordinates,n=-1,i=r.length;while(++n<i)e=r[n],t.point(e[0],e[1],e[2])},LineString:function(e,t){Pr(e.coordinates,t,0)},MultiLineString:function(e,t){var r=e.coordinates,n=-1,i=r.length;while(++n<i)Pr(r[n],t,0)},Polygon:function(e,t){Br(e.coordinates,t)},MultiPolygon:function(e,t){var r=e.coordinates,n=-1,i=r.length;while(++n<i)Br(r[n],t)},GeometryCollection:function(e,t){var r=e.geometries,n=-1,i=r.length;while(++n<i)Sr(r[n],t)}};function Pr(e,t,r){var n,i=-1,o=e.length-r;t.lineStart();while(++i<o)n=e[i],t.point(n[0],n[1],n[2]);t.lineEnd()}function Br(e,t){var r=-1,n=e.length;t.polygonStart();while(++r<n)Pr(e[r],t,1);t.polygonEnd()}o.geo.area=function(e){return Lr=0,o.geo.stream(e,Kr),Lr};var Lr,Dr,Ir,jr,Rr,Fr,Nr,zr,Ur,Hr,Vr,Qr,Wr=new kr,Kr={sphere:function(){Lr+=4*Be},point:z,lineStart:z,lineEnd:z,polygonStart:function(){Wr.reset(),Kr.lineStart=qr},polygonEnd:function(){var e=2*Wr;Lr+=e<0?4*Be+e:e,Kr.lineStart=Kr.lineEnd=Kr.point=z}};function qr(){var e,t,r,n,i;function o(e,t){e*=je,t=t*je/2+Be/4;var o=e-r,a=o>=0?1:-1,s=a*o,l=Math.cos(t),u=Math.sin(t),c=i*u,f=n*l+c*Math.cos(s),p=c*a*Math.sin(s);Wr.add(Math.atan2(p,f)),r=e,n=l,i=u}Kr.point=function(a,s){Kr.point=o,r=(e=a)*je,n=Math.cos(s=(t=s)*je/2+Be/4),i=Math.sin(s)},Kr.lineEnd=function(){o(e,t)}}function Gr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function $r(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Yr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Xr(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Zr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Jr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function en(e){return[Math.atan2(e[1],e[0]),Ue(e[2])]}function tn(e,t){return w(e[0]-t[0])<Me&&w(e[1]-t[1])<Me}o.geo.bounds=function(){var e,t,r,n,i,a,s,l,u,c,f,p={point:d,lineStart:v,lineEnd:m,polygonStart:function(){p.point=g,p.lineStart=y,p.lineEnd=b,u=0,Kr.polygonStart()},polygonEnd:function(){Kr.polygonEnd(),p.point=d,p.lineStart=v,p.lineEnd=m,Wr<0?(e=-(r=180),t=-(n=90)):u>Me?n=90:u<-Me&&(t=-90),f[0]=e,f[1]=r}};function d(i,o){c.push(f=[e=i,r=i]),o<t&&(t=o),o>n&&(n=o)}function h(o,a){var s=Gr([o*je,a*je]);if(l){var u=Yr(l,s),c=[u[1],-u[0],0],f=Yr(c,u);Jr(f),f=en(f);var p=o-i,h=p>0?1:-1,v=f[0]*Re*h,m=w(p)>180;if(m^(h*i<v&&v<h*o)){var g=f[1]*Re;g>n&&(n=g)}else if(v=(v+360)%360-180,m^(h*i<v&&v<h*o)){g=-f[1]*Re;g<t&&(t=g)}else a<t&&(t=a),a>n&&(n=a);m?o<i?x(e,o)>x(e,r)&&(r=o):x(o,r)>x(e,r)&&(e=o):r>=e?(o<e&&(e=o),o>r&&(r=o)):o>i?x(e,o)>x(e,r)&&(r=o):x(o,r)>x(e,r)&&(e=o)}else d(o,a);l=s,i=o}function v(){p.point=h}function m(){f[0]=e,f[1]=r,p.point=d,l=null}function g(e,t){if(l){var r=e-i;u+=w(r)>180?r+(r>0?360:-360):r}else a=e,s=t;Kr.point(e,t),h(e,t)}function y(){Kr.lineStart()}function b(){g(a,s),Kr.lineEnd(),w(u)>Me&&(e=-(r=180)),f[0]=e,f[1]=r,l=null}function x(e,t){return(t-=e)<0?t+360:t}function A(e,t){return e[0]-t[0]}function _(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}return function(i){n=r=-(e=t=1/0),c=[],o.geo.stream(i,p);var a=c.length;if(a){c.sort(A);for(var s=1,l=c[0],u=[l];s<a;++s)h=c[s],_(h[0],l)||_(h[1],l)?(x(l[0],h[1])>x(l[0],l[1])&&(l[1]=h[1]),x(h[0],l[1])>x(l[0],l[1])&&(l[0]=h[0])):u.push(l=h);var d,h,v=-1/0;for(a=u.length-1,s=0,l=u[a];s<=a;l=h,++s)h=u[s],(d=x(l[1],h[0]))>v&&(v=d,e=h[0],r=l[1])}return c=f=null,e===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,t],[r,n]]}}(),o.geo.centroid=function(e){Dr=Ir=jr=Rr=Fr=Nr=zr=Ur=Hr=Vr=Qr=0,o.geo.stream(e,rn);var t=Hr,r=Vr,n=Qr,i=t*t+r*r+n*n;return i<Pe&&(t=Nr,r=zr,n=Ur,Ir<Me&&(t=jr,r=Rr,n=Fr),i=t*t+r*r+n*n,i<Pe)?[NaN,NaN]:[Math.atan2(r,t)*Re,Ue(n/Math.sqrt(i))*Re]};var rn={sphere:z,point:nn,lineStart:an,lineEnd:sn,polygonStart:function(){rn.lineStart=ln},polygonEnd:function(){rn.lineStart=an}};function nn(e,t){e*=je;var r=Math.cos(t*=je);on(r*Math.cos(e),r*Math.sin(e),Math.sin(t))}function on(e,t,r){++Dr,jr+=(e-jr)/Dr,Rr+=(t-Rr)/Dr,Fr+=(r-Fr)/Dr}function an(){var e,t,r;function n(n,i){n*=je;var o=Math.cos(i*=je),a=o*Math.cos(n),s=o*Math.sin(n),l=Math.sin(i),u=Math.atan2(Math.sqrt((u=t*l-r*s)*u+(u=r*a-e*l)*u+(u=e*s-t*a)*u),e*a+t*s+r*l);Ir+=u,Nr+=u*(e+(e=a)),zr+=u*(t+(t=s)),Ur+=u*(r+(r=l)),on(e,t,r)}rn.point=function(i,o){i*=je;var a=Math.cos(o*=je);e=a*Math.cos(i),t=a*Math.sin(i),r=Math.sin(o),rn.point=n,on(e,t,r)}}function sn(){rn.point=nn}function ln(){var e,t,r,n,i;function o(e,t){e*=je;var o=Math.cos(t*=je),a=o*Math.cos(e),s=o*Math.sin(e),l=Math.sin(t),u=n*l-i*s,c=i*a-r*l,f=r*s-n*a,p=Math.sqrt(u*u+c*c+f*f),d=r*a+n*s+i*l,h=p&&-ze(d)/p,v=Math.atan2(p,d);Hr+=h*u,Vr+=h*c,Qr+=h*f,Ir+=v,Nr+=v*(r+(r=a)),zr+=v*(n+(n=s)),Ur+=v*(i+(i=l)),on(r,n,i)}rn.point=function(a,s){e=a,t=s,rn.point=o,a*=je;var l=Math.cos(s*=je);r=l*Math.cos(a),n=l*Math.sin(a),i=Math.sin(s),on(r,n,i)},rn.lineEnd=function(){o(e,t),rn.lineEnd=sn,rn.point=nn}}function un(e,t){function r(r,n){return r=e(r,n),t(r[0],r[1])}return e.invert&&t.invert&&(r.invert=function(r,n){return r=t.invert(r,n),r&&e.invert(r[0],r[1])}),r}function cn(){return!0}function fn(e,t,r,n,i){var o=[],a=[];if(e.forEach((function(e){if(!((t=e.length-1)<=0)){var t,r=e[0],n=e[t];if(tn(r,n)){i.lineStart();for(var s=0;s<t;++s)i.point((r=e[s])[0],r[1]);i.lineEnd()}else{var l=new dn(r,e,null,!0),u=new dn(r,null,l,!1);l.o=u,o.push(l),a.push(u),l=new dn(n,e,null,!1),u=new dn(n,null,l,!0),l.o=u,o.push(l),a.push(u)}}})),a.sort(t),pn(o),pn(a),o.length){for(var s=0,l=r,u=a.length;s<u;++s)a[s].e=l=!l;var c,f,p=o[0];while(1){var d=p,h=!0;while(d.v)if((d=d.n)===p)return;c=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(h)for(s=0,u=c.length;s<u;++s)i.point((f=c[s])[0],f[1]);else n(d.x,d.n.x,1,i);d=d.n}else{if(h){c=d.p.z;for(s=c.length-1;s>=0;--s)i.point((f=c[s])[0],f[1])}else n(d.x,d.p.x,-1,i);d=d.p}d=d.o,c=d.z,h=!h}while(!d.v);i.lineEnd()}}}function pn(e){if(t=e.length){var t,r,n=0,i=e[0];while(++n<t)i.n=r=e[n],r.p=i,i=r;i.n=r=e[0],r.p=i}}function dn(e,t,r,n){this.x=e,this.z=t,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}function hn(e,t,r,n){return function(i,a){var s,l=t(a),u=i.invert(n[0],n[1]),c={point:f,lineStart:d,lineEnd:h,polygonStart:function(){c.point=x,c.lineStart=A,c.lineEnd=w,s=[],v=[]},polygonEnd:function(){c.point=f,c.lineStart=d,c.lineEnd=h,s=o.merge(s);var e=wn(u,v);s.length?(b||(a.polygonStart(),b=!0),fn(s,gn,e,r,a)):e&&(b||(a.polygonStart(),b=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),b&&(a.polygonEnd(),b=!1),s=v=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function f(t,r){var n=i(t,r);e(t=n[0],r=n[1])&&a.point(t,r)}function p(e,t){var r=i(e,t);l.point(r[0],r[1])}function d(){c.point=p,l.lineStart()}function h(){c.point=f,l.lineEnd()}var v,m,g=mn(),y=t(g),b=!1;function x(e,t){m.push([e,t]);var r=i(e,t);y.point(r[0],r[1])}function A(){y.lineStart(),m=[]}function w(){x(m[0][0],m[0][1]),y.lineEnd();var e,t=y.clean(),r=g.buffer(),n=r.length;if(m.pop(),v.push(m),m=null,n)if(1&t){e=r[0];n=e.length-1;var i,o=-1;if(n>0){b||(a.polygonStart(),b=!0),a.lineStart();while(++o<n)a.point((i=e[o])[0],i[1]);a.lineEnd()}}else n>1&&2&t&&r.push(r.pop().concat(r.shift())),s.push(r.filter(vn))}return c}}function vn(e){return e.length>1}function mn(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:z,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function gn(e,t){return((e=e.x)[0]<0?e[1]-Ie-Me:Ie-e[1])-((t=t.x)[0]<0?t[1]-Ie-Me:Ie-t[1])}var yn=hn(cn,bn,An,[-Be,-Be/2]);function bn(e){var t,r=NaN,n=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,a){var s=o>0?Be:-Be,l=w(o-r);w(l-Be)<Me?(e.point(r,n=(n+a)/2>0?Ie:-Ie),e.point(i,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(o,n),t=0):i!==s&&l>=Be&&(w(r-i)<Me&&(r-=i*Me),w(o-s)<Me&&(o-=s*Me),n=xn(r,n,o,a),e.point(i,n),e.lineEnd(),e.lineStart(),e.point(s,n),t=0),e.point(r=o,n=a),i=s},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}function xn(e,t,r,n){var i,o,a=Math.sin(e-r);return w(a)>Me?Math.atan((Math.sin(t)*(o=Math.cos(n))*Math.sin(r)-Math.sin(n)*(i=Math.cos(t))*Math.sin(e))/(i*o*a)):(t+n)/2}function An(e,t,r,n){var i;if(null==e)i=r*Ie,n.point(-Be,i),n.point(0,i),n.point(Be,i),n.point(Be,0),n.point(Be,-i),n.point(0,-i),n.point(-Be,-i),n.point(-Be,0),n.point(-Be,i);else if(w(e[0]-t[0])>Me){var o=e[0]<t[0]?Be:-Be;i=r*o/2,n.point(-o,i),n.point(0,i),n.point(o,i)}else n.point(t[0],t[1])}function wn(e,t){var r=e[0],n=e[1],i=[Math.sin(r),-Math.cos(r),0],o=0,a=0;Wr.reset();for(var s=0,l=t.length;s<l;++s){var u=t[s],c=u.length;if(c){var f=u[0],p=f[0],d=f[1]/2+Be/4,h=Math.sin(d),v=Math.cos(d),m=1;while(1){m===c&&(m=0),e=u[m];var g=e[0],y=e[1]/2+Be/4,b=Math.sin(y),x=Math.cos(y),A=g-p,w=A>=0?1:-1,_=w*A,E=_>Be,k=h*b;if(Wr.add(Math.atan2(k*w*Math.sin(_),v*x+k*Math.cos(_))),o+=E?A+w*Le:A,E^p>=r^g>=r){var T=Yr(Gr(f),Gr(e));Jr(T);var C=Yr(i,T);Jr(C);var S=(E^A>=0?-1:1)*Ue(C[2]);(n>S||n===S&&(T[0]||T[1]))&&(a+=E^A>=0?1:-1)}if(!m++)break;p=g,h=b,v=x,f=e}}}return(o<-Me||o<Me&&Wr<-Me)^1&a}function _n(e){var t=Math.cos(e),r=t>0,n=w(t)>Me,i=si(e,6*je);return hn(o,a,i,r?[0,-e]:[-Be,e-Be]);function o(e,r){return Math.cos(e)*Math.cos(r)>t}function a(e){var t,i,a,u,c;return{lineStart:function(){u=a=!1,c=1},point:function(f,p){var d,h=[f,p],v=o(f,p),m=r?v?0:l(f,p):v?l(f+(f<0?Be:-Be),p):0;if(!t&&(u=a=v)&&e.lineStart(),v!==a&&(d=s(t,h),(tn(t,d)||tn(h,d))&&(h[0]+=Me,h[1]+=Me,v=o(h[0],h[1]))),v!==a)c=0,v?(e.lineStart(),d=s(h,t),e.point(d[0],d[1])):(d=s(t,h),e.point(d[0],d[1]),e.lineEnd()),t=d;else if(n&&t&&r^v){var g;m&i||!(g=s(h,t,!0))||(c=0,r?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!v||t&&tn(t,h)||e.point(h[0],h[1]),t=h,a=v,i=m},lineEnd:function(){a&&e.lineEnd(),t=null},clean:function(){return c|(u&&a)<<1}}}function s(e,r,n){var i=Gr(e),o=Gr(r),a=[1,0,0],s=Yr(i,o),l=$r(s,s),u=s[0],c=l-u*u;if(!c)return!n&&e;var f=t*l/c,p=-t*u/c,d=Yr(a,s),h=Zr(a,f),v=Zr(s,p);Xr(h,v);var m=d,g=$r(h,m),y=$r(m,m),b=g*g-y*($r(h,h)-1);if(!(b<0)){var x=Math.sqrt(b),A=Zr(m,(-g-x)/y);if(Xr(A,h),A=en(A),!n)return A;var _,E=e[0],k=r[0],T=e[1],C=r[1];k<E&&(_=E,E=k,k=_);var S=k-E,O=w(S-Be)<Me,M=O||S<Me;if(!O&&C<T&&(_=T,T=C,C=_),M?O?T+C>0^A[1]<(w(A[0]-E)<Me?T:C):T<=A[1]&&A[1]<=C:S>Be^(E<=A[0]&&A[0]<=k)){var P=Zr(m,(-g+x)/y);return Xr(P,h),[A,en(P)]}}}function l(t,n){var i=r?e:Be-e,o=0;return t<-i?o|=1:t>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}}function En(e,t,r,n){return function(i){var o,a=i.a,s=i.b,l=a.x,u=a.y,c=s.x,f=s.y,p=0,d=1,h=c-l,v=f-u;if(o=e-l,h||!(o>0)){if(o/=h,h<0){if(o<p)return;o<d&&(d=o)}else if(h>0){if(o>d)return;o>p&&(p=o)}if(o=r-l,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>p&&(p=o)}else if(h>0){if(o<p)return;o<d&&(d=o)}if(o=t-u,v||!(o>0)){if(o/=v,v<0){if(o<p)return;o<d&&(d=o)}else if(v>0){if(o>d)return;o>p&&(p=o)}if(o=n-u,v||!(o<0)){if(o/=v,v<0){if(o>d)return;o>p&&(p=o)}else if(v>0){if(o<p)return;o<d&&(d=o)}return p>0&&(i.a={x:l+p*h,y:u+p*v}),d<1&&(i.b={x:l+d*h,y:u+d*v}),i}}}}}}var kn=1e9;function Tn(e,t,r,n){return function(l){var u,c,f,p,d,h,v,m,g,y,b,x=l,A=mn(),w=En(e,t,r,n),_={point:C,lineStart:S,lineEnd:O,polygonStart:function(){l=A,u=[],c=[],b=!0},polygonEnd:function(){l=x,u=o.merge(u);var t=E([e,n]),r=b&&t,i=u.length;(r||i)&&(l.polygonStart(),r&&(l.lineStart(),k(null,null,1,l),l.lineEnd()),i&&fn(u,a,t,k,l),l.polygonEnd()),u=c=f=null}};function E(e){for(var t=0,r=c.length,n=e[1],i=0;i<r;++i)for(var o,a=1,s=c[i],l=s.length,u=s[0];a<l;++a)o=s[a],u[1]<=n?o[1]>n&&Ne(u,o,e)>0&&++t:o[1]<=n&&Ne(u,o,e)<0&&--t,u=o;return 0!==t}function k(o,a,l,u){var c=0,f=0;if(null==o||(c=i(o,l))!==(f=i(a,l))||s(o,a)<0^l>0)do{u.point(0===c||3===c?e:r,c>1?n:t)}while((c=(c+l+4)%4)!==f);else u.point(a[0],a[1])}function T(i,o){return e<=i&&i<=r&&t<=o&&o<=n}function C(e,t){T(e,t)&&l.point(e,t)}function S(){_.point=M,c&&c.push(f=[]),y=!0,g=!1,v=m=NaN}function O(){u&&(M(p,d),h&&g&&A.rejoin(),u.push(A.buffer())),_.point=C,g&&l.lineEnd()}function M(e,t){e=Math.max(-kn,Math.min(kn,e)),t=Math.max(-kn,Math.min(kn,t));var r=T(e,t);if(c&&f.push([e,t]),y)p=e,d=t,h=r,y=!1,r&&(l.lineStart(),l.point(e,t));else if(r&&g)l.point(e,t);else{var n={a:{x:v,y:m},b:{x:e,y:t}};w(n)?(g||(l.lineStart(),l.point(n.a.x,n.a.y)),l.point(n.b.x,n.b.y),r||l.lineEnd(),b=!1):r&&(l.lineStart(),l.point(e,t),b=!1)}v=e,m=t,g=r}return _};function i(n,i){return w(n[0]-e)<Me?i>0?0:3:w(n[0]-r)<Me?i>0?2:1:w(n[1]-t)<Me?i>0?1:0:i>0?3:2}function a(e,t){return s(e.x,t.x)}function s(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}}function Cn(e){var t=0,r=Be/3,n=Jn(e),i=n(t,r);return i.parallels=function(e){return arguments.length?n(t=e[0]*Be/180,r=e[1]*Be/180):[t/Be*180,r/Be*180]},i}function Sn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,i=1+r*(2*n-r),o=Math.sqrt(i)/n;function a(e,t){var r=Math.sqrt(i-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),o-r*Math.cos(e)]}return a.invert=function(e,t){var r=o-t;return[Math.atan2(e,r)/n,Ue((i-(e*e+r*r)*n*n)/(2*n))]},a}o.geo.clipExtent=function(){var e,t,r,n,i,o,a={stream:function(e){return i&&(i.valid=!1),i=o(e),i.valid=!0,i},extent:function(s){return arguments.length?(o=Tn(e=+s[0][0],t=+s[0][1],r=+s[1][0],n=+s[1][1]),i&&(i.valid=!1,i=null),a):[[e,t],[r,n]]}};return a.extent([[0,0],[960,500]])},(o.geo.conicEqualArea=function(){return Cn(Sn)}).raw=Sn,o.geo.albers=function(){return o.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},o.geo.albersUsa=function(){var e,t,r,n,i=o.geo.albers(),a=o.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=o.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,r){e=[t,r]}};function u(i){var o=i[0],a=i[1];return e=null,t(o,a),e||(r(o,a),e)||n(o,a),e}return u.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,o=(e[1]-r[1])/t;return(o>=.12&&o<.234&&n>=-.425&&n<-.214?a:o>=.166&&o<.234&&n>=-.214&&n<-.115?s:i).invert(e)},u.stream=function(e){var t=i.stream(e),r=a.stream(e),n=s.stream(e);return{point:function(e,i){t.point(e,i),r.point(e,i),n.point(e,i)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},u.precision=function(e){return arguments.length?(i.precision(e),a.precision(e),s.precision(e),u):i.precision()},u.scale=function(e){return arguments.length?(i.scale(e),a.scale(.35*e),s.scale(e),u.translate(i.translate())):i.scale()},u.translate=function(e){if(!arguments.length)return i.translate();var o=i.scale(),c=+e[0],f=+e[1];return t=i.translate(e).clipExtent([[c-.455*o,f-.238*o],[c+.455*o,f+.238*o]]).stream(l).point,r=a.translate([c-.307*o,f+.201*o]).clipExtent([[c-.425*o+Me,f+.12*o+Me],[c-.214*o-Me,f+.234*o-Me]]).stream(l).point,n=s.translate([c-.205*o,f+.212*o]).clipExtent([[c-.214*o+Me,f+.166*o+Me],[c-.115*o-Me,f+.234*o-Me]]).stream(l).point,u},u.scale(1070)};var On,Mn,Pn,Bn,Ln,Dn,In={point:z,lineStart:z,lineEnd:z,polygonStart:function(){Mn=0,In.lineStart=jn},polygonEnd:function(){In.lineStart=In.lineEnd=In.point=z,On+=w(Mn/2)}};function jn(){var e,t,r,n;function i(e,t){Mn+=n*e-r*t,r=e,n=t}In.point=function(o,a){In.point=i,e=r=o,t=n=a},In.lineEnd=function(){i(e,t)}}var Rn={point:Fn,lineStart:z,lineEnd:z,polygonStart:z,polygonEnd:z};function Fn(e,t){e<Pn&&(Pn=e),e>Ln&&(Ln=e),t<Bn&&(Bn=t),t>Dn&&(Dn=t)}function Nn(){var e=zn(4.5),t=[],r={point:n,lineStart:function(){r.point=i},lineEnd:a,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=a,r.point=n},pointRadius:function(t){return e=zn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function i(e,n){t.push("M",e,",",n),r.point=o}function o(e,r){t.push("L",e,",",r)}function a(){r.point=n}function s(){t.push("Z")}return r}function zn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var Un,Hn={point:Vn,lineStart:Qn,lineEnd:Wn,polygonStart:function(){Hn.lineStart=Kn},polygonEnd:function(){Hn.point=Vn,Hn.lineStart=Qn,Hn.lineEnd=Wn}};function Vn(e,t){jr+=e,Rr+=t,++Fr}function Qn(){var e,t;function r(r,n){var i=r-e,o=n-t,a=Math.sqrt(i*i+o*o);Nr+=a*(e+r)/2,zr+=a*(t+n)/2,Ur+=a,Vn(e=r,t=n)}Hn.point=function(n,i){Hn.point=r,Vn(e=n,t=i)}}function Wn(){Hn.point=Vn}function Kn(){var e,t,r,n;function i(e,t){var i=e-r,o=t-n,a=Math.sqrt(i*i+o*o);Nr+=a*(r+e)/2,zr+=a*(n+t)/2,Ur+=a,a=n*e-r*t,Hr+=a*(r+e),Vr+=a*(n+t),Qr+=3*a,Vn(r=e,n=t)}Hn.point=function(o,a){Hn.point=i,Vn(e=r=o,t=n=a)},Hn.lineEnd=function(){i(e,t)}}function qn(e){var t=4.5,r={point:n,lineStart:function(){r.point=i},lineEnd:a,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=a,r.point=n},pointRadius:function(e){return t=e,r},result:z};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Le)}function i(t,n){e.moveTo(t,n),r.point=o}function o(t,r){e.lineTo(t,r)}function a(){r.point=n}function s(){e.closePath()}return r}function Gn(e){var t=.5,r=Math.cos(30*je),n=16;function i(e){return(n?a:o)(e)}function o(t){return Xn(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function a(t){var r,i,o,a,l,u,c,f,p,d,h,v,m={point:g,lineStart:y,lineEnd:x,polygonStart:function(){t.polygonStart(),m.lineStart=A},polygonEnd:function(){t.polygonEnd(),m.lineStart=y}};function g(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){f=NaN,m.point=b,t.lineStart()}function b(r,i){var o=Gr([r,i]),a=e(r,i);s(f,p,c,d,h,v,f=a[0],p=a[1],c=r,d=o[0],h=o[1],v=o[2],n,t),t.point(f,p)}function x(){m.point=g,t.lineEnd()}function A(){y(),m.point=w,m.lineEnd=_}function w(e,t){b(r=e,t),i=f,o=p,a=d,l=h,u=v,m.point=b}function _(){s(f,p,c,d,h,v,i,o,r,a,l,u,n,t),m.lineEnd=x,x()}return m}function s(n,i,o,a,l,u,c,f,p,d,h,v,m,g){var y=c-n,b=f-i,x=y*y+b*b;if(x>4*t&&m--){var A=a+d,_=l+h,E=u+v,k=Math.sqrt(A*A+_*_+E*E),T=Math.asin(E/=k),C=w(w(E)-1)<Me||w(o-p)<Me?(o+p)/2:Math.atan2(_,A),S=e(C,T),O=S[0],M=S[1],P=O-n,B=M-i,L=b*P-y*B;(L*L/x>t||w((y*P+b*B)/x-.5)>.3||a*d+l*h+u*v<r)&&(s(n,i,o,a,l,u,O,M,C,A/=k,_/=k,E,m,g),g.point(O,M),s(O,M,C,A,_,E,c,f,p,d,h,v,m,g))}}return i.precision=function(e){return arguments.length?(n=(t=e*e)>0&&16,i):Math.sqrt(t)},i}function $n(e){var t=Gn((function(t,r){return e([t*Re,r*Re])}));return function(e){return ei(t(e))}}function Yn(e){this.stream=e}function Xn(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Zn(e){return Jn((function(){return e}))()}function Jn(e){var t,r,n,i,a,s,l=Gn((function(e,r){return e=t(e,r),[e[0]*u+i,a-e[1]*u]})),u=150,c=480,f=250,p=0,d=0,h=0,v=0,m=0,g=yn,y=j,b=null,x=null;function A(e){return e=n(e[0]*je,e[1]*je),[e[0]*u+i,a-e[1]*u]}function w(e){return e=n.invert((e[0]-i)/u,(a-e[1])/u),e&&[e[0]*Re,e[1]*Re]}function _(){n=un(r=ni(h,v,m),t);var e=t(p,d);return i=c-e[0]*u,a=f+e[1]*u,E()}function E(){return s&&(s.valid=!1,s=null),A}return A.stream=function(e){return s&&(s.valid=!1),s=ei(g(r,l(y(e)))),s.valid=!0,s},A.clipAngle=function(e){return arguments.length?(g=null==e?(b=e,yn):_n((b=+e)*je),E()):b},A.clipExtent=function(e){return arguments.length?(x=e,y=e?Tn(e[0][0],e[0][1],e[1][0],e[1][1]):j,E()):x},A.scale=function(e){return arguments.length?(u=+e,_()):u},A.translate=function(e){return arguments.length?(c=+e[0],f=+e[1],_()):[c,f]},A.center=function(e){return arguments.length?(p=e[0]%360*je,d=e[1]%360*je,_()):[p*Re,d*Re]},A.rotate=function(e){return arguments.length?(h=e[0]%360*je,v=e[1]%360*je,m=e.length>2?e[2]%360*je:0,_()):[h*Re,v*Re,m*Re]},o.rebind(A,l,"precision"),function(){return t=e.apply(this,arguments),A.invert=t.invert&&w,_()}}function ei(e){return Xn(e,(function(t,r){e.point(t*je,r*je)}))}function ti(e,t){return[e,t]}function ri(e,t){return[e>Be?e-Le:e<-Be?e+Le:e,t]}function ni(e,t,r){return e?t||r?un(oi(e),ai(t,r)):oi(e):t||r?ai(t,r):ri}function ii(e){return function(t,r){return t+=e,[t>Be?t-Le:t<-Be?t+Le:t,r]}}function oi(e){var t=ii(e);return t.invert=ii(-e),t}function ai(e,t){var r=Math.cos(e),n=Math.sin(e),i=Math.cos(t),o=Math.sin(t);function a(e,t){var a=Math.cos(t),s=Math.cos(e)*a,l=Math.sin(e)*a,u=Math.sin(t),c=u*r+s*n;return[Math.atan2(l*i-c*o,s*r-u*n),Ue(c*i+l*o)]}return a.invert=function(e,t){var a=Math.cos(t),s=Math.cos(e)*a,l=Math.sin(e)*a,u=Math.sin(t),c=u*i-l*o;return[Math.atan2(l*i+u*o,s*r+c*n),Ue(c*r-s*n)]},a}function si(e,t){var r=Math.cos(e),n=Math.sin(e);return function(i,o,a,s){var l=a*t;null!=i?(i=li(r,i),o=li(r,o),(a>0?i<o:i>o)&&(i+=a*Le)):(i=e+a*Le,o=e-.5*l);for(var u,c=i;a>0?c>o:c<o;c-=l)s.point((u=en([r,-n*Math.cos(c),-n*Math.sin(c)]))[0],u[1])}}function li(e,t){var r=Gr(t);r[0]-=e,Jr(r);var n=ze(-r[1]);return((-r[2]<0?-n:n)+2*Math.PI-Me)%(2*Math.PI)}function ui(e,t,r){var n=o.range(e,t-Me,r).concat(t);return function(e){return n.map((function(t){return[e,t]}))}}function ci(e,t,r){var n=o.range(e,t-Me,r).concat(t);return function(e){return n.map((function(t){return[t,e]}))}}function fi(e){return e.source}function pi(e){return e.target}function di(e,t,r,n){var i=Math.cos(t),o=Math.sin(t),a=Math.cos(n),s=Math.sin(n),l=i*Math.cos(e),u=i*Math.sin(e),c=a*Math.cos(r),f=a*Math.sin(r),p=2*Math.asin(Math.sqrt(We(n-t)+i*a*We(r-e))),d=1/Math.sin(p),h=p?function(e){var t=Math.sin(e*=p)*d,r=Math.sin(p-e)*d,n=r*l+t*c,i=r*u+t*f,a=r*o+t*s;return[Math.atan2(i,n)*Re,Math.atan2(a,Math.sqrt(n*n+i*i))*Re]}:function(){return[e*Re,t*Re]};return h.distance=p,h}o.geo.path=function(){var e,t,r,n,i,a=4.5;function s(e){return e&&("function"===typeof a&&n.pointRadius(+a.apply(this,arguments)),i&&i.valid||(i=r(n)),o.geo.stream(e,i)),n.result()}function l(){return i=null,s}return s.area=function(e){return On=0,o.geo.stream(e,r(In)),On},s.centroid=function(e){return jr=Rr=Fr=Nr=zr=Ur=Hr=Vr=Qr=0,o.geo.stream(e,r(Hn)),Qr?[Hr/Qr,Vr/Qr]:Ur?[Nr/Ur,zr/Ur]:Fr?[jr/Fr,Rr/Fr]:[NaN,NaN]},s.bounds=function(e){return Ln=Dn=-(Pn=Bn=1/0),o.geo.stream(e,r(Rn)),[[Pn,Bn],[Ln,Dn]]},s.projection=function(t){return arguments.length?(r=(e=t)?t.stream||$n(t):j,l()):e},s.context=function(e){return arguments.length?(n=null==(t=e)?new Nn:new qn(e),"function"!==typeof a&&n.pointRadius(a),l()):t},s.pointRadius=function(e){return arguments.length?(a="function"===typeof e?e:(n.pointRadius(+e),+e),s):a},s.projection(o.geo.albersUsa()).context(null)},o.geo.transform=function(e){return{stream:function(t){var r=new Yn(t);for(var n in e)r[n]=e[n];return r}}},Yn.prototype={point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},o.geo.projection=Zn,o.geo.projectionMutator=Jn,(o.geo.equirectangular=function(){return Zn(ti)}).raw=ti.invert=ti,o.geo.rotation=function(e){function t(t){return t=e(t[0]*je,t[1]*je),t[0]*=Re,t[1]*=Re,t}return e=ni(e[0]%360*je,e[1]*je,e.length>2?e[2]*je:0),t.invert=function(t){return t=e.invert(t[0]*je,t[1]*je),t[0]*=Re,t[1]*=Re,t},t},ri.invert=ti,o.geo.circle=function(){var e,t,r=[0,0],n=6;function i(){var e="function"===typeof r?r.apply(this,arguments):r,n=ni(-e[0]*je,-e[1]*je,0).invert,i=[];return t(null,null,1,{point:function(e,t){i.push(e=n(e,t)),e[0]*=Re,e[1]*=Re}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(e){return arguments.length?(r=e,i):r},i.angle=function(r){return arguments.length?(t=si((e=+r)*je,n*je),i):e},i.precision=function(r){return arguments.length?(t=si(e*je,(n=+r)*je),i):n},i.angle(90)},o.geo.distance=function(e,t){var r,n=(t[0]-e[0])*je,i=e[1]*je,o=t[1]*je,a=Math.sin(n),s=Math.cos(n),l=Math.sin(i),u=Math.cos(i),c=Math.sin(o),f=Math.cos(o);return Math.atan2(Math.sqrt((r=f*a)*r+(r=u*c-l*f*s)*r),l*c+u*f*s)},o.geo.graticule=function(){var e,t,r,n,i,a,s,l,u,c,f,p,d=10,h=d,v=90,m=360,g=2.5;function y(){return{type:"MultiLineString",coordinates:b()}}function b(){return o.range(Math.ceil(n/v)*v,r,v).map(f).concat(o.range(Math.ceil(l/m)*m,s,m).map(p)).concat(o.range(Math.ceil(t/d)*d,e,d).filter((function(e){return w(e%v)>Me})).map(u)).concat(o.range(Math.ceil(a/h)*h,i,h).filter((function(e){return w(e%m)>Me})).map(c))}return y.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},y.outline=function(){return{type:"Polygon",coordinates:[f(n).concat(p(s).slice(1),f(r).reverse().slice(1),p(l).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.majorExtent(e).minorExtent(e):y.minorExtent()},y.majorExtent=function(e){return arguments.length?(n=+e[0][0],r=+e[1][0],l=+e[0][1],s=+e[1][1],n>r&&(e=n,n=r,r=e),l>s&&(e=l,l=s,s=e),y.precision(g)):[[n,l],[r,s]]},y.minorExtent=function(r){return arguments.length?(t=+r[0][0],e=+r[1][0],a=+r[0][1],i=+r[1][1],t>e&&(r=t,t=e,e=r),a>i&&(r=a,a=i,i=r),y.precision(g)):[[t,a],[e,i]]},y.step=function(e){return arguments.length?y.majorStep(e).minorStep(e):y.minorStep()},y.majorStep=function(e){return arguments.length?(v=+e[0],m=+e[1],y):[v,m]},y.minorStep=function(e){return arguments.length?(d=+e[0],h=+e[1],y):[d,h]},y.precision=function(o){return arguments.length?(g=+o,u=ui(a,i,90),c=ci(t,e,g),f=ui(l,s,90),p=ci(n,r,g),y):g},y.majorExtent([[-180,-90+Me],[180,90-Me]]).minorExtent([[-180,-80-Me],[180,80+Me]])},o.geo.greatArc=function(){var e,t,r=fi,n=pi;function i(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),t||n.apply(this,arguments)]}}return i.distance=function(){return o.geo.distance(e||r.apply(this,arguments),t||n.apply(this,arguments))},i.source=function(t){return arguments.length?(r=t,e="function"===typeof t?null:t,i):r},i.target=function(e){return arguments.length?(n=e,t="function"===typeof e?null:e,i):n},i.precision=function(){return arguments.length?i:0},i},o.geo.interpolate=function(e,t){return di(e[0]*je,e[1]*je,t[0]*je,t[1]*je)},o.geo.length=function(e){return Un=0,o.geo.stream(e,hi),Un};var hi={sphere:z,point:z,lineStart:vi,lineEnd:z,polygonStart:z,polygonEnd:z};function vi(){var e,t,r;function n(n,i){var o=Math.sin(i*=je),a=Math.cos(i),s=w((n*=je)-e),l=Math.cos(s);Un+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=r*o-t*a*l)*s),t*o+r*a*l),e=n,t=o,r=a}hi.point=function(i,o){e=i*je,t=Math.sin(o*=je),r=Math.cos(o),hi.point=n},hi.lineEnd=function(){hi.point=hi.lineEnd=z}}function mi(e,t){function r(t,r){var n=Math.cos(t),i=Math.cos(r),o=e(n*i);return[o*i*Math.sin(t),o*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),i=t(n),o=Math.sin(i),a=Math.cos(i);return[Math.atan2(e*o,n*a),Math.asin(n&&r*o/n)]},r}var gi=mi((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(o.geo.azimuthalEqualArea=function(){return Zn(gi)}).raw=gi;var yi=mi((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),j);function bi(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Be/4+e/2)},i=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),o=r*Math.pow(n(e),i)/i;if(!i)return wi;function a(e,t){o>0?t<-Ie+Me&&(t=-Ie+Me):t>Ie-Me&&(t=Ie-Me);var r=o/Math.pow(n(t),i);return[r*Math.sin(i*e),o-r*Math.cos(i*e)]}return a.invert=function(e,t){var r=o-t,n=Fe(i)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/i,2*Math.atan(Math.pow(o/n,1/i))-Ie]},a}function xi(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),i=r/n+e;if(w(n)<Me)return ti;function o(e,t){var r=i-t;return[r*Math.sin(n*e),i-r*Math.cos(n*e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,i-Fe(n)*Math.sqrt(e*e+r*r)]},o}(o.geo.azimuthalEquidistant=function(){return Zn(yi)}).raw=yi,(o.geo.conicConformal=function(){return Cn(bi)}).raw=bi,(o.geo.conicEquidistant=function(){return Cn(xi)}).raw=xi;var Ai=mi((function(e){return 1/e}),Math.atan);function wi(e,t){return[e,Math.log(Math.tan(Be/4+t/2))]}function _i(e){var t,r=Zn(e),n=r.scale,i=r.translate,o=r.clipExtent;return r.scale=function(){var e=n.apply(r,arguments);return e===r?t?r.clipExtent(null):r:e},r.translate=function(){var e=i.apply(r,arguments);return e===r?t?r.clipExtent(null):r:e},r.clipExtent=function(e){var a=o.apply(r,arguments);if(a===r){if(t=null==e){var s=Be*n(),l=i();o([[l[0]-s,l[1]-s],[l[0]+s,l[1]+s]])}}else t&&(a=null);return a},r.clipExtent(null)}(o.geo.gnomonic=function(){return Zn(Ai)}).raw=Ai,wi.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Ie]},(o.geo.mercator=function(){return _i(wi)}).raw=wi;var Ei=mi((function(){return 1}),Math.asin);(o.geo.orthographic=function(){return Zn(Ei)}).raw=Ei;var ki=mi((function(e){return 1/(1+e)}),(function(e){return 2*Math.atan(e)}));function Ti(e,t){return[Math.log(Math.tan(Be/4+t/2)),-e]}function Ci(e){return e[0]}function Si(e){return e[1]}function Oi(e){for(var t=e.length,r=[0,1],n=2,i=2;i<t;i++){while(n>1&&Ne(e[r[n-2]],e[r[n-1]],e[i])<=0)--n;r[n++]=i}return r.slice(0,n)}function Mi(e,t){return e[0]-t[0]||e[1]-t[1]}(o.geo.stereographic=function(){return Zn(ki)}).raw=ki,Ti.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ie]},(o.geo.transverseMercator=function(){var e=_i(Ti),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):(e=r(),[e[0],e[1],e[2]-90])},r([0,0,90])}).raw=Ti,o.geom={},o.geom.hull=function(e){var t=Ci,r=Si;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,i=Ct(t),o=Ct(r),a=e.length,s=[],l=[];for(n=0;n<a;n++)s.push([+i.call(this,e[n],n),+o.call(this,e[n],n),n]);for(s.sort(Mi),n=0;n<a;n++)l.push([s[n][0],-s[n][1]]);var u=Oi(s),c=Oi(l),f=c[0]===u[0],p=c[c.length-1]===u[u.length-1],d=[];for(n=u.length-1;n>=0;--n)d.push(e[s[u[n]][2]]);for(n=+f;n<c.length-p;++n)d.push(e[s[c[n]][2]]);return d}return n.x=function(e){return arguments.length?(t=e,n):t},n.y=function(e){return arguments.length?(r=e,n):r},n},o.geom.polygon=function(e){return q(e,Pi),e};var Pi=o.geom.polygon.prototype=[];function Bi(e,t,r){return(r[0]-t[0])*(e[1]-t[1])<(r[1]-t[1])*(e[0]-t[0])}function Li(e,t,r,n){var i=e[0],o=r[0],a=t[0]-i,s=n[0]-o,l=e[1],u=r[1],c=t[1]-l,f=n[1]-u,p=(s*(l-u)-f*(i-o))/(f*a-s*c);return[i+p*a,l+p*c]}function Di(e){var t=e[0],r=e[e.length-1];return!(t[0]-r[0]||t[1]-r[1])}Pi.area=function(){var e,t=-1,r=this.length,n=this[r-1],i=0;while(++t<r)e=n,n=this[t],i+=e[1]*n[0]-e[0]*n[1];return.5*i},Pi.centroid=function(e){var t,r,n=-1,i=this.length,o=0,a=0,s=this[i-1];arguments.length||(e=-1/(6*this.area()));while(++n<i)t=s,s=this[n],r=t[0]*s[1]-s[0]*t[1],o+=(t[0]+s[0])*r,a+=(t[1]+s[1])*r;return[o*e,a*e]},Pi.clip=function(e){var t,r,n,i,o,a,s=Di(e),l=-1,u=this.length-Di(this),c=this[u-1];while(++l<u){t=e.slice(),e.length=0,i=this[l],o=t[(n=t.length-s)-1],r=-1;while(++r<n)a=t[r],Bi(a,c,i)?(Bi(o,c,i)||e.push(Li(o,a,c,i)),e.push(a)):Bi(o,c,i)&&e.push(Li(o,a,c,i)),o=a;s&&e.push(e[0]),c=i}return e};var Ii,ji,Ri,Fi,Ni,zi=[],Ui=[];function Hi(){uo(this),this.edge=this.site=this.circle=null}function Vi(e){var t=zi.pop()||new Hi;return t.site=e,t}function Qi(e){eo(e),Ri.remove(e),zi.push(e),uo(e)}function Wi(e){var t=e.circle,r=t.x,n=t.cy,i={x:r,y:n},o=e.P,a=e.N,s=[e];Qi(e);var l=o;while(l.circle&&w(r-l.circle.x)<Me&&w(n-l.circle.cy)<Me)o=l.P,s.unshift(l),Qi(l),l=o;s.unshift(l),eo(l);var u=a;while(u.circle&&w(r-u.circle.x)<Me&&w(n-u.circle.cy)<Me)a=u.N,s.push(u),Qi(u),u=a;s.push(u),eo(u);var c,f=s.length;for(c=1;c<f;++c)u=s[c],l=s[c-1],ao(u.edge,l.site,u.site,i);l=s[0],u=s[f-1],u.edge=io(l.site,u.site,null,i),Ji(l),Ji(u)}function Ki(e){var t,r,n,i,o=e.x,a=e.y,s=Ri._;while(s)if(n=qi(s,a)-o,n>Me)s=s.L;else{if(i=o-Gi(s,a),!(i>Me)){n>-Me?(t=s.P,r=s):i>-Me?(t=s,r=s.N):t=r=s;break}if(!s.R){t=s;break}s=s.R}var l=Vi(e);if(Ri.insert(t,l),t||r){if(t===r)return eo(t),r=Vi(t.site),Ri.insert(l,r),l.edge=r.edge=io(t.site,l.site),Ji(t),void Ji(r);if(r){eo(t),eo(r);var u=t.site,c=u.x,f=u.y,p=e.x-c,d=e.y-f,h=r.site,v=h.x-c,m=h.y-f,g=2*(p*m-d*v),y=p*p+d*d,b=v*v+m*m,x={x:(m*y-d*b)/g+c,y:(p*b-v*y)/g+f};ao(r.edge,u,h,x),l.edge=io(u,e,null,x),r.edge=io(e,h,null,x),Ji(t),Ji(r)}else l.edge=io(t.site,l.site)}}function qi(e,t){var r=e.site,n=r.x,i=r.y,o=i-t;if(!o)return n;var a=e.P;if(!a)return-1/0;r=a.site;var s=r.x,l=r.y,u=l-t;if(!u)return s;var c=s-n,f=1/o-1/u,p=c/u;return f?(-p+Math.sqrt(p*p-2*f*(c*c/(-2*u)-l+u/2+i-o/2)))/f+n:(n+s)/2}function Gi(e,t){var r=e.N;if(r)return qi(r,t);var n=e.site;return n.y===t?n.x:1/0}function $i(e){this.site=e,this.edges=[]}function Yi(e){var t,r,n,i,o,a,s,l,u,c,f=e[0][0],p=e[1][0],d=e[0][1],h=e[1][1],v=ji,m=v.length;while(m--)if(o=v[m],o&&o.prepare()){s=o.edges,l=s.length,a=0;while(a<l)c=s[a].end(),n=c.x,i=c.y,u=s[++a%l].start(),t=u.x,r=u.y,(w(n-t)>Me||w(i-r)>Me)&&(s.splice(a,0,new so(oo(o.site,c,w(n-f)<Me&&h-i>Me?{x:f,y:w(t-f)<Me?r:h}:w(i-h)<Me&&p-n>Me?{x:w(r-h)<Me?t:p,y:h}:w(n-p)<Me&&i-d>Me?{x:p,y:w(t-p)<Me?r:d}:w(i-d)<Me&&n-f>Me?{x:w(r-d)<Me?t:f,y:d}:null),o.site,null)),++l)}}function Xi(e,t){return t.angle-e.angle}function Zi(){uo(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ji(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,i=e.site,o=r.site;if(n!==o){var a=i.x,s=i.y,l=n.x-a,u=n.y-s,c=o.x-a,f=o.y-s,p=2*(l*f-u*c);if(!(p>=-Pe)){var d=l*l+u*u,h=c*c+f*f,v=(f*d-u*h)/p,m=(l*h-c*d)/p,g=(f=m+s,Ui.pop()||new Zi);g.arc=e,g.site=i,g.x=v+a,g.y=f+Math.sqrt(v*v+m*m),g.cy=f,e.circle=g;var y=null,b=Ni._;while(b)if(g.y<b.y||g.y===b.y&&g.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}Ni.insert(y,g),y||(Fi=g)}}}}function eo(e){var t=e.circle;t&&(t.P||(Fi=t.N),Ni.remove(t),Ui.push(t),uo(t),e.circle=null)}function to(e){var t,r=Ii,n=En(e[0][0],e[0][1],e[1][0],e[1][1]),i=r.length;while(i--)t=r[i],(!ro(t,e)||!n(t)||w(t.a.x-t.b.x)<Me&&w(t.a.y-t.b.y)<Me)&&(t.a=t.b=null,r.splice(i,1))}function ro(e,t){var r=e.b;if(r)return!0;var n,i,o=e.a,a=t[0][0],s=t[1][0],l=t[0][1],u=t[1][1],c=e.l,f=e.r,p=c.x,d=c.y,h=f.x,v=f.y,m=(p+h)/2,g=(d+v)/2;if(v===d){if(m<a||m>=s)return;if(p>h){if(o){if(o.y>=u)return}else o={x:m,y:l};r={x:m,y:u}}else{if(o){if(o.y<l)return}else o={x:m,y:u};r={x:m,y:l}}}else if(n=(p-h)/(v-d),i=g-n*m,n<-1||n>1)if(p>h){if(o){if(o.y>=u)return}else o={x:(l-i)/n,y:l};r={x:(u-i)/n,y:u}}else{if(o){if(o.y<l)return}else o={x:(u-i)/n,y:u};r={x:(l-i)/n,y:l}}else if(d<v){if(o){if(o.x>=s)return}else o={x:a,y:n*a+i};r={x:s,y:n*s+i}}else{if(o){if(o.x<a)return}else o={x:s,y:n*s+i};r={x:a,y:n*a+i}}return e.a=o,e.b=r,!0}function no(e,t){this.l=e,this.r=t,this.a=this.b=null}function io(e,t,r,n){var i=new no(e,t);return Ii.push(i),r&&ao(i,e,t,r),n&&ao(i,t,e,n),ji[e.i].edges.push(new so(i,e,t)),ji[t.i].edges.push(new so(i,t,e)),i}function oo(e,t,r){var n=new no(e,null);return n.a=t,n.b=r,Ii.push(n),n}function ao(e,t,r,n){e.a||e.b?e.l===r?e.b=n:e.a=n:(e.a=n,e.l=t,e.r=r)}function so(e,t,r){var n=e.a,i=e.b;this.edge=e,this.site=t,this.angle=r?Math.atan2(r.y-t.y,r.x-t.x):e.l===t?Math.atan2(i.x-n.x,n.y-i.y):Math.atan2(n.x-i.x,i.y-n.y)}function lo(){this._=null}function uo(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function co(e,t){var r=t,n=t.R,i=r.U;i?i.L===r?i.L=n:i.R=n:e._=n,n.U=i,r.U=n,r.R=n.L,r.R&&(r.R.U=r),n.L=r}function fo(e,t){var r=t,n=t.L,i=r.U;i?i.L===r?i.L=n:i.R=n:e._=n,n.U=i,r.U=n,r.L=n.R,r.L&&(r.L.U=r),n.R=r}function po(e){while(e.L)e=e.L;return e}function ho(e,t){var r,n,i,o=e.sort(vo).pop();Ii=[],ji=new Array(e.length),Ri=new lo,Ni=new lo;while(1)if(i=Fi,o&&(!i||o.y<i.y||o.y===i.y&&o.x<i.x))o.x===r&&o.y===n||(ji[o.i]=new $i(o),Ki(o),r=o.x,n=o.y),o=e.pop();else{if(!i)break;Wi(i.arc)}t&&(to(t),Yi(t));var a={cells:ji,edges:Ii};return Ri=Ni=Ii=ji=null,a}function vo(e,t){return t.y-e.y||t.x-e.x}$i.prototype.prepare=function(){var e,t=this.edges,r=t.length;while(r--)e=t[r].edge,e.b&&e.a||t.splice(r,1);return t.sort(Xi),t.length},so.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},lo.prototype={insert:function(e,t){var r,n,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){e=e.R;while(e.L)e=e.L;e.L=t}else e.R=t;r=e}else this._?(e=po(this._),t.P=null,t.N=e,e.P=e.L=t,r=e):(t.P=t.N=null,this._=t,r=null);t.L=t.R=null,t.U=r,t.C=!0,e=t;while(r&&r.C)n=r.U,r===n.L?(i=n.R,i&&i.C?(r.C=i.C=!1,n.C=!0,e=n):(e===r.R&&(co(this,r),e=r,r=e.U),r.C=!1,n.C=!0,fo(this,n))):(i=n.L,i&&i.C?(r.C=i.C=!1,n.C=!0,e=n):(e===r.L&&(fo(this,r),e=r,r=e.U),r.C=!1,n.C=!0,co(this,n))),r=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,r,n,i=e.U,o=e.L,a=e.R;if(r=o?a?po(a):o:a,i?i.L===e?i.L=r:i.R=r:this._=r,o&&a?(n=r.C,r.C=e.C,r.L=o,o.U=r,r!==a?(i=r.U,r.U=e.U,e=r.R,i.L=e,r.R=a,a.U=r):(r.U=i,i=r,e=r.R)):(n=e.C,e=r),e&&(e.U=i),!n)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if(t=i.R,t.C&&(t.C=!1,i.C=!0,co(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,fo(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,co(this,i),e=this._;break}}else if(t=i.L,t.C&&(t.C=!1,i.C=!0,fo(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,co(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,fo(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}},o.geom.voronoi=function(e){var t=Ci,r=Si,n=t,i=r,o=mo;if(e)return a(e);function a(e){var t=new Array(e.length),r=o[0][0],n=o[0][1],i=o[1][0],a=o[1][1];return ho(s(e),o).cells.forEach((function(o,s){var l=o.edges,u=o.site,c=t[s]=l.length?l.map((function(e){var t=e.start();return[t.x,t.y]})):u.x>=r&&u.x<=i&&u.y>=n&&u.y<=a?[[r,a],[i,a],[i,n],[r,n]]:[];c.point=e[s]})),t}function s(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Me)*Me,y:Math.round(i(e,t)/Me)*Me,i:t}}))}return a.links=function(e){return ho(s(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},a.triangles=function(e){var t=[];return ho(s(e)).cells.forEach((function(r,n){var i,o=r.site,a=r.edges.sort(Xi),s=-1,l=a.length,u=a[l-1].edge,c=u.l===o?u.r:u.l;while(++s<l)u,i=c,u=a[s].edge,c=u.l===o?u.r:u.l,n<i.i&&n<c.i&&go(o,i,c)<0&&t.push([e[n],e[i.i],e[c.i]])})),t},a.x=function(e){return arguments.length?(n=Ct(t=e),a):t},a.y=function(e){return arguments.length?(i=Ct(r=e),a):r},a.clipExtent=function(e){return arguments.length?(o=null==e?mo:e,a):o===mo?null:o},a.size=function(e){return arguments.length?a.clipExtent(e&&[[0,0],e]):o===mo?null:o&&o[1]},a};var mo=[[-1e6,-1e6],[1e6,1e6]];function go(e,t,r){return(e.x-r.x)*(t.y-e.y)-(e.x-t.x)*(r.y-e.y)}function yo(e){return e.x}function bo(e){return e.y}function xo(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Ao(e,t,r,n,i,o){if(!e(t,r,n,i,o)){var a=.5*(r+i),s=.5*(n+o),l=t.nodes;l[0]&&Ao(e,l[0],r,n,a,s),l[1]&&Ao(e,l[1],a,n,i,s),l[2]&&Ao(e,l[2],r,s,a,o),l[3]&&Ao(e,l[3],a,s,i,o)}}function wo(e,t,r,n,i,o,a){var s,l=1/0;return function e(u,c,f,p,d){if(!(c>o||f>a||p<n||d<i)){if(h=u.point){var h,v=t-u.x,m=r-u.y,g=v*v+m*m;if(g<l){var y=Math.sqrt(l=g);n=t-y,i=r-y,o=t+y,a=r+y,s=h}}for(var b=u.nodes,x=.5*(c+p),A=.5*(f+d),w=t>=x,_=r>=A,E=_<<1|w,k=E+4;E<k;++E)if(u=b[3&E])switch(3&E){case 0:e(u,c,f,x,A);break;case 1:e(u,x,f,p,A);break;case 2:e(u,c,A,x,d);break;case 3:e(u,x,A,p,d);break}}}(e,n,i,o,a),s}function _o(e,t){e=o.rgb(e),t=o.rgb(t);var r=e.r,n=e.g,i=e.b,a=t.r-r,s=t.g-n,l=t.b-i;return function(e){return"#"+xt(Math.round(r+a*e))+xt(Math.round(n+s*e))+xt(Math.round(i+l*e))}}function Eo(e,t){var r,n={},i={};for(r in e)r in t?n[r]=Oo(e[r],t[r]):i[r]=e[r];for(r in t)r in e||(i[r]=t[r]);return function(e){for(r in n)i[r]=n[r](e);return i}}function ko(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function To(e,t){var r,n,i,o=Co.lastIndex=So.lastIndex=0,a=-1,s=[],l=[];e+="",t+="";while((r=Co.exec(e))&&(n=So.exec(t)))(i=n.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(r=r[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:ko(r,n)})),o=So.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?(t=l[0].x,function(e){return t(e)+""}):function(){return t}:(t=l.length,function(e){for(var r,n=0;n<t;++n)s[(r=l[n]).i]=r.x(e);return s.join("")})}o.geom.delaunay=function(e){return o.geom.voronoi().triangles(e)},o.geom.quadtree=function(e,t,r,n,i){var o,a=Ci,s=Si;if(o=arguments.length)return a=yo,s=bo,3===o&&(i=r,n=t,r=t=0),l(e);function l(e){var l,u,c,f,p,d,h,v,m,g=Ct(a),y=Ct(s);if(null!=t)d=t,h=r,v=n,m=i;else if(v=m=-(d=h=1/0),u=[],c=[],p=e.length,o)for(f=0;f<p;++f)l=e[f],l.x<d&&(d=l.x),l.y<h&&(h=l.y),l.x>v&&(v=l.x),l.y>m&&(m=l.y),u.push(l.x),c.push(l.y);else for(f=0;f<p;++f){var b=+g(l=e[f],f),x=+y(l,f);b<d&&(d=b),x<h&&(h=x),b>v&&(v=b),x>m&&(m=x),u.push(b),c.push(x)}var A=v-d,_=m-h;function E(e,t,r,n,i,o,a,s){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var l=e.x,u=e.y;if(null!=l)if(w(l-r)+w(u-n)<.01)k(e,t,r,n,i,o,a,s);else{var c=e.point;e.x=e.y=e.point=null,k(e,c,l,u,i,o,a,s),k(e,t,r,n,i,o,a,s)}else e.x=r,e.y=n,e.point=t}else k(e,t,r,n,i,o,a,s)}function k(e,t,r,n,i,o,a,s){var l=.5*(i+a),u=.5*(o+s),c=r>=l,f=n>=u,p=f<<1|c;e.leaf=!1,e=e.nodes[p]||(e.nodes[p]=xo()),c?i=l:a=l,f?o=u:s=u,E(e,t,r,n,i,o,a,s)}A>_?m=h+A:v=d+_;var T=xo();if(T.add=function(e){E(T,e,+g(e,++f),+y(e,f),d,h,v,m)},T.visit=function(e){Ao(e,T,d,h,v,m)},T.find=function(e){return wo(T,e[0],e[1],d,h,v,m)},f=-1,null==t){while(++f<p)E(T,e[f],u[f],c[f],d,h,v,m);--f}else e.forEach(T.add);return u=c=e=l=null,T}return l.x=function(e){return arguments.length?(a=e,l):a},l.y=function(e){return arguments.length?(s=e,l):s},l.extent=function(e){return arguments.length?(null==e?t=r=n=i=null:(t=+e[0][0],r=+e[0][1],n=+e[1][0],i=+e[1][1]),l):null==t?null:[[t,r],[n,i]]},l.size=function(e){return arguments.length?(null==e?t=r=n=i=null:(t=r=0,n=+e[0],i=+e[1]),l):null==t?null:[n-t,i-r]},l},o.interpolateRgb=_o,o.interpolateObject=Eo,o.interpolateNumber=ko,o.interpolateString=To;var Co=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,So=new RegExp(Co.source,"g");function Oo(e,t){var r,n=o.interpolators.length;while(--n>=0&&!(r=o.interpolators[n](e,t)));return r}function Mo(e,t){var r,n=[],i=[],o=e.length,a=t.length,s=Math.min(e.length,t.length);for(r=0;r<s;++r)n.push(Oo(e[r],t[r]));for(;r<o;++r)i[r]=e[r];for(;r<a;++r)i[r]=t[r];return function(e){for(r=0;r<s;++r)i[r]=n[r](e);return i}}o.interpolate=Oo,o.interpolators=[function(e,t){var r=typeof t;return("string"===r?Tt.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?_o:To:t instanceof Ze?_o:Array.isArray(t)?Mo:"object"===r&&isNaN(t)?Eo:ko)(e,t)}],o.interpolateArray=Mo;var Po=function(){return j},Bo=o.map({linear:Po,poly:zo,quad:function(){return Ro},cubic:function(){return Fo},sin:function(){return Uo},exp:function(){return Ho},circle:function(){return Vo},elastic:Qo,back:Wo,bounce:function(){return Ko}}),Lo=o.map({in:j,out:Io,"in-out":jo,"out-in":function(e){return jo(Io(e))}});function Do(e){return function(t){return t<=0?0:t>=1?1:e(t)}}function Io(e){return function(t){return 1-e(1-t)}}function jo(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Ro(e){return e*e}function Fo(e){return e*e*e}function No(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function zo(e){return function(t){return Math.pow(t,e)}}function Uo(e){return 1-Math.cos(e*Ie)}function Ho(e){return Math.pow(2,10*(e-1))}function Vo(e){return 1-Math.sqrt(1-e*e)}function Qo(e,t){var r;return arguments.length<2&&(t=.45),arguments.length?r=t/Le*Math.asin(1/e):(e=1,r=t/4),function(n){return 1+e*Math.pow(2,-10*n)*Math.sin((n-r)*Le/t)}}function Wo(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Ko(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function qo(e,t){e=o.hcl(e),t=o.hcl(t);var r=e.h,n=e.c,i=e.l,a=t.h-r,s=t.c-n,l=t.l-i;return isNaN(s)&&(s=0,n=isNaN(n)?t.c:n),isNaN(a)?(a=0,r=isNaN(r)?t.h:r):a>180?a-=360:a<-180&&(a+=360),function(e){return it(r+a*e,n+s*e,i+l*e)+""}}function Go(e,t){e=o.hsl(e),t=o.hsl(t);var r=e.h,n=e.s,i=e.l,a=t.h-r,s=t.s-n,l=t.l-i;return isNaN(s)&&(s=0,n=isNaN(n)?t.s:n),isNaN(a)?(a=0,r=isNaN(r)?t.h:r):a>180?a-=360:a<-180&&(a+=360),function(e){return tt(r+a*e,n+s*e,i+l*e)+""}}function $o(e,t){e=o.lab(e),t=o.lab(t);var r=e.l,n=e.a,i=e.b,a=t.l-r,s=t.a-n,l=t.b-i;return function(e){return ft(r+a*e,n+s*e,i+l*e)+""}}function Yo(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function Xo(e){var t=[e.a,e.b],r=[e.c,e.d],n=Jo(t),i=Zo(t,r),o=Jo(ea(r,t,-i))||0;t[0]*r[1]<r[0]*t[1]&&(t[0]*=-1,t[1]*=-1,n*=-1,i*=-1),this.rotate=(n?Math.atan2(t[1],t[0]):Math.atan2(-r[0],r[1]))*Re,this.translate=[e.e,e.f],this.scale=[n,o],this.skew=o?Math.atan2(i,o)*Re:0}function Zo(e,t){return e[0]*t[0]+e[1]*t[1]}function Jo(e){var t=Math.sqrt(Zo(e,e));return t&&(e[0]/=t,e[1]/=t),t}function ea(e,t,r){return e[0]+=r*t[0],e[1]+=r*t[1],e}o.ease=function(e){var t=e.indexOf("-"),r=t>=0?e.slice(0,t):e,n=t>=0?e.slice(t+1):"in";return r=Bo.get(r)||Po,n=Lo.get(n)||j,Do(n(r.apply(null,a.call(arguments,1))))},o.interpolateHcl=qo,o.interpolateHsl=Go,o.interpolateLab=$o,o.interpolateRound=Yo,o.transform=function(e){var t=l.createElementNS(o.ns.prefix.svg,"g");return(o.transform=function(e){if(null!=e){t.setAttribute("transform",e);var r=t.transform.baseVal.consolidate()}return new Xo(r?r.matrix:ta)})(e)},Xo.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ta={a:1,b:0,c:0,d:1,e:0,f:0};function ra(e){return e.length?e.pop()+",":""}function na(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var i=r.push("translate(",null,",",null,")");n.push({i:i-4,x:ko(e[0],t[0])},{i:i-2,x:ko(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}function ia(e,t,r,n){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),n.push({i:r.push(ra(r)+"rotate(",null,")")-2,x:ko(e,t)})):t&&r.push(ra(r)+"rotate("+t+")")}function oa(e,t,r,n){e!==t?n.push({i:r.push(ra(r)+"skewX(",null,")")-2,x:ko(e,t)}):t&&r.push(ra(r)+"skewX("+t+")")}function aa(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var i=r.push(ra(r)+"scale(",null,",",null,")");n.push({i:i-4,x:ko(e[0],t[0])},{i:i-2,x:ko(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(ra(r)+"scale("+t+")")}function sa(e,t){var r=[],n=[];return e=o.transform(e),t=o.transform(t),na(e.translate,t.translate,r,n),ia(e.rotate,t.rotate,r,n),oa(e.skew,t.skew,r,n),aa(e.scale,t.scale,r,n),e=t=null,function(e){var t,i=-1,o=n.length;while(++i<o)r[(t=n[i]).i]=t.x(e);return r.join("")}}function la(e,t){return t=(t-=e=+e)||1/t,function(r){return(r-e)/t}}function ua(e,t){return t=(t-=e=+e)||1/t,function(r){return Math.max(0,Math.min(1,(r-e)/t))}}function ca(e){var t=e.source,r=e.target,n=pa(t,r),i=[t];while(t!==n)t=t.parent,i.push(t);var o=i.length;while(r!==n)i.splice(o,0,r),r=r.parent;return i}function fa(e){var t=[],r=e.parent;while(null!=r)t.push(e),e=r,r=r.parent;return t.push(e),t}function pa(e,t){if(e===t)return e;var r=fa(e),n=fa(t),i=r.pop(),o=n.pop(),a=null;while(i===o)a=i,i=r.pop(),o=n.pop();return a}function da(e){e.fixed|=2}function ha(e){e.fixed&=-7}function va(e){e.fixed|=4,e.px=e.x,e.py=e.y}function ma(e){e.fixed&=-5}function ga(e,t,r){var n=0,i=0;if(e.charge=0,!e.leaf){var o,a=e.nodes,s=a.length,l=-1;while(++l<s)o=a[l],null!=o&&(ga(o,t,r),e.charge+=o.charge,n+=o.charge*o.cx,i+=o.charge*o.cy)}if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var u=t*r[e.point.index];e.charge+=e.pointCharge=u,n+=u*e.point.x,i+=u*e.point.y}e.cx=n/e.charge,e.cy=i/e.charge}o.interpolateTransform=sa,o.layout={},o.layout.bundle=function(){return function(e){var t=[],r=-1,n=e.length;while(++r<n)t.push(ca(e[r]));return t}},o.layout.chord=function(){var e,t,r,n,i,a,s,l={},u=0;function c(){var l,c,p,d,h,v={},m=[],g=o.range(n),y=[];e=[],t=[],l=0,d=-1;while(++d<n){c=0,h=-1;while(++h<n)c+=r[d][h];m.push(c),y.push(o.range(n)),l+=c}i&&g.sort((function(e,t){return i(m[e],m[t])})),a&&y.forEach((function(e,t){e.sort((function(e,n){return a(r[t][e],r[t][n])}))})),l=(Le-u*n)/l,c=0,d=-1;while(++d<n){p=c,h=-1;while(++h<n){var b=g[d],x=y[b][h],A=r[b][x],w=c,_=c+=A*l;v[b+"-"+x]={index:b,subindex:x,startAngle:w,endAngle:_,value:A}}t[b]={index:b,startAngle:p,endAngle:c,value:m[b]},c+=u}d=-1;while(++d<n){h=d-1;while(++h<n){var E=v[d+"-"+h],k=v[h+"-"+d];(E.value||k.value)&&e.push(E.value<k.value?{source:k,target:E}:{source:E,target:k})}}s&&f()}function f(){e.sort((function(e,t){return s((e.source.value+e.target.value)/2,(t.source.value+t.target.value)/2)}))}return l.matrix=function(i){return arguments.length?(n=(r=i)&&r.length,e=t=null,l):r},l.padding=function(r){return arguments.length?(u=r,e=t=null,l):u},l.sortGroups=function(r){return arguments.length?(i=r,e=t=null,l):i},l.sortSubgroups=function(t){return arguments.length?(a=t,e=null,l):a},l.sortChords=function(t){return arguments.length?(s=t,e&&f(),l):s},l.chords=function(){return e||c(),e},l.groups=function(){return t||c(),t},l},o.layout.force=function(){var e,t,r,n,i,a,s={},l=o.dispatch("start","tick","end"),u=[1,1],c=.9,f=ya,p=ba,d=-30,h=xa,v=.1,m=.64,g=[],y=[];function b(e){return function(t,r,n,i){if(t.point!==e){var o=t.cx-e.x,a=t.cy-e.y,s=i-r,l=o*o+a*a;if(s*s/m<l){if(l<h){var u=t.charge/l;e.px-=o*u,e.py-=a*u}return!0}if(t.point&&l&&l<h){u=t.pointCharge/l;e.px-=o*u,e.py-=a*u}}return!t.charge}}function x(e){e.px=o.event.x,e.py=o.event.y,s.resume()}return s.tick=function(){if((r*=.99)<.005)return e=null,l.end({type:"end",alpha:r=0}),!0;var t,s,f,p,h,m,x,A,w,_=g.length,E=y.length;for(s=0;s<E;++s)f=y[s],p=f.source,h=f.target,A=h.x-p.x,w=h.y-p.y,(m=A*A+w*w)&&(m=r*i[s]*((m=Math.sqrt(m))-n[s])/m,A*=m,w*=m,h.x-=A*(x=p.weight+h.weight?p.weight/(p.weight+h.weight):.5),h.y-=w*x,p.x+=A*(x=1-x),p.y+=w*x);if((x=r*v)&&(A=u[0]/2,w=u[1]/2,s=-1,x))while(++s<_)f=g[s],f.x+=(A-f.x)*x,f.y+=(w-f.y)*x;if(d){ga(t=o.geom.quadtree(g),r,a),s=-1;while(++s<_)(f=g[s]).fixed||t.visit(b(f))}s=-1;while(++s<_)f=g[s],f.fixed?(f.x=f.px,f.y=f.py):(f.x-=(f.px-(f.px=f.x))*c,f.y-=(f.py-(f.py=f.y))*c);l.tick({type:"tick",alpha:r})},s.nodes=function(e){return arguments.length?(g=e,s):g},s.links=function(e){return arguments.length?(y=e,s):y},s.size=function(e){return arguments.length?(u=e,s):u},s.linkDistance=function(e){return arguments.length?(f="function"===typeof e?e:+e,s):f},s.distance=s.linkDistance,s.linkStrength=function(e){return arguments.length?(p="function"===typeof e?e:+e,s):p},s.friction=function(e){return arguments.length?(c=+e,s):c},s.charge=function(e){return arguments.length?(d="function"===typeof e?e:+e,s):d},s.chargeDistance=function(e){return arguments.length?(h=e*e,s):Math.sqrt(h)},s.gravity=function(e){return arguments.length?(v=+e,s):v},s.theta=function(e){return arguments.length?(m=e*e,s):Math.sqrt(m)},s.alpha=function(t){return arguments.length?(t=+t,r?t>0?r=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:r=0})):t>0&&(l.start({type:"start",alpha:r=t}),e=Rt(s.tick)),s):r},s.start=function(){var e,t,r,o=g.length,l=y.length,c=u[0],h=u[1];for(e=0;e<o;++e)(r=g[e]).index=e,r.weight=0;for(e=0;e<l;++e)r=y[e],"number"==typeof r.source&&(r.source=g[r.source]),"number"==typeof r.target&&(r.target=g[r.target]),++r.source.weight,++r.target.weight;for(e=0;e<o;++e)r=g[e],isNaN(r.x)&&(r.x=v("x",c)),isNaN(r.y)&&(r.y=v("y",h)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(n=[],"function"===typeof f)for(e=0;e<l;++e)n[e]=+f.call(this,y[e],e);else for(e=0;e<l;++e)n[e]=f;if(i=[],"function"===typeof p)for(e=0;e<l;++e)i[e]=+p.call(this,y[e],e);else for(e=0;e<l;++e)i[e]=p;if(a=[],"function"===typeof d)for(e=0;e<o;++e)a[e]=+d.call(this,g[e],e);else for(e=0;e<o;++e)a[e]=d;function v(r,n){if(!t){for(t=new Array(o),u=0;u<o;++u)t[u]=[];for(u=0;u<l;++u){var i=y[u];t[i.source.index].push(i.target),t[i.target.index].push(i.source)}}var a,s=t[e],u=-1,c=s.length;while(++u<c)if(!isNaN(a=s[u][r]))return a;return Math.random()*n}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(t||(t=o.behavior.drag().origin(j).on("dragstart.force",da).on("drag.force",x).on("dragend.force",ha)),!arguments.length)return t;this.on("mouseover.force",va).on("mouseout.force",ma).call(t)},o.rebind(s,l,"on")};var ya=20,ba=1,xa=1/0;function Aa(e,t){return o.rebind(e,t,"sort","children","value"),e.nodes=e,e.links=Ca,e}function wa(e,t){var r=[e];while(null!=(e=r.pop())){var n,i;if(t(e),(i=e.children)&&(n=i.length))while(--n>=0)r.push(i[n])}}function _a(e,t){var r=[e],n=[];while(null!=(e=r.pop()))if(n.push(e),(o=e.children)&&(i=o.length)){var i,o,a=-1;while(++a<i)r.push(o[a])}while(null!=(e=n.pop()))t(e)}function Ea(e){return e.children}function ka(e){return e.value}function Ta(e,t){return t.value-e.value}function Ca(e){return o.merge(e.map((function(e){return(e.children||[]).map((function(t){return{source:e,target:t}}))})))}o.layout.hierarchy=function(){var e=Ta,t=Ea,r=ka;function n(i){var o,a=[i],s=[];i.depth=0;while(null!=(o=a.pop()))if(s.push(o),(u=t.call(n,o,o.depth))&&(l=u.length)){var l,u,c;while(--l>=0)a.push(c=u[l]),c.parent=o,c.depth=o.depth+1;r&&(o.value=0),o.children=u}else r&&(o.value=+r.call(n,o,o.depth)||0),delete o.children;return _a(i,(function(t){var n,i;e&&(n=t.children)&&n.sort(e),r&&(i=t.parent)&&(i.value+=t.value)})),s}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(wa(e,(function(e){e.children&&(e.value=0)})),_a(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},o.layout.partition=function(){var e=o.layout.hierarchy(),t=[1,1];function r(e,t,n,i){var o=e.children;if(e.x=t,e.y=e.depth*i,e.dx=n,e.dy=i,o&&(a=o.length)){var a,s,l,u=-1;n=e.value?n/e.value:0;while(++u<a)r(s=o[u],t,l=s.value*n,i),t+=l}}function n(e){var t=e.children,r=0;if(t&&(i=t.length)){var i,o=-1;while(++o<i)r=Math.max(r,n(t[o]))}return 1+r}function i(i,o){var a=e.call(this,i,o);return r(a[0],0,t[0],t[1]/n(a[0])),a}return i.size=function(e){return arguments.length?(t=e,i):t},Aa(i,e)},o.layout.pie=function(){var e=Number,t=Sa,r=0,n=Le,i=0;function a(s){var l,u=s.length,c=s.map((function(t,r){return+e.call(a,t,r)})),f=+("function"===typeof r?r.apply(this,arguments):r),p=("function"===typeof n?n.apply(this,arguments):n)-f,d=Math.min(Math.abs(p)/u,+("function"===typeof i?i.apply(this,arguments):i)),h=d*(p<0?-1:1),v=o.sum(c),m=v?(p-u*h)/v:0,g=o.range(u),y=[];return null!=t&&g.sort(t===Sa?function(e,t){return c[t]-c[e]}:function(e,r){return t(s[e],s[r])}),g.forEach((function(e){y[e]={data:s[e],value:l=c[e],startAngle:f,endAngle:f+=l*m+h,padAngle:d}})),y}return a.value=function(t){return arguments.length?(e=t,a):e},a.sort=function(e){return arguments.length?(t=e,a):t},a.startAngle=function(e){return arguments.length?(r=e,a):r},a.endAngle=function(e){return arguments.length?(n=e,a):n},a.padAngle=function(e){return arguments.length?(i=e,a):i},a};var Sa={};function Oa(e){return e.x}function Ma(e){return e.y}function Pa(e,t,r){e.y0=t,e.y=r}o.layout.stack=function(){var e=j,t=Da,r=Ia,n=Pa,i=Oa,a=Ma;function s(l,u){if(!(d=l.length))return l;var c=l.map((function(t,r){return e.call(s,t,r)})),f=c.map((function(e){return e.map((function(e,t){return[i.call(s,e,t),a.call(s,e,t)]}))})),p=t.call(s,f,u);c=o.permute(c,p),f=o.permute(f,p);var d,h,v,m,g=r.call(s,f,u),y=c[0].length;for(v=0;v<y;++v)for(n.call(s,c[0][v],m=g[v],f[0][v][1]),h=1;h<d;++h)n.call(s,c[h][v],m+=f[h-1][v][1],f[h][v][1]);return l}return s.values=function(t){return arguments.length?(e=t,s):e},s.order=function(e){return arguments.length?(t="function"===typeof e?e:Ba.get(e)||Da,s):t},s.offset=function(e){return arguments.length?(r="function"===typeof e?e:La.get(e)||Ia,s):r},s.x=function(e){return arguments.length?(i=e,s):i},s.y=function(e){return arguments.length?(a=e,s):a},s.out=function(e){return arguments.length?(n=e,s):n},s};var Ba=o.map({"inside-out":function(e){var t,r,n=e.length,i=e.map(ja),a=e.map(Ra),s=o.range(n).sort((function(e,t){return i[e]-i[t]})),l=0,u=0,c=[],f=[];for(t=0;t<n;++t)r=s[t],l<u?(l+=a[r],c.push(r)):(u+=a[r],f.push(r));return f.reverse().concat(c)},reverse:function(e){return o.range(e.length).reverse()},default:Da}),La=o.map({silhouette:function(e){var t,r,n,i=e.length,o=e[0].length,a=[],s=0,l=[];for(r=0;r<o;++r){for(t=0,n=0;t<i;t++)n+=e[t][r][1];n>s&&(s=n),a.push(n)}for(r=0;r<o;++r)l[r]=(s-a[r])/2;return l},wiggle:function(e){var t,r,n,i,o,a,s,l,u,c=e.length,f=e[0],p=f.length,d=[];for(d[0]=l=u=0,r=1;r<p;++r){for(t=0,i=0;t<c;++t)i+=e[t][r][1];for(t=0,o=0,s=f[r][0]-f[r-1][0];t<c;++t){for(n=0,a=(e[t][r][1]-e[t][r-1][1])/(2*s);n<t;++n)a+=(e[n][r][1]-e[n][r-1][1])/s;o+=a*e[t][r][1]}d[r]=l-=i?o/i*s:0,l<u&&(u=l)}for(r=0;r<p;++r)d[r]-=u;return d},expand:function(e){var t,r,n,i=e.length,o=e[0].length,a=1/i,s=[];for(r=0;r<o;++r){for(t=0,n=0;t<i;t++)n+=e[t][r][1];if(n)for(t=0;t<i;t++)e[t][r][1]/=n;else for(t=0;t<i;t++)e[t][r][1]=a}for(r=0;r<o;++r)s[r]=0;return s},zero:Ia});function Da(e){return o.range(e.length)}function Ia(e){var t=-1,r=e[0].length,n=[];while(++t<r)n[t]=0;return n}function ja(e){for(var t,r=1,n=0,i=e[0][1],o=e.length;r<o;++r)(t=e[r][1])>i&&(n=r,i=t);return n}function Ra(e){return e.reduce(Fa,0)}function Fa(e,t){return e+t[1]}function Na(e,t){return za(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function za(e,t){var r=-1,n=+e[0],i=(e[1]-n)/t,o=[];while(++r<=t)o[r]=i*r+n;return o}function Ua(e){return[o.min(e),o.max(e)]}function Ha(e,t){return e.value-t.value}function Va(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function Qa(e,t){e._pack_next=t,t._pack_prev=e}function Wa(e,t){var r=t.x-e.x,n=t.y-e.y,i=e.r+t.r;return.999*i*i>r*r+n*n}function Ka(e){if((t=e.children)&&(l=t.length)){var t,r,n,i,o,a,s,l,u=1/0,c=-1/0,f=1/0,p=-1/0;if(t.forEach(qa),r=t[0],r.x=-r.r,r.y=0,b(r),l>1&&(n=t[1],n.x=n.r,n.y=0,b(n),l>2))for(i=t[2],Ya(r,n,i),b(i),Va(r,i),r._pack_prev=i,Va(i,n),n=r._pack_next,o=3;o<l;o++){Ya(r,n,i=t[o]);var d=0,h=1,v=1;for(a=n._pack_next;a!==n;a=a._pack_next,h++)if(Wa(a,i)){d=1;break}if(1==d)for(s=r._pack_prev;s!==a._pack_prev;s=s._pack_prev,v++)if(Wa(s,i))break;d?(h<v||h==v&&n.r<r.r?Qa(r,n=a):Qa(r=s,n),o--):(Va(r,i),n=i,b(i))}var m=(u+c)/2,g=(f+p)/2,y=0;for(o=0;o<l;o++)i=t[o],i.x-=m,i.y-=g,y=Math.max(y,i.r+Math.sqrt(i.x*i.x+i.y*i.y));e.r=y,t.forEach(Ga)}function b(e){u=Math.min(e.x-e.r,u),c=Math.max(e.x+e.r,c),f=Math.min(e.y-e.r,f),p=Math.max(e.y+e.r,p)}}function qa(e){e._pack_next=e._pack_prev=e}function Ga(e){delete e._pack_next,delete e._pack_prev}function $a(e,t,r,n){var i=e.children;if(e.x=t+=n*e.x,e.y=r+=n*e.y,e.r*=n,i){var o=-1,a=i.length;while(++o<a)$a(i[o],t,r,n)}}function Ya(e,t,r){var n=e.r+r.r,i=t.x-e.x,o=t.y-e.y;if(n&&(i||o)){var a=t.r+r.r,s=i*i+o*o;a*=a,n*=n;var l=.5+(n-a)/(2*s),u=Math.sqrt(Math.max(0,2*a*(n+s)-(n-=s)*n-a*a))/(2*s);r.x=e.x+l*i+u*o,r.y=e.y+l*o-u*i}else r.x=e.x+n,r.y=e.y}function Xa(e,t){return e.parent==t.parent?1:2}function Za(e){var t=e.children;return t.length?t[0]:e.t}function Ja(e){var t,r=e.children;return(t=r.length)?r[t-1]:e.t}function es(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function ts(e){var t,r=0,n=0,i=e.children,o=i.length;while(--o>=0)t=i[o],t.z+=r,t.m+=r,r+=t.s+(n+=t.c)}function rs(e,t,r){return e.a.parent===t.parent?e.a:r}function ns(e){return 1+o.max(e,(function(e){return e.y}))}function is(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}function os(e){var t=e.children;return t&&t.length?os(t[0]):e}function as(e){var t,r=e.children;return r&&(t=r.length)?as(r[t-1]):e}function ss(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function ls(e,t){var r=e.x+t[3],n=e.y+t[0],i=e.dx-t[1]-t[3],o=e.dy-t[0]-t[2];return i<0&&(r+=i/2,i=0),o<0&&(n+=o/2,o=0),{x:r,y:n,dx:i,dy:o}}function us(e){var t=e[0],r=e[e.length-1];return t<r?[t,r]:[r,t]}function cs(e){return e.rangeExtent?e.rangeExtent():us(e.range())}function fs(e,t,r,n){var i=r(e[0],e[1]),o=n(t[0],t[1]);return function(e){return o(i(e))}}function ps(e,t){var r,n=0,i=e.length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function ds(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:hs}o.layout.histogram=function(){var e=!0,t=Number,r=Ua,n=Na;function i(i,a){var s,l,u=[],c=i.map(t,this),f=r.call(this,c,a),p=n.call(this,f,c,a),d=(a=-1,c.length),h=p.length-1,v=e?1:1/d;while(++a<h)s=u[a]=[],s.dx=p[a+1]-(s.x=p[a]),s.y=0;if(h>0){a=-1;while(++a<d)l=c[a],l>=f[0]&&l<=f[1]&&(s=u[o.bisect(p,l,1,h)-1],s.y+=v,s.push(i[a]))}return u}return i.value=function(e){return arguments.length?(t=e,i):t},i.range=function(e){return arguments.length?(r=Ct(e),i):r},i.bins=function(e){return arguments.length?(n="number"===typeof e?function(t){return za(t,e)}:Ct(e),i):n},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},o.layout.pack=function(){var e,t=o.layout.hierarchy().sort(Ha),r=0,n=[1,1];function i(i,o){var a=t.call(this,i,o),s=a[0],l=n[0],u=n[1],c=null==e?Math.sqrt:"function"===typeof e?e:function(){return e};if(s.x=s.y=0,_a(s,(function(e){e.r=+c(e.value)})),_a(s,Ka),r){var f=r*(e?1:Math.max(2*s.r/l,2*s.r/u))/2;_a(s,(function(e){e.r+=f})),_a(s,Ka),_a(s,(function(e){e.r-=f}))}return $a(s,l/2,u/2,e?1:1/Math.max(2*s.r/l,2*s.r/u)),a}return i.size=function(e){return arguments.length?(n=e,i):n},i.radius=function(t){return arguments.length?(e=null==t||"function"===typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(r=+e,i):r},Aa(i,t)},o.layout.tree=function(){var e=o.layout.hierarchy().sort(null).value(null),t=Xa,r=[1,1],n=null;function i(i,o){var u=e.call(this,i,o),f=u[0],p=a(f);if(_a(p,s),p.parent.m=-p.z,wa(p,l),n)wa(f,c);else{var d=f,h=f,v=f;wa(f,(function(e){e.x<d.x&&(d=e),e.x>h.x&&(h=e),e.depth>v.depth&&(v=e)}));var m=t(d,h)/2-d.x,g=r[0]/(h.x+t(h,d)/2+m),y=r[1]/(v.depth||1);wa(f,(function(e){e.x=(e.x+m)*g,e.y=e.depth*y}))}return u}function a(e){var t,r={A:null,children:[e]},n=[r];while(null!=(t=n.pop()))for(var i,o=t.children,a=0,s=o.length;a<s;++a)n.push((o[a]=i={_:o[a],parent:t,children:(i=o[a].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:a}).a=i);return r.children[0]}function s(e){var r=e.children,n=e.parent.children,i=e.i?n[e.i-1]:null;if(r.length){ts(e);var o=(r[0].z+r[r.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=u(e,i,e.parent.A||n[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function u(e,r,n){if(r){var i,o=e,a=e,s=r,l=o.parent.children[0],u=o.m,c=a.m,f=s.m,p=l.m;while(s=Ja(s),o=Za(o),s&&o)l=Za(l),a=Ja(a),a.a=e,i=s.z+f-o.z-u+t(s._,o._),i>0&&(es(rs(s,e,n),e,i),u+=i,c+=i),f+=s.m,u+=o.m,p+=l.m,c+=a.m;s&&!Ja(a)&&(a.t=s,a.m+=f-c),o&&!Za(l)&&(l.t=o,l.m+=u-p,n=e)}return n}function c(e){e.x*=r[0],e.y=e.depth*r[1]}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(e){return arguments.length?(n=null==(r=e)?c:null,i):n?null:r},i.nodeSize=function(e){return arguments.length?(n=null==(r=e)?null:c,i):n?r:null},Aa(i,e)},o.layout.cluster=function(){var e=o.layout.hierarchy().sort(null).value(null),t=Xa,r=[1,1],n=!1;function i(i,o){var a,s=e.call(this,i,o),l=s[0],u=0;_a(l,(function(e){var r=e.children;r&&r.length?(e.x=is(r),e.y=ns(r)):(e.x=a?u+=t(e,a):0,e.y=0,a=e)}));var c=os(l),f=as(l),p=c.x-t(c,f)/2,d=f.x+t(f,c)/2;return _a(l,n?function(e){e.x=(e.x-l.x)*r[0],e.y=(l.y-e.y)*r[1]}:function(e){e.x=(e.x-p)/(d-p)*r[0],e.y=(1-(l.y?e.y/l.y:1))*r[1]}),s}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(e){return arguments.length?(n=null==(r=e),i):n?null:r},i.nodeSize=function(e){return arguments.length?(n=null!=(r=e),i):n?r:null},Aa(i,e)},o.layout.treemap=function(){var e,t=o.layout.hierarchy(),r=Math.round,n=[1,1],i=null,a=ss,s=!1,l="squarify",u=.5*(1+Math.sqrt(5));function c(e,t){var r,n,i=-1,o=e.length;while(++i<o)n=(r=e[i]).value*(t<0?0:t),r.area=isNaN(n)||n<=0?0:n}function f(e){var t=e.children;if(t&&t.length){var r,n,i,o=a(e),s=[],u=t.slice(),p=1/0,v="slice"===l?o.dx:"dice"===l?o.dy:"slice-dice"===l?1&e.depth?o.dy:o.dx:Math.min(o.dx,o.dy);c(u,o.dx*o.dy/e.value),s.area=0;while((i=u.length)>0)s.push(r=u[i-1]),s.area+=r.area,"squarify"!==l||(n=d(s,v))<=p?(u.pop(),p=n):(s.area-=s.pop().area,h(s,v,o,!1),v=Math.min(o.dx,o.dy),s.length=s.area=0,p=1/0);s.length&&(h(s,v,o,!0),s.length=s.area=0),t.forEach(f)}}function p(e){var t=e.children;if(t&&t.length){var r,n=a(e),i=t.slice(),o=[];c(i,n.dx*n.dy/e.value),o.area=0;while(r=i.pop())o.push(r),o.area+=r.area,null!=r.z&&(h(o,r.z?n.dx:n.dy,n,!i.length),o.length=o.area=0);t.forEach(p)}}function d(e,t){var r,n=e.area,i=0,o=1/0,a=-1,s=e.length;while(++a<s)(r=e[a].area)&&(r<o&&(o=r),r>i&&(i=r));return n*=n,t*=t,n?Math.max(t*i*u/n,n/(t*o*u)):1/0}function h(e,t,n,i){var o,a=-1,s=e.length,l=n.x,u=n.y,c=t?r(e.area/t):0;if(t==n.dx){(i||c>n.dy)&&(c=n.dy);while(++a<s)o=e[a],o.x=l,o.y=u,o.dy=c,l+=o.dx=Math.min(n.x+n.dx-l,c?r(o.area/c):0);o.z=!0,o.dx+=n.x+n.dx-l,n.y+=c,n.dy-=c}else{(i||c>n.dx)&&(c=n.dx);while(++a<s)o=e[a],o.x=l,o.y=u,o.dx=c,u+=o.dy=Math.min(n.y+n.dy-u,c?r(o.area/c):0);o.z=!1,o.dy+=n.y+n.dy-u,n.x+=c,n.dx-=c}}function v(r){var i=e||t(r),o=i[0];return o.x=o.y=0,o.value?(o.dx=n[0],o.dy=n[1]):o.dx=o.dy=0,e&&t.revalue(o),c([o],o.dx*o.dy/o.value),(e?p:f)(o),s&&(e=i),i}return v.size=function(e){return arguments.length?(n=e,v):n},v.padding=function(e){if(!arguments.length)return i;function t(t){var r=e.call(v,t,t.depth);return null==r?ss(t):ls(t,"number"===typeof r?[r,r,r,r]:r)}function r(t){return ls(t,e)}var n;return a=null==(i=e)?ss:"function"===(n=typeof e)?t:"number"===n?(e=[e,e,e,e],r):r,v},v.round=function(e){return arguments.length?(r=e?Math.round:Number,v):r!=Number},v.sticky=function(t){return arguments.length?(s=t,e=null,v):s},v.ratio=function(e){return arguments.length?(u=e,v):u},v.mode=function(e){return arguments.length?(l=e+"",v):l},Aa(v,t)},o.random={normal:function(e,t){var r=arguments.length;return r<2&&(t=1),r<1&&(e=0),function(){var r,n,i;do{r=2*Math.random()-1,n=2*Math.random()-1,i=r*r+n*n}while(!i||i>1);return e+t*r*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var e=o.random.normal.apply(o,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=o.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r<e;r++)t+=Math.random();return t}}},o.scale={};var hs={floor:j,ceil:j};function vs(e,t,r,n){var i=[],a=[],s=0,l=Math.min(e.length,t.length)-1;e[l]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());while(++s<=l)i.push(r(e[s-1],e[s])),a.push(n(t[s-1],t[s]));return function(t){var r=o.bisect(e,t,1,l)-1;return a[r](i[r](t))}}function ms(e,t,r,n){var i,o;function a(){var a=Math.min(e.length,t.length)>2?vs:fs,l=n?ua:la;return i=a(e,t,l,r),o=a(t,e,l,Oo),s}function s(e){return i(e)}return s.invert=function(e){return o(e)},s.domain=function(t){return arguments.length?(e=t.map(Number),a()):e},s.range=function(e){return arguments.length?(t=e,a()):t},s.rangeRound=function(e){return s.range(e).interpolate(Yo)},s.clamp=function(e){return arguments.length?(n=e,a()):n},s.interpolate=function(e){return arguments.length?(r=e,a()):r},s.ticks=function(t){return xs(e,t)},s.tickFormat=function(t,r){return As(e,t,r)},s.nice=function(t){return ys(e,t),a()},s.copy=function(){return ms(e,t,r,n)},a()}function gs(e,t){return o.rebind(e,t,"range","rangeRound","interpolate","clamp")}function ys(e,t){return ps(e,ds(bs(e,t)[2])),ps(e,ds(bs(e,t)[2])),e}function bs(e,t){null==t&&(t=10);var r=us(e),n=r[1]-r[0],i=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),o=t/n*i;return o<=.15?i*=10:o<=.35?i*=5:o<=.75&&(i*=2),r[0]=Math.ceil(r[0]/i)*i,r[1]=Math.floor(r[1]/i)*i+.5*i,r[2]=i,r}function xs(e,t){return o.range.apply(o,bs(e,t))}function As(e,t,r){var n=bs(e,t);if(r){var i=Wt.exec(r);if(i.shift(),"s"===i[8]){var a=o.formatPrefix(Math.max(w(n[0]),w(n[1])));return i[7]||(i[7]="."+_s(a.scale(n[2]))),i[8]="f",r=o.format(i.join("")),function(e){return r(a.scale(e))+a.symbol}}i[7]||(i[7]="."+Es(i[8],n)),r=i.join("")}else r=",."+_s(n[2])+"f";return o.format(r)}o.scale.linear=function(){return ms([0,1],[0,1],Oo,!1)};var ws={s:1,g:1,p:1,r:1,e:1};function _s(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Es(e,t){var r=_s(t[2]);return e in ws?Math.abs(r-_s(Math.max(w(t[0]),w(t[1]))))+ +("e"!==e):r-2*("%"===e)}function ks(e,t,r,n){function i(e){return(r?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function a(e){return r?Math.pow(t,e):-Math.pow(t,-e)}function s(t){return e(i(t))}return s.invert=function(t){return a(e.invert(t))},s.domain=function(t){return arguments.length?(r=t[0]>=0,e.domain((n=t.map(Number)).map(i)),s):n},s.base=function(r){return arguments.length?(t=+r,e.domain(n.map(i)),s):t},s.nice=function(){var t=ps(n.map(i),r?Math:Cs);return e.domain(t),n=t.map(a),s},s.ticks=function(){var e=us(n),o=[],s=e[0],l=e[1],u=Math.floor(i(s)),c=Math.ceil(i(l)),f=t%1?2:t;if(isFinite(c-u)){if(r){for(;u<c;u++)for(var p=1;p<f;p++)o.push(a(u)*p);o.push(a(u))}else for(o.push(a(u));u++<c;)for(p=f-1;p>0;p--)o.push(a(u)*p);for(u=0;o[u]<s;u++);for(c=o.length;o[c-1]>l;c--);o=o.slice(u,c)}return o},s.tickFormat=function(e,r){if(!arguments.length)return Ts;arguments.length<2?r=Ts:"function"!==typeof r&&(r=o.format(r));var n=Math.max(1,t*e/s.ticks().length);return function(e){var o=e/a(Math.round(i(e)));return o*t<t-.5&&(o*=t),o<=n?r(e):""}},s.copy=function(){return ks(e.copy(),t,r,n)},gs(s,e)}o.scale.log=function(){return ks(o.scale.linear().domain([0,1]),10,!0,[1,10])};var Ts=o.format(".0e"),Cs={floor:function(e){return-Math.ceil(-e)},ceil:function(e){return-Math.floor(-e)}};function Ss(e,t,r){var n=Os(t),i=Os(1/t);function o(t){return e(n(t))}return o.invert=function(t){return i(e.invert(t))},o.domain=function(t){return arguments.length?(e.domain((r=t.map(Number)).map(n)),o):r},o.ticks=function(e){return xs(r,e)},o.tickFormat=function(e,t){return As(r,e,t)},o.nice=function(e){return o.domain(ys(r,e))},o.exponent=function(a){return arguments.length?(n=Os(t=a),i=Os(1/t),e.domain(r.map(n)),o):t},o.copy=function(){return Ss(e.copy(),t,r)},gs(o,e)}function Os(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Ms(e,t){var r,n,i;function a(i){return n[((r.get(i)||("range"===t.t?r.set(i,e.push(i)):NaN))-1)%n.length]}function s(t,r){return o.range(e.length).map((function(e){return t+r*e}))}return a.domain=function(n){if(!arguments.length)return e;e=[],r=new k;var i,o=-1,s=n.length;while(++o<s)r.has(i=n[o])||r.set(i,e.push(i));return a[t.t].apply(a,t.a)},a.range=function(e){return arguments.length?(n=e,i=0,t={t:"range",a:arguments},a):n},a.rangePoints=function(r,o){arguments.length<2&&(o=0);var l=r[0],u=r[1],c=e.length<2?(l=(l+u)/2,0):(u-l)/(e.length-1+o);return n=s(l+c*o/2,c),i=0,t={t:"rangePoints",a:arguments},a},a.rangeRoundPoints=function(r,o){arguments.length<2&&(o=0);var l=r[0],u=r[1],c=e.length<2?(l=u=Math.round((l+u)/2),0):(u-l)/(e.length-1+o)|0;return n=s(l+Math.round(c*o/2+(u-l-(e.length-1+o)*c)/2),c),i=0,t={t:"rangeRoundPoints",a:arguments},a},a.rangeBands=function(r,o,l){arguments.length<2&&(o=0),arguments.length<3&&(l=o);var u=r[1]<r[0],c=r[u-0],f=r[1-u],p=(f-c)/(e.length-o+2*l);return n=s(c+p*l,p),u&&n.reverse(),i=p*(1-o),t={t:"rangeBands",a:arguments},a},a.rangeRoundBands=function(r,o,l){arguments.length<2&&(o=0),arguments.length<3&&(l=o);var u=r[1]<r[0],c=r[u-0],f=r[1-u],p=Math.floor((f-c)/(e.length-o+2*l));return n=s(c+Math.round((f-c-(e.length-o)*p)/2),p),u&&n.reverse(),i=Math.round(p*(1-o)),t={t:"rangeRoundBands",a:arguments},a},a.rangeBand=function(){return i},a.rangeExtent=function(){return us(t.a[0])},a.copy=function(){return Ms(e,t)},a.domain(e)}o.scale.pow=function(){return Ss(o.scale.linear(),1,[0,1])},o.scale.sqrt=function(){return o.scale.pow().exponent(.5)},o.scale.ordinal=function(){return Ms([],{t:"range",a:[[]]})},o.scale.category10=function(){return o.scale.ordinal().range(Ps)},o.scale.category20=function(){return o.scale.ordinal().range(Bs)},o.scale.category20b=function(){return o.scale.ordinal().range(Ls)},o.scale.category20c=function(){return o.scale.ordinal().range(Ds)};var Ps=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(yt),Bs=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(yt),Ls=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(yt),Ds=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(yt);function Is(e,t){var r;function n(){var n=0,a=t.length;r=[];while(++n<a)r[n-1]=o.quantile(e,n/a);return i}function i(e){if(!isNaN(e=+e))return t[o.bisect(r,e)]}return i.domain=function(t){return arguments.length?(e=t.map(g).filter(y).sort(m),n()):e},i.range=function(e){return arguments.length?(t=e,n()):t},i.quantiles=function(){return r},i.invertExtent=function(n){return n=t.indexOf(n),n<0?[NaN,NaN]:[n>0?r[n-1]:e[0],n<r.length?r[n]:e[e.length-1]]},i.copy=function(){return Is(e,t)},n()}function js(e,t,r){var n,i;function o(t){return r[Math.max(0,Math.min(i,Math.floor(n*(t-e))))]}function a(){return n=r.length/(t-e),i=r.length-1,o}return o.domain=function(r){return arguments.length?(e=+r[0],t=+r[r.length-1],a()):[e,t]},o.range=function(e){return arguments.length?(r=e,a()):r},o.invertExtent=function(t){return t=r.indexOf(t),t=t<0?NaN:t/n+e,[t,t+1/n]},o.copy=function(){return js(e,t,r)},a()}function Rs(e,t){function r(r){if(r<=r)return t[o.bisect(e,r)]}return r.domain=function(t){return arguments.length?(e=t,r):e},r.range=function(e){return arguments.length?(t=e,r):t},r.invertExtent=function(r){return r=t.indexOf(r),[e[r-1],e[r]]},r.copy=function(){return Rs(e,t)},r}function Fs(e){function t(e){return+e}return t.invert=t,t.domain=t.range=function(r){return arguments.length?(e=r.map(t),t):e},t.ticks=function(t){return xs(e,t)},t.tickFormat=function(t,r){return As(e,t,r)},t.copy=function(){return Fs(e)},t}function Ns(){return 0}o.scale.quantile=function(){return Is([],[])},o.scale.quantize=function(){return js(0,1,[0,1])},o.scale.threshold=function(){return Rs([.5],[0,1])},o.scale.identity=function(){return Fs([0,1])},o.svg={},o.svg.arc=function(){var e=Us,t=Hs,r=Ns,n=zs,i=Vs,o=Qs,a=Ws;function s(){var s=Math.max(0,+e.apply(this,arguments)),u=Math.max(0,+t.apply(this,arguments)),c=i.apply(this,arguments)-Ie,f=o.apply(this,arguments)-Ie,p=Math.abs(f-c),d=c>f?0:1;if(u<s&&(h=u,u=s,s=h),p>=De)return l(u,d)+(s?l(s,1-d):"")+"Z";var h,v,m,g,y,b,x,A,w,_,E,k,T=0,C=0,S=[];if((g=(+a.apply(this,arguments)||0)/2)&&(m=n===zs?Math.sqrt(s*s+u*u):+n.apply(this,arguments),d||(C*=-1),u&&(C=Ue(m/u*Math.sin(g))),s&&(T=Ue(m/s*Math.sin(g)))),u){y=u*Math.cos(c+C),b=u*Math.sin(c+C),x=u*Math.cos(f-C),A=u*Math.sin(f-C);var O=Math.abs(f-c-2*C)<=Be?0:1;if(C&&Ks(y,b,x,A)===d^O){var M=(c+f)/2;y=u*Math.cos(M),b=u*Math.sin(M),x=A=null}}else y=b=0;if(s){w=s*Math.cos(f-T),_=s*Math.sin(f-T),E=s*Math.cos(c+T),k=s*Math.sin(c+T);var P=Math.abs(c-f+2*T)<=Be?0:1;if(T&&Ks(w,_,E,k)===1-d^P){var B=(c+f)/2;w=s*Math.cos(B),_=s*Math.sin(B),E=k=null}}else w=_=0;if(p>Me&&(h=Math.min(Math.abs(u-s)/2,+r.apply(this,arguments)))>.001){v=s<u^d?0:1;var L=h,D=h;if(p<Be){var I=null==E?[w,_]:null==x?[y,b]:Li([y,b],[E,k],[x,A],[w,_]),j=y-I[0],R=b-I[1],F=x-I[0],N=A-I[1],z=1/Math.sin(Math.acos((j*F+R*N)/(Math.sqrt(j*j+R*R)*Math.sqrt(F*F+N*N)))/2),U=Math.sqrt(I[0]*I[0]+I[1]*I[1]);D=Math.min(h,(s-U)/(z-1)),L=Math.min(h,(u-U)/(z+1))}if(null!=x){var H=qs(null==E?[w,_]:[E,k],[y,b],u,L,d),V=qs([x,A],[w,_],u,L,d);h===L?S.push("M",H[0],"A",L,",",L," 0 0,",v," ",H[1],"A",u,",",u," 0 ",1-d^Ks(H[1][0],H[1][1],V[1][0],V[1][1]),",",d," ",V[1],"A",L,",",L," 0 0,",v," ",V[0]):S.push("M",H[0],"A",L,",",L," 0 1,",v," ",V[0])}else S.push("M",y,",",b);if(null!=E){var Q=qs([y,b],[E,k],s,-D,d),W=qs([w,_],null==x?[y,b]:[x,A],s,-D,d);h===D?S.push("L",W[0],"A",D,",",D," 0 0,",v," ",W[1],"A",s,",",s," 0 ",d^Ks(W[1][0],W[1][1],Q[1][0],Q[1][1]),",",1-d," ",Q[1],"A",D,",",D," 0 0,",v," ",Q[0]):S.push("L",W[0],"A",D,",",D," 0 0,",v," ",Q[0])}else S.push("L",w,",",_)}else S.push("M",y,",",b),null!=x&&S.push("A",u,",",u," 0 ",O,",",d," ",x,",",A),S.push("L",w,",",_),null!=E&&S.push("A",s,",",s," 0 ",P,",",1-d," ",E,",",k);return S.push("Z"),S.join("")}function l(e,t){return"M0,"+e+"A"+e+","+e+" 0 1,"+t+" 0,"+-e+"A"+e+","+e+" 0 1,"+t+" 0,"+e}return s.innerRadius=function(t){return arguments.length?(e=Ct(t),s):e},s.outerRadius=function(e){return arguments.length?(t=Ct(e),s):t},s.cornerRadius=function(e){return arguments.length?(r=Ct(e),s):r},s.padRadius=function(e){return arguments.length?(n=e==zs?zs:Ct(e),s):n},s.startAngle=function(e){return arguments.length?(i=Ct(e),s):i},s.endAngle=function(e){return arguments.length?(o=Ct(e),s):o},s.padAngle=function(e){return arguments.length?(a=Ct(e),s):a},s.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Ie;return[Math.cos(n)*r,Math.sin(n)*r]},s};var zs="auto";function Us(e){return e.innerRadius}function Hs(e){return e.outerRadius}function Vs(e){return e.startAngle}function Qs(e){return e.endAngle}function Ws(e){return e&&e.padAngle}function Ks(e,t,r,n){return(e-r)*t-(t-n)*e>0?0:1}function qs(e,t,r,n,i){var o=e[0]-t[0],a=e[1]-t[1],s=(i?n:-n)/Math.sqrt(o*o+a*a),l=s*a,u=-s*o,c=e[0]+l,f=e[1]+u,p=t[0]+l,d=t[1]+u,h=(c+p)/2,v=(f+d)/2,m=p-c,g=d-f,y=m*m+g*g,b=r-n,x=c*d-p*f,A=(g<0?-1:1)*Math.sqrt(Math.max(0,b*b*y-x*x)),w=(x*g-m*A)/y,_=(-x*m-g*A)/y,E=(x*g+m*A)/y,k=(-x*m+g*A)/y,T=w-h,C=_-v,S=E-h,O=k-v;return T*T+C*C>S*S+O*O&&(w=E,_=k),[[w-l,_-u],[w*r/b,_*r/b]]}function Gs(e){var t=Ci,r=Si,n=cn,i=Ys,o=i.key,a=.7;function s(o){var s,l=[],u=[],c=-1,f=o.length,p=Ct(t),d=Ct(r);function h(){l.push("M",i(e(u),a))}while(++c<f)n.call(this,s=o[c],c)?u.push([+p.call(this,s,c),+d.call(this,s,c)]):u.length&&(h(),u=[]);return u.length&&h(),l.length?l.join(""):null}return s.x=function(e){return arguments.length?(t=e,s):t},s.y=function(e){return arguments.length?(r=e,s):r},s.defined=function(e){return arguments.length?(n=e,s):n},s.interpolate=function(e){return arguments.length?(o="function"===typeof e?i=e:(i=$s.get(e)||Ys).key,s):o},s.tension=function(e){return arguments.length?(a=e,s):a},s}o.svg.line=function(){return Gs(j)};var $s=o.map({linear:Ys,"linear-closed":Xs,step:Zs,"step-before":Js,"step-after":el,basis:al,"basis-open":sl,"basis-closed":ll,bundle:ul,cardinal:nl,"cardinal-open":tl,"cardinal-closed":rl,monotone:yl});function Ys(e){return e.length>1?e.join("L"):e+"Z"}function Xs(e){return e.join("L")+"Z"}function Zs(e){var t=0,r=e.length,n=e[0],i=[n[0],",",n[1]];while(++t<r)i.push("H",(n[0]+(n=e[t])[0])/2,"V",n[1]);return r>1&&i.push("H",n[0]),i.join("")}function Js(e){var t=0,r=e.length,n=e[0],i=[n[0],",",n[1]];while(++t<r)i.push("V",(n=e[t])[1],"H",n[0]);return i.join("")}function el(e){var t=0,r=e.length,n=e[0],i=[n[0],",",n[1]];while(++t<r)i.push("H",(n=e[t])[0],"V",n[1]);return i.join("")}function tl(e,t){return e.length<4?Ys(e):e[1]+il(e.slice(1,-1),ol(e,t))}function rl(e,t){return e.length<3?Xs(e):e[0]+il((e.push(e[0]),e),ol([e[e.length-2]].concat(e,[e[1]]),t))}function nl(e,t){return e.length<3?Ys(e):e[0]+il(e,ol(e,t))}function il(e,t){if(t.length<1||e.length!=t.length&&e.length!=t.length+2)return Ys(e);var r=e.length!=t.length,n="",i=e[0],o=e[1],a=t[0],s=a,l=1;if(r&&(n+="Q"+(o[0]-2*a[0]/3)+","+(o[1]-2*a[1]/3)+","+o[0]+","+o[1],i=e[1],l=2),t.length>1){s=t[1],o=e[l],l++,n+="C"+(i[0]+a[0])+","+(i[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var u=2;u<t.length;u++,l++)o=e[l],s=t[u],n+="S"+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1]}if(r){var c=e[l];n+="Q"+(o[0]+2*s[0]/3)+","+(o[1]+2*s[1]/3)+","+c[0]+","+c[1]}return n}function ol(e,t){var r,n=[],i=(1-t)/2,o=e[0],a=e[1],s=1,l=e.length;while(++s<l)r=o,o=a,a=e[s],n.push([i*(a[0]-r[0]),i*(a[1]-r[1])]);return n}function al(e){if(e.length<3)return Ys(e);var t=1,r=e.length,n=e[0],i=n[0],o=n[1],a=[i,i,i,(n=e[1])[0]],s=[o,o,o,n[1]],l=[i,",",o,"L",cl(dl,a),",",cl(dl,s)];e.push(e[r-1]);while(++t<=r)n=e[t],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),hl(l,a,s);return e.pop(),l.push("L",n),l.join("")}function sl(e){if(e.length<4)return Ys(e);var t,r=[],n=-1,i=e.length,o=[0],a=[0];while(++n<3)t=e[n],o.push(t[0]),a.push(t[1]);r.push(cl(dl,o)+","+cl(dl,a)),--n;while(++n<i)t=e[n],o.shift(),o.push(t[0]),a.shift(),a.push(t[1]),hl(r,o,a);return r.join("")}function ll(e){var t,r,n=-1,i=e.length,o=i+4,a=[],s=[];while(++n<4)r=e[n%i],a.push(r[0]),s.push(r[1]);t=[cl(dl,a),",",cl(dl,s)],--n;while(++n<o)r=e[n%i],a.shift(),a.push(r[0]),s.shift(),s.push(r[1]),hl(t,a,s);return t.join("")}function ul(e,t){var r=e.length-1;if(r){var n,i,o=e[0][0],a=e[0][1],s=e[r][0]-o,l=e[r][1]-a,u=-1;while(++u<=r)n=e[u],i=u/r,n[0]=t*n[0]+(1-t)*(o+i*s),n[1]=t*n[1]+(1-t)*(a+i*l)}return al(e)}function cl(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}$s.forEach((function(e,t){t.key=e,t.closed=/-closed$/.test(e)}));var fl=[0,2/3,1/3,0],pl=[0,1/3,2/3,0],dl=[0,1/6,2/3,1/6];function hl(e,t,r){e.push("C",cl(fl,t),",",cl(fl,r),",",cl(pl,t),",",cl(pl,r),",",cl(dl,t),",",cl(dl,r))}function vl(e,t){return(t[1]-e[1])/(t[0]-e[0])}function ml(e){var t=0,r=e.length-1,n=[],i=e[0],o=e[1],a=n[0]=vl(i,o);while(++t<r)n[t]=(a+(a=vl(i=o,o=e[t+1])))/2;return n[t]=a,n}function gl(e){var t,r,n,i,o=[],a=ml(e),s=-1,l=e.length-1;while(++s<l)t=vl(e[s],e[s+1]),w(t)<Me?a[s]=a[s+1]=0:(r=a[s]/t,n=a[s+1]/t,i=r*r+n*n,i>9&&(i=3*t/Math.sqrt(i),a[s]=i*r,a[s+1]=i*n));s=-1;while(++s<=l)i=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([i||0,a[s]*i||0]);return o}function yl(e){return e.length<3?Ys(e):e[0]+il(e,gl(e))}function bl(e){var t,r,n,i=-1,o=e.length;while(++i<o)t=e[i],r=t[0],n=t[1]-Ie,t[0]=r*Math.cos(n),t[1]=r*Math.sin(n);return e}function xl(e){var t=Ci,r=Ci,n=0,i=Si,o=cn,a=Ys,s=a.key,l=a,u="L",c=.7;function f(s){var f,p,d,h=[],v=[],m=[],g=-1,y=s.length,b=Ct(t),x=Ct(n),A=t===r?function(){return p}:Ct(r),w=n===i?function(){return d}:Ct(i);function _(){h.push("M",a(e(m),c),u,l(e(v.reverse()),c),"Z")}while(++g<y)o.call(this,f=s[g],g)?(v.push([p=+b.call(this,f,g),d=+x.call(this,f,g)]),m.push([+A.call(this,f,g),+w.call(this,f,g)])):v.length&&(_(),v=[],m=[]);return v.length&&_(),h.length?h.join(""):null}return f.x=function(e){return arguments.length?(t=r=e,f):r},f.x0=function(e){return arguments.length?(t=e,f):t},f.x1=function(e){return arguments.length?(r=e,f):r},f.y=function(e){return arguments.length?(n=i=e,f):i},f.y0=function(e){return arguments.length?(n=e,f):n},f.y1=function(e){return arguments.length?(i=e,f):i},f.defined=function(e){return arguments.length?(o=e,f):o},f.interpolate=function(e){return arguments.length?(s="function"===typeof e?a=e:(a=$s.get(e)||Ys).key,l=a.reverse||a,u=a.closed?"M":"L",f):s},f.tension=function(e){return arguments.length?(c=e,f):c},f}function Al(e){return e.radius}function wl(e){return[e.x,e.y]}function _l(e){return function(){var t=e.apply(this,arguments),r=t[0],n=t[1]-Ie;return[r*Math.cos(n),r*Math.sin(n)]}}function El(){return 64}function kl(){return"circle"}function Tl(e){var t=Math.sqrt(e/Be);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}o.svg.line.radial=function(){var e=Gs(bl);return e.radius=e.x,delete e.x,e.angle=e.y,delete e.y,e},Js.reverse=el,el.reverse=Js,o.svg.area=function(){return xl(j)},o.svg.area.radial=function(){var e=xl(bl);return e.radius=e.x,delete e.x,e.innerRadius=e.x0,delete e.x0,e.outerRadius=e.x1,delete e.x1,e.angle=e.y,delete e.y,e.startAngle=e.y0,delete e.y0,e.endAngle=e.y1,delete e.y1,e},o.svg.chord=function(){var e=fi,t=pi,r=Al,n=Vs,i=Qs;function o(r,n){var i=a(this,e,r,n),o=a(this,t,r,n);return"M"+i.p0+l(i.r,i.p1,i.a1-i.a0)+(s(i,o)?u(i.r,i.p1,i.r,i.p0):u(i.r,i.p1,o.r,o.p0)+l(o.r,o.p1,o.a1-o.a0)+u(o.r,o.p1,i.r,i.p0))+"Z"}function a(e,t,o,a){var s=t.call(e,o,a),l=r.call(e,s,a),u=n.call(e,s,a)-Ie,c=i.call(e,s,a)-Ie;return{r:l,a0:u,a1:c,p0:[l*Math.cos(u),l*Math.sin(u)],p1:[l*Math.cos(c),l*Math.sin(c)]}}function s(e,t){return e.a0==t.a0&&e.a1==t.a1}function l(e,t,r){return"A"+e+","+e+" 0 "+ +(r>Be)+",1 "+t}function u(e,t,r,n){return"Q 0,0 "+n}return o.radius=function(e){return arguments.length?(r=Ct(e),o):r},o.source=function(t){return arguments.length?(e=Ct(t),o):e},o.target=function(e){return arguments.length?(t=Ct(e),o):t},o.startAngle=function(e){return arguments.length?(n=Ct(e),o):n},o.endAngle=function(e){return arguments.length?(i=Ct(e),o):i},o},o.svg.diagonal=function(){var e=fi,t=pi,r=wl;function n(n,i){var o=e.call(this,n,i),a=t.call(this,n,i),s=(o.y+a.y)/2,l=[o,{x:o.x,y:s},{x:a.x,y:s},a];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return n.source=function(t){return arguments.length?(e=Ct(t),n):e},n.target=function(e){return arguments.length?(t=Ct(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},o.svg.diagonal.radial=function(){var e=o.svg.diagonal(),t=wl,r=e.projection;return e.projection=function(e){return arguments.length?r(_l(t=e)):t},e},o.svg.symbol=function(){var e=kl,t=El;function r(r,n){return(Cl.get(e.call(this,r,n))||Tl)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=Ct(t),r):e},r.size=function(e){return arguments.length?(t=Ct(e),r):t},r};var Cl=o.map({circle:Tl,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Ol)),r=t*Ol;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Sl),r=t*Sl/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Sl),r=t*Sl/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});o.svg.symbolTypes=Cl.keys();var Sl=Math.sqrt(3),Ol=Math.tan(30*je);Z.transition=function(e){for(var t,r,n=Ll||++jl,i=Nl(e),o=[],a=Dl||{time:Date.now(),ease:No,delay:0,duration:250},s=-1,l=this.length;++s<l;){o.push(t=[]);for(var u=this[s],c=-1,f=u.length;++c<f;)(r=u[c])&&zl(r,c,i,n,a),t.push(r)}return Bl(o,i,n)},Z.interrupt=function(e){return this.each(null==e?Ml:Pl(Nl(e)))};var Ml=Pl(Nl());function Pl(e){return function(){var t,r,n;(t=this[e])&&(n=t[r=t.active])&&(n.timer.c=null,n.timer.t=NaN,--t.count?delete t[r]:delete this[e],t.active+=.5,n.event&&n.event.interrupt.call(this,this.__data__,n.index))}}function Bl(e,t,r){return q(e,Il),e.namespace=t,e.id=r,e}var Ll,Dl,Il=[],jl=0;function Rl(e,t,r,n){var i=e.id,o=e.namespace;return me(e,"function"===typeof r?function(e,a,s){e[o][i].tween.set(t,n(r.call(e,e.__data__,a,s)))}:(r=n(r),function(e){e[o][i].tween.set(t,r)}))}function Fl(e){return null==e&&(e=""),function(){this.textContent=e}}function Nl(e){return null==e?"__transition__":"__transition_"+e+"__"}function zl(e,t,r,n,i){var o,a,s,l,u,c=e[r]||(e[r]={active:0,count:0}),f=c[n];function p(e){var t=f.delay;if(a.t=t+o,t<=e)return d(e-t);a.c=d}function d(r){var i=c.active,p=c[i];for(var d in p&&(p.timer.c=null,p.timer.t=NaN,--c.count,delete c[i],p.event&&p.event.interrupt.call(e,e.__data__,p.index)),c)if(+d<n){var v=c[d];v.timer.c=null,v.timer.t=NaN,--c.count,delete c[d]}a.c=h,Rt((function(){return a.c&&h(r||1)&&(a.c=null,a.t=NaN),1}),0,o),c.active=n,f.event&&f.event.start.call(e,e.__data__,t),u=[],f.tween.forEach((function(r,n){(n=n.call(e,e.__data__,t))&&u.push(n)})),l=f.ease,s=f.duration}function h(i){var o=i/s,a=l(o),p=u.length;while(p>0)u[--p].call(e,a);if(o>=1)return f.event&&f.event.end.call(e,e.__data__,t),--c.count?delete c[n]:delete e[r],1}f||(o=i.time,a=Rt(p,0,o),f=c[n]={tween:new k,time:o,timer:a,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++c.count)}Il.call=Z.call,Il.empty=Z.empty,Il.node=Z.node,Il.size=Z.size,o.transition=function(e,t){return e&&e.transition?Ll?e.transition(t):e:o.selection().transition(e)},o.transition.prototype=Il,Il.select=function(e){var t,r,n,i=this.id,o=this.namespace,a=[];e=J(e);for(var s=-1,l=this.length;++s<l;){a.push(t=[]);for(var u=this[s],c=-1,f=u.length;++c<f;)(n=u[c])&&(r=e.call(n,n.__data__,c,s))?("__data__"in n&&(r.__data__=n.__data__),zl(r,c,o,i,n[o][i]),t.push(r)):t.push(null)}return Bl(a,o,i)},Il.selectAll=function(e){var t,r,n,i,o,a=this.id,s=this.namespace,l=[];e=ee(e);for(var u=-1,c=this.length;++u<c;)for(var f=this[u],p=-1,d=f.length;++p<d;)if(n=f[p]){o=n[s][a],r=e.call(n,n.__data__,p,u),l.push(t=[]);for(var h=-1,v=r.length;++h<v;)(i=r[h])&&zl(i,h,s,a,o),t.push(i)}return Bl(l,s,a)},Il.filter=function(e){var t,r,n=[];"function"!==typeof e&&(e=he(e));for(var i=0,o=this.length;i<o;i++){n.push(t=[]);for(var a=this[i],s=0,l=a.length;s<l;s++)(r=a[s])&&e.call(r,r.__data__,s,i)&&t.push(r)}return Bl(n,this.namespace,this.id)},Il.tween=function(e,t){var r=this.id,n=this.namespace;return arguments.length<2?this.node()[n][r].tween.get(e):me(this,null==t?function(t){t[n][r].tween.remove(e)}:function(i){i[n][r].tween.set(e,t)})},Il.attr=function(e,t){if(arguments.length<2){for(t in e)this.attr(t,e[t]);return this}var r="transform"==e?sa:Oo,n=o.ns.qualify(e);function i(){this.removeAttribute(n)}function a(){this.removeAttributeNS(n.space,n.local)}function s(e){return null==e?i:(e+="",function(){var t,i=this.getAttribute(n);return i!==e&&(t=r(i,e),function(e){this.setAttribute(n,t(e))})})}function l(e){return null==e?a:(e+="",function(){var t,i=this.getAttributeNS(n.space,n.local);return i!==e&&(t=r(i,e),function(e){this.setAttributeNS(n.space,n.local,t(e))})})}return Rl(this,"attr."+e,t,n.local?l:s)},Il.attrTween=function(e,t){var r=o.ns.qualify(e);function n(e,n){var i=t.call(this,e,n,this.getAttribute(r));return i&&function(e){this.setAttribute(r,i(e))}}function i(e,n){var i=t.call(this,e,n,this.getAttributeNS(r.space,r.local));return i&&function(e){this.setAttributeNS(r.space,r.local,i(e))}}return this.tween("attr."+e,r.local?i:n)},Il.style=function(e,t,r){var n=arguments.length;if(n<3){if("string"!==typeof e){for(r in n<2&&(t=""),e)this.style(r,e[r],t);return this}r=""}function i(){this.style.removeProperty(e)}function o(t){return null==t?i:(t+="",function(){var n,i=c(this).getComputedStyle(this,null).getPropertyValue(e);return i!==t&&(n=Oo(i,t),function(t){this.style.setProperty(e,n(t),r)})})}return Rl(this,"style."+e,t,o)},Il.styleTween=function(e,t,r){function n(n,i){var o=t.call(this,n,i,c(this).getComputedStyle(this,null).getPropertyValue(e));return o&&function(t){this.style.setProperty(e,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+e,n)},Il.text=function(e){return Rl(this,"text",e,Fl)},Il.remove=function(){var e=this.namespace;return this.each("end.transition",(function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)}))},Il.ease=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].ease:("function"!==typeof e&&(e=o.ease.apply(o,arguments)),me(this,(function(n){n[r][t].ease=e})))},Il.delay=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].delay:me(this,"function"===typeof e?function(n,i,o){n[r][t].delay=+e.call(n,n.__data__,i,o)}:(e=+e,function(n){n[r][t].delay=e}))},Il.duration=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].duration:me(this,"function"===typeof e?function(n,i,o){n[r][t].duration=Math.max(1,e.call(n,n.__data__,i,o))}:(e=Math.max(1,e),function(n){n[r][t].duration=e}))},Il.each=function(e,t){var r=this.id,n=this.namespace;if(arguments.length<2){var i=Dl,a=Ll;try{Ll=r,me(this,(function(t,i,o){Dl=t[n][r],e.call(t,t.__data__,i,o)}))}finally{Dl=i,Ll=a}}else me(this,(function(i){var a=i[n][r];(a.event||(a.event=o.dispatch("start","end","interrupt"))).on(e,t)}));return this},Il.transition=function(){for(var e,t,r,n=this.id,i=++jl,o=this.namespace,a=[],s=0,l=this.length;s<l;s++){a.push(e=[]);for(var u=this[s],c=0,f=u.length;c<f;c++)(t=u[c])&&(r=t[o][n],zl(t,c,o,i,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),e.push(t)}return Bl(a,o,i)},o.svg.axis=function(){var e,t=o.scale.linear(),r=Ul,n=6,i=6,a=3,l=[10],u=null;function c(s){s.each((function(){var s,c=o.select(this),f=this.__chart__||t,p=this.__chart__=t.copy(),d=null==u?p.ticks?p.ticks.apply(p,l):p.domain():u,h=null==e?p.tickFormat?p.tickFormat.apply(p,l):j:e,v=c.selectAll(".tick").data(d,p),m=v.enter().insert("g",".domain").attr("class","tick").style("opacity",Me),g=o.transition(v.exit()).style("opacity",Me).remove(),y=o.transition(v.order()).style("opacity",1),b=Math.max(n,0)+a,x=cs(p),A=c.selectAll(".domain").data([0]),w=(A.enter().append("path").attr("class","domain"),o.transition(A));m.append("line"),m.append("text");var _,E,k,T,C=m.select("line"),S=y.select("line"),O=v.select("text").text(h),M=m.select("text"),P=y.select("text"),B="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(s=Vl,_="x",k="y",E="x2",T="y2",O.attr("dy",B<0?"0em":".71em").style("text-anchor","middle"),w.attr("d","M"+x[0]+","+B*i+"V0H"+x[1]+"V"+B*i)):(s=Ql,_="y",k="x",E="y2",T="x2",O.attr("dy",".32em").style("text-anchor",B<0?"end":"start"),w.attr("d","M"+B*i+","+x[0]+"H0V"+x[1]+"H"+B*i)),C.attr(T,B*n),M.attr(k,B*b),S.attr(E,0).attr(T,B*n),P.attr(_,0).attr(k,B*b),p.rangeBand){var L=p,D=L.rangeBand()/2;f=p=function(e){return L(e)+D}}else f.rangeBand?f=p:g.call(s,p,f);m.call(s,f,p),y.call(s,p,p)}))}return c.scale=function(e){return arguments.length?(t=e,c):t},c.orient=function(e){return arguments.length?(r=e in Hl?e+"":Ul,c):r},c.ticks=function(){return arguments.length?(l=s(arguments),c):l},c.tickValues=function(e){return arguments.length?(u=e,c):u},c.tickFormat=function(t){return arguments.length?(e=t,c):e},c.tickSize=function(e){var t=arguments.length;return t?(n=+e,i=+arguments[t-1],c):n},c.innerTickSize=function(e){return arguments.length?(n=+e,c):n},c.outerTickSize=function(e){return arguments.length?(i=+e,c):i},c.tickPadding=function(e){return arguments.length?(a=+e,c):a},c.tickSubdivide=function(){return arguments.length&&c},c};var Ul="bottom",Hl={top:1,right:1,bottom:1,left:1};function Vl(e,t,r){e.attr("transform",(function(e){var n=t(e);return"translate("+(isFinite(n)?n:r(e))+",0)"}))}function Ql(e,t,r){e.attr("transform",(function(e){var n=t(e);return"translate(0,"+(isFinite(n)?n:r(e))+")"}))}o.svg.brush=function(){var e,t,r=W(p,"brushstart","brush","brushend"),n=null,i=null,a=[0,0],s=[0,0],l=!0,u=!0,f=Kl[0];function p(e){e.each((function(){var e=o.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",m).on("touchstart.brush",m),t=e.selectAll(".background").data([0]);t.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),e.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var r=e.selectAll(".resize").data(f,j);r.exit().remove(),r.enter().append("g").attr("class",(function(e){return"resize "+e})).style("cursor",(function(e){return Wl[e]})).append("rect").attr("x",(function(e){return/[ew]$/.test(e)?-3:null})).attr("y",(function(e){return/^[ns]/.test(e)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),r.style("display",p.empty()?"none":null);var a,s=o.transition(e),l=o.transition(t);n&&(a=cs(n),l.attr("x",a[0]).attr("width",a[1]-a[0]),h(s)),i&&(a=cs(i),l.attr("y",a[0]).attr("height",a[1]-a[0]),v(s)),d(s)}))}function d(e){e.selectAll(".resize").attr("transform",(function(e){return"translate("+a[+/e$/.test(e)]+","+s[+/^s/.test(e)]+")"}))}function h(e){e.select(".extent").attr("x",a[0]),e.selectAll(".extent,.n>rect,.s>rect").attr("width",a[1]-a[0])}function v(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function m(){var f,m,g=this,y=o.select(o.event.target),b=r.of(g,arguments),x=o.select(g),A=y.datum(),w=!/^(n|s)$/.test(A)&&n,_=!/^(e|w)$/.test(A)&&i,E=y.classed("extent"),k=Te(g),T=o.mouse(g),C=o.select(c(g)).on("keydown.brush",M).on("keyup.brush",P);if(o.event.changedTouches?C.on("touchmove.brush",B).on("touchend.brush",D):C.on("mousemove.brush",B).on("mouseup.brush",D),x.interrupt().selectAll("*").interrupt(),E)T[0]=a[0]-T[0],T[1]=s[0]-T[1];else if(A){var S=+/w$/.test(A),O=+/^n/.test(A);m=[a[1-S]-T[0],s[1-O]-T[1]],T[0]=a[S],T[1]=s[O]}else o.event.altKey&&(f=T.slice());function M(){32==o.event.keyCode&&(E||(f=null,T[0]-=a[1],T[1]-=s[1],E=2),V())}function P(){32==o.event.keyCode&&2==E&&(T[0]+=a[1],T[1]+=s[1],E=0,V())}function B(){var e=o.mouse(g),t=!1;m&&(e[0]+=m[0],e[1]+=m[1]),E||(o.event.altKey?(f||(f=[(a[0]+a[1])/2,(s[0]+s[1])/2]),T[0]=a[+(e[0]<f[0])],T[1]=s[+(e[1]<f[1])]):f=null),w&&L(e,n,0)&&(h(x),t=!0),_&&L(e,i,1)&&(v(x),t=!0),t&&(d(x),b({type:"brush",mode:E?"move":"resize"}))}function L(r,n,i){var o,c,p=cs(n),d=p[0],h=p[1],v=T[i],m=i?s:a,g=m[1]-m[0];if(E&&(d-=v,h-=g+v),o=(i?u:l)?Math.max(d,Math.min(h,r[i])):r[i],E?c=(o+=v)+g:(f&&(v=Math.max(d,Math.min(h,2*f[i]-o))),v<o?(c=o,o=v):c=v),m[0]!=o||m[1]!=c)return i?t=null:e=null,m[0]=o,m[1]=c,!0}function D(){B(),x.style("pointer-events","all").selectAll(".resize").style("display",p.empty()?"none":null),o.select("body").style("cursor",null),C.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),k(),b({type:"brushend"})}x.style("pointer-events","none").selectAll(".resize").style("display",null),o.select("body").style("cursor",y.style("cursor")),b({type:"brushstart"}),B()}return p.event=function(n){n.each((function(){var n=r.of(this,arguments),i={x:a,y:s,i:e,j:t},l=this.__chart__||i;this.__chart__=i,Ll?o.select(this).transition().each("start.brush",(function(){e=l.i,t=l.j,a=l.x,s=l.y,n({type:"brushstart"})})).tween("brush:brush",(function(){var r=Mo(a,i.x),o=Mo(s,i.y);return e=t=null,function(e){a=i.x=r(e),s=i.y=o(e),n({type:"brush",mode:"resize"})}})).each("end.brush",(function(){e=i.i,t=i.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})})):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))}))},p.x=function(e){return arguments.length?(n=e,f=Kl[!n<<1|!i],p):n},p.y=function(e){return arguments.length?(i=e,f=Kl[!n<<1|!i],p):i},p.clamp=function(e){return arguments.length?(n&&i?(l=!!e[0],u=!!e[1]):n?l=!!e:i&&(u=!!e),p):n&&i?[l,u]:n?l:i?u:null},p.extent=function(r){var o,l,u,c,f;return arguments.length?(n&&(o=r[0],l=r[1],i&&(o=o[0],l=l[0]),e=[o,l],n.invert&&(o=n(o),l=n(l)),l<o&&(f=o,o=l,l=f),o==a[0]&&l==a[1]||(a=[o,l])),i&&(u=r[0],c=r[1],n&&(u=u[1],c=c[1]),t=[u,c],i.invert&&(u=i(u),c=i(c)),c<u&&(f=u,u=c,c=f),u==s[0]&&c==s[1]||(s=[u,c])),p):(n&&(e?(o=e[0],l=e[1]):(o=a[0],l=a[1],n.invert&&(o=n.invert(o),l=n.invert(l)),l<o&&(f=o,o=l,l=f))),i&&(t?(u=t[0],c=t[1]):(u=s[0],c=s[1],i.invert&&(u=i.invert(u),c=i.invert(c)),c<u&&(f=u,u=c,c=f))),n&&i?[[o,u],[l,c]]:n?[o,l]:i&&[u,c])},p.clear=function(){return p.empty()||(a=[0,0],s=[0,0],e=t=null),p},p.empty=function(){return!!n&&a[0]==a[1]||!!i&&s[0]==s[1]},o.rebind(p,r,"on")};var Wl={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Kl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],ql=Gt.format=Er.timeFormat,Gl=ql.utc,$l=Gl("%Y-%m-%dT%H:%M:%S.%LZ");function Yl(e){return e.toISOString()}function Xl(e,t,r){function n(t){return e(t)}function i(e,r){var n=e[1]-e[0],i=n/r,a=o.bisect(Jl,i);return a==Jl.length?[t.year,bs(e.map((function(e){return e/31536e6})),r)[2]]:a?t[i/Jl[a-1]<Jl[a]/i?a-1:a]:[ru,bs(e,r)[2]]}return n.invert=function(t){return Zl(e.invert(t))},n.domain=function(t){return arguments.length?(e.domain(t),n):e.domain().map(Zl)},n.nice=function(e,t){var r=n.domain(),o=us(r),a=null==e?i(o,10):"number"===typeof e&&i(o,e);function s(r){return!isNaN(r)&&!e.range(r,Zl(+r+1),t).length}return a&&(e=a[0],t=a[1]),n.domain(ps(r,t>1?{floor:function(t){while(s(t=e.floor(t)))t=Zl(t-1);return t},ceil:function(t){while(s(t=e.ceil(t)))t=Zl(+t+1);return t}}:e))},n.ticks=function(e,t){var r=us(n.domain()),o=null==e?i(r,10):"number"===typeof e?i(r,e):!e.range&&[{range:e},t];return o&&(e=o[0],t=o[1]),e.range(r[0],Zl(+r[1]+1),t<1?1:t)},n.tickFormat=function(){return r},n.copy=function(){return Xl(e.copy(),t,r)},gs(n,e)}function Zl(e){return new Date(e)}ql.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Yl:$l,Yl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Yl.toString=$l.toString,Gt.second=Zt((function(e){return new $t(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Gt.seconds=Gt.second.range,Gt.seconds.utc=Gt.second.utc.range,Gt.minute=Zt((function(e){return new $t(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Gt.minutes=Gt.minute.range,Gt.minutes.utc=Gt.minute.utc.range,Gt.hour=Zt((function(e){var t=e.getTimezoneOffset()/60;return new $t(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Gt.hours=Gt.hour.range,Gt.hours.utc=Gt.hour.utc.range,Gt.month=Zt((function(e){return e=Gt.day(e),e.setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Gt.months=Gt.month.range,Gt.months.utc=Gt.month.utc.range;var Jl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],eu=[[Gt.second,1],[Gt.second,5],[Gt.second,15],[Gt.second,30],[Gt.minute,1],[Gt.minute,5],[Gt.minute,15],[Gt.minute,30],[Gt.hour,1],[Gt.hour,3],[Gt.hour,6],[Gt.hour,12],[Gt.day,1],[Gt.day,2],[Gt.week,1],[Gt.month,1],[Gt.month,3],[Gt.year,1]],tu=ql.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",cn]]),ru={range:function(e,t,r){return o.range(Math.ceil(e/r)*r,+t,r).map(Zl)},floor:j,ceil:j};eu.year=Gt.year,Gt.scale=function(){return Xl(o.scale.linear(),eu,tu)};var nu=eu.map((function(e){return[e[0].utc,e[1]]})),iu=Gl.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",cn]]);function ou(e){return JSON.parse(e.responseText)}function au(e){var t=l.createRange();return t.selectNode(l.body),t.createContextualFragment(e.responseText)}nu.year=Gt.year.utc,Gt.scale.utc=function(){return Xl(o.scale.linear(),nu,iu)},o.text=St((function(e){return e.responseText})),o.json=function(e,t){return Ot(e,"application/json",ou,t)},o.html=function(e,t){return Ot(e,"text/html",au,t)},o.xml=St((function(e){return e.responseXML})),this.d3=o,n=o,i="function"===typeof n?n.call(t,r,t,e):n,void 0===i||(e.exports=i)}()},"6eeb":function(e,t,r){var n=r("da84"),i=r("9112"),o=r("5135"),a=r("ce4e"),s=r("8925"),l=r("69f3"),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,r,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),c(r).source=f.join("string"==typeof t?t:"")),e!==n?(l?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=r:i(e,t,r)):u?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},"6eee":function(e,t,r){"use strict";var n=r("9452"),i=r("4da8"),o=r("d8db");function a(e,t){var r=e.getBlockMap(),n=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=r.get(o),u=l(n,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),f=t.getEndOffset(),p=r.get(c);o===c&&(p=u);var d=l(n,p,f);return d!==p&&(i[c]=d),Object.keys(i).length?e.merge({blockMap:r.merge(i),selectionAfter:t}):e.set("selectionAfter",t)}function s(e,t,r){var n;return i(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=r&&t>=r&&(n={start:e,end:t})})),"object"!==typeof n&&o(!1),n}function l(e,t,r){var i=t.getCharacterList(),o=r>0?i.get(r-1):void 0,a=r<i.count()?i.get(r):void 0,l=o?o.getEntity():void 0,u=a?a.getEntity():void 0;if(u&&u===l){var c=e.__get(u);if("MUTABLE"!==c.getMutability()){var f,p=s(i,u,r),d=p.start,h=p.end;while(d<h)f=i.get(d),i=i.set(d,n.applyEntity(f,null)),d++;return t.set("characterList",i)}}return t}e.exports=a},"6f04":function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return a}));var n="$";function i(){}function o(e,t){var r=new i;if(e instanceof i)e.each((function(e,t){r.set(t,e)}));else if(Array.isArray(e)){var n,o=-1,a=e.length;if(null==t)while(++o<a)r.set(o,e[o]);else while(++o<a)r.set(t(n=e[o],o,e),n)}else if(e)for(var s in e)r.set(s,e[s]);return r}i.prototype=o.prototype={constructor:i,has:function(e){return n+e in this},get:function(e){return this[n+e]},set:function(e,t){return this[n+e]=t,this},remove:function(e){var t=n+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===n&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===n&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===n&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===n&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===n&&++e;return e},empty:function(){for(var e in this)if(e[0]===n)return!1;return!0},each:function(e){for(var t in this)t[0]===n&&e(this[t],t.slice(1),this)}};var a=o,s=function(){var e,t,r,n=[],i=[];function o(r,i,s,l){if(i>=n.length)return null!=e&&r.sort(e),null!=t?t(r):r;var u,c,f,p=-1,d=r.length,h=n[i++],v=a(),m=s();while(++p<d)(f=v.get(u=h(c=r[p])+""))?f.push(c):v.set(u,[c]);return v.each((function(e,t){l(m,t,o(e,i,s,l))})),m}function s(e,r){if(++r>n.length)return e;var o,a=i[r-1];return null!=t&&r>=n.length?o=e.entries():(o=[],e.each((function(e,t){o.push({key:t,values:s(e,r)})}))),null!=a?o.sort((function(e,t){return a(e.key,t.key)})):o}return r={object:function(e){return o(e,0,l,u)},map:function(e){return o(e,0,c,f)},entries:function(e){return s(o(e,0,c,f),0)},key:function(e){return n.push(e),r},sortKeys:function(e){return i[n.length-1]=e,r},sortValues:function(t){return e=t,r},rollup:function(e){return t=e,r}}};function l(){return{}}function u(e,t,r){e[t]=r}function c(){return a()}function f(e,t,r){e.set(t,r)}function p(){}var d=a.prototype;function h(e,t){var r=new p;if(e instanceof p)e.each((function(e){r.add(e)}));else if(e){var n=-1,i=e.length;if(null==t)while(++n<i)r.add(e[n]);else while(++n<i)r.add(t(e[n],n,e))}return r}p.prototype=h.prototype={constructor:p,has:d.has,add:function(e){return e+="",this[n+e]=e,this},remove:d.remove,clear:d.clear,values:d.keys,size:d.size,empty:d.empty,each:d.each}},"6f09":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){if(e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"zLabelVal"in t&&(e.z=t.zLabelVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),!(r.cumulative||{}).enabled){var o,a=Array.isArray(i)?n[0].pts[i[0]][i[1]]:n[i].pts;if(e.pointNumbers=a,e.binNumber=e.pointNumber,delete e.pointNumber,delete e.pointIndex,r._indexToPoints){o=[];for(var s=0;s<a.length;s++)o=o.concat(r._indexToPoints[a[s]])}else o=a;e.pointIndices=o}return e}},"6f51":function(e,t){function r(e,t,r){var n,i,o,a,s,l,u,c,f,p,d,h,v=r[0],m=r[1],g=r[2];return t===e?(e[12]=t[0]*v+t[4]*m+t[8]*g+t[12],e[13]=t[1]*v+t[5]*m+t[9]*g+t[13],e[14]=t[2]*v+t[6]*m+t[10]*g+t[14],e[15]=t[3]*v+t[7]*m+t[11]*g+t[15]):(n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],p=t[9],d=t[10],h=t[11],e[0]=n,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=p,e[10]=d,e[11]=h,e[12]=n*v+s*m+f*g+t[12],e[13]=i*v+l*m+p*g+t[13],e[14]=o*v+u*m+d*g+t[14],e[15]=a*v+c*m+h*g+t[15]),e}e.exports=r},"6f6c":function(e,t){var r=/\w*$/;function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}e.exports=n},"6f7e":function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},"6f85":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,19H5V5H15V3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V11H19M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}))};e.exports=s},"6f96":function(e,t,r){"use strict";e.exports=function(e,t){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"percentInitial"in t&&(e.percentInitial=t.percentInitial),"percentPrevious"in t&&(e.percentPrevious=t.percentPrevious),"percentTotal"in t&&(e.percentTotal=t.percentTotal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},"6fa6":function(e,t,r){"use strict";var n=r("551a"),i=r("765f").parseColorScale,o=r("f977"),a=r("c258").extractOpts,s=r("569b"),l=r("caf7").findNearestOnAxis,u=r("caf7").generateIsoMeshes;function c(e,t,r){this.scene=e,this.uid=r,this.mesh=t,this.name="",this.data=null,this.showContour=!1}var f=c.prototype;function p(e,t){var r=e.glplot.gl,i=n({gl:r}),o=new c(e,i,t.uid);return i._trace=o,o.update(t),e.glplot.add(i),o}f.handlePick=function(e){if(e.object===this.mesh){var t=e.data.index,r=this.data._meshX[t],n=this.data._meshY[t],i=this.data._meshZ[t],o=this.data._Ys.length,a=this.data._Zs.length,s=l(r,this.data._Xs).id,u=l(n,this.data._Ys).id,c=l(i,this.data._Zs).id,f=e.index=c+a*u+a*o*s;e.traceCoordinate=[this.data._meshX[f],this.data._meshY[f],this.data._meshZ[f],this.data._value[f]];var p=this.data.hovertext||this.data.text;return Array.isArray(p)&&void 0!==p[f]?e.textLabel=p[f]:p&&(e.textLabel=p),!0}},f.update=function(e){var t=this.scene,r=t.fullSceneLayout;function n(e,t,r,n){return t.map((function(t){return e.d2l(t,0,n)*r}))}this.data=u(e);var l=s(n(r.xaxis,e._meshX,t.dataScale[0],e.xcalendar),n(r.yaxis,e._meshY,t.dataScale[1],e.ycalendar),n(r.zaxis,e._meshZ,t.dataScale[2],e.zcalendar)),c=s(e._meshI,e._meshJ,e._meshK),f={positions:l,cells:c,lightPosition:[e.lightposition.x,e.lightposition.y,e.lightposition.z],ambient:e.lighting.ambient,diffuse:e.lighting.diffuse,specular:e.lighting.specular,roughness:e.lighting.roughness,fresnel:e.lighting.fresnel,vertexNormalsEpsilon:e.lighting.vertexnormalsepsilon,faceNormalsEpsilon:e.lighting.facenormalsepsilon,opacity:e.opacity,opacityscale:e.opacityscale,contourEnable:e.contour.show,contourColor:o(e.contour.color).slice(0,3),contourWidth:e.contour.width,useFacetNormals:e.flatshading},p=a(e);f.vertexIntensity=e._meshIntensity,f.vertexIntensityBounds=[p.min,p.max],f.colormap=i(e),this.mesh.update(f)},f.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=p},"6fc3":function(e,t,r){"use strict";function n(e){return!0===e.visible}function i(e){var t=e[0].trace;return!0===t.visible&&0!==t._length}function o(e){return Array.isArray(e)&&Array.isArray(e[0])&&e[0][0]&&e[0][0].trace}e.exports=function(e){for(var t=o(e)?i:n,r=[],a=0;a<e.length;a++){var s=e[a];t(s)&&r.push(s)}return r}},"6fcd":function(e,t,r){var n=r("50d8"),i=r("d370"),o=r("6747"),a=r("0d24"),s=r("c098"),l=r("73ac"),u=Object.prototype,c=u.hasOwnProperty;function f(e,t){var r=o(e),u=!r&&i(e),f=!r&&!u&&a(e),p=!r&&!u&&!f&&l(e),d=r||u||f||p,h=d?n(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)||s(m,v))||h.push(m);return h}e.exports=f},7e3:function(e,t,r){"use strict";function n(e,t,r,n,i){var o=t.c2p(n?e.s0:e.p0,!0),a=t.c2p(n?e.s1:e.p1,!0),s=r.c2p(n?e.p0:e.s0,!0),l=r.c2p(n?e.p1:e.s1,!0);return i?[(o+a)/2,(s+l)/2]:n?[a,(s+l)/2]:[(o+a)/2,l]}e.exports=function(e,t){var r,i=e.cd,o=e.xaxis,a=e.yaxis,s=i[0].trace,l="funnel"===s.type,u="h"===s.orientation,c=[];if(!1===t)for(r=0;r<i.length;r++)i[r].selected=0;else for(r=0;r<i.length;r++){var f=i[r],p="ct"in f?f.ct:n(f,o,a,u,l);t.contains(p,!1,r,e)?(c.push({pointNumber:r,x:o.c2d(f.x),y:a.c2d(f.y)}),f.selected=1):f.selected=0}return c}},7016:function(e,t,r){"use strict";e.exports=r("89e1")},7045:function(e,t,r){"use strict";var n=Object.prototype.toString,i=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"===typeof e&&i(n.call(e))}},"706c":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedHoverLabelNameLength=void 0;var i=p(r("ab5b")),o=c(r("d7bc")),a=r("4578"),s=c(r("5174")),l=c(r("37cc")),u=c(r("d8d0"));function c(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(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)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function A(e){var t=E();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var T=function(e){b(r,e);var t=A(r);function r(e){var n;return m(this,r),n=t.call(this,e),n.state={currentOption:n.getCurrentOption(e)},n.onOptionChange=n.onOptionChange.bind(_(n)),n}return y(r,[{key:"getCurrentOption",value:function(e){return e.fullValue>0?"clip":0===e.fullValue?"hide":"no-clip"}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.fullValue!==this.props.fullValue&&this.setState({currentOption:this.getCurrentOption(e)})}},{key:"onOptionChange",value:function(e){"clip"===this.state.currentOption||"clip"!==e?"no-clip"!==e?"hide"!==e||this.props.updatePlot(0):this.props.updatePlot(-1):this.props.updatePlot(15)}},{key:"render",value:function(){var e=this.context.localize;return i.default.createElement(s.default,this.props,i.default.createElement(l.default,{activeOption:this.state.currentOption,options:[{label:e("Clip To"),value:"clip"},{label:e("No Clip"),value:"no-clip"},{label:e("Hide"),value:"hide"}],onOptionChange:this.onOptionChange}),i.default.createElement("div",{style:{height:"10px",width:"100%"}}),"clip"===this.state.currentOption?i.default.createElement(u.default,{value:this.props.fullValue,onChange:this.props.updatePlot,onUpdate:this.props.updatePlot,units:"px"}):null)}}]),r}(i.Component);t.UnconnectedHoverLabelNameLength=T,T.propTypes=h({fullValue:o.default.number,updatePlot:o.default.func},s.default.propTypes),T.contextTypes={localize:o.default.func},T.displayName="UnconnectedHoverLabelNameLength";var C=(0,a.connectToContainer)(T,{modifyPlotProps:function(e,t,r){var n=r.container;r.isVisible=n.hoverinfo&&n.hoverinfo.includes("name")||n.hovertemplate||" "===n.hovertemplate}});t.default=C},7077:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19C20.1,6 21,6.9 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z"}))};e.exports=s},7089:function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e){return n.isPlainObject(e.colorbar)}},7092:function(e,t,r){"use strict";var n=r("0edd"),i=r("53a5"),o=r("7831");function a(e){return e instanceof Uint8Array||e instanceof Uint8ClampedArray||!!(Array.isArray(e)&&(e[0]>1||0===e[0])&&(e[1]>1||0===e[1])&&(e[2]>1||0===e[2])&&(!e[3]||e[3]>1))}e.exports=function(e,t){"float"!==t&&t||(t="array"),"uint"===t&&(t="uint8"),"uint_clamped"===t&&(t="uint8_clamped");var r=o(t),s=new r(4),l="uint8"!==t&&"uint8_clamped"!==t;return e.length&&"string"!==typeof e||(e=n(e),e[0]/=255,e[1]/=255,e[2]/=255),a(e)?(s[0]=e[0],s[1]=e[1],s[2]=e[2],s[3]=null!=e[3]?e[3]:255,l&&(s[0]/=255,s[1]/=255,s[2]/=255,s[3]/=255),s):(l?(s[0]=e[0],s[1]=e[1],s[2]=e[2],s[3]=null!=e[3]?e[3]:1):(s[0]=i(Math.floor(255*e[0]),0,255),s[1]=i(Math.floor(255*e[1]),0,255),s[2]=i(Math.floor(255*e[2]),0,255),s[3]=null==e[3]?255:i(Math.floor(255*e[3]),0,255)),s)}},"70b4":function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("0642"),a=r("8797"),s=r("e806").BADNUM,l=r("de81"),u=r("09bd"),c=r("106b"),f=r("4136");function p(e,t){var r,l,p,m,y,b,x=e._fullLayout,A=o.getFromId(e,t.xaxis||"x"),w=o.getFromId(e,t.yaxis||"y"),_=A.makeCalcdata(t,"x"),E=w.makeCalcdata(t,"y"),k=a(t,A,"x",_),T=a(t,w,"y",E),C=t._length,S=new Array(C),O=t.ids,M=g(t,x,A,w),P=!1;v(x,t);var B,L="x",D="y";if(M)i.pushUnique(M.traceIndices,t._expandedIndex),r="v"===M.orientation,r?(D="s",B="x"):(L="s",B="y"),y="interpolate"===M.stackgaps;else{var I=h(t,C);d(e,t,A,w,k,T,I)}var j=!!t.xperiodalignment,R=!!t.yperiodalignment;for(l=0;l<C;l++){var F=S[l]={},N=n(k[l]),z=n(T[l]);N&&z?(F[L]=k[l],F[D]=T[l],j&&(F.orig_x=_[l]),R&&(F.orig_y=E[l])):M&&(r?N:z)?(F[B]=r?k[l]:T[l],F.gap=!0,y?(F.s=s,P=!0):F.s=0):F[L]=F[D]=s,O&&(F.id=String(O[l]))}if(c(S,t),u(e,t),f(S,t),M){l=0;while(l<S.length)S[l][B]===s?S.splice(l,1):l++;if(i.sort(S,(function(e,t){return e[B]-t[B]||e.i-t.i})),P){l=0;while(l<S.length-1&&S[l].gap)l++;for(b=S[l].s,b||(b=S[l].s=0),p=0;p<l;p++)S[p].s=b;m=S.length-1;while(m>l&&S[m].gap)m--;for(b=S[m].s,p=S.length-1;p>m;p--)S[p].s=b;while(l<m)if(l++,S[l].gap){p=l+1;while(S[p].gap)p++;var U=S[l-1][B],H=S[l-1].s,V=(S[p].s-H)/(S[p][B]-U);while(l<p)S[l].s=H+(S[l][B]-U)*V,l++}}}return S}function d(e,t,r,n,i,a,s){var u=t._length,c=e._fullLayout,f=r._id,p=n._id,d=c._firstScatter[m(t)]===t.uid,h=(g(t,c,r,n)||{}).orientation,v=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},b={padded:!0};s&&(y.ppad=b.ppad=s);var x=u<2||i[0]!==i[u-1]||a[0]!==a[u-1];x&&("tozerox"===v||"tonextx"===v&&(d||"h"===h))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==v&&"tozeroy"!==v&&(l.hasMarkers(t)||l.hasText(t))||(y.padded=!1,y.ppad=0),x&&("tozeroy"===v||"tonexty"===v&&(d||"v"===h))?b.tozero=!0:"tonextx"!==v&&"tozerox"!==v||(b.padded=!1),f&&(t._extremes[f]=o.findExtremes(r,i,y)),p&&(t._extremes[p]=o.findExtremes(n,a,b))}function h(e,t){if(l.hasMarkers(e)){var r,n=e.marker,a=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/a),3)}:function(e){return Math.max((e||0)/a,3)},i.isArrayOrTypedArray(n.size)){var s={type:"linear"};o.setConvert(s);for(var u=s.makeCalcdata(e.marker,"size"),c=new Array(t),f=0;f<t;f++)c[f]=r(u[f]);return c}return r(n.size)}}function v(e,t){var r=m(t),n=e._firstScatter;n[r]||(n[r]=t.uid)}function m(e){var t=e.stackgroup;return e.xaxis+e.yaxis+e.type+(t?"-"+t:"")}function g(e,t,r,n){var i=e.stackgroup;if(i){var o=t._scatterStackOpts[r._id+n._id][i],a="v"===o.orientation?n:r;return"linear"===a.type||"log"===a.type?o:void 0}}e.exports={calc:p,calcMarkerSize:h,calcAxisExpansion:d,setFirstScatter:v,getStackOpts:g}},"70d2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dayMatchesModifier=o,t.getModifiersForDay=a;var n=r("4ea5"),i=r("db0b");function o(e,t){if(!t)return!1;var r=Array.isArray(t)?t:[t];return r.some((function(t){return!!t&&(t instanceof Date?(0,n.isSameDay)(e,t):(0,i.isRangeOfDates)(t)?(0,n.isDayInRange)(e,t):t.after&&t.before&&(0,n.isDayAfter)(t.before,t.after)?(0,n.isDayAfter)(e,t.after)&&(0,n.isDayBefore)(e,t.before):t.after&&t.before&&((0,n.isDayAfter)(t.after,t.before)||(0,n.isSameDay)(t.after,t.before))?(0,n.isDayAfter)(e,t.after)||(0,n.isDayBefore)(e,t.before):t.after?(0,n.isDayAfter)(e,t.after):t.before?(0,n.isDayBefore)(e,t.before):t.daysOfWeek?t.daysOfWeek.some((function(t){return e.getDay()===t})):"function"===typeof t&&t(e))}))}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(r,n){var i=t[n];return o(e,i)&&r.push(n),r}),[])}t.default={dayMatchesModifier:o,getModifiersForDay:a}},"70e1":function(e,t,r){"use strict";r.r(t),r.d(t,"timeFormatDefaultLocale",(function(){return ot})),r.d(t,"timeFormat",(function(){return F})),r.d(t,"timeParse",(function(){return N})),r.d(t,"utcFormat",(function(){return z})),r.d(t,"utcParse",(function(){return U})),r.d(t,"timeFormatLocale",(function(){return j})),r.d(t,"isoFormat",(function(){return ut})),r.d(t,"isoParse",(function(){return pt}));var n=new Date,i=new Date;function o(e,t,r,a){function s(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return s.floor=function(t){return e(t=new Date(+t)),t},s.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},s.round=function(e){var t=s(e),r=s.ceil(e);return e-t<r-e?t:r},s.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},s.range=function(r,n,i){var o,a=[];if(r=s.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return a;do{a.push(o=new Date(+r)),t(r,i),e(r)}while(o<r&&r<n);return a},s.filter=function(r){return o((function(t){if(t>=t)while(e(t),!r(t))t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)while(++n<=0)while(t(e,-1),!r(e));else while(--n>=0)while(t(e,1),!r(e));}))},r&&(s.count=function(t,o){return n.setTime(+t),i.setTime(+o),e(n),e(i),Math.floor(r(n,i))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e===0}:function(t){return s.count(0,t)%e===0}):s:null}),s}var a=6e4,s=864e5,l=6048e5;function u(e){return o((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)/l}))}var c=u(0),f=u(1),p=u(2),d=u(3),h=u(4),v=u(5),m=u(6),g=(c.range,f.range,p.range,d.range,h.range,v.range,m.range,o((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/s}),(function(e){return e.getUTCDate()-1}))),y=g;g.range;function b(e){return o((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-(t.getTimezoneOffset()-e.getTimezoneOffset())*a)/l}))}var x=b(0),A=b(1),w=b(2),_=b(3),E=b(4),k=b(5),T=b(6),C=(x.range,A.range,w.range,_.range,E.range,k.range,T.range,o((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*a)/s}),(function(e){return e.getDate()-1}))),S=C,O=(C.range,o((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()})));O.every=function(e){return isFinite(e=Math.floor(e))&&e>0?o((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var M=O,P=(O.range,o((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()})));P.every=function(e){return isFinite(e=Math.floor(e))&&e>0?o((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var B=P;P.range;function L(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 D(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 I(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function j(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,u=G(i),c=$(i),p=G(o),d=$(o),h=G(a),v=$(a),m=G(s),g=$(s),b=G(l),x=$(l),w={a:z,A:U,b:V,B:Q,c:null,d:me,e:me,f:Ae,g:Be,G:De,H:ge,I:ye,j:be,L:xe,m:we,M:_e,p:W,q:K,Q:nt,s:it,S:Ee,u:ke,U:Te,V:Se,w:Oe,W:Me,x:null,X:null,y:Pe,Y:Le,Z:Ie,"%":rt},_={a:q,A:Ce,b:qe,B:ot,c:null,d:je,e:je,f:Ue,g:Ze,G:et,H:Re,I:Fe,j:Ne,L:ze,m:He,M:Ve,p:at,q:st,Q:nt,s:it,S:Qe,u:We,U:Ke,V:Ge,w:$e,W:Ye,x:null,X:null,y:Xe,Y:Je,Z:tt,"%":rt},E={a:M,A:P,b:B,B:j,c:R,d:ae,e:ae,f:pe,g:re,G:te,H:le,I:le,j:se,L:fe,m:oe,M:ue,p:O,q:ie,Q:he,s:ve,S:ce,u:X,U:Z,V:J,w:Y,W:ee,x:F,X:N,y:re,Y:te,Z:ne,"%":de};function k(e,t){return function(r){var n,i,o,a=[],s=-1,l=0,u=e.length;r instanceof Date||(r=new Date(+r));while(++s<u)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=H[n=e.charAt(++s)])?n=e.charAt(++s):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function T(e,t){return function(r){var n,i,o=I(1900,void 0,1),a=C(o,e,r+="",0);if(a!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=D(I(o.y,0,1)),i=n.getUTCDay(),n=i>4||0===i?f.ceil(n):f(n),n=y.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(n=L(I(o.y,0,1)),i=n.getDay(),n=i>4||0===i?A.ceil(n):A(n),n=S.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?D(I(o.y,0,1)).getUTCDay():L(I(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,D(o)):L(o)}}function C(e,t,r,n){var i,o,a=0,s=t.length,l=r.length;while(a<s){if(n>=l)return-1;if(i=t.charCodeAt(a++),37===i){if(i=t.charAt(a++),o=E[i in H?t.charAt(a++):i],!o||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}function O(e,t,r){var n=u.exec(t.slice(r));return n?(e.p=c[n[0].toLowerCase()],r+n[0].length):-1}function M(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=v[n[0].toLowerCase()],r+n[0].length):-1}function P(e,t,r){var n=p.exec(t.slice(r));return n?(e.w=d[n[0].toLowerCase()],r+n[0].length):-1}function B(e,t,r){var n=b.exec(t.slice(r));return n?(e.m=x[n[0].toLowerCase()],r+n[0].length):-1}function j(e,t,r){var n=m.exec(t.slice(r));return n?(e.m=g[n[0].toLowerCase()],r+n[0].length):-1}function R(e,r,n){return C(e,t,r,n)}function F(e,t,n){return C(e,r,t,n)}function N(e,t,r){return C(e,n,t,r)}function z(e){return a[e.getDay()]}function U(e){return o[e.getDay()]}function V(e){return l[e.getMonth()]}function Q(e){return s[e.getMonth()]}function W(e){return i[+(e.getHours()>=12)]}function K(e){return 1+~~(e.getMonth()/3)}function q(e){return a[e.getUTCDay()]}function Ce(e){return o[e.getUTCDay()]}function qe(e){return l[e.getUTCMonth()]}function ot(e){return s[e.getUTCMonth()]}function at(e){return i[+(e.getUTCHours()>=12)]}function st(e){return 1+~~(e.getUTCMonth()/3)}return w.x=k(r,w),w.X=k(n,w),w.c=k(t,w),_.x=k(r,_),_.X=k(n,_),_.c=k(t,_),{format:function(e){var t=k(e+="",w);return t.toString=function(){return e},t},parse:function(e){var t=T(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=T(e+="",!0);return t.toString=function(){return e},t}}}var R,F,N,z,U,H={"-":"",_:" ",0:"0"},V=/^\s*\d+/,Q=/^%/,W=/[\\^$*+?|[\]().{}]/g;function K(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function q(e){return e.replace(W,"\\$&")}function G(e){return new RegExp("^(?:"+e.map(q).join("|")+")","i")}function $(e){var t={},r=-1,n=e.length;while(++r<n)t[e[r].toLowerCase()]=r;return t}function Y(e,t,r){var n=V.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function X(e,t,r){var n=V.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Z(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function J(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function ee(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function te(e,t,r){var n=V.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function re(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ne(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function ie(e,t,r){var n=V.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function oe(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function ae(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function se(e,t,r){var n=V.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function le(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function ue(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ce(e,t,r){var n=V.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function fe(e,t,r){var n=V.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function pe(e,t,r){var n=V.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function de(e,t,r){var n=Q.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function he(e,t,r){var n=V.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function ve(e,t,r){var n=V.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function me(e,t){return K(e.getDate(),t,2)}function ge(e,t){return K(e.getHours(),t,2)}function ye(e,t){return K(e.getHours()%12||12,t,2)}function be(e,t){return K(1+S.count(M(e),e),t,3)}function xe(e,t){return K(e.getMilliseconds(),t,3)}function Ae(e,t){return xe(e,t)+"000"}function we(e,t){return K(e.getMonth()+1,t,2)}function _e(e,t){return K(e.getMinutes(),t,2)}function Ee(e,t){return K(e.getSeconds(),t,2)}function ke(e){var t=e.getDay();return 0===t?7:t}function Te(e,t){return K(x.count(M(e)-1,e),t,2)}function Ce(e){var t=e.getDay();return t>=4||0===t?E(e):E.ceil(e)}function Se(e,t){return e=Ce(e),K(E.count(M(e),e)+(4===M(e).getDay()),t,2)}function Oe(e){return e.getDay()}function Me(e,t){return K(A.count(M(e)-1,e),t,2)}function Pe(e,t){return K(e.getFullYear()%100,t,2)}function Be(e,t){return e=Ce(e),K(e.getFullYear()%100,t,2)}function Le(e,t){return K(e.getFullYear()%1e4,t,4)}function De(e,t){var r=e.getDay();return e=r>=4||0===r?E(e):E.ceil(e),K(e.getFullYear()%1e4,t,4)}function Ie(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+K(t/60|0,"0",2)+K(t%60,"0",2)}function je(e,t){return K(e.getUTCDate(),t,2)}function Re(e,t){return K(e.getUTCHours(),t,2)}function Fe(e,t){return K(e.getUTCHours()%12||12,t,2)}function Ne(e,t){return K(1+y.count(B(e),e),t,3)}function ze(e,t){return K(e.getUTCMilliseconds(),t,3)}function Ue(e,t){return ze(e,t)+"000"}function He(e,t){return K(e.getUTCMonth()+1,t,2)}function Ve(e,t){return K(e.getUTCMinutes(),t,2)}function Qe(e,t){return K(e.getUTCSeconds(),t,2)}function We(e){var t=e.getUTCDay();return 0===t?7:t}function Ke(e,t){return K(c.count(B(e)-1,e),t,2)}function qe(e){var t=e.getUTCDay();return t>=4||0===t?h(e):h.ceil(e)}function Ge(e,t){return e=qe(e),K(h.count(B(e),e)+(4===B(e).getUTCDay()),t,2)}function $e(e){return e.getUTCDay()}function Ye(e,t){return K(f.count(B(e)-1,e),t,2)}function Xe(e,t){return K(e.getUTCFullYear()%100,t,2)}function Ze(e,t){return e=qe(e),K(e.getUTCFullYear()%100,t,2)}function Je(e,t){return K(e.getUTCFullYear()%1e4,t,4)}function et(e,t){var r=e.getUTCDay();return e=r>=4||0===r?h(e):h.ceil(e),K(e.getUTCFullYear()%1e4,t,4)}function tt(){return"+0000"}function rt(){return"%"}function nt(e){return+e}function it(e){return Math.floor(+e/1e3)}function ot(e){return R=j(e),F=R.format,N=R.parse,z=R.utcFormat,U=R.utcParse,R}ot({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"]});var at="%Y-%m-%dT%H:%M:%S.%LZ";function st(e){return e.toISOString()}var lt=Date.prototype.toISOString?st:z(at),ut=lt;function ct(e){var t=new Date(e);return isNaN(t)?null:t}var ft=+new Date("2000-01-01T00:00:00.000Z")?ct:U(at),pt=ft},"70f9":function(e,t,r){"use strict";var n=r("2595"),i=r("34f9");e.exports={moduleType:"component",name:"annotations",layoutAttributes:r("bb4a"),supplyLayoutDefaults:r("bb5b"),includeBasePlot:r("37d1")("annotations"),calcAutorange:r("cd84"),draw:n.draw,drawOne:n.drawOne,drawRaw:n.drawRaw,hasClickToShow:i.hasClickToShow,onClick:i.onClick,convertCoords:r("351b")}},7118:function(e,t,r){"use strict";var n=r("19b2"),i=r("371e"),o=r("fc26"),a=r("e5ac"),s=r("d798"),l=r("d92f"),u=r("27e3"),c=r("5008"),f=r("d18b"),p=r("743b"),d=r("1a40"),h=r("d301").WEEKDAY_PATTERN,v=r("d301").HOUR_PATTERN;function m(e,t,r){function i(r,n){return o.coerce(e,t,s.rangebreaks,r,n)}var a=i("enabled");if(a){var l=i("bounds");if(l&&l.length>=2){var u,c,f="";if(2===l.length)for(u=0;u<2;u++)if(c=y(l[u]),c){f=h;break}var p=i("pattern",f);if(p===h)for(u=0;u<2;u++)c=y(l[u]),c&&(t.bounds[u]=l[u]=c-1);if(p)for(u=0;u<2;u++)switch(c=l[u],p){case h:if(!n(c))return void(t.enabled=!1);if(c=+c,c!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[u]=l[u]=c;break;case v:if(!n(c))return void(t.enabled=!1);if(c=+c,c<0||c>24)return void(t.enabled=!1);t.bounds[u]=l[u]=c;break}if(!1===r.autorange){var d=r.range;if(d[0]<d[1]){if(l[0]<d[0]&&l[1]>d[1])return void(t.enabled=!1)}else if(l[0]>d[0]&&l[1]<d[1])return void(t.enabled=!1)}}else{var m=i("values");if(!m||!m.length)return void(t.enabled=!1);i("dvalue")}}}e.exports=function(e,t,r,n,v){var g,y=n.letter,b=n.font||{},x=n.splomStash||{},A=r("visible",!n.visibleDflt),w=t._template||{},_=t.type||w.type||"-";if("date"===_){var E=i.getComponentMethod("calendars","handleDefaults");E(e,t,"calendar",n.calendar),n.noTicklabelmode||(g=r("ticklabelmode"))}n.noTicklabelposition&&"multicategory"!==_||o.coerce(e,t,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:"period"===g?["outside","inside"]:"x"===y?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition"),d(t,v);var k=!t.isValidRange(e.range);k&&n.reverseDflt&&(k="reversed");var T=r("autorange",k);!T||"linear"!==_&&"-"!==_||r("rangemode"),r("range"),t.cleanRange(),f(e,t,r,n),"category"===_||n.noHover||r("hoverformat");var C=r("color"),S=C!==s.color.dflt?C:b.color,O=x.label||v._dfltTitle[y];if(c(e,t,r,_,n,{pass:1}),!A)return t;r("title.text",O),o.coerceFont(r,"title.font",{family:b.family,size:Math.round(1.2*b.size),color:S}),l(e,t,r,_),c(e,t,r,_,n,{pass:2}),u(e,t,r,n),p(e,t,r,{dfltColor:C,bgColor:n.bgColor,showGrid:n.showGrid,attributes:s}),(t.showline||t.ticks)&&r("mirror"),n.automargin&&r("automargin");var M="multicategory"===_;if(!n.noTickson&&("category"===_||M)&&(t.ticks||t.showgrid)){var P;M&&(P="boundaries");var B=r("tickson",P);"boundaries"===B&&delete t.ticklabelposition}if(M){var L=r("showdividers");L&&(r("dividercolor"),r("dividerwidth"))}if("date"===_)if(a(e,t,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:m}),t.rangebreaks.length){for(var D=0;D<t.rangebreaks.length;D++)if(t.rangebreaks[D].pattern===h){t._hasDayOfWeekBreaks=!0;break}if(d(t,v),v._has("scattergl")||v._has("splom"))for(var I=0;I<n.data.length;I++){var j=n.data[I];"scattergl"!==j.type&&"splom"!==j.type||(j.visible=!1,o.warn(j.type+" traces do not work on axes with rangebreaks. Setting trace "+j.index+" to `visible: false`."))}}else delete t.rangebreaks;return t};var g={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function y(e){if("string"===typeof e)return g[e.substr(0,3).toLowerCase()]}},"714f":function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.hovertext,e,"htx");var i=t.marker;if(i){n.mergeArray(i.opacity,e,"mo"),n.mergeArray(i.color,e,"mc");var o=i.line;o&&(n.mergeArray(o.color,e,"mlc"),n.mergeArrayCastPositive(o.width,e,"mlw"))}}},7156:function(e,t,r){var n=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},"716c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("feb7");function i(e,t,r){if(null!==e)for(var n,o,a,s,l,u,c,f,p=0,d=0,h=e.type,v="FeatureCollection"===h,m="Feature"===h,g=v?e.features.length:1,y=0;y<g;y++){c=v?e.features[y].geometry:m?e.geometry:e,f=!!c&&"GeometryCollection"===c.type,l=f?c.geometries.length:1;for(var b=0;b<l;b++){var x=0,A=0;if(s=f?c.geometries[b]:c,null!==s){u=s.coordinates;var w=s.type;switch(p=!r||"Polygon"!==w&&"MultiPolygon"!==w?0:1,w){case null:break;case"Point":if(!1===t(u,d,y,x,A))return!1;d++,x++;break;case"LineString":case"MultiPoint":for(n=0;n<u.length;n++){if(!1===t(u[n],d,y,x,A))return!1;d++,"MultiPoint"===w&&x++}"LineString"===w&&x++;break;case"Polygon":case"MultiLineString":for(n=0;n<u.length;n++){for(o=0;o<u[n].length-p;o++){if(!1===t(u[n][o],d,y,x,A))return!1;d++}"MultiLineString"===w&&x++,"Polygon"===w&&A++}"Polygon"===w&&x++;break;case"MultiPolygon":for(n=0;n<u.length;n++){for(A=0,o=0;o<u[n].length;o++){for(a=0;a<u[n][o].length-p;a++){if(!1===t(u[n][o][a],d,y,x,A))return!1;d++}A++}x++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(!1===i(s.geometries[n],t,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function o(e,t,r,n){var o=r;return i(e,(function(e,n,i,a,s){o=0===n&&void 0===r?e:t(o,e,n,i,a,s)}),n),o}function a(e,t){var r;switch(e.type){case"FeatureCollection":for(r=0;r<e.features.length;r++)if(!1===t(e.features[r].properties,r))break;break;case"Feature":t(e.properties,0);break}}function s(e,t,r){var n=r;return a(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n}function l(e,t){if("Feature"===e.type)t(e,0);else if("FeatureCollection"===e.type)for(var r=0;r<e.features.length;r++)if(!1===t(e.features[r],r))break}function u(e,t,r){var n=r;return l(e,(function(e,i){n=0===i&&void 0===r?e:t(n,e,i)})),n}function c(e){var t=[];return i(e,(function(e){t.push(e)})),t}function f(e,t){var r,n,i,o,a,s,l,u,c,f,p=0,d="FeatureCollection"===e.type,h="Feature"===e.type,v=d?e.features.length:1;for(r=0;r<v;r++){for(s=d?e.features[r].geometry:h?e.geometry:e,u=d?e.features[r].properties:h?e.properties:{},c=d?e.features[r].bbox:h?e.bbox:void 0,f=d?e.features[r].id:h?e.id:void 0,l=!!s&&"GeometryCollection"===s.type,a=l?s.geometries.length:1,i=0;i<a;i++)if(o=l?s.geometries[i]:s,null!==o)switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===t(o,p,u,c,f))return!1;break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(!1===t(o.geometries[n],p,u,c,f))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===t(null,p,u,c,f))return!1;p++}}function p(e,t,r){var n=r;return f(e,(function(e,i,o,a,s){n=0===i&&void 0===r?e:t(n,e,i,o,a,s)})),n}function d(e,t){f(e,(function(e,r,i,o,a){var s,l=null===e?null:e.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return!1!==t(n.feature(e,i,{bbox:o,id:a}),r,0)&&void 0}switch(l){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon";break}for(var u=0;u<e.coordinates.length;u++){var c=e.coordinates[u],f={type:s,coordinates:c};if(!1===t(n.feature(f,i),r,u))return!1}}))}function h(e,t,r){var n=r;return d(e,(function(e,i,o){n=0===i&&0===o&&void 0===r?e:t(n,e,i,o)})),n}function v(e,t){d(e,(function(e,r,o){var a=0;if(e.geometry){var s=e.geometry.type;if("Point"!==s&&"MultiPoint"!==s){var l,u=0,c=0,f=0;return!1!==i(e,(function(i,s,p,d,h){if(void 0===l||r>u||d>c||h>f)return l=i,u=r,c=d,f=h,void(a=0);var v=n.lineString([l,i],e.properties);if(!1===t(v,r,o,h,a))return!1;a++,l=i}))&&void 0}}}))}function m(e,t,r){var n=r,i=!1;return v(e,(function(e,o,a,s,l){n=!1===i&&void 0===r?e:t(n,e,o,a,s,l),i=!0})),n}function g(e,t){if(!e)throw new Error("geojson is required");d(e,(function(e,r,i){if(null!==e.geometry){var o=e.geometry.type,a=e.geometry.coordinates;switch(o){case"LineString":if(!1===t(e,r,i,0,0))return!1;break;case"Polygon":for(var s=0;s<a.length;s++)if(!1===t(n.lineString(a[s],e.properties),r,i,s))return!1;break}}}))}function y(e,t,r){var n=r;return g(e,(function(e,i,o,a){n=0===i&&void 0===r?e:t(n,e,i,o,a)})),n}function b(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,s=t.segmentIndex||0,l=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),l=l||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":l=l||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var u=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return s<0&&(s=u.length+s-1),n.lineString([u[s],u[s+1]],l,t);case"Polygon":return a<0&&(a=u.length+a),s<0&&(s=u[a].length+s-1),n.lineString([u[a][s],u[a][s+1]],l,t);case"MultiLineString":return o<0&&(o=u.length+o),s<0&&(s=u[o].length+s-1),n.lineString([u[o][s],u[o][s+1]],l,t);case"MultiPolygon":return o<0&&(o=u.length+o),a<0&&(a=u[o].length+a),s<0&&(s=u[o][a].length-s-1),n.lineString([u[o][a][s],u[o][a][s+1]],l,t)}throw new Error("geojson is invalid")}function x(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,i=t.featureIndex||0,o=t.multiFeatureIndex||0,a=t.geometryIndex||0,s=t.coordIndex||0,l=t.properties;switch(e.type){case"FeatureCollection":i<0&&(i=e.features.length+i),l=l||e.features[i].properties,r=e.features[i].geometry;break;case"Feature":l=l||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var u=r.coordinates;switch(r.type){case"Point":return n.point(u,l,t);case"MultiPoint":return o<0&&(o=u.length+o),n.point(u[o],l,t);case"LineString":return s<0&&(s=u.length+s),n.point(u[s],l,t);case"Polygon":return a<0&&(a=u.length+a),s<0&&(s=u[a].length+s),n.point(u[a][s],l,t);case"MultiLineString":return o<0&&(o=u.length+o),s<0&&(s=u[o].length+s),n.point(u[o][s],l,t);case"MultiPolygon":return o<0&&(o=u.length+o),a<0&&(a=u[o].length+a),s<0&&(s=u[o][a].length-s),n.point(u[o][a][s],l,t)}throw new Error("geojson is invalid")}t.coordEach=i,t.coordReduce=o,t.propEach=a,t.propReduce=s,t.featureEach=l,t.featureReduce=u,t.coordAll=c,t.geomEach=f,t.geomReduce=p,t.flattenEach=d,t.flattenReduce=h,t.segmentEach=v,t.segmentReduce=m,t.lineEach=g,t.lineReduce=y,t.findSegment=b,t.findPoint=x},"71a6":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ModalContent=t.ModalHeader=t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("8704");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){var t=e.title,r=e.handleClose;return i.default.createElement("div",{className:"modal__header"},t?i.default.createElement("div",{className:"modal__header__title"},t):null,r?i.default.createElement("div",{className:"modal__header__close",onClick:r?function(){return r()}:null},i.default.createElement(a.CloseIcon,null)):null)};t.ModalHeader=x;var A=function(e){var t=e.children;return i.default.createElement("div",{className:"modal__content"},t)};t.ModalContent=A;var w=function(e){d(r,e);var t=v(r);function r(e){var n;return c(this,r),n=t.call(this,e),n.escFunction=n.escFunction.bind(g(n)),n}return p(r,[{key:"escFunction",value:function(e){var t=27;e.keyCode===t&&this.context.handleClose()}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.escFunction,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.escFunction,!1)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.title,o="modal";return this.context.isAnimatingOut&&(o+=" modal--animate-out"),i.default.createElement("div",{className:o},i.default.createElement("div",{className:"modal__card"},i.default.createElement(x,{title:n,handleClose:function(){return e.context.handleClose()}}),i.default.createElement(A,null,r)),i.default.createElement("div",{className:"modal__backdrop",onClick:function(){return e.context.handleClose()}}))}}]),r}(i.Component);x.propTypes={title:o.default.node,handleClose:o.default.func.isRequired},A.propTypes={children:o.default.node.isRequired},w.propTypes={children:o.default.node.isRequired,title:o.default.node},w.contextTypes={handleClose:o.default.func,isAnimatingOut:o.default.bool};var _=w;t.default=_},"71b1":function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i=e.cd,o=e.xaxis,a=e.yaxis,s=[];if(!1===t)for(r=0;r<i.length;r++)for(n=0;n<(i[r].pts||[]).length;n++)i[r].pts[n].selected=0;else for(r=0;r<i.length;r++)for(n=0;n<(i[r].pts||[]).length;n++){var l=i[r].pts[n],u=o.c2p(l.x),c=a.c2p(l.y);t.contains([u,c],null,l.i,e)?(s.push({pointNumber:l.i,x:o.c2d(l.x),y:a.c2d(l.y)}),l.selected=1):l.selected=0}return s}},"71cc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=d(i),a=r("fc55"),s=d(a),l=r("0f32"),u=d(l),c=r("5559"),f=p(c);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=t.Saturation=function(e){function t(e){h(this,t);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e){"function"===typeof r.props.onChange&&r.throttle(r.props.onChange,f.calculateChange(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=(0,u.default)((function(e,t,r){e(t,r)}),50),r}return m(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){var e=this.container,t=window;while(!t.document.contains(e)&&t.parent!==t)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,i=t.black,a=t.pointer,l=t.circle,u=(0,s.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:i,pointer:a,circle:l}},{custom:!!this.props.style});return o.default.createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),o.default.createElement("div",{style:u.white,className:"saturation-white"},o.default.createElement("div",{style:u.black,className:"saturation-black"}),o.default.createElement("div",{style:u.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:u.circle}))))}}]),t}(i.PureComponent||i.Component);t.default=g},"71ec":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(r("9903")),o=r("ca44"),a=d(r("d7bc")),s=p(r("ab5b")),l=r("4578"),u=r("e419"),c=r("a36d");function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=(0,l.connectShapeToLayout)(i.default),T=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e=this.context,t=e.layout.shapes,r=void 0===t?[]:t,n=e.localize,i=this.props,a=i.canAdd,l=i.children,f=i.canReorder,p=r.length&&r.map((function(e,t){return s.default.createElement(k,{key:t,shapeIndex:t,name:"".concat(n("Shape")," ").concat(t+1),canDelete:a},l)})),d={label:n("Shape"),handler:function(e){var t,r=e.layout,n=e.updateContainer;t=Array.isArray(r.shapes)?r.shapes.length:0;var i="shapes[".concat(t,"]"),o={line:{color:u.COLORS.charcoal},fillcolor:u.COLORS.middleGray,opacity:.3};n&&n(h({},i,o))}};return s.default.createElement(o.LayoutPanel,{addAction:a?d:null,canReorder:f},p||s.default.createElement(c.PanelMessage,{heading:n("Lines, Rectangles and Ellipses.")},s.default.createElement("p",null,n("Add shapes to a figure to highlight points or periods in time, thresholds, or areas of interest.")),s.default.createElement("p",null,n("Click on the + button above to add a shape."))))}}]),r}(s.Component);T.contextTypes={layout:a.default.object,localize:a.default.func},T.propTypes={children:a.default.node,canAdd:a.default.bool,canReorder:a.default.bool};var C=T;t.default=C},7210:function(e,t,r){"use strict";var n=r("fc26"),i=r("e5ac"),o=r("9c5f"),a=r("e639"),s=a.name,l=o.steps;function u(e,t,r){function a(r,i){return n.coerce(e,t,o,r,i)}for(var s,l=i(e,t,{name:"steps",handleItemDefaults:c}),u=0,f=0;f<l.length;f++)l[f].visible&&u++;if(s=u<2?t.visible=!1:a("visible"),s){t._stepCount=u;var p=t._visibleSteps=n.filterVisible(l),d=a("active");(l[d]||{}).visible||(t.active=p[0]._index),a("x"),a("y"),n.noneOrAll(e,t,["x","y"]),a("xanchor"),a("yanchor"),a("len"),a("lenmode"),a("pad.t"),a("pad.r"),a("pad.b"),a("pad.l"),n.coerceFont(a,"font",r.font);var h=a("currentvalue.visible");h&&(a("currentvalue.xanchor"),a("currentvalue.prefix"),a("currentvalue.suffix"),a("currentvalue.offset"),n.coerceFont(a,"currentvalue.font",t.font)),a("transition.duration"),a("transition.easing"),a("bgcolor"),a("activebgcolor"),a("bordercolor"),a("borderwidth"),a("ticklen"),a("tickwidth"),a("tickcolor"),a("minorticklen")}}function c(e,t){function r(r,i){return n.coerce(e,t,l,r,i)}var i;if(i="skip"===e.method||Array.isArray(e.args)?r("visible"):t.visible=!1,i){r("method"),r("args");var o=r("label","step-"+t._index);r("value",o),r("execute")}}e.exports=function(e,t){i(e,t,{name:s,handleItemDefaults:u})}},7223:function(e,t,r){"use strict";var n=r("abc0"),i=r("a48a").countTrailingZeros;function o(e){var t=i(n.lo(e));if(t<32)return t;var r=i(n.hi(e));return r>20?52:r+32}e.exports=o},"722f":function(e,t,r){"use strict";var n=r("fc26"),i=r("3c1c"),o=r("371e").traceIs,a=r("1c1c").handleGroupingDefaults,s=n.nestedProperty,l=r("6add").getAxisGroup,u=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],c=["x","y"];e.exports=function(e,t){var r,f,p,d,h,v,m,g=t._histogramBinOpts={},y=[],b={},x=[];function A(e,t){return n.coerce(r._input,r,r._module.attributes,e,t)}function w(e){return"v"===e.orientation?"x":"y"}function _(e,r){var n=i.getFromTrace({_fullLayout:t},e,r);return n.type}function E(e,t,r){var i=e.uid+"__"+r;t||(t=i);var o=_(e,r),a=e[r+"calendar"]||"",s=g[t],l=!0;s&&(o===s.axType&&a===s.calendar?(l=!1,s.traces.push(e),s.dirs.push(r)):(t=i,o!==s.axType&&n.warn(["Attempted to group the bins of trace",e.index,"set on a","type:"+o,"axis","with bins on","type:"+s.axType,"axis."].join(" ")),a!==s.calendar&&n.warn(["Attempted to group the bins of trace",e.index,"set with a",a,"calendar","with bins",s.calendar?"on a "+s.calendar+" calendar":"w/o a set calendar"].join(" ")))),l&&(g[t]={traces:[e],dirs:[r],axType:o,calendar:e[r+"calendar"]||""}),e["_"+r+"bingroup"]=t}for(h=0;h<e.length;h++)r=e[h],o(r,"histogram")&&(y.push(r),delete r._xautoBinFinished,delete r._yautoBinFinished,o(r,"2dMap")||a(r._input,r,t,A));var k=t._alignmentOpts||{};for(h=0;h<y.length;h++){if(r=y[h],p="",!o(r,"2dMap")){if(d=w(r),"group"===t.barmode&&r.alignmentgroup){var T=r[d+"axis"],C=l(t,T)+r.orientation;(k[C]||{})[r.alignmentgroup]&&(p=C)}p||"overlay"===t.barmode||(p=l(t,r.xaxis)+l(t,r.yaxis)+w(r))}p?(b[p]||(b[p]=[]),b[p].push(r)):x.push(r)}for(p in b)if(f=b[p],1!==f.length){var S=!1;for(f.length&&(r=f[0],S=A("bingroup")),p=S||p,h=0;h<f.length;h++){r=f[h];var O=r._input.bingroup;O&&O!==p&&n.warn(["Trace",r.index,"must match","within bingroup",p+".","Ignoring its bingroup:",O,"setting."].join(" ")),r.bingroup=p,E(r,p,w(r))}}else x.push(f[0]);for(h=0;h<x.length;h++){r=x[h];var M=A("bingroup");if(o(r,"2dMap"))for(m=0;m<2;m++){d=c[m];var P=A(d+"bingroup",M?M+"__"+d:null);E(r,P,d)}else E(r,M,w(r))}for(p in g){var B=g[p];for(f=B.traces,v=0;v<u.length;v++){var L,D,I=u[v],j=I.name;if("nbins"!==j||!B.sizeFound){for(h=0;h<f.length;h++){if(r=f[h],d=B.dirs[h],L=I.aStr[d],void 0!==s(r._input,L).get()){B[j]=A(L),B[j+"Found"]=!0;break}D=(r._autoBin||{})[d]||{},D[j]&&s(r,L).set(D[j])}if("start"===j||"end"===j)for(;h<f.length;h++)r=f[h],r["_"+d+"bingroup"]&&(D=(r._autoBin||{})[d]||{},A(L,D[j]));"nbins"!==j||B.sizeFound||B.nbinsFound||(r=f[0],B[j]=A(L))}}}}},7264:function(e,t,r){"use strict";function n(e,t){e.setMode("drag"),t.preventDefault()}e.exports=n},"72a4":function(e,t,r){"use strict";e.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},"72af":function(e,t,r){var n=r("99cd"),i=n();e.exports=i},"72e9":function(e,t,r){"use strict";var n=r("6e58"),i=r("a708"),o=r("93a6").resizeText;e.exports=function(e){var t=e._fullLayout._pielayer.selectAll(".trace");o(e,t,"pie"),t.each((function(e){var t=e[0],r=t.trace,o=n.select(this);o.style({opacity:r.opacity}),o.selectAll("path.surface").each((function(e){n.select(this).call(i,e,r)}))}))}},"72f0":function(e,t){function r(e){return function(){return e}}e.exports=r},7301:function(e,t,r){"use strict";e.exports=function(e){return!("undefined"===typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]}},7327:function(e,t,r){"use strict";var n=r("4e7e");function i(e){return Array.isArray(e)&&2===e.length&&n(e[0])&&n(e[1])}e.exports=i},"736d":function(e,t,r){"use strict";var n=r("ff2d"),i=r("7cc6"),o=r("d8db");function a(e,t,r,n,i){var o=n.getStartOffset(),a=n.getEndOffset(),l=t.getEntityAt(o),u=r.getEntityAt(a-1);if(!l&&!u)return n;var c=n;if(l&&l===u)c=s(e,t,c,i,l,!0,!0);else if(l&&u){var f=s(e,t,c,i,l,!1,!0),p=s(e,r,c,i,u,!1,!1);c=c.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(l){var d=s(e,t,c,i,l,!1,!0);c=c.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=s(e,r,c,i,u,!1,!1);c=c.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return c}function s(e,t,r,a,s,l,u){var c=r.getStartOffset(),f=r.getEndOffset(),p=e.__get(s),d=p.getMutability(),h=u?c:f;if("MUTABLE"===d)return r;var v=i(t,s).filter((function(e){return h<=e.end&&h>=e.start}));1!=v.length&&o(!1);var m=v[0];if("IMMUTABLE"===d)return r.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1});l||(u?f=m.end:c=m.start);var g=n.getRemovalRange(c,f,t.getText().slice(m.start,m.end),m.start,a);return r.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}e.exports=a},7373:function(e,t,r){"use strict";var n=r("62c4"),i=Object.keys;e.exports=function(e){return i(n(e)?Object(e):e)}},7388:function(e,t,r){e.exports={create:r("2638"),clone:r("3c41"),fromValues:r("f9f9"),copy:r("265e"),set:r("204d"),add:r("c3a9"),subtract:r("56cf"),multiply:r("dd86"),divide:r("73cf"),min:r("5374"),max:r("dd05"),scale:r("d9c2"),scaleAndAdd:r("0970"),distance:r("fa11"),squaredDistance:r("bf66"),length:r("4e89"),squaredLength:r("644a"),negate:r("b1ca"),inverse:r("95c9"),normalize:r("5243"),dot:r("7bb3"),lerp:r("7ae4"),random:r("aff3"),transformMat4:r("6259"),transformQuat:r("d26e")}},"738f":function(e,t){function r(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}e.exports=r},"739b":function(e,t,r){"use strict";var n=r("fc26"),i=r("a651"),o=r("0dd7"),a=r("4183");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,o,r,i)}r("colorscale.sequential"),r("colorscale.sequentialminus"),r("colorscale.diverging");var s,l,u=t._colorAxes;function c(e,t){return n.coerce(s,l,o.coloraxis,e,t)}for(var f in u){var p=u[f];if(p[0])s=e[f]||{},l=i.newContainer(t,f,"coloraxis"),l._name=f,a(s,l,t,c,{prefix:"",cLetter:"c"});else{for(var d=0;d<p[2].length;d++)p[2][d]();delete t._colorAxes[f]}}}},"73ac":function(e,t,r){var n=r("743f"),i=r("b047"),o=r("99d3"),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},"73c9":function(e,t,r){"use strict";t.xmlns="http://www.w3.org/2000/xmlns/",t.svg="http://www.w3.org/2000/svg",t.xlink="http://www.w3.org/1999/xlink",t.svgAttrs={xmlns:t.svg,"xmlns:xlink":t.xlink}},"73cf":function(e,t){function r(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e[3]=t[3]/r[3],e}e.exports=r},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"743b":function(e,t,r){"use strict";var n=r("66cb").mix,i=r("dfb3").lightFraction,o=r("fc26");e.exports=function(e,t,r,a){a=a||{};var s=a.dfltColor;function l(r,n){return o.coerce2(e,t,a.attributes,r,n)}var u=l("linecolor",s),c=l("linewidth"),f=r("showline",a.showLine||!!u||!!c);f||(delete t.linecolor,delete t.linewidth);var p=n(s,a.bgColor,a.blend||i).toRgbString(),d=l("gridcolor",p),h=l("gridwidth"),v=r("showgrid",a.showGrid||!!d||!!h);if(v||(delete t.gridcolor,delete t.gridwidth),!a.noZeroLine){var m=l("zerolinecolor",s),g=l("zerolinewidth"),y=r("zeroline",a.showGrid||!!m||!!g);y||(delete t.zerolinecolor,delete t.zerolinewidth)}}},"743f":function(e,t,r){var n=r("3729"),i=r("b218"),o=r("1310"),a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",f="[object Function]",p="[object Map]",d="[object Number]",h="[object Object]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",x="[object DataView]",A="[object Float32Array]",w="[object Float64Array]",_="[object Int8Array]",E="[object Int16Array]",k="[object Int32Array]",T="[object Uint8Array]",C="[object Uint8ClampedArray]",S="[object Uint16Array]",O="[object Uint32Array]",M={};function P(e){return o(e)&&i(e.length)&&!!M[n(e)]}M[A]=M[w]=M[_]=M[E]=M[k]=M[T]=M[C]=M[S]=M[O]=!0,M[a]=M[s]=M[b]=M[l]=M[x]=M[u]=M[c]=M[f]=M[p]=M[d]=M[h]=M[v]=M[m]=M[g]=M[y]=!1,e.exports=P},"746f":function(e,t,r){var n=r("428f"),i=r("5135"),o=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},"74b4":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("94d5").texttemplateAttrs,o=r("56f3"),a=r("107c"),s=r("f7e9"),l=r("a876"),u=r("f4e9"),c=r("9092").extendFlat,f=r("cb34").overrideAll,p=o.line,d=o.marker;e.exports=f({lon:o.lon,lat:o.lat,mode:c({},a.mode,{dflt:"markers",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover."].join(" ")}),text:c({},a.text,{description:["Sets text elements associated with each (lon,lat) pair","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:i({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:c({},a.hovertext,{description:["Sets hover text elements associated with each (lon,lat) pair","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),line:{color:p.color,width:p.width},connectgaps:a.connectgaps,marker:c({symbol:{valType:"string",dflt:"circle",role:"style",arrayOk:!0,description:["Sets the marker symbol.","Full list: https://www.mapbox.com/maki-icons/","Note that the array `marker.color` and `marker.size`","are only available for *circle* symbols."].join(" ")},angle:{valType:"number",dflt:"auto",role:"style",arrayOk:!0,description:["Sets the marker orientation from true North, in degrees clockwise.","When using the *auto* default, no rotation would be applied","in perspective views which is different from using a zero angle."].join(" ")},allowoverlap:{valType:"boolean",dflt:!1,role:"style",description:["Flag to draw all symbols, even if they overlap."].join(" ")},opacity:d.opacity,size:d.size,sizeref:d.sizeref,sizemin:d.sizemin,sizemode:d.sizemode},u("marker")),fill:o.fill,fillcolor:a.fillcolor,textfont:s.layers.symbol.textfont,textposition:s.layers.symbol.textposition,below:{valType:"string",role:"info",description:["Determines if this scattermapbox trace's layers are to be inserted","before the layer with the specified ID.","By default, scattermapbox layers are inserted","above all the base layers.","To place the scattermapbox layers above every other layer, set `below` to *''*."].join(" ")},selected:{marker:a.selected.marker},unselected:{marker:a.unselected.marker},hoverinfo:c({},l.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:n()},"calc","nested")},"74c7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^(moz|ms|o|webkit)-/,i=/^\d+$/,o=/([A-Z])/g,a={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function s(e){return e.replace(o,"-$1").toLowerCase().replace(n,"-$1-")}function l(e,t){var r=void 0;return"string"===typeof t?r=i.test(t):(r=!0,t=String(t)),r&&"0"!==t&&!0!==a[e]?t+"px":t}function u(e){return Object.keys(e).map((function(t){var r=l(t,e[t]),n=s(t);return n+": "+r})).join("; ")}t.default=u},"74d6":function(e,t,r){"use strict";var n=r("19b2"),i=r("6af8").isArrayOrTypedArray;function o(e,t){return function(){var r,n,a,s,l,u=e;for(s=0;s<t.length-1;s++){if(r=t[s],-1===r){for(n=!0,a=[],l=0;l<u.length;l++)a[l]=o(u[l],t.slice(s+1))(),a[l]!==a[0]&&(n=!1);return n?a[0]:a}if("number"===typeof r&&!i(u))return;if(u=u[r],"object"!==typeof u||null===u)return}if("object"===typeof u&&null!==u&&(a=u[t[s]],null!==a))return a}}e.exports=function(e,t){if(n(t))t=String(t);else if("string"!==typeof t||"[-1]"===t.substr(t.length-4))throw"bad property string";var r,i,a,s=0,u=t.split(".");while(s<u.length){if(r=String(u[s]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),r){if(r[1])u[s]=r[1];else{if(0!==s)throw"bad property string";u.splice(0,1)}for(i=r[2].substr(1,r[2].length-2).split("]["),a=0;a<i.length;a++)s++,u.splice(s,0,Number(i[a]))}s++}return"object"!==typeof e?p(e,t,u):{set:l(e,u,t),get:o(e,u),astr:t,parts:u,obj:e}};var a=/(^|\.)args\[/;function s(e,t){return void 0===e||null===e&&!t.match(a)}function l(e,t,r){return function(n){var o,a,l=e,p="",d=[[e,p]],h=s(n,r);for(a=0;a<t.length-1;a++){if(o=t[a],"number"===typeof o&&!i(l))throw"array index but container is not an array";if(-1===o){if(h=!c(l,t.slice(a+1),n,r),h)break;return}if(!f(l,o,t[a+1],h))break;if(l=l[o],"object"!==typeof l||null===l)throw"container is not an object";p=u(p,o),d.push([l,p])}if(h){if(a===t.length-1&&(delete l[t[a]],Array.isArray(l)&&+t[a]===l.length-1))while(l.length&&void 0===l[l.length-1])l.pop()}else l[t[a]]=n}}function u(e,t){var r=t;return n(t)?r="["+t+"]":e&&(r="."+t),e+r}function c(e,t,r,n){var o,a=i(r),u=!0,c=r,p=n.replace("-1",0),d=!a&&s(r,p),h=t[0];for(o=0;o<e.length;o++)p=n.replace("-1",o),a&&(c=r[o%r.length],d=s(c,p)),d&&(u=!1),f(e,o,h,d)&&l(e[o],t,n.replace("-1",o))(c);return u}function f(e,t,r,n){if(void 0===e[t]){if(n)return!1;e[t]="number"===typeof r?[]:{}}return!0}function p(e,t,r){return{set:function(){throw"bad container"},get:function(){},astr:t,parts:r,obj:e}}},7515:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedDropdown=void 0;var i=f(r("f51b")),o=f(r("5174")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){var e;return this.props.multiValued&&(e=this.props.fullValue),s.default.createElement(o.default,this.props,s.default.createElement(i.default,{backgroundDark:this.props.backgroundDark,options:this.props.options,value:this.props.fullValue,onChange:this.props.updatePlot,clearable:this.props.clearable,placeholder:e,disabled:this.props.disabled,components:this.props.components}))}}]),r}(s.Component);t.UnconnectedDropdown=k,k.propTypes=d({backgroundDark:a.default.bool,components:a.default.object,clearable:a.default.bool,fullValue:a.default.any,options:a.default.array.isRequired,updatePlot:a.default.func,disabled:a.default.bool},o.default.propTypes),k.displayName="UnconnectedDropdown";var T=(0,l.connectToContainer)(k);t.default=T},7530:function(e,t,r){var n=r("1a8c"),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},7559:function(e,t,r){"use strict";e.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'><defs><style>.cls-1 {fill: #3f4f75;} .cls-2 {fill: #80cfbe;} .cls-3 {fill: #fff;}</style></defs><title>plotly-logomark</title><g id='symbol'><rect class='cls-1' width='132' height='132' rx='6' ry='6'/><circle class='cls-2' cx='78' cy='54' r='6'/><circle class='cls-2' cx='102' cy='30' r='6'/><circle class='cls-2' cx='78' cy='30' r='6'/><circle class='cls-2' cx='54' cy='30' r='6'/><circle class='cls-2' cx='30' cy='30' r='6'/><circle class='cls-2' cx='30' cy='54' r='6'/><path class='cls-3' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/><path class='cls-3' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/><path class='cls-3' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/><path class='cls-3' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/></g></svg>"}}},"756e":function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},7592:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedNumericOrDate=void 0;var i=h(r("5174")),o=r("134d"),a=h(r("d7bc")),s=d(r("ab5b")),l=r("4578"),u=r("fc26"),c=r("661c"),f=r("3cb6");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}function w(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=C();return function(){var r,n=S(e);if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=function(e){w(r,e);var t=E(r);function r(){return b(this,r),t.apply(this,arguments)}return A(r,[{key:"render",value:function(){var e="string"===typeof this.props.fullValue&&this.props.fullValue.split(" ")[0],t="string"===typeof this.props.fullValue&&e&&((0,u.isDateTime)(e)||(0,c.isJSDate)(e));return t?s.default.createElement(f.UnconnectedDateTimePicker,y({},this.props,{placeholder:"yyyy-mm-dd hh:mm:ss.xxx"})):s.default.createElement(o.UnconnectedNumeric,this.props)}}]),r}(s.Component);t.UnconnectedNumericOrDate=O,O.propTypes=m({defaultValue:a.default.any,fullValue:a.default.any,min:a.default.number,max:a.default.number,multiValued:a.default.bool,hideArrows:a.default.bool,showSlider:a.default.bool,step:a.default.number,fullContainer:a.default.object,updatePlot:a.default.func},i.default.propTypes),O.displayName="UnconnectedNumericOrDate";var M=(0,l.connectToContainer)(O);t.default=M},7594:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("fc26"),a=r("93a6").resizeText;function s(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");a(e,t,"sunburst"),t.each((function(e){var t=n.select(this),r=e[0],i=r.trace;t.style("opacity",i.opacity),t.selectAll("path.surface").each((function(e){n.select(this).call(l,e,i)}))}))}function l(e,t,r){var n=t.data.data,a=!t.children,s=n.i,l=o.castOption(r,s,"marker.line.color")||i.defaultLine,u=o.castOption(r,s,"marker.line.width")||0;e.style("stroke-width",u).call(i.fill,n.color).call(i.stroke,l).style("opacity",a?r.leaf.opacity:null)}e.exports={style:s,styleOne:l}},"75ac":function(e,t,r){"use strict";e.exports=r("8761")},"75f4":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M4,2H20C21.1,2 22,2.9 22,4V16C22,17.1 21.1,18 20,18H16L12,22L8,18H4C2.9,18 2,17.1 2,16V4C2,2.9 2.9,2 4,2Z"}))};e.exports=s},7621:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{stroke:"#25fdfc",d:"M7 6v31M23 6v31M15 6v34M31 6v34m8-34v31",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M5.13 24.645L11 29l4-6.871 3.458 2.516L23 17.29l3.917 10.032L31 15.451 35.082 24l4.168-4.355 2.054-5.71",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M4 39h6m2 3h6m2-3h6m2 3h6m2-3h6",strokeLinejoin:"round",strokeWidth:"2"})))};t.default=u},"762a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("path",{class:"st0",fill:"#119DFF",d:"M10.1 11.2h19.4v39.1H10.1z"}),o.default.createElement("path",{class:"st1",fill:"#09FFFF",d:"M30.6 11.2h19.6v21.5H30.6z"}),o.default.createElement("path",{class:"st2",fill:"#43C0FF",d:"M30.6 33.7h19.6v16.7H30.6z"}))};t.default=u},7635:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("d7bc")),o=s(r("ab5b"));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(r,e);var t=h(r);function r(){return u(this,r),t.apply(this,arguments)}return f(r,[{key:"render",value:function(){return this.props.children?o.default.createElement("div",{className:"sidebar__item--single"},this.props.children):null}}]),r}(o.Component);t.default=b,b.plotly_editor_traits={sidebar_element:!0},b.propTypes={children:i.default.any}},"765f":function(e,t,r){"use strict";var n=r("19b2"),i=r("66cb"),o=r("7092"),a=r("c258"),s=r("dfb3").defaultLine,l=r("6af8").isArrayOrTypedArray,u=o(s),c=1;function f(e,t){var r=e;return r[3]*=t,r}function p(e){if(n(e))return u;var t=o(e);return t.length?t:u}function d(e){return n(e)?e:c}function h(e,t,r){var n,i,s,h,v,m=e.color,g=l(m),y=l(t),b=a.extractOpts(e),x=[];if(n=void 0!==b.colorscale?a.makeColorScaleFuncFromTrace(e):p,i=g?function(e,t){return void 0===e[t]?u:o(n(e[t]))}:p,s=y?function(e,t){return void 0===e[t]?c:d(e[t])}:d,g||y)for(var A=0;A<r;A++)h=i(m,A),v=s(t,A),x[A]=f(h,v);else x=f(o(m),t);return x}function v(e){var t=a.extractOpts(e),r=t.colorscale;return t.reversescale&&(r=a.flipScale(t.colorscale)),r.map((function(e){var t=e[0],r=i(e[1]),n=r.toRgb();return{index:t,rgb:[n.r,n.g,n.b,n.a]}}))}e.exports={formatColor:h,parseColorScale:v}},7678:function(e,t,r){"use strict";e.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *stack*, the bars are stacked on top of one another","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},funnelgap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},76784:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13C15,12.45 14.55,12 14,12H8V10H10C10.55,10 11,9.55 11,9V7H13C14.1,7 15,6.1 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16C9,17.1 9.9,18 11,18M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z"}))};e.exports=s},"76b2":function(e,t,r){"use strict";e.exports=function(){if("undefined"!==typeof MathJax){var e="local"!==(window.PlotlyConfig||{}).MathJaxConfig;e&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured())}}},"76dd":function(e,t,r){var n=r("ce86");function i(e){return null==e?"":n(e)}e.exports=i},"76fe":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeIsData=S,t.default=t.UnconnectedDataSelector=void 0;var n=d(r("f51b")),i=d(r("d7bc")),o=p(r("ab5b")),a=d(r("5174")),s=d(r("74d6")),l=r("4578"),u=r("e419"),c=r("662f");function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==g(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){return g="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},g(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==g(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"data_array"===e.valType||e.arrayOk}var O=function(e){A(r,e);var t=_(r);function r(e,n){var i;return y(this,r),i=t.call(this,e,n),i.updatePlot=i.updatePlot.bind(k(i)),i.setLocals(e,n),i}return x(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){this.dataSources=t.dataSources||{},this.dataSourceOptions=t.dataSourceOptions||[],this.srcAttr=e.attr+"src",this.srcProperty=(0,s.default)(e.container,this.srcAttr).get(),this.fullValue=this.context.srcConverters?this.context.srcConverters.toSrc(this.srcProperty,e.container.type):this.srcProperty,this.is2D=!1,e.container&&(this.is2D=("x"===e.attr||"y"===e.attr)&&["scatter","scattergl","bar","funnel","heatmap","heatmapgl","violin","waterfall","box","contour","contourgl"].includes(e.container.type)||"z"===e.attr&&["contour","contourgl","heatmap","heatmapgl","surface","carpet","contourcarpet"].includes(e.container.type)||"table"===e.container.type&&"columnorder"!==e.attr||Array.isArray(this.fullValue)),this.hasData=!!e.container&&e.attr in e.container}},{key:"updatePlot",value:function(e){var t=this;if(this.props.updateContainer){var r,n={},i=!Array.isArray(e)||1!==e.length||"x"!==this.props.attr&&"y"!==this.props.attr?e:e[0];r=Array.isArray(i)?i.filter((function(e){return Array.isArray(t.dataSources[e])})).map((function(e){return t.dataSources[e]})):this.dataSources[i]||null,n[this.props.attr]=(0,l.maybeTransposeData)(r,this.srcAttr,this.props.container.type),n[this.srcAttr]=(0,l.maybeAdjustSrc)(i,this.srcAttr,this.props.container.type,{fromSrc:this.context.srcConverters?this.context.srcConverters.fromSrc:null}),this.props.container.type&&(n["meta.columnNames."+this.props.attr]=(0,c.getColumnNames)(Array.isArray(i)?i:[i],this.dataSourceOptions)),this.props.updateContainer(n)}}},{key:"render",value:function(){var e,t=this.props.label;if("object"===g(t)){var r=this.props.container.type;e=t[r]?t[r]:t["*"]}else e=t;return o.default.createElement(a.default,v(v({},this.props),{},{label:e}),o.default.createElement(n.default,{options:this.dataSourceOptions,value:this.fullValue,onChange:this.updatePlot,multi:this.is2D,searchable:!0,clearable:!0,placeholder:this.hasData?"Data inlined in figure":"Choose data...",disabled:0===this.dataSourceOptions.length,components:this.props.dataSourceComponents}))}}]),r}(o.Component);function M(e,t,r){S(r.attrMeta)&&t.container&&-1===u.TRANSFORMS_LIST.indexOf(t.container.type)&&(r.isVisible=!0)}t.UnconnectedDataSelector=O,O.propTypes=v({fullValue:i.default.any,updatePlot:i.default.func,container:i.default.object},a.default.propTypes),O.contextTypes={dataSources:i.default.object,dataSourceComponents:i.default.object,dataSourceOptions:i.default.array,srcConverters:i.default.shape({toSrc:i.default.func.isRequired,fromSrc:i.default.func.isRequired}),container:i.default.object},O.displayName="UnconnectedDataSelector";var P=(0,l.connectToContainer)(O,{modifyPlotProps:M});t.default=P},"76fe1":function(e,t,r){"use strict";var n=r("f977"),i=r("fc26"),o=["xaxis","yaxis","zaxis"];function a(){this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[18,18,18],this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont=["Open Sans","Open Sans","Open Sans"],this.labelSize=[20,20,20],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[30,30,30],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[10,10,10],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!0,!0,!0],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._defaultTickPad=this.tickPad.slice(),this._defaultLabelPad=this.labelPad.slice(),this._defaultLineTickLength=this.lineTickLength.slice()}var s=a.prototype;function l(e,t){var r=new a;return r.merge(e,t),r}s.merge=function(e,t){for(var r=this,a=0;a<3;++a){var s=t[o[a]];s.visible?(r.labels[a]=e._meta?i.templateString(s.title.text,e._meta):s.title.text,"font"in s.title&&(s.title.font.color&&(r.labelColor[a]=n(s.title.font.color)),s.title.font.family&&(r.labelFont[a]=s.title.font.family),s.title.font.size&&(r.labelSize[a]=s.title.font.size)),"showline"in s&&(r.lineEnable[a]=s.showline),"linecolor"in s&&(r.lineColor[a]=n(s.linecolor)),"linewidth"in s&&(r.lineWidth[a]=s.linewidth),"showgrid"in s&&(r.gridEnable[a]=s.showgrid),"gridcolor"in s&&(r.gridColor[a]=n(s.gridcolor)),"gridwidth"in s&&(r.gridWidth[a]=s.gridwidth),"log"===s.type?r.zeroEnable[a]=!1:"zeroline"in s&&(r.zeroEnable[a]=s.zeroline),"zerolinecolor"in s&&(r.zeroLineColor[a]=n(s.zerolinecolor)),"zerolinewidth"in s&&(r.zeroLineWidth[a]=s.zerolinewidth),"ticks"in s&&s.ticks?r.lineTickEnable[a]=!0:r.lineTickEnable[a]=!1,"ticklen"in s&&(r.lineTickLength[a]=r._defaultLineTickLength[a]=s.ticklen),"tickcolor"in s&&(r.lineTickColor[a]=n(s.tickcolor)),"tickwidth"in s&&(r.lineTickWidth[a]=s.tickwidth),"tickangle"in s&&(r.tickAngle[a]="auto"===s.tickangle?-3600:Math.PI*-s.tickangle/180),"showticklabels"in s&&(r.tickEnable[a]=s.showticklabels),"tickfont"in s&&(s.tickfont.color&&(r.tickColor[a]=n(s.tickfont.color)),s.tickfont.family&&(r.tickFont[a]=s.tickfont.family),s.tickfont.size&&(r.tickSize[a]=s.tickfont.size)),"mirror"in s?-1!==["ticks","all","allticks"].indexOf(s.mirror)?(r.lineTickMirror[a]=!0,r.lineMirror[a]=!0):!0===s.mirror?(r.lineTickMirror[a]=!1,r.lineMirror[a]=!0):(r.lineTickMirror[a]=!1,r.lineMirror[a]=!1):r.lineMirror[a]=!1,"showbackground"in s&&!1!==s.showbackground?(r.backgroundEnable[a]=!0,r.backgroundColor[a]=n(s.backgroundcolor)):r.backgroundEnable[a]=!1):(r.tickEnable[a]=!1,r.labelEnable[a]=!1,r.lineEnable[a]=!1,r.lineTickEnable[a]=!1,r.gridEnable[a]=!1,r.zeroEnable[a]=!1,r.backgroundEnable[a]=!1)}},e.exports=l},"772c":function(e,t,r){"use strict";var n={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=n},7797:function(e,t,r){"use strict";function n(e){this.roots=new Array(e),this.ranks=new Array(e);for(var t=0;t<e;++t)this.roots[t]=t,this.ranks[t]=0}e.exports=n,n.prototype.length=function(){return this.roots.length},n.prototype.makeSet=function(){var e=this.roots.length;return this.roots.push(e),this.ranks.push(0),e},n.prototype.find=function(e){var t=this.roots;while(t[e]!==e){var r=t[e];t[e]=t[r],e=r}return e},n.prototype.link=function(e,t){var r=this.find(e),n=this.find(t);if(r!==n){var i=this.ranks,o=this.roots,a=i[r],s=i[n];a<s?o[r]=n:s<a?o[n]=r:(o[n]=r,++i[r])}}},"77ae":function(e,t,r){"use strict";e.exports={attributes:r("0435"),supplyDefaults:r("87e2"),calc:r("0625"),plot:r("fa8a"),colorbar:r("fcb3"),style:r("c437"),hoverPoints:r("d6fb"),moduleType:"trace",name:"heatmap",basePlotModule:r("91cd"),categories:["cartesian","svg","2dMap","showLegend"],meta:{description:["The data that describes the heatmap value-to-color mapping","is set in `z`.","Data in `z` can either be a {2D array} of values (ragged or not)","or a 1D array of values.","In the case where `z` is a {2D array},","say that `z` has N rows and M columns.","Then, by default, the resulting heatmap will have N partitions along","the y axis and M partitions along the x axis.","In other words, the i-th row/ j-th column cell in `z`","is mapped to the i-th partition of the y axis","(starting from the bottom of the plot) and the j-th partition","of the x-axis (starting from the left of the plot).","This behavior can be flipped by using `transpose`.","Moreover, `x` (`y`) can be provided with M or M+1 (N or N+1) elements.","If M (N), then the coordinates correspond to the center of the","heatmap cells and the cells have equal width.","If M+1 (N+1), then the coordinates correspond to the edges of the","heatmap cells.","In the case where `z` is a 1D {array}, the x and y coordinates must be","provided in `x` and `y` respectively to form data triplets."].join(" ")}}},"77bc":function(e,t,r){"use strict";e.exports={attributes:r("82d7"),supplyDefaults:r("e2f3"),calc:r("5f0d"),plot:r("c9ce"),moduleType:"trace",name:"sankey",basePlotModule:r("865d"),selectPoints:r("2aa9"),categories:["noOpacity"],meta:{description:["Sankey plots for network flow data analysis.","The nodes are specified in `nodes` and the links between sources and targets in `links`.","The colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used."].join(" ")}}},7815:function(e,t,r){"use strict";var n=r("9092").extendFlat;function i(e){var t=e.rowBlocks[e.page],r=t?t.rows[0].rowIndex:0,n=t?r+t.rows.length:0;return[r,n]}t.splitToPanels=function(e){var t=[0,0],r=n({},e,{key:"header",type:"header",page:0,prevPages:t,currentRepaint:[null,null],dragHandle:!0,values:e.calcdata.headerCells.values[e.specIndex],rowBlocks:e.calcdata.headerRowBlocks,calcdata:n({},e.calcdata,{cells:e.calcdata.headerCells})}),i=n({},e,{key:"cells1",type:"cells",page:0,prevPages:t,currentRepaint:[null,null],dragHandle:!1,values:e.calcdata.cells.values[e.specIndex],rowBlocks:e.calcdata.rowBlocks}),o=n({},e,{key:"cells2",type:"cells",page:1,prevPages:t,currentRepaint:[null,null],dragHandle:!1,values:e.calcdata.cells.values[e.specIndex],rowBlocks:e.calcdata.rowBlocks});return[i,o,r]},t.splitToCells=function(e){var t=i(e);return(e.values||[]).slice(t[0],t[1]).map((function(r,n){var i="string"===typeof r&&r.match(/[<$&> ]/)?"_keybuster_"+Math.random():"";return{keyWithinBlock:n+i,key:t[0]+n,column:e,calcdata:e.calcdata,page:e.page,rowBlocks:e.rowBlocks,value:r}}))}},7831:function(e,t){e.exports=function(e){switch(e){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},78399:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r("7515"),o=h(r("d7bc")),a=d(r("ab5b")),s=r("4578"),l=r("e419"),u=r("562c"),c=h(r("5174")),f=r("8704");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}function w(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=C();return function(){var r,n=S(e);if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=function(e){w(r,e);var t=E(r);function r(e,n){var i;return b(this,r),i=t.call(this,e,n),i.updatePlot=i.updatePlot.bind(T(i)),i.setGl=i.setGl.bind(T(i)),i.glEnabled=i.glEnabled.bind(T(i)),i.setTraceDefaults=i.setTraceDefaults.bind(T(i)),i.toggleGlControls=i.toggleGlControls.bind(T(i)),i.setTraceDefaults(e.container,e.fullContainer,e.updateContainer),i.setLocals(e,n),i.state={showGlControls:!1},i}return A(r,[{key:"glEnabled",value:function(){return this.props.container.type&&this.props.container.type.endsWith("gl")?"gl":""}},{key:"toggleGlControls",value:function(){this.setState({showGlControls:!this.state.showGlControls})}},{key:"setLocals",value:function(e,t){var r=t.localize;e.traceOptions?this.traceOptions=e.traceOptions:t.traceTypesConfig?this.traceOptions=t.traceTypesConfig.traces(r):t.plotSchema?this.traceOptions=(0,s.computeTraceOptionsFromSchema)(t.plotSchema,r,this.context):this.traceOptions=[{label:r("Scatter"),value:"scatter"}],e.container&&(this.fullValue=(0,s.plotlyTraceToCustomTrace)(e.container))}},{key:"setTraceDefaults",value:function(e,t,r,n){e&&!e.mode&&"scatter"===t.type&&r({type:"scatter"+(n||this.context.glByDefault?n:this.glEnabled()),mode:t.mode||"markers"})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var r=e.container,n=e.fullContainer,i=e.updateContainer;this.setTraceDefaults(r,n,i),this.setLocals(e,t)}},{key:"updatePlot",value:function(e){var t=this.props.updateContainer,r=this.context.glByDefault;t&&t((0,s.traceTypeToPlotlyInitFigure)(e,this.glEnabled()||r))}},{key:"setGl",value:function(e){var t=this.props,r=t.container,n=t.fullContainer,i=t.updateContainer,o="gl";this.setTraceDefaults(r,n,i,e);var a=this.fullValue.endsWith(o)&&""===e?this.fullValue.slice(0,-o.length):this.fullValue;i((0,s.traceTypeToPlotlyInitFigure)(a,e))}},{key:"render",value:function(){var e=this,t=Object.assign({},this.props,{fullValue:this.fullValue,updatePlot:this.updatePlot,options:this.traceOptions,clearable:!1}),r=this.context,n=r.localize,o=r.advancedTraceTypeSelector,s=[{label:n("SVG"),value:""},{label:n("WebGL"),value:"gl"}];return o?a.default.createElement("div",null,a.default.createElement(c.default,t,a.default.createElement("div",{style:{display:"flex",width:"100%",alignItems:"center"}},a.default.createElement(u.TraceTypeSelectorButton,v({},t,{traceTypesConfig:this.context.traceTypesConfig,handleClick:function(){return e.context.openModal(u.TraceTypeSelector,g(g({},t),{},{traceTypesConfig:e.context.traceTypesConfig,glByDefault:e.context.glByDefault}))}})),l.TRACES_WITH_GL.includes(this.props.container.type)?a.default.createElement(f.CogIcon,{className:"menupanel__icon",onClick:this.toggleGlControls}):"")),l.TRACES_WITH_GL.includes(this.props.container.type)&&this.state.showGlControls?a.default.createElement(c.default,{label:n("Rendering")},a.default.createElement(u.RadioBlocks,{options:s,activeOption:this.glEnabled(),onOptionChange:this.setGl})):""):a.default.createElement(i.UnconnectedDropdown,t)}}]),r}(a.Component);O.contextTypes={openModal:o.default.func,advancedTraceTypeSelector:o.default.bool,traceTypesConfig:o.default.object,plotSchema:o.default.object,config:o.default.object,localize:o.default.func,glByDefault:o.default.bool},O.propTypes={container:o.default.object.isRequired,fullContainer:o.default.object.isRequired,fullValue:o.default.any,updateContainer:o.default.func};var M=(0,s.connectToContainer)(O);t.default=M},"784e":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}))};e.exports=s},7899:function(e,t,r){"use strict";e.exports=o;var n=r("92ba");function i(e,t){for(var r=new Array(t+1),i=0;i<e.length;++i)r[i]=e[i];for(i=0;i<=e.length;++i){for(var o=e.length;o<=t;++o){for(var a=new Array(t),s=0;s<t;++s)a[s]=Math.pow(o+1-i,s);r[o]=a}var l=n.apply(void 0,r);if(l)return!0}return!1}function o(e){var t=e.length;if(0===t)return[];if(1===t)return[0];for(var r=e[0].length,n=[e[0]],o=[0],a=1;a<t;++a)if(n.push(e[a]),i(n,r)){if(o.push(a),o.length===r+1)return o}else n.pop();return o}},"78b4":function(e,t,r){"use strict";var n={bmp:r("407c"),cur:r("ddc1"),dds:r("def7"),gif:r("21c1"),icns:r("6220"),ico:r("0cb3"),jpg:r("6030"),png:r("9a4a"),psd:r("d1ab"),svg:r("9fe2"),tiff:r("a0aa"),webp:r("c057")};e.exports=n},"78d8":function(e,t,r){"use strict";e.exports={hiddenlabels:{valType:"data_array",role:"info",editType:"calc",description:["hiddenlabels is the funnelarea & pie chart analog of","visible:'legendonly'","but it can contain many labels, and can simultaneously","hide slices from several pies/funnelarea charts"].join(" ")},piecolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default pie slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendpiecolors`."].join(" ")},extendpiecolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the pie slice colors (whether given by `piecolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},"78df":function(e,t,r){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}},"78ec":function(e,t,r){"use strict";(function(t){r("6017"),e.exports=t.setImmediate}).call(this,r("c8ba"))},"78ee":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=i.strScale,a=i.strTranslate,s=i.rad2deg,l=r("63dc").MID_SHIFT,u=r("83d1"),c=r("49b4"),f=r("0379"),p=r("0642"),d=r("7118"),h=r("f3a2"),v=r("d798"),m=r("d115"),g={left:"start",center:"middle",right:"end"},y={left:0,center:.5,right:1},b=/[yzafpnµmkMGTPEZY]/;function x(e){return e&&e.duration>0}function A(e,t,r,n){var i,o,s,l,u,f=r[0].trace,d=n.gauge,h=n.layer,v=n.gaugeBg,g=n.gaugeOutline,y=n.size,b=f.domain,A=n.transitionOpts,w=n.onComplete;d.enter().append("g").classed("bullet",!0),d.attr("transform",a(y.l,y.t)),h.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),h.selectAll("g.xbulletaxistick,path,text").remove();var _=y.h,k=f.gauge.bar.thickness*_,C=b.x[0],S=b.x[0]+(b.x[1]-b.x[0])*(f._hasNumber||f._hasDelta?1-c.bulletNumberDomainSize:1);function O(e){e.attr("width",(function(e){return Math.max(0,i.c2p(e.range[1])-i.c2p(e.range[0]))})).attr("x",(function(e){return i.c2p(e.range[0])})).attr("y",(function(e){return.5*(1-e.thickness)*_})).attr("height",(function(e){return e.thickness*_}))}i=T(e,f.gauge.axis),i._id="xbulletaxis",i.domain=[C,S],i.setScale(),o=p.calcTicks(i),s=p.makeTransTickFn(i),l=p.getTickSigns(i)[2],u=y.t+y.h,i.visible&&(p.drawTicks(e,i,{vals:"inside"===i.ticks?p.clipEnds(i,o):o,layer:h,path:p.makeTickPath(i,u,l),transFn:s}),p.drawLabels(e,i,{vals:o,layer:h,transFn:s,labelFns:p.makeLabelFns(i,u)}));var M=[v].concat(f.gauge.steps),P=d.selectAll("g.bg-bullet").data(M);P.enter().append("g").classed("bg-bullet",!0).append("rect"),P.select("rect").call(O).call(E),P.exit().remove();var B=d.selectAll("g.value-bullet").data([f.gauge.bar]);B.enter().append("g").classed("value-bullet",!0).append("rect"),B.select("rect").attr("height",k).attr("y",(_-k)/2).call(E),x(A)?B.select("rect").transition().duration(A.duration).ease(A.easing).each("end",(function(){w&&w()})).each("interrupt",(function(){w&&w()})).attr("width",Math.max(0,i.c2p(Math.min(f.gauge.axis.range[1],r[0].y)))):B.select("rect").attr("width","number"===typeof r[0].y?Math.max(0,i.c2p(Math.min(f.gauge.axis.range[1],r[0].y))):0),B.exit().remove();var L=r.filter((function(){return f.gauge.threshold.value})),D=d.selectAll("g.threshold-bullet").data(L);D.enter().append("g").classed("threshold-bullet",!0).append("line"),D.select("line").attr("x1",i.c2p(f.gauge.threshold.value)).attr("x2",i.c2p(f.gauge.threshold.value)).attr("y1",(1-f.gauge.threshold.thickness)/2*_).attr("y2",(1-(1-f.gauge.threshold.thickness)/2)*_).call(m.stroke,f.gauge.threshold.line.color).style("stroke-width",f.gauge.threshold.line.width),D.exit().remove();var I=d.selectAll("g.gauge-outline").data([g]);I.enter().append("g").classed("gauge-outline",!0).append("rect"),I.select("rect").call(O).call(E),I.exit().remove()}function w(e,t,r,i){var o,u,c,f,d=r[0].trace,h=i.size,v=i.radius,m=i.innerRadius,g=i.gaugeBg,y=i.gaugeOutline,b=[h.l+h.w/2,h.t+h.h/2+v/2],A=i.gauge,w=i.layer,_=i.transitionOpts,C=i.onComplete,S=Math.PI/2;function O(e){var t=d.gauge.axis.range[0],r=d.gauge.axis.range[1],n=(e-t)/(r-t)*Math.PI-S;return n<-S?-S:n>S?S:n}function M(e){return n.svg.arc().innerRadius((m+v)/2-e/2*(v-m)).outerRadius((m+v)/2+e/2*(v-m)).startAngle(-S)}function P(e){e.attr("d",(function(e){return M(e.thickness).startAngle(O(e.range[0])).endAngle(O(e.range[1]))()}))}A.enter().append("g").classed("angular",!0),A.attr("transform",a(b[0],b[1])),w.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),w.selectAll("g.xangularaxistick,path,text").remove(),o=T(e,d.gauge.axis),o.type="linear",o.range=d.gauge.axis.range,o._id="xangularaxis",o.setScale();var B=function(e){return(o.range[0]-e.x)/(o.range[1]-o.range[0])*Math.PI+Math.PI},L={},D=p.makeLabelFns(o,0),I=D.labelStandoff;L.xFn=function(e){var t=B(e);return Math.cos(t)*I},L.yFn=function(e){var t=B(e),r=Math.sin(t)>0?.2:1;return-Math.sin(t)*(I+e.fontSize*r)+Math.abs(Math.cos(t))*(e.fontSize*l)},L.anchorFn=function(e){var t=B(e),r=Math.cos(t);return Math.abs(r)<.1?"middle":r>0?"start":"end"},L.heightFn=function(e,t,r){var n=B(e);return-.5*(1+Math.sin(n))*r};var j=function(e){return a(b[0]+v*Math.cos(e),b[1]-v*Math.sin(e))};c=function(e){return j(B(e))};var R=function(e){var t=B(e);return j(t)+"rotate("+-s(t)+")"};if(u=p.calcTicks(o),f=p.getTickSigns(o)[2],o.visible){f="inside"===o.ticks?-1:1;var F=(o.linewidth||1)/2;p.drawTicks(e,o,{vals:u,layer:w,path:"M"+f*F+",0h"+f*o.ticklen,transFn:R}),p.drawLabels(e,o,{vals:u,layer:w,transFn:c,labelFns:L})}var N=[g].concat(d.gauge.steps),z=A.selectAll("g.bg-arc").data(N);z.enter().append("g").classed("bg-arc",!0).append("path"),z.select("path").call(P).call(E),z.exit().remove();var U=M(d.gauge.bar.thickness),H=A.selectAll("g.value-arc").data([d.gauge.bar]);H.enter().append("g").classed("value-arc",!0).append("path");var V=H.select("path");x(_)?(V.transition().duration(_.duration).ease(_.easing).each("end",(function(){C&&C()})).each("interrupt",(function(){C&&C()})).attrTween("d",k(U,O(r[0].lastY),O(r[0].y))),d._lastValue=r[0].y):V.attr("d","number"===typeof r[0].y?U.endAngle(O(r[0].y)):"M0,0Z"),V.call(E),H.exit().remove(),N=[];var Q=d.gauge.threshold.value;Q&&N.push({range:[Q,Q],color:d.gauge.threshold.color,line:{color:d.gauge.threshold.line.color,width:d.gauge.threshold.line.width},thickness:d.gauge.threshold.thickness});var W=A.selectAll("g.threshold-arc").data(N);W.enter().append("g").classed("threshold-arc",!0).append("path"),W.select("path").call(P).call(E),W.exit().remove();var K=A.selectAll("g.gauge-outline").data([y]);K.enter().append("g").classed("gauge-outline",!0).append("path"),K.select("path").call(P).call(E),K.exit().remove()}function _(e,t,r,s){var l,c,d,h=r[0].trace,v=s.numbersX,A=s.numbersY,w=h.align||"center",_=g[w],E=s.transitionOpts,k=s.onComplete,C=i.ensureSingle(t,"g","numbers"),S=[];h._hasNumber&&S.push("number"),h._hasDelta&&(S.push("delta"),"left"===h.delta.position&&S.reverse());var P=C.selectAll("text").data(S);function B(t,r,n,i){if(!t.match("s")||n>=0===i>=0||r(n).slice(-1).match(b)||r(i).slice(-1).match(b))return r;var o=t.slice().replace("s","f").replace(/\d+/,(function(e){return parseInt(e)-1})),a=T(e,{tickformat:o});return function(e){return Math.abs(e)<1?p.tickText(a,e).text:r(e)}}function L(){var t=T(e,{tickformat:h.number.valueformat},h._range);t.setScale(),p.prepTicks(t);var i=function(e){return p.tickText(t,e).text},o=h.number.suffix,a=h.number.prefix,s=C.select("text.number");function c(){var t="number"===typeof r[0].y?a+i(r[0].y)+o:"-";s.text(t).call(u.font,h.number.font).call(f.convertToTspans,e)}return x(E)?s.transition().duration(E.duration).ease(E.easing).each("end",(function(){c(),k&&k()})).each("interrupt",(function(){c(),k&&k()})).attrTween("text",(function(){var e=n.select(this),t=n.interpolateNumber(r[0].lastY,r[0].y);h._lastValue=r[0].y;var s=B(h.number.valueformat,i,r[0].lastY,r[0].y);return function(r){e.text(a+s(t(r))+o)}})):c(),l=O(a+i(r[0].y)+o,h.number.font,_,e),s}function D(){var t=T(e,{tickformat:h.delta.valueformat},h._range);t.setScale(),p.prepTicks(t);var i=function(e){return p.tickText(t,e).text},o=function(e){var t=h.delta.relative?e.relativeDelta:e.delta;return t},a=function(e,t){return 0===e||"number"!==typeof e||isNaN(e)?"-":(e>0?h.delta.increasing.symbol:h.delta.decreasing.symbol)+t(e)},s=function(e){return e.delta>=0?h.delta.increasing.color:h.delta.decreasing.color};void 0===h._deltaLastValue&&(h._deltaLastValue=o(r[0]));var l=C.select("text.delta");function d(){l.text(a(o(r[0]),i)).call(m.fill,s(r[0])).call(f.convertToTspans,e)}return l.call(u.font,h.delta.font).call(m.fill,s({delta:h._deltaLastValue})),x(E)?l.transition().duration(E.duration).ease(E.easing).tween("text",(function(){var e=n.select(this),t=o(r[0]),l=h._deltaLastValue,u=B(h.delta.valueformat,i,l,t),c=n.interpolateNumber(l,t);return h._deltaLastValue=t,function(t){e.text(a(c(t),u)),e.call(m.fill,s({delta:c(t)}))}})).each("end",(function(){d(),k&&k()})).each("interrupt",(function(){d(),k&&k()})):d(),c=O(a(o(r[0]),i),h.delta.font,_,e),l}P.enter().append("text"),P.attr("text-anchor",(function(){return _})).attr("class",(function(e){return e})).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),P.exit().remove();var I,j=h.mode+h.align;if(h._hasDelta&&(I=D(),j+=h.delta.position+h.delta.font.size+h.delta.font.family+h.delta.valueformat,j+=h.delta.increasing.symbol+h.delta.decreasing.symbol,d=c),h._hasNumber&&(L(),j+=h.number.font.size+h.number.font.family+h.number.valueformat+h.number.suffix+h.number.prefix,d=l),h._hasDelta&&h._hasNumber){var R,F,N=[(l.left+l.right)/2,(l.top+l.bottom)/2],z=[(c.left+c.right)/2,(c.top+c.bottom)/2],U=.75*h.delta.font.size;"left"===h.delta.position&&(R=M(h,"deltaPos",0,-1*(l.width*y[h.align]+c.width*(1-y[h.align])+U),j,Math.min),F=N[1]-z[1],d={width:l.width+c.width+U,height:Math.max(l.height,c.height),left:c.left+R,right:l.right,top:Math.min(l.top,c.top+F),bottom:Math.max(l.bottom,c.bottom+F)}),"right"===h.delta.position&&(R=M(h,"deltaPos",0,l.width*(1-y[h.align])+c.width*y[h.align]+U,j,Math.max),F=N[1]-z[1],d={width:l.width+c.width+U,height:Math.max(l.height,c.height),left:l.left,right:c.right+R,top:Math.min(l.top,c.top+F),bottom:Math.max(l.bottom,c.bottom+F)}),"bottom"===h.delta.position&&(R=null,F=c.height,d={width:Math.max(l.width,c.width),height:l.height+c.height,left:Math.min(l.left,c.left),right:Math.max(l.right,c.right),top:l.bottom-l.height,bottom:l.bottom+c.height}),"top"===h.delta.position&&(R=null,F=l.top,d={width:Math.max(l.width,c.width),height:l.height+c.height,left:Math.min(l.left,c.left),right:Math.max(l.right,c.right),top:l.bottom-l.height-c.height,bottom:l.bottom}),I.attr({dx:R,dy:F})}(h._hasNumber||h._hasDelta)&&C.attr("transform",(function(){var e=s.numbersScaler(d);j+=e[2];var t,r=M(h,"numbersScale",1,e[0],j,Math.min);h._scaleNumbers||(r=1),t=h._isAngular?A-r*d.bottom:A-r*(d.top+d.bottom)/2,h._numbersTop=r*d.top+t;var n=d[w];"center"===w&&(n=(d.left+d.right)/2);var i=v-r*n;return i=M(h,"numbersTranslate",0,i,j,Math.max),a(i,t)+o(r)}))}function E(e){e.each((function(e){m.stroke(n.select(this),e.line.color)})).each((function(e){m.fill(n.select(this),e.color)})).style("stroke-width",(function(e){return e.line.width}))}function k(e,t,r){return function(){var i=n.interpolate(t,r);return function(t){return e.endAngle(i(t))()}}}function T(e,t,r){var n=e._fullLayout,o=i.extendFlat({type:"linear",ticks:"outside",range:r,showline:!0},t),a={type:"linear",_id:"x"+t._id},s={letter:"x",font:n.font,noHover:!0,noTickson:!0};function l(e,t){return i.coerce(o,a,v,e,t)}return d(o,a,l,s,n),h(o,a,l,s),a}function C(e,t,r){var n=Math.min(t/e.width,r/e.height);return[n,e,t+"x"+r]}function S(e,t){var r=Math.sqrt(e.width/2*(e.width/2)+e.height*e.height),n=t/r;return[n,e,t]}function O(e,t,r,i){var o=document.createElementNS("http://www.w3.org/2000/svg","text"),a=n.select(o);return a.text(e).attr("x",0).attr("y",0).attr("text-anchor",r).attr("data-unformatted",e).call(f.convertToTspans,i).call(u.font,t),u.bBox(a.node())}function M(e,t,r,n,o,a){var s="_cache"+t;e[s]&&e[s].key===o||(e[s]={key:o,value:r});var l=i.aggNums(a,null,[e[s].value,n],2);return e[s].value=l,l}e.exports=function(e,t,r,o){var s,l=e._fullLayout;x(r)&&o&&(s=o()),i.makeTraceGroups(l._indicatorlayer,t,"trace").each((function(t){var i,o,p,d,h,v=t[0],m=v.trace,b=n.select(this),x=m._hasGauge,E=m._isAngular,k=m._isBullet,T=m.domain,O={w:l._size.w*(T.x[1]-T.x[0]),h:l._size.h*(T.y[1]-T.y[0]),l:l._size.l+l._size.w*T.x[0],r:l._size.r+l._size.w*(1-T.x[1]),t:l._size.t+l._size.h*(1-T.y[1]),b:l._size.b+l._size.h*T.y[0]},M=O.l+O.w/2,P=O.t+O.h/2,B=Math.min(O.w/2,O.h),L=c.innerRadius*B,D=m.align||"center";if(o=P,x){if(E&&(i=M,o=P+B/2,p=function(e){return S(e,.9*L)}),k){var I=c.bulletPadding,j=1-c.bulletNumberDomainSize+I;i=O.l+(j+(1-j)*y[D])*O.w,p=function(e){return C(e,(c.bulletNumberDomainSize-I)*O.w,O.h)}}}else i=O.l+y[D]*O.w,p=function(e){return C(e,O.w,O.h)};_(e,b,t,{numbersX:i,numbersY:o,numbersScaler:p,transitionOpts:r,onComplete:s}),x&&(d={range:m.gauge.axis.range,color:m.gauge.bgcolor,line:{color:m.gauge.bordercolor,width:0},thickness:1},h={range:m.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:m.gauge.bordercolor,width:m.gauge.borderwidth},thickness:1});var R=b.selectAll("g.angular").data(E?t:[]);R.exit().remove();var F=b.selectAll("g.angularaxis").data(E?t:[]);F.exit().remove(),E&&w(e,b,t,{radius:B,innerRadius:L,gauge:R,layer:F,size:O,gaugeBg:d,gaugeOutline:h,transitionOpts:r,onComplete:s});var N=b.selectAll("g.bullet").data(k?t:[]);N.exit().remove();var z=b.selectAll("g.bulletaxis").data(k?t:[]);z.exit().remove(),k&&A(e,b,t,{gauge:N,layer:z,size:O,gaugeBg:d,gaugeOutline:h,transitionOpts:r,onComplete:s});var U=b.selectAll("text.title").data(t);U.exit().remove(),U.enter().append("text").classed("title",!0),U.attr("text-anchor",(function(){return k?g.right:g[m.title.align]})).text(m.title.text).call(u.font,m.title.font).call(f.convertToTspans,e),U.attr("transform",(function(){var e,t=O.l+O.w*y[m.title.align],r=c.titlePadding,n=u.bBox(U.node());if(x){if(E)if(m.gauge.axis.visible){var i=u.bBox(F.node());e=i.top-r-n.bottom}else e=O.t+O.h/2-B/2-n.bottom-r;k&&(e=o-(n.top+n.bottom)/2,t=O.l-c.bulletPadding*O.w)}else e=m._numbersTop-r-n.bottom;return a(t,e)}))}))}},7916:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedAxisRangeValue=void 0;var i=h(r("5174")),o=r("134d"),a=r("3cb6"),s=h(r("d7bc")),l=d(r("ab5b")),u=r("4578"),c=h(r("88e7")),f=r("e419");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var S=function(e){A(r,e);var t=_(r);function r(){return y(this,r),t.apply(this,arguments)}return x(r,[{key:"render",value:function(){return this.props.fullContainer&&"date"===this.props.fullContainer.type?l.default.createElement(a.UnconnectedDateTimePicker,this.props):this.props.multiValued&&this.props.fullContainer.type===f.MULTI_VALUED?l.default.createElement(c.default,this.props):l.default.createElement(o.UnconnectedNumeric,this.props)}}]),r}(l.Component);t.UnconnectedAxisRangeValue=S,S.propTypes=m({defaultValue:s.default.any,fullValue:s.default.any,min:s.default.number,max:s.default.number,multiValued:s.default.bool,hideArrows:s.default.bool,showSlider:s.default.bool,step:s.default.number,fullContainer:s.default.object,updatePlot:s.default.func},i.default.propTypes);var O=(0,u.connectToContainer)(S);t.default=O},"792f":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("9092").extendFlat,o=r("8a6e"),a=r("fb5a");e.exports={r:o.r,theta:o.theta,r0:o.r0,dr:o.dr,theta0:o.theta0,dtheta:o.dtheta,thetaunit:o.thetaunit,base:i({},a.base,{description:["Sets where the bar base is drawn (in radial axis units).","In *stack* barmode,","traces that set *base* will be excluded","and drawn in *overlay* mode instead."].join(" ")}),offset:i({},a.offset,{description:["Shifts the angular position where the bar is drawn","(in *thetatunit* units)."].join(" ")}),width:i({},a.width,{description:["Sets the bar angular width (in *thetaunit* units)."].join(" ")}),text:i({},a.text,{description:["Sets hover text elements associated with each bar.","If a single string, the same string appears over all bars.","If an array of string, the items are mapped in order to the","this trace's coordinates."].join(" ")}),hovertext:i({},a.hovertext,{description:"Same as `text`."}),marker:a.marker,hoverinfo:o.hoverinfo,hovertemplate:n(),selected:a.selected,unselected:a.unselected}},7948:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length,i=Array(n);while(++r<n)i[r]=t(e[r],r,e);return i}e.exports=r},"794e":function(e,t,r){"use strict";var n=r("efce"),i=r("b205"),o=r("e4eb");e.exports=p;var a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(e,t,r,n){this.gl=e,this.buffer=t,this.vao=r,this.shader=n,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var l=s.prototype,u=[0,0,0],c=[0,0,0],f=[0,0];function p(e,t){var r=[];function a(e,t,n,i,o,a){var s=[e,t,n,0,0,0,1];s[i+3]=1,s[i]=o,r.push.apply(r,s),s[6]=-1,r.push.apply(r,s),s[i]=a,r.push.apply(r,s),r.push.apply(r,s),s[6]=1,r.push.apply(r,s),s[i]=o,r.push.apply(r,s)}a(0,0,0,0,0,1),a(0,0,0,1,0,1),a(0,0,0,2,0,1),a(1,0,0,1,-1,1),a(1,0,0,2,-1,1),a(0,1,0,0,-1,1),a(0,1,0,2,-1,1),a(0,0,1,0,-1,1),a(0,0,1,1,-1,1);var l=n(e,r),u=i(e,[{type:e.FLOAT,buffer:l,size:3,offset:0,stride:28},{type:e.FLOAT,buffer:l,size:3,offset:12,stride:28},{type:e.FLOAT,buffer:l,size:1,offset:24,stride:28}]),c=o(e);c.attributes.position.location=0,c.attributes.color.location=1,c.attributes.weight.location=2;var f=new s(e,l,u,c);return f.update(t),f}l.isTransparent=function(){return!1},l.drawTransparent=function(e){},l.draw=function(e){var t=this.gl,r=this.vao,n=this.shader;r.bind(),n.bind();var i,o=e.model||a,s=e.view||a,l=e.projection||a;this.axes&&(i=this.axes.lastCubeProps.axis);for(var p=u,d=c,h=0;h<3;++h)i&&i[h]<0?(p[h]=this.bounds[0][h],d[h]=this.bounds[1][h]):(p[h]=this.bounds[1][h],d[h]=this.bounds[0][h]);f[0]=t.drawingBufferWidth,f[1]=t.drawingBufferHeight,n.uniforms.model=o,n.uniforms.view=s,n.uniforms.projection=l,n.uniforms.coordinates=[this.position,p,d],n.uniforms.colors=this.colors,n.uniforms.screenShape=f;for(h=0;h<3;++h)n.uniforms.lineWidth=this.lineWidth[h]*this.pixelRatio,this.enabled[h]&&(r.draw(t.TRIANGLES,6,6*h),this.drawSides[h]&&r.draw(t.TRIANGLES,12,18+12*h));r.unbind()},l.update=function(e){e&&("bounds"in e&&(this.bounds=e.bounds),"position"in e&&(this.position=e.position),"lineWidth"in e&&(this.lineWidth=e.lineWidth),"colors"in e&&(this.colors=e.colors),"enabled"in e&&(this.enabled=e.enabled),"drawSides"in e&&(this.drawSides=e.drawSides))},l.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},79746:function(e,t,r){"use strict";var n=r("fc26"),i=r("055a").counter,o=r("81f0").attributes,a=r("d301").idRegex,s=r("a651"),l={rows:{valType:"integer",min:1,role:"info",editType:"plot",description:["The number of rows in the grid. If you provide a 2D `subplots`","array or a `yaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",role:"info",editType:"plot",description:["Is the first row the top or the bottom? Note that columns","are always enumerated from left to right."].join(" ")},columns:{valType:"integer",min:1,role:"info",editType:"plot",description:["The number of columns in the grid. If you provide a 2D `subplots`","array, the length of its longest row is used as the default.","If you give an `xaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[i("xy").toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used for freeform grids, where some axes may be shared across subplots","but others are not. Each entry should be a cartesian subplot id, like","*xy* or *x3y2*, or ** to leave that cell empty. You may reuse x axes","within the same column, and y axes within the same row.","Non-cartesian subplots and traces that support `domain` can place themselves","in this grid separately using the `gridcell` attribute."].join(" ")},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[a.x.toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an x axis id like *x*, *x2*, etc., or ** to","not put an x axis in that column. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `yaxes` is present,","will generate consecutive IDs."].join(" ")},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[a.y.toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an y axis id like *y*, *y2*, etc., or ** to","not put a y axis in that row. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `xaxes` is present,","will generate consecutive IDs."].join(" ")},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",role:"info",editType:"plot",description:["If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`,","we can generate defaults using consecutive axis IDs, in two ways:","*coupled* gives one x axis per column and one y axis per row.","*independent* uses a new xy pair for each cell, left-to-right across each row","then iterating rows according to `roworder`."].join(" ")},xgap:{valType:"number",min:0,max:1,role:"info",editType:"plot",description:["Horizontal space between grid cells, expressed as a fraction","of the total width available to one cell. Defaults to 0.1","for coupled-axes grids and 0.2 for independent grids."].join(" ")},ygap:{valType:"number",min:0,max:1,role:"info",editType:"plot",description:["Vertical space between grid cells, expressed as a fraction","of the total height available to one cell. Defaults to 0.1","for coupled-axes grids and 0.3 for independent grids."].join(" ")},domain:o({name:"grid",editType:"plot",noGridCell:!0},{description:["The first and last cells end exactly at the domain","edges, with no grout around the edges."].join(" ")}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",role:"info",editType:"plot",description:["Sets where the x axis labels and titles go. *bottom* means","the very bottom of the grid. *bottom plot* is the lowest plot","that each x axis is used in. *top* and *top plot* are similar."].join(" ")},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",role:"info",editType:"plot",description:["Sets where the y axis labels and titles go. *left* means","the very left edge of the grid. *left plot* is the leftmost plot","that each y axis is used in. *right* and *right plot* are similar."].join(" ")},editType:"plot"};function u(e,t,r){var n=t[r+"axes"],i=Object.keys((e._splomAxes||{})[r]||{});return Array.isArray(n)?n:i.length?i:void 0}function c(e,t){var r=e.grid||{},i=u(t,r,"x"),o=u(t,r,"y");if(e.grid||i||o){var a,c,p=Array.isArray(r.subplots)&&Array.isArray(r.subplots[0]),d=Array.isArray(i),h=Array.isArray(o),v=d&&i!==r.xaxes&&h&&o!==r.yaxes;p?(a=r.subplots.length,c=r.subplots[0].length):(h&&(a=o.length),d&&(c=i.length));var m=s.newContainer(t,"grid"),g=T("rows",a),y=T("columns",c);if(g*y>1){if(!p&&!d&&!h){var b="independent"===T("pattern");b&&(p=!0)}m._hasSubplotGrid=p;var x,A,w=T("roworder"),_="top to bottom"===w,E=p?.2:.1,k=p?.3:.1;v&&t._splomGridDflt&&(x=t._splomGridDflt.xside,A=t._splomGridDflt.yside),m._domains={x:f("x",T,E,x,y),y:f("y",T,k,A,g,_)}}else delete t.grid}function T(e,t){return n.coerce(r,m,l,e,t)}}function f(e,t,r,n,i,o){var a=t(e+"gap",r),s=t("domain."+e);t(e+"side",n);for(var l=new Array(i),u=s[0],c=(s[1]-u)/(i-a),f=c*(1-a),p=0;p<i;p++){var d=u+c*p;l[o?i-1-p:p]=[d,d+f]}return l}function p(e,t){var r=t.grid;if(r&&r._domains){var n,i,o,a,s,l,c,f=e.grid||{},p=t._subplots,h=r._hasSubplotGrid,v=r.rows,m=r.columns,g="independent"===r.pattern,y=r._axisMap={};if(h){var b=f.subplots||[];l=r.subplots=new Array(v);var x=1;for(n=0;n<v;n++){var A=l[n]=new Array(m),w=b[n]||[];for(i=0;i<m;i++)if(g?(s=1===x?"xy":"x"+x+"y"+x,x++):s=w[i],A[i]="",-1!==p.cartesian.indexOf(s)){if(c=s.indexOf("y"),o=s.slice(0,c),a=s.slice(c),void 0!==y[o]&&y[o]!==i||void 0!==y[a]&&y[a]!==n)continue;A[i]=s,y[o]=i,y[a]=n}}}else{var _=u(t,f,"x"),E=u(t,f,"y");r.xaxes=d(_,p.xaxis,m,y,"x"),r.yaxes=d(E,p.yaxis,v,y,"y")}var k=r._anchors={},T="top to bottom"===r.roworder;for(var C in y){var S,O,M,P=C.charAt(0),B=r[P+"side"];if(B.length<8)k[C]="free";else if("x"===P){if("t"===B.charAt(0)===T?(S=0,O=1,M=v):(S=v-1,O=-1,M=-1),h){var L=y[C];for(n=S;n!==M;n+=O)if(s=l[n][L],s&&(c=s.indexOf("y"),s.slice(0,c)===C)){k[C]=s.slice(c);break}}else for(n=S;n!==M;n+=O)if(a=r.yaxes[n],-1!==p.cartesian.indexOf(C+a)){k[C]=a;break}}else if("l"===B.charAt(0)?(S=0,O=1,M=m):(S=m-1,O=-1,M=-1),h){var D=y[C];for(n=S;n!==M;n+=O)if(s=l[D][n],s&&(c=s.indexOf("y"),s.slice(c)===C)){k[C]=s.slice(0,c);break}}else for(n=S;n!==M;n+=O)if(o=r.xaxes[n],-1!==p.cartesian.indexOf(o+C)){k[C]=o;break}}}}function d(e,t,r,n,i){var o,a=new Array(r);function s(e,r){-1!==t.indexOf(r)&&void 0===n[r]?(a[e]=r,n[r]=e):a[e]=""}if(Array.isArray(e))for(o=0;o<r;o++)s(o,e[o]);else for(s(0,i),o=1;o<r;o++)s(o,i+(o+1));return a}e.exports={moduleType:"component",name:"grid",schema:{layout:{grid:l}},layoutAttributes:l,sizeDefaults:c,contentDefaults:p}},"797e":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}))};e.exports=s},7988:function(e,t,r){"use strict";var n=r("baec"),i=r("cf42"),o=r("2ee6").isVisible;function a(e,t,r){var n=t.indexOf(r),i=e.indexOf(n);return-1===i&&(i+=t.length),i}function s(e,t){return function(r,n){return a(e,t,r)-a(e,t,n)}}e.exports=function(e,t){var r=e._fullLayout,a=i(e);if(a){var l={},u={},c={},f={},p=r._size;t.forEach((function(t,r){var n=t[0].trace;c[r]=n.index;var i=f[r]=n._fullInput.index;l[r]=e.data[i].dimensions,u[r]=e.data[i].dimensions.slice()}));var d=function(t,n,i){var o=u[t][n],a=i.map((function(e){return e.slice()})),s="dimensions["+n+"].constraintrange",l=r._tracePreGUI[e._fullData[c[t]]._fullInput.uid];if(void 0===l[s]){var p=o.constraintrange;l[s]=p||null}var d=e._fullData[c[t]].dimensions[n];a.length?(1===a.length&&(a=a[0]),o.constraintrange=a,d.constraintrange=a.slice(),a=[a]):(delete o.constraintrange,delete d.constraintrange,a=null);var h={};h[s]=a,e.emit("plotly_restyle",[h,[f[t]]])},h=function(t){e.emit("plotly_hover",t)},v=function(t){e.emit("plotly_unhover",t)},m=function(t,r){var n=s(r,u[t].filter(o));l[t].sort(n),u[t].filter((function(e){return!o(e)})).sort((function(e){return u[t].indexOf(e)})).forEach((function(e){l[t].splice(l[t].indexOf(e),1),l[t].splice(u[t].indexOf(e),0,e)})),e.emit("plotly_restyle",[{dimensions:[l[t]]},[f[t]]])};n(e,t,{width:p.w,height:p.h,margin:{t:p.t,r:p.r,b:p.b,l:p.l}},{filterChanged:d,hover:h,unhover:v,axesMoved:m})}}},"79bc":function(e,t,r){var n=r("0b07"),i=r("2b3e"),o=n(i,"Map");e.exports=o},"79d9":function(e,t,r){"use strict";e.exports=function(e){return e<0?-1:e>0?1:0}},"79e5":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedAxisInterval=void 0;var i=h(r("ab5b")),o=p(r("5174")),a=p(r("f51b")),s=p(r("d8d0")),l=p(r("d7bc")),u=r("4578"),c=r("fc26"),f=r("661c");function p(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var S=1e3,O=60*S,M=60*O*24,P=30,B=12;function L(e){return Math.round(100*e)/100}function D(e){var t={seconds:S,minutes:O,days:M},r="milliseconds";return["seconds","minutes","days"].forEach((function(n){e%t[n]===0&&("milliseconds"===r||"milliseconds"!==r&&e/t[r]>e/t[n])&&(r=n)})),r}var I=function(e){A(r,e);var t=_(r);function r(e){var n;y(this,r),n=t.call(this,e);var i=e.fullValue&&"string"===typeof e.fullValue&&"M"===e.fullValue[0]?parseInt(e.fullValue.substring(1),10)%B===0?"years":"months":D(e.fullValue);return n.state={units:i},n}return x(r,[{key:"update",value:function(e){var t=e<0?0:e,r=t%1===0;"years"===this.state.units&&(t=r?"M"+t*B:t*B*P*M),"months"===this.state.units&&(t=r?"M"+t:t*P*M),"days"===this.state.units&&(t*=M),"minutes"===this.state.units&&(t*=O),"seconds"===this.state.units&&(t*=S),this.props.updatePlot(t)}},{key:"onUnitChange",value:function(e){var t="string"===typeof this.props.fullValue&&"M"===this.props.fullValue[0],r=t?parseInt(this.props.fullValue.substring(1),10)*P*M:this.props.fullValue;if(this.setState({units:e}),["years","months"].includes(e)){var n=r/M/P;n%1===0?this.props.updatePlot("M"+n):this.props.updatePlot(r)}else this.props.updatePlot(r)}},{key:"getDisplayValue",value:function(e){var t="string"===typeof e&&"M"===e[0]?parseInt(e.substring(1),10):e;return"years"===this.state.units?L("string"===typeof e?t/B:t/M/P/B):"months"===this.state.units?L("string"===typeof e?t:t/M/P):"days"===this.state.units?L(t/M):"minutes"===this.state.units?L(t/O):"seconds"===this.state.units?L(t/S):"milliseconds"===this.state.units?t:null}},{key:"render",value:function(){var e=this,t=this.context.localize,r=this.props.attr.split(".")[0],n=this.props.fullContainer[r].start,l="string"===typeof n&&((0,c.isDateTime)(n)||(0,f.isJSDate)(n)),u=this.props.fullContainer.tick0&&(this.props.fullContainer.tick0||this.props.fullContainer.colorbar.tick0),p=u&&((0,c.isDateTime)(u)||(0,f.isJSDate)(u));return l||p?i.default.createElement(o.default,this.props,i.default.createElement(a.default,{options:[{value:"years",label:t("Years")},{value:"months",label:t("Months")},{value:"days",label:t("Days")},{value:"minutes",label:t("Minutes")},{value:"seconds",label:t("Seconds")},{value:"milliseconds",label:t("Milliseconds")}],clearable:!1,onChange:function(t){return e.onUnitChange(t)},value:this.state.units}),i.default.createElement("div",{style:{width:"100%",display:"block"}}," "),i.default.createElement(s.default,{value:this.getDisplayValue(this.props.fullValue),onUpdate:function(t){return e.update(t)},editableClassName:"AxisInterval-milliseconds"})):i.default.createElement(o.default,this.props,i.default.createElement(s.default,{value:this.props.fullValue,onUpdate:function(t){return e.props.updatePlot(t)}}))}}]),r}(i.Component);t.UnconnectedAxisInterval=I,I.contextTypes={localize:l.default.func},I.propTypes=m({fullValue:l.default.oneOfType([l.default.number,l.default.string]),updatePlot:l.default.func,attr:l.default.string,fullContainer:l.default.object},o.default.propTypes);var j=(0,u.connectToContainer)(I);t.default=j},"79f1":function(e,t,r){"use strict";t.isGrouped=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},t.isVertical=function(e){return"h"!==e.orientation},t.isReversed=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}},"7a0e":function(e,t){function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}e.exports=r},"7a189":function(e){e.exports=JSON.parse('["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]')},"7a48":function(e,t,r){var n=r("6044"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}e.exports=a},"7a4a":function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray;function i(e,t){if(!n(e)||t>=10)return null;for(var r=1/0,o=-1/0,a=e.length,s=0;s<a;s++){var l=e[s];if(n(l)){var u=i(l,t+1);u&&(r=Math.min(u[0],r),o=Math.max(u[1],o))}else r=Math.min(l,r),o=Math.max(l,o)}return[r,o]}e.exports=function(e){return i(e,0)}},"7a52":function(e,t,r){"use strict";var n=r("fc26"),i=r("1a40"),o=n.deg2rad,a=n.rad2deg;function s(e,t){var r=t._subplot;e.setGeometry=function(){var t=e._rl[0],n=e._rl[1],i=r.innerRadius,o=(r.radius-i)/(n-t),a=i/o,s=t>n?function(e){return e<=0}:function(e){return e>=0};e.c2g=function(r){var n=e.c2l(r)-t;return(s(n)?n:0)+a},e.g2c=function(r){return e.l2c(r+t-a)},e.g2p=function(e){return e*o},e.c2p=function(t){return e.g2p(e.c2g(t))}}}function l(e,t){return"degrees"===t?o(e):e}function u(e,t){return"degrees"===t?a(e):e}function c(e,t){var r=e.type;if("linear"===r){var i=e.d2c,s=e.c2d;e.d2c=function(e,t){return l(i(e),t)},e.c2d=function(e,t){return s(u(e,t))}}e.makeCalcdata=function(t,i){var o,a,s=t[i],l=t._length,u=function(r){return e.d2c(r,t.thetaunit)};if(s){if(n.isTypedArray(s)&&"linear"===r){if(l===s.length)return s;if(s.subarray)return s.subarray(0,l)}for(o=new Array(l),a=0;a<l;a++)o[a]=u(s[a])}else{var c=i+"0",f="d"+i,p=c in t?u(t[c]):0,d=t[f]?u(t[f]):(e.period||2*Math.PI)/l;for(o=new Array(l),a=0;a<l;a++)o[a]=p+a*d}return o},e.setGeometry=function(){var i,s,l,u,c=t.sector,f=c.map(o),p={clockwise:-1,counterclockwise:1}[e.direction],d=o(e.rotation),h=function(e){return p*e+d},v=function(e){return(e-d)/p};switch(r){case"linear":s=i=n.identity,u=o,l=a,e.range=n.isFullCircle(f)?[c[0],c[0]+360]:f.map(v).map(a);break;case"category":var m=e._categories.length,g=e.period?Math.max(e.period,m):m;0===g&&(g=1),s=u=function(e){return 2*e*Math.PI/g},i=l=function(e){return e*g/Math.PI/2},e.range=[0,g];break}e.c2g=function(e){return h(s(e))},e.g2c=function(e){return i(v(e))},e.t2g=function(e){return h(u(e))},e.g2t=function(e){return l(v(e))}}}e.exports=function(e,t,r){switch(i(e,r),e._id){case"x":case"radialaxis":s(e,t);break;case"angularaxis":c(e,t);break}}},"7a5f":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"indicator",basePlotModule:r("643c"),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:r("1c82"),supplyDefaults:r("18bb").supplyDefaults,calc:r("5ad1").calc,plot:r("78ee"),meta:{description:["An indicator is used to visualize a single `value` along with some","contextual information such as `steps` or a `threshold`, using a","combination of three visual elements: a number, a delta, and/or a gauge.","Deltas are taken with respect to a `reference`.","Gauges can be either angular or bullet (aka linear) gauges."].join(" ")}}},"7a71":function(e,t,r){"use strict";function n(e,t){t||(t={}),("string"===typeof e||Array.isArray(e))&&(t.family=e);var r=Array.isArray(t.family)?t.family.join(", "):t.family;if(!r)throw Error("`family` must be defined");var s=t.size||t.fontSize||t.em||48,l=t.weight||t.fontWeight||"",u=t.style||t.fontStyle||"",c=(e=[u,l,s].join(" ")+"px "+r,t.origin||"top");if(n.cache[r]&&s<=n.cache[r].em)return i(n.cache[r],c);var f=t.canvas||n.canvas,p=f.getContext("2d"),d={upper:void 0!==t.upper?t.upper:"H",lower:void 0!==t.lower?t.lower:"x",descent:void 0!==t.descent?t.descent:"p",ascent:void 0!==t.ascent?t.ascent:"h",tittle:void 0!==t.tittle?t.tittle:"i",overshoot:void 0!==t.overshoot?t.overshoot:"O"},h=Math.ceil(1.5*s);f.height=h,f.width=.5*h,p.font=e;var v="H",m={top:0};p.clearRect(0,0,h,h),p.textBaseline="top",p.fillStyle="black",p.fillText(v,0,0);var g=o(p.getImageData(0,0,h,h));p.clearRect(0,0,h,h),p.textBaseline="bottom",p.fillText(v,0,h);var y=o(p.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+g,p.clearRect(0,0,h,h),p.textBaseline="alphabetic",p.fillText(v,0,h);var b=o(p.getImageData(0,0,h,h)),x=h-b-1+g;m.baseline=m.alphabetic=x,p.clearRect(0,0,h,h),p.textBaseline="middle",p.fillText(v,0,.5*h);var A=o(p.getImageData(0,0,h,h));m.median=m.middle=h-A-1+g-.5*h,p.clearRect(0,0,h,h),p.textBaseline="hanging",p.fillText(v,0,.5*h);var w=o(p.getImageData(0,0,h,h));m.hanging=h-w-1+g-.5*h,p.clearRect(0,0,h,h),p.textBaseline="ideographic",p.fillText(v,0,h);var _=o(p.getImageData(0,0,h,h));if(m.ideographic=h-_-1+g,d.upper&&(p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.upper,0,0),m.upper=o(p.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),d.lower&&(p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.lower,0,0),m.lower=o(p.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),d.tittle&&(p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.tittle,0,0),m.tittle=o(p.getImageData(0,0,h,h))),d.ascent&&(p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.ascent,0,0),m.ascent=o(p.getImageData(0,0,h,h))),d.descent&&(p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.descent,0,0),m.descent=a(p.getImageData(0,0,h,h))),d.overshoot){p.clearRect(0,0,h,h),p.textBaseline="top",p.fillText(d.overshoot,0,0);var E=a(p.getImageData(0,0,h,h));m.overshoot=E-x}for(var k in m)m[k]/=s;return m.em=s,n.cache[r]=m,i(m,c)}function i(e,t){var r={};for(var n in"string"===typeof t&&(t=e[t]),e)"em"!==n&&(r[n]=e[n]-t);return r}function o(e){for(var t=e.height,r=e.data,n=3;n<r.length;n+=4)if(0!==r[n])return Math.floor(.25*(n-3)/t)}function a(e){for(var t=e.height,r=e.data,n=r.length-1;n>0;n-=4)if(0!==r[n])return Math.floor(.25*(n-3)/t)}e.exports=n,n.canvas=document.createElement("canvas"),n.cache={}},"7a7d":function(e,t,r){"use strict";e.exports={attributes:r("8bd8"),supplyDefaults:r("f552"),colorbar:r("fcb3"),calc:r("d0ad"),calcGeoJSON:r("538c").calcGeoJSON,plot:r("538c").plot,style:r("e7ab").style,styleOnSelect:r("e7ab").styleOnSelect,hoverPoints:r("038d"),eventData:r("a9eb"),selectPoints:r("ef6e"),moduleType:"trace",name:"choropleth",basePlotModule:r("9e9a"),categories:["geo","noOpacity","showLegend"],meta:{description:["The data that describes the choropleth value-to-color mapping","is set in `z`.","The geographic locations corresponding to each value in `z`","are set in `locations`."].join(" ")}}},"7a91":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifiersUtils=t.LocaleUtils=t.DateUtils=t.DayPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=O(o),s=r("d7bc"),l=O(s),u=r("7ca3"),c=O(u),f=r("25d0"),p=O(f),d=r("88dd"),h=O(d),v=r("615b"),m=O(v),g=r("db0b"),y=S(g),b=r("4ea5"),x=S(b),A=r("a6a7"),w=S(A),_=r("70d2"),E=S(_),k=r("d973"),T=O(k),C=r("242f");function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}function M(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function L(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var D=t.DayPicker=function(e){function t(e){P(this,t);var r=B(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.dayPicker=null,r.showNextMonth=function(e){if(r.allowNextMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=x.addMonths(r.state.currentMonth,t);r.showMonth(n,e)}},r.showPreviousMonth=function(e){if(r.allowPreviousMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=x.addMonths(r.state.currentMonth,-t);r.showMonth(n,e)}},r.handleKeyDown=function(e){switch(e.persist(),e.keyCode){case C.LEFT:"rtl"===r.props.dir?r.showNextMonth():r.showPreviousMonth(),y.cancelEvent(e);break;case C.RIGHT:"rtl"===r.props.dir?r.showPreviousMonth():r.showNextMonth(),y.cancelEvent(e);break;case C.UP:r.showPreviousYear(),y.cancelEvent(e);break;case C.DOWN:r.showNextYear(),y.cancelEvent(e);break;default:break}r.props.onKeyDown&&r.props.onKeyDown(e)},r.handleDayKeyDown=function(e,t,n){switch(n.persist(),n.keyCode){case C.LEFT:y.cancelEvent(n),"rtl"===r.props.dir?r.focusNextDay(n.target):r.focusPreviousDay(n.target);break;case C.RIGHT:y.cancelEvent(n),"rtl"===r.props.dir?r.focusPreviousDay(n.target):r.focusNextDay(n.target);break;case C.UP:y.cancelEvent(n),r.focusPreviousWeek(n.target);break;case C.DOWN:y.cancelEvent(n),r.focusNextWeek(n.target);break;case C.ENTER:case C.SPACE:y.cancelEvent(n),r.props.onDayClick&&r.handleDayClick(e,t,n);break;default:break}r.props.onDayKeyDown&&r.props.onDayKeyDown(e,t,n)},r.handleDayClick=function(e,t,n){n.persist(),t[r.props.classNames.outside]&&r.props.enableOutsideDaysClick&&r.handleOutsideDayClick(e),r.props.onDayClick&&r.props.onDayClick(e,t,n)},r.handleTodayButtonClick=function(e){var t=new Date,n=new Date(t.getFullYear(),t.getMonth());r.showMonth(n),e.target.blur(),r.props.onTodayButtonClick&&(e.persist(),r.props.onTodayButtonClick(new Date(t.getFullYear(),t.getMonth(),t.getDate()),E.getModifiersForDay(t,r.props.modifiers),e))};var n=r.getCurrentMonthFromProps(e);return r.state={currentMonth:n},r}return L(t,e),i(t,[{key:"componentDidUpdate",value:function(e){if(e.month!==this.props.month&&!x.isSameMonth(e.month,this.props.month)){var t=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:t})}}},{key:"getCurrentMonthFromProps",value:function(e){var t=y.startOfMonth(e.month||e.initialMonth||new Date),r=t;if(e.pagedNavigation&&e.numberOfMonths>1&&e.fromMonth){var n=y.startOfMonth(e.fromMonth),i=y.getMonthsDiff(n,r);r=x.addMonths(n,Math.floor(i/e.numberOfMonths)*e.numberOfMonths)}else e.toMonth&&e.numberOfMonths>1&&y.getMonthsDiff(r,e.toMonth)<=0&&(r=x.addMonths(y.startOfMonth(e.toMonth),1-this.props.numberOfMonths));return r}},{key:"getNextNavigableMonth",value:function(){return x.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return x.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var e=x.addMonths(this.state.currentMonth,-1);return this.allowMonth(e)}},{key:"allowNextMonth",value:function(){var e=x.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(e)}},{key:"allowMonth",value:function(e){var t=this.props,r=t.fromMonth,n=t.toMonth,i=t.canChangeMonth;return!(!i||r&&y.getMonthsDiff(r,e)<0||n&&y.getMonthsDiff(n,e)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(e,t){var r=this;this.allowMonth(e)&&this.setState({currentMonth:y.startOfMonth(e)},(function(){t&&t(),r.props.onMonthChange&&r.props.onMonthChange(r.state.currentMonth)}))}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var e=x.addMonths(this.state.currentMonth,12);this.showMonth(e)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var e=x.addMonths(this.state.currentMonth,-12);this.showMonth(e)}}},{key:"focus",value:function(){this.wrapper.focus()}},{key:"focusFirstDayOfMonth",value:function(){y.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var e=y.getDayNodes(this.dayPicker,this.props.classNames);e[e.length-1].focus()}},{key:"focusPreviousDay",value:function(e){var t=this,r=y.getDayNodes(this.dayPicker,this.props.classNames),n=y.nodeListToArray(r).indexOf(e);-1!==n&&(0===n?this.showPreviousMonth((function(){return t.focusLastDayOfMonth()})):r[n-1].focus())}},{key:"focusNextDay",value:function(e){var t=this,r=y.getDayNodes(this.dayPicker,this.props.classNames),n=y.nodeListToArray(r).indexOf(e);-1!==n&&(n===r.length-1?this.showNextMonth((function(){return t.focusFirstDayOfMonth()})):r[n+1].focus())}},{key:"focusNextWeek",value:function(e){var t=this,r=y.getDayNodes(this.dayPicker,this.props.classNames),n=y.nodeListToArray(r).indexOf(e),i=n>r.length-8;i?this.showNextMonth((function(){var e=r.length-n,i=7-e;y.getDayNodes(t.dayPicker,t.props.classNames)[i].focus()})):r[n+7].focus()}},{key:"focusPreviousWeek",value:function(e){var t=this,r=y.getDayNodes(this.dayPicker,this.props.classNames),n=y.nodeListToArray(r).indexOf(e),i=n<=6;i?this.showPreviousMonth((function(){var e=y.getDayNodes(t.dayPicker,t.props.classNames),r=e.length-7,i=r+n;e[i].focus()})):r[n-7].focus()}},{key:"handleOutsideDayClick",value:function(e){var t=this.state.currentMonth,r=this.props.numberOfMonths,n=y.getMonthsDiff(t,e);n>0&&n>=r?this.showNextMonth():n<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var e=this.props,t=e.labels,r=e.locale,n=e.localeUtils,i=e.canChangeMonth,o=e.navbarElement,s=M(e,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!i)return null;var l={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:s.dir,labels:t,locale:r,localeUtils:n};return a.default.isValidElement(o)?a.default.cloneElement(o,l):a.default.createElement(o,l)}},{key:"renderMonths",value:function(){for(var e=[],t=y.getFirstDayOfWeekFromProps(this.props),r=0;r<this.props.numberOfMonths;r+=1){var i=x.addMonths(this.state.currentMonth,r);e.push(a.default.createElement(h.default,n({key:r},this.props,{month:i,firstDayOfWeek:t,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&e.reverse(),e}},{key:"renderFooter",value:function(){return this.props.todayButton?a.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return a.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var e=this,t=this.props.classNames.container;return this.props.onDayClick||(t=t+" "+this.props.classNames.interactionDisabled),this.props.className&&(t=t+" "+this.props.className),a.default.createElement("div",n({},this.props.containerProps,{className:t,ref:function(t){return e.dayPicker=t},lang:this.props.locale}),a.default.createElement("div",{className:this.props.classNames.wrapper,ref:function(t){return e.wrapper=t},tabIndex:this.props.canChangeMonth&&"undefined"!==typeof this.props.tabIndex?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),a.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}(o.Component);D.propTypes={initialMonth:l.default.instanceOf(Date),month:l.default.instanceOf(Date),numberOfMonths:l.default.number,fromMonth:l.default.instanceOf(Date),toMonth:l.default.instanceOf(Date),canChangeMonth:l.default.bool,reverseMonths:l.default.bool,pagedNavigation:l.default.bool,todayButton:l.default.string,showWeekNumbers:l.default.bool,showWeekDays:l.default.bool,selectedDays:l.default.oneOfType([l.default.object,l.default.func,l.default.array]),disabledDays:l.default.oneOfType([l.default.object,l.default.func,l.default.array]),modifiers:l.default.object,modifiersStyles:l.default.object,dir:l.default.string,firstDayOfWeek:l.default.oneOf([0,1,2,3,4,5,6]),labels:l.default.shape({nextMonth:l.default.string.isRequired,previousMonth:l.default.string.isRequired}),locale:l.default.string,localeUtils:l.default.shape({formatMonthTitle:l.default.func,formatWeekdayShort:l.default.func,formatWeekdayLong:l.default.func,getFirstDayOfWeek:l.default.func}),months:l.default.arrayOf(l.default.string),weekdaysLong:l.default.arrayOf(l.default.string),weekdaysShort:l.default.arrayOf(l.default.string),showOutsideDays:l.default.bool,enableOutsideDaysClick:l.default.bool,fixedWeeks:l.default.bool,classNames:l.default.shape({body:l.default.string,container:l.default.string,day:l.default.string.isRequired,disabled:l.default.string.isRequired,footer:l.default.string,interactionDisabled:l.default.string,months:l.default.string,month:l.default.string,navBar:l.default.string,outside:l.default.string.isRequired,selected:l.default.string.isRequired,today:l.default.string.isRequired,todayButton:l.default.string,week:l.default.string,wrapper:l.default.string}),className:l.default.string,containerProps:l.default.object,tabIndex:l.default.number,renderDay:l.default.func,renderWeek:l.default.func,weekdayElement:l.default.oneOfType([l.default.element,l.default.func,l.default.instanceOf(o.Component)]),navbarElement:l.default.oneOfType([l.default.element,l.default.func,l.default.instanceOf(o.Component)]),captionElement:l.default.oneOfType([l.default.element,l.default.func,l.default.instanceOf(o.Component)]),onBlur:l.default.func,onFocus:l.default.func,onKeyDown:l.default.func,onDayClick:l.default.func,onDayKeyDown:l.default.func,onDayMouseEnter:l.default.func,onDayMouseLeave:l.default.func,onDayMouseDown:l.default.func,onDayMouseUp:l.default.func,onDayTouchStart:l.default.func,onDayTouchEnd:l.default.func,onDayFocus:l.default.func,onMonthChange:l.default.func,onCaptionClick:l.default.func,onWeekClick:l.default.func,onTodayButtonClick:l.default.func},D.defaultProps={classNames:T.default,tabIndex:0,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:w,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(e){return e.getDate()},renderWeek:function(e){return e},weekdayElement:a.default.createElement(m.default,null),navbarElement:a.default.createElement(p.default,{classNames:T.default}),captionElement:a.default.createElement(c.default,{classNames:T.default})},D.VERSION="7.4.8",D.DateUtils=x,D.LocaleUtils=w,D.ModifiersUtils=E,t.DateUtils=x,t.LocaleUtils=w,t.ModifiersUtils=E,t.default=D},"7abc":function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);return 355===this.daysInYear(t.year())},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(e){for(var t=0,r=1;r<=12;r++)t+=this.daysInMonth(e,r);return t},daysInMonth:function(e,t){for(var r=this._validate(e,t,this.minDay,n.local.invalidMonth),i=r.toJD()-24e5+.5,o=0,s=0;s<a.length;s++){if(a[s]>i)return a[o]-a[o-1];o++}return 30},weekDay:function(e,t,r){return 5!==this.dayOfWeek(e,t,r)},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate),o=12*(i.year()-1)+i.month()-15292,s=i.day()+a[o-1]-1;return s+24e5-.5},fromJD:function(e){for(var t=e-24e5+.5,r=0,n=0;n<a.length;n++){if(a[n]>t)break;r++}var i=r+15292,o=Math.floor((i-1)/12),s=o+1,l=i-12*o,u=t-a[r-1]+1;return this.newDate(s,l,u)},isValid:function(e,t,r){var i=n.baseCalendar.prototype.isValid.apply(this,arguments);return i&&(e=null!=e.year?e.year:e,i=e>=1276&&e<=1500),i},_validate:function(e,t,r,i){var o=n.baseCalendar.prototype._validate.apply(this,arguments);if(o.year<1276||o.year>1500)throw i.replace(/\{0\}/,this.local.name);return o}}),n.calendars.ummalqura=o;var a=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},"7ad0":function(e,t){function r(e,t,r,n,i){var o=1/Math.tan(t/2),a=1/(n-i);return e[0]=o/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(i+n)*a,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*i*n*a,e[15]=0,e}e.exports=r},"7ae4":function(e,t){function r(e,t,r,n){var i=t[0],o=t[1],a=t[2],s=t[3];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=a+n*(r[2]-a),e[3]=s+n*(r[3]-s),e}e.exports=r},"7af6":function(e,t,r){"use strict";var n="[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]";e.exports={getPunctuation:function(){return n}}},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7b1c":function(e,t,r){"use strict";e.exports=function(e,t,r){Array.isArray(r)||(r=[].slice.call(arguments,2));for(var n=0,i=r.length;n<i;n++){var o=r[n];for(var a in o)if((void 0===t[a]||Array.isArray(t[a])||e[a]!==t[a])&&a in t){var s;if(!0===o[a])s=t[a];else{if(!1===o[a])continue;if("function"===typeof o[a]&&(s=o[a](t[a],e,t),void 0===s))continue}e[a]=s}}return e}},"7b49":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(r("ab5b")),o=a(r("d7bc"));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function f(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&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=m();return function(){var r,n=g(e);if(t){var i=g(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var y=function(e){f(r,e);var t=d(r);function r(e){var n;return l(this,r),n=t.call(this,e),n.state={component:null,componentProps:{},open:!1,isAnimatingOut:!1},n}return c(r,[{key:"componentDidUpdate",value:function(){var e=document.body,t=this.state.open,r=e.classList.contains("no-scroll");t&&!r&&e.classList.add("no-scroll"),!t&&r&&e.classList.remove("no-scroll")}},{key:"openModal",value:function(e,t){var r=this.context.localize;if(!e)throw Error(r("You need to provide a component for the modal to open!"));var n=this.state.open;n||this.setState({component:e,componentProps:t,open:!0})}},{key:"closeModal",value:function(){var e=this.state.open;e&&this.setState({open:!1,component:null})}},{key:"handleClose",value:function(){var e=this;this.setState({isAnimatingOut:!0});var t=600;setTimeout((function(){e.setState({isAnimatingOut:!1}),e.closeModal()}),t)}},{key:"getChildContext",value:function(){var e=this;return{openModal:function(t,r){return e.openModal(t,r)},closeModal:function(){return e.closeModal()},handleClose:function(){return e.handleClose()},isAnimatingOut:this.state.isAnimatingOut}}},{key:"render",value:function(){var e=this.state,t=e.component,r=e.componentProps,n=e.isAnimatingOut;return i.default.createElement(i.default.Fragment,null,this.props.children,this.state.open?i.default.createElement(t,s({isAnimatingOut:n},r)):null)}}]),r}(i.default.Component);y.propTypes={children:o.default.node},y.contextTypes={localize:o.default.func},y.childContextTypes={openModal:o.default.func,closeModal:o.default.func,handleClose:o.default.func,isAnimatingOut:o.default.bool};var b=y;t.default=b},"7b6c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"currentColor",d:"M855.254 790.532l-37.135-16.591c-.04-.019-.081-.03-.121-.046-.055-.021-.107-.043-.162-.061-.057-.018-.113-.031-.17-.045a3.018 3.018 0 0 0-.158-.038 2.195 2.195 0 0 0-.179-.024c-.052-.007-.104-.014-.157-.018-.061-.004-.121-.003-.181-.003-.053.001-.104 0-.157.003-.061.004-.119.012-.18.02-.053.007-.104.012-.156.021-.059.012-.117.027-.177.042-.052.013-.103.025-.153.041-.058.019-.113.041-.17.063-.039.016-.078.026-.117.044l-37.135 16.591a2.743 2.743 0 0 0-1.624 2.505v42.066c0 1.063.613 2.029 1.573 2.481l37.135 17.506a3.225 3.225 0 0 0 .544.19l.049.012a2.616 2.616 0 0 0 .32.049c.083.008.166.013.25.014h.016a2.968 2.968 0 0 0 .568-.063c.018-.003.034-.009.052-.013.072-.017.145-.037.216-.061.02-.006.04-.012.06-.02.084-.029.166-.063.246-.1l.02-.008 37.135-17.506a2.74 2.74 0 0 0 1.573-2.481v-42.066a2.747 2.747 0 0 0-1.625-2.504zm-3.863 40.299l-13.438-6.225c-2.421.948-4.859 1.151-6.923 1.151a36.83 36.83 0 0 1-1.673-.041 5.964 5.964 0 0 0-1.711.163l19.984 9.257-30.63 14.44-30.631-14.439 10.344-4.791a6.421 6.421 0 0 1-1.898-2.356 6.434 6.434 0 0 1-.598-2.535l-11.607 5.377v-36.015l31.647-14.14v15.256l.118.003c2.863 0 4.104-.491 5.369-3.279v-11.979l31.646 14.14v36.013z"}),o.default.createElement("path",{fill:"currentColor",d:"M792.381 818.253a2.47 2.47 0 0 1-1.054-4.702c.047-.022 4.723-2.294 9.344-8.231.714-1.17 4.561-6.783 12.392-6.417 4.753.222 7.546-.564 9.62-5.472a2.467 2.467 0 0 1 3.235-1.313 2.47 2.47 0 0 1 1.313 3.235c-3.335 7.889-8.891 8.738-14.399 8.482-5.511-.258-7.93 4.023-7.954 4.066-.061.11-.131.217-.207.318-5.436 7.04-11.014 9.692-11.248 9.802a2.446 2.446 0 0 1-1.042.232zM800.68 827.728a2.468 2.468 0 0 1-1.052-4.703c.092-.044 4.744-2.321 9.343-8.232.715-1.168 4.567-6.781 12.392-6.415 4.754.222 7.547-.565 9.621-5.473a2.469 2.469 0 0 1 4.547 1.921c-3.334 7.891-8.891 8.741-14.397 8.483-5.509-.253-7.931 4.022-7.954 4.066a2.562 2.562 0 0 1-.209.318c-5.434 7.04-11.013 9.693-11.247 9.802a2.483 2.483 0 0 1-1.044.233zM809.045 837.138a2.469 2.469 0 0 1-1.053-4.701c.067-.033 4.731-2.308 9.343-8.234.715-1.168 4.564-6.784 12.393-6.416 4.753.223 7.545-.564 9.62-5.471a2.466 2.466 0 0 1 3.235-1.313 2.467 2.467 0 0 1 1.313 3.233c-3.334 7.891-8.891 8.741-14.398 8.484-5.51-.254-7.931 4.022-7.954 4.066a2.79 2.79 0 0 1-.208.317c-5.434 7.041-11.013 9.694-11.247 9.804-.34.156-.694.231-1.044.231z"}),o.default.createElement("path",{fill:"currentColor",d:"M1066.344 423.203l-376.77-168.33c-.406-.188-.822-.308-1.229-.466-.555-.208-1.09-.437-1.645-.615a27.59 27.59 0 0 0-1.725-.456 31.707 31.707 0 0 0-1.605-.387 27.974 27.974 0 0 0-1.813-.247c-.525-.07-1.06-.139-1.594-.179-.615-.04-1.229-.03-1.834-.03-.534.01-1.061 0-1.595.03-.615.04-1.209.119-1.822.198-.536.07-1.062.119-1.587.219-.594.119-1.188.277-1.794.425a28.1 28.1 0 0 0-1.556.417c-.584.188-1.148.416-1.724.644-.396.159-.792.268-1.188.446l-376.77 168.33a27.832 27.832 0 0 0-16.478 25.415v426.806a27.833 27.833 0 0 0 15.961 25.178l376.771 177.615c.06.029.12.047.179.068.832.385 1.665.723 2.536 1.029.189.07.387.129.574.189.735.238 1.467.447 2.221.625.158.039.337.09.494.119.834.178 1.676.316 2.518.414a30.561 30.561 0 0 0 3.269.219h.168a30.488 30.488 0 0 0 3.27-.219 29.164 29.164 0 0 0 2.498-.414c.178-.029.346-.09.523-.129a24.45 24.45 0 0 0 2.191-.615c.197-.061.406-.119.604-.197a28.35 28.35 0 0 0 2.498-1.012c.068-.031.139-.049.197-.078l376.77-177.615a27.816 27.816 0 0 0 15.962-25.178V448.618a27.83 27.83 0 0 0-16.475-25.415zm-39.198 408.873L890.811 768.92c-24.563 9.621-49.303 11.682-70.24 11.682-5.359 0-10.928-.139-16.973-.416a64.196 64.196 0 0 0-3.348-.08c-5.143 0-9.711.734-14.012 1.734l202.764 93.922-310.783 146.502-310.781-146.502 104.948-48.611c-8.075-6.281-14.803-14.326-19.261-23.908a65.195 65.195 0 0 1-6.065-25.721l-117.77 54.555V466.671L650.387 323.21v154.787c.388 0 .813.029 1.199.029 29.051 0 41.644-4.984 54.476-33.271V323.209l321.084 143.461v365.406z"}),o.default.createElement("path",{fill:"currentColor",d:"M428.433 704.459c-9.443 0-18.468-5.352-22.729-14.457-5.827-12.514-.437-27.376 12.028-33.252.476-.228 47.916-23.274 94.801-83.516 7.245-11.87 46.272-68.822 125.728-65.106 48.222 2.249 76.562-5.728 97.605-55.516 5.381-12.743 20.074-18.717 32.828-13.327 12.73 5.39 18.695 20.084 13.324 32.826-33.836 80.039-90.205 88.659-146.096 86.063-55.913-2.615-80.455 40.822-80.704 41.258a26.872 26.872 0 0 1-2.101 3.229C497.969 674.089 441.372 701 438.995 702.109a24.848 24.848 0 0 1-10.562 2.35zM512.633 800.586c-9.434 0-18.47-5.359-22.711-14.475-5.825-12.516-.445-27.365 12.03-33.242.931-.447 48.134-23.551 94.792-83.526 7.253-11.851 46.341-68.803 125.725-65.087 48.232 2.249 76.572-5.737 97.617-55.526 5.379-12.732 20.074-18.697 32.816-13.327 12.742 5.39 18.705 20.084 13.316 32.816-33.826 80.059-90.205 88.688-146.076 86.072-55.894-2.566-80.466 40.811-80.704 41.258a25.655 25.655 0 0 1-2.12 3.23c-55.13 71.428-111.736 98.348-114.114 99.447a24.915 24.915 0 0 1-10.571 2.36zM597.506 896.063c-9.433 0-18.468-5.35-22.73-14.455-5.825-12.516-.436-27.377 12.039-33.242.685-.338 48.005-23.414 94.792-83.547 7.252-11.852 46.311-68.832 125.736-65.098 48.223 2.26 76.551-5.727 97.605-55.505 5.391-12.761 20.074-18.716 32.824-13.325 12.744 5.38 18.709 20.083 13.318 32.806-33.828 80.058-90.205 88.689-146.086 86.083-55.902-2.576-80.465 40.811-80.703 41.256a27.541 27.541 0 0 1-2.111 3.221c-55.129 71.438-111.735 98.357-114.113 99.469a25.118 25.118 0 0 1-10.571 2.337z"}))};t.default=u},"7b83":function(e,t,r){var n=r("7c64"),i=r("93ed"),o=r("2478"),a=r("a524"),s=r("1fc8");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"7b97":function(e,t,r){var n=r("7e64"),i=r("a2be"),o=r("1c3c"),a=r("b1e5"),s=r("42a2"),l=r("6747"),u=r("0d24"),c=r("73ac"),f=1,p="[object Arguments]",d="[object Array]",h="[object Object]",v=Object.prototype,m=v.hasOwnProperty;function g(e,t,r,v,g,y){var b=l(e),x=l(t),A=b?d:s(e),w=x?d:s(t);A=A==p?h:A,w=w==p?h:w;var _=A==h,E=w==h,k=A==w;if(k&&u(e)){if(!u(t))return!1;b=!0,_=!1}if(k&&!_)return y||(y=new n),b||c(e)?i(e,t,r,v,g,y):o(e,t,A,r,v,g,y);if(!(r&f)){var T=_&&m.call(e,"__wrapped__"),C=E&&m.call(t,"__wrapped__");if(T||C){var S=T?e.value():e,O=C?t.value():t;return y||(y=new n),g(S,O,r,v,y)}}return!!k&&(y||(y=new n),a(e,t,r,v,g,y))}e.exports=g},"7ba3":function(e,t,r){"use strict";e.exports={sunburstcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default sunburst slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendsunburstcolors`."].join(" ")},extendsunburstcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},"7bb1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32 16h-5.313v-5.313h-5.375V5.312H10.687v5.375H-.001V16h5.313v5.313h5.375v5.375h10.625v-5.375H32z"}))};t.default=u},"7bb3":function(e,t){function r(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}e.exports=r},"7bb3f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M4 0H0v4h1V1h3V0zm11 0h-3v1h3v3h1V0h-1zM1 15v-3H0v4h4v-1H1zm14-3v3h-3v1h4v-4h-1zm-2-3l-.008-.003L11.5 10.5 9 8l2.5-2.5L12.971 7H13V3H9v.03l1.5 1.47L8 7 5.5 4.5 7 3.03V3H3v4l1.5-1.5L7 8l-2.5 2.5L3 9v4h4l-1.5-1.5L8 9l2.5 2.5L9 13h4V9z"}))};t.default=u},"7bbc":function(e,t,r){"use strict";e.exports=o;var n=r("2357"),i=r("8662");function o(e,t){return n(t).filter((function(r){for(var n=new Array(r.length),o=0;o<r.length;++o)n[o]=t[r[o]];return i(n)*e<1}))}},"7bdf":function(e,t,r){"use strict";e.exports=r("ecf9")()?Object.keys:r("7373")},"7bf3":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("e97a"),a=r("8720"),s=r("0de2"),l=r("31b4");function u(e,t){var r,n=e._latestEditorState,i=n.getSelection(),u=t.target;if(i.isCollapsed())t.preventDefault();else{if(l(u)){var f=u;r=s(o.getScrollParent(f))}var p=a(n);e.setClipboard(p),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(r),e.exitCurrentMode(),e.update(c(n))}),0)}}function c(e){var t=n.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return i.push(e,t,"remove-range")}e.exports=u},"7c39":function(e,t,r){"use strict";var n=r("1ebf"),i=r("9092").extendFlat;e.exports={y:n.y,x:n.x,x0:n.x0,y0:n.y0,name:i({},n.name,{description:["Sets the trace name.","The trace name appear as the legend item and on hover.","For violin traces, the name will also be used for the position","coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are","missing and the position axis is categorical.","Note that the trace name is also used as a default value","for attribute `scalegroup` (please see its description for details)."].join(" ")}),orientation:i({},n.orientation,{description:["Sets the orientation of the violin(s).","If *v* (*h*), the distribution is visualized along","the vertical (horizontal)."].join(" ")}),bandwidth:{valType:"number",min:0,role:"info",editType:"calc",description:["Sets the bandwidth used to compute the kernel density estimate.","By default, the bandwidth is determined by Silverman's rule of thumb."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple violins that should be sized according to","to some metric (see `scalemode`), link them by providing a non-empty group id here","shared by every trace in the same group.","If a violin's `width` is undefined, `scalegroup` will default to the trace's name.","In this case, violins with the same names will be linked together"].join(" ")},scalemode:{valType:"enumerated",values:["width","count"],dflt:"width",role:"info",editType:"calc",description:["Sets the metric by which the width of each violin is determined.","*width* means each violin has the same (max) width","*count* means the violins are scaled by the number of sample points making","up each violin."].join("")},spanmode:{valType:"enumerated",values:["soft","hard","manual"],dflt:"soft",role:"info",editType:"calc",description:["Sets the method by which the span in data space where the density function will be computed.","*soft* means the span goes from the sample's minimum value minus two bandwidths","to the sample's maximum value plus two bandwidths.","*hard* means the span goes from the sample's minimum to its maximum value.","For custom span settings, use mode *manual* and fill in the `span` attribute."].join(" ")},span:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],role:"info",editType:"calc",description:["Sets the span in data space for which the density function will be computed.","Has an effect only when `spanmode` is set to *manual*."].join(" ")},line:{color:{valType:"color",role:"style",editType:"style",description:"Sets the color of line bounding the violin(s)."},width:{valType:"number",role:"style",min:0,dflt:2,editType:"style",description:"Sets the width (in px) of line bounding the violin(s)."},editType:"plot"},fillcolor:n.fillcolor,points:i({},n.boxpoints,{description:["If *outliers*, only the sample points lying outside the whiskers","are shown","If *suspectedoutliers*, the outlier points are shown and","points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1","are highlighted (see `outliercolor`)","If *all*, all sample points are shown","If *false*, only the violins are shown with no sample points.","Defaults to *suspectedoutliers* when `marker.outliercolor` or","`marker.line.outliercolor` is set,","otherwise defaults to *outliers*."].join(" ")}),jitter:i({},n.jitter,{description:["Sets the amount of jitter in the sample points drawn.","If *0*, the sample points align along the distribution axis.","If *1*, the sample points are drawn in a random jitter of width","equal to the width of the violins."].join(" ")}),pointpos:i({},n.pointpos,{description:["Sets the position of the sample points in relation to the violins.","If *0*, the sample points are places over the center of the violins.","Positive (negative) values correspond to positions to the","right (left) for vertical violins and above (below) for horizontal violins."].join(" ")}),width:i({},n.width,{description:["Sets the width of the violin in data coordinates.","If *0* (default value) the width is automatically selected based on the positions","of other violin traces in the same subplot."].join(" ")}),marker:n.marker,text:n.text,hovertext:n.hovertext,hovertemplate:n.hovertemplate,box:{visible:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines if an miniature box plot is drawn inside the violins. "].join(" ")},width:{valType:"number",min:0,max:1,dflt:.25,role:"info",editType:"plot",description:["Sets the width of the inner box plots relative to","the violins' width.","For example, with 1, the inner box plots are as wide as the violins."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",description:"Sets the inner box plot fill color."},line:{color:{valType:"color",role:"style",editType:"style",description:"Sets the inner box plot bounding line color."},width:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the inner box plot bounding line width."},editType:"style"},editType:"plot"},meanline:{visible:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines if a line corresponding to the sample's mean is shown","inside the violins.","If `box.visible` is turned on, the mean line is drawn inside the inner box.","Otherwise, the mean line is drawn from one side of the violin to other."].join(" ")},color:{valType:"color",role:"style",editType:"style",description:"Sets the mean line color."},width:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the mean line width."},editType:"plot"},side:{valType:"enumerated",values:["both","positive","negative"],dflt:"both",role:"info",editType:"calc",description:["Determines on which side of the position value the density function making up","one half of a violin is plotted.","Useful when comparing two violin traces under *overlay* mode, where one trace","has `side` set to *positive* and the other to *negative*."].join(" ")},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup,selected:n.selected,unselected:n.unselected,hoveron:{valType:"flaglist",flags:["violins","points","kde"],dflt:"violins+points+kde",extras:["all"],role:"info",editType:"style",description:["Do the hover effects highlight individual violins","or sample points or the kernel density estimate or any combination of them?"].join(" ")}}},"7c43":function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("fc26"),a=o.strScale,s=o.strTranslate,l=r("0379"),u=r("c791"),c=u.toMoveInsideBar,f=r("93a6"),p=f.recordMinTextSize,d=f.clearMinTextSize,h=r("59e0"),v=r("c0af"),m=v.attachFxHandlers,g=v.determineInsideTextFont,y=v.layoutAreas,b=v.prerenderTitles,x=v.positionTitleOutside,A=v.formatSliceLabel;function w(e,t){var r=t[0]-e[0],n=t[1]-e[1];return"l"+r+","+n}function _(e,t){return[.5*(e[0]+t[0]),.5*(e[1]+t[1])]}function E(e){if(e.length){var t=e[0],r=t.trace,n=r.aspectratio,i=r.baseratio;i>.999&&(i=.999);var o,a,s,l=Math.pow(i,2),u=t.vTotal,c=u*l/(1-l),f=u,p=c/u,d=[];for(d.push(O()),a=e.length-1;a>-1;a--)if(s=e[a],!s.hidden){var h=s.v/f;p+=h,d.push(O())}var v=1/0,m=-1/0;for(a=0;a<d.length;a++)o=d[a],v=Math.min(v,o[1]),m=Math.max(m,o[1]);for(a=0;a<d.length;a++)d[a][1]-=(m+v)/2;var g=d[d.length-1][0],y=t.r,b=(m-v)/2,x=y/g,A=y/b*n;for(t.r=A*b,a=0;a<d.length;a++)d[a][0]*=x,d[a][1]*=A;o=d[0];var w=[-o[0],o[1]],E=[o[0],o[1]],k=0;for(a=e.length-1;a>-1;a--)if(s=e[a],!s.hidden){k+=1;var T=d[k][0],C=d[k][1];s.TL=[-T,C],s.TR=[T,C],s.BL=w,s.BR=E,s.pxmid=_(s.TR,s.BR),w=s.TL,E=s.TR}}function S(){var e=Math.sqrt(p);return{x:e,y:-e}}function O(){var e=S();return[e.x,e.y]}}e.exports=function(e,t){var r=e._fullLayout;d("funnelarea",r),b(t,e),y(t,r._size),o.makeTraceGroups(r._funnelarealayer,t,"trace").each((function(t){var u=n.select(this),f=t[0],d=f.trace;E(t),u.each((function(){var u=n.select(this).selectAll("g.slice").data(t);u.enter().append("g").classed("slice",!0),u.exit().remove(),u.each((function(a,s){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=d.index;var u=f.cx,v=f.cy,y=n.select(this),b=y.selectAll("path.surface").data([a]);b.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),y.call(m,e,t);var x="M"+(u+a.TR[0])+","+(v+a.TR[1])+w(a.TR,a.BR)+w(a.BR,a.BL)+w(a.BL,a.TL)+"Z";b.attr("d",x),A(e,a,f);var _=h.castOption(d.textposition,a.pts),E=y.selectAll("g.slicetext").data(a.text&&"none"!==_?[0]:[]);E.enter().append("g").classed("slicetext",!0),E.exit().remove(),E.each((function(){var f=o.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),h=o.ensureUniformFontSize(e,g(d,a,r.font));f.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(i.font,h).call(l.convertToTspans,e);var m,y,b,x=i.bBox(f.node()),A=Math.min(a.BL[1],a.BR[1])+v,w=Math.max(a.TL[1],a.TR[1])+v;y=Math.max(a.TL[0],a.BL[0])+u,b=Math.min(a.TR[0],a.BR[0])+u,m=c(y,b,A,w,x,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"}),m.fontSize=h.size,p(d.type,m,r),t[s].transform=m,f.attr("transform",o.getTextTransform(m))}))}}));var v=n.select(this).selectAll("g.titletext").data(d.title.text?[0]:[]);v.enter().append("g").classed("titletext",!0),v.exit().remove(),v.each((function(){var t=o.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),u=d.title.text;d._meta&&(u=o.templateString(u,d._meta)),t.text(u).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(i.font,d.title.font).call(l.convertToTspans,e);var c=x(f,r._size);t.attr("transform",s(c.x,c.y)+a(Math.min(1,c.scale))+s(c.tx,c.ty))}))}))}))}},"7c4a":function(e,t,r){"use strict";e.exports=r("ff55")()?globalThis:r("c2c0")},"7c4c":function(e,t,r){"use strict";var n=r("24be"),i=r("55306"),o=r("24f7"),a=(o.List,o.Map),s=function(e,t,r){if(e){var n=t.get(e);n&&t.set(e,r(n))}},l=function(e,t){var r=[];if(!e)return r;var n=t.get(e);while(n&&n.getParentKey()){var i=n.getParentKey();i&&r.push(i),n=i?t.get(i):null}return r},u=function(e,t){var r=[];if(!e)return r;var n=i(e,t);while(n&&t.get(n)){var o=t.get(n);r.push(n),n=o.getParentKey()?i(o,t):null}return r},c=function(e,t,r){if(!e)return null;var n=r.get(e.getKey()).getNextSiblingKey();while(n&&!t.get(n))n=r.get(n).getNextSiblingKey()||null;return n},f=function(e,t,r){if(!e)return null;var n=r.get(e.getKey()).getPrevSiblingKey();while(n&&!t.get(n))n=r.get(n).getPrevSiblingKey()||null;return n},p=function(e,t,r,n){return e.withMutations((function(i){if(s(t.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,n),prevSibling:f(e,i,n)})})),s(r.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,n),prevSibling:f(e,i,n)})})),l(t.getKey(),n).forEach((function(e){return s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,n),prevSibling:f(e,i,n)})}))})),s(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:c(e,i,n)})})),s(r.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:f(e,i,n)})})),s(r.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:r.getNextSiblingKey()})})),l(r.getKey(),n).forEach((function(e){s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,n),prevSibling:f(e,i,n)})}))})),u(r,n).forEach((function(e){return s(e,i,(function(e){return e.merge({nextSibling:c(e,i,n),prevSibling:f(e,i,n)})}))})),null==e.get(t.getKey())&&null!=e.get(r.getKey())&&r.getParentKey()===t.getKey()&&null==r.getPrevSiblingKey()){var o=t.getPrevSiblingKey();s(r.getKey(),i,(function(e){return e.merge({prevSibling:o})})),s(o,i,(function(e){return e.merge({nextSibling:r.getKey()})}));var a=o?e.get(o):null,p=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){s(e,i,(function(e){return e.merge({parent:p})}))})),null!=p){var d=e.get(p);s(p,i,(function(e){return e.merge({children:d.getChildKeys().concat(t.getChildKeys())})}))}s(t.getChildKeys().find((function(t){var r=e.get(t);return null===r.getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},d=function(e,t){if(t.isCollapsed())return e;var r,o=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=t.getEndKey(),f=t.getEndOffset(),d=o.get(s),v=o.get(c),m=d instanceof n,g=[];if(m){var y=v.getChildKeys(),b=l(c,o);v.getNextSiblingKey()&&(g=g.concat(b)),y.isEmpty()||(g=g.concat(b.concat([c]))),g=g.concat(l(i(v,o),o))}r=d===v?h(d.getCharacterList(),u,f):d.getCharacterList().slice(0,u).concat(v.getCharacterList().slice(f));var x=d.merge({text:d.getText().slice(0,u)+v.getText().slice(f),characterList:r}),A=m&&0===u&&0===f&&v.getParentKey()===s&&null==v.getPrevSiblingKey(),w=A?a([[s,null]]):o.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).filter((function(e,t){return-1===g.indexOf(t)})).concat(a([[c,null]])).map((function(e,t){return t===s?x:null})),_=o.merge(w).filter((function(e){return!!e}));return m&&d!==v&&(_=p(_,d,v,o)),e.merge({blockMap:_,selectionBefore:t,selectionAfter:t.merge({anchorKey:s,anchorOffset:u,focusKey:s,focusOffset:u,isBackward:!1})})},h=function(e,t,r){if(0===t)while(t<r)e=e.shift(),t++;else if(r===e.count())while(r>t)e=e.pop(),r--;else{var n=e.slice(0,t),i=e.slice(r);e=n.concat(i).toList()}return e};e.exports=d},"7c50":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M23.511 20.062L9.516 13.588l13.929-6.319 14.039 6.319-13.973 6.474zM9.516 13.588v16.75l13.999 6.026-.004-16.302-13.995-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M37.484 13.588v16.75l-13.999 6.026.004-16.302 13.995-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M18.489 17.739v16.408M14 15.662V32.5m9.515-1.695L9.516 24.588m13.999 1.217L9.516 19.588m19.026-1.924v16.483m4.489-18.387V32.5m-9.516-1.695l14-6.217m-14 1.217l14-6.217m-23.128-8.21l14.155 6.286m-9.814-8.255l14.303 6.351m-14.542 1.979l14.124-6.292M14 15.662l14.123-6.291",strokeLinecap:"round",strokeLinejoin:"round"})))};t.default=u},"7c64":function(e,t,r){var n=r("e24b"),i=r("5e2e"),o=r("79bc");function a(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}e.exports=a},"7c67":function(e,t,r){"use strict";e.exports=o;var n=32,i=r("cea5");function o(e){var t=e.length;if(t<n){for(var r=1,o=0;o<t;++o)for(var a=0;a<o;++a)if(e[o]<e[a])r=-r;else if(e[o]===e[a])return 0;return r}var s=i.mallocUint8(t);for(o=0;o<t;++o)s[o]=0;for(r=1,o=0;o<t;++o)if(!s[o]){var l=1;s[o]=1;for(a=e[o];a!==o;a=e[a]){if(s[a])return i.freeUint8(s),0;l+=1,s[a]=1}1&l||(r=-r)}return i.freeUint8(s),r}},"7c72":function(e,t){var r=Math.PI,n=u(120);function i(e){for(var t,r=[],n=0,i=0,l=0,c=0,f=null,p=null,d=0,h=0,v=0,m=e.length;v<m;v++){var g=e[v],y=g[0];switch(y){case"M":l=g[1],c=g[2];break;case"A":g=s(d,h,g[1],g[2],u(g[3]),g[4],g[5],g[6],g[7]),g.unshift("C"),g.length>7&&(r.push(g.splice(0,7)),g.unshift("C"));break;case"S":var b=d,x=h;"C"!=t&&"S"!=t||(b+=b-n,x+=x-i),g=["C",b,x,g[1],g[2],g[3],g[4]];break;case"T":"Q"==t||"T"==t?(f=2*d-f,p=2*h-p):(f=d,p=h),g=a(d,h,f,p,g[1],g[2]);break;case"Q":f=g[1],p=g[2],g=a(d,h,g[1],g[2],g[3],g[4]);break;case"L":g=o(d,h,g[1],g[2]);break;case"H":g=o(d,h,g[1],h);break;case"V":g=o(d,h,d,g[1]);break;case"Z":g=o(d,h,l,c);break}t=y,d=g[g.length-2],h=g[g.length-1],g.length>4?(n=g[g.length-4],i=g[g.length-3]):(n=d,i=h),r.push(g)}return r}function o(e,t,r,n){return["C",e,t,r,n,r,n]}function a(e,t,r,n,i,o){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,o/3+2/3*n,i,o]}function s(e,t,i,o,a,u,c,f,p,d){if(d)_=d[0],E=d[1],A=d[2],w=d[3];else{var h=l(e,t,-a);e=h.x,t=h.y,h=l(f,p,-a),f=h.x,p=h.y;var v=(e-f)/2,m=(t-p)/2,g=v*v/(i*i)+m*m/(o*o);g>1&&(g=Math.sqrt(g),i*=g,o*=g);var y=i*i,b=o*o,x=(u==c?-1:1)*Math.sqrt(Math.abs((y*b-y*m*m-b*v*v)/(y*m*m+b*v*v)));x==1/0&&(x=1);var A=x*i*m/o+(e+f)/2,w=x*-o*v/i+(t+p)/2,_=Math.asin(((t-w)/o).toFixed(9)),E=Math.asin(((p-w)/o).toFixed(9));_=e<A?r-_:_,E=f<A?r-E:E,_<0&&(_=2*r+_),E<0&&(E=2*r+E),c&&_>E&&(_-=2*r),!c&&E>_&&(E-=2*r)}if(Math.abs(E-_)>n){var k=E,T=f,C=p;E=_+n*(c&&E>_?1:-1),f=A+i*Math.cos(E),p=w+o*Math.sin(E);var S=s(f,p,i,o,a,0,c,T,C,[E,k,A,w])}var O=Math.tan((E-_)/4),M=4/3*i*O,P=4/3*o*O,B=[2*e-(e+M*Math.sin(_)),2*t-(t-P*Math.cos(_)),f+M*Math.sin(E),p-P*Math.cos(E),f,p];if(d)return B;S&&(B=B.concat(S));for(var L=0;L<B.length;){var D=l(B[L],B[L+1],a);B[L++]=D.x,B[L++]=D.y}return B}function l(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function u(e){return e*(r/180)}e.exports=i},"7c73":function(e,t,r){var n,i=r("825a"),o=r("37e8"),a=r("7839"),s=r("d012"),l=r("1be4"),u=r("cc12"),c=r("f772"),f=">",p="<",d="prototype",h="script",v=c("IE_PROTO"),m=function(){},g=function(e){return p+h+f+e+p+"/"+h+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),r="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},x=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}x=n?y(n):b();var e=a.length;while(e--)delete x[d][a[e]];return x()};s[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=i(e),r=new m,m[d]=null,r[v]=e):r=x(),void 0===t?r:o(r,t)}},"7c9f":function(e,t,r){"use strict";e.exports={moduleType:"component",name:"images",layoutAttributes:r("d72e"),supplyLayoutDefaults:r("4b6a"),includeBasePlot:r("37d1")("images"),draw:r("ff49"),convertCoords:r("6174")}},"7ca3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=f(i),a=r("d7bc"),s=f(a),l=r("a6a7"),u=f(l),c=r("242f");function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(e){p(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleKeyUp=r.handleKeyUp.bind(r),r}return h(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.locale!==this.props.locale||e.classNames!==this.props.classNames||e.date.getMonth()!==this.props.date.getMonth()||e.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(e){e.keyCode===c.ENTER&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.date,n=e.months,i=e.locale,a=e.localeUtils,s=e.onClick;return o.default.createElement("div",{className:t.caption,role:"heading"},o.default.createElement("div",{onClick:s,onKeyUp:this.handleKeyUp},n?n[r.getMonth()]+" "+r.getFullYear():a.formatMonthTitle(r,i)))}}]),t}(i.Component);v.propTypes={date:s.default.instanceOf(Date),months:s.default.arrayOf(s.default.string),locale:s.default.string,localeUtils:s.default.object,onClick:s.default.func,classNames:s.default.shape({caption:s.default.string.isRequired}).isRequired},v.defaultProps={localeUtils:u.default},t.default=v},"7cbf":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32 26.625l-12-16L16 16 9.312 5.25-.001 26.625z"}))};t.default=u},"7cc6":function(e,t,r){"use strict";var n=r("d8db");function i(e,t){var r=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){r.push({start:e,end:t})})),r.length||n(!1),r}e.exports=i},"7cdc":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("9903")),o=r("ca44"),a=p(r("d7bc")),s=f(r("ab5b")),l=r("4578"),u=r("a36d");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=(0,l.connectImageToLayout)(i.default),k=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return m(r,[{key:"render",value:function(){var e=this.context,t=e.layout.images,r=void 0===t?[]:t,n=e.localize,i=this.props,a=i.canAdd,l=i.children,c=i.canReorder,f=r.length&&r.map((function(e,t){return s.default.createElement(E,{key:t,imageIndex:t,name:"".concat(n("Image")," ").concat(t+1),canDelete:a},l)})),p={label:n("Image"),handler:function(e){var t,r=e.layout,n=e.updateContainer;t=Array.isArray(r.images)?r.images.length:0;var i="images[".concat(t,"]"),o={sizex:.1,sizey:.1,x:.5,y:.5};n&&n(d({},i,o))}};return s.default.createElement(o.LayoutPanel,{addAction:a?p:null,canReorder:c},f||s.default.createElement(u.PanelMessage,{heading:n("Logos, watermarks and more.")},s.default.createElement("p",null,n("Embed images in your figure to make the data more readable or to brand your content.")),s.default.createElement("p",null,n("Click on the + button above to add an image."))))}}]),r}(s.Component);k.contextTypes={layout:a.default.object,localize:a.default.func},k.propTypes={children:a.default.node,canAdd:a.default.bool,canReorder:a.default.bool};var T=k;t.default=T},"7d1f":function(e,t,r){var n=r("087d"),i=r("6747");function o(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}e.exports=o},"7d2f":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedFlaglist=void 0;var i=f(r("5174")),o=f(r("c983")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){return s.default.createElement(i.default,this.props,s.default.createElement(o.default,{options:this.props.options,activeOption:this.props.fullValue,onChange:this.props.updatePlot}))}}]),r}(s.Component);t.UnconnectedFlaglist=k,k.propTypes=d({fullValue:a.default.any,options:a.default.array.isRequired,updatePlot:a.default.func},i.default.propTypes),k.displayName="UnconnectedFlaglist";var T=(0,l.connectToContainer)(k);t.default=T},"7d72":function(e,t,r){"use strict";e.exports=function(){return"function"===typeof WeakMap&&"[object WeakMap]"===Object.prototype.toString.call(new WeakMap)}()},"7d88":function(e,t,r){"use strict";var n=r("1e0a"),i=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=n(e);return null===t?"<Non-coercible to string value>":(t.length>100&&(t=t.slice(0,99)+"…"),t=t.replace(i,(function(e){switch(e){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})),t)}},"7d90":function(e,t,r){"use strict";var n=r("9a31"),i=r("d8db"),o={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",AL:"؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-"},a=new RegExp("["+o.L+o.R+o.AL+"]"),s=new RegExp("["+o.R+o.AL+"]");function l(e){var t=a.exec(e);return null==t?null:t[0]}function u(e){var t=l(e);return null==t?n.NEUTRAL:s.exec(t)?n.RTL:n.LTR}function c(e,t){if(t=t||n.NEUTRAL,!e.length)return t;var r=u(e);return r===n.NEUTRAL?t:r}function f(e,t){return t||(t=n.getGlobalDir()),n.isStrong(t)||i(!1),c(e,t)}function p(e,t){return f(e,t)===n.LTR}function d(e,t){return f(e,t)===n.RTL}var h={firstStrongChar:l,firstStrongCharDir:u,resolveBlockDir:c,getDirection:f,isDirectionLTR:p,isDirectionRTL:d};e.exports=h},"7da0":function(e,t,r){"use strict";function n(e){var t=e||"",r=arguments.length;if(r>1)for(var n=1;n<r;n++){var i=arguments[n];i&&(t=(t?t+" ":"")+i)}return t}e.exports=n},"7db6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 21.313h10.688v5.375H0zm0-7.938h21.375v5.313H0zm0-8.062h32v5.375H0z"}))};t.default=u},"7dbb":function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray},t=function(e,t){for(var r=Object.keys(t),n=0;n<r.length;++n)e[r[n]]=t[r[n]];return e},r="\n";function n(e){return"undefined"!==typeof atob?atob(e):"base64:"+e}function i(e){var t=new Error("(regl) "+e);throw console.error(t),t}function o(e,t){e||i(t)}function a(e){return e?": "+e:""}function s(e,t,r){e in t||i("unknown parameter ("+e+")"+a(r)+". possible values: "+Object.keys(t).join())}function l(t,r){e(t)||i("invalid parameter type"+a(r)+". must be a typed array")}function u(e,t){switch(t){case"number":return"number"===typeof e;case"object":return"object"===typeof e;case"string":return"string"===typeof e;case"boolean":return"boolean"===typeof e;case"function":return"function"===typeof e;case"undefined":return"undefined"===typeof e;case"symbol":return"symbol"===typeof e}}function c(e,t,r){u(e,t)||i("invalid parameter type"+a(r)+". expected "+t+", got "+typeof e)}function f(e,t){e>=0&&(0|e)===e||i("invalid parameter type, ("+e+")"+a(t)+". must be a nonnegative integer")}function p(e,t,r){t.indexOf(e)<0&&i("invalid value"+a(r)+". must be one of: "+t)}var d=["gl","canvas","container","attributes","pixelRatio","extensions","optionalExtensions","profile","onDone"];function h(e){Object.keys(e).forEach((function(e){d.indexOf(e)<0&&i('invalid regl constructor argument "'+e+'". must be one of '+d)}))}function v(e,t){e+="";while(e.length<t)e=" "+e;return e}function m(){this.name="unknown",this.lines=[],this.index={},this.hasErrors=!1}function g(e,t){this.number=e,this.line=t,this.errors=[]}function y(e,t,r){this.file=e,this.line=t,this.message=r}function b(){var e=new Error,t=(e.stack||e).toString(),r=/compileProcedure.*\n\s*at.*\((.*)\)/.exec(t);if(r)return r[1];var n=/compileProcedure.*\n\s*at\s+(.*)(\n|$)/.exec(t);return n?n[1]:"unknown"}function x(){var e=new Error,t=(e.stack||e).toString(),r=/at REGLCommand.*\n\s+at.*\((.*)\)/.exec(t);if(r)return r[1];var n=/at REGLCommand.*\n\s+at\s+(.*)\n/.exec(t);return n?n[1]:"unknown"}function A(e,t){var r=e.split("\n"),i=1,o=0,a={unknown:new m,0:new m};a.unknown.name=a[0].name=t||b(),a.unknown.lines.push(new g(0,""));for(var s=0;s<r.length;++s){var l=r[s],u=/^\s*#\s*(\w+)\s+(.+)\s*$/.exec(l);if(u)switch(u[1]){case"line":var c=/(\d+)(\s+\d+)?/.exec(u[2]);c&&(i=0|c[1],c[2]&&(o=0|c[2],o in a||(a[o]=new m)));break;case"define":var f=/SHADER_NAME(_B64)?\s+(.*)$/.exec(u[2]);f&&(a[o].name=f[1]?n(f[2]):f[2]);break}a[o].lines.push(new g(i++,l))}return Object.keys(a).forEach((function(e){var t=a[e];t.lines.forEach((function(e){t.index[e.number]=e}))})),a}function w(e){var t=[];return e.split("\n").forEach((function(e){if(!(e.length<5)){var r=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(e);r?t.push(new y(0|r[1],0|r[2],r[3].trim())):e.length>0&&t.push(new y("unknown",0,e))}})),t}function _(e,t){t.forEach((function(t){var r=e[t.file];if(r){var n=r.index[t.line];if(n)return n.errors.push(t),void(r.hasErrors=!0)}e.unknown.hasErrors=!0,e.unknown.lines[0].errors.push(t)}))}function E(e,t,n,i,a){if(!e.getShaderParameter(t,e.COMPILE_STATUS)){var s=e.getShaderInfoLog(t),l=i===e.FRAGMENT_SHADER?"fragment":"vertex";P(n,"string",l+" shader source must be a string",a);var u=A(n,a),c=w(s);_(u,c),Object.keys(u).forEach((function(e){var t=u[e];if(t.hasErrors){var n=[""],i=[""];o("file number "+e+": "+t.name+"\n","color:red;text-decoration:underline;font-weight:bold"),t.lines.forEach((function(e){if(e.errors.length>0){o(v(e.number,4)+"| ","background-color:yellow; font-weight:bold"),o(e.line+r,"color:red; background-color:yellow; font-weight:bold");var t=0;e.errors.forEach((function(n){var i=n.message,a=/^\s*'(.*)'\s*:\s*(.*)$/.exec(i);if(a){var s=a[1];switch(i=a[2],s){case"assign":s="=";break}t=Math.max(e.line.indexOf(s,t),0)}else t=0;o(v("| ",6)),o(v("^^^",t+3)+r,"font-weight:bold"),o(v("| ",6)),o(i+r,"font-weight:bold")})),o(v("| ",6)+r)}else o(v(e.number,4)+"| "),o(e.line+r,"color:red")})),"undefined"===typeof document||window.chrome?console.log(n.join("")):(i[0]=n.join("%c"),console.log.apply(console,i))}function o(e,t){n.push(e),i.push(t||"")}})),o.raise("Error compiling "+l+" shader, "+u[0].name)}}function k(e,t,n,i,a){if(!e.getProgramParameter(t,e.LINK_STATUS)){var s=e.getProgramInfoLog(t),l=A(n,a),u=A(i,a),c='Error linking program with vertex shader, "'+u[0].name+'", and fragment shader "'+l[0].name+'"';"undefined"!==typeof document?console.log("%c"+c+r+"%c"+s,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(c+r+s),o.raise(c)}}function T(e){e._commandRef=b()}function C(e,t,r,n){function i(e){return e?n.id(e):0}function o(e,t){Object.keys(t).forEach((function(t){e[n.id(t)]=!0}))}T(e),e._fragId=i(e.static.frag),e._vertId=i(e.static.vert);var a=e._uniformSet={};o(a,t.static),o(a,t.dynamic);var s=e._attributeSet={};o(s,r.static),o(s,r.dynamic),e._hasCount="count"in e.static||"count"in e.dynamic||"elements"in e.static||"elements"in e.dynamic}function S(e,t){var r=x();i(e+" in command "+(t||b())+("unknown"===r?"":" called from "+r))}function O(e,t,r){e||S(t,r||b())}function M(e,t,r,n){e in t||S("unknown parameter ("+e+")"+a(r)+". possible values: "+Object.keys(t).join(),n||b())}function P(e,t,r,n){u(e,t)||S("invalid parameter type"+a(r)+". expected "+t+", got "+typeof e,n||b())}function B(e){e()}function L(e,t,r){e.texture?p(e.texture._texture.internalformat,t,"unsupported texture format for attachment"):p(e.renderbuffer._renderbuffer.format,r,"unsupported renderbuffer format for attachment")}var D=33071,I=9728,j=9984,R=9985,F=9986,N=9987,z=5120,U=5121,H=5122,V=5123,Q=5124,W=5125,K=5126,q=32819,G=32820,$=33635,Y=34042,X=36193,Z={};function J(e,t){return e===G||e===q||e===$?2:e===Y?4:Z[e]*t}function ee(e){return!(e&e-1)&&!!e}function te(e,t,r){var n,i=t.width,a=t.height,s=t.channels;o(i>0&&i<=r.maxTextureSize&&a>0&&a<=r.maxTextureSize,"invalid texture shape"),e.wrapS===D&&e.wrapT===D||o(ee(i)&&ee(a),"incompatible wrap mode for texture, both width and height must be power of 2"),1===t.mipmask?1!==i&&1!==a&&o(e.minFilter!==j&&e.minFilter!==F&&e.minFilter!==R&&e.minFilter!==N,"min filter requires mipmap"):(o(ee(i)&&ee(a),"texture must be a square power of 2 to support mipmapping"),o(t.mipmask===(i<<1)-1,"missing or incomplete mipmap data")),t.type===K&&(r.extensions.indexOf("oes_texture_float_linear")<0&&o(e.minFilter===I&&e.magFilter===I,"filter not supported, must enable oes_texture_float_linear"),o(!e.genMipmaps,"mipmap generation not supported with float textures"));var l=t.images;for(n=0;n<16;++n)if(l[n]){var u=i>>n,c=a>>n;o(t.mipmask&1<<n,"missing mipmap data");var f=l[n];if(o(f.width===u&&f.height===c,"invalid shape for mip images"),o(f.format===t.format&&f.internalformat===t.internalformat&&f.type===t.type,"incompatible type for mip image"),f.compressed);else if(f.data){var p=Math.ceil(J(f.type,s)*u/f.unpackAlignment)*f.unpackAlignment;o(f.data.byteLength===p*c,"invalid data for image, buffer size is inconsistent with image format")}else f.element||f.copy}else e.genMipmaps||o(0===(t.mipmask&1<<n),"extra mipmap data");t.compressed&&o(!e.genMipmaps,"mipmap generation for compressed images not supported")}function re(e,t,r,n){var i=e.width,a=e.height,s=e.channels;o(i>0&&i<=n.maxTextureSize&&a>0&&a<=n.maxTextureSize,"invalid texture shape"),o(i===a,"cube map must be square"),o(t.wrapS===D&&t.wrapT===D,"wrap mode not supported by cube map");for(var l=0;l<r.length;++l){var u=r[l];o(u.width===i&&u.height===a,"inconsistent cube map face shape"),t.genMipmaps&&(o(!u.compressed,"can not generate mipmap for compressed textures"),o(1===u.mipmask,"can not specify mipmaps and generate mipmaps"));for(var c=u.images,f=0;f<16;++f){var p=c[f];if(p){var d=i>>f,h=a>>f;o(u.mipmask&1<<f,"missing mipmap data"),o(p.width===d&&p.height===h,"invalid shape for mip images"),o(p.format===e.format&&p.internalformat===e.internalformat&&p.type===e.type,"incompatible type for mip image"),p.compressed||(p.data?o(p.data.byteLength===d*h*Math.max(J(p.type,s),p.unpackAlignment),"invalid data for image, buffer size is inconsistent with image format"):p.element||p.copy)}}}}Z[z]=Z[U]=1,Z[H]=Z[V]=Z[X]=Z[$]=Z[q]=Z[G]=2,Z[Q]=Z[W]=Z[K]=Z[Y]=4;var ne=t(o,{optional:B,raise:i,commandRaise:S,command:O,parameter:s,commandParameter:M,constructor:h,type:c,commandType:P,isTypedArray:l,nni:f,oneOf:p,shaderError:E,linkError:k,callSite:x,saveCommandRef:T,saveDrawInfo:C,framebufferFormat:L,guessCommand:b,texture2D:te,textureCube:re}),ie=0,oe=0,ae=5,se=6;function le(e,t){this.id=ie++,this.type=e,this.data=t}function ue(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function ce(e){if(0===e.length)return[];var t=e.charAt(0),r=e.charAt(e.length-1);if(e.length>1&&t===r&&('"'===t||"'"===t))return['"'+ue(e.substr(1,e.length-2))+'"'];var n=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(e);if(n)return ce(e.substr(0,n.index)).concat(ce(n[1])).concat(ce(e.substr(n.index+n[0].length)));var i=e.split(".");if(1===i.length)return['"'+ue(e)+'"'];for(var o=[],a=0;a<i.length;++a)o=o.concat(ce(i[a]));return o}function fe(e){return"["+ce(e).join("][")+"]"}function pe(e,t){return new le(e,fe(t+""))}function de(e){return"function"===typeof e&&!e._reglType||e instanceof le}function he(e,t){return"function"===typeof e?new le(oe,e):"number"===typeof e||"boolean"===typeof e?new le(ae,e):Array.isArray(e)?new le(se,e.map((e,r)=>he(e,t+"["+r+"]"))):e instanceof le?e:void ne(!1,"invalid option type in uniform "+t)}var ve={DynamicVariable:le,define:pe,isDynamic:de,unbox:he,accessor:fe},me={next:"function"===typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:"function"===typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},ge="undefined"!==typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function ye(){var e={"":0},t=[""];return{id:function(r){var n=e[r];return n||(n=e[r]=t.length,t.push(r),n)},str:function(e){return t[e]}}}function be(e,r,n){var i,o=document.createElement("canvas");function a(){var r=window.innerWidth,i=window.innerHeight;if(e!==document.body){var a=e.getBoundingClientRect();r=a.right-a.left,i=a.bottom-a.top}o.width=n*r,o.height=n*i,t(o.style,{width:r+"px",height:i+"px"})}function s(){i?i.disconnect():window.removeEventListener("resize",a),e.removeChild(o)}return t(o.style,{border:0,margin:0,padding:0,top:0,left:0}),e.appendChild(o),e===document.body&&(o.style.position="absolute",t(e.style,{margin:0,padding:0})),e!==document.body&&"function"===typeof ResizeObserver?(i=new ResizeObserver((function(){setTimeout(a)})),i.observe(e)):window.addEventListener("resize",a,!1),a(),{canvas:o,onDestroy:s}}function xe(e,t){function r(r){try{return e.getContext(r,t)}catch(n){return null}}return r("webgl")||r("experimental-webgl")||r("webgl-experimental")}function Ae(e){return"string"===typeof e.nodeName&&"function"===typeof e.appendChild&&"function"===typeof e.getBoundingClientRect}function we(e){return"function"===typeof e.drawArrays||"function"===typeof e.drawElements}function _e(e){return"string"===typeof e?e.split():(ne(Array.isArray(e),"invalid extension array"),e)}function Ee(e){return"string"===typeof e?(ne("undefined"!==typeof document,"not supported outside of DOM"),document.querySelector(e)):e}function ke(e){var t,r,n,i,o=e||{},a={},s=[],l=[],u="undefined"===typeof window?1:window.devicePixelRatio,c=!1,f=function(e){e&&ne.raise(e)},p=function(){};if("string"===typeof o?(ne("undefined"!==typeof document,"selector queries only supported in DOM enviroments"),t=document.querySelector(o),ne(t,"invalid query string for element")):"object"===typeof o?Ae(o)?t=o:we(o)?(i=o,n=i.canvas):(ne.constructor(o),"gl"in o?i=o.gl:"canvas"in o?n=Ee(o.canvas):"container"in o&&(r=Ee(o.container)),"attributes"in o&&(a=o.attributes,ne.type(a,"object","invalid context attributes")),"extensions"in o&&(s=_e(o.extensions)),"optionalExtensions"in o&&(l=_e(o.optionalExtensions)),"onDone"in o&&(ne.type(o.onDone,"function","invalid or missing onDone callback"),f=o.onDone),"profile"in o&&(c=!!o.profile),"pixelRatio"in o&&(u=+o.pixelRatio,ne(u>0,"invalid pixel ratio"))):ne.raise("invalid arguments to regl"),t&&("canvas"===t.nodeName.toLowerCase()?n=t:r=t),!i){if(!n){ne("undefined"!==typeof document,"must manually specify webgl context outside of DOM environments");var d=be(r||document.body,f,u);if(!d)return null;n=d.canvas,p=d.onDestroy}void 0===a.premultipliedAlpha&&(a.premultipliedAlpha=!0),i=xe(n,a)}return i?{gl:i,canvas:n,container:r,extensions:s,optionalExtensions:l,pixelRatio:u,profile:c,onDone:f,onDestroy:p}:(p(),f("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function Te(e,t){var r={};function n(t){ne.type(t,"string","extension name must be string");var n,i=t.toLowerCase();try{n=r[i]=e.getExtension(i)}catch(o){}return!!n}for(var i=0;i<t.extensions.length;++i){var o=t.extensions[i];if(!n(o))return t.onDestroy(),t.onDone('"'+o+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return t.optionalExtensions.forEach(n),{extensions:r,restore:function(){Object.keys(r).forEach((function(e){if(r[e]&&!n(e))throw new Error("(regl): error restoring extension "+e)}))}}}function Ce(e,t){for(var r=Array(e),n=0;n<e;++n)r[n]=t(n);return r}var Se=5120,Oe=5121,Me=5122,Pe=5123,Be=5124,Le=5125,De=5126;function Ie(e){for(var t=16;t<=1<<28;t*=16)if(e<=t)return t;return 0}function je(e){var t,r;return t=(e>65535)<<4,e>>>=t,r=(e>255)<<3,e>>>=r,t|=r,r=(e>15)<<2,e>>>=r,t|=r,r=(e>3)<<1,e>>>=r,t|=r,t|e>>1}function Re(){var e=Ce(8,(function(){return[]}));function t(t){var r=Ie(t),n=e[je(r)>>2];return n.length>0?n.pop():new ArrayBuffer(r)}function r(t){e[je(t.byteLength)>>2].push(t)}function n(e,r){var n=null;switch(e){case Se:n=new Int8Array(t(r),0,r);break;case Oe:n=new Uint8Array(t(r),0,r);break;case Me:n=new Int16Array(t(2*r),0,r);break;case Pe:n=new Uint16Array(t(2*r),0,r);break;case Be:n=new Int32Array(t(4*r),0,r);break;case Le:n=new Uint32Array(t(4*r),0,r);break;case De:n=new Float32Array(t(4*r),0,r);break;default:return null}return n.length!==r?n.subarray(0,r):n}function i(e){r(e.buffer)}return{alloc:t,free:r,allocType:n,freeType:i}}var Fe=Re();Fe.zero=Re();var Ne=3408,ze=3410,Ue=3411,He=3412,Ve=3413,Qe=3414,We=3415,Ke=33901,qe=33902,Ge=3379,$e=3386,Ye=34921,Xe=36347,Ze=36348,Je=35661,et=35660,tt=34930,rt=36349,nt=34076,it=34024,ot=7936,at=7937,st=7938,lt=35724,ut=34047,ct=36063,ft=34852,pt=3553,dt=34067,ht=34069,vt=33984,mt=6408,gt=5126,yt=5121,bt=36160,xt=36053,At=36064,wt=16384,_t=function(e,t){var r=1;t.ext_texture_filter_anisotropic&&(r=e.getParameter(ut));var n=1,i=1;t.webgl_draw_buffers&&(n=e.getParameter(ft),i=e.getParameter(ct));var o=!!t.oes_texture_float;if(o){var a=e.createTexture();e.bindTexture(pt,a),e.texImage2D(pt,0,mt,1,1,0,mt,gt,null);var s=e.createFramebuffer();if(e.bindFramebuffer(bt,s),e.framebufferTexture2D(bt,At,pt,a,0),e.bindTexture(pt,null),e.checkFramebufferStatus(bt)!==xt)o=!1;else{e.viewport(0,0,1,1),e.clearColor(1,0,0,1),e.clear(wt);var l=Fe.allocType(gt,4);e.readPixels(0,0,1,1,mt,gt,l),e.getError()?o=!1:(e.deleteFramebuffer(s),e.deleteTexture(a),o=1===l[0]),Fe.freeType(l)}}var u="undefined"!==typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),c=!0;if(!u){var f=e.createTexture(),p=Fe.allocType(yt,36);e.activeTexture(vt),e.bindTexture(dt,f),e.texImage2D(ht,0,mt,3,3,0,mt,yt,p),Fe.freeType(p),e.bindTexture(dt,null),e.deleteTexture(f),c=!e.getError()}return{colorBits:[e.getParameter(ze),e.getParameter(Ue),e.getParameter(He),e.getParameter(Ve)],depthBits:e.getParameter(Qe),stencilBits:e.getParameter(We),subpixelBits:e.getParameter(Ne),extensions:Object.keys(t).filter((function(e){return!!t[e]})),maxAnisotropic:r,maxDrawbuffers:n,maxColorAttachments:i,pointSizeDims:e.getParameter(Ke),lineWidthDims:e.getParameter(qe),maxViewportDims:e.getParameter($e),maxCombinedTextureUnits:e.getParameter(Je),maxCubeMapSize:e.getParameter(nt),maxRenderbufferSize:e.getParameter(it),maxTextureUnits:e.getParameter(tt),maxTextureSize:e.getParameter(Ge),maxAttributes:e.getParameter(Ye),maxVertexUniforms:e.getParameter(Xe),maxVertexTextureUnits:e.getParameter(et),maxVaryingVectors:e.getParameter(Ze),maxFragmentUniforms:e.getParameter(rt),glsl:e.getParameter(lt),renderer:e.getParameter(at),vendor:e.getParameter(ot),version:e.getParameter(st),readFloat:o,npotTextureCube:c}};function Et(t){return!!t&&"object"===typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&"number"===typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||e(t.data))}var kt=function(e){return Object.keys(e).map((function(t){return e[t]}))},Tt={shape:Bt,flatten:Pt};function Ct(e,t,r){for(var n=0;n<t;++n)r[n]=e[n]}function St(e,t,r,n){for(var i=0,o=0;o<t;++o)for(var a=e[o],s=0;s<r;++s)n[i++]=a[s]}function Ot(e,t,r,n,i,o){for(var a=o,s=0;s<t;++s)for(var l=e[s],u=0;u<r;++u)for(var c=l[u],f=0;f<n;++f)i[a++]=c[f]}function Mt(e,t,r,n,i){for(var o=1,a=r+1;a<t.length;++a)o*=t[a];var s=t[r];if(t.length-r===4){var l=t[r+1],u=t[r+2],c=t[r+3];for(a=0;a<s;++a)Ot(e[a],l,u,c,n,i),i+=o}else for(a=0;a<s;++a)Mt(e[a],t,r+1,n,i),i+=o}function Pt(e,t,r,n){var i=1;if(t.length)for(var o=0;o<t.length;++o)i*=t[o];else i=0;var a=n||Fe.allocType(r,i);switch(t.length){case 0:break;case 1:Ct(e,t[0],a);break;case 2:St(e,t[0],t[1],a);break;case 3:Ot(e,t[0],t[1],t[2],a,0);break;default:Mt(e,t,0,a,0)}return a}function Bt(e){for(var t=[],r=e;r.length;r=r[0])t.push(r.length);return t}var Lt={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},Dt=5120,It=5122,jt=5124,Rt=5121,Ft=5123,Nt=5125,zt=5126,Ut=5126,Ht={int8:Dt,int16:It,int32:jt,uint8:Rt,uint16:Ft,uint32:Nt,float:zt,float32:Ut},Vt=35048,Qt=35040,Wt={dynamic:Vt,stream:Qt,static:35044},Kt=Tt.flatten,qt=Tt.shape,Gt=35044,$t=35040,Yt=5121,Xt=5126,Zt=[];function Jt(e){return 0|Lt[Object.prototype.toString.call(e)]}function er(e,t){for(var r=0;r<t.length;++r)e[r]=t[r]}function tr(e,t,r,n,i,o,a){for(var s=0,l=0;l<r;++l)for(var u=0;u<n;++u)e[s++]=t[i*l+o*u+a]}function rr(t,r,n,i){var o=0,a={};function s(e){this.id=o++,this.buffer=t.createBuffer(),this.type=e,this.usage=Gt,this.byteLength=0,this.dimension=1,this.dtype=Yt,this.persistentData=null,n.profile&&(this.stats={size:0})}s.prototype.bind=function(){t.bindBuffer(this.type,this.buffer)},s.prototype.destroy=function(){d(this)};var l=[];function u(e,t){var r=l.pop();return r||(r=new s(e)),r.bind(),p(r,t,$t,0,1,!1),r}function c(e){l.push(e)}function f(e,r,n){e.byteLength=r.byteLength,t.bufferData(e.type,r,n)}function p(t,r,n,i,o,a){var s,l;if(t.usage=n,Array.isArray(r)){if(t.dtype=i||Xt,r.length>0)if(Array.isArray(r[0])){s=qt(r);for(var u=1,c=1;c<s.length;++c)u*=s[c];t.dimension=u,l=Kt(r,s,t.dtype),f(t,l,n),a?t.persistentData=l:Fe.freeType(l)}else if("number"===typeof r[0]){t.dimension=o;var p=Fe.allocType(t.dtype,r.length);er(p,r),f(t,p,n),a?t.persistentData=p:Fe.freeType(p)}else e(r[0])?(t.dimension=r[0].length,t.dtype=i||Jt(r[0])||Xt,l=Kt(r,[r.length,r[0].length],t.dtype),f(t,l,n),a?t.persistentData=l:Fe.freeType(l)):ne.raise("invalid buffer data")}else if(e(r))t.dtype=i||Jt(r),t.dimension=o,f(t,r,n),a&&(t.persistentData=new Uint8Array(new Uint8Array(r.buffer)));else if(Et(r)){s=r.shape;var d=r.stride,h=r.offset,v=0,m=0,g=0,y=0;1===s.length?(v=s[0],m=1,g=d[0],y=0):2===s.length?(v=s[0],m=s[1],g=d[0],y=d[1]):ne.raise("invalid shape"),t.dtype=i||Jt(r.data)||Xt,t.dimension=m;var b=Fe.allocType(t.dtype,v*m);tr(b,r.data,v,m,g,y,h),f(t,b,n),a?t.persistentData=b:Fe.freeType(b)}else r instanceof ArrayBuffer?(t.dtype=Yt,t.dimension=o,f(t,r,n),a&&(t.persistentData=new Uint8Array(new Uint8Array(r)))):ne.raise("invalid buffer data")}function d(e){r.bufferCount--,i(e);var n=e.buffer;ne(n,"buffer must not be deleted already"),t.deleteBuffer(n),e.buffer=null,delete a[e.id]}function h(i,o,l,u){r.bufferCount++;var c=new s(o);function f(r){var i=Gt,o=null,a=0,s=0,l=1;return Array.isArray(r)||e(r)||Et(r)||r instanceof ArrayBuffer?o=r:"number"===typeof r?a=0|r:r&&(ne.type(r,"object","buffer arguments must be an object, a number or an array"),"data"in r&&(ne(null===o||Array.isArray(o)||e(o)||Et(o),"invalid data for buffer"),o=r.data),"usage"in r&&(ne.parameter(r.usage,Wt,"invalid buffer usage"),i=Wt[r.usage]),"type"in r&&(ne.parameter(r.type,Ht,"invalid buffer type"),s=Ht[r.type]),"dimension"in r&&(ne.type(r.dimension,"number","invalid dimension"),l=0|r.dimension),"length"in r&&(ne.nni(a,"buffer length must be a nonnegative integer"),a=0|r.length)),c.bind(),o?p(c,o,i,s,l,u):(a&&t.bufferData(c.type,a,i),c.dtype=s||Yt,c.usage=i,c.dimension=l,c.byteLength=a),n.profile&&(c.stats.size=c.byteLength*Zt[c.dtype]),f}function h(e,r){ne(r+e.byteLength<=c.byteLength,"invalid buffer subdata call, buffer is too small. Can't write data of size "+e.byteLength+" starting from offset "+r+" to a buffer of size "+c.byteLength),t.bufferSubData(c.type,r,e)}function v(t,r){var n,i=0|(r||0);if(c.bind(),e(t)||t instanceof ArrayBuffer)h(t,i);else if(Array.isArray(t)){if(t.length>0)if("number"===typeof t[0]){var o=Fe.allocType(c.dtype,t.length);er(o,t),h(o,i),Fe.freeType(o)}else if(Array.isArray(t[0])||e(t[0])){n=qt(t);var a=Kt(t,n,c.dtype);h(a,i),Fe.freeType(a)}else ne.raise("invalid buffer data")}else if(Et(t)){n=t.shape;var s=t.stride,l=0,u=0,p=0,d=0;1===n.length?(l=n[0],u=1,p=s[0],d=0):2===n.length?(l=n[0],u=n[1],p=s[0],d=s[1]):ne.raise("invalid shape");var v=Array.isArray(t.data)?c.dtype:Jt(t.data),m=Fe.allocType(v,l*u);tr(m,t.data,l,u,p,d,t.offset),h(m,i),Fe.freeType(m)}else ne.raise("invalid data for buffer subdata");return f}return a[c.id]=c,l||f(i),f._reglType="buffer",f._buffer=c,f.subdata=v,n.profile&&(f.stats=c.stats),f.destroy=function(){d(c)},f}function v(){kt(a).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))}return n.profile&&(r.getTotalBufferSize=function(){var e=0;return Object.keys(a).forEach((function(t){e+=a[t].stats.size})),e}),{create:h,createStream:u,destroyStream:c,clear:function(){kt(a).forEach(d),l.forEach(d)},getBuffer:function(e){return e&&e._buffer instanceof s?e._buffer:null},restore:v,_initBuffer:p}}Zt[5120]=1,Zt[5122]=2,Zt[5124]=4,Zt[5121]=1,Zt[5123]=2,Zt[5125]=4,Zt[5126]=4;var nr=0,ir=0,or=1,ar=1,sr=4,lr=4,ur={points:nr,point:ir,lines:or,line:ar,triangles:sr,triangle:lr,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},cr=0,fr=1,pr=4,dr=5120,hr=5121,vr=5122,mr=5123,gr=5124,yr=5125,br=34963,xr=35040,Ar=35044;function wr(t,r,n,i){var o={},a=0,s={uint8:hr,uint16:mr};function l(e){this.id=a++,o[this.id]=this,this.buffer=e,this.primType=pr,this.vertCount=0,this.type=0}r.oes_element_index_uint&&(s.uint32=yr),l.prototype.bind=function(){this.buffer.bind()};var u=[];function c(e){var t=u.pop();return t||(t=new l(n.create(null,br,!0,!1)._buffer)),p(t,e,xr,-1,-1,0,0),t}function f(e){u.push(e)}function p(i,o,a,s,l,u,c){var f;if(i.buffer.bind(),o){var p=c;c||e(o)&&(!Et(o)||e(o.data))||(p=r.oes_element_index_uint?yr:mr),n._initBuffer(i.buffer,o,a,p,3)}else t.bufferData(br,u,a),i.buffer.dtype=f||hr,i.buffer.usage=a,i.buffer.dimension=3,i.buffer.byteLength=u;if(f=c,!c){switch(i.buffer.dtype){case hr:case dr:f=hr;break;case mr:case vr:f=mr;break;case yr:case gr:f=yr;break;default:ne.raise("unsupported type for element array")}i.buffer.dtype=f}i.type=f,ne(f!==yr||!!r.oes_element_index_uint,"32 bit element buffers not supported, enable oes_element_index_uint first");var d=l;d<0&&(d=i.buffer.byteLength,f===mr?d>>=1:f===yr&&(d>>=2)),i.vertCount=d;var h=s;if(s<0){h=pr;var v=i.buffer.dimension;1===v&&(h=cr),2===v&&(h=fr),3===v&&(h=pr)}i.primType=h}function d(e){i.elementsCount--,ne(null!==e.buffer,"must not double destroy elements"),delete o[e.id],e.buffer.destroy(),e.buffer=null}function h(t,r){var o=n.create(null,br,!0),a=new l(o._buffer);function u(t){if(t)if("number"===typeof t)o(t),a.primType=pr,a.vertCount=0|t,a.type=hr;else{var r=null,n=Ar,i=-1,l=-1,c=0,f=0;Array.isArray(t)||e(t)||Et(t)?r=t:(ne.type(t,"object","invalid arguments for elements"),"data"in t&&(r=t.data,ne(Array.isArray(r)||e(r)||Et(r),"invalid data for element buffer")),"usage"in t&&(ne.parameter(t.usage,Wt,"invalid element buffer usage"),n=Wt[t.usage]),"primitive"in t&&(ne.parameter(t.primitive,ur,"invalid element buffer primitive"),i=ur[t.primitive]),"count"in t&&(ne("number"===typeof t.count&&t.count>=0,"invalid vertex count for elements"),l=0|t.count),"type"in t&&(ne.parameter(t.type,s,"invalid buffer type"),f=s[t.type]),"length"in t?c=0|t.length:(c=l,f===mr||f===vr?c*=2:f!==yr&&f!==gr||(c*=4))),p(a,r,n,i,l,c,f)}else o(),a.primType=pr,a.vertCount=0,a.type=hr;return u}return i.elementsCount++,u(t),u._reglType="elements",u._elements=a,u.subdata=function(e,t){return o.subdata(e,t),u},u.destroy=function(){d(a)},u}return{create:h,createStream:c,destroyStream:f,getElements:function(e){return"function"===typeof e&&e._elements instanceof l?e._elements:null},clear:function(){kt(o).forEach(d)}}}var _r=new Float32Array(1),Er=new Uint32Array(_r.buffer),kr=5123;function Tr(e){for(var t=Fe.allocType(kr,e.length),r=0;r<e.length;++r)if(isNaN(e[r]))t[r]=65535;else if(e[r]===1/0)t[r]=31744;else if(e[r]===-1/0)t[r]=64512;else{_r[0]=e[r];var n=Er[0],i=n>>>31<<15,o=(n<<1>>>24)-127,a=n>>13&1023;if(o<-24)t[r]=i;else if(o<-14){var s=-14-o;t[r]=i+(a+1024>>s)}else t[r]=o>15?i+31744:i+(o+15<<10)+a}return t}function Cr(t){return Array.isArray(t)||e(t)}var Sr=function(e){return!(e&e-1)&&!!e},Or=34467,Mr=3553,Pr=34067,Br=34069,Lr=6408,Dr=6406,Ir=6407,jr=6409,Rr=6410,Fr=32854,Nr=32855,zr=36194,Ur=32819,Hr=32820,Vr=33635,Qr=34042,Wr=6402,Kr=34041,qr=35904,Gr=35906,$r=36193,Yr=33776,Xr=33777,Zr=33778,Jr=33779,en=35986,tn=35987,rn=34798,nn=35840,on=35841,an=35842,sn=35843,ln=36196,un=5121,cn=5123,fn=5125,pn=5126,dn=10242,hn=10243,vn=10497,mn=33071,gn=33648,yn=10240,bn=10241,xn=9728,An=9729,wn=9984,_n=9985,En=9986,kn=9987,Tn=33170,Cn=4352,Sn=4353,On=4354,Mn=34046,Pn=3317,Bn=37440,Ln=37441,Dn=37443,In=37444,jn=33984,Rn=[wn,En,_n,kn],Fn=[0,jr,Rr,Ir,Lr],Nn={};function zn(e){return"[object "+e+"]"}Nn[jr]=Nn[Dr]=Nn[Wr]=1,Nn[Kr]=Nn[Rr]=2,Nn[Ir]=Nn[qr]=3,Nn[Lr]=Nn[Gr]=4;var Un=zn("HTMLCanvasElement"),Hn=zn("OffscreenCanvas"),Vn=zn("CanvasRenderingContext2D"),Qn=zn("ImageBitmap"),Wn=zn("HTMLImageElement"),Kn=zn("HTMLVideoElement"),qn=Object.keys(Lt).concat([Un,Hn,Vn,Qn,Wn,Kn]),Gn=[];Gn[un]=1,Gn[pn]=4,Gn[$r]=2,Gn[cn]=2,Gn[fn]=4;var $n=[];function Yn(e){return Array.isArray(e)&&(0===e.length||"number"===typeof e[0])}function Xn(e){if(!Array.isArray(e))return!1;var t=e.length;return!(0===t||!Cr(e[0]))}function Zn(e){return Object.prototype.toString.call(e)}function Jn(e){return Zn(e)===Un}function ei(e){return Zn(e)===Hn}function ti(e){return Zn(e)===Vn}function ri(e){return Zn(e)===Qn}function ni(e){return Zn(e)===Wn}function ii(e){return Zn(e)===Kn}function oi(e){if(!e)return!1;var t=Zn(e);return qn.indexOf(t)>=0||(Yn(e)||Xn(e)||Et(e))}function ai(e){return 0|Lt[Object.prototype.toString.call(e)]}function si(e,t){var r=t.length;switch(e.type){case un:case cn:case fn:case pn:var n=Fe.allocType(e.type,r);n.set(t),e.data=n;break;case $r:e.data=Tr(t);break;default:ne.raise("unsupported texture type, must specify a typed array")}}function li(e,t){return Fe.allocType(e.type===$r?pn:e.type,t)}function ui(e,t){e.type===$r?(e.data=Tr(t),Fe.freeType(t)):e.data=t}function ci(e,t,r,n,i,o){for(var a=e.width,s=e.height,l=e.channels,u=a*s*l,c=li(e,u),f=0,p=0;p<s;++p)for(var d=0;d<a;++d)for(var h=0;h<l;++h)c[f++]=t[r*d+n*p+i*h+o];ui(e,c)}function fi(e,t,r,n,i,o){var a;if(a="undefined"!==typeof $n[e]?$n[e]:Nn[e]*Gn[t],o&&(a*=6),i){var s=0,l=r;while(l>=1)s+=a*l*l,l/=2;return s}return a*r*n}function pi(r,n,i,o,a,s,l){var u={"don't care":Cn,"dont care":Cn,nice:On,fast:Sn},c={repeat:vn,clamp:mn,mirror:gn},f={nearest:xn,linear:An},p=t({mipmap:kn,"nearest mipmap nearest":wn,"linear mipmap nearest":_n,"nearest mipmap linear":En,"linear mipmap linear":kn},f),d={none:0,browser:In},h={uint8:un,rgba4:Ur,rgb565:Vr,"rgb5 a1":Hr},v={alpha:Dr,luminance:jr,"luminance alpha":Rr,rgb:Ir,rgba:Lr,rgba4:Fr,"rgb5 a1":Nr,rgb565:zr},m={};n.ext_srgb&&(v.srgb=qr,v.srgba=Gr),n.oes_texture_float&&(h.float32=h.float=pn),n.oes_texture_half_float&&(h["float16"]=h["half float"]=$r),n.webgl_depth_texture&&(t(v,{depth:Wr,"depth stencil":Kr}),t(h,{uint16:cn,uint32:fn,"depth stencil":Qr})),n.webgl_compressed_texture_s3tc&&t(m,{"rgb s3tc dxt1":Yr,"rgba s3tc dxt1":Xr,"rgba s3tc dxt3":Zr,"rgba s3tc dxt5":Jr}),n.webgl_compressed_texture_atc&&t(m,{"rgb atc":en,"rgba atc explicit alpha":tn,"rgba atc interpolated alpha":rn}),n.webgl_compressed_texture_pvrtc&&t(m,{"rgb pvrtc 4bppv1":nn,"rgb pvrtc 2bppv1":on,"rgba pvrtc 4bppv1":an,"rgba pvrtc 2bppv1":sn}),n.webgl_compressed_texture_etc1&&(m["rgb etc1"]=ln);var g=Array.prototype.slice.call(r.getParameter(Or));Object.keys(m).forEach((function(e){var t=m[e];g.indexOf(t)>=0&&(v[e]=t)}));var y=Object.keys(v);i.textureFormats=y;var b=[];Object.keys(v).forEach((function(e){var t=v[e];b[t]=e}));var x=[];Object.keys(h).forEach((function(e){var t=h[e];x[t]=e}));var A=[];Object.keys(f).forEach((function(e){var t=f[e];A[t]=e}));var w=[];Object.keys(p).forEach((function(e){var t=p[e];w[t]=e}));var _=[];Object.keys(c).forEach((function(e){var t=c[e];_[t]=e}));var E=y.reduce((function(e,t){var r=v[t];return r===jr||r===Dr||r===jr||r===Rr||r===Wr||r===Kr||n.ext_srgb&&(r===qr||r===Gr)?e[r]=r:r===Nr||t.indexOf("rgba")>=0?e[r]=Lr:e[r]=Ir,e}),{});function k(){this.internalformat=Lr,this.format=Lr,this.type=un,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=In,this.width=0,this.height=0,this.channels=0}function T(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function C(e,t){if("object"===typeof t&&t){if("premultiplyAlpha"in t&&(ne.type(t.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),e.premultiplyAlpha=t.premultiplyAlpha),"flipY"in t&&(ne.type(t.flipY,"boolean","invalid texture flip"),e.flipY=t.flipY),"alignment"in t&&(ne.oneOf(t.alignment,[1,2,4,8],"invalid texture unpack alignment"),e.unpackAlignment=t.alignment),"colorSpace"in t&&(ne.parameter(t.colorSpace,d,"invalid colorSpace"),e.colorSpace=d[t.colorSpace]),"type"in t){var r=t.type;ne(n.oes_texture_float||!("float"===r||"float32"===r),"you must enable the OES_texture_float extension in order to use floating point textures."),ne(n.oes_texture_half_float||!("half float"===r||"float16"===r),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),ne(n.webgl_depth_texture||!("uint16"===r||"uint32"===r||"depth stencil"===r),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),ne.parameter(r,h,"invalid texture type"),e.type=h[r]}var o=e.width,a=e.height,s=e.channels,l=!1;"shape"in t?(ne(Array.isArray(t.shape)&&t.shape.length>=2,"shape must be an array"),o=t.shape[0],a=t.shape[1],3===t.shape.length&&(s=t.shape[2],ne(s>0&&s<=4,"invalid number of channels"),l=!0),ne(o>=0&&o<=i.maxTextureSize,"invalid width"),ne(a>=0&&a<=i.maxTextureSize,"invalid height")):("radius"in t&&(o=a=t.radius,ne(o>=0&&o<=i.maxTextureSize,"invalid radius")),"width"in t&&(o=t.width,ne(o>=0&&o<=i.maxTextureSize,"invalid width")),"height"in t&&(a=t.height,ne(a>=0&&a<=i.maxTextureSize,"invalid height")),"channels"in t&&(s=t.channels,ne(s>0&&s<=4,"invalid number of channels"),l=!0)),e.width=0|o,e.height=0|a,e.channels=0|s;var u=!1;if("format"in t){var c=t.format;ne(n.webgl_depth_texture||!("depth"===c||"depth stencil"===c),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),ne.parameter(c,v,"invalid texture format");var f=e.internalformat=v[c];e.format=E[f],c in h&&("type"in t||(e.type=h[c])),c in m&&(e.compressed=!0),u=!0}!l&&u?e.channels=Nn[e.format]:l&&!u?e.channels!==Fn[e.format]&&(e.format=e.internalformat=Fn[e.channels]):u&&l&&ne(e.channels===Nn[e.format],"number of channels inconsistent with specified format")}}function S(e){r.pixelStorei(Bn,e.flipY),r.pixelStorei(Ln,e.premultiplyAlpha),r.pixelStorei(Dn,e.colorSpace),r.pixelStorei(Pn,e.unpackAlignment)}function O(){k.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function M(t,r){var n=null;if(oi(r)?n=r:r&&(ne.type(r,"object","invalid pixel data type"),C(t,r),"x"in r&&(t.xOffset=0|r.x),"y"in r&&(t.yOffset=0|r.y),oi(r.data)&&(n=r.data)),ne(!t.compressed||n instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),r.copy){ne(!n,"can not specify copy and data field for the same texture");var o=a.viewportWidth,s=a.viewportHeight;t.width=t.width||o-t.xOffset,t.height=t.height||s-t.yOffset,t.needsCopy=!0,ne(t.xOffset>=0&&t.xOffset<o&&t.yOffset>=0&&t.yOffset<s&&t.width>0&&t.width<=o&&t.height>0&&t.height<=s,"copy texture read out of bounds")}else if(n){if(e(n))t.channels=t.channels||4,t.data=n,"type"in r||t.type!==un||(t.type=ai(n));else if(Yn(n))t.channels=t.channels||4,si(t,n),t.alignment=1,t.needsFree=!0;else if(Et(n)){var l=n.data;Array.isArray(l)||t.type!==un||(t.type=ai(l));var u,c,f,p,d,h,v=n.shape,m=n.stride;3===v.length?(f=v[2],h=m[2]):(ne(2===v.length,"invalid ndarray pixel data, must be 2 or 3D"),f=1,h=1),u=v[0],c=v[1],p=m[0],d=m[1],t.alignment=1,t.width=u,t.height=c,t.channels=f,t.format=t.internalformat=Fn[f],t.needsFree=!0,ci(t,l,p,d,h,n.offset)}else if(Jn(n)||ei(n)||ti(n))Jn(n)||ei(n)?t.element=n:t.element=n.canvas,t.width=t.element.width,t.height=t.element.height,t.channels=4;else if(ri(n))t.element=n,t.width=n.width,t.height=n.height,t.channels=4;else if(ni(n))t.element=n,t.width=n.naturalWidth,t.height=n.naturalHeight,t.channels=4;else if(ii(n))t.element=n,t.width=n.videoWidth,t.height=n.videoHeight,t.channels=4;else if(Xn(n)){var g=t.width||n[0].length,y=t.height||n.length,b=t.channels;b=Cr(n[0][0])?b||n[0][0].length:b||1;for(var x=Tt.shape(n),A=1,w=0;w<x.length;++w)A*=x[w];var _=li(t,A);Tt.flatten(n,x,"",_),ui(t,_),t.alignment=1,t.width=g,t.height=y,t.channels=b,t.format=t.internalformat=Fn[b],t.needsFree=!0}}else t.width=t.width||1,t.height=t.height||1,t.channels=t.channels||4;t.type===pn?ne(i.extensions.indexOf("oes_texture_float")>=0,"oes_texture_float extension not enabled"):t.type===$r&&ne(i.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function P(e,t,n){var i=e.element,a=e.data,s=e.internalformat,l=e.format,u=e.type,c=e.width,f=e.height;S(e),i?r.texImage2D(t,n,l,l,u,i):e.compressed?r.compressedTexImage2D(t,n,s,c,f,0,a):e.needsCopy?(o(),r.copyTexImage2D(t,n,l,e.xOffset,e.yOffset,c,f,0)):r.texImage2D(t,n,l,c,f,0,l,u,a||null)}function B(e,t,n,i,a){var s=e.element,l=e.data,u=e.internalformat,c=e.format,f=e.type,p=e.width,d=e.height;S(e),s?r.texSubImage2D(t,a,n,i,c,f,s):e.compressed?r.compressedTexSubImage2D(t,a,n,i,u,p,d,l):e.needsCopy?(o(),r.copyTexSubImage2D(t,a,n,i,e.xOffset,e.yOffset,p,d)):r.texSubImage2D(t,a,n,i,p,d,c,f,l)}var L=[];function D(){return L.pop()||new O}function I(e){e.needsFree&&Fe.freeType(e.data),O.call(e),L.push(e)}function j(){k.call(this),this.genMipmaps=!1,this.mipmapHint=Cn,this.mipmask=0,this.images=Array(16)}function R(e,t,r){var n=e.images[0]=D();e.mipmask=1,n.width=e.width=t,n.height=e.height=r,n.channels=e.channels=4}function F(e,t){var r=null;if(oi(t))r=e.images[0]=D(),T(r,e),M(r,t),e.mipmask=1;else if(C(e,t),Array.isArray(t.mipmap))for(var n=t.mipmap,i=0;i<n.length;++i)r=e.images[i]=D(),T(r,e),r.width>>=i,r.height>>=i,M(r,n[i]),e.mipmask|=1<<i;else r=e.images[0]=D(),T(r,e),M(r,t),e.mipmask=1;T(e,e.images[0]),!e.compressed||e.internalformat!==Yr&&e.internalformat!==Xr&&e.internalformat!==Zr&&e.internalformat!==Jr||ne(e.width%4===0&&e.height%4===0,"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4")}function N(e,t){for(var r=e.images,n=0;n<r.length;++n){if(!r[n])return;P(r[n],t,n)}}var z=[];function U(){var e=z.pop()||new j;k.call(e),e.mipmask=0;for(var t=0;t<16;++t)e.images[t]=null;return e}function H(e){for(var t=e.images,r=0;r<t.length;++r)t[r]&&I(t[r]),t[r]=null;z.push(e)}function V(){this.minFilter=xn,this.magFilter=xn,this.wrapS=mn,this.wrapT=mn,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Cn}function Q(e,t){if("min"in t){var r=t.min;ne.parameter(r,p),e.minFilter=p[r],Rn.indexOf(e.minFilter)>=0&&!("faces"in t)&&(e.genMipmaps=!0)}if("mag"in t){var n=t.mag;ne.parameter(n,f),e.magFilter=f[n]}var o=e.wrapS,a=e.wrapT;if("wrap"in t){var s=t.wrap;"string"===typeof s?(ne.parameter(s,c),o=a=c[s]):Array.isArray(s)&&(ne.parameter(s[0],c),ne.parameter(s[1],c),o=c[s[0]],a=c[s[1]])}else{if("wrapS"in t){var l=t.wrapS;ne.parameter(l,c),o=c[l]}if("wrapT"in t){var d=t.wrapT;ne.parameter(d,c),a=c[d]}}if(e.wrapS=o,e.wrapT=a,"anisotropic"in t){var h=t.anisotropic;ne("number"===typeof h&&h>=1&&h<=i.maxAnisotropic,"aniso samples must be between 1 and "),e.anisotropic=t.anisotropic}if("mipmap"in t){var v=!1;switch(typeof t.mipmap){case"string":ne.parameter(t.mipmap,u,"invalid mipmap hint"),e.mipmapHint=u[t.mipmap],e.genMipmaps=!0,v=!0;break;case"boolean":v=e.genMipmaps=t.mipmap;break;case"object":ne(Array.isArray(t.mipmap),"invalid mipmap type"),e.genMipmaps=!1,v=!0;break;default:ne.raise("invalid mipmap type")}v&&!("min"in t)&&(e.minFilter=wn)}}function W(e,t){r.texParameteri(t,bn,e.minFilter),r.texParameteri(t,yn,e.magFilter),r.texParameteri(t,dn,e.wrapS),r.texParameteri(t,hn,e.wrapT),n.ext_texture_filter_anisotropic&&r.texParameteri(t,Mn,e.anisotropic),e.genMipmaps&&(r.hint(Tn,e.mipmapHint),r.generateMipmap(t))}var K=0,q={},G=i.maxTextureUnits,$=Array(G).map((function(){return null}));function Y(e){k.call(this),this.mipmask=0,this.internalformat=Lr,this.id=K++,this.refCount=1,this.target=e,this.texture=r.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new V,l.profile&&(this.stats={size:0})}function X(e){r.activeTexture(jn),r.bindTexture(e.target,e.texture)}function Z(){var e=$[0];e?r.bindTexture(e.target,e.texture):r.bindTexture(Mr,null)}function J(e){var t=e.texture;ne(t,"must not double destroy texture");var n=e.unit,i=e.target;n>=0&&(r.activeTexture(jn+n),r.bindTexture(i,null),$[n]=null),r.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete q[e.id],s.textureCount--}function ee(e,t){var n=new Y(Mr);function o(e,t){var r=n.texInfo;V.call(r);var a=U();return"number"===typeof e?R(a,0|e,"number"===typeof t?0|t:0|e):e?(ne.type(e,"object","invalid arguments to regl.texture"),Q(r,e),F(a,e)):R(a,1,1),r.genMipmaps&&(a.mipmask=(a.width<<1)-1),n.mipmask=a.mipmask,T(n,a),ne.texture2D(r,a,i),n.internalformat=a.internalformat,o.width=a.width,o.height=a.height,X(n),N(a,Mr),W(r,Mr),Z(),H(a),l.profile&&(n.stats.size=fi(n.internalformat,n.type,a.width,a.height,r.genMipmaps,!1)),o.format=b[n.internalformat],o.type=x[n.type],o.mag=A[r.magFilter],o.min=w[r.minFilter],o.wrapS=_[r.wrapS],o.wrapT=_[r.wrapT],o}function a(e,t,r,i){ne(!!e,"must specify image data");var a=0|t,s=0|r,l=0|i,u=D();return T(u,n),u.width=0,u.height=0,M(u,e),u.width=u.width||(n.width>>l)-a,u.height=u.height||(n.height>>l)-s,ne(n.type===u.type&&n.format===u.format&&n.internalformat===u.internalformat,"incompatible format for texture.subimage"),ne(a>=0&&s>=0&&a+u.width<=n.width&&s+u.height<=n.height,"texture.subimage write out of bounds"),ne(n.mipmask&1<<l,"missing mipmap data"),ne(u.data||u.element||u.needsCopy,"missing image data"),X(n),B(u,Mr,a,s,l),Z(),I(u),o}function u(e,t){var i=0|e,a=0|t||i;if(i===n.width&&a===n.height)return o;o.width=n.width=i,o.height=n.height=a,X(n);for(var s=0;n.mipmask>>s;++s){var u=i>>s,c=a>>s;if(!u||!c)break;r.texImage2D(Mr,s,n.format,u,c,0,n.format,n.type,null)}return Z(),l.profile&&(n.stats.size=fi(n.internalformat,n.type,i,a,!1,!1)),o}return q[n.id]=n,s.textureCount++,o(e,t),o.subimage=a,o.resize=u,o._reglType="texture2d",o._texture=n,l.profile&&(o.stats=n.stats),o.destroy=function(){n.decRef()},o}function te(e,t,n,o,a,u){var c=new Y(Pr);q[c.id]=c,s.cubeCount++;var f=new Array(6);function p(e,t,r,n,o,a){var s,u=c.texInfo;for(V.call(u),s=0;s<6;++s)f[s]=U();if("number"!==typeof e&&e)if("object"===typeof e)if(t)F(f[0],e),F(f[1],t),F(f[2],r),F(f[3],n),F(f[4],o),F(f[5],a);else if(Q(u,e),C(c,e),"faces"in e){var d=e.faces;for(ne(Array.isArray(d)&&6===d.length,"cube faces must be a length 6 array"),s=0;s<6;++s)ne("object"===typeof d[s]&&!!d[s],"invalid input for cube map face"),T(f[s],c),F(f[s],d[s])}else for(s=0;s<6;++s)F(f[s],e);else ne.raise("invalid arguments to cube map");else{var h=0|e||1;for(s=0;s<6;++s)R(f[s],h,h)}for(T(c,f[0]),i.npotTextureCube||ne(Sr(c.width)&&Sr(c.height),"your browser does not support non power or two texture dimensions"),u.genMipmaps?c.mipmask=(f[0].width<<1)-1:c.mipmask=f[0].mipmask,ne.textureCube(c,u,f,i),c.internalformat=f[0].internalformat,p.width=f[0].width,p.height=f[0].height,X(c),s=0;s<6;++s)N(f[s],Br+s);for(W(u,Pr),Z(),l.profile&&(c.stats.size=fi(c.internalformat,c.type,p.width,p.height,u.genMipmaps,!0)),p.format=b[c.internalformat],p.type=x[c.type],p.mag=A[u.magFilter],p.min=w[u.minFilter],p.wrapS=_[u.wrapS],p.wrapT=_[u.wrapT],s=0;s<6;++s)H(f[s]);return p}function d(e,t,r,n,i){ne(!!t,"must specify image data"),ne("number"===typeof e&&e===(0|e)&&e>=0&&e<6,"invalid face");var o=0|r,a=0|n,s=0|i,l=D();return T(l,c),l.width=0,l.height=0,M(l,t),l.width=l.width||(c.width>>s)-o,l.height=l.height||(c.height>>s)-a,ne(c.type===l.type&&c.format===l.format&&c.internalformat===l.internalformat,"incompatible format for texture.subimage"),ne(o>=0&&a>=0&&o+l.width<=c.width&&a+l.height<=c.height,"texture.subimage write out of bounds"),ne(c.mipmask&1<<s,"missing mipmap data"),ne(l.data||l.element||l.needsCopy,"missing image data"),X(c),B(l,Br+e,o,a,s),Z(),I(l),p}function h(e){var t=0|e;if(t!==c.width){p.width=c.width=t,p.height=c.height=t,X(c);for(var n=0;n<6;++n)for(var i=0;c.mipmask>>i;++i)r.texImage2D(Br+n,i,c.format,t>>i,t>>i,0,c.format,c.type,null);return Z(),l.profile&&(c.stats.size=fi(c.internalformat,c.type,p.width,p.height,!1,!0)),p}}return p(e,t,n,o,a,u),p.subimage=d,p.resize=h,p._reglType="textureCube",p._texture=c,l.profile&&(p.stats=c.stats),p.destroy=function(){c.decRef()},p}function re(){for(var e=0;e<G;++e)r.activeTexture(jn+e),r.bindTexture(Mr,null),$[e]=null;kt(q).forEach(J),s.cubeCount=0,s.textureCount=0}function ie(){for(var e=0;e<G;++e){var t=$[e];t&&(t.bindCount=0,t.unit=-1,$[e]=null)}kt(q).forEach((function(e){e.texture=r.createTexture(),r.bindTexture(e.target,e.texture);for(var t=0;t<32;++t)if(0!==(e.mipmask&1<<t))if(e.target===Mr)r.texImage2D(Mr,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);else for(var n=0;n<6;++n)r.texImage2D(Br+n,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);W(e.texInfo,e.target)}))}function oe(){for(var e=0;e<G;++e){var t=$[e];t&&(t.bindCount=0,t.unit=-1,$[e]=null),r.activeTexture(jn+e),r.bindTexture(Mr,null),r.bindTexture(Pr,null)}}return t(Y.prototype,{bind:function(){var e=this;e.bindCount+=1;var t=e.unit;if(t<0){for(var n=0;n<G;++n){var i=$[n];if(i){if(i.bindCount>0)continue;i.unit=-1}$[n]=e,t=n;break}t>=G&&ne.raise("insufficient number of texture units"),l.profile&&s.maxTextureUnits<t+1&&(s.maxTextureUnits=t+1),e.unit=t,r.activeTexture(jn+t),r.bindTexture(e.target,e.texture)}return t},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&J(this)}}),l.profile&&(s.getTotalTextureSize=function(){var e=0;return Object.keys(q).forEach((function(t){e+=q[t].stats.size})),e}),{create2D:ee,createCube:te,clear:re,getTexture:function(e){return null},restore:ie,refresh:oe}}$n[Fr]=2,$n[Nr]=2,$n[zr]=2,$n[Kr]=4,$n[Yr]=.5,$n[Xr]=.5,$n[Zr]=1,$n[Jr]=1,$n[en]=.5,$n[tn]=1,$n[rn]=1,$n[nn]=.5,$n[on]=.25,$n[an]=.5,$n[sn]=.25,$n[ln]=.5;var di=36161,hi=32854,vi=32855,mi=36194,gi=33189,yi=36168,bi=34041,xi=35907,Ai=34836,wi=34842,_i=34843,Ei=[];function ki(e,t,r){return Ei[e]*t*r}Ei[hi]=2,Ei[vi]=2,Ei[mi]=2,Ei[gi]=2,Ei[yi]=1,Ei[bi]=4,Ei[xi]=4,Ei[Ai]=16,Ei[wi]=8,Ei[_i]=6;var Ti=function(e,t,r,n,i){var o={rgba4:hi,rgb565:mi,"rgb5 a1":vi,depth:gi,stencil:yi,"depth stencil":bi};t.ext_srgb&&(o["srgba"]=xi),t.ext_color_buffer_half_float&&(o["rgba16f"]=wi,o["rgb16f"]=_i),t.webgl_color_buffer_float&&(o["rgba32f"]=Ai);var a=[];Object.keys(o).forEach((function(e){var t=o[e];a[t]=e}));var s=0,l={};function u(e){this.id=s++,this.refCount=1,this.renderbuffer=e,this.format=hi,this.width=0,this.height=0,i.profile&&(this.stats={size:0})}function c(t){var r=t.renderbuffer;ne(r,"must not double destroy renderbuffer"),e.bindRenderbuffer(di,null),e.deleteRenderbuffer(r),t.renderbuffer=null,t.refCount=0,delete l[t.id],n.renderbufferCount--}function f(t,s){var c=new u(e.createRenderbuffer());function f(t,n){var s=0,l=0,u=hi;if("object"===typeof t&&t){var p=t;if("shape"in p){var d=p.shape;ne(Array.isArray(d)&&d.length>=2,"invalid renderbuffer shape"),s=0|d[0],l=0|d[1]}else"radius"in p&&(s=l=0|p.radius),"width"in p&&(s=0|p.width),"height"in p&&(l=0|p.height);"format"in p&&(ne.parameter(p.format,o,"invalid renderbuffer format"),u=o[p.format])}else"number"===typeof t?(s=0|t,l="number"===typeof n?0|n:s):t?ne.raise("invalid arguments to renderbuffer constructor"):s=l=1;if(ne(s>0&&l>0&&s<=r.maxRenderbufferSize&&l<=r.maxRenderbufferSize,"invalid renderbuffer size"),s!==c.width||l!==c.height||u!==c.format)return f.width=c.width=s,f.height=c.height=l,c.format=u,e.bindRenderbuffer(di,c.renderbuffer),e.renderbufferStorage(di,u,s,l),ne(0===e.getError(),"invalid render buffer format"),i.profile&&(c.stats.size=ki(c.format,c.width,c.height)),f.format=a[c.format],f}function p(t,n){var o=0|t,a=0|n||o;return o===c.width&&a===c.height||(ne(o>0&&a>0&&o<=r.maxRenderbufferSize&&a<=r.maxRenderbufferSize,"invalid renderbuffer size"),f.width=c.width=o,f.height=c.height=a,e.bindRenderbuffer(di,c.renderbuffer),e.renderbufferStorage(di,c.format,o,a),ne(0===e.getError(),"invalid render buffer format"),i.profile&&(c.stats.size=ki(c.format,c.width,c.height))),f}return l[c.id]=c,n.renderbufferCount++,f(t,s),f.resize=p,f._reglType="renderbuffer",f._renderbuffer=c,i.profile&&(f.stats=c.stats),f.destroy=function(){c.decRef()},f}function p(){kt(l).forEach((function(t){t.renderbuffer=e.createRenderbuffer(),e.bindRenderbuffer(di,t.renderbuffer),e.renderbufferStorage(di,t.format,t.width,t.height)})),e.bindRenderbuffer(di,null)}return u.prototype.decRef=function(){--this.refCount<=0&&c(this)},i.profile&&(n.getTotalRenderbufferSize=function(){var e=0;return Object.keys(l).forEach((function(t){e+=l[t].stats.size})),e}),{create:f,clear:function(){kt(l).forEach(c)},restore:p}},Ci=36160,Si=36161,Oi=3553,Mi=34069,Pi=36064,Bi=36096,Li=36128,Di=33306,Ii=36053,ji=36054,Ri=36055,Fi=36057,Ni=36061,zi=36193,Ui=5121,Hi=5126,Vi=6407,Qi=6408,Wi=6402,Ki=[Vi,Qi],qi=[];qi[Qi]=4,qi[Vi]=3;var Gi=[];Gi[Ui]=1,Gi[Hi]=4,Gi[zi]=2;var $i=32854,Yi=32855,Xi=36194,Zi=33189,Ji=36168,eo=34041,to=35907,ro=34836,no=34842,io=34843,oo=[$i,Yi,Xi,to,no,io,ro],ao={};function so(e,r,n,i,o,a){var s={cur:null,next:null,dirty:!1,setFBO:null},l=["rgba"],u=["rgba4","rgb565","rgb5 a1"];r.ext_srgb&&u.push("srgba"),r.ext_color_buffer_half_float&&u.push("rgba16f","rgb16f"),r.webgl_color_buffer_float&&u.push("rgba32f");var c=["uint8"];function f(e,t,r){this.target=e,this.texture=t,this.renderbuffer=r;var n=0,i=0;t?(n=t.width,i=t.height):r&&(n=r.width,i=r.height),this.width=n,this.height=i}function p(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer&&e.renderbuffer._renderbuffer.decRef())}function d(e,t,r){if(e)if(e.texture){var n=e.texture._texture,i=Math.max(1,n.width),o=Math.max(1,n.height);ne(i===t&&o===r,"inconsistent width/height for supplied texture"),n.refCount+=1}else{var a=e.renderbuffer._renderbuffer;ne(a.width===t&&a.height===r,"inconsistent width/height for renderbuffer"),a.refCount+=1}}function h(t,r){r&&(r.texture?e.framebufferTexture2D(Ci,t,r.target,r.texture._texture.texture,0):e.framebufferRenderbuffer(Ci,t,Si,r.renderbuffer._renderbuffer.renderbuffer))}function v(e){var t=Oi,r=null,n=null,i=e;"object"===typeof e&&(i=e.data,"target"in e&&(t=0|e.target)),ne.type(i,"function","invalid attachment data");var o=i._reglType;return"texture2d"===o?(r=i,ne(t===Oi)):"textureCube"===o?(r=i,ne(t>=Mi&&t<Mi+6,"invalid cube map target")):"renderbuffer"===o?(n=i,t=Si):ne.raise("invalid regl object for attachment"),new f(t,r,n)}function m(e,t,r,n,a){if(r){var s=i.create2D({width:e,height:t,format:n,type:a});return s._texture.refCount=0,new f(Oi,s,null)}var l=o.create({width:e,height:t,format:n});return l._renderbuffer.refCount=0,new f(Si,null,l)}function g(e){return e&&(e.texture||e.renderbuffer)}function y(e,t,r){e&&(e.texture?e.texture.resize(t,r):e.renderbuffer&&e.renderbuffer.resize(t,r),e.width=t,e.height=r)}r.oes_texture_half_float&&c.push("half float","float16"),r.oes_texture_float&&c.push("float","float32");var b=0,x={};function A(){this.id=b++,x[this.id]=this,this.framebuffer=e.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function w(e){e.colorAttachments.forEach(p),p(e.depthAttachment),p(e.stencilAttachment),p(e.depthStencilAttachment)}function _(t){var r=t.framebuffer;ne(r,"must not double destroy framebuffer"),e.deleteFramebuffer(r),t.framebuffer=null,a.framebufferCount--,delete x[t.id]}function E(t){var r;e.bindFramebuffer(Ci,t.framebuffer);var i=t.colorAttachments;for(r=0;r<i.length;++r)h(Pi+r,i[r]);for(r=i.length;r<n.maxColorAttachments;++r)e.framebufferTexture2D(Ci,Pi+r,Oi,null,0);e.framebufferTexture2D(Ci,Di,Oi,null,0),e.framebufferTexture2D(Ci,Bi,Oi,null,0),e.framebufferTexture2D(Ci,Li,Oi,null,0),h(Bi,t.depthAttachment),h(Li,t.stencilAttachment),h(Di,t.depthStencilAttachment);var o=e.checkFramebufferStatus(Ci);e.isContextLost()||o===Ii||ne.raise("framebuffer configuration not supported, status = "+ao[o]),e.bindFramebuffer(Ci,s.next?s.next.framebuffer:null),s.cur=s.next,e.getError()}function k(e,i){var o=new A;function f(e,t){var i;ne(s.next!==o,"can not update framebuffer which is currently in use");var a=0,p=0,h=!0,y=!0,b=null,x=!0,A="rgba",_="uint8",k=1,T=null,C=null,S=null,O=!1;if("number"===typeof e)a=0|e,p=0|t||a;else if(e){ne.type(e,"object","invalid arguments for framebuffer");var M=e;if("shape"in M){var P=M.shape;ne(Array.isArray(P)&&P.length>=2,"invalid shape for framebuffer"),a=P[0],p=P[1]}else"radius"in M&&(a=p=M.radius),"width"in M&&(a=M.width),"height"in M&&(p=M.height);("color"in M||"colors"in M)&&(b=M.color||M.colors,Array.isArray(b)&&ne(1===b.length||r.webgl_draw_buffers,"multiple render targets not supported")),b||("colorCount"in M&&(k=0|M.colorCount,ne(k>0,"invalid color buffer count")),"colorTexture"in M&&(x=!!M.colorTexture,A="rgba4"),"colorType"in M&&(_=M.colorType,x?(ne(r.oes_texture_float||!("float"===_||"float32"===_),"you must enable OES_texture_float in order to use floating point framebuffer objects"),ne(r.oes_texture_half_float||!("half float"===_||"float16"===_),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):"half float"===_||"float16"===_?(ne(r.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),A="rgba16f"):"float"!==_&&"float32"!==_||(ne(r.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),A="rgba32f"),ne.oneOf(_,c,"invalid color type")),"colorFormat"in M&&(A=M.colorFormat,l.indexOf(A)>=0?x=!0:u.indexOf(A)>=0?x=!1:x?ne.oneOf(M.colorFormat,l,"invalid color format for texture"):ne.oneOf(M.colorFormat,u,"invalid color format for renderbuffer"))),("depthTexture"in M||"depthStencilTexture"in M)&&(O=!(!M.depthTexture&&!M.depthStencilTexture),ne(!O||r.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in M&&("boolean"===typeof M.depth?h=M.depth:(T=M.depth,y=!1)),"stencil"in M&&("boolean"===typeof M.stencil?y=M.stencil:(C=M.stencil,h=!1)),"depthStencil"in M&&("boolean"===typeof M.depthStencil?h=y=M.depthStencil:(S=M.depthStencil,h=!1,y=!1))}else a=p=1;var B=null,L=null,D=null,I=null;if(Array.isArray(b))B=b.map(v);else if(b)B=[v(b)];else for(B=new Array(k),i=0;i<k;++i)B[i]=m(a,p,x,A,_);ne(r.webgl_draw_buffers||B.length<=1,"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers."),ne(B.length<=n.maxColorAttachments,"too many color attachments, not supported"),a=a||B[0].width,p=p||B[0].height,T?L=v(T):h&&!y&&(L=m(a,p,O,"depth","uint32")),C?D=v(C):y&&!h&&(D=m(a,p,!1,"stencil","uint8")),S?I=v(S):!T&&!C&&y&&h&&(I=m(a,p,O,"depth stencil","depth stencil")),ne(!!T+!!C+!!S<=1,"invalid framebuffer configuration, can specify exactly one depth/stencil attachment");var j=null;for(i=0;i<B.length;++i)if(d(B[i],a,p),ne(!B[i]||B[i].texture&&Ki.indexOf(B[i].texture._texture.format)>=0||B[i].renderbuffer&&oo.indexOf(B[i].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+i+" is invalid"),B[i]&&B[i].texture){var R=qi[B[i].texture._texture.format]*Gi[B[i].texture._texture.type];null===j?j=R:ne(j===R,"all color attachments much have the same number of bits per pixel.")}return d(L,a,p),ne(!L||L.texture&&L.texture._texture.format===Wi||L.renderbuffer&&L.renderbuffer._renderbuffer.format===Zi,"invalid depth attachment for framebuffer object"),d(D,a,p),ne(!D||D.renderbuffer&&D.renderbuffer._renderbuffer.format===Ji,"invalid stencil attachment for framebuffer object"),d(I,a,p),ne(!I||I.texture&&I.texture._texture.format===eo||I.renderbuffer&&I.renderbuffer._renderbuffer.format===eo,"invalid depth-stencil attachment for framebuffer object"),w(o),o.width=a,o.height=p,o.colorAttachments=B,o.depthAttachment=L,o.stencilAttachment=D,o.depthStencilAttachment=I,f.color=B.map(g),f.depth=g(L),f.stencil=g(D),f.depthStencil=g(I),f.width=o.width,f.height=o.height,E(o),f}function p(e,t){ne(s.next!==o,"can not resize a framebuffer which is currently in use");var r=Math.max(0|e,1),n=Math.max(0|t||r,1);if(r===o.width&&n===o.height)return f;for(var i=o.colorAttachments,a=0;a<i.length;++a)y(i[a],r,n);return y(o.depthAttachment,r,n),y(o.stencilAttachment,r,n),y(o.depthStencilAttachment,r,n),o.width=f.width=r,o.height=f.height=n,E(o),f}return a.framebufferCount++,f(e,i),t(f,{resize:p,_reglType:"framebuffer",_framebuffer:o,destroy:function(){_(o),w(o)},use:function(e){s.setFBO({framebuffer:f},e)}})}function T(e){var o=Array(6);function a(e){var n;ne(o.indexOf(s.next)<0,"can not update framebuffer which is currently in use");var u,f={color:null},p=0,d=null,h="rgba",v="uint8",m=1;if("number"===typeof e)p=0|e;else if(e){ne.type(e,"object","invalid arguments for framebuffer");var g=e;if("shape"in g){var y=g.shape;ne(Array.isArray(y)&&y.length>=2,"invalid shape for framebuffer"),ne(y[0]===y[1],"cube framebuffer must be square"),p=y[0]}else"radius"in g&&(p=0|g.radius),"width"in g?(p=0|g.width,"height"in g&&ne(g.height===p,"must be square")):"height"in g&&(p=0|g.height);("color"in g||"colors"in g)&&(d=g.color||g.colors,Array.isArray(d)&&ne(1===d.length||r.webgl_draw_buffers,"multiple render targets not supported")),d||("colorCount"in g&&(m=0|g.colorCount,ne(m>0,"invalid color buffer count")),"colorType"in g&&(ne.oneOf(g.colorType,c,"invalid color type"),v=g.colorType),"colorFormat"in g&&(h=g.colorFormat,ne.oneOf(g.colorFormat,l,"invalid color format for texture"))),"depth"in g&&(f.depth=g.depth),"stencil"in g&&(f.stencil=g.stencil),"depthStencil"in g&&(f.depthStencil=g.depthStencil)}else p=1;if(d)if(Array.isArray(d))for(u=[],n=0;n<d.length;++n)u[n]=d[n];else u=[d];else{u=Array(m);var b={radius:p,format:h,type:v};for(n=0;n<m;++n)u[n]=i.createCube(b)}for(f.color=Array(u.length),n=0;n<u.length;++n){var x=u[n];ne("function"===typeof x&&"textureCube"===x._reglType,"invalid cube map"),p=p||x.width,ne(x.width===p&&x.height===p,"invalid cube map shape"),f.color[n]={target:Mi,data:u[n]}}for(n=0;n<6;++n){for(var A=0;A<u.length;++A)f.color[A].target=Mi+n;n>0&&(f.depth=o[0].depth,f.stencil=o[0].stencil,f.depthStencil=o[0].depthStencil),o[n]?o[n](f):o[n]=k(f)}return t(a,{width:p,height:p,color:u})}function u(e){var t,r=0|e;if(ne(r>0&&r<=n.maxCubeMapSize,"invalid radius for cube fbo"),r===a.width)return a;var i=a.color;for(t=0;t<i.length;++t)i[t].resize(r);for(t=0;t<6;++t)o[t].resize(r);return a.width=a.height=r,a}return a(e),t(a,{faces:o,resize:u,_reglType:"framebufferCube",destroy:function(){o.forEach((function(e){e.destroy()}))}})}function C(){s.cur=null,s.next=null,s.dirty=!0,kt(x).forEach((function(t){t.framebuffer=e.createFramebuffer(),E(t)}))}return t(s,{getFramebuffer:function(e){if("function"===typeof e&&"framebuffer"===e._reglType){var t=e._framebuffer;if(t instanceof A)return t}return null},create:k,createCube:T,clear:function(){kt(x).forEach(_)},restore:C})}ao[Ii]="complete",ao[ji]="incomplete attachment",ao[Fi]="incomplete dimensions",ao[Ri]="incomplete, missing attachment",ao[Ni]="unsupported";var lo=5126,uo=34962;function co(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=lo,this.offset=0,this.stride=0,this.divisor=0}function fo(t,r,n,i,o){for(var a=n.maxAttributes,s=new Array(a),l=0;l<a;++l)s[l]=new co;var u=0,c={},f={Record:co,scope:{},state:s,currentVAO:null,targetVAO:null,restore:d()?x:function(){},createVAO:A,getVAO:v,destroyBuffer:p,setVAO:d()?m:g,clear:d()?y:function(){}};function p(e){for(var r=0;r<s.length;++r){var n=s[r];n.buffer===e&&(t.disableVertexAttribArray(r),n.buffer=null)}}function d(){return r.oes_vertex_array_object}function h(){return r.angle_instanced_arrays}function v(e){return"function"===typeof e&&e._vao?e._vao:null}function m(e){if(e!==f.currentVAO){var t=d();e?t.bindVertexArrayOES(e.vao):t.bindVertexArrayOES(null),f.currentVAO=e}}function g(e){if(e!==f.currentVAO){if(e)e.bindAttrs();else for(var r=h(),n=0;n<s.length;++n){var i=s[n];i.buffer?(t.enableVertexAttribArray(n),t.vertexAttribPointer(n,i.size,i.type,i.normalized,i.stride,i.offfset),r&&i.divisor&&r.vertexAttribDivisorANGLE(n,i.divisor)):(t.disableVertexAttribArray(n),t.vertexAttrib4f(n,i.x,i.y,i.z,i.w))}f.currentVAO=e}}function y(){kt(c).forEach((function(e){e.destroy()}))}function b(){this.id=++u,this.attributes=[];var e=d();this.vao=e?e.createVertexArrayOES():null,c[this.id]=this,this.buffers=[]}function x(){var e=d();e&&kt(c).forEach((function(e){e.refresh()}))}function A(t){var n=new b;function s(t){ne(Array.isArray(t),"arguments to vertex array constructor must be an array"),ne(t.length<a,"too many attributes"),ne(t.length>0,"must specify at least one attribute");var i={},l=n.attributes;l.length=t.length;for(var u=0;u<t.length;++u){var c,f=t[u],p=l[u]=new co,d=f.data||f;if(Array.isArray(d)||e(d)||Et(d))n.buffers[u]&&(c=n.buffers[u],e(d)&&c._buffer.byteLength>=d.byteLength?c.subdata(d):(c.destroy(),n.buffers[u]=null)),n.buffers[u]||(c=n.buffers[u]=o.create(f,uo,!1,!0)),p.buffer=o.getBuffer(c),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1,i[u]=1;else o.getBuffer(f)?(p.buffer=o.getBuffer(f),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1):o.getBuffer(f.buffer)?(p.buffer=o.getBuffer(f.buffer),p.size=0|(+f.size||p.buffer.dimension),p.normalized=!!f.normalized||!1,"type"in f?(ne.parameter(f.type,Ht,"invalid buffer type"),p.type=Ht[f.type]):p.type=p.buffer.dtype,p.offset=0|(f.offset||0),p.stride=0|(f.stride||0),p.divisor=0|(f.divisor||0),p.state=1,ne(p.size>=1&&p.size<=4,"size must be between 1 and 4"),ne(p.offset>=0,"invalid offset"),ne(p.stride>=0&&p.stride<=255,"stride must be between 0 and 255"),ne(p.divisor>=0,"divisor must be positive"),ne(!p.divisor||!!r.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in f?(ne(u>0,"first attribute must not be a constant"),p.x=+f.x||0,p.y=+f.y||0,p.z=+f.z||0,p.w=+f.w||0,p.state=2):ne(!1,"invalid attribute spec for location "+u)}for(var h=0;h<n.buffers.length;++h)!i[h]&&n.buffers[h]&&(n.buffers[h].destroy(),n.buffers[h]=null);return n.refresh(),s}return i.vaoCount+=1,s.destroy=function(){for(var e=0;e<n.buffers.length;++e)n.buffers[e]&&n.buffers[e].destroy();n.buffers.length=0,n.destroy()},s._vao=n,s._reglType="vao",s(t)}return b.prototype.bindAttrs=function(){for(var e=h(),r=this.attributes,n=0;n<r.length;++n){var i=r[n];i.buffer?(t.enableVertexAttribArray(n),t.bindBuffer(uo,i.buffer.buffer),t.vertexAttribPointer(n,i.size,i.type,i.normalized,i.stride,i.offset),e&&i.divisor&&e.vertexAttribDivisorANGLE(n,i.divisor)):(t.disableVertexAttribArray(n),t.vertexAttrib4f(n,i.x,i.y,i.z,i.w))}for(var o=r.length;o<a;++o)t.disableVertexAttribArray(o)},b.prototype.refresh=function(){var e=d();e&&(e.bindVertexArrayOES(this.vao),this.bindAttrs(),f.currentVAO=this)},b.prototype.destroy=function(){if(this.vao){var e=d();this===f.currentVAO&&(f.currentVAO=null,e.bindVertexArrayOES(null)),e.deleteVertexArrayOES(this.vao),this.vao=null}c[this.id]&&(delete c[this.id],i.vaoCount-=1)},f}var po=35632,ho=35633,vo=35718,mo=35721;function go(e,r,n,i){var o={},a={};function s(e,t,r,n){this.name=e,this.id=t,this.location=r,this.info=n}function l(e,t){for(var r=0;r<e.length;++r)if(e[r].id===t.id)return void(e[r].location=t.location);e.push(t)}function u(t,n,i){var s=t===po?o:a,l=s[n];if(!l){var u=r.str(n);l=e.createShader(t),e.shaderSource(l,u),e.compileShader(l),ne.shaderError(e,l,u,t,i),s[n]=l}return l}var c={},f=[],p=0;function d(e,t){this.id=p++,this.fragId=e,this.vertId=t,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,i.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function h(t,n,o){var a,c,f=u(po,t.fragId),p=u(ho,t.vertId),d=t.program=e.createProgram();if(e.attachShader(d,f),e.attachShader(d,p),o)for(a=0;a<o.length;++a){var h=o[a];e.bindAttribLocation(d,h[0],h[1])}e.linkProgram(d),ne.linkError(e,d,r.str(t.fragId),r.str(t.vertId),n);var v=e.getProgramParameter(d,vo);i.profile&&(t.stats.uniformsCount=v);var m=t.uniforms;for(a=0;a<v;++a)if(c=e.getActiveUniform(d,a),c)if(c.size>1)for(var g=0;g<c.size;++g){var y=c.name.replace("[0]","["+g+"]");l(m,new s(y,r.id(y),e.getUniformLocation(d,y),c))}else l(m,new s(c.name,r.id(c.name),e.getUniformLocation(d,c.name),c));var b=e.getProgramParameter(d,mo);i.profile&&(t.stats.attributesCount=b);var x=t.attributes;for(a=0;a<b;++a)c=e.getActiveAttrib(d,a),c&&l(x,new s(c.name,r.id(c.name),e.getAttribLocation(d,c.name),c))}function v(){o={},a={};for(var e=0;e<f.length;++e)h(f[e],null,f[e].attributes.map((function(e){return[e.location,e.name]})))}return i.profile&&(n.getMaxUniformsCount=function(){var e=0;return f.forEach((function(t){t.stats.uniformsCount>e&&(e=t.stats.uniformsCount)})),e},n.getMaxAttributesCount=function(){var e=0;return f.forEach((function(t){t.stats.attributesCount>e&&(e=t.stats.attributesCount)})),e}),{clear:function(){var t=e.deleteShader.bind(e);kt(o).forEach(t),o={},kt(a).forEach(t),a={},f.forEach((function(t){e.deleteProgram(t.program)})),f.length=0,c={},n.shaderCount=0},program:function(r,i,s,l){ne.command(r>=0,"missing vertex shader",s),ne.command(i>=0,"missing fragment shader",s);var u=c[i];u||(u=c[i]={});var p=u[r];if(p&&(p.refCount++,!l))return p;var v=new d(i,r);return n.shaderCount++,h(v,s,l),p||(u[r]=v),f.push(v),t(v,{destroy:function(){if(v.refCount--,v.refCount<=0){e.deleteProgram(v.program);var t=f.indexOf(v);f.splice(t,1),n.shaderCount--}u[v.vertId].refCount<=0&&(e.deleteShader(a[v.vertId]),delete a[v.vertId],delete c[v.fragId][v.vertId]),Object.keys(c[v.fragId]).length||(e.deleteShader(o[v.fragId]),delete o[v.fragId],delete c[v.fragId])}})},restore:v,shader:u,frag:-1,vert:-1}}var yo=6408,bo=5121,xo=3333,Ao=5126;function wo(t,r,n,i,o,a,s){function l(l){var u;null===r.next?(ne(o.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),u=bo):(ne(null!==r.next.colorAttachments[0].texture,"You cannot read from a renderbuffer"),u=r.next.colorAttachments[0].texture._texture.type,a.oes_texture_float?(ne(u===bo||u===Ao,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),u===Ao&&ne(s.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):ne(u===bo,"Reading from a framebuffer is only allowed for the type 'uint8'"));var c=0,f=0,p=i.framebufferWidth,d=i.framebufferHeight,h=null;e(l)?h=l:l&&(ne.type(l,"object","invalid arguments to regl.read()"),c=0|l.x,f=0|l.y,ne(c>=0&&c<i.framebufferWidth,"invalid x offset for regl.read"),ne(f>=0&&f<i.framebufferHeight,"invalid y offset for regl.read"),p=0|(l.width||i.framebufferWidth-c),d=0|(l.height||i.framebufferHeight-f),h=l.data||null),h&&(u===bo?ne(h instanceof Uint8Array,"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'"):u===Ao&&ne(h instanceof Float32Array,"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'")),ne(p>0&&p+c<=i.framebufferWidth,"invalid width for read pixels"),ne(d>0&&d+f<=i.framebufferHeight,"invalid height for read pixels"),n();var v=p*d*4;return h||(u===bo?h=new Uint8Array(v):u===Ao&&(h=h||new Float32Array(v))),ne.isTypedArray(h,"data buffer for regl.read() must be a typedarray"),ne(h.byteLength>=v,"data buffer for regl.read() too small"),t.pixelStorei(xo,4),t.readPixels(c,f,p,d,yo,u,h),h}function u(e){var t;return r.setFBO({framebuffer:e.framebuffer},(function(){t=l(e)})),t}function c(e){return e&&"framebuffer"in e?u(e):l(e)}return c}function _o(e){return Array.prototype.slice.call(e)}function Eo(e){return _o(e).join("")}function ko(){var e=0,r=[],n=[];function i(t){for(var i=0;i<n.length;++i)if(n[i]===t)return r[i];var o="g"+e++;return r.push(o),n.push(t),o}function o(){var r=[];function n(){r.push.apply(r,_o(arguments))}var i=[];function o(){var t="v"+e++;return i.push(t),arguments.length>0&&(r.push(t,"="),r.push.apply(r,_o(arguments)),r.push(";")),t}return t(n,{def:o,toString:function(){return Eo([i.length>0?"var "+i.join(",")+";":"",Eo(r)])}})}function a(){var e=o(),r=o(),n=e.toString,i=r.toString;function a(t,n){r(t,n,"=",e.def(t,n),";")}return t((function(){e.apply(e,_o(arguments))}),{def:e.def,entry:e,exit:r,save:a,set:function(t,r,n){a(t,r),e(t,r,"=",n,";")},toString:function(){return n()+i()}})}function s(){var e=Eo(arguments),r=a(),n=a(),i=r.toString,o=n.toString;return t(r,{then:function(){return r.apply(r,_o(arguments)),this},else:function(){return n.apply(n,_o(arguments)),this},toString:function(){var t=o();return t&&(t="else{"+t+"}"),Eo(["if(",e,"){",i(),"}",t])}})}var l=o(),u={};function c(e,r){var n=[];function i(){var e="a"+n.length;return n.push(e),e}r=r||0;for(var o=0;o<r;++o)i();var s=a(),l=s.toString,c=u[e]=t(s,{arg:i,toString:function(){return Eo(["function(",n.join(),"){",l(),"}"])}});return c}function f(){var e=['"use strict";',l,"return {"];Object.keys(u).forEach((function(t){e.push('"',t,'":',u[t].toString(),",")})),e.push("}");var t=Eo(e).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,"{\n"),i=Function.apply(null,r.concat(t));return i.apply(null,n)}return{global:l,link:i,block:o,proc:c,scope:a,cond:s,compile:f}}var To="xyzw".split(""),Co=5121,So=1,Oo=2,Mo=0,Po=1,Bo=2,Lo=3,Do=4,Io=5,jo=6,Ro="dither",Fo="blend.enable",No="blend.color",zo="blend.equation",Uo="blend.func",Ho="depth.enable",Vo="depth.func",Qo="depth.range",Wo="depth.mask",Ko="colorMask",qo="cull.enable",Go="cull.face",$o="frontFace",Yo="lineWidth",Xo="polygonOffset.enable",Zo="polygonOffset.offset",Jo="sample.alpha",ea="sample.enable",ta="sample.coverage",ra="stencil.enable",na="stencil.mask",ia="stencil.func",oa="stencil.opFront",aa="stencil.opBack",sa="scissor.enable",la="scissor.box",ua="viewport",ca="profile",fa="framebuffer",pa="vert",da="frag",ha="elements",va="primitive",ma="count",ga="offset",ya="instances",ba="vao",xa="Width",Aa="Height",wa=fa+xa,_a=fa+Aa,Ea=ua+xa,ka=ua+Aa,Ta="drawingBuffer",Ca=Ta+xa,Sa=Ta+Aa,Oa=[Uo,zo,ia,oa,aa,ta,ua,la,Zo],Ma=34962,Pa=34963,Ba=35632,La=35633,Da=3553,Ia=34067,ja=2884,Ra=3042,Fa=3024,Na=2960,za=2929,Ua=3089,Ha=32823,Va=32926,Qa=32928,Wa=5126,Ka=35664,qa=35665,Ga=35666,$a=5124,Ya=35667,Xa=35668,Za=35669,Ja=35670,es=35671,ts=35672,rs=35673,ns=35674,is=35675,os=35676,as=35678,ss=35680,ls=4,us=1028,cs=1029,fs=2304,ps=2305,ds=32775,hs=32776,vs=519,ms=7680,gs=0,ys=1,bs=32774,xs=513,As=36160,ws=36064,_s={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Es=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],ks={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Ts={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Cs={frag:Ba,vert:La},Ss={cw:fs,ccw:ps};function Os(t){return Array.isArray(t)||e(t)||Et(t)}function Ms(e){return e.sort((function(e,t){return e===ua?-1:t===ua?1:e<t?-1:1}))}function Ps(e,t,r,n){this.thisDep=e,this.contextDep=t,this.propDep=r,this.append=n}function Bs(e){return e&&!(e.thisDep||e.contextDep||e.propDep)}function Ls(e){return new Ps(!1,!1,!1,e)}function Ds(e,t){var r=e.type;if(r===Mo){var n=e.data.length;return new Ps(!0,n>=1,n>=2,t)}if(r===Do){var i=e.data;return new Ps(i.thisDep,i.contextDep,i.propDep,t)}if(r===Io)return new Ps(!1,!1,!1,t);if(r===jo){for(var o=!1,a=!1,s=!1,l=0;l<e.data.length;++l){var u=e.data[l];if(u.type===Po)s=!0;else if(u.type===Bo)a=!0;else if(u.type===Lo)o=!0;else if(u.type===Mo){o=!0;var c=u.data;c>=1&&(a=!0),c>=2&&(s=!0)}else u.type===Do&&(o=o||u.data.thisDep,a=a||u.data.contextDep,s=s||u.data.propDep)}return new Ps(o,a,s,t)}return new Ps(r===Lo,r===Bo,r===Po,t)}var Is=new Ps(!1,!1,!1,(function(){}));function js(e,r,n,i,o,a,s,l,u,c,f,p,d,h,v){var m=c.Record,g={add:32774,subtract:32778,"reverse subtract":32779};n.ext_blend_minmax&&(g.min=ds,g.max=hs);var y=n.angle_instanced_arrays,b=n.webgl_draw_buffers,x={dirty:!0,profile:v.profile},A={},w=[],_={},E={};function k(e){return e.replace(".","_")}function T(e,t,r){var n=k(e);w.push(e),A[n]=x[n]=!!r,_[n]=t}function C(e,t,r){var n=k(e);w.push(e),Array.isArray(r)?(x[n]=r.slice(),A[n]=r.slice()):x[n]=A[n]=r,E[n]=t}T(Ro,Fa),T(Fo,Ra),C(No,"blendColor",[0,0,0,0]),C(zo,"blendEquationSeparate",[bs,bs]),C(Uo,"blendFuncSeparate",[ys,gs,ys,gs]),T(Ho,za,!0),C(Vo,"depthFunc",xs),C(Qo,"depthRange",[0,1]),C(Wo,"depthMask",!0),C(Ko,Ko,[!0,!0,!0,!0]),T(qo,ja),C(Go,"cullFace",cs),C($o,$o,ps),C(Yo,Yo,1),T(Xo,Ha),C(Zo,"polygonOffset",[0,0]),T(Jo,Va),T(ea,Qa),C(ta,"sampleCoverage",[1,!1]),T(ra,Na),C(na,"stencilMask",-1),C(ia,"stencilFunc",[vs,0,-1]),C(oa,"stencilOpSeparate",[us,ms,ms,ms]),C(aa,"stencilOpSeparate",[cs,ms,ms,ms]),T(sa,Ua),C(la,"scissor",[0,0,e.drawingBufferWidth,e.drawingBufferHeight]),C(ua,ua,[0,0,e.drawingBufferWidth,e.drawingBufferHeight]);var S={gl:e,context:d,strings:r,next:A,current:x,draw:p,elements:a,buffer:o,shader:f,attributes:c.state,vao:c,uniforms:u,framebuffer:l,extensions:n,timer:h,isBufferArgs:Os},O={primTypes:ur,compareFuncs:ks,blendFuncs:_s,blendEquations:g,stencilOps:Ts,glTypes:Ht,orientationType:Ss};ne.optional((function(){S.isArrayLike=Cr})),b&&(O.backBuffer=[cs],O.drawBuffer=Ce(i.maxDrawbuffers,(function(e){return 0===e?[0]:Ce(e,(function(e){return ws+e}))})));var M=0;function P(){var e=ko(),t=e.link,n=e.global;e.id=M++,e.batchId="0";var i=t(S),o=e.shared={props:"a0"};Object.keys(S).forEach((function(e){o[e]=n.def(i,".",e)})),ne.optional((function(){e.CHECK=t(ne),e.commandStr=ne.guessCommand(),e.command=t(e.commandStr),e.assert=function(e,r,n){e("if(!(",r,"))",this.CHECK,".commandRaise(",t(n),",",this.command,");")},O.invalidBlendCombinations=Es}));var a=e.next={},s=e.current={};Object.keys(E).forEach((function(e){Array.isArray(x[e])&&(a[e]=n.def(o.next,".",e),s[e]=n.def(o.current,".",e))}));var l=e.constants={};Object.keys(O).forEach((function(e){l[e]=n.def(JSON.stringify(O[e]))})),e.invoke=function(r,n){switch(n.type){case Mo:var i=["this",o.context,o.props,e.batchId];return r.def(t(n.data),".call(",i.slice(0,Math.max(n.data.length+1,4)),")");case Po:return r.def(o.props,n.data);case Bo:return r.def(o.context,n.data);case Lo:return r.def("this",n.data);case Do:return n.data.append(e,r),n.data.ref;case Io:return n.data.toString();case jo:return n.data.map((function(t){return e.invoke(r,t)}))}},e.attribCache={};var u={};return e.scopeAttrib=function(e){var n=r.id(e);if(n in u)return u[n];var i=c.scope[n];i||(i=c.scope[n]=new m);var o=u[n]=t(i);return o},e}function B(e){var t,r=e.static,n=e.dynamic;if(ca in r){var i=!!r[ca];t=Ls((function(e,t){return i})),t.enable=i}else if(ca in n){var o=n[ca];t=Ds(o,(function(e,t){return e.invoke(t,o)}))}return t}function L(e,t){var r=e.static,n=e.dynamic;if(fa in r){var i=r[fa];return i?(i=l.getFramebuffer(i),ne.command(i,"invalid framebuffer object"),Ls((function(e,t){var r=e.link(i),n=e.shared;t.set(n.framebuffer,".next",r);var o=n.context;return t.set(o,"."+wa,r+".width"),t.set(o,"."+_a,r+".height"),r}))):Ls((function(e,t){var r=e.shared;t.set(r.framebuffer,".next","null");var n=r.context;return t.set(n,"."+wa,n+"."+Ca),t.set(n,"."+_a,n+"."+Sa),"null"}))}if(fa in n){var o=n[fa];return Ds(o,(function(e,t){var r=e.invoke(t,o),n=e.shared,i=n.framebuffer,a=t.def(i,".getFramebuffer(",r,")");ne.optional((function(){e.assert(t,"!"+r+"||"+a,"invalid framebuffer object")})),t.set(i,".next",a);var s=n.context;return t.set(s,"."+wa,a+"?"+a+".width:"+s+"."+Ca),t.set(s,"."+_a,a+"?"+a+".height:"+s+"."+Sa),a}))}return null}function D(e,t,r){var n=e.static,i=e.dynamic;function o(e){if(e in n){var o=n[e];ne.commandType(o,"object","invalid "+e,r.commandStr);var a,s,l=!0,u=0|o.x,c=0|o.y;return"width"in o?(a=0|o.width,ne.command(a>=0,"invalid "+e,r.commandStr)):l=!1,"height"in o?(s=0|o.height,ne.command(s>=0,"invalid "+e,r.commandStr)):l=!1,new Ps(!l&&t&&t.thisDep,!l&&t&&t.contextDep,!l&&t&&t.propDep,(function(e,t){var r=e.shared.context,n=a;"width"in o||(n=t.def(r,".",wa,"-",u));var i=s;return"height"in o||(i=t.def(r,".",_a,"-",c)),[u,c,n,i]}))}if(e in i){var f=i[e],p=Ds(f,(function(t,r){var n=t.invoke(r,f);ne.optional((function(){t.assert(r,n+"&&typeof "+n+'==="object"',"invalid "+e)}));var i=t.shared.context,o=r.def(n,".x|0"),a=r.def(n,".y|0"),s=r.def('"width" in ',n,"?",n,".width|0:","(",i,".",wa,"-",o,")"),l=r.def('"height" in ',n,"?",n,".height|0:","(",i,".",_a,"-",a,")");return ne.optional((function(){t.assert(r,s+">=0&&"+l+">=0","invalid "+e)})),[o,a,s,l]}));return t&&(p.thisDep=p.thisDep||t.thisDep,p.contextDep=p.contextDep||t.contextDep,p.propDep=p.propDep||t.propDep),p}return t?new Ps(t.thisDep,t.contextDep,t.propDep,(function(e,t){var r=e.shared.context;return[0,0,t.def(r,".",wa),t.def(r,".",_a)]})):null}var a=o(ua);if(a){var s=a;a=new Ps(a.thisDep,a.contextDep,a.propDep,(function(e,t){var r=s.append(e,t),n=e.shared.context;return t.set(n,"."+Ea,r[2]),t.set(n,"."+ka,r[3]),r}))}return{viewport:a,scissor_box:o(la)}}function I(e,t){var r=e.static,n="string"===typeof r[da]&&"string"===typeof r[pa];if(n){if(Object.keys(t.dynamic).length>0)return null;var i=t.static,o=Object.keys(i);if(o.length>0&&"number"===typeof i[o[0]]){for(var a=[],s=0;s<o.length;++s)ne("number"===typeof i[o[s]],"must specify all vertex attribute locations when using vaos"),a.push([0|i[o[s]],o[s]]);return a}}return null}function j(e,t,n){var i=e.static,o=e.dynamic;function a(e){if(e in i){var t=r.id(i[e]);ne.optional((function(){f.shader(Cs[e],t,ne.guessCommand())}));var n=Ls((function(){return t}));return n.id=t,n}if(e in o){var a=o[e];return Ds(a,(function(t,r){var n=t.invoke(r,a),i=r.def(t.shared.strings,".id(",n,")");return ne.optional((function(){r(t.shared.shader,".shader(",Cs[e],",",i,",",t.command,");")})),i}))}return null}var s,l=a(da),u=a(pa),c=null;return Bs(l)&&Bs(u)?(c=f.program(u.id,l.id,null,n),s=Ls((function(e,t){return e.link(c)}))):s=new Ps(l&&l.thisDep||u&&u.thisDep,l&&l.contextDep||u&&u.contextDep,l&&l.propDep||u&&u.propDep,(function(e,t){var r,n,i=e.shared.shader;r=l?l.append(e,t):t.def(i,".",da),n=u?u.append(e,t):t.def(i,".",pa);var o=i+".program("+n+","+r;return ne.optional((function(){o+=","+e.command})),t.def(o+")")})),{frag:l,vert:u,progVar:s,program:c}}function R(e,t){var r=e.static,n=e.dynamic;function i(){if(ha in r){var e=r[ha];Os(e)?e=a.getElements(a.create(e,!0)):e&&(e=a.getElements(e),ne.command(e,"invalid elements",t.commandStr));var i=Ls((function(t,r){if(e){var n=t.link(e);return t.ELEMENTS=n,n}return t.ELEMENTS=null,null}));return i.value=e,i}if(ha in n){var o=n[ha];return Ds(o,(function(e,t){var r=e.shared,n=r.isBufferArgs,i=r.elements,a=e.invoke(t,o),s=t.def("null"),l=t.def(n,"(",a,")"),u=e.cond(l).then(s,"=",i,".createStream(",a,");").else(s,"=",i,".getElements(",a,");");return ne.optional((function(){e.assert(u.else,"!"+a+"||"+s,"invalid elements")})),t.entry(u),t.exit(e.cond(l).then(i,".destroyStream(",s,");")),e.ELEMENTS=s,s}))}return null}var o=i();function s(){if(va in r){var e=r[va];return ne.commandParameter(e,ur,"invalid primitve",t.commandStr),Ls((function(t,r){return ur[e]}))}if(va in n){var i=n[va];return Ds(i,(function(e,t){var r=e.constants.primTypes,n=e.invoke(t,i);return ne.optional((function(){e.assert(t,n+" in "+r,"invalid primitive, must be one of "+Object.keys(ur))})),t.def(r,"[",n,"]")}))}return o?Bs(o)?o.value?Ls((function(e,t){return t.def(e.ELEMENTS,".primType")})):Ls((function(){return ls})):new Ps(o.thisDep,o.contextDep,o.propDep,(function(e,t){var r=e.ELEMENTS;return t.def(r,"?",r,".primType:",ls)})):null}function l(e,i){if(e in r){var a=0|r[e];return ne.command(!i||a>=0,"invalid "+e,t.commandStr),Ls((function(e,t){return i&&(e.OFFSET=a),a}))}if(e in n){var s=n[e];return Ds(s,(function(t,r){var n=t.invoke(r,s);return i&&(t.OFFSET=n,ne.optional((function(){t.assert(r,n+">=0","invalid "+e)}))),n}))}return i&&o?Ls((function(e,t){return e.OFFSET="0",0})):null}var u=l(ga,!0);function c(){if(ma in r){var e=0|r[ma];return ne.command("number"===typeof e&&e>=0,"invalid vertex count",t.commandStr),Ls((function(){return e}))}if(ma in n){var i=n[ma];return Ds(i,(function(e,t){var r=e.invoke(t,i);return ne.optional((function(){e.assert(t,"typeof "+r+'==="number"&&'+r+">=0&&"+r+"===("+r+"|0)","invalid vertex count")})),r}))}if(o){if(Bs(o)){if(o)return u?new Ps(u.thisDep,u.contextDep,u.propDep,(function(e,t){var r=t.def(e.ELEMENTS,".vertCount-",e.OFFSET);return ne.optional((function(){e.assert(t,r+">=0","invalid vertex offset/element buffer too small")})),r})):Ls((function(e,t){return t.def(e.ELEMENTS,".vertCount")}));var a=Ls((function(){return-1}));return ne.optional((function(){a.MISSING=!0})),a}var s=new Ps(o.thisDep||u.thisDep,o.contextDep||u.contextDep,o.propDep||u.propDep,(function(e,t){var r=e.ELEMENTS;return e.OFFSET?t.def(r,"?",r,".vertCount-",e.OFFSET,":-1"):t.def(r,"?",r,".vertCount:-1")}));return ne.optional((function(){s.DYNAMIC=!0})),s}return null}return{elements:o,primitive:s(),count:c(),instances:l(ya,!1),offset:u}}function F(e,t){var r=e.static,n=e.dynamic,o={};return w.forEach((function(e){var a=k(e);function s(t,i){if(e in r){var s=t(r[e]);o[a]=Ls((function(){return s}))}else if(e in n){var l=n[e];o[a]=Ds(l,(function(e,t){return i(e,t,e.invoke(t,l))}))}}switch(e){case qo:case Fo:case Ro:case ra:case Ho:case sa:case Xo:case Jo:case ea:case Wo:return s((function(r){return ne.commandType(r,"boolean",e,t.commandStr),r}),(function(t,r,n){return ne.optional((function(){t.assert(r,"typeof "+n+'==="boolean"',"invalid flag "+e,t.commandStr)})),n}));case Vo:return s((function(r){return ne.commandParameter(r,ks,"invalid "+e,t.commandStr),ks[r]}),(function(t,r,n){var i=t.constants.compareFuncs;return ne.optional((function(){t.assert(r,n+" in "+i,"invalid "+e+", must be one of "+Object.keys(ks))})),r.def(i,"[",n,"]")}));case Qo:return s((function(e){return ne.command(Cr(e)&&2===e.length&&"number"===typeof e[0]&&"number"===typeof e[1]&&e[0]<=e[1],"depth range is 2d array",t.commandStr),e}),(function(e,t,r){ne.optional((function(){e.assert(t,e.shared.isArrayLike+"("+r+")&&"+r+".length===2&&typeof "+r+'[0]==="number"&&typeof '+r+'[1]==="number"&&'+r+"[0]<="+r+"[1]","depth range must be a 2d array")}));var n=t.def("+",r,"[0]"),i=t.def("+",r,"[1]");return[n,i]}));case Uo:return s((function(e){ne.commandType(e,"object","blend.func",t.commandStr);var r="srcRGB"in e?e.srcRGB:e.src,n="srcAlpha"in e?e.srcAlpha:e.src,i="dstRGB"in e?e.dstRGB:e.dst,o="dstAlpha"in e?e.dstAlpha:e.dst;return ne.commandParameter(r,_s,a+".srcRGB",t.commandStr),ne.commandParameter(n,_s,a+".srcAlpha",t.commandStr),ne.commandParameter(i,_s,a+".dstRGB",t.commandStr),ne.commandParameter(o,_s,a+".dstAlpha",t.commandStr),ne.command(-1===Es.indexOf(r+", "+i),"unallowed blending combination (srcRGB, dstRGB) = ("+r+", "+i+")",t.commandStr),[_s[r],_s[i],_s[n],_s[o]]}),(function(t,r,n){var i=t.constants.blendFuncs;function o(o,a){var s=r.def('"',o,a,'" in ',n,"?",n,".",o,a,":",n,".",o);return ne.optional((function(){t.assert(r,s+" in "+i,"invalid "+e+"."+o+a+", must be one of "+Object.keys(_s))})),s}ne.optional((function(){t.assert(r,n+"&&typeof "+n+'==="object"',"invalid blend func, must be an object")}));var a=o("src","RGB"),s=o("dst","RGB");ne.optional((function(){var e=t.constants.invalidBlendCombinations;t.assert(r,e+".indexOf("+a+'+", "+'+s+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")}));var l=r.def(i,"[",a,"]"),u=r.def(i,"[",o("src","Alpha"),"]"),c=r.def(i,"[",s,"]"),f=r.def(i,"[",o("dst","Alpha"),"]");return[l,c,u,f]}));case zo:return s((function(r){return"string"===typeof r?(ne.commandParameter(r,g,"invalid "+e,t.commandStr),[g[r],g[r]]):"object"===typeof r?(ne.commandParameter(r.rgb,g,e+".rgb",t.commandStr),ne.commandParameter(r.alpha,g,e+".alpha",t.commandStr),[g[r.rgb],g[r.alpha]]):void ne.commandRaise("invalid blend.equation",t.commandStr)}),(function(t,r,n){var i=t.constants.blendEquations,o=r.def(),a=r.def(),s=t.cond("typeof ",n,'==="string"');return ne.optional((function(){function r(e,r,n){t.assert(e,n+" in "+i,"invalid "+r+", must be one of "+Object.keys(g))}r(s.then,e,n),t.assert(s.else,n+"&&typeof "+n+'==="object"',"invalid "+e),r(s.else,e+".rgb",n+".rgb"),r(s.else,e+".alpha",n+".alpha")})),s.then(o,"=",a,"=",i,"[",n,"];"),s.else(o,"=",i,"[",n,".rgb];",a,"=",i,"[",n,".alpha];"),r(s),[o,a]}));case No:return s((function(e){return ne.command(Cr(e)&&4===e.length,"blend.color must be a 4d array",t.commandStr),Ce(4,(function(t){return+e[t]}))}),(function(e,t,r){return ne.optional((function(){e.assert(t,e.shared.isArrayLike+"("+r+")&&"+r+".length===4","blend.color must be a 4d array")})),Ce(4,(function(e){return t.def("+",r,"[",e,"]")}))}));case na:return s((function(e){return ne.commandType(e,"number",a,t.commandStr),0|e}),(function(e,t,r){return ne.optional((function(){e.assert(t,"typeof "+r+'==="number"',"invalid stencil.mask")})),t.def(r,"|0")}));case ia:return s((function(r){ne.commandType(r,"object",a,t.commandStr);var n=r.cmp||"keep",i=r.ref||0,o="mask"in r?r.mask:-1;return ne.commandParameter(n,ks,e+".cmp",t.commandStr),ne.commandType(i,"number",e+".ref",t.commandStr),ne.commandType(o,"number",e+".mask",t.commandStr),[ks[n],i,o]}),(function(e,t,r){var n=e.constants.compareFuncs;ne.optional((function(){function i(){e.assert(t,Array.prototype.join.call(arguments,""),"invalid stencil.func")}i(r+"&&typeof ",r,'==="object"'),i('!("cmp" in ',r,")||(",r,".cmp in ",n,")")}));var i=t.def('"cmp" in ',r,"?",n,"[",r,".cmp]",":",ms),o=t.def(r,".ref|0"),a=t.def('"mask" in ',r,"?",r,".mask|0:-1");return[i,o,a]}));case oa:case aa:return s((function(r){ne.commandType(r,"object",a,t.commandStr);var n=r.fail||"keep",i=r.zfail||"keep",o=r.zpass||"keep";return ne.commandParameter(n,Ts,e+".fail",t.commandStr),ne.commandParameter(i,Ts,e+".zfail",t.commandStr),ne.commandParameter(o,Ts,e+".zpass",t.commandStr),[e===aa?cs:us,Ts[n],Ts[i],Ts[o]]}),(function(t,r,n){var i=t.constants.stencilOps;function o(o){return ne.optional((function(){t.assert(r,'!("'+o+'" in '+n+")||("+n+"."+o+" in "+i+")","invalid "+e+"."+o+", must be one of "+Object.keys(Ts))})),r.def('"',o,'" in ',n,"?",i,"[",n,".",o,"]:",ms)}return ne.optional((function(){t.assert(r,n+"&&typeof "+n+'==="object"',"invalid "+e)})),[e===aa?cs:us,o("fail"),o("zfail"),o("zpass")]}));case Zo:return s((function(e){ne.commandType(e,"object",a,t.commandStr);var r=0|e.factor,n=0|e.units;return ne.commandType(r,"number",a+".factor",t.commandStr),ne.commandType(n,"number",a+".units",t.commandStr),[r,n]}),(function(t,r,n){ne.optional((function(){t.assert(r,n+"&&typeof "+n+'==="object"',"invalid "+e)}));var i=r.def(n,".factor|0"),o=r.def(n,".units|0");return[i,o]}));case Go:return s((function(e){var r=0;return"front"===e?r=us:"back"===e&&(r=cs),ne.command(!!r,a,t.commandStr),r}),(function(e,t,r){return ne.optional((function(){e.assert(t,r+'==="front"||'+r+'==="back"',"invalid cull.face")})),t.def(r,'==="front"?',us,":",cs)}));case Yo:return s((function(e){return ne.command("number"===typeof e&&e>=i.lineWidthDims[0]&&e<=i.lineWidthDims[1],"invalid line width, must be a positive number between "+i.lineWidthDims[0]+" and "+i.lineWidthDims[1],t.commandStr),e}),(function(e,t,r){return ne.optional((function(){e.assert(t,"typeof "+r+'==="number"&&'+r+">="+i.lineWidthDims[0]+"&&"+r+"<="+i.lineWidthDims[1],"invalid line width")})),r}));case $o:return s((function(e){return ne.commandParameter(e,Ss,a,t.commandStr),Ss[e]}),(function(e,t,r){return ne.optional((function(){e.assert(t,r+'==="cw"||'+r+'==="ccw"',"invalid frontFace, must be one of cw,ccw")})),t.def(r+'==="cw"?'+fs+":"+ps)}));case Ko:return s((function(e){return ne.command(Cr(e)&&4===e.length,"color.mask must be length 4 array",t.commandStr),e.map((function(e){return!!e}))}),(function(e,t,r){return ne.optional((function(){e.assert(t,e.shared.isArrayLike+"("+r+")&&"+r+".length===4","invalid color.mask")})),Ce(4,(function(e){return"!!"+r+"["+e+"]"}))}));case ta:return s((function(e){ne.command("object"===typeof e&&e,a,t.commandStr);var r="value"in e?e.value:1,n=!!e.invert;return ne.command("number"===typeof r&&r>=0&&r<=1,"sample.coverage.value must be a number between 0 and 1",t.commandStr),[r,n]}),(function(e,t,r){ne.optional((function(){e.assert(t,r+"&&typeof "+r+'==="object"',"invalid sample.coverage")}));var n=t.def('"value" in ',r,"?+",r,".value:1"),i=t.def("!!",r,".invert");return[n,i]}))}})),o}function N(e,t){var r=e.static,n=e.dynamic,i={};return Object.keys(r).forEach((function(e){var n,o=r[e];if("number"===typeof o||"boolean"===typeof o)n=Ls((function(){return o}));else if("function"===typeof o){var a=o._reglType;"texture2d"===a||"textureCube"===a?n=Ls((function(e){return e.link(o)})):"framebuffer"===a||"framebufferCube"===a?(ne.command(o.color.length>0,'missing color attachment for framebuffer sent to uniform "'+e+'"',t.commandStr),n=Ls((function(e){return e.link(o.color[0])}))):ne.commandRaise('invalid data for uniform "'+e+'"',t.commandStr)}else Cr(o)?n=Ls((function(t){var r=t.global.def("[",Ce(o.length,(function(r){return ne.command("number"===typeof o[r]||"boolean"===typeof o[r],"invalid uniform "+e,t.commandStr),o[r]})),"]");return r})):ne.commandRaise('invalid or missing data for uniform "'+e+'"',t.commandStr);n.value=o,i[e]=n})),Object.keys(n).forEach((function(e){var t=n[e];i[e]=Ds(t,(function(e,r){return e.invoke(r,t)}))})),i}function z(e,t){var n=e.static,i=e.dynamic,a={};return Object.keys(n).forEach((function(e){var i=n[e],s=r.id(e),l=new m;if(Os(i))l.state=So,l.buffer=o.getBuffer(o.create(i,Ma,!1,!0)),l.type=0;else{var u=o.getBuffer(i);if(u)l.state=So,l.buffer=u,l.type=0;else if(ne.command("object"===typeof i&&i,"invalid data for attribute "+e,t.commandStr),"constant"in i){var c=i.constant;l.buffer="null",l.state=Oo,"number"===typeof c?l.x=c:(ne.command(Cr(c)&&c.length>0&&c.length<=4,"invalid constant for attribute "+e,t.commandStr),To.forEach((function(e,t){t<c.length&&(l[e]=c[t])})))}else{u=Os(i.buffer)?o.getBuffer(o.create(i.buffer,Ma,!1,!0)):o.getBuffer(i.buffer),ne.command(!!u,'missing buffer for attribute "'+e+'"',t.commandStr);var f=0|i.offset;ne.command(f>=0,'invalid offset for attribute "'+e+'"',t.commandStr);var p=0|i.stride;ne.command(p>=0&&p<256,'invalid stride for attribute "'+e+'", must be integer betweeen [0, 255]',t.commandStr);var d=0|i.size;ne.command(!("size"in i)||d>0&&d<=4,'invalid size for attribute "'+e+'", must be 1,2,3,4',t.commandStr);var h=!!i.normalized,v=0;"type"in i&&(ne.commandParameter(i.type,Ht,"invalid type for attribute "+e,t.commandStr),v=Ht[i.type]);var g=0|i.divisor;"divisor"in i&&(ne.command(0===g||y,'cannot specify divisor for attribute "'+e+'", instancing not supported',t.commandStr),ne.command(g>=0,'invalid divisor for attribute "'+e+'"',t.commandStr)),ne.optional((function(){var r=t.commandStr,n=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(i).forEach((function(t){ne.command(n.indexOf(t)>=0,'unknown parameter "'+t+'" for attribute pointer "'+e+'" (valid parameters are '+n+")",r)}))})),l.buffer=u,l.state=So,l.size=d,l.normalized=h,l.type=v||u.dtype,l.offset=f,l.stride=p,l.divisor=g}}a[e]=Ls((function(e,t){var r=e.attribCache;if(s in r)return r[s];var n={isStream:!1};return Object.keys(l).forEach((function(e){n[e]=l[e]})),l.buffer&&(n.buffer=e.link(l.buffer),n.type=n.type||n.buffer+".dtype"),r[s]=n,n}))})),Object.keys(i).forEach((function(e){var t=i[e];function r(r,n){var i=r.invoke(n,t),o=r.shared,a=r.constants,s=o.isBufferArgs,l=o.buffer;ne.optional((function(){r.assert(n,i+"&&(typeof "+i+'==="object"||typeof '+i+'==="function")&&('+s+"("+i+")||"+l+".getBuffer("+i+")||"+l+".getBuffer("+i+".buffer)||"+s+"("+i+'.buffer)||("constant" in '+i+"&&(typeof "+i+'.constant==="number"||'+o.isArrayLike+"("+i+".constant))))",'invalid dynamic attribute "'+e+'"')}));var u={isStream:n.def(!1)},c=new m;c.state=So,Object.keys(c).forEach((function(e){u[e]=n.def(""+c[e])}));var f=u.buffer,p=u.type;function d(e){n(u[e],"=",i,".",e,"|0;")}return n("if(",s,"(",i,")){",u.isStream,"=true;",f,"=",l,".createStream(",Ma,",",i,");",p,"=",f,".dtype;","}else{",f,"=",l,".getBuffer(",i,");","if(",f,"){",p,"=",f,".dtype;",'}else if("constant" in ',i,"){",u.state,"=",Oo,";","if(typeof "+i+'.constant === "number"){',u[To[0]],"=",i,".constant;",To.slice(1).map((function(e){return u[e]})).join("="),"=0;","}else{",To.map((function(e,t){return u[e]+"="+i+".constant.length>"+t+"?"+i+".constant["+t+"]:0;"})).join(""),"}}else{","if(",s,"(",i,".buffer)){",f,"=",l,".createStream(",Ma,",",i,".buffer);","}else{",f,"=",l,".getBuffer(",i,".buffer);","}",p,'="type" in ',i,"?",a.glTypes,"[",i,".type]:",f,".dtype;",u.normalized,"=!!",i,".normalized;"),d("size"),d("offset"),d("stride"),d("divisor"),n("}}"),n.exit("if(",u.isStream,"){",l,".destroyStream(",f,");","}"),u}a[e]=Ds(t,r)})),a}function U(e,t){var r=e.static,n=e.dynamic;if(ba in r){var i=r[ba];return null!==i&&null===c.getVAO(i)&&(i=c.createVAO(i)),Ls((function(e){return e.link(c.getVAO(i))}))}if(ba in n){var o=n[ba];return Ds(o,(function(e,t){var r=e.invoke(t,o);return t.def(e.shared.vao+".getVAO("+r+")")}))}return null}function H(e){var t=e.static,r=e.dynamic,n={};return Object.keys(t).forEach((function(e){var r=t[e];n[e]=Ls((function(e,t){return"number"===typeof r||"boolean"===typeof r?""+r:e.link(r)}))})),Object.keys(r).forEach((function(e){var t=r[e];n[e]=Ds(t,(function(e,r){return e.invoke(r,t)}))})),n}function V(e,t,r,i,o){var a=e.static,s=e.dynamic;ne.optional((function(){var e=[fa,pa,da,ha,va,ga,ma,ya,ca,ba].concat(w);function t(t){Object.keys(t).forEach((function(t){ne.command(e.indexOf(t)>=0,'unknown parameter "'+t+'"',o.commandStr)}))}t(a),t(s)}));var l=I(e,t),u=L(e,o),f=D(e,u,o),p=R(e,o),d=F(e,o),h=j(e,o,l);function v(e){var t=f[e];t&&(d[e]=t)}v(ua),v(k(la));var m=Object.keys(d).length>0,g={framebuffer:u,draw:p,shader:h,state:d,dirty:m,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(g.profile=B(e,o),g.uniforms=N(r,o),g.drawVAO=g.scopeVAO=U(e,o),!g.drawVAO&&h.program&&!l&&n.angle_instanced_arrays){var y=!0,b=h.program.attributes.map((function(e){var r=t.static[e];return y=y&&!!r,r}));if(y&&b.length>0){var x=c.getVAO(c.createVAO(b));g.drawVAO=new Ps(null,null,null,(function(e,t){return e.link(x)})),g.useVAO=!0}}return l?g.useVAO=!0:g.attributes=z(t,o),g.context=H(i,o),g}function Q(e,t,r){var n=e.shared,i=n.context,o=e.scope();Object.keys(r).forEach((function(n){t.save(i,"."+n);var a=r[n],s=a.append(e,t);Array.isArray(s)?o(i,".",n,"=[",s.join(),"];"):o(i,".",n,"=",s,";")})),t(o)}function W(e,t,r,n){var i,o=e.shared,a=o.gl,s=o.framebuffer;b&&(i=t.def(o.extensions,".webgl_draw_buffers"));var l,u=e.constants,c=u.drawBuffer,f=u.backBuffer;l=r?r.append(e,t):t.def(s,".next"),n||t("if(",l,"!==",s,".cur){"),t("if(",l,"){",a,".bindFramebuffer(",As,",",l,".framebuffer);"),b&&t(i,".drawBuffersWEBGL(",c,"[",l,".colorAttachments.length]);"),t("}else{",a,".bindFramebuffer(",As,",null);"),b&&t(i,".drawBuffersWEBGL(",f,");"),t("}",s,".cur=",l,";"),n||t("}")}function K(e,t,r){var n=e.shared,i=n.gl,o=e.current,a=e.next,s=n.current,l=n.next,u=e.cond(s,".dirty");w.forEach((function(t){var n,c,f=k(t);if(!(f in r.state))if(f in a){n=a[f],c=o[f];var p=Ce(x[f].length,(function(e){return u.def(n,"[",e,"]")}));u(e.cond(p.map((function(e,t){return e+"!=="+c+"["+t+"]"})).join("||")).then(i,".",E[f],"(",p,");",p.map((function(e,t){return c+"["+t+"]="+e})).join(";"),";"))}else{n=u.def(l,".",f);var d=e.cond(n,"!==",s,".",f);u(d),f in _?d(e.cond(n).then(i,".enable(",_[f],");").else(i,".disable(",_[f],");"),s,".",f,"=",n,";"):d(i,".",E[f],"(",n,");",s,".",f,"=",n,";")}})),0===Object.keys(r.state).length&&u(s,".dirty=false;"),t(u)}function q(e,t,r,n){var i=e.shared,o=e.current,a=i.current,s=i.gl;Ms(Object.keys(r)).forEach((function(i){var l=r[i];if(!n||n(l)){var u=l.append(e,t);if(_[i]){var c=_[i];Bs(l)?t(s,u?".enable(":".disable(",c,");"):t(e.cond(u).then(s,".enable(",c,");").else(s,".disable(",c,");")),t(a,".",i,"=",u,";")}else if(Cr(u)){var f=o[i];t(s,".",E[i],"(",u,");",u.map((function(e,t){return f+"["+t+"]="+e})).join(";"),";")}else t(s,".",E[i],"(",u,");",a,".",i,"=",u,";")}}))}function G(e,t){y&&(e.instancing=t.def(e.shared.extensions,".angle_instanced_arrays"))}function $(e,t,r,n,i){var o,a,s,l=e.shared,u=e.stats,c=l.current,f=l.timer,p=r.profile;function d(){return"undefined"===typeof performance?"Date.now()":"performance.now()"}function v(e){o=t.def(),e(o,"=",d(),";"),"string"===typeof i?e(u,".count+=",i,";"):e(u,".count++;"),h&&(n?(a=t.def(),e(a,"=",f,".getNumPendingQueries();")):e(f,".beginQuery(",u,");"))}function m(e){e(u,".cpuTime+=",d(),"-",o,";"),h&&(n?e(f,".pushScopeStats(",a,",",f,".getNumPendingQueries(),",u,");"):e(f,".endQuery();"))}function g(e){var r=t.def(c,".profile");t(c,".profile=",e,";"),t.exit(c,".profile=",r,";")}if(p){if(Bs(p))return void(p.enable?(v(t),m(t.exit),g("true")):g("false"));s=p.append(e,t),g(s)}else s=t.def(c,".profile");var y=e.block();v(y),t("if(",s,"){",y,"}");var b=e.block();m(b),t.exit("if(",s,"){",b,"}")}function Y(e,t,r,n,i){var o=e.shared;function a(e){switch(e){case Ka:case Ya:case es:return 2;case qa:case Xa:case ts:return 3;case Ga:case Za:case rs:return 4;default:return 1}}function s(r,n,i){var a=o.gl,s=t.def(r,".location"),l=t.def(o.attributes,"[",s,"]"),u=i.state,c=i.buffer,f=[i.x,i.y,i.z,i.w],p=["buffer","normalized","offset","stride"];function d(){t("if(!",l,".buffer){",a,".enableVertexAttribArray(",s,");}");var r,o=i.type;if(r=i.size?t.def(i.size,"||",n):n,t("if(",l,".type!==",o,"||",l,".size!==",r,"||",p.map((function(e){return l+"."+e+"!=="+i[e]})).join("||"),"){",a,".bindBuffer(",Ma,",",c,".buffer);",a,".vertexAttribPointer(",[s,r,o,i.normalized,i.stride,i.offset],");",l,".type=",o,";",l,".size=",r,";",p.map((function(e){return l+"."+e+"="+i[e]+";"})).join(""),"}"),y){var u=i.divisor;t("if(",l,".divisor!==",u,"){",e.instancing,".vertexAttribDivisorANGLE(",[s,u],");",l,".divisor=",u,";}")}}function h(){t("if(",l,".buffer){",a,".disableVertexAttribArray(",s,");",l,".buffer=null;","}if(",To.map((function(e,t){return l+"."+e+"!=="+f[t]})).join("||"),"){",a,".vertexAttrib4f(",s,",",f,");",To.map((function(e,t){return l+"."+e+"="+f[t]+";"})).join(""),"}")}u===So?d():u===Oo?h():(t("if(",u,"===",So,"){"),d(),t("}else{"),h(),t("}"))}n.forEach((function(n){var o,l=n.name,u=r.attributes[l];if(u){if(!i(u))return;o=u.append(e,t)}else{if(!i(Is))return;var c=e.scopeAttrib(l);ne.optional((function(){e.assert(t,c+".state","missing attribute "+l)})),o={},Object.keys(new m).forEach((function(e){o[e]=t.def(c,".",e)}))}s(e.link(n),a(n.info.type),o)}))}function X(e,t,n,i,o){for(var a,s=e.shared,l=s.gl,u=0;u<i.length;++u){var c,f=i[u],p=f.name,d=f.info.type,h=n.uniforms[p],v=e.link(f),m=v+".location";if(h){if(!o(h))continue;if(Bs(h)){var g=h.value;if(ne.command(null!==g&&"undefined"!==typeof g,'missing uniform "'+p+'"',e.commandStr),d===as||d===ss){ne.command("function"===typeof g&&(d===as&&("texture2d"===g._reglType||"framebuffer"===g._reglType)||d===ss&&("textureCube"===g._reglType||"framebufferCube"===g._reglType)),"invalid texture for uniform "+p,e.commandStr);var y=e.link(g._texture||g.color[0]._texture);t(l,".uniform1i(",m,",",y+".bind());"),t.exit(y,".unbind();")}else if(d===ns||d===is||d===os){ne.optional((function(){ne.command(Cr(g),"invalid matrix for uniform "+p,e.commandStr),ne.command(d===ns&&4===g.length||d===is&&9===g.length||d===os&&16===g.length,"invalid length for matrix uniform "+p,e.commandStr)}));var b=e.global.def("new Float32Array(["+Array.prototype.slice.call(g)+"])"),x=2;d===is?x=3:d===os&&(x=4),t(l,".uniformMatrix",x,"fv(",m,",false,",b,");")}else{switch(d){case Wa:ne.commandType(g,"number","uniform "+p,e.commandStr),a="1f";break;case Ka:ne.command(Cr(g)&&2===g.length,"uniform "+p,e.commandStr),a="2f";break;case qa:ne.command(Cr(g)&&3===g.length,"uniform "+p,e.commandStr),a="3f";break;case Ga:ne.command(Cr(g)&&4===g.length,"uniform "+p,e.commandStr),a="4f";break;case Ja:ne.commandType(g,"boolean","uniform "+p,e.commandStr),a="1i";break;case $a:ne.commandType(g,"number","uniform "+p,e.commandStr),a="1i";break;case es:ne.command(Cr(g)&&2===g.length,"uniform "+p,e.commandStr),a="2i";break;case Ya:ne.command(Cr(g)&&2===g.length,"uniform "+p,e.commandStr),a="2i";break;case ts:ne.command(Cr(g)&&3===g.length,"uniform "+p,e.commandStr),a="3i";break;case Xa:ne.command(Cr(g)&&3===g.length,"uniform "+p,e.commandStr),a="3i";break;case rs:ne.command(Cr(g)&&4===g.length,"uniform "+p,e.commandStr),a="4i";break;case Za:ne.command(Cr(g)&&4===g.length,"uniform "+p,e.commandStr),a="4i";break}t(l,".uniform",a,"(",m,",",Cr(g)?Array.prototype.slice.call(g):g,");")}continue}c=h.append(e,t)}else{if(!o(Is))continue;c=t.def(s.uniforms,"[",r.id(p),"]")}d===as?(ne(!Array.isArray(c),"must specify a scalar prop for textures"),t("if(",c,"&&",c,'._reglType==="framebuffer"){',c,"=",c,".color[0];","}")):d===ss&&(ne(!Array.isArray(c),"must specify a scalar prop for cube maps"),t("if(",c,"&&",c,'._reglType==="framebufferCube"){',c,"=",c,".color[0];","}")),ne.optional((function(){function r(r,n){e.assert(t,r,'bad data or missing for uniform "'+p+'". '+n)}function n(e){ne(!Array.isArray(c),"must not specify an array type for uniform"),r("typeof "+c+'==="'+e+'"',"invalid type, expected "+e)}function i(t,n){Array.isArray(c)?ne(c.length===t,"must have length "+t):r(s.isArrayLike+"("+c+")&&"+c+".length==="+t,"invalid vector, should have length "+t,e.commandStr)}function o(t){ne(!Array.isArray(c),"must not specify a value type"),r("typeof "+c+'==="function"&&'+c+'._reglType==="texture'+(t===Da?"2d":"Cube")+'"',"invalid texture type",e.commandStr)}switch(d){case $a:n("number");break;case Ya:i(2,"number");break;case Xa:i(3,"number");break;case Za:i(4,"number");break;case Wa:n("number");break;case Ka:i(2,"number");break;case qa:i(3,"number");break;case Ga:i(4,"number");break;case Ja:n("boolean");break;case es:i(2,"boolean");break;case ts:i(3,"boolean");break;case rs:i(4,"boolean");break;case ns:i(4,"number");break;case is:i(9,"number");break;case os:i(16,"number");break;case as:o(Da);break;case ss:o(Ia);break}}));var A=1;switch(d){case as:case ss:var w=t.def(c,"._texture");t(l,".uniform1i(",m,",",w,".bind());"),t.exit(w,".unbind();");continue;case $a:case Ja:a="1i";break;case Ya:case es:a="2i",A=2;break;case Xa:case ts:a="3i",A=3;break;case Za:case rs:a="4i",A=4;break;case Wa:a="1f";break;case Ka:a="2f",A=2;break;case qa:a="3f",A=3;break;case Ga:a="4f",A=4;break;case ns:a="Matrix2fv";break;case is:a="Matrix3fv";break;case os:a="Matrix4fv";break}if(t(l,".uniform",a,"(",m,","),"M"===a.charAt(0)){var _=Math.pow(d-ns+2,2),E=e.global.def("new Float32Array(",_,")");Array.isArray(c)?t("false,(",Ce(_,(function(e){return E+"["+e+"]="+c[e]})),",",E,")"):t("false,(Array.isArray(",c,")||",c," instanceof Float32Array)?",c,":(",Ce(_,(function(e){return E+"["+e+"]="+c+"["+e+"]"})),",",E,")")}else A>1?t(Ce(A,(function(e){return Array.isArray(c)?c[e]:c+"["+e+"]"}))):(ne(!Array.isArray(c),"uniform value must not be an array"),t(c));t(");")}}function Z(e,t,r,n){var i=e.shared,o=i.gl,a=i.draw,s=n.draw;function l(){var i,l=s.elements,u=t;return l?((l.contextDep&&n.contextDynamic||l.propDep)&&(u=r),i=l.append(e,u)):i=u.def(a,".",ha),i&&u("if("+i+")"+o+".bindBuffer("+Pa+","+i+".buffer.buffer);"),i}function u(){var i,o=s.count,l=t;return o?((o.contextDep&&n.contextDynamic||o.propDep)&&(l=r),i=o.append(e,l),ne.optional((function(){o.MISSING&&e.assert(t,"false","missing vertex count"),o.DYNAMIC&&e.assert(l,i+">=0","missing vertex count")}))):(i=l.def(a,".",ma),ne.optional((function(){e.assert(l,i+">=0","missing vertex count")}))),i}var c=l();function f(i){var o=s[i];return o?o.contextDep&&n.contextDynamic||o.propDep?o.append(e,r):o.append(e,t):t.def(a,".",i)}var p,d,h=f(va),v=f(ga),m=u();if("number"===typeof m){if(0===m)return}else r("if(",m,"){"),r.exit("}");y&&(p=f(ya),d=e.instancing);var g=c+".type",b=s.elements&&Bs(s.elements);function x(){function e(){r(d,".drawElementsInstancedANGLE(",[h,m,g,v+"<<(("+g+"-"+Co+")>>1)",p],");")}function t(){r(d,".drawArraysInstancedANGLE(",[h,v,m,p],");")}c?b?e():(r("if(",c,"){"),e(),r("}else{"),t(),r("}")):t()}function A(){function e(){r(o+".drawElements("+[h,m,g,v+"<<(("+g+"-"+Co+")>>1)"]+");")}function t(){r(o+".drawArrays("+[h,v,m]+");")}c?b?e():(r("if(",c,"){"),e(),r("}else{"),t(),r("}")):t()}y&&("number"!==typeof p||p>=0)?"string"===typeof p?(r("if(",p,">0){"),x(),r("}else if(",p,"<0){"),A(),r("}")):x():A()}function J(e,t,r,n,i){var o=P(),a=o.proc("body",i);return ne.optional((function(){o.commandStr=t.commandStr,o.command=o.link(t.commandStr)})),y&&(o.instancing=a.def(o.shared.extensions,".angle_instanced_arrays")),e(o,a,r,n),o.compile().body}function ee(e,t,r,n){G(e,t),r.useVAO?r.drawVAO?t(e.shared.vao,".setVAO(",r.drawVAO.append(e,t),");"):t(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(t(e.shared.vao,".setVAO(null);"),Y(e,t,r,n.attributes,(function(){return!0}))),X(e,t,r,n.uniforms,(function(){return!0})),Z(e,t,t,r)}function te(e,t){var r=e.proc("draw",1);G(e,r),Q(e,r,t.context),W(e,r,t.framebuffer),K(e,r,t),q(e,r,t.state),$(e,r,t,!1,!0);var n=t.shader.progVar.append(e,r);if(r(e.shared.gl,".useProgram(",n,".program);"),t.shader.program)ee(e,r,t,t.shader.program);else{r(e.shared.vao,".setVAO(null);");var i=e.global.def("{}"),o=r.def(n,".id"),a=r.def(i,"[",o,"]");r(e.cond(a).then(a,".call(this,a0);").else(a,"=",i,"[",o,"]=",e.link((function(r){return J(ee,e,t,r,1)})),"(",n,");",a,".call(this,a0);"))}Object.keys(t.state).length>0&&r(e.shared.current,".dirty=true;")}function re(e,t,r,n){function i(){return!0}e.batchId="a1",G(e,t),Y(e,t,r,n.attributes,i),X(e,t,r,n.uniforms,i),Z(e,t,t,r)}function ie(e,t,r,n){G(e,t);var i=r.contextDep,o=t.def(),a="a0",s="a1",l=t.def();e.shared.props=l,e.batchId=o;var u=e.scope(),c=e.scope();function f(e){return e.contextDep&&i||e.propDep}function p(e){return!f(e)}if(t(u.entry,"for(",o,"=0;",o,"<",s,";++",o,"){",l,"=",a,"[",o,"];",c,"}",u.exit),r.needsContext&&Q(e,c,r.context),r.needsFramebuffer&&W(e,c,r.framebuffer),q(e,c,r.state,f),r.profile&&f(r.profile)&&$(e,c,r,!1,!0),n)r.useVAO?r.drawVAO?f(r.drawVAO)?c(e.shared.vao,".setVAO(",r.drawVAO.append(e,c),");"):u(e.shared.vao,".setVAO(",r.drawVAO.append(e,u),");"):u(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(u(e.shared.vao,".setVAO(null);"),Y(e,u,r,n.attributes,p),Y(e,c,r,n.attributes,f)),X(e,u,r,n.uniforms,p),X(e,c,r,n.uniforms,f),Z(e,u,c,r);else{var d=e.global.def("{}"),h=r.shader.progVar.append(e,c),v=c.def(h,".id"),m=c.def(d,"[",v,"]");c(e.shared.gl,".useProgram(",h,".program);","if(!",m,"){",m,"=",d,"[",v,"]=",e.link((function(t){return J(re,e,r,t,2)})),"(",h,");}",m,".call(this,a0[",o,"],",o,");")}}function oe(e,t){var r=e.proc("batch",2);e.batchId="0",G(e,r);var n=!1,i=!0;Object.keys(t.context).forEach((function(e){n=n||t.context[e].propDep})),n||(Q(e,r,t.context),i=!1);var o=t.framebuffer,a=!1;function s(e){return e.contextDep&&n||e.propDep}o?(o.propDep?n=a=!0:o.contextDep&&n&&(a=!0),a||W(e,r,o)):W(e,r,null),t.state.viewport&&t.state.viewport.propDep&&(n=!0),K(e,r,t),q(e,r,t.state,(function(e){return!s(e)})),t.profile&&s(t.profile)||$(e,r,t,!1,"a1"),t.contextDep=n,t.needsContext=i,t.needsFramebuffer=a;var l=t.shader.progVar;if(l.contextDep&&n||l.propDep)ie(e,r,t,null);else{var u=l.append(e,r);if(r(e.shared.gl,".useProgram(",u,".program);"),t.shader.program)ie(e,r,t,t.shader.program);else{r(e.shared.vao,".setVAO(null);");var c=e.global.def("{}"),f=r.def(u,".id"),p=r.def(c,"[",f,"]");r(e.cond(p).then(p,".call(this,a0,a1);").else(p,"=",c,"[",f,"]=",e.link((function(r){return J(ie,e,t,r,2)})),"(",u,");",p,".call(this,a0,a1);"))}}Object.keys(t.state).length>0&&r(e.shared.current,".dirty=true;")}function ae(e,t){var n=e.proc("scope",3);e.batchId="a2";var i=e.shared,o=i.current;function a(r){var o=t.shader[r];o&&n.set(i.shader,"."+r,o.append(e,n))}Q(e,n,t.context),t.framebuffer&&t.framebuffer.append(e,n),Ms(Object.keys(t.state)).forEach((function(r){var o=t.state[r],a=o.append(e,n);Cr(a)?a.forEach((function(t,i){n.set(e.next[r],"["+i+"]",t)})):n.set(i.next,"."+r,a)})),$(e,n,t,!0,!0),[ha,ga,ma,ya,va].forEach((function(r){var o=t.draw[r];o&&n.set(i.draw,"."+r,""+o.append(e,n))})),Object.keys(t.uniforms).forEach((function(o){var a=t.uniforms[o].append(e,n);Array.isArray(a)&&(a="["+a.join()+"]"),n.set(i.uniforms,"["+r.id(o)+"]",a)})),Object.keys(t.attributes).forEach((function(r){var i=t.attributes[r].append(e,n),o=e.scopeAttrib(r);Object.keys(new m).forEach((function(e){n.set(o,"."+e,i[e])}))})),t.scopeVAO&&n.set(i.vao,".targetVAO",t.scopeVAO.append(e,n)),a(pa),a(da),Object.keys(t.state).length>0&&(n(o,".dirty=true;"),n.exit(o,".dirty=true;")),n("a1(",e.shared.context,",a0,",e.batchId,");")}function se(e){if("object"===typeof e&&!Cr(e)){for(var t=Object.keys(e),r=0;r<t.length;++r)if(ve.isDynamic(e[t[r]]))return!0;return!1}}function le(e,t,r){var n=t.static[r];if(n&&se(n)){var i=e.global,o=Object.keys(n),a=!1,s=!1,l=!1,u=e.global.def("{}");o.forEach((function(t){var r=n[t];if(ve.isDynamic(r)){"function"===typeof r&&(r=n[t]=ve.unbox(r));var o=Ds(r,null);a=a||o.thisDep,l=l||o.propDep,s=s||o.contextDep}else{switch(i(u,".",t,"="),typeof r){case"number":i(r);break;case"string":i('"',r,'"');break;case"object":Array.isArray(r)&&i("[",r.join(),"]");break;default:i(e.link(r));break}i(";")}})),t.dynamic[r]=new ve.DynamicVariable(Do,{thisDep:a,contextDep:s,propDep:l,ref:u,append:c}),delete t.static[r]}function c(e,t){o.forEach((function(r){var i=n[r];if(ve.isDynamic(i)){var o=e.invoke(t,i);t(u,".",r,"=",o,";")}}))}}function ue(e,r,n,i,o){var a=P();a.stats=a.link(o),Object.keys(r.static).forEach((function(e){le(a,r,e)})),Oa.forEach((function(t){le(a,e,t)}));var s=V(e,r,n,i,a);return te(a,s),ae(a,s),oe(a,s),t(a.compile(),{destroy:function(){s.shader.program.destroy()}})}return{next:A,current:x,procs:function(){var e=P(),t=e.proc("poll"),r=e.proc("refresh"),o=e.block();t(o),r(o);var a,s=e.shared,l=s.gl,u=s.next,c=s.current;o(c,".dirty=false;"),W(e,t),W(e,r,null,!0),y&&(a=e.link(y)),n.oes_vertex_array_object&&r(e.link(n.oes_vertex_array_object),".bindVertexArrayOES(null);");for(var f=0;f<i.maxAttributes;++f){var p=r.def(s.attributes,"[",f,"]"),d=e.cond(p,".buffer");d.then(l,".enableVertexAttribArray(",f,");",l,".bindBuffer(",Ma,",",p,".buffer.buffer);",l,".vertexAttribPointer(",f,",",p,".size,",p,".type,",p,".normalized,",p,".stride,",p,".offset);").else(l,".disableVertexAttribArray(",f,");",l,".vertexAttrib4f(",f,",",p,".x,",p,".y,",p,".z,",p,".w);",p,".buffer=null;"),r(d),y&&r(a,".vertexAttribDivisorANGLE(",f,",",p,".divisor);")}return r(e.shared.vao,".currentVAO=null;",e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"),Object.keys(_).forEach((function(n){var i=_[n],a=o.def(u,".",n),s=e.block();s("if(",a,"){",l,".enable(",i,")}else{",l,".disable(",i,")}",c,".",n,"=",a,";"),r(s),t("if(",a,"!==",c,".",n,"){",s,"}")})),Object.keys(E).forEach((function(n){var i,a,s=E[n],f=x[n],p=e.block();if(p(l,".",s,"("),Cr(f)){var d=f.length;i=e.global.def(u,".",n),a=e.global.def(c,".",n),p(Ce(d,(function(e){return i+"["+e+"]"})),");",Ce(d,(function(e){return a+"["+e+"]="+i+"["+e+"];"})).join("")),t("if(",Ce(d,(function(e){return i+"["+e+"]!=="+a+"["+e+"]"})).join("||"),"){",p,"}")}else i=o.def(u,".",n),a=o.def(c,".",n),p(i,");",c,".",n,"=",i,";"),t("if(",i,"!==",a,"){",p,"}");r(p)})),e.compile()}(),compile:ue}}function Rs(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var Fs=34918,Ns=34919,zs=35007,Us=function(e,t){if(!t.ext_disjoint_timer_query)return null;var r=[];function n(){return r.pop()||t.ext_disjoint_timer_query.createQueryEXT()}function i(e){r.push(e)}var o=[];function a(e){var r=n();t.ext_disjoint_timer_query.beginQueryEXT(zs,r),o.push(r),d(o.length-1,o.length,e)}function s(){t.ext_disjoint_timer_query.endQueryEXT(zs)}function l(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var u=[];function c(){return u.pop()||new l}function f(e){u.push(e)}var p=[];function d(e,t,r){var n=c();n.startQueryIndex=e,n.endQueryIndex=t,n.sum=0,n.stats=r,p.push(n)}var h=[],v=[];function m(){var e,r,n=o.length;if(0!==n){v.length=Math.max(v.length,n+1),h.length=Math.max(h.length,n+1),h[0]=0,v[0]=0;var a=0;for(e=0,r=0;r<o.length;++r){var s=o[r];t.ext_disjoint_timer_query.getQueryObjectEXT(s,Ns)?(a+=t.ext_disjoint_timer_query.getQueryObjectEXT(s,Fs),i(s)):o[e++]=s,h[r+1]=a,v[r+1]=e}for(o.length=e,e=0,r=0;r<p.length;++r){var l=p[r],u=l.startQueryIndex,c=l.endQueryIndex;l.sum+=h[c]-h[u];var d=v[u],m=v[c];m===d?(l.stats.gpuTime+=l.sum/1e6,f(l)):(l.startQueryIndex=d,l.endQueryIndex=m,p[e++]=l)}p.length=e}}return{beginQuery:a,endQuery:s,pushScopeStats:d,update:m,getNumPendingQueries:function(){return o.length},clear:function(){r.push.apply(r,o);for(var e=0;e<r.length;e++)t.ext_disjoint_timer_query.deleteQueryEXT(r[e]);o.length=0,r.length=0},restore:function(){o.length=0,r.length=0}}},Hs=16384,Vs=256,Qs=1024,Ws=34962,Ks="webglcontextlost",qs="webglcontextrestored",Gs=1,$s=2,Ys=3;function Xs(e,t){for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}function Zs(e){var r=ke(e);if(!r)return null;var n=r.gl,i=n.getContextAttributes(),o=n.isContextLost(),a=Te(n,r);if(!a)return null;var s=ye(),l=Rs(),u=a.extensions,c=Us(n,u),f=ge(),p=n.drawingBufferWidth,d=n.drawingBufferHeight,h={tick:0,time:0,viewportWidth:p,viewportHeight:d,framebufferWidth:p,framebufferHeight:d,drawingBufferWidth:p,drawingBufferHeight:d,pixelRatio:r.pixelRatio},v={},m={elements:null,primitive:4,count:-1,offset:0,instances:-1},g=_t(n,u),y=rr(n,l,r,x),b=fo(n,u,g,l,y);function x(e){return b.destroyBuffer(e)}var A=wr(n,u,y,l),w=go(n,s,l,r),_=pi(n,u,g,(function(){T.procs.poll()}),h,l,r),E=Ti(n,u,g,l,r),k=so(n,u,g,_,E,l),T=js(n,s,u,g,y,A,_,k,v,b,w,m,h,c,r),C=wo(n,k,T.procs.poll,h,i,u,g),S=T.next,O=n.canvas,M=[],P=[],B=[],L=[r.onDestroy],D=null;function I(){if(0===M.length)return c&&c.update(),void(D=null);D=me.next(I),q();for(var e=M.length-1;e>=0;--e){var t=M[e];t&&t(h,null,0)}n.flush(),c&&c.update()}function j(){!D&&M.length>0&&(D=me.next(I))}function R(){D&&(me.cancel(I),D=null)}function F(e){e.preventDefault(),o=!0,R(),P.forEach((function(e){e()}))}function N(e){n.getError(),o=!1,a.restore(),w.restore(),y.restore(),_.restore(),E.restore(),k.restore(),b.restore(),c&&c.restore(),T.procs.refresh(),j(),B.forEach((function(e){e()}))}function z(){M.length=0,R(),O&&(O.removeEventListener(Ks,F),O.removeEventListener(qs,N)),w.clear(),k.clear(),E.clear(),_.clear(),A.clear(),y.clear(),b.clear(),c&&c.clear(),L.forEach((function(e){e()}))}function U(e){function r(e){var r=t({},e);function n(e){if(e in r){var t=r[e];delete r[e],Object.keys(t).forEach((function(n){r[e+"."+n]=t[n]}))}}return delete r.uniforms,delete r.attributes,delete r.context,delete r.vao,"stencil"in r&&r.stencil.op&&(r.stencil.opBack=r.stencil.opFront=r.stencil.op,delete r.stencil.op),n("blend"),n("depth"),n("cull"),n("stencil"),n("polygonOffset"),n("scissor"),n("sample"),"vao"in e&&(r.vao=e.vao),r}function n(e,t){var r={},n={};return Object.keys(e).forEach((function(i){var o=e[i];if(ve.isDynamic(o))n[i]=ve.unbox(o,i);else{if(t&&Array.isArray(o))for(var a=0;a<o.length;++a)if(ve.isDynamic(o[a]))return void(n[i]=ve.unbox(o,i));r[i]=o}})),{dynamic:n,static:r}}ne(!!e,"invalid args to regl({...})"),ne.type(e,"object","invalid args to regl({...})");var i=n(e.context||{},!0),a=n(e.uniforms||{},!0),s=n(e.attributes||{},!1),l=n(r(e),!1),u={gpuTime:0,cpuTime:0,count:0},c=T.compile(l,s,a,i,u),f=c.draw,p=c.batch,d=c.scope,h=[];function v(e){while(h.length<e)h.push(null);return h}function m(e,t){var r;if(o&&ne.raise("context lost"),"function"===typeof e)return d.call(this,null,e,0);if("function"===typeof t)if("number"===typeof e)for(r=0;r<e;++r)d.call(this,null,t,r);else{if(!Array.isArray(e))return d.call(this,e,t,0);for(r=0;r<e.length;++r)d.call(this,e[r],t,r)}else if("number"===typeof e){if(e>0)return p.call(this,v(0|e),0|e)}else{if(!Array.isArray(e))return f.call(this,e);if(e.length)return p.call(this,e,e.length)}}return t(m,{stats:u,destroy:function(){c.destroy()}})}O&&(O.addEventListener(Ks,F,!1),O.addEventListener(qs,N,!1));var H=k.setFBO=U({framebuffer:ve.define.call(null,Gs,"framebuffer")});function V(e,t){var r=0;T.procs.poll();var i=t.color;i&&(n.clearColor(+i[0]||0,+i[1]||0,+i[2]||0,+i[3]||0),r|=Hs),"depth"in t&&(n.clearDepth(+t.depth),r|=Vs),"stencil"in t&&(n.clearStencil(0|t.stencil),r|=Qs),ne(!!r,"called regl.clear with no buffer specified"),n.clear(r)}function Q(e){if(ne("object"===typeof e&&e,"regl.clear() takes an object as input"),"framebuffer"in e)if(e.framebuffer&&"framebufferCube"===e.framebuffer_reglType)for(var r=0;r<6;++r)H(t({framebuffer:e.framebuffer.faces[r]},e),V);else H(e,V);else V(null,e)}function W(e){function t(){var t=Xs(M,e);function r(){var e=Xs(M,r);M[e]=M[M.length-1],M.length-=1,M.length<=0&&R()}ne(t>=0,"cannot cancel a frame twice"),M[t]=r}return ne.type(e,"function","regl.frame() callback must be a function"),M.push(e),j(),{cancel:t}}function K(){var e=S.viewport,t=S.scissor_box;e[0]=e[1]=t[0]=t[1]=0,h.viewportWidth=h.framebufferWidth=h.drawingBufferWidth=e[2]=t[2]=n.drawingBufferWidth,h.viewportHeight=h.framebufferHeight=h.drawingBufferHeight=e[3]=t[3]=n.drawingBufferHeight}function q(){h.tick+=1,h.time=$(),K(),T.procs.poll()}function G(){_.refresh(),K(),T.procs.refresh(),c&&c.update()}function $(){return(ge()-f)/1e3}function Y(e,t){var r;switch(ne.type(t,"function","listener callback must be a function"),e){case"frame":return W(t);case"lost":r=P;break;case"restore":r=B;break;case"destroy":r=L;break;default:ne.raise("invalid event, must be one of frame,lost,restore,destroy")}return r.push(t),{cancel:function(){for(var e=0;e<r.length;++e)if(r[e]===t)return r[e]=r[r.length-1],void r.pop()}}}G();var X=t(U,{clear:Q,prop:ve.define.bind(null,Gs),context:ve.define.bind(null,$s),this:ve.define.bind(null,Ys),draw:U({}),buffer:function(e){return y.create(e,Ws,!1,!1)},elements:function(e){return A.create(e,!1)},texture:_.create2D,cube:_.createCube,renderbuffer:E.create,framebuffer:k.create,framebufferCube:k.createCube,vao:b.createVAO,attributes:i,frame:W,on:Y,limits:g,hasExtension:function(e){return g.extensions.indexOf(e.toLowerCase())>=0},read:C,destroy:z,_gl:n,_refresh:G,poll:function(){q(),c&&c.update()},now:$,stats:l});return r.onDone(null,X),X}return Zs}))},"7dc8":function(e,t,r){"use strict";var n=r("84d3"),i=r("1793");e.exports=function(e){return i(e)?e:n(e,"%v is not a plain function",arguments[1])}},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("9ed3"),o=r("e163"),a=r("d2bb"),s=r("d44e"),l=r("9112"),u=r("6eeb"),c=r("b622"),f=r("c430"),p=r("3f8c"),d=r("ae93"),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=c("iterator"),g="keys",y="values",b="entries",x=function(){return this};e.exports=function(e,t,r,c,d,A,w){i(r,t,c);var _,E,k,T=function(e){if(e===d&&P)return P;if(!v&&e in O)return O[e];switch(e){case g:return function(){return new r(this,e)};case y:return function(){return new r(this,e)};case b:return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+" Iterator",S=!1,O=e.prototype,M=O[m]||O["@@iterator"]||d&&O[d],P=!v&&M||T(d),B="Array"==t&&O.entries||M;if(B&&(_=o(B.call(new e)),h!==Object.prototype&&_.next&&(f||o(_)===h||(a?a(_,h):"function"!=typeof _[m]&&l(_,m,x)),s(_,C,!0,!0),f&&(p[C]=x))),d==y&&M&&M.name!==y&&(S=!0,P=function(){return M.call(this)}),f&&!w||O[m]===P||l(O,m,P),p[t]=P,d)if(E={values:T(y),keys:A?P:T(g),entries:T(b)},w)for(k in E)(v||S||!(k in O))&&u(O,k,E[k]);else n({target:t,proto:!0,forced:v||S},E);return E}},"7de8":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("e419"),s=r("8bc8");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(e){var n;return f(this,r),n=t.call(this,e),n.state={position:n.getUpdatedPosition(e),originalLinkURL:e.linkURL},n}return d(r,[{key:"componentDidMount",value:function(){""===this.props.linkURL.trim()&&(0,s.findDOMNode)(this.input).focus()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props;e.linkID!==t.linkID&&this.setState({position:this.getUpdatedPosition(t)})}},{key:"componentDidUpdate",value:function(){(0,s.findDOMNode)(this.input).setSelectionRange(this.props.linkURL.length,this.props.linkURL.length)}},{key:"getUpdatedPosition",value:function(e){var t=e.coordinates,r=t.x,n=t.y;return{x:r,y:n}}},{key:"onInputChange",value:function(e){var t=this.props,r=t.linkID,n=t.onURLChange;n(r,e)}},{key:"onInputKeyDown",value:function(e){var t=e.key;t===a.RETURN_KEY&&(e.preventDefault(),this.props.onClose(this.props.linkID)),t===a.ESCAPE_KEY&&(e.preventDefault(),this.onInputChange(this.state.originalLinkURL),this.props.onClose(this.props.linkID))}},{key:"render",value:function(){var e=this,t=this.context.localize,r=this.state.position,n=this.props,o=n.onBlur,a=n.onFocus,s=n.linkURL,l=t("Enter Link URL"),u=t("URL");return i.default.createElement("div",{className:"rich-text-editor__link-editor",style:{left:r.x,top:r.y}},i.default.createElement("span",{className:"rich-text-editor__link-editor__label"},u),i.default.createElement("input",{className:"rich-text-editor__link-editor__input",onBlur:o,onFocus:a,onChange:function(t){return e.onInputChange(t.target.value)},onKeyDown:function(t){return e.onInputKeyDown(t)},ref:function(t){return e.input=t},value:s,placeholder:l}))}}]),r}(i.Component);A.propTypes={linkID:o.default.string.isRequired,linkURL:o.default.string.isRequired,onBlur:o.default.func.isRequired,onFocus:o.default.func.isRequired,onClose:o.default.func.isRequired,onURLChange:o.default.func.isRequired,coordinates:o.default.shape({x:o.default.number,y:o.default.number})},A.defaultProps={coordinates:{x:0,y:0}},A.contextTypes={localize:o.default.func.isRequired};var w=A;t.default=w},"7df2":function(e,t,r){"use strict";var n={};function i(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}t.throttle=function(e,t,r){var o=n[e],a=Date.now();if(!o){for(var s in n)n[s].ts<a-6e4&&delete n[s];o=n[e]={ts:0,timer:null}}function l(){r(),o.ts=Date.now(),o.onDone&&(o.onDone(),o.onDone=null)}i(o),a>o.ts+t?l():o.timer=setTimeout((function(){l(),o.timer=null}),t)},t.done=function(e){var t=n[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},t.clear=function(e){if(e)i(n[e]),delete n[e];else for(var r in n)t.clear(r)}},"7e43":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("defs",null,o.default.createElement("radialGradient",{id:"a",cx:"36.94",cy:"20.41",r:"1",gradientUnits:"userSpaceOnUse"},o.default.createElement("stop",{offset:"0",stopColor:"#269ffb"}),o.default.createElement("stop",{offset:"1",stopColor:"#1d9bfb",stopOpacity:".1"})),o.default.createElement("radialGradient",{id:"b",cx:"22.42",cy:"20.41",r:"2",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"c",cx:"10.91",cy:"14.41",r:"1",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"d",cx:"15.92",cy:"24.42",r:"1",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"e",cx:"13.91",cy:"28.42",r:"1",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"f",cx:"25.93",cy:"27.42",r:"3",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"g",cx:"13.91",cy:"17.41",r:"1",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"h",cx:"20.92",cy:"26.42",r:"1",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"i",cx:"23.93",cy:"14.41",r:"1.5",xlinkHref:"#a"}),o.default.createElement("radialGradient",{id:"j",cx:"30.93",cy:"20.41",r:"1",xlinkHref:"#a"})),o.default.createElement("path",{fill:"none",stroke:"#dfe8f3",d:"M5.48 6.05h35.48v35.48H5.48zM5.48 11.22h35.48M5.48 16.4h35.48M5.48 21.08h35.48M5.48 26.25h35.48M5.48 31.43h35.48M5.48 36.6h35.48M10.65 41.44V5.96M15.83 41.53V6.05M20.51 41.53V6.05M25.68 41.53V6.05M30.86 41.53V6.05M36.03 41.53V6.05",strokeMiterlimit:"10",strokeWidth:".25"}),o.default.createElement("path",{d:"M0 0h46v46H0z",fill:"none"}),o.default.createElement("path",{d:"M31.48 28.3l-2.3 3.45-4.6 1.15-2.31-2.3h-3.45l-6.16 1.15-3.45-2.3 3.85-4.61v-3.45h5.17l4.19 3 4.46-3 9.21 6.91z",fill:"#25fdfc",stroke:"#fff",strokeMiterlimit:"10"}),o.default.createElement("path",{d:"M36.09 28.3l-9.21-6.91-4.46 3-4.19-3h-5.17l-2.88-1.73v-2.3L9 16.21l-1.12 1.15-1.15-1.15V11.6H9l2.31-1.15h2.3l3.45 2.3h3.46l4.6-2.3 3.46 3.46-3.46 3.45h5.76v-2.3h3.45v1.15l1.15 1.15 1.15-1.15 3.46 3.45v3.46h-4zm-9.79 7.48l-1.15 1.15H24l.58-4-2.31-2.3h-3.45l-6.16 1.15 7.89 4v2.3l3.45 2.3h2.3l1.15-1.15v-2.3z",fill:"#25fdfc",stroke:"#fff",strokeMiterlimit:"10"}),o.default.createElement("circle",{cx:"36.94",cy:"20.41",r:"1",fill:"url(#a)"}),o.default.createElement("circle",{cx:"22.42",cy:"20.41",r:"2",fill:"url(#b)"}),o.default.createElement("circle",{cx:"10.91",cy:"14.41",r:"1",fill:"url(#c)"}),o.default.createElement("circle",{cx:"15.92",cy:"24.42",r:"1",fill:"url(#d)"}),o.default.createElement("circle",{cx:"13.91",cy:"28.42",r:"1",fill:"url(#e)"}),o.default.createElement("circle",{cx:"25.93",cy:"27.42",r:"3",fill:"url(#f)"}),o.default.createElement("circle",{cx:"13.91",cy:"17.41",r:"1",fill:"url(#g)"}),o.default.createElement("circle",{cx:"20.92",cy:"26.42",r:"1",fill:"url(#h)"}),o.default.createElement("circle",{cx:"23.93",cy:"14.41",r:"1.5",fill:"url(#i)"}),o.default.createElement("circle",{cx:"30.93",cy:"20.41",r:"1",fill:"url(#j)"}))};t.default=u},"7e55":function(e,t,r){var n=r("53cc");e.exports=function(e,t){var r,i=[],o=[],a=[],s={},l=[];function u(e){a[e]=!1,s.hasOwnProperty(e)&&Object.keys(s[e]).forEach((function(t){delete s[e][t],a[t]&&u(t)}))}function c(e){var t,n,i=!1;for(o.push(e),a[e]=!0,t=0;t<l[e].length;t++)n=l[e][t],n===r?(f(r,o),i=!0):a[n]||(i=c(n));if(i)u(e);else for(t=0;t<l[e].length;t++){n=l[e][t];var p=s[n];p||(p={},s[n]=p),p[n]=!0}return o.pop(),i}function f(e,r){var n=[].concat(r).concat(e);t?t(c):i.push(n)}function p(t){for(var r=0;r<e.length;r++)r<t&&(e[r]=[]),e[r]=e[r].filter((function(e){return e>=t}))}function d(t){p(t);for(var r,i=e,o=n(i),a=o.components.filter((function(e){return e.length>1})),s=1/0,l=0;l<a.length;l++)for(var u=0;u<a[l].length;u++)a[l][u]<s&&(s=a[l][u],r=l);var c=a[r];if(!c)return!1;var f=e.map((function(e,t){return-1===c.indexOf(t)?[]:e.filter((function(e){return-1!==c.indexOf(e)}))}));return{leastVertex:s,adjList:f}}r=0;var h=e.length;while(r<h){var v=d(r);if(r=v.leastVertex,l=v.adjList,l){for(var m=0;m<l.length;m++)for(var g=0;g<l[m].length;g++){var y=l[m][g];a[+y]=!1,s[y]={}}c(r),r+=1}else r=h}return t?void 0:i}},"7e64":function(e,t,r){var n=r("5e2e"),i=r("efb6"),o=r("2fcc"),a=r("802a"),s=r("55a3"),l=r("d02c");function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=i,u.prototype["delete"]=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},"7e91":function(e,t,r){"use strict";e.exports=l;var n=r("a3fd");function i(e,t,r,n,i,o){this._gl=e,this._wrapper=t,this._index=r,this._locations=n,this._dimension=i,this._constFunc=o}var o=i.prototype;function a(e,t,r,n,o,a,s){for(var l=["gl","v"],u=[],c=0;c<o;++c)l.push("x"+c),u.push("x"+c);l.push("if(x0.length===void 0){return gl.vertexAttrib"+o+"f(v,"+u.join()+")}else{return gl.vertexAttrib"+o+"fv(v,x0)}");var f=Function.apply(null,l),p=new i(e,t,r,n,o,f);Object.defineProperty(a,s,{set:function(t){return e.disableVertexAttribArray(n[r]),f(e,n[r],t),t},get:function(){return p},enumerable:!0})}function s(e,t,r,n,i,o,s){for(var l=new Array(i),u=new Array(i),c=0;c<i;++c)a(e,t,r[c],n,i,l,c),u[c]=l[c];Object.defineProperty(l,"location",{set:function(e){if(Array.isArray(e))for(var t=0;t<i;++t)u[t].location=e[t];else for(t=0;t<i;++t)u[t].location=e+t;return e},get:function(){for(var e=new Array(i),t=0;t<i;++t)e[t]=n[r[t]];return e},enumerable:!0}),l.pointer=function(t,o,a,s){t=t||e.FLOAT,o=!!o,a=a||i*i,s=s||0;for(var l=0;l<i;++l){var u=n[r[l]];e.vertexAttribPointer(u,i,t,o,a,s+l*i),e.enableVertexAttribArray(u)}};var f=new Array(i),p=e["vertexAttrib"+i+"fv"];Object.defineProperty(o,s,{set:function(t){for(var o=0;o<i;++o){var a=n[r[o]];if(e.disableVertexAttribArray(a),Array.isArray(t[0]))p.call(e,a,t[o]);else{for(var s=0;s<i;++s)f[s]=t[i*o+s];p.call(e,a,f)}}return t},get:function(){return l},enumerable:!0})}function l(e,t,r,i){for(var o={},l=0,u=r.length;l<u;++l){var c=r[l],f=c.name,p=c.type,d=c.locations;switch(p){case"bool":case"int":case"float":a(e,t,d[0],i,1,o,f);break;default:if(p.indexOf("vec")>=0){var h=p.charCodeAt(p.length-1)-48;if(h<2||h>4)throw new n("","Invalid data type for attribute "+f+": "+p);a(e,t,d[0],i,h,o,f)}else{if(!(p.indexOf("mat")>=0))throw new n("","Unknown data type for attribute "+f+": "+p);h=p.charCodeAt(p.length-1)-48;if(h<2||h>4)throw new n("","Invalid data type for attribute "+f+": "+p);s(e,t,d,i,h,o,f)}break}}return o}o.pointer=function(e,t,r,n){var i=this,o=i._gl,a=i._locations[i._index];o.vertexAttribPointer(a,i._dimension,e||o.FLOAT,!!t,r||0,n||0),o.enableVertexAttribArray(a)},o.set=function(e,t,r,n){return this._constFunc(this._locations[this._index],e,t,r,n)},Object.defineProperty(o,"location",{get:function(){return this._locations[this._index]},set:function(e){return e!==this._locations[this._index]&&(this._locations[this._index]=0|e,this._wrapper.program=null),0|e}})},"7e96":function(e,t,r){"use strict";var n=r("0642");e.exports=function(e,t,r){var i={},o={_fullLayout:r},a=n.getFromTrace(o,t,"x"),s=n.getFromTrace(o,t,"y");return i.xLabel=n.tickText(a,e.x,!0).text,i.yLabel=n.tickText(s,e.y,!0).text,i}},"7ed2":function(e,t){var r="__lodash_hash_undefined__";function n(e){return this.__data__.set(e,r),this}e.exports=n},"7eee":function(e,t,r){"use strict";var n=r("fc26"),i=r("cb34").overrideAll,o=r("8c2d"),a={error_x:n.extendFlat({},o),error_y:n.extendFlat({},o)};delete a.error_x.copy_zstyle,delete a.error_y.copy_zstyle,delete a.error_y.copy_ystyle;var s={error_x:n.extendFlat({},o),error_y:n.extendFlat({},o),error_z:n.extendFlat({},o)};function l(e,t,r){(t.error_y||{}).visible&&(r.yerr=e.yh-e.y,t.error_y.symmetric||(r.yerrneg=e.y-e.ys)),(t.error_x||{}).visible&&(r.xerr=e.xh-e.x,t.error_x.symmetric||(r.xerrneg=e.x-e.xs))}delete s.error_x.copy_ystyle,delete s.error_y.copy_ystyle,delete s.error_z.copy_ystyle,delete s.error_z.copy_zstyle,e.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:a,bar:a,histogram:a,scatter3d:i(s,"calc","nested"),scattergl:i(a,"calc","nested")}},supplyDefaults:r("2015"),calc:r("db3f"),makeComputeError:r("3c31"),plot:r("553a"),style:r("afdd"),hoverInfo:l}},"7f20":function(e,t,r){"use strict";var n=r("e7cb"),i=r("13c3");e.exports=function(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var r=n(e);return r.space?(t=Array(3),t[0]=Math.min(Math.max(r.values[0],0),255),t[1]=Math.min(Math.max(r.values[1],0),255),t[2]=Math.min(Math.max(r.values[2],0),255),"h"===r.space[0]&&(t=i.rgb(t)),t.push(Math.min(Math.max(r.alpha,0),1)),t):[]}},"7f23":function(e,t,r){"use strict";var n=r("9452"),i=r("33aa"),o=r("8a55"),a=r("736d"),s=r("0d82"),l=r("24f7"),u=r("2f61"),c=r("f352"),f=r("d8db"),p=r("321f"),d=r("6eee"),h=r("7c4c"),v=r("0746"),m=l.OrderedSet,g={replaceText:function(e,t,r,i,o){var a=d(e,t),s=h(a,t),l=n.create({style:i||m(),entity:o||null});return c(s,s.getSelectionAfter(),r,l)},insertText:function(e,t,r,n,i){return t.isCollapsed()||f(!1),g.replaceText(e,t,r,n,i)},moveText:function(e,t,r){var n=s(e,t),i=g.removeRange(e,t,"backward");return g.replaceWithFragment(i,r,n)},replaceWithFragment:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=d(e,t),o=h(i,t);return u(o,o.getSelectionAfter(),r,n)},removeRange:function(e,t,r){var n,i,o,s;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),n=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(n),s=e.getBlockForKey(i);var l=t.getStartOffset(),u=t.getEndOffset(),c=o.getEntityAt(l),f=s.getEntityAt(u-1);if(n===i&&c&&c===f){var p=a(e.getEntityMap(),o,s,t,r);return h(e,p)}var v=d(e,t);return h(v,t)},splitBlock:function(e,t){var r=d(e,t),n=h(r,t);return v(n,n.getSelectionAfter())},applyInlineStyle:function(e,t,r){return i.add(e,t,r)},removeInlineStyle:function(e,t,r){return i.remove(e,t,r)},setBlockType:function(e,t,r){return p(e,t,(function(e){return e.merge({type:r,depth:0})}))},setBlockData:function(e,t,r){return p(e,t,(function(e){return e.merge({data:r})}))},mergeBlockData:function(e,t,r){return p(e,t,(function(e){return e.merge({data:e.getData().merge(r)})}))},applyEntity:function(e,t,r){var n=d(e,t);return o(n,t,r)}};e.exports=g},"7f24":function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("61e5"),a=r("9452"),s=r("f2e4"),l=r("24be"),u=r("7f23"),c=r("dec3"),f=r("ac96"),p=r("7301"),d=r("24f7"),h=r("2365"),v=p("draft_tree_data_support"),m=v?l:s,g=d.List,y=d.Repeat,b={insertAtomicBlock:function(e,t,r){var i=e.getCurrentContent(),s=e.getSelection(),l=u.removeRange(i,s,"backward"),p=l.getSelectionAfter(),d=u.splitBlock(l,p),h=d.getSelectionAfter(),b=u.setBlockType(d,h,"atomic"),x=a.create({entity:t}),A={key:f(),type:"atomic",text:r,characterList:g(y(x,r.length))},w={key:f(),type:"unstyled"};v&&(A=n({},A,{nextSibling:w.key}),w=n({},w,{prevSibling:A.key}));var _=[new m(A),new m(w)],E=o.createFromArray(_),k=u.replaceWithFragment(b,h,E),T=k.merge({selectionBefore:s,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return c.push(e,T,"insert-fragment")},moveAtomicBlock:function(e,t,r,n){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===n||"after"===n){var s=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=h(o,t,s,n)}else{var l=u.removeRange(o,r,"backward"),f=l.getSelectionAfter(),p=l.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=h(l,t,p,"before");else if(f.getEndOffset()===p.getLength())i=h(l,t,p,"after");else{var d=u.splitBlock(l,f),v=d.getSelectionAfter(),m=d.getBlockForKey(v.getFocusKey());i=h(d,t,m,"before")}}var g=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return c.push(e,g,"move-block")}};e.exports=b},"7f6b":function(e,t,r){"use strict";var n=r("b5bb"),i=r("c808");e.exports=function(e,t){var r=[],o=e,a=1;while(Array.isArray(o))r.push(o.length),a*=o.length,o=o[0];return 0===r.length?n():(t||(t=n(new Float64Array(a),r)),i(t,e),t)}},"7f9a":function(e,t,r){var n=r("da84"),i=r("8925"),o=n.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"7f9b":function(e,t,r){var n=r("28dd"),i=r("b9ee"),o=i("./perspective.glsl"),a=i("./orthographic.glsl"),s=i("./projection.glsl"),l=i("./draw-fragment.glsl"),u=i("./pick-fragment.glsl"),c=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],f={vertex:o,fragment:l,attributes:c},p={vertex:a,fragment:l,attributes:c},d={vertex:s,fragment:l,attributes:c},h={vertex:o,fragment:u,attributes:c},v={vertex:a,fragment:u,attributes:c},m={vertex:s,fragment:u,attributes:c};function g(e,t){var r=n(e,t),i=r.attributes;return i.position.location=0,i.color.location=1,i.glyph.location=2,i.id.location=3,r}t.createPerspective=function(e){return g(e,f)},t.createOrtho=function(e){return g(e,p)},t.createProject=function(e){return g(e,d)},t.createPickPerspective=function(e){return g(e,h)},t.createPickOrtho=function(e){return g(e,v)},t.createPickProject=function(e){return g(e,m)}},"7f9e":function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("6dcc"),a=r("c005"),s=r("9547"),l=r("5913"),u=r("0c39").calcAllAutoBins;function c(e,t,r,n){var i,o=new Array(e);if(n)for(i=0;i<e;i++)o[i]=1/(t[i+1]-t[i]);else{var a=1/r;for(i=0;i<e;i++)o[i]=a}return o}function f(e,t){return{start:e(t.start),end:e(t.end),size:t.size}}function p(e,t,r,n,i,o){var a,s=e.length-1,u=new Array(s),c=l(r,n,e,i,o);for(a=0;a<s;a++){var f=(t||[])[a];u[a]=void 0===f?[c(e[a]),c(e[a+1],!0)]:[f,f]}return u}e.exports=function(e,t){var r,l,d,h,v=i.getFromId(e,t.xaxis),m=i.getFromId(e,t.yaxis),g=t.xcalendar,y=t.ycalendar,b=function(e){return v.r2c(e,0,g)},x=function(e){return m.r2c(e,0,y)},A=function(e){return v.c2r(e,0,g)},w=function(e){return m.c2r(e,0,y)},_=u(e,t,v,"x"),E=_[0],k=_[1],T=u(e,t,m,"y"),C=T[0],S=T[1],O=t._length;k.length>O&&k.splice(O,k.length-O),S.length>O&&S.splice(O,S.length-O);var M=[],P=[],B=[],L="string"===typeof E.size,D="string"===typeof C.size,I=[],j=[],R=L?I:E,F=D?j:C,N=0,z=[],U=[],H=t.histnorm,V=t.histfunc,Q=-1!==H.indexOf("density"),W="max"===V||"min"===V,K=W?null:0,q=o.count,G=a[H],$=!1,Y=[],X=[],Z="z"in t?t.z:"marker"in t&&Array.isArray(t.marker.color)?t.marker.color:"";Z&&"count"!==V&&($="avg"===V,q=o[V]);var J=E.size,ee=b(E.start),te=b(E.end)+(ee-i.tickIncrement(ee,J,!1,g))/1e6;for(r=ee;r<te;r=i.tickIncrement(r,J,!1,g))P.push(K),I.push(r),$&&B.push(0);I.push(r);var re=P.length,ne=(r-ee)/re,ie=A(ee+ne/2),oe=C.size,ae=x(C.start),se=x(C.end)+(ae-i.tickIncrement(ae,oe,!1,y))/1e6;for(r=ae;r<se;r=i.tickIncrement(r,oe,!1,y)){M.push(P.slice()),j.push(r);var le=new Array(re);for(l=0;l<re;l++)le[l]=[];U.push(le),$&&z.push(B.slice())}j.push(r);var ue=M.length,ce=(r-ae)/ue,fe=w(ae+ce/2);Q&&(Y=c(P.length,R,ne,L),X=c(M.length,F,ce,D)),L||"date"!==v.type||(R=f(b,R)),D||"date"!==m.type||(F=f(x,F));var pe=!0,de=!0,he=new Array(re),ve=new Array(ue),me=1/0,ge=1/0,ye=1/0,be=1/0;for(r=0;r<O;r++){var xe=k[r],Ae=S[r];d=n.findBin(xe,R),h=n.findBin(Ae,F),d>=0&&d<re&&h>=0&&h<ue&&(N+=q(d,r,M[h],Z,z[h]),U[h][d].push(r),pe&&(void 0===he[d]?he[d]=xe:he[d]!==xe&&(pe=!1)),de&&(void 0===ve[h]?ve[h]=Ae:ve[h]!==Ae&&(de=!1)),me=Math.min(me,xe-I[d]),ge=Math.min(ge,I[d+1]-xe),ye=Math.min(ye,Ae-j[h]),be=Math.min(be,j[h+1]-Ae))}if($)for(h=0;h<ue;h++)N+=s(M[h],z[h]);if(G)for(h=0;h<ue;h++)G(M[h],N,Y,X[h]);return{x:k,xRanges:p(I,pe&&he,me,ge,v,g),x0:ie,dx:ne,y:S,yRanges:p(j,de&&ve,ye,be,m,y),y0:fe,dy:ce,z:M,pts:U}}},"7fb7":function(e,t,r){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},"7fbb":function(e,t,r){"use strict";var n=r("0642"),i=r("9092").extendFlat;e.exports=function(e,t,r){var o,a,s,l,u,c,f,p,d,h,v,m,g,y,b=e["_"+t],x=e[t+"axis"],A=x._gridlines=[],w=x._minorgridlines=[],_=x._boundarylines=[],E=e["_"+r],k=e[r+"axis"];"array"===x.tickmode&&(x.tickvals=b.slice());var T=e._xctrl,C=e._yctrl,S=T[0].length,O=T.length,M=e._a.length,P=e._b.length;n.prepTicks(x),"array"===x.tickmode&&delete x.tickvals;var B=x.smoothing?3:1;function L(n){var i,o,a,s,l,u,c,f,d,h,v,m,g=[],y=[],b={};if("b"===t)for(o=e.b2j(n),a=Math.floor(Math.max(0,Math.min(P-2,o))),s=o-a,b.length=P,b.crossLength=M,b.xy=function(t){return e.evalxy([],t,o)},b.dxy=function(t,r){return e.dxydi([],t,a,r,s)},i=0;i<M;i++)u=Math.min(M-2,i),c=i-u,f=e.evalxy([],i,o),k.smoothing&&i>0&&(d=e.dxydi([],i-1,a,0,s),g.push(l[0]+d[0]/3),y.push(l[1]+d[1]/3),h=e.dxydi([],i-1,a,1,s),g.push(f[0]-h[0]/3),y.push(f[1]-h[1]/3)),g.push(f[0]),y.push(f[1]),l=f;else for(i=e.a2i(n),u=Math.floor(Math.max(0,Math.min(M-2,i))),c=i-u,b.length=M,b.crossLength=P,b.xy=function(t){return e.evalxy([],i,t)},b.dxy=function(t,r){return e.dxydj([],u,t,c,r)},o=0;o<P;o++)a=Math.min(P-2,o),s=o-a,f=e.evalxy([],i,o),k.smoothing&&o>0&&(v=e.dxydj([],u,o-1,c,0),g.push(l[0]+v[0]/3),y.push(l[1]+v[1]/3),m=e.dxydj([],u,o-1,c,1),g.push(f[0]-m[0]/3),y.push(f[1]-m[1]/3)),g.push(f[0]),y.push(f[1]),l=f;return b.axisLetter=t,b.axis=x,b.crossAxis=k,b.value=n,b.constvar=r,b.index=p,b.x=g,b.y=y,b.smoothing=k.smoothing,b}function D(n){var i,o,a,s,l,u=[],c=[],f={};if(f.length=b.length,f.crossLength=E.length,"b"===t)for(a=Math.max(0,Math.min(P-2,n)),l=Math.min(1,Math.max(0,n-a)),f.xy=function(t){return e.evalxy([],t,n)},f.dxy=function(t,r){return e.dxydi([],t,a,r,l)},i=0;i<S;i++)u[i]=T[n*B][i],c[i]=C[n*B][i];else for(o=Math.max(0,Math.min(M-2,n)),s=Math.min(1,Math.max(0,n-o)),f.xy=function(t){return e.evalxy([],n,t)},f.dxy=function(t,r){return e.dxydj([],o,t,s,r)},i=0;i<O;i++)u[i]=T[i][n*B],c[i]=C[i][n*B];return f.axisLetter=t,f.axis=x,f.crossAxis=k,f.value=b[n],f.constvar=r,f.index=n,f.x=u,f.y=c,f.smoothing=k.smoothing,f}if("array"===x.tickmode){for(l=5e-15,u=[Math.floor((b.length-1-x.arraytick0)/x.arraydtick*(1+l)),Math.ceil(-x.arraytick0/x.arraydtick/(1+l))].sort((function(e,t){return e-t})),c=u[0]-1,f=u[1]+1,p=c;p<f;p++)a=x.arraytick0+x.arraydtick*p,a<0||a>b.length-1||A.push(i(D(a),{color:x.gridcolor,width:x.gridwidth}));for(p=c;p<f;p++)if(s=x.arraytick0+x.arraydtick*p,v=Math.min(s+x.arraydtick,b.length-1),!(s<0||s>b.length-1)&&!(v<0||v>b.length-1))for(m=b[s],g=b[v],o=0;o<x.minorgridcount;o++)y=v-s,y<=0||(h=m+(g-m)*(o+1)/(x.minorgridcount+1)*(x.arraydtick/y),h<b[0]||h>b[b.length-1]||w.push(i(L(h),{color:x.minorgridcolor,width:x.minorgridwidth})));x.startline&&_.push(i(D(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&_.push(i(D(b.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(l=5e-15,u=[Math.floor((b[b.length-1]-x.tick0)/x.dtick*(1+l)),Math.ceil((b[0]-x.tick0)/x.dtick/(1+l))].sort((function(e,t){return e-t})),c=u[0],f=u[1],p=c;p<=f;p++)d=x.tick0+x.dtick*p,A.push(i(L(d),{color:x.gridcolor,width:x.gridwidth}));for(p=c-1;p<f+1;p++)for(d=x.tick0+x.dtick*p,o=0;o<x.minorgridcount;o++)h=d+x.dtick*(o+1)/(x.minorgridcount+1),h<b[0]||h>b[b.length-1]||w.push(i(L(h),{color:x.minorgridcolor,width:x.minorgridwidth}));x.startline&&_.push(i(L(b[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&_.push(i(L(b[b.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},"7fc3":function(e,t,r){"use strict";var n=r("371e"),i=r("e812").hover;e.exports=function(e,t,r){var o=n.getComponentMethod("annotations","onClick")(e,e._hoverdata);function a(){e.emit("plotly_click",{points:e._hoverdata,event:t})}void 0!==r&&i(e,t,r,!0),e._hoverdata&&t&&t.target&&(o&&o.then?o.then(a):a(),t.stopImmediatePropagation&&t.stopImmediatePropagation())}},"7fda":function(e,t,r){"use strict";var n=r("0642"),i=r("8797"),o=r("fc26").mergeArray,a=r("4136"),s=r("e806").BADNUM;function l(e){return"a"===e||"absolute"===e}function u(e){return"t"===e||"total"===e}e.exports=function(e,t){var r,c,f,p,d=n.getFromId(e,t.xaxis||"x"),h=n.getFromId(e,t.yaxis||"y");"h"===t.orientation?(r=d.makeCalcdata(t,"x"),f=h.makeCalcdata(t,"y"),c=i(t,h,"y",f),p=!!t.yperiodalignment):(r=h.makeCalcdata(t,"y"),f=d.makeCalcdata(t,"x"),c=i(t,d,"x",f),p=!!t.xperiodalignment);for(var v,m=Math.min(c.length,r.length),g=new Array(m),y=0,b=!1,x=0;x<m;x++){var A=r[x]||0,w=!1;(r[x]!==s||u(t.measure[x])||l(t.measure[x]))&&x+1<m&&(r[x+1]!==s||u(t.measure[x+1])||l(t.measure[x+1]))&&(w=!0);var _=g[x]={i:x,p:c[x],s:A,rawS:A,cNext:w};l(t.measure[x])?(y=_.s,_.isSum=!0,_.dir="totals",_.s=y):u(t.measure[x])?(_.isSum=!0,_.dir="totals",_.s=y):(_.isSum=!1,_.dir=_.rawS<0?"decreasing":"increasing",v=_.s,_.s=y+v,y+=v),"totals"===_.dir&&(b=!0),p&&(g[x].orig_p=f[x]),t.ids&&(_.id=String(t.ids[x])),_.v=(t.base||0)+y}return g.length&&(g[0].hasTotals=b),o(t.text,g,"tx"),o(t.hovertext,g,"htx"),a(g,t),g}},8014:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("ab5b")),o=l(r("d7bc")),a=l(r("4d26")),s=r("8704");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(e){var n;return f(this,r),n=t.call(this,e),n.state={options:n.props.options},n.handleChange=n.handleChange.bind(y(n)),n}return d(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({options:e.options})}},{key:"handleChange",value:function(e){var t=this.props.options.slice();t[e]=Object.assign(t[e],{checked:!t[e].checked}),this.props.onChange(t)}},{key:"renderOptions",value:function(){var e=this;return this.state.options.map((function(t,r){var n=(0,a.default)(["checkbox__check","icon"],{"checkbox__check--checked":t.checked}),o=(0,a.default)("checkbox__item",{"checkbox__item--vertical":"vertical"===e.props.orientation,"checkbox__item--horizontal":"horizontal"===e.props.orientation});return i.default.createElement("div",{key:r,className:o},i.default.createElement("div",{className:"checkbox__box".concat(t.checked?" checkbox__box--checked":""),onClick:function(){return e.handleChange(r)}},t.checked&&i.default.createElement("div",{className:n},i.default.createElement(s.CheckIcon,null))),i.default.createElement("div",{className:"checkbox__label",onClick:function(){return e.handleChange(r)}},t.label))}))}},{key:"render",value:function(){var e=(0,a.default)("checkbox__group",this.props.className,{checkbox__group_horizontal:"horizontal"===this.props.orientation});return i.default.createElement("div",{className:e},this.renderOptions())}}]),r}(i.Component);A.propTypes={options:o.default.arrayOf(o.default.shape({label:o.default.string.isRequired,value:o.default.string.isRequired,checked:o.default.bool.isRequired})).isRequired,onChange:o.default.func,className:o.default.string,orientation:o.default.string},A.defaultProps={className:""};var w=A;t.default=w},"801f":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("9903")),o=f(r("e78b")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=(0,l.connectRangeSelectorToAxis)(i.default),E=function(e){m(r,e);var t=y(r);function r(){return d(this,r),t.apply(this,arguments)}return v(r,[{key:"render",value:function(){if(!this.context.fullContainer||!this.context.fullContainer.rangeselector||!this.context.fullContainer.rangeselector.visible||0===this.context.fullContainer._axisGroup)return null;var e=this.context,t=e.fullContainer.rangeselector.buttons,r=void 0===t?[]:t,n=e.localize,i=e.layout,a=this.props.children,u=r.length&&r.map((function(e,t){return s.default.createElement(_,{key:t,rangeselectorIndex:t,name:(0,l.getParsedTemplateString)(e.label,{meta:i}),canDelete:!0},a)})),c={label:n("Button"),handler:function(e){var t=e.fullContainer,r=e.updateContainer;if(r){var n=Array.isArray(t.rangeselector.buttons)?t.rangeselector.buttons.length:0;r(p({},"rangeselector.buttons[".concat(n,"]"),{}))}}};return s.default.createElement(o.default,{addAction:c},u||null)}}]),r}(s.Component);E.contextTypes={fullContainer:a.default.object,localize:a.default.func,layout:a.default.object},E.propTypes={children:a.default.node},E.plotly_editor_traits={no_visibility_forcing:!0};var k=E;t.default=k},"802a":function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},8057:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(!1===t(e[r],r,e))break;return e}e.exports=r},8062:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("d115"),a=r("72a4").DESELECTDIM,s=r("2df3"),l=r("93a6").resizeText,u=s.styleTextPoints;function c(e,t,r){var s=r||n.select(e).selectAll("g.funnellayer").selectAll("g.trace");l(e,s,"funnel"),s.style("opacity",(function(e){return e[0].trace.opacity})),s.each((function(t){var r=n.select(this),s=t[0].trace;r.selectAll(".point > path").each((function(e){if(!e.isBlank){var t=s.marker;n.select(this).call(o.fill,e.mc||t.color).call(o.stroke,e.mlc||t.line.color).call(i.dashLine,t.line.dash,e.mlw||t.line.width).style("opacity",s.selectedpoints&&!e.selected?a:1)}})),u(r,s,e),r.selectAll(".regions").each((function(){n.select(this).selectAll("path").style("stroke-width",0).call(o.fill,s.connector.fillcolor)})),r.selectAll(".lines").each((function(){var e=s.connector.line;i.lineGroupStyle(n.select(this).selectAll("path"),e.width,e.color,e.dash)}))}))}e.exports={style:c}},"806e":function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("2969f");e.exports=function(e,t){var r=e.cd,a=r[0].trace,s=r[0].t,l=e.scene,u=l.matrixOptions.cdata,c=e.xaxis,f=e.yaxis,p=[];if(!l)return p;var d=!i.hasMarkers(a)&&!i.hasText(a);if(!0!==a.visible||d)return p;var h=o.getDimIndex(a,c),v=o.getDimIndex(a,f);if(!1===h||!1===v)return p;var m=s.xpx[h],g=s.ypx[v],y=u[h],b=u[v],x=[],A=[];if(!1!==t&&!t.degenerate)for(var w=0;w<y.length;w++)t.contains([m[w],g[w]],null,w,e)?(x.push(w),p.push({pointNumber:w,x:y[w],y:b[w]})):A.push(w);var _=l.matrixOptions;return x.length||A.length?l.selectBatch.length||l.unselectBatch.length||l.matrix.update(l.unselectedOptions,n.extendFlat({},_,l.selectedOptions,l.viewOpts)):l.matrix.update(_,null),l.selectBatch=x,l.unselectBatch=A,p}},"807a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M31.625 8.813s.125 0 0 0c.125 0 0-.125 0 0zm-4.312 16.25c.313-.125.438-.375.563-.688-.125 0 0 .188-.125.188 0 .25-.438.25-.438.5zm5.062-17.438c-.125 0-.125.125-.25 0v-.313h-.25c0-.375-.25-.625-.25-1.063-.188 0-.313 0-.313-.125l-.25.25c-.125 0 0-.125-.125-.125-.25.438-.375.938-.25 1.375-.125.125-.125.375-.125.5h-.313c0 .125 0 .25-.125.25-.375.188-.813.313-1.188.313-.125 0-.375 0-.563.125-.125.125-.25.375-.375.5s-.25.125-.25.313c.125.125.125.25.125.375-.438.688-1.063.375-1.625.688 0 .125.125.25.125.375-.5.688-1.188 1.063-1.813 1.5-.188 0-.438-.188-.563-.313 0-.25.25-.5.375-.625 0-.438-.125-.813-.375-1.063l-.375.375c-.188 0-.188-.125-.188-.25.438-.125.188-.813.313-.938-.125 0-.125-.125-.125-.125-.438 0-.688-.438-.938 0 0 .125.125 0 .125.125-.125 0-.125 0-.25.125 0 .25.125.375-.188.375 0-.125.188-.25 0-.375-.25.375-.375.938-.375 1.438.375.438.25 1.063-.125 1.5l-.125.125c-.813-.688-.313-2.125-.125-2.938-.188.25-.313.375-.563.563.25-.563.375-.938.563-1.25.25 0 .625-.125.938-.25h.75c-.125 0-.25-.125-.125-.375h-.375v-.313c-.438.188-.938.313-1.375.313 0-.313-.25-.313-.5-.313h-.125c.125-.25.125-.375.375-.5-.25 0-.5.125-.625.375-.313.125-.563.313-.813.438 0-.125-.313 0-.313-.125 0 0 .188-.188.188-.313-.313.125-.438.125-.688.125.25-.25.375-.375.688-.625.25-.125.5-.313.625-.438-.25 0-.5 0-.625-.125-.188.125-.438.125-.563 0l-.125-.125c-.25-.125-.563-.125-.938-.125-.125-.125-.25-.125-.563-.125-.125-.125 0-.563-.25-.563-.125 0 0 .313-.125.313-4.813 0-9.625-.563-14.25-1.875.125.625.125.938.125 1.188-.125 0-.25-.125-.125-.25-.125 0-.125 0-.25.125-.313-.125-.563-.313-.813-.438-.125.438 0 .813.125 1.25h-.125s0 .125.125.125c-.125.125-.25.25 0 .375-.125 0-.125.125-.125.125-.438.813-.688 1.625-1.188 2.25 0 .188 0 .438-.188.563 0 .563-.125 1.063-.375 1.438.375.313 0 .813.125 1.125.125.125.25.375.25.625 0 .125 0 .438.188.438-.188.25 0 .625.25.75 0 .188-.125.188-.125.313 0 .5.5.75.5 1.313v.563c.438.125.813.375 1.188.625v.125c.438.125.688.563.563 1.063.375.188.938.313 1.438.313 0 .125-.125 0-.125.125.563.25 1.063.625 1.625 1.063.813.375 1.563.5 2.5.688 0-.188 0-.313.188-.438.375.125.75.125 1.063.125.25.438.5.688.75.938.313.125.438.438.438.688.25.375.5.688.938.813.125-.313.375-.563.625-.688.688 0 1.375.688 1.375 1.313.25.125.25.563.5.688-.125.938.938 1.188 1.5 1.313-.125-.5-.125-1.063 0-1.438.625-.438 1.313-.813 1.875-1.188.625-.313 1.313-.313 2-.125 0-.313-.313 0-.313-.188.313-.25.438.188.688.188v.125c.125.125.25.125.375.125.188-.125.188-.125.313-.125.125.125-.125.125 0 .125.125-.125.25-.25.25-.438 0 .188.5.438.5.188-.125 0-.25-.188-.5-.313.125 0 .25-.25.125-.375-.125.125-.125.125-.25.125.125-.375.5-.375 1.063-.375 0 0 0-.313.125-.313s.125.313 0 .313c.563-.438 1.313-.313 1.875.25.25 0 .5-.125.688-.438.625 0 .5.563 1.063.563.25.25 0 .938.25 1.188v-.25h.125c0 .125-.125.25-.125.25.125.25.375.563.5.688l.188-.125c.125.125.125.25.125.375.25 0 .5.25.5.563.125-.125.25-.125.563-.125.125-.813-.125-1.625-.563-2.313 0 0 .125 0 .125-.125-.625-.5-1.063-1.563-.75-2.5.125-.188.25-.438.25-.563.25-.125.5-.375.625-.688 0-.375.188-.625.563-.625h.125c0-.813.938-.563.938-1.063-.125.125-.25.125-.375 0 .125.125.25-.125.125-.313.125.188.375 0 .5-.125v-.125h-.25c.125 0 .25 0 .25-.125-.125-.25-.25-.563-.375-.813h-.25c.125-.125-.125-.25-.125-.375h.125a.657.657 0 0 0-.313-.563c.188 0 0-.125.188-.125-.313-.125-.313-.813 0-.938-.188.125.125.25-.188.563.188 0 0 0 .188.25.125.125.25.125.25.25v-.25c.375.125 0 .688.25.938.25-.563.25-.938.25-1.5-.25-.125-.375-.25-.375-.5.125.25.25.375.375.375v.125c.438-.375.563-.75.438-1.313h-.125c.125 0 0-.125.125-.125v-.125c.375-.438.938-.688 1.438-.938 0-.125 0-.125.125-.25 0 .125 0 .125-.125.25.125-.125.25-.25.563-.25 0-.125 0-.313-.313-.313.188.188.188.188.188.313-.313.25-.438-.438-.688-.313 0-.375 0-.75.125-1.188.25 0 .375-.125.563-.25v-.125-.25s.125 0 .125.125c.125 0 .25-.125.25-.313 0 .188 0 .188.125.188s-.125-.188-.125-.313c.25.125.813-.375.375-.625zm-7.812 9.313h-2.688v-.813l-7.188.563v.938h-2.688v-2l-4.813-4.688h-2V8.25h2.688v2l4.813 4.688h2v.813l7.188-.438v-.938h2.688z"}))};t.default=u},8164:function(e,t,r){"use strict";var n=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};e.exports=n},8173:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26");e.exports=function(e,t,r,o){var a=r("x"),s=r("y"),l=i.minRowLength(a),u=i.minRowLength(s);if(l&&u){t._length=Math.min(l,u);var c=n.getComponentMethod("calendars","handleTraceDefaults");c(e,t,["x","y"],o);var f=r("z")||r("marker.color");f&&r("histfunc"),r("histnorm"),r("autobinx"),r("autobiny")}else t.visible=!1}},"81f0":function(e,t,r){"use strict";var n=r("9092").extendFlat;t.attributes=function(e,t){e=e||{},t=t||{};var r={valType:"info_array",role:"info",editType:e.editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},i=e.name?e.name+" ":"",o=e.trace?"trace ":"subplot ",a=t.description?" "+t.description:"",s={x:n({},r,{description:["Sets the horizontal domain of this ",i,o,"(in plot fraction).",a].join("")}),y:n({},r,{description:["Sets the vertical domain of this ",i,o,"(in plot fraction).",a].join("")}),editType:e.editType};return e.noGridCell||(s.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",i,o,".",a].join("")},s.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",i,o,".",a].join("")}),s},t.defaults=function(e,t,r,n){var i=n&&n.x||[0,1],o=n&&n.y||[0,1],a=t.grid;if(a){var s=r("domain.column");void 0!==s&&(s<a.columns?i=a._domains.x[s]:delete e.domain.column);var l=r("domain.row");void 0!==l&&(l<a.rows?o=a._domains.y[l]:delete e.domain.row)}var u=r("domain.x",i),c=r("domain.y",o);u[0]<u[1]||(e.domain.x=i.slice()),c[0]<c[1]||(e.domain.y=o.slice())}},"821b":function(e,t,r){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}},"824b":function(e,t,r){"use strict";var n=r("19b2"),i=r("e806").BADNUM,o=r("09bd"),a=r("106b"),s=r("4136"),l=r("fc26")._;function u(e){return e&&"string"===typeof e}e.exports=function(e,t){var r,c=Array.isArray(t.locations),f=c?t.locations.length:t._length,p=new Array(f);r=t.geojson?function(e){return u(e)||n(e)}:u;for(var d=0;d<f;d++){var h=p[d]={};if(c){var v=t.locations[d];h.loc=r(v)?v:null}else{var m=t.lon[d],g=t.lat[d];n(m)&&n(g)?h.lonlat=[+m,+g]:h.lonlat=[i,i]}}return a(p,t),o(e,t),s(p,t),f&&(p[0].t={labels:{lat:l(e,"lat:")+" ",lon:l(e,"lon:")+" "}}),p}},8256:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.313 0H2.688A2.668 2.668 0 0 0 0 2.688v26.625c0 1.5 1.188 2.688 2.688 2.688h26.625c1.5 0 2.688-1.188 2.688-2.688V2.688c0-1.5-1.188-2.688-2.688-2.688zM18.125 2.938c.125.125.25.125.438.125h.375c0 .125 0 .125-.125.25h-.125l-.125.125s0 .188-.188.188h.313v-.313-.125c-.125-.125-.125-.125-.313 0-.125.125-.125.125-.25 0 0 0 0-.125-.125-.125 0-.125-.125-.125-.125-.125l-.25-.125-.188-.125h-.125H18c.125.125.125.125.125.25zm-.812.125v.375l-.125.188c-.125.125-.125 0-.125-.188v-.25h-.25-.125s-.125.125 0 .125.125.125.125.313h-1.376v-.188h.188c.25 0 .375 0 .5-.125.125-.375-.125-.375-.25-.375s-.125 0-.25-.125l-.188-.125h1.75c0 .125.125.25.125.375zm-4.375 0c.125 0 .125.125.25.125 0 0 0 .25-.125.125s-.375-.125-.5-.125c-.188-.125-.313-.125-.438-.125h-.688c-.125 0-.125.125-.25.125v-.25h-.125s-.125 0-.125.125c-.125-.125-.25-.125-.375-.125h-.938s0 .125-.188.125c0 .125-.125.25-.25 0h-.625c-.188 0-.438-.125-.563-.25-.25 0-.563.125-.813.125-.125 0-.25-.125-.5-.125h-.813-.125c-.125 0-.125-.125-.313-.125h6c.313.125.438.125.563.25.125 0 .375 0 .563-.125v-.125h.125zM12 8c-.125 0-.125-.125-.125-.25s-.125-.125-.25-.125h-.188v-.188l.188.188c.125 0 .25 0 .375.125V8zM2.688 2.688h2.75s0 .125-.125.125-.25.125-.375.125-.25.125-.563.125H4s-.125.125-.125.25.125.313.25.313.25 0 .438.125c.125 0 .25.125.25.25.125 0 .125.125 0 .125-.25-.125-.438-.125-.563-.25l-.125-.125L4 3.876c-.25 0-.375.125-.563.125 0 .125.188.25.313.25.125.125.25.125.375.125h.563s0 .313-.313.313c-.125 0-.375 0-.5.125 0 .125-.125.125-.125.25.125.125.25.375.25.563 0 .125.125 0 .25 0 0 0 .125 0 .125-.188 0-.125.313-.125.188.188 0 .125 0 .25.125.25 0-.125.125-.25.125-.25l.25.25s.125-.125.125 0 0 0-.125.125-.375.125-.5.25h-.188c-.125 0-.125.125-.25.125s-.125.313 0 .313c.25 0 .563-.125.813-.313.125 0 .125.188.375 0l.125-.125c.188-.125.313-.125.313-.25.125.125.125.125.25.125h.125c.125 0 .125-.125.25-.125v-.125h-.25c.125 0 .125-.125.25-.25v-.188c0-.125.188-.125.188-.125.125 0 .125 0 0 .313-.188.25.125-.188.25-.188h.375c0-.125 0-.125.125-.125 0-.125 0-.125.125-.25.188.125.313.125.438.125s.25 0 .375.125c.125 0 .688.125.813.125.25 0 .375.188.375.438s.188.25.188.25c.125 0 .25.125.375.25 0 .188 0 .438.125.563s.25.125.438.25v-.125c0-.125 0-.125-.188-.125v-.125c0-.125.188-.125.188 0 0-.125.125 0 .25.125s.125.25.125.25 0 .438.125.438.25.125.375.25c0 0 .188.125.188.25s.125.25.125.438v.75c0 .313.125.563.25.813 0 .25 0 .563.125.688s.25.125.563.125c.125 0 .25.125.375.375 0 .438.125.563.25.813.125 0 .313.125.125.25-.125.188-.125.313 0 .313.188 0 .188-.125.313.125.125.125.125.25.25.375 0 .125.125.125.125.125.125 0 .125.313.438.313v-.188c-.188-.125-.188-.125-.313-.25 0-.125-.125-.25-.125-.25 0-.125-.125-.25-.125-.25h-.125c-.125-.125-.125-.313-.25-.438l-.188-.125s-.125-.125 0-.25c.188-.125.188.125.313.25.125.25.375.563.5.688.125.25.313.375.563.625.125.188.25.188.25.313s.125.25.125.25c0 .125 0 .25.125.375a.77.77 0 0 1 .688.438c0 .125.125.375.25.375h.438s.125.125.25 0c0-.125.125-.125.25-.125s.25.125.25.25c.188.125.313.313.438.313s.25.125.25.125c.125 0 .125 0 .25.125.188.125.313.25.188.375 0 .125.125.313.25.313.125.125.25.125.25.25.125 0 .25.125.25.125s.125.125.313.125l.125-.125v-.125h.25c.125.125.125.25.125.375.125.125.125.438.125.563s0 .25-.125.375-.25.125-.25.25c-.125.188-.25.313-.25.438v.5c-.188.125-.188.313-.188.563s.438.25.438.375.25.688.25.813c.125.25.125.375.125.688.125.25.313.375.563.375.125 0 .25.125.25.25.125.188.25.188.25.313s.125.25 0 .375c0 0 0 .688-.125.938v.813c-.125.125-.25.125-.125.25s.375.25.375.25c0 .125.188.313 0 .563 0 .125-.125.25-.125.375-.125.125-.125.313-.125.438s-.125.125-.125.25.125.125.125.25-.125.25-.125.438c0 .125 0 .25.125.375 0 .125-.125.25-.125.375-.125.188-.125.313-.125.313 0 .125.125.125.125.25 0 0 0 .125-.125.25H2.696zm26.625 26.625h-6.625v-.125-.25h-.313v-.125l.188-.125.125-.125c.125-.188.125-.313.25-.313 0 0 .125-.125.125-.25s0 0-.125 0-.125-.125-.125-.25c.125 0 .25 0 .375.125h.125v-.25-.188-.125h.688c.125 0 .125-.125.125-.25l.125-.125s.125-.125 0-.25h-.25l-.125-.125v-.188c0-.125 0-.25.125-.375 0 .25 0 .375.25.563.125.125.438 0 .563-.188l.125-.125c.125-.125.25-.25.25-.375v-.25s0-.188.125-.188l.125-.125c0-.125.188-.125.313-.25v-.25-.25l.125-.188.25-.125c.125 0 .125-.125.25-.125.188 0 .313 0 .438-.125 0-.125.125-.25.125-.375l.125-.188.125-.125c.125-.125.125-.25.125-.25v-.25c0-.125 0-.25.125-.25v-.313c0-.125 0-.25.188-.25l.625-.813c.125-.125.125-.25.313-.375l.125-.25c0-.188.125-.313.125-.438s0-.125-.125-.25c0-.125-.125-.125-.313-.25-.125 0-.25 0-.25-.188 0 0-.125 0-.125-.125l-.125-.125c-.125-.125-.25-.125-.25-.125h-.438l-.375-.25c-.125-.125-.25-.125-.438-.125-.125 0-.125-.125-.25.125 0 .125-.125.125-.125.25h-.25-.125l.125-.125v-.25-.313c0 .188-.125.188-.313.313-.25 0-.25-.125-.125-.125s.313-.188.438-.188.125-.125.125-.125c0-.125 0-.125-.125-.25s-.125-.25-.313-.375l-.25-.438c-.125-.125-.25-.25-.5-.25-.125 0-.313.25-.438 0v-.125l-.25-.25h-.25s-.313 0-.125-.188v-.125-.25-.125c0 .125-.188.125-.313.25l-.25-.25h-.25s-.125 0-.125.125v.125s0-.125-.125-.125c-.188-.125-.313-.125-.438 0 0 0-.125 0-.125-.125s-.125-.125-.125-.25h-.125c-.125 0-.125.125-.125.25s-.188.25-.188.375v-.125-.25c0-.125.188-.25 0-.25h-.125l.125.375h-.125c-.125.125-.25.125-.25.25s-.125.313-.25.313h-.125c0-.188-.125-.188-.125-.188h-.313-.125l-.25.188c-.125.125-.25 0-.438 0 0-.188-.125-.188-.125-.313v-.125-.25-.438c0-.125 0-.125-.125-.25 0-.125-.125-.125-.25-.125s-.25.125-.25.125h-.313c-.125 0 0 0 0-.125v-.125-.25c0-.125 0-.125.188-.313.125-.125.125-.25.125-.375 0 0 0-.125-.125-.125h-.563a.269.269 0 0 0-.25.25v.125c0 .125 0 .313-.125.313-.188-.188-.313-.188-.313 0 0 .125 0 0-.25-.188h-.125c-.125-.125-.25-.25-.25-.375v-.125-.438-.25-.375s0-.125.125-.125l.125-.313c.125 0 .125-.125.25-.25h.438c.125 0 .25 0 .375.125h.25v-.125s.125-.125.313-.125c.125 0 .375-.125.5-.125 0 0 .125.25.25.25.125-.125.125-.25.125 0s.188.438.313.688c0 .125.125.25.25.25.125-.125.125-.125.125-.25v-.25c0-.188-.125-.313-.125-.438 0 0 0-.125-.125-.125v-.125c0-.125.125-.25.125-.25.125-.188.125-.188.25-.313s.125-.25.313-.25c.125-.125.375-.125.25-.25s-.125-.25-.125-.563c0-.125.125-.125.125 0s.25-.125.125-.25v-.125h.125v-.125c0-.125.125-.125.25-.125h.563v-.188c0-.125-.125-.125-.125-.25v-.125c0-.125.125-.25.25-.25h.25l.125-.125h.188s0 .375.125.375.25-.125.25-.125l.375-.125c.125 0 .313 0 .438-.125v-.313s0-.125-.125-.125c0 0-.188 0-.188.125h-.125c0-.125 0-.25-.125-.25l-.125.125-.125-.125c.125 0 .125-.125 0-.25h-.25s-.125.125-.313.125c-.125 0-.125 0-.25.125C22 7.99 22 7.865 22 7.865c0-.125 0-.125.125-.125s.438-.125.563-.125c.125 0 .25 0 .25.125v.375s.375-.125.25-.125 0 0 0-.125l.125-.125h.438l.125-.125c.125 0 .125.125 0 .25s-.125.25-.25.5c-.188.188 0 .188.125.188h.375c.125 0 .125 0 .25.125h.563v-.125l-.125-.313v-.5-.125h-.125v-.188c-.125 0-.125.188-.125 0 .125-.125.125-.125.125-.25s.125-.125.125-.25v-.125a.269.269 0 0 1-.25-.25c0-.188-.188-.188-.313-.313h-.5c0-.125 0-.125-.125-.25 0 0 0-.125-.188-.125l-.125-.125-.25-.438v-.125s-.125 0-.25.25l-.125.188h-.125c-.188 0-.313-.188-.438-.313v-.125l.125-.125c-.125-.125-.25-.125-.375-.125-.125-.125-.25-.125-.563-.25h-.625c-.125.125-.125.25-.125.25v.25h-.188v.125c.188.125.313.313.313.438s0 .125-.125.25c-.188.25-.313.25-.438.25h-.125c.125.125.125.125.125.313v.5h-.25c-.125 0-.125-.125-.125-.125v-.25l-.125.125v-.25-.188c0-.125-.188-.25-.313-.25 0-.125-.125-.125-.25-.125h-.5c-.188 0-.313-.125-.438-.25h-.25-.25c0-.125 0-.125-.188-.313-.125 0 0-.125-.125-.25v-.25l.313-.125.25-.125c0-.125.125-.313.25-.313.25 0 .438.188.438.188v-.188-.25c0 .125.25.125.125.25-.125.188 0 .188 0 .188.125 0 .25-.188.25-.188s.25-.125.25 0c0 .188 0 .313.125.313s.313-.125.125-.313c-.125-.125-.25-.125-.25-.25l.25-.125h-.125-.125-.125s0-.125.125-.125h.563c.125 0 .125 0 .25-.125l.125-.125c0-.188-.125-.188-.125-.188l.125-.125h.438v-.125c.125 0 0 .25.125.125h.25c0 .125 0 .313-.125.313h-.125s-.125.125 0 .125h.25c0-.125.125-.125.125-.313h.125s.25.188.125.188l-.125.125c-.125 0-.125.125-.125.125v.125h-.25-.125-.125v.375s.125 0 .25-.125h.5c.125 0 .313.125.313.125.125 0 .125.188.25.188H22c.125 0 .125.125.125.125h.25v-.125h.188c.125.125.125.125.25.125v-.125c0-.188 0-.188-.125-.313s-.313-.125-.438-.25v-.125c.125 0 .313 0 .438.125s.25.125.25.125l.125-.125h.125l.438-.25h-.188c-.125 0-.25 0-.25-.125-.125-.188-.25-.188-.375-.313 0 0-.25.125-.25 0v-.25c0-.125 0-.125-.188-.25l-.625-.125h7.563zM19.875 8.375c0-.125-.125.313 0 .438 0 .125 0 .125-.125.25h-.125s-.188-.125-.188-.25v-.125c0-.125 0-.313-.125-.313h-.125c-.125 0-.125.188-.25.313v.625c-.125 0-.25-.125-.25-.375v-.125-.438c.125-.125.25-.125.375-.25.125 0 .375.125.375.125h.438c.125.125.25.313.25.438-.125 0-.25-.125-.25-.313zm.375.438c.313-.125.438-.125.563-.125.125.125-.125.125-.125.25-.125 0-.125.125-.313.125l-.25.125H20v.125c-.125.125-.25.125-.25.125l.25-.125v-.125zM19.063 8h-.375s-.125 0-.125-.125c-.188 0-.313 0-.313.125H18v-.125l.25-.125c.125-.125.313-.313.563-.313.125.188.25.313.375.313 0 0 0 .25-.125.25z"}))};t.default=u},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},8260:function(e,t,r){"use strict";var n=r("f118"),i=r("e806").BADNUM;e.exports=function(e,t,r){for(var o=t.layers.frontplot.select("g.scatterlayer"),a={xaxis:t.xaxis,yaxis:t.yaxis,plot:t.framework,layerClipId:t._hasClipOnAxisFalse?t.clipIds.forTraces:null},s=t.radialAxis,l=t.angularAxis,u=0;u<r.length;u++)for(var c=r[u],f=0;f<c.length;f++){var p=c[f],d=p.r;if(d===i)p.x=p.y=i;else{var h=s.c2g(d),v=l.c2g(p.theta);p.x=h*Math.cos(v),p.y=h*Math.sin(v)}}n(e,a,r,o)}},8297:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("d7bc")),o=c(r("ab5b")),a=r("4578"),s=r("8704"),l=f(r("1feb"));function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(e){var n;return p(this,r),n=t.call(this,e),n.state={expanded:n.props.group===n.props.selectedGroup},n.toggleExpanded=n.toggleExpanded.bind(b(n)),n.onChangeGroup=n.onChangeGroup.bind(b(n)),n.renderSubItem=n.renderSubItem.bind(b(n)),n}return h(r,[{key:"toggleExpanded",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"onChangeGroup",value:function(e){this.props.onChangeGroup(this.props.group,e)}},{key:"renderSubItem",value:function(e,t){var r=this,n=this.props.selectedPanel===e&&this.props.group===this.props.selectedGroup;return o.default.createElement(l.default,{key:"subitem-"+t,active:n,onClick:function(){return r.onChangeGroup(e)},label:e})}},{key:"render",value:function(){var e=this.props,t=e.group,r=e.panels,n=e.selectedGroup,i=this.state.expanded;return o.default.createElement("div",{className:(0,a.bem)("sidebar__group",[i?"is-expanded":"",n===t?"is-active":""])},o.default.createElement("div",{onClick:this.toggleExpanded,className:(0,a.bem)("sidebar__group","title")},o.default.createElement("div",{className:(0,a.bem)("sidebar__group","title__icon")},o.default.createElement(s.AngleRightIcon,null)),o.default.createElement("div",{className:(0,a.bem)("sidebar__group","title__label")},t)),i&&r.map(this.renderSubItem))}}]),r}(o.Component);t.default=w,w.propTypes={group:i.default.string,onChangeGroup:i.default.func,panels:i.default.array,selectedGroup:i.default.string,selectedPanel:i.default.string}},8298:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("d34f"),s=r("9cf1"),l=r("0681");e.exports=function(e,t,r,u){var c=e._fullLayout,f=t.xaxis,p=t.yaxis;function d(e){var t=s(e,{xaxis:f,yaxis:p,connectGaps:!0,baseTolerance:.75,shape:"spline",simplify:!0,linearized:!0});return o.smoothopen(t[0],1)}i.makeTraceGroups(u,r,"trace violins").each((function(e){var r=n.select(this),o=e[0],s=o.t,u=o.trace;if(!0!==u.visible||s.empty)r.remove();else{var h=s.bPos,v=s.bdPos,m=t[s.valLetter+"axis"],g=t[s.posLetter+"axis"],y="both"===u.side,b=y||"positive"===u.side,x=y||"negative"===u.side,A=r.selectAll("path.violin").data(i.identity);A.enter().append("path").style("vector-effect","non-scaling-stroke").attr("class","violin"),A.exit().remove(),A.each((function(e){var t,r,i,o,a,l,f,p,A=n.select(this),w=e.density,_=w.length,E=g.c2l(e.pos+h,!0),k=g.l2p(E);if(u.width)t=s.maxKDE/v;else{var T=c._violinScaleGroupStats[u.scalegroup];t="count"===u.scalemode?T.maxKDE/v*(T.maxCount/e.pts.length):T.maxKDE/v}if(b){for(f=new Array(_),a=0;a<_;a++)p=f[a]={},p[s.posLetter]=E+w[a].v/t,p[s.valLetter]=m.c2l(w[a].t,!0);r=d(f)}if(x){for(f=new Array(_),l=0,a=_-1;l<_;l++,a--)p=f[l]={},p[s.posLetter]=E-w[a].v/t,p[s.valLetter]=m.c2l(w[a].t,!0);i=d(f)}if(y)o=r+"L"+i.substr(1)+"Z";else{var C=[k,m.c2p(w[0].t)],S=[k,m.c2p(w[_-1].t)];"h"===u.orientation&&(C.reverse(),S.reverse()),o=b?"M"+C+"L"+r.substr(1)+"L"+S:"M"+S+"L"+i.substr(1)+"L"+C}A.attr("d",o),e.posCenterPx=k,e.posDensityScale=t*v,e.path=A.node(),e.pathLength=e.path.getTotalLength()/(y?2:1)}));var w,_,E,k=u.box,T=k.width,C=(k.line||{}).width;y?(w=v*T,_=0):b?(w=[0,v*T/2],_=C*{x:1,y:-1}[s.posLetter]):(w=[v*T/2,0],_=C*{x:-1,y:1}[s.posLetter]),a.plotBoxAndWhiskers(r,{pos:g,val:m},u,{bPos:h,bdPos:w,bPosPxOffset:_}),a.plotBoxMean(r,{pos:g,val:m},u,{bPos:h,bdPos:w,bPosPxOffset:_}),!u.box.visible&&u.meanline.visible&&(E=i.identity);var S=r.selectAll("path.meanline").data(E||[]);S.enter().append("path").attr("class","meanline").style("fill","none").style("vector-effect","non-scaling-stroke"),S.exit().remove(),S.each((function(e){var t=m.c2p(e.mean,!0),r=l.getPositionOnKdePath(e,u,t);n.select(this).attr("d","h"===u.orientation?"M"+t+","+r[0]+"V"+r[1]:"M"+r[0]+","+t+"H"+r[1])})),a.plotPoints(r,{x:f,y:p},u,s)}}))}},"82a5":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e");function o(e,t,r,i){i=i||n.identity,Array.isArray(e)&&(t[0][r]=i(e))}e.exports=function(e){var t=e.calcdata,r=e._fullLayout;function a(e){return function(t){return n.coerceHoverinfo({hoverinfo:t},{_module:e._module},r)}}for(var s=0;s<t.length;s++){var l=t[s],u=l[0].trace;if(!i.traceIs(u,"pie-like")){var c=i.traceIs(u,"2dMap")?o:n.fillArray;c(u.hoverinfo,l,"hi",a(u)),u.hovertemplate&&c(u.hovertemplate,l,"ht"),u.hoverlabel&&(c(u.hoverlabel.bgcolor,l,"hbg"),c(u.hoverlabel.bordercolor,l,"hbc"),c(u.hoverlabel.font.size,l,"hts"),c(u.hoverlabel.font.color,l,"htc"),c(u.hoverlabel.font.family,l,"htf"),c(u.hoverlabel.namelength,l,"hnl"),c(u.hoverlabel.align,l,"hta"))}}}},"82b5":function(e,t,r){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}},"82d4":function(e,t,r){"use strict";var n=r("fc26"),i=r("4183"),o=r("be2a");e.exports=function(e,t,r,a){function s(r,i){return n.coerce(e,t,o,r,i)}var l=s("u"),u=s("v"),c=s("w"),f=s("x"),p=s("y"),d=s("z");l&&l.length&&u&&u.length&&c&&c.length&&f&&f.length&&p&&p.length&&d&&d.length?(s("starts.x"),s("starts.y"),s("starts.z"),s("maxdisplayed"),s("sizeref"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),i(e,t,a,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),t._length=null):t.visible=!1}},"82d7":function(e,t,r){"use strict";var n=r("9845"),i=r("a876"),o=r("dfb3"),a=r("a462"),s=r("81f0").attributes,l=r("94d5").hovertemplateAttrs,u=r("f4e9"),c=r("a651").templatedArray,f=r("9092").extendFlat,p=r("cb34").overrideAll,d=r("78df").FORMAT_LINK,h=e.exports=p({hoverinfo:f({},i.hoverinfo,{flags:[],arrayOk:!1,description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired.","Note that this attribute is superseded by `node.hoverinfo` and `node.hoverinfo`","for nodes and links respectively."].join(" ")}),hoverlabel:a.hoverlabel,domain:s({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h",role:"style",description:"Sets the orientation of the Sankey diagram."},valueformat:{valType:"string",dflt:".3s",role:"style",description:["Sets the value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",d].join(" ")},valuesuffix:{valType:"string",dflt:"",role:"style",description:["Adds a unit to follow the value in the hover tooltip. Add a space if a separation","is necessary from the value."].join(" ")},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap",role:"style",description:["If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to","preserve space between nodes specified via `nodepad`.","If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow.","If value is `freeform`, the nodes can freely move on the plane.","If value is `fixed`, the nodes are stationary."].join(" ")},textfont:n({description:"Sets the font for node labels"}),customdata:void 0,node:{label:{valType:"data_array",dflt:[],role:"info",description:"The shown name of the node."},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"},role:"info",description:["Groups of nodes.","Each group is defined by an array with the indices of the nodes it contains.","Multiple groups can be specified."].join(" ")},x:{valType:"data_array",dflt:[],role:"info",description:"The normalized horizontal position of the node."},y:{valType:"data_array",dflt:[],role:"info",description:"The normalized vertical position of the node."},color:{valType:"color",role:"style",arrayOk:!0,description:["Sets the `node` color. It can be a single value, or an array for specifying color for each `node`.","If `node.color` is omitted, then the default `Plotly` color palette will be cycled through","to have a variety of colors. These defaults are not fully opaque, to allow some visibility of","what is beneath the node."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data to each node."].join(" ")},line:{color:{valType:"color",role:"style",dflt:o.defaultLine,arrayOk:!0,description:["Sets the color of the `line` around each `node`."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:.5,arrayOk:!0,description:["Sets the width (in px) of the `line` around each `node`."].join(" ")}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20,role:"style",description:"Sets the padding (in px) between the `nodes`."},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20,role:"style",description:"Sets the thickness (in px) of the `nodes`."},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all",role:"info",description:["Determines which trace information appear when hovering nodes.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:a.hoverlabel,hovertemplate:l({},{description:"Variables `sourceLinks` and `targetLinks` are arrays of link objects.",keys:["value","label"]}),description:"The nodes of the Sankey plot."},link:{label:{valType:"data_array",dflt:[],role:"info",description:"The shown name of the link."},color:{valType:"color",role:"style",arrayOk:!0,description:["Sets the `link` color. It can be a single value, or an array for specifying color for each `link`.","If `link.color` is omitted, then by default, a translucent grey link will be used."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data to each link."].join(" ")},line:{color:{valType:"color",role:"style",dflt:o.defaultLine,arrayOk:!0,description:["Sets the color of the `line` around each `link`."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,description:["Sets the width (in px) of the `line` around each `link`."].join(" ")}},source:{valType:"data_array",role:"info",dflt:[],description:"An integer number `[0..nodes.length - 1]` that represents the source node."},target:{valType:"data_array",role:"info",dflt:[],description:"An integer number `[0..nodes.length - 1]` that represents the target node."},value:{valType:"data_array",dflt:[],role:"info",description:"A numeric value representing the flow volume value."},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all",role:"info",description:["Determines which trace information appear when hovering links.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:a.hoverlabel,hovertemplate:l({},{description:"Variables `source` and `target` are node objects.",keys:["value","label"]}),colorscales:c("concentrationscales",{editType:"calc",label:{valType:"string",role:"info",editType:"calc",description:"The label of the links to color based on their concentration within a flow.",dflt:""},cmax:{valType:"number",role:"info",editType:"calc",dflt:1,description:["Sets the upper bound of the color domain."].join("")},cmin:{valType:"number",role:"info",editType:"calc",dflt:0,description:["Sets the lower bound of the color domain."].join("")},colorscale:f(u().colorscale,{dflt:[[0,"white"],[1,"black"]]})}),description:"The links of the Sankey plot.",role:"info"}},"calc","nested");h.transforms=void 0},"82e4":function(e,t,r){"use strict";e.exports=r("f90d")},"831f":function(e,t,r){"use strict";e.exports=r("0382")},8370:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(r("5174")),o=d(r("d7bc")),a=p(r("ab5b")),s=d(r("36cc")),l=d(r("74d6")),u=r("4578"),c=r("e419");function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=[{value:"circle",label:"M5,0A5,5 0 1,1 0,-5A5,5 0 0,1 5,0Z",threeD:!0,gl:!0},{value:"circle-open",label:"M5,0A5,5 0 1,1 0,-5A5,5 0 0,1 5,0Z",fill:"none",threeD:!0,gl:!0},{value:"circle-open-dot",label:"M5,0A5,5 0 1,1 0,-5A5,5 0 0,1 5,0ZM0,0.5L0.5,0L0,-0.5L-0.5,0Z",fill:"none"},{value:"square",label:"M5,5H-5V-5H5Z",threeD:!0,gl:!0},{value:"square-open",label:"M5,5H-5V-5H5Z",fill:"none",threeD:!0,gl:!0},{value:"square-open-dot",label:"M5,5H-5V-5H5ZM0,0.5L0.5,0L0,-0.5L-0.5,0Z",fill:"none"},{value:"diamond",label:"M6.5,0L0,6.5L-6.5,0L0,-6.5Z",threeD:!0,gl:!0},{value:"diamond-open",label:"M6.5,0L0,6.5L-6.5,0L0,-6.5Z",fill:"none",threeD:!0,gl:!0},{value:"diamond-open-dot",label:"M6.5,0L0,6.5L-6.5,0L0,-6.5ZM0,0.5L0.5,0L0,-0.5L-0.5,0Z",fill:"none"},{value:"cross",label:"M6,2H2V6H-2V2H-6V-2H-2V-6H2V-2H6Z",threeD:!0,gl:!0},{value:"cross-open",label:"M6,2H2V6H-2V2H-6V-2H-2V-6H2V-2H6Z",fill:"none",gl:!0},{value:"x",label:"M0,2.83l2.83,2.83l2.83,-2.83l-2.83,-2.83l2.83,-2.83l-2.83,-2.83l-2.83,2.83l-2.83,-2.83l-2.83,2.83l2.83,2.83l-2.83,2.83l2.83,2.83Z",threeD:!0,gl:!0},{value:"x-open",label:"M0,2.83l2.83,2.83l2.83,-2.83l-2.83,-2.83l2.83,-2.83l-2.83,-2.83l-2.83,2.83l-2.83,-2.83l-2.83,2.83l2.83,2.83l-2.83,2.83l2.83,2.83Z",fill:"none",gl:!0},{value:"triangle-up",label:"M-5.77,2.5H5.77L0,-5Z",gl:!0},{value:"triangle-up-open",label:"M-5.77,2.5H5.77L0,-5Z",fill:"none",gl:!0},{value:"triangle-down",label:"M-5.77,-2.5H5.77L0,5Z",gl:!0},{value:"triangle-down-open",label:"M-5.77,-2.5H5.77L0,5Z",fill:"none",gl:!0},{value:"triangle-left",label:"M2.5,-5.77V5.77L-5,0Z",gl:!0},{value:"triangle-left-open",label:"M2.5,-5.77V5.77L-5,0Z",fill:"none",gl:!0},{value:"triangle-right",label:"M-2.5,-5.77V5.77L5,0Z",gl:!0},{value:"triangle-right-open",label:"M-2.5,-5.77V5.77L5,0Z",fill:"none",gl:!0},{value:"triangle-ne",label:"M-6,-3H3V6Z",gl:!0},{value:"triangle-ne-open",label:"M-6,-3H3V6Z",fill:"none",gl:!0},{value:"triangle-se",label:"M3,-6V3H-6Z",gl:!0},{value:"triangle-se-open",label:"M3,-6V3H-6Z",fill:"none",gl:!0},{value:"triangle-sw",label:"M6,3H-3V-6Z",gl:!0},{value:"triangle-sw-open",label:"M6,3H-3V-6Z",fill:"none",gl:!0},{value:"triangle-nw",label:"M-3,6V-3H6Z",gl:!0},{value:"triangle-nw-open",label:"M-3,6V-3H6Z",fill:"none",gl:!0},{value:"pentagon",label:"M4.76,-1.54L2.94,4.05H-2.94L-4.76,-1.54L0,-5Z",gl:!0},{value:"pentagon-open",label:"M4.76,-1.54L2.94,4.05H-2.94L-4.76,-1.54L0,-5Z",fill:"none",gl:!0},{value:"hexagon",label:"M4.33,-2.5V2.5L0,5L-4.33,2.5V-2.5L0,-5Z",gl:!0},{value:"hexagon-open",label:"M4.33,-2.5V2.5L0,5L-4.33,2.5V-2.5L0,-5Z",fill:"none",gl:!0},{value:"hexagon2",label:"M-2.5,4.33H2.5L5,0L2.5,-4.33H-2.5L-5,0Z",gl:!0},{value:"hexagon2-open",label:"M-2.5,4.33H2.5L5,0L2.5,-4.33H-2.5L-5,0Z",fill:"none",gl:!0},{value:"octagon",label:"M-1.92,-4.62H1.92L4.62,-1.92V1.92L1.92,4.62H-1.92L-4.62,1.92V-1.92Z"},{value:"octagon-open",label:"M-1.92,-4.62H1.92L4.62,-1.92V1.92L1.92,4.62H-1.92L-4.62,1.92V-1.92Z",fill:"none"},{value:"star",label:"M1.58,-2.16H6.66L2.54,0.83L4.12,5.66L0,2.67L-4.12,5.66L-2.54,0.83L-6.66,-2.16H-1.58L0,-7Z",gl:!0},{value:"star-open",alias:17,label:"M1.58,-2.16H6.66L2.54,0.83L4.12,5.66L0,2.67L-4.12,5.66L-2.54,0.83L-6.66,-2.16H-1.58L0,-7Z",fill:"none",gl:!0},{value:"hexagram",label:"M-3.8,0l-1.9,-3.3h3.8l1.9,-3.3l1.9,3.3h3.8l-1.9,3.3l1.9,3.3h-3.8l-1.9,3.3l-1.9,-3.3h-3.8Z"},{value:"hexagram-open",label:"M-3.8,0l-1.9,-3.3h3.8l1.9,-3.3l1.9,3.3h3.8l-1.9,3.3l1.9,3.3h-3.8l-1.9,3.3l-1.9,-3.3h-3.8Z",fill:"none"},{value:"star-triangle-up",label:"M-6.93,4A 20,20 0 0 1 6.93,4A 20,20 0 0 1 0,-8A 20,20 0 0 1 -6.93,4Z"},{value:"star-triangle-up-open",label:"M-6.93,4A 20,20 0 0 1 6.93,4A 20,20 0 0 1 0,-8A 20,20 0 0 1 -6.93,4Z",fill:"none"},{value:"star-triangle-down",label:"M6.93,-4A 20,20 0 0 1 -6.93,-4A 20,20 0 0 1 0,8A 20,20 0 0 1 6.93,-4Z"},{value:"star-triangle-down-open",label:"M6.93,-4A 20,20 0 0 1 -6.93,-4A 20,20 0 0 1 0,8A 20,20 0 0 1 6.93,-4Z",fill:"none"},{value:"star-square",label:"M-5.5,-5.5A 10,10 0 0 1 -5.5,5.5A 10,10 0 0 1 5.5,5.5A 10,10 0 0 1 5.5,-5.5A 10,10 0 0 1 -5.5,-5.5Z"},{value:"star-square-open",label:"M-5.5,-5.5A 10,10 0 0 1 -5.5,5.5A 10,10 0 0 1 5.5,5.5A 10,10 0 0 1 5.5,-5.5A 10,10 0 0 1 -5.5,-5.5Z",fill:"none"},{value:"star-diamond",label:"M-7,0A 9.5,9.5 0 0 1 0,7A 9.5,9.5 0 0 1 7,0A 9.5,9.5 0 0 1 0,-7A 9.5,9.5 0 0 1 -7,0Z"},{value:"star-diamond-open",label:"M-7,0A 9.5,9.5 0 0 1 0,7A 9.5,9.5 0 0 1 7,0A 9.5,9.5 0 0 1 0,-7A 9.5,9.5 0 0 1 -7,0Z",fill:"none"},{value:"diamond-tall",label:"M0,7L3.5,0L0,-7L-3.5,0Z",gl:!0},{value:"diamond-tall-open",label:"M0,7L3.5,0L0,-7L-3.5,0Z",fill:"none",gl:!0},{value:"diamond-wide",label:"M0,3.5L7,0L0,-3.5L-7,0Z"},{value:"diamond-wide-open",label:"M0,3.5L7,0L0,-3.5L-7,0Z",fill:"none"},{value:"hourglass",label:"M5,5H-5L5,-5H-5Z"},{value:"bowtie",label:"M5,5V-5L-5,5V-5Z",gl:!0},{value:"cross-thin-open",label:"M0,7V-7M7,0H-7",fill:"none",gl:!0},{value:"x-thin-open",label:"M5,5L-5,-5M5,-5L-5,5",fill:"none"},{value:"asterisk-open",label:"M0,6V-6M6,0H-6M4.25,4.25L-4.25,-4.25M4.25,-4.25L-4.25,4.25",fill:"none",gl:!0},{value:"hash-open",label:"M2.5,5V-5m-5,0V5M5,2.5H-5m0,-5H5",fill:"none"},{value:"hash-open-dot",label:"M2.5,5V-5m-5,0V5M5,2.5H-5m0,-5H5M0,0.5L0.5,0L0,-0.5L-0.5,0Z",fill:"none"},{value:"y-up-open",label:"M-6,4L0,0M6,4L0,0M0,-8L0,0",fill:"none",gl:!0},{value:"y-down-open",label:"M-6,-4L0,0M6,-4L0,0M0,8L0,0",fill:"none",gl:!0},{value:"y-left-open",label:"M4,6L0,0M4,-6L0,0M-8,0L0,0",fill:"none"},{value:"y-right-open",label:"M-4,6L0,0M-4,-6L0,0M8,0L0,0",fill:"none"},{value:"line-ew-open",label:"M7,0H-7",fill:"none",gl:!0},{value:"line-ns-open",label:"M0,7V-7",fill:"none",gl:!0},{value:"line-ne-open",label:"M5,-5L-5,5",fill:"none"},{value:"line-nw-open",label:"M5,5L-5,-5",fill:"none"}],S=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.setLocals(e,n),i}return b(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.fullContainer,n=t.defaultContainer;this.markerColor=(0,l.default)(r,"marker.color").get(),this.borderWidth=(0,l.default)(r,"marker.line.width").get(),this.markerColor===c.MULTI_VALUED&&(this.markerColor=(0,l.default)(n,"marker.color").get()),this.markerColor=Array.isArray(this.markerColor)?c.COLORS.mutedBlue:this.markerColor,this.borderColor=this.markerColor,this.borderWidth&&(this.borderColor=(0,l.default)(r,"marker.line.color").get(),this.borderColor===c.MULTI_VALUED&&(this.borderColor=(0,l.default)(n,"marker.line.color").get())),this.borderColor=Array.isArray(this.borderColor)?c.COLORS.charcoal:this.borderColor,this.symbolOptions="scatter3d"===this.props.container.type?C.filter((function(e){return e.threeD})):[].concat(C)}},{key:"render",value:function(){var e=this.props,t=e.fullValue,r=e.updatePlot;return a.default.createElement(i.default,this.props,a.default.createElement(s.default,{markerColor:this.markerColor,borderColor:this.borderColor,value:t,onChange:r,symbolOptions:this.symbolOptions,backgroundDark:(0,u.tooLight)(this.markerColor)}))}}]),r}(a.Component);S.propTypes=v({defaultValue:o.default.string,fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),S.contextTypes={defaultContainer:o.default.object},S.defaultProps={showArrows:!0};var O=(0,u.connectToContainer)(S);t.default=O},8378:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("c4c7").isUnifiedHover,a=r("54d9"),s=r("a651"),l=r("a685"),u=r("d798"),c=r("b5e2"),f=r("7118"),p=r("6add"),d=r("f3a2"),h=r("3c1c"),v=h.id2name,m=h.name2id,g=r("d301").AX_ID_PATTERN,y=r("371e"),b=y.traceIs,x=y.getComponentMethod;function A(e,t,r){Array.isArray(e[t])?e[t].push(r):e[t]=[r]}e.exports=function(e,t,r){var y,w,_=t.autotypenumbers,E={},k={},T={},C={},S={},O={},M={},P={},B={},L={};for(y=0;y<r.length;y++){var D=r[y];if(b(D,"cartesian")||b(D,"gl2d")){var I,j;if(D.xaxis)I=v(D.xaxis),A(E,I,D);else if(D.xaxes)for(w=0;w<D.xaxes.length;w++)A(E,v(D.xaxes[w]),D);if(D.yaxis)j=v(D.yaxis),A(E,j,D);else if(D.yaxes)for(w=0;w<D.yaxes.length;w++)A(E,v(D.yaxes[w]),D);if("funnel"===D.type?"h"===D.orientation?(I&&(k[I]=!0),j&&(M[j]=!0)):j&&(T[j]=!0):"image"===D.type?(j&&(P[j]=!0),I&&(P[I]=!0)):(j&&(S[j]=!0,O[j]=!0),b(D,"carpet")&&("carpet"!==D.type||D._cheater)||I&&(C[I]=!0)),"carpet"===D.type&&D._cheater&&I&&(k[I]=!0),b(D,"2dMap")&&(B[I]=!0,B[j]=!0),b(D,"oriented")){var R="h"===D.orientation?j:I;L[R]=!0}}}var F=t._subplots,N=F.xaxis,z=F.yaxis,U=n.simpleMap(N,v),H=n.simpleMap(z,v),V=U.concat(H),Q=i.background;N.length&&z.length&&(Q=n.coerce(e,t,l,"plot_bgcolor"));var W,K,q,G,$,Y=i.combine(Q,t.paper_bgcolor);function X(){var e=E[W]||[];$._traceIndices=e.map((function(e){return e._expandedIndex})),$._annIndices=[],$._shapeIndices=[],$._imgIndices=[],$._subplotsWith=[],$._counterAxes=[],$._name=$._attr=W,$._id=K}function Z(e,t){return n.coerce(G,$,u,e,t)}function J(e,t){return n.coerce2(G,$,u,e,t)}function ee(e){return"x"===e?z:N}function te(t,r){for(var n="x"===t?U:H,i=[],o=0;o<n.length;o++){var a=n[o];a===r||(e[a]||{}).overlaying||i.push(m(a))}return i}var re={x:ee("x"),y:ee("y")},ne=re.x.concat(re.y),ie={},oe=[];function ae(){var e=G.matches;g.test(e)&&-1===ne.indexOf(e)&&(ie[e]=G.type,oe=Object.keys(ie))}var se=a(e,t,r),le=o(se);for(y=0;y<V.length;y++){W=V[y],K=m(W),q=W.charAt(0),n.isPlainObject(e[W])||(e[W]={}),G=e[W],$=s.newContainer(t,W,q+"axis"),X();var ue="x"===q&&!C[W]&&k[W]||"y"===q&&!S[W]&&T[W],ce="y"===q&&(!O[W]&&M[W]||P[W]),fe={letter:q,font:t.font,outerTicks:B[W],showGrid:!L[W],data:E[W]||[],bgColor:Y,calendar:t.calendar,automargin:!0,visibleDflt:ue,reverseDflt:ce,autotypenumbersDflt:_,splomStash:((t._splomAxes||{})[q]||{})[K]};Z("uirevision",t.uirevision),c(G,$,Z,fe),f(G,$,Z,fe,t);var pe=le&&q===se.charAt(0),de=J("spikecolor",le?$.color:void 0),he=J("spikethickness",le?1.5:void 0),ve=J("spikedash",le?"dot":void 0),me=J("spikemode",le?"across":void 0),ge=J("spikesnap",le?"hovered data":void 0),ye=Z("showspikes",!!pe||!!de||!!he||!!ve||!!me||!!ge);ye||(delete $.spikecolor,delete $.spikethickness,delete $.spikedash,delete $.spikemode,delete $.spikesnap),d(G,$,Z,{letter:q,counterAxes:re[q],overlayableAxes:te(q,W),grid:t.grid}),Z("title.standoff"),ae(),$._input=G}y=0;while(y<oe.length){K=oe[y++],W=v(K),q=W.charAt(0),n.isPlainObject(e[W])||(e[W]={}),G=e[W],$=s.newContainer(t,W,q+"axis"),X();var be={letter:q,font:t.font,outerTicks:B[W],showGrid:!L[W],data:[],bgColor:Y,calendar:t.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,autotypenumbersDflt:_,splomStash:((t._splomAxes||{})[q]||{})[K]};Z("uirevision",t.uirevision),$.type=ie[K]||"linear",f(G,$,Z,be,t),d(G,$,Z,{letter:q,counterAxes:re[q],overlayableAxes:te(q,W),grid:t.grid}),Z("fixedrange"),ae(),$._input=G}var xe=x("rangeslider","handleDefaults"),Ae=x("rangeselector","handleDefaults");for(y=0;y<U.length;y++)W=U[y],G=e[W],$=t[W],xe(e,t,W),"date"===$.type&&Ae(G,$,t,H,$.calendar),Z("fixedrange");for(y=0;y<H.length;y++){W=H[y],G=e[W],$=t[W];var we=t[v($.anchor)],_e=x("rangeslider","isVisible")(we);Z("fixedrange",_e)}p.handleDefaults(e,t,{axIds:ne.concat(oe).sort(h.idSort),axHasImage:P})}},"838d":function(e,t,r){"use strict";e.exports={attributes:r("1590"),supplyDefaults:r("2513"),crossTraceDefaults:r("722f"),calc:r("0625"),plot:r("fa8a"),layerName:"heatmaplayer",colorbar:r("fcb3"),style:r("c437"),hoverPoints:r("9236"),eventData:r("6f09"),moduleType:"trace",name:"histogram2d",basePlotModule:r("91cd"),categories:["cartesian","svg","2dMap","histogram","showLegend"],meta:{hrName:"histogram_2d",description:["The sample data from which statistics are computed is set in `x`","and `y` (where `x` and `y` represent marginal distributions,","binning is set in `xbins` and `ybins` in this case)","or `z` (where `z` represent the 2D distribution and binning set,","binning is set by `x` and `y` in this case).","The resulting distribution is visualized as a heatmap."].join(" ")}}},"839c":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=x;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e){var t=function(t){d(n,t);var r=v(n);function n(e,t){var i;return c(this,n),i=r.call(this,e,t),i.updateAggregation=i.updateAggregation.bind(g(i)),i.setLocals(e,t),i}return p(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.aggregationIndex,n=t.container,i=t.fullContainer,o=n&&n.aggregations||[],a=i.aggregations||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("aggregations[].".concat(t)):null},updateContainer:this.updateAggregation,container:this.container,fullContainer:this.fullContainer}}},{key:"updateAggregation",value:function(e){var t={},r="aggregations[".concat(this.props.aggregationIndex,"]");for(var n in e)t["".concat(r,".").concat(n)]=e[n];t["".concat(r,".target")]=this.fullContainer.target,t["".concat(r,".enabled")]=!0,this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="AggregationConnected".concat((0,a.getDisplayName)(e)),t.propTypes={aggregationIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83c1":function(e,t,r){"use strict";var n=r("a5c4"),i=r("fc26"),o=r("feed"),a=i.fillText,s=r("e806").BADNUM;function l(e,t,r){if(!e.hovertemplate){var n=t.hi||e.hoverinfo,i=n.split("+"),o=-1!==i.indexOf("all"),s=-1!==i.indexOf("lon"),l=-1!==i.indexOf("lat"),u=t.lonlat,c=[];return o||s&&l?c.push("("+f(u[0])+", "+f(u[1])+")"):s?c.push(r.lon+f(u[0])):l&&c.push(r.lat+f(u[1])),(o||-1!==i.indexOf("text"))&&a(t,e,c),c.join("<br>")}function f(e){return e+"°"}}e.exports=function(e,t,r){var a=e.cd,u=a[0].trace,c=e.xa,f=e.ya,p=e.subplot,d=t>=0?Math.floor((t+180)/360):Math.ceil((t-180)/360),h=360*d,v=t-h;function m(e){var t=e.lonlat;if(t[0]===s)return 1/0;var n=i.modHalf(t[0],360),o=t[1],a=p.project([n,o]),l=a.x-c.c2p([v,o]),u=a.y-f.c2p([n,r]),d=Math.max(3,e.mrc||0);return Math.max(Math.sqrt(l*l+u*u)-d,1-3/d)}if(n.getClosest(a,m,e),!1!==e.index){var g=a[e.index],y=g.lonlat,b=[i.modHalf(y[0],360)+h,y[1]],x=c.c2p(b),A=f.c2p(b),w=g.mrc||1;e.x0=x-w,e.x1=x+w,e.y0=A-w,e.y1=A+w;var _={};_[u.subplot]={_subplot:p};var E=u._module.formatLabels(g,u,_);return e.lonLabel=E.lonLabel,e.latLabel=E.latLabel,e.color=o(u,g),e.extraText=l(u,g,a[0].t.labels),e.hovertemplate=u.hovertemplate,[e]}}},"83c2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M7 28h6v12H7z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M32 28h6v12h-6zM15 10h6v30h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M24 20h6v20h-6z"}))};t.default=u},"83d1":function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("66cb"),a=r("371e"),s=r("d115"),l=r("c258"),u=r("fc26"),c=u.strTranslate,f=r("0379"),p=r("73c9"),d=r("63dc"),h=d.LINE_SPACING,v=r("72a4").DESELECTDIM,m=r("de81"),g=r("1978"),y=r("c4c7").appendArrayPointValue,b=e.exports={};b.font=function(e,t,r,n){u.isPlainObject(t)&&(n=t.color,r=t.size,t=t.family),t&&e.style("font-family",t),r+1&&e.style("font-size",r+"px"),n&&e.call(s.fill,n)},b.setPosition=function(e,t,r){e.attr("x",t).attr("y",r)},b.setSize=function(e,t,r){e.attr("width",t).attr("height",r)},b.setRect=function(e,t,r,n,i){e.call(b.setPosition,t,r).call(b.setSize,n,i)},b.translatePoint=function(e,t,r,n){var o=r.c2p(e.x),a=n.c2p(e.y);return!!(i(o)&&i(a)&&t.node())&&("text"===t.node().nodeName?t.attr("x",o).attr("y",a):t.attr("transform",c(o,a)),!0)},b.translatePoints=function(e,t,r){e.each((function(e){var i=n.select(this);b.translatePoint(e,i,t,r)}))},b.hideOutsideRangePoint=function(e,t,r,n,i,o){t.attr("display",r.isPtWithinRange(e,i)&&n.isPtWithinRange(e,o)?null:"none")},b.hideOutsideRangePoints=function(e,t){if(t._hasClipOnAxisFalse){var r=t.xaxis,i=t.yaxis;e.each((function(t){var o=t[0].trace,s=o.xcalendar,l=o.ycalendar,u=a.traceIs(o,"bar-like")?".bartext":".point,.textpoint";e.selectAll(u).each((function(e){b.hideOutsideRangePoint(e,n.select(this),r,i,s,l)}))}))}},b.crispRound=function(e,t,r){return t&&i(t)?e._context.staticPlot?t:t<1?1:Math.round(t):r||0},b.singleLineStyle=function(e,t,r,n,i){t.style("fill","none");var o=(((e||[])[0]||{}).trace||{}).line||{},a=r||o.width||0,l=i||o.dash||"";s.stroke(t,n||o.color),b.dashLine(t,l,a)},b.lineGroupStyle=function(e,t,r,i){e.style("fill","none").each((function(e){var o=(((e||[])[0]||{}).trace||{}).line||{},a=t||o.width||0,l=i||o.dash||"";n.select(this).call(s.stroke,r||o.color).call(b.dashLine,l,a)}))},b.dashLine=function(e,t,r){r=+r||0,t=b.dashStyle(t,r),e.style({"stroke-dasharray":t,"stroke-width":r+"px"})},b.dashStyle=function(e,t){t=+t||1;var r=Math.max(t,3);return"solid"===e?e="":"dot"===e?e=r+"px,"+r+"px":"dash"===e?e=3*r+"px,"+3*r+"px":"longdash"===e?e=5*r+"px,"+5*r+"px":"dashdot"===e?e=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===e&&(e=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),e},b.singleFillStyle=function(e){var t=n.select(e.node()),r=t.data(),i=(((r[0]||[])[0]||{}).trace||{}).fillcolor;i&&e.call(s.fill,i)},b.fillGroupStyle=function(e){e.style("stroke-width",0).each((function(e){var t=n.select(this);e[0].trace&&t.call(s.fill,e[0].trace.fillcolor)}))};var x=r("3350");b.symbolNames=[],b.symbolFuncs=[],b.symbolNeedLines={},b.symbolNoDot={},b.symbolNoFill={},b.symbolList=[],Object.keys(x).forEach((function(e){var t=x[e],r=t.n;b.symbolList.push(r,String(r),e,r+100,String(r+100),e+"-open"),b.symbolNames[r]=e,b.symbolFuncs[r]=t.f,t.needLine&&(b.symbolNeedLines[r]=!0),t.noDot?b.symbolNoDot[r]=!0:b.symbolList.push(r+200,String(r+200),e+"-dot",r+300,String(r+300),e+"-open-dot"),t.noFill&&(b.symbolNoFill[r]=!0)}));var A=b.symbolNames.length,w="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";function _(e,t){var r=e%100;return b.symbolFuncs[r](t)+(e>=200?w:"")}b.symbolNumber=function(e){if(i(e))e=+e;else if("string"===typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),e=b.symbolNames.indexOf(e),e>=0&&(e+=t)}return e%100>=A||e>=400?0:Math.floor(Math.max(e,0))};var E={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=n.format("~.1f"),C={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:E},horizontalreversed:{node:"linearGradient",attrs:E,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};b.gradient=function(e,t,r,i,a,l){for(var c=a.length,f=C[i],p=new Array(c),d=0;d<c;d++)f.reversed?p[c-1-d]=[T(100*(1-a[d][0])),a[d][1]]:p[d]=[T(100*a[d][0]),a[d][1]];var h=t._fullLayout,v="g"+h._uid+"-"+r,m=h._defs.select(".gradients").selectAll("#"+v).data([i+p.join(";")],u.identity);m.exit().remove(),m.enter().append(f.node).each((function(){var e=n.select(this);f.attrs&&e.attr(f.attrs),e.attr("id",v);var t=e.selectAll("stop").data(p);t.exit().remove(),t.enter().append("stop"),t.each((function(e){var t=o(e[1]);n.select(this).attr({offset:e[0]+"%","stop-color":s.tinyRGB(t),"stop-opacity":t.getAlpha()})}))})),e.style(l,F(v,t)).style(l+"-opacity",null);var g=function(e){return"."+e.attr("class").replace(/\s/g,".")},y=g(n.select(e.node().parentNode))+">"+g(e);h._gradientUrlQueryParts[y]=1},b.initGradients=function(e){var t=e._fullLayout,r=u.ensureSingle(t._defs,"g","gradients");r.selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},b.pointStyle=function(e,t,r){if(e.size()){var i=b.makePointStyleFns(t);e.each((function(e){b.singlePointStyle(e,n.select(this),t,i,r)}))}},b.singlePointStyle=function(e,t,r,n,i){var o=r.marker,a=o.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?o.opacity:e.mo),n.ms2mrc){var l;l="various"===e.ms||"various"===o.size?3:n.ms2mrc(e.ms),e.mrc=l,n.selectedSizeFn&&(l=e.mrc=n.selectedSizeFn(e));var c=b.symbolNumber(e.mx||o.symbol)||0;e.om=c%200>=100,t.attr("d",_(c,l))}var f,p,d,h=!1;if(e.so)d=a.outlierwidth,p=a.outliercolor,f=o.outliercolor;else{var v=(a||{}).width;d=(e.mlw+1||v+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,p="mlc"in e?e.mlcc=n.lineScale(e.mlc):u.isArrayOrTypedArray(a.color)?s.defaultLine:a.color,u.isArrayOrTypedArray(o.color)&&(f=s.defaultLine,h=!0),f="mc"in e?e.mcc=n.markerScale(e.mc):o.color||"rgba(0,0,0,0)",n.selectedColorFn&&(f=n.selectedColorFn(e))}if(e.om)t.call(s.stroke,f).style({"stroke-width":(d||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:d)+"px");var m=o.gradient,g=e.mgt;if(g?h=!0:g=m&&m.type,Array.isArray(g)&&(g=g[0],C[g]||(g=0)),g&&"none"!==g){var y=e.mgc;y?h=!0:y=m.color;var x=r.uid;h&&(x+="-"+e.i),b.gradient(t,i,x,g,[[0,y],[1,f]],"fill")}else s.fill(t,f);d&&s.stroke(t,p)}},b.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=b.tryColorscale(r,""),t.lineScale=b.tryColorscale(r,"line"),a.traceIs(e,"symbols")&&(t.ms2mrc=m.isBubble(e)?g(e):function(){return(r.size||6)/2}),e.selectedpoints&&u.extendFlat(t,b.makeSelectedPointStyleFns(e)),t},b.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},i=e.marker||{},o=r.marker||{},s=n.marker||{},l=i.opacity,c=o.opacity,f=s.opacity,p=void 0!==c,d=void 0!==f;(u.isArrayOrTypedArray(l)||p||d)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?i.opacity:e.mo;return e.selected?p?c:t:d?f:v*t});var h=i.color,m=o.color,g=s.color;(m||g)&&(t.selectedColorFn=function(e){var t=e.mcc||h;return e.selected?m||t:g||t});var y=i.size,b=o.size,x=s.size,A=void 0!==b,w=void 0!==x;return a.traceIs(e,"symbols")&&(A||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?A?b/2:t:w?x/2:t}),t},b.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},i=e.textfont||{},o=r.textfont||{},a=n.textfont||{},l=i.color,u=o.color,c=a.color;return t.selectedTextColorFn=function(e){var t=e.tc||l;return e.selected?u||t:c||(u?t:s.addOpacity(t,v))},t},b.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var r=b.makeSelectedPointStyleFns(t),i=t.marker||{},o=[];r.selectedOpacityFn&&o.push((function(e,t){e.style("opacity",r.selectedOpacityFn(t))})),r.selectedColorFn&&o.push((function(e,t){s.fill(e,r.selectedColorFn(t))})),r.selectedSizeFn&&o.push((function(e,t){var n=t.mx||i.symbol||0,o=r.selectedSizeFn(t);e.attr("d",_(b.symbolNumber(n),o)),t.mrc2=o})),o.length&&e.each((function(e){for(var t=n.select(this),r=0;r<o.length;r++)o[r](t,e)}))}},b.tryColorscale=function(e,t){var r=t?u.nestedProperty(e,t).get():e;if(r){var n=r.color;if((r.colorscale||r._colorAx)&&u.isArrayOrTypedArray(n))return l.makeColorScaleFuncFromTrace(r)}return u.identity};var S={start:1,end:-1,middle:0,bottom:1,top:-1};function O(e,t,r,i){var o=n.select(e.node().parentNode),a=-1!==t.indexOf("top")?"top":-1!==t.indexOf("bottom")?"bottom":"middle",s=-1!==t.indexOf("left")?"end":-1!==t.indexOf("right")?"start":"middle",l=i?i/.8+1:0,u=(f.lineCount(e)-1)*h+1,p=S[s]*l,d=.75*r+S[a]*l+(S[a]-1)*u*r/2;e.attr("text-anchor",s),o.attr("transform",c(p,d))}function M(e,t){var r=e.ts||t.textfont.size;return i(r)&&r>0?r:0}b.textPointStyle=function(e,t,r){if(e.size()){var i;if(t.selectedpoints){var o=b.makeSelectedTextStyleFns(t);i=o.selectedTextColorFn}var a=t.texttemplate,s=r._fullLayout;e.each((function(e){var o=n.select(this),l=a?u.extractOption(e,t,"txt","texttemplate"):u.extractOption(e,t,"tx","text");if(l||0===l){if(a){var c=t._module.formatLabels?t._module.formatLabels(e,t,s):{},p={};y(p,t,e.i);var d=t._meta||{};l=u.texttemplateString(l,c,s._d3locale,p,e,d)}var h=e.tp||t.textposition,v=M(e,t),m=i?i(e):e.tc||t.textfont.color;o.call(b.font,e.tf||t.textfont.family,v,m).text(l).call(f.convertToTspans,r).call(O,h,v,e.mrc)}else o.remove()}))}},b.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var r=b.makeSelectedTextStyleFns(t);e.each((function(e){var i=n.select(this),o=r.selectedTextColorFn(e),a=e.tp||t.textposition,l=M(e,t);s.fill(i,o),O(i,a,l,e.mrc2||e.mrc)}))}};var P=.5;function B(e,t,r,i){var o=e[0]-t[0],a=e[1]-t[1],s=r[0]-t[0],l=r[1]-t[1],u=Math.pow(o*o+a*a,P/2),c=Math.pow(s*s+l*l,P/2),f=(c*c*o-u*u*s)*i,p=(c*c*a-u*u*l)*i,d=3*c*(u+c),h=3*u*(u+c);return[[n.round(t[0]+(d&&f/d),2),n.round(t[1]+(d&&p/d),2)],[n.round(t[0]-(h&&f/h),2),n.round(t[1]-(h&&p/h),2)]]}b.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],i=[];for(r=1;r<e.length-1;r++)i.push(B(e[r-1],e[r],e[r+1],t));for(n+="Q"+i[0][0]+" "+e[1],r=2;r<e.length-1;r++)n+="C"+i[r-2][1]+" "+i[r-1][0]+" "+e[r];return n+="Q"+i[e.length-3][1]+" "+e[e.length-1],n},b.smoothclosed=function(e,t){if(e.length<3)return"M"+e.join("L")+"Z";var r,n="M"+e[0],i=e.length-1,o=[B(e[i],e[0],e[1],t)];for(r=1;r<i;r++)o.push(B(e[r-1],e[r],e[r+1],t));for(o.push(B(e[i-1],e[i],e[0],t)),r=1;r<=i;r++)n+="C"+o[r-1][1]+" "+o[r][0]+" "+e[r];return n+="C"+o[i][1]+" "+o[0][0]+" "+e[0]+"Z",n};var L={hv:function(e,t){return"H"+n.round(t[0],2)+"V"+n.round(t[1],2)},vh:function(e,t){return"V"+n.round(t[1],2)+"H"+n.round(t[0],2)},hvh:function(e,t){return"H"+n.round((e[0]+t[0])/2,2)+"V"+n.round(t[1],2)+"H"+n.round(t[0],2)},vhv:function(e,t){return"V"+n.round((e[1]+t[1])/2,2)+"H"+n.round(t[0],2)+"V"+n.round(t[1],2)}},D=function(e,t){return"L"+n.round(t[0],2)+","+n.round(t[1],2)};b.steps=function(e){var t=L[e]||D;return function(e){for(var r="M"+n.round(e[0][0],2)+","+n.round(e[0][1],2),i=1;i<e.length;i++)r+=t(e[i-1],e[i]);return r}},b.makeTester=function(){var e=u.ensureSingleById(n.select("body"),"svg","js-plotly-tester",(function(e){e.attr(p.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})})),t=u.ensureSingle(e,"path","js-reference-point",(function(e){e.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})}));b.tester=e,b.testref=t},b.savedBBoxes={};var I=0,j=1e4;function R(e){var t=e.getAttribute("data-unformatted");if(null!==t)return t+e.getAttribute("data-math")+e.getAttribute("text-anchor")+e.getAttribute("style")}function F(e,t){if(!e)return null;var r=t._context,n=r._exportedPlot?"":r._baseUrl||"";return"url('"+n+"#"+e+"')"}b.bBox=function(e,t,r){var i,o,a;if(r||(r=R(e)),r){if(i=b.savedBBoxes[r],i)return u.extendFlat({},i)}else if(1===e.childNodes.length){var s=e.childNodes[0];if(r=R(s),r){var l=+s.getAttribute("x")||0,c=+s.getAttribute("y")||0,p=s.getAttribute("transform");if(!p){var d=b.bBox(s,!1,r);return l&&(d.left+=l,d.right+=l),c&&(d.top+=c,d.bottom+=c),d}if(r+="~"+l+"~"+c+"~"+p,i=b.savedBBoxes[r],i)return u.extendFlat({},i)}}t?o=e:(a=b.tester.node(),o=e.cloneNode(!0),a.appendChild(o)),n.select(o).attr("transform",null).call(f.positionText,0,0);var h=o.getBoundingClientRect(),v=b.testref.node().getBoundingClientRect();t||a.removeChild(o);var m={height:h.height,width:h.width,left:h.left-v.left,top:h.top-v.top,right:h.right-v.left,bottom:h.bottom-v.top};return I>=j&&(b.savedBBoxes={},I=0),r&&(b.savedBBoxes[r]=m),I++,u.extendFlat({},m)},b.setClipUrl=function(e,t,r){e.attr("clip-path",F(t,r))},b.getTranslate=function(e){var t=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,r=e.attr?"attr":"getAttribute",n=e[r]("transform")||"",i=n.replace(t,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+i[0]||0,y:+i[1]||0}},b.setTranslate=function(e,t,r){var n=/(\btranslate\(.*?\);?)/,i=e.attr?"attr":"getAttribute",o=e.attr?"attr":"setAttribute",a=e[i]("transform")||"";return t=t||0,r=r||0,a=a.replace(n,"").trim(),a+=c(t,r),a=a.trim(),e[o]("transform",a),a},b.getScale=function(e){var t=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,r=e.attr?"attr":"getAttribute",n=e[r]("transform")||"",i=n.replace(t,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+i[0]||1,y:+i[1]||1}},b.setScale=function(e,t,r){var n=/(\bscale\(.*?\);?)/,i=e.attr?"attr":"getAttribute",o=e.attr?"attr":"setAttribute",a=e[i]("transform")||"";return t=t||1,r=r||1,a=a.replace(n,"").trim(),a+="scale("+t+","+r+")",a=a.trim(),e[o]("transform",a),a};var N=/\s*sc.*/;b.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(N,"");e+=n,e=e.trim(),this.setAttribute("transform",e)}))}};var z=/translate\([^)]*\)\s*$/;b.setTextPointsScale=function(e,t,r){e&&e.each((function(){var e,i=n.select(this),o=i.select("text");if(o.node()){var a=parseFloat(o.attr("x")||0),s=parseFloat(o.attr("y")||0),l=(i.attr("transform")||"").match(z);e=1===t&&1===r?[]:[c(a,s),"scale("+t+","+r+")",c(-a,-s)],l&&e.push(l),i.attr("transform",e.join(""))}}))}},8418:function(e,t,r){"use strict";var n=r("c04e"),i=r("9bf2"),o=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},"849d":function(e,t,r){"use strict";var n=r("fc26");function i(e){return n.extendFlat({},e,{edgepaths:n.extendDeep([],e.edgepaths),paths:n.extendDeep([],e.paths),starts:n.extendDeep([],e.starts)})}e.exports=function(e,t){var r,o,a,s=function(e){return e.reverse()},l=function(e){return e};switch(t){case"=":case"<":return e;case">":for(1!==e.length&&n.warn("Contour data invalid for the specified inequality operation."),o=e[0],r=0;r<o.edgepaths.length;r++)o.edgepaths[r]=s(o.edgepaths[r]);for(r=0;r<o.paths.length;r++)o.paths[r]=s(o.paths[r]);for(r=0;r<o.starts.length;r++)o.starts[r]=s(o.starts[r]);return e;case"][":var u=s;s=l,l=u;case"[]":for(2!==e.length&&n.warn("Contour data invalid for the specified inequality range operation."),o=i(e[0]),a=i(e[1]),r=0;r<o.edgepaths.length;r++)o.edgepaths[r]=s(o.edgepaths[r]);for(r=0;r<o.paths.length;r++)o.paths[r]=s(o.paths[r]);for(r=0;r<o.starts.length;r++)o.starts[r]=s(o.starts[r]);while(a.edgepaths.length)o.edgepaths.push(l(a.edgepaths.shift()));while(a.paths.length)o.paths.push(l(a.paths.shift()));while(a.starts.length)o.starts.push(l(a.starts.shift()));return[o]}}},"84a1":function(e,t){e.exports=function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}},"84a3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#25fdfc",d:"M23.511 23.571l.005-15.302L37 14.295v15.75l-13.489-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#25fdfc",d:"M23.511 23.571L9.516 30.045l13.929 6.319L37 30.045l-13.489-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#25fdfc",d:"M9.516 30.045v-15.75l13.999-6.026-.004 15.302-13.995 6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{d:"M31.536 15.247a6.357 6.357 0 0 1-4.188 6.763c-5.017 2.166-11.255.028-11.255-3.14s5.11-3.87 7.48-3.87 7.48 1.908 7.48 5.684c0 3.654-3.797 5.485-8.216 5.566s-6.744-2.266-6.744-4.104 2.786-3.986 7.458-3.986 7.492 3.526 7.492 5.934a5.722 5.722 0 0 1-2.82 5.074",stroke:"#1d9bfb",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))};t.default=u},"84af":function(e,t,r){"use strict";function n(e,t,r){var i=0|e[r];if(i<=0)return[];var o,a=new Array(i);if(r===e.length-1)for(o=0;o<i;++o)a[o]=t;else for(o=0;o<i;++o)a[o]=n(e,t,r+1);return a}function i(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function o(e,t){switch("undefined"===typeof t&&(t=0),typeof e){case"number":if(e>0)return i(0|e,t);break;case"object":if("number"===typeof e.length)return n(e,t,0);break}return[]}e.exports=o},"84ca":function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("24f7"),o=i.Record,a={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},s=o(a),l=function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=r||t<=a&&a<=r}if(e!==n&&e!==i)return!1;var s=e===n?this.getAnchorOffset():this.getFocusOffset();return t<=s&&r>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}(s);e.exports=l},"84d3":function(e,t,r){"use strict";var n=r("936a"),i=r("5edd"),o=r("eae0"),a=r("7d88"),s=function(e,t){return e.replace("%v",a(t))};e.exports=function(e,t,r){if(!i(r))throw new TypeError(s(t,e));if(!n(e)){if("default"in r)return r["default"];if(r.isOptional)return null}var a=o(r.errorMessage);throw n(a)||(a=t),new TypeError(s(a,e))}},"84df":function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=!0;e.exports=function(e,t,r){var a=t._fullLayout;if(!t._dragged&&!t._editing){var s,l=a.legend.itemclick,u=a.legend.itemdoubleclick;if(1===r&&"toggle"===l&&"toggleothers"===u&&o&&t.data&&t._context.showTips?(n.notifier(n._(t,"Double-click on legend to isolate one trace"),"long"),o=!1):o=!1,1===r?s=l:2===r&&(s=u),s){var c,f,p,d,h,v,m=a.hiddenlabels?a.hiddenlabels.slice():[],g=e.data()[0][0],y=t._fullData,b=g.trace,x=b.legendgroup,A={},w=[],_=[],E=[];if(i.traceIs(b,"pie-like")){var k=g.label,T=m.indexOf(k);"toggle"===s?-1===T?m.push(k):m.splice(T,1):"toggleothers"===s&&(m=[],t.calcdata[0].forEach((function(e){k!==e.label&&m.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===m.length&&-1===T&&(m=[])),i.call("_guiRelayout",t,"hiddenlabels",m)}else{var C,S=x&&x.length,O=[];if(S)for(c=0;c<y.length;c++)C=y[c],C.visible&&C.legendgroup===x&&O.push(c);if("toggle"===s){var M;switch(b.visible){case!0:M="legendonly";break;case!1:M=!1;break;case"legendonly":M=!0;break}if(S)for(c=0;c<y.length;c++)!1!==y[c].visible&&y[c].legendgroup===x&&N(y[c],M);else N(b,M)}else if("toggleothers"===s){var P,B,L,D,I=!0;for(c=0;c<y.length;c++)if(P=y[c]===b,L=!0!==y[c].showlegend,!P&&!L&&(B=S&&y[c].legendgroup===x,!B&&!0===y[c].visible&&!i.traceIs(y[c],"notLegendIsolatable"))){I=!1;break}for(c=0;c<y.length;c++)if(!1!==y[c].visible&&!i.traceIs(y[c],"notLegendIsolatable"))switch(b.visible){case"legendonly":N(y[c],!0);break;case!0:D=!!I||"legendonly",P=y[c]===b,L=!0!==y[c].showlegend&&!y[c].legendgroup,B=P||S&&y[c].legendgroup===x,N(y[c],!(!B&&!L)||D);break}}for(c=0;c<_.length;c++)if(p=_[c],p){var j=p.constructUpdate(),R=Object.keys(j);for(f=0;f<R.length;f++)d=R[f],v=A[d]=A[d]||[],v[E[c]]=j[d]}for(h=Object.keys(A),c=0;c<h.length;c++)for(d=h[c],f=0;f<w.length;f++)A[d].hasOwnProperty(f)||(A[d][f]=void 0);i.call("_guiRestyle",t,A,w)}}}function F(e,t,r){var n=w.indexOf(e),i=A[t];return i||(i=A[t]=[]),-1===w.indexOf(e)&&(w.push(e),n=w.length-1),i[n]=r,n}function N(e,t){var r=e._fullInput;if(i.hasTransform(r,"groupby")){var o=_[r.index];if(!o){var a=i.getTransformIndices(r,"groupby"),s=a[a.length-1];o=n.keyedContainer(r,"transforms["+s+"].styles","target","value.visible"),_[r.index]=o}var l=o.get(e._group);void 0===l&&(l=!0),!1!==l&&o.set(e._group,t),E[r.index]=F(r.index,"visible",!1!==r.visible)}else{var u=!1!==r.visible&&t;F(r.index,"visible",u)}}}},"850f":function(e,t,r){"use strict";e.exports=function(e,t){return e.lon=t.lon,e.lat=t.lat,e.z=t.z,e}},8550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M1.313 32h4c.75 0 1.375-.625 1.375-1.313V19.999c0-.75-.625-1.313-1.375-1.313h-4A1.32 1.32 0 0 0 0 19.999v10.688C0 31.375.625 32 1.313 32zm1.375-2.687v-8h1.313v8zM20 6.688h10.688c.688 0 1.313-.625 1.313-1.375v-4C32.001.625 31.376 0 30.688 0H20a1.32 1.32 0 0 0-1.313 1.313v4c0 .75.563 1.375 1.313 1.375zm1.313-4h8v1.313h-8zM20 5.313v9c0 3.75-1.938 5.688-5.5 5.688H5.312c-.688 0-1.313.625-1.313 1.313v8c0 .75.625 1.375 1.313 1.375H14.5c8.75 0 16.188-7.563 16.188-16.375v-9c0-.688-.625-1.313-1.375-1.313h-8c-.688 0-1.313.625-1.313 1.313zm2.688 1.375h5.313v7.625c0 7.375-6.188 13.688-13.5 13.688H6.688v-5.313h7.813c5 0 8.188-3.125 8.188-8.375z"}))};t.default=u},"855b":function(e,t,r){"use strict";var n=r("8741"),i=r("7df2"),o=r("1b88").getGraphDiv,a=r("7fb7"),s=e.exports={};s.wrapped=function(e,t,r){e=o(e),e._fullLayout&&i.clear(e._fullLayout._uid+a.HOVERID),s.raw(e,t,r)},s.raw=function(e,t){var r=e._fullLayout,i=e._hoverdata;t||(t={}),t.target&&!1===n.triggerHandler(e,"plotly_beforehover",t)||(r._hoverlayer.selectAll("g").remove(),r._hoverlayer.selectAll("line").remove(),r._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&i&&e.emit("plotly_unhover",{event:t,points:i}))}},8568:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("8797"),a=r("bb14").calcCommon;function s(e,t,r,n){return{min:r,q1:Math.min(e,n),med:n,q3:Math.max(e,n),max:t}}e.exports=function(e,t){var r=e._fullLayout,l=i.getFromId(e,t.xaxis),u=i.getFromId(e,t.yaxis),c=l.makeCalcdata(t,"x"),f=o(t,l,"x",c),p=a(e,t,c,f,u,s);return p.length?(n.extendFlat(p[0].t,{num:r._numBoxes,dPos:n.distinctVals(f).minDiff/2,posLetter:"x",valLetter:"y"}),r._numBoxes++,p):[{t:{empty:!0}}]}},8586:function(e,t,r){e.exports=_;var n=r("1936"),i=r("6a25"),o=r("5ecd"),a=r("f5f2"),s=r("0648"),l=999,u=9999,c=0,f=1,p=2,d=3,h=4,v=5,m=6,g=7,y=8,b=9,x=10,A=11,w=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"];function _(e){var t,r,_,E=0,k=0,T=l,C=[],S=[],O=1,M=0,P=0,B=!1,L=!1,D="";e=e||{};var I=o,j=n;"300 es"===e.version&&(I=s,j=a);var R={},F={};for(E=0;E<I.length;E++)R[I[E]]=!0;for(E=0;E<j.length;E++)F[j[E]]=!0;return function(e){return S=[],null!==e?z(e):U()};function N(e){e.length&&S.push({type:w[T],data:e,position:P,line:O,column:M})}function z(e){var r;E=0,e.toString&&(e=e.toString()),D+=e.replace(/\r\n/g,"\n"),_=D.length;while(t=D[E],E<_){switch(r=E,T){case c:E=K();break;case f:E=W();break;case p:E=Q();break;case d:E=q();break;case h:E=Y();break;case A:E=$();break;case v:E=X();break;case u:E=Z();break;case b:E=V();break;case l:E=H();break}if(r!==E)switch(D[r]){case"\n":M=0,++O;break;default:++M;break}}return k+=E,D=D.slice(E),S}function U(e){return C.length&&N(C.join("")),T=x,N("(eof)"),S}function H(){return C=C.length?[]:C,"/"===r&&"*"===t?(P=k+E-1,T=c,r=t,E+1):"/"===r&&"/"===t?(P=k+E-1,T=f,r=t,E+1):"#"===t?(T=p,P=k+E,E):/\s/.test(t)?(T=b,P=k+E,E):(B=/\d/.test(t),L=/[^\w_]/.test(t),P=k+E,T=B?h:L?d:u,E)}function V(){return/[^\s]/g.test(t)?(N(C.join("")),T=l,E):(C.push(t),r=t,E+1)}function Q(){return"\r"!==t&&"\n"!==t||"\\"===r?(C.push(t),r=t,E+1):(N(C.join("")),T=l,E)}function W(){return Q()}function K(){return"/"===t&&"*"===r?(C.push(t),N(C.join("")),T=l,E+1):(C.push(t),r=t,E+1)}function q(){if("."===r&&/\d/.test(t))return T=v,E;if("/"===r&&"*"===t)return T=c,E;if("/"===r&&"/"===t)return T=f,E;if("."===t&&C.length){while(G(C));return T=v,E}if(";"===t||")"===t||"("===t){if(C.length)while(G(C));return N(t),T=l,E+1}var e=2===C.length&&"="!==t;if(/[\w_\d\s]/.test(t)||e){while(G(C));return T=l,E}return C.push(t),r=t,E+1}function G(e){var t,r,n=0;do{if(t=i.indexOf(e.slice(0,e.length+n).join("")),r=i[t],-1===t){if(n--+e.length>0)continue;r=e.slice(0,1).join("")}return N(r),P+=r.length,C=C.slice(r.length),C.length}while(1)}function $(){return/[^a-fA-F0-9]/.test(t)?(N(C.join("")),T=l,E):(C.push(t),r=t,E+1)}function Y(){return"."===t||/[eE]/.test(t)?(C.push(t),T=v,r=t,E+1):"x"===t&&1===C.length&&"0"===C[0]?(T=A,C.push(t),r=t,E+1):/[^\d]/.test(t)?(N(C.join("")),T=l,E):(C.push(t),r=t,E+1)}function X(){return"f"===t&&(C.push(t),r=t,E+=1),/[eE]/.test(t)?(C.push(t),r=t,E+1):("-"!==t&&"+"!==t||!/[eE]/.test(r))&&/[^\d]/.test(t)?(N(C.join("")),T=l,E):(C.push(t),r=t,E+1)}function Z(){if(/[^\d\w_]/.test(t)){var e=C.join("");return T=F[e]?y:R[e]?g:m,N(C.join("")),T=l,E}return C.push(t),r=t,E+1}}},"859e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("circle",{cx:"13",cy:"32",r:"3",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"21",cy:"27",r:"3",fill:"#25fdfc"}),o.default.createElement("circle",{cx:"23",cy:"18",r:"3",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"32",cy:"24",r:"3",fill:"#25fdfc"}),o.default.createElement("circle",{cx:"32",cy:"11",r:"3",fill:"#25fdfc"}))};t.default=u},"85e3":function(e,t){function r(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}e.exports=r},8604:function(e,t,r){var n=r("26e8"),i=r("e2c0");function o(e,t){return null!=e&&i(e,t,n)}e.exports=o},"860b":function(e,t,r){"use strict";var n=r("e192"),i=r("fc26"),o=i.strTranslate,a=i.strScale,s=r("ad62").getSubplotCalcData,l=r("73c9"),u=r("6e58"),c=r("83d1"),f=r("0379"),p=r("3fca"),d="mapbox",h=t.constants=r("b5e4");function v(e,t){var r=e._fullLayout,n=e._context;if(""===n.mapboxAccessToken)return"";for(var o=[],a=[],s=!1,l=!1,u=0;u<t.length;u++){var c=r[t[u]],f=c.accesstoken;m(c.style)&&(f?i.pushUnique(o,f):(m(c._input.style)&&(i.error("Uses Mapbox map style, but did not set an access token."),s=!0),l=!0)),f&&i.pushUnique(a,f)}if(l){var p=s?h.noAccessTokenErrorMsg:h.missingStyleErrorMsg;throw i.error(p),new Error(p)}return o.length?(o.length>1&&i.warn(h.multipleTokensErrorMsg),o[0]):(a.length&&i.log(["Listed mapbox access token(s)",a.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}function m(e){return"string"===typeof e&&(-1!==h.styleValuesMapbox.indexOf(e)||0===e.indexOf("mapbox://"))}t.name=d,t.attr="subplot",t.idRoot=d,t.idRegex=t.attrRegex=i.counterRegex(d),t.attributes={subplot:{valType:"subplotid",role:"info",dflt:"mapbox",editType:"calc",description:["Sets a reference between this trace's data coordinates and","a mapbox subplot.","If *mapbox* (the default value), the data refer to `layout.mapbox`.","If *mapbox2*, the data refer to `layout.mapbox2`, and so on."].join(" ")}},t.layoutAttributes=r("f7e9"),t.supplyLayoutDefaults=r("f518"),t.plot=function(e){var t=e._fullLayout,r=e.calcdata,o=t._subplots[d];if(n.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var a=v(e,o);n.accessToken=a;for(var l=0;l<o.length;l++){var u=o[l],c=s(r,d,u),f=t[u],m=f._subplot;m||(m=new p(e,u),t[u]._subplot=m),m.viewInitial||(m.viewInitial={center:i.extendFlat({},f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch}),m.plot(c,t,e._promises)}},t.clean=function(e,t,r,n){for(var i=n._subplots[d]||[],o=0;o<i.length;o++){var a=i[o];!t[a]&&n[a]._subplot&&n[a]._subplot.destroy()}},t.toSVG=function(e){for(var t=e._fullLayout,r=t._subplots[d],n=t._size,i=0;i<r.length;i++){var s=t[r[i]],p=s.domain,v=s._subplot,m=v.toImage("png"),g=t._glimages.append("svg:image");g.attr({xmlns:l.svg,"xlink:href":m,x:n.l+n.w*p.x[0],y:n.t+n.h*(1-p.y[1]),width:n.w*(p.x[1]-p.x[0]),height:n.h*(p.y[1]-p.y[0]),preserveAspectRatio:"none"});var y=u.select(s._subplot.div),b=null===y.select(".mapboxgl-ctrl-logo").node().offsetParent;if(!b){var x=t._glimages.append("g");x.attr("transform",o(n.l+n.w*p.x[0]+10,n.t+n.h*(1-p.y[0])-31)),x.append("path").attr("d",h.mapboxLogo.path0).style({opacity:.9,fill:"#ffffff","enable-background":"new"}),x.append("path").attr("d",h.mapboxLogo.path1).style("opacity",.35).style("enable-background","new"),x.append("path").attr("d",h.mapboxLogo.path2).style("opacity",.35).style("enable-background","new"),x.append("polygon").attr("points",h.mapboxLogo.polygon).style({opacity:.9,fill:"#ffffff","enable-background":"new"})}var A=y.select(".mapboxgl-ctrl-attrib").text().replace("Improve this map",""),w=t._glimages.append("g"),_=w.append("text");_.text(A).classed("static-attribution",!0).attr({"font-size":12,"font-family":"Arial",color:"rgba(0, 0, 0, 0.75)","text-anchor":"end","data-unformatted":A});var E=c.bBox(_.node()),k=n.w*(p.x[1]-p.x[0]);if(E.width>k/2){var T=A.split("|").join("<br>");_.text(T).attr("data-unformatted",T).call(f.convertToTspans,e),E=c.bBox(_.node())}_.attr("transform",o(-3,8-E.height)),w.insert("rect",".static-attribution").attr({x:-E.width-6,y:-E.height-3,width:E.width+6,height:E.height+3,fill:"rgba(255, 255, 255, 0.75)"});var C=1;E.width+6>k&&(C=k/(E.width+6));var S=[n.l+n.w*p.x[1],n.t+n.h*(1-p.y[0])];w.attr("transform",o(S[0],S[1])+a(C))}},t.updateFx=function(e){for(var t=e._fullLayout,r=t._subplots[d],n=0;n<r.length;n++){var i=t[r[n]]._subplot;i.updateFx(t)}}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8621:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M23 6l17 32H6L23 6z"}),o.default.createElement("circle",{cx:"19",cy:"22",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23",cy:"17",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23",cy:"30",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"27",cy:"26",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"17",cy:"35",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"28",cy:"34",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"11",cy:"35",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"32",cy:"30",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23",cy:"12",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"35",cy:"35",r:"2",fill:"#1d9bfb"}))};t.default=u},"865d":function(e,t,r){"use strict";var n=r("cb34").overrideAll,i=r("ad62").getModuleCalcData,o=r("c9ce"),a=r("927d"),s=r("0f37"),l=r("4efe"),u=r("1876").prepSelect,c=r("fc26"),f=r("371e"),p="sankey";function d(e,t){var r=e._fullData[t],n=e._fullLayout,i=n.dragmode,o="pan"===n.dragmode?"move":"crosshair",a=r._bgRect;if("pan"!==i&&"zoom"!==i){s(a,o);var p={_id:"x",c2p:c.identity,_offset:r._sankey.translateX,_length:r._sankey.width},d={_id:"y",c2p:c.identity,_offset:r._sankey.translateY,_length:r._sankey.height},h={gd:e,element:a.node(),plotinfo:{id:t,xaxis:p,yaxis:d,fillRangeItems:c.noop},subplot:t,xaxes:[p],yaxes:[d],doneFnCompleted:function(r){var n,i=e._fullData[t],o=i.node.groups.slice(),a=[];function s(e){for(var t=i._sankey.graph.nodes,r=0;r<t.length;r++)if(t[r].pointNumber===e)return t[r]}for(var l=0;l<r.length;l++){var u=s(r[l].pointNumber);if(u)if(u.group){for(var c=0;c<u.childrenNodes.length;c++)a.push(u.childrenNodes[c].pointNumber);o[u.pointNumber-i.node._count]=!1}else a.push(u.pointNumber)}n=o.filter(Boolean).concat([a]),f.call("_guiRestyle",e,{"node.groups":[n]},t)},prepFn:function(e,t,r){u(e,t,r,h,i)}};l.init(h)}}t.name=p,t.baseLayoutAttrOverrides=n({hoverlabel:a.hoverlabel},"plot","nested"),t.plot=function(e){var r=i(e.calcdata,p)[0];o(e,r),t.updateFx(e)},t.clean=function(e,t,r,n){var i=n._has&&n._has(p),o=t._has&&t._has(p);i&&!o&&(n._paperdiv.selectAll(".sankey").remove(),n._paperdiv.selectAll(".bgsankey").remove())},t.updateFx=function(e){for(var t=0;t<e._fullData.length;t++)d(e,t)}},8662:function(e,t,r){e.exports=i;var n=r("fe94");function i(e){for(var t=n(e),r=0,i=0;i<e.length;++i)for(var o=e[i],a=0;a<t.length;++a)r+=Math.pow(o[a]-t[a],2);return Math.sqrt(r/e.length)}},8685:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 9.313h4v3.438H2v4h2v3.25H0v4h12v-4H8v-3.25h1.938v-4H8V9.313h4v-4H0zM32 12V8H20v4h4v3.313h-2v4h2v3.375h-4v4h12v-4h-4v-3.375h2v-4h-2V12z"}))};t.default=u},8693:function(e,t,r){"use strict";var n=r("1a7e"),i=n.notEmptyKey;function o(e,t){var r;if(t.isCollapsed()){var n=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(r=e.getBlockForKey(n).getEntityAt(i-1),r!==e.getBlockForKey(n).getEntityAt(i)?null:a(e.getEntityMap(),r)):null}var o=t.getStartKey(),s=t.getStartOffset(),l=e.getBlockForKey(o);return r=s===l.getLength()?null:l.getEntityAt(s),a(e.getEntityMap(),r)}function a(e,t){if(i(t)){var r=e.__get(t);return"MUTABLE"===r.getMutability()?t:null}return null}e.exports=o},"86b8":function(e,t,r){"use strict";var n=r("19b2"),i=r("66cb"),o=r("d115"),a={};function s(e,t){var r,i,o=[],a=e._fullLayout,s=a.hiddenlabels||[],u=t.labels,c=t.marker.colors||[],f=t.values,p=t._length,d=t._hasValues&&p;if(t.dlabel)for(u=new Array(p),r=0;r<p;r++)u[r]=String(t.label0+r*t.dlabel);var h={},v=l(a["_"+t.type+"colormap"]),m=0,g=!1;for(r=0;r<p;r++){var y,b,x;if(d){if(y=f[r],!n(y))continue;if(y=+y,y<0)continue}else y=1;b=u[r],void 0!==b&&""!==b||(b=r),b=String(b);var A=h[b];void 0===A?(h[b]=o.length,x=-1!==s.indexOf(b),x||(m+=y),o.push({v:y,label:b,color:v(c[r],b),i:r,pts:[r],hidden:x})):(g=!0,i=o[A],i.v+=y,i.pts.push(r),i.hidden||(m+=y),!1===i.color&&c[r]&&(i.color=v(c[r],b)))}var w="funnelarea"===t.type?g:t.sort;return w&&o.sort((function(e,t){return t.v-e.v})),o[0]&&(o[0].vTotal=m),o}function l(e){return function(t,r){return!!t&&(t=i(t),!!t.isValid()&&(t=o.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t))}}function u(e,t){var r=(t||{}).type;r||(r="pie");var n=e._fullLayout,i=e.calcdata,o=n[r+"colorway"],s=n["_"+r+"colormap"];n["extend"+r+"colors"]&&(o=c(o,a));for(var l=0,u=0;u<i.length;u++){var f=i[u],p=f[0].trace.type;if(p===r)for(var d=0;d<f.length;d++){var h=f[d];!1===h.color&&(s[h.label]?h.color=s[h.label]:(s[h.label]=h.color=o[l%o.length],l++))}}}function c(e,t){var r,n=JSON.stringify(e),o=t[n];if(!o){for(o=e.slice(),r=0;r<e.length;r++)o.push(i(e[r]).lighten(20).toHexString());for(r=0;r<e.length;r++)o.push(i(e[r]).darken(20).toHexString());t[n]=o}return o}e.exports={calc:s,crossTraceCalc:u,makePullColorFn:l,generateExtendedColors:c}},"86d2":function(e,t,r){"use strict";for(var n=r("a876"),i=r("94d5").hovertemplateAttrs,o=r("9092").extendFlat,a=r("000c").colormodel,s=["rgb","rgba","rgba256","hsl","hsla"],l=[],u=[],c=0;c<s.length;c++){var f=a[s[c]];l.push("For the `"+s[c]+"` colormodel, it is ["+(f.zminDflt||f.min).join(", ")+"]."),u.push("For the `"+s[c]+"` colormodel, it is ["+(f.zmaxDflt||f.max).join(", ")+"].")}e.exports=o({source:{valType:"string",role:"info",editType:"calc",description:["Specifies the data URI of the image to be visualized.",'The URI consists of "data:image/[<media subtype>][;base64],<data>"'].join(" ")},z:{valType:"data_array",role:"info",editType:"calc",description:["A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color."].join(" ")},colormodel:{valType:"enumerated",values:s,role:"info",editType:"calc",description:["Color model used to map the numerical color components described in `z` into colors.","If `source` is specified, this attribute will be set to `rgba256`","otherwise it defaults to `rgb`."].join(" ")},zmin:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],role:"info",editType:"calc",description:["Array defining the lower bound for each color component.","Note that the default value will depend on the colormodel.",l.join(" ")].join(" ")},zmax:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],role:"info",editType:"calc",description:["Array defining the higher bound for each color component.","Note that the default value will depend on the colormodel.",u.join(" ")].join(" ")},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",description:"Set the image's x position."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",description:"Set the image's y position."},dx:{valType:"number",dflt:1,role:"info",editType:"calc",description:"Set the pixel's horizontal size."},dy:{valType:"number",dflt:1,role:"info",editType:"calc",description:"Set the pixel's vertical size"},text:{valType:"data_array",editType:"plot",description:"Sets the text elements associated with each z value."},hovertext:{valType:"data_array",editType:"plot",description:"Same as `text`."},hoverinfo:o({},n.hoverinfo,{flags:["x","y","z","color","name","text"],dflt:"x+y+z+text+name"}),hovertemplate:i({},{keys:["z","color","colormodel"]}),transforms:void 0})},"86df":function(e,t,r){"use strict";var n=r("19b2"),i=r("6533"),o=r("d115"),a=o.addOpacity,s=o.opacity,l=r("6c77"),u=l.CONSTRAINT_REDUCTION,c=l.COMPARISON_OPS2;function f(e,t){var r;-1===c.indexOf(t.operation)?(e("contours.value",[0,1]),Array.isArray(t.value)?t.value.length>2?t.value=t.value.slice(2):0===t.length?t.value=[0,1]:t.length<2?(r=parseFloat(t.value[0]),t.value=[r,r+1]):t.value=[parseFloat(t.value[0]),parseFloat(t.value[1])]:n(t.value)&&(r=parseFloat(t.value),t.value=[r,r+1])):(e("contours.value",0),n(t.value)||(Array.isArray(t.value)?t.value=parseFloat(t.value[0]):t.value=0))}e.exports=function(e,t,r,n,o,l){var c,p,d,h=t.contours,v=r("contours.operation");if(h._operation=u[v],f(r,h),"="===v?c=h.showlines=!0:(c=r("contours.showlines"),d=r("fillcolor",a((e.line||{}).color||o,.5))),c){var m=d&&s(d)?a(t.fillcolor,1):o;p=r("line.color",m),r("line.width",2),r("line.dash")}r("line.smoothing"),i(r,n,p,l)}},8704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WrenchIcon=t.VideoIcon=t.VectorDifferenceIcon=t.VectorDifferenceBaIcon=t.VectorDifferenceAbIcon=t.UploadIcon=t.UploadFileIcon=void 0,t.UnlockIcon=t.TwitterIcon=t.TrashIcon=t.TooltipTextIcon=t.TooltipIcon=t.ThumnailViewIcon=t.ThemeIcon=t.TeamIcon=t.TalkChatMultipleIcon=t.TalkChatIcon=t.TagOutlineIcon=t.TagIcon=t.SuitcaseIcon=t.StarIcon=t.SquareIcon=t.SignOutIcon=t.ShareVariantIcon=t.ShareIcon=t.SearchIcon=t.SaveIcon=t.RotateRightIcon=t.RotateLeftIcon=t.RevisionsIcon=t.ResizeUpIcon=t.ResizeDownIcon=t.ReorderVerticalIcon=t.ReorderHorizontalIcon=t.RefreshIcon=t.RecentIcon=t.QuestionIcon=t.PlusIcon=t.PlotTableIcon=t.PlayIcon=t.PhoneIcon=t.OfficeIcon=t.MinusIcon=t.LockIcon=t.ListViewIcon=t.LinkVariantIcon=t.LinkIcon=t.LinkedInIcon=t.InstagramIcon=t.InboxIcon=t.InboxArrowIcon=t.ImportIcon=t.HeartIcon=t.GridIcon=t.GraphIcon=t.GooglePlusIcon=t.GlobeIcon=t.GitHubIcon=t.FullViewIcon=t.FormatAlignRightIcon=t.FormatAlignLeftIcon=t.FormatAlignCenterIcon=t.FolderOpenIcon=t.FolderIcon=t.FlipToFrontIcon=t.FlipToBackIcon=t.FilterIcon=t.FileMultipleIcon=t.FileIcon=t.FileDocumentIcon=t.FacebookIcon=t.ExternalLinkIcon=t.EnvelopeOutlineIcon=t.EnvelopeIcon=t.EditIcon=t.DownloadIcon=t.CreditCardIcon=t.ContentCopyIcon=t.CollageIcon=t.CollaboratorIcon=t.CogIcon=t.CodeBracesIcon=t.CloudIcon=t.CloseIcon=t.CheckIcon=t.CheckboxMarkedOutlineIcon=t.ChatOutlineIcon=t.ChatIcon=t.ChartLineIcon=t.CarretUpIcon=t.CarretDownIcon=t.CalendarMultiselectIcon=t.BufferIcon=t.BookmarkIcon=t.BellIcon=t.BarsIcon=t.ArrowUpIcon=t.ArrowRightIcon=t.ArrowLeftIcon=t.ArrowDownIcon=t.ArrangeSendBackwardIcon=t.AnimationIcon=t.AngleUpIcon=t.AngleRightIcon=t.AngleLeftIcon=t.AngleDownIcon=t.AccountIcon=void 0;var n=r("d073");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}));var i=r("0ac6"),o=Zr(i),a=r("784e"),s=Zr(a),l=r("579f"),u=Zr(l),c=r("fdb9"),f=Zr(c),p=r("b319"),d=Zr(p),h=r("b830"),v=Zr(h),m=r("073f"),g=Zr(m),y=r("bb12"),b=Zr(y),x=r("340d"),A=Zr(x),w=r("797e"),_=Zr(w),E=r("284c"),k=Zr(E),T=r("0f2e"),C=Zr(T),S=r("f26d"),O=Zr(S),M=r("87e1"),P=Zr(M),B=r("df77"),L=Zr(B),D=r("6cab"),I=Zr(D),j=r("6a79"),R=Zr(j),F=r("ae15"),N=Zr(F),z=r("abda"),U=Zr(z),H=r("0468"),V=Zr(H),Q=r("144c"),W=Zr(Q),K=r("6f85"),q=Zr(K),G=r("c642"),$=Zr(G),Y=r("b7d6"),X=Zr(Y),Z=r("0945"),J=Zr(Z),ee=r("b61a"),te=Zr(ee),re=r("633c"),ne=Zr(re),ie=r("4978"),oe=Zr(ie),ae=r("543f"),se=Zr(ae),le=r("2351"),ue=Zr(le),ce=r("faf6"),fe=Zr(ce),pe=r("6b79"),de=Zr(pe),he=r("bfc4"),ve=Zr(he),me=r("c342"),ge=Zr(me),ye=r("f60e4"),be=Zr(ye),xe=r("039b"),Ae=Zr(xe),we=r("a654"),_e=Zr(we),Ee=r("9897"),ke=Zr(Ee),Te=r("9981"),Ce=Zr(Te),Se=r("2bc4"),Oe=Zr(Se),Me=r("bb68"),Pe=Zr(Me),Be=r("3b2b"),Le=Zr(Be),De=r("8a5b"),Ie=Zr(De),je=r("e3e3"),Re=Zr(je),Fe=r("7077"),Ne=Zr(Fe),ze=r("2d47"),Ue=Zr(ze),He=r("be77"),Ve=Zr(He),Qe=r("b207"),We=Zr(Qe),Ke=r("b80f"),qe=Zr(Ke),Ge=r("0c4d"),$e=Zr(Ge),Ye=r("76784"),Xe=Zr(Ye),Ze=r("bd1c"),Je=Zr(Ze),et=r("6779"),tt=Zr(et),rt=r("a5ba"),nt=Zr(rt),it=r("fbbc"),ot=Zr(it),at=r("4406"),st=Zr(at),lt=r("c799"),ut=Zr(lt),ct=r("01a1"),ft=Zr(ct),pt=r("fb14"),dt=Zr(pt),ht=r("64b3"),vt=Zr(ht),mt=r("2517"),gt=Zr(mt),yt=r("b7b84"),bt=Zr(yt),xt=r("c751"),At=Zr(xt),wt=r("8790"),_t=Zr(wt),Et=r("c436"),kt=Zr(Et),Tt=r("0226"),Ct=Zr(Tt),St=r("a05a"),Ot=Zr(St),Mt=r("d3e8"),Pt=Zr(Mt),Bt=r("4179"),Lt=Zr(Bt),Dt=r("8a5d"),It=Zr(Dt),jt=r("4481"),Rt=Zr(jt),Ft=r("d546"),Nt=Zr(Ft),zt=r("3d28"),Ut=Zr(zt),Ht=r("5d7c"),Vt=Zr(Ht),Qt=r("8966"),Wt=Zr(Qt),Kt=r("fb94"),qt=Zr(Kt),Gt=r("5679"),$t=Zr(Gt),Yt=r("ba9f"),Xt=Zr(Yt),Zt=r("45cb"),Jt=Zr(Zt),er=r("b50d"),tr=Zr(er),rr=r("5be9"),nr=Zr(rr),ir=r("bcca"),or=Zr(ir),ar=r("d98d"),sr=Zr(ar),lr=r("bbce"),ur=Zr(lr),cr=r("e762"),fr=Zr(cr),pr=r("1b00"),dr=Zr(pr),hr=r("dc1f"),vr=Zr(hr),mr=r("9cb4"),gr=Zr(mr),yr=r("4d87"),br=Zr(yr),xr=r("515d"),Ar=Zr(xr),wr=r("1330"),_r=Zr(wr),Er=r("6097"),kr=Zr(Er),Tr=r("69a4"),Cr=Zr(Tr),Sr=r("75f4"),Or=Zr(Sr),Mr=r("5d8c"),Pr=Zr(Mr),Br=r("f6ae"),Lr=Zr(Br),Dr=r("5dd4"),Ir=Zr(Dr),jr=r("9403"),Rr=Zr(jr),Fr=r("a3b3"),Nr=Zr(Fr),zr=r("9f00"),Ur=Zr(zr),Hr=r("5baa"),Vr=Zr(Hr),Qr=r("8838"),Wr=Zr(Qr),Kr=r("e9ef"),qr=Zr(Kr),Gr=r("42a1"),$r=Zr(Gr),Yr=r("bba6"),Xr=Zr(Yr);function Zr(e){return e&&e.__esModule?e:{default:e}}t.AccountIcon=o.default,t.AngleDownIcon=s.default,t.AngleLeftIcon=u.default,t.AngleRightIcon=f.default,t.AngleUpIcon=d.default,t.AnimationIcon=v.default,t.ArrangeSendBackwardIcon=g.default,t.ArrowDownIcon=b.default,t.ArrowLeftIcon=A.default,t.ArrowRightIcon=_.default,t.ArrowUpIcon=k.default,t.BarsIcon=C.default,t.BellIcon=O.default,t.BookmarkIcon=P.default,t.BufferIcon=L.default,t.CalendarMultiselectIcon=I.default,t.CarretDownIcon=R.default,t.CarretUpIcon=N.default,t.ChartLineIcon=U.default,t.ChatIcon=V.default,t.ChatOutlineIcon=W.default,t.CheckboxMarkedOutlineIcon=q.default,t.CheckIcon=$.default,t.CloseIcon=X.default,t.CloudIcon=J.default,t.CodeBracesIcon=te.default,t.CogIcon=ne.default,t.CollaboratorIcon=oe.default,t.CollageIcon=se.default,t.ContentCopyIcon=ue.default,t.CreditCardIcon=fe.default,t.DownloadIcon=de.default,t.EditIcon=ve.default,t.EnvelopeIcon=ge.default,t.EnvelopeOutlineIcon=be.default,t.ExternalLinkIcon=Ae.default,t.FacebookIcon=_e.default,t.FileDocumentIcon=ke.default,t.FileIcon=Ce.default,t.FileMultipleIcon=Oe.default,t.FilterIcon=Pe.default,t.FlipToBackIcon=Le.default,t.FlipToFrontIcon=Ie.default,t.FolderIcon=Re.default,t.FolderOpenIcon=Ne.default,t.FormatAlignCenterIcon=Ue.default,t.FormatAlignLeftIcon=Ve.default,t.FormatAlignRightIcon=We.default,t.FullViewIcon=qe.default,t.GitHubIcon=$e.default,t.GlobeIcon=Xe.default,t.GooglePlusIcon=Je.default,t.GraphIcon=tt.default,t.GridIcon=nt.default,t.HeartIcon=ot.default,t.ImportIcon=st.default,t.InboxArrowIcon=ut.default,t.InboxIcon=ft.default,t.InstagramIcon=dt.default,t.LinkedInIcon=vt.default,t.LinkIcon=gt.default,t.LinkVariantIcon=gt.default,t.ListViewIcon=bt.default,t.LockIcon=At.default,t.MinusIcon=_t.default,t.OfficeIcon=kt.default,t.PhoneIcon=Ct.default,t.PlayIcon=Ot.default,t.PlotTableIcon=Pt.default,t.PlusIcon=Lt.default,t.QuestionIcon=It.default,t.RecentIcon=Rt.default,t.RefreshIcon=Nt.default,t.ReorderHorizontalIcon=Ut.default,t.ReorderVerticalIcon=Vt.default,t.ResizeDownIcon=Wt.default,t.ResizeUpIcon=qt.default,t.RevisionsIcon=$t.default,t.RotateLeftIcon=Xt.default,t.RotateRightIcon=Jt.default,t.SaveIcon=tr.default,t.SearchIcon=nr.default,t.ShareIcon=or.default,t.ShareVariantIcon=sr.default,t.SignOutIcon=ur.default,t.SquareIcon=fr.default,t.StarIcon=dr.default,t.SuitcaseIcon=vr.default,t.TagIcon=gr.default,t.TagOutlineIcon=br.default,t.TalkChatIcon=V.default,t.TalkChatMultipleIcon=Ar.default,t.TeamIcon=_r.default,t.ThemeIcon=kr.default,t.ThumnailViewIcon=Cr.default,t.TooltipIcon=Or.default,t.TooltipTextIcon=Pr.default,t.TrashIcon=Lr.default,t.TwitterIcon=Ir.default,t.UnlockIcon=Rr.default,t.UploadFileIcon=Nr.default,t.UploadIcon=Ur.default,t.VectorDifferenceAbIcon=Vr.default,t.VectorDifferenceBaIcon=Wr.default,t.VectorDifferenceIcon=qr.default,t.VideoIcon=$r.default,t.WrenchIcon=Xr.default},"870c":function(e,t,r){"use strict";var n=r("fc26"),i=r("36fc"),o=r("06ad");e.exports=function(e,t,r){function a(r,o){return n.coerce(e,t,i,r,o)}o._supply(e,t,r,a,"violin")}},8720:function(e,t,r){"use strict";var n=r("0d82");function i(e){var t=e.getSelection();return t.isCollapsed()?null:n(e.getCurrentContent(),t)}e.exports=i},"872a":function(e,t,r){var n=r("3b4a");function i(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}e.exports=i},8741:function(e,t,r){"use strict";var n=r("faa1").EventEmitter,i={init:function(e){if(e._ev instanceof n)return e;var t=new n,r=new n;return e._ev=t,e._internalEv=r,e.on=t.on.bind(t),e.once=t.once.bind(t),e.removeListener=t.removeListener.bind(t),e.removeAllListeners=t.removeAllListeners.bind(t),e._internalOn=r.on.bind(r),e._internalOnce=r.once.bind(r),e._removeInternalListener=r.removeListener.bind(r),e._removeAllInternalListeners=r.removeAllListeners.bind(r),e.emit=function(n,i){"undefined"!==typeof jQuery&&jQuery(e).trigger(n,i),t.emit(n,i),r.emit(n,i)},e},triggerHandler:function(e,t,r){var n,i;"undefined"!==typeof jQuery&&(n=jQuery(e).triggerHandler(t,r));var o=e._ev;if(!o)return n;var a,s=o._events[t];if(!s)return n;function l(e){return e.listener?(o.removeListener(t,e.listener),e.fired?void 0:(e.fired=!0,e.listener.apply(o,[r]))):e.apply(o,[r])}for(s=Array.isArray(s)?s:[s],a=0;a<s.length-1;a++)l(s[a]);return i=l(s[a]),void 0!==n?n:i},purge:function(e){return delete e._ev,delete e.on,delete e.once,delete e.removeListener,delete e.removeAllListeners,delete e.emit,delete e._ev,delete e._internalEv,delete e._internalOn,delete e._internalOnce,delete e._removeInternalListener,delete e._removeAllInternalListeners,e}};e.exports=i},8755:function(e,t,r){"use strict";e.exports={attributes:r("a27e"),supplyDefaults:r("99d6"),calc:r("6a08"),plot:r("3e11"),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:r("145a"),categories:["noOpacity"],meta:{description:["Parallel categories diagram for multidimensional categorical data."].join(" ")}}},8761:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"candlestick",basePlotModule:r("91cd"),categories:["cartesian","svg","showLegend","candlestick","boxLayout"],meta:{description:["The candlestick is a style of financial chart describing","open, high, low and close for a given `x` coordinate (most likely time).","The boxes represent the spread between the `open` and `close` values and","the lines represent the spread between the `low` and `high` values","Sample points where the close value is higher (lower) then the open","value are called increasing (decreasing).","By default, increasing candles are drawn in green whereas","decreasing are drawn in red."].join(" ")},attributes:r("64c3"),layoutAttributes:r("60dc"),supplyLayoutDefaults:r("06ad").supplyLayoutDefaults,crossTraceCalc:r("f4b3").crossTraceCalc,supplyDefaults:r("e398"),calc:r("8568"),plot:r("d34f").plot,layerName:"boxlayer",style:r("b4c7").style,hoverPoints:r("d945").hoverPoints,selectPoints:r("ab9c")}},8766:function(e,t,r){"use strict";var n=r("0d59"),i=r("9092").extendFlat,o=r("19b2");function a(e){if(Array.isArray(e)){for(var t=0,r=0;r<e.length;r++)t=Math.max(t,a(e[r]));return t}return e}function s(e,t){return e+t}function l(e){var t,r=e.slice(),n=1/0,i=0;for(t=0;t<r.length;t++)Array.isArray(r[t])||(r[t]=[r[t]]),n=Math.min(n,r[t].length),i=Math.max(i,r[t].length);if(n!==i)for(t=0;t<r.length;t++){var o=i-r[t].length;o&&(r[t]=r[t].concat(u(o)))}return r}function u(e){for(var t=new Array(e),r=0;r<e;r++)t[r]="";return t}function c(e){return e.calcdata.columns.reduce((function(t,r){return r.xIndex<e.xIndex?t+r.columnWidth:t}),0)}function f(e,t){var r=Object.keys(e);return r.map((function(r){return i({},e[r],{auxiliaryBlocks:t})}))}function p(e,t){for(var r,n={},i=0,o=0,a=d(),s=0,l=0,u=0;u<e.length;u++)r=e[u],a.rows.push({rowIndex:u,rowHeight:r}),o+=r,(o>=t||u===e.length-1)&&(n[i]=a,a.key=l++,a.firstRowIndex=s,a.lastRowIndex=u,a=d(),i+=o,s=u+1,o=0);return n}function d(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}e.exports=function(e,t){var r=l(t.cells.values),d=function(e){return e.slice(t.header.values.length,e.length)},h=l(t.header.values);h.length&&!h[0].length&&(h[0]=[""],h=l(h));var v=h.concat(d(r).map((function(){return u((h[0]||[""]).length)}))),m=t.domain,g=Math.floor(e._fullLayout._size.w*(m.x[1]-m.x[0])),y=Math.floor(e._fullLayout._size.h*(m.y[1]-m.y[0])),b=t.header.values.length?v[0].map((function(){return t.header.height})):[n.emptyHeaderHeight],x=r.length?r[0].map((function(){return t.cells.height})):[],A=b.reduce(s,0),w=y-A,_=w+n.uplift,E=p(x,_),k=p(b,A),T=f(k,[]),C=f(E,T),S={},O=t._fullInput.columnorder.concat(d(r.map((function(e,t){return t})))),M=v.map((function(e,r){var n=Array.isArray(t.columnwidth)?t.columnwidth[Math.min(r,t.columnwidth.length-1)]:t.columnwidth;return o(n)?Number(n):1})),P=M.reduce(s,0);M=M.map((function(e){return e/P*g}));var B=Math.max(a(t.header.line.width),a(t.cells.line.width)),L={key:t.uid+e._context.staticPlot,translateX:m.x[0]*e._fullLayout._size.w,translateY:e._fullLayout._size.h*(1-m.y[1]),size:e._fullLayout._size,width:g,maxLineWidth:B,height:y,columnOrder:O,groupHeight:y,rowBlocks:C,headerRowBlocks:T,scrollY:0,cells:i({},t.cells,{values:r}),headerCells:i({},t.header,{values:v}),gdColumns:v.map((function(e){return e[0]})),gdColumnsOriginalOrder:v.map((function(e){return e[0]})),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:v.map((function(e,t){var r=S[e];S[e]=(r||0)+1;var n=e+"__"+S[e];return{key:n,label:e,specIndex:t,xIndex:O[t],xScale:c,x:void 0,calcdata:void 0,columnWidth:M[t]}}))};return L.columns.forEach((function(e){e.calcdata=L,e.x=c(e)})),L}},87669:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 0h1.625v32H0zm32 30.375V32H0v-1.625zM3.188 12.813h3.188v16H3.188zM8 11.188h3.188v17.625H8zm4.813 1.625h3.188v16h-3.188zm4.812-3.188h3.188v19.188h-3.188zM22.375 8h3.25v20.813h-3.25zm4.813-3.187h3.188v24h-3.188z"}))};t.default=u},8784:function(e,t,r){"use strict";var n=r("4991"),i=r("0005");function o(e,t){return n(e,t)||i(e)-i(t)}e.exports=o},"878a":function(e,t,r){"use strict";var n=r("756e");function i(e,t){this.stars=e,this.edges=t}e.exports=s;var o=i.prototype;function a(e,t,r){for(var n=1,i=e.length;n<i;n+=2)if(e[n-1]===t&&e[n]===r)return e[n-1]=e[i-2],e[n]=e[i-1],void(e.length=i-2)}function s(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=[];return new i(r,t)}o.isConstraint=function(){var e=[0,0];function t(e,t){return e[0]-t[0]||e[1]-t[1]}return function(r,i){return e[0]=Math.min(r,i),e[1]=Math.max(r,i),n.eq(this.edges,e,t)>=0}}(),o.removeTriangle=function(e,t,r){var n=this.stars;a(n[e],t,r),a(n[t],r,e),a(n[r],e,t)},o.addTriangle=function(e,t,r){var n=this.stars;n[e].push(t,r),n[t].push(r,e),n[r].push(e,t)},o.opposite=function(e,t){for(var r=this.stars[t],n=1,i=r.length;n<i;n+=2)if(r[n]===e)return r[n-1];return-1},o.flip=function(e,t){var r=this.opposite(e,t),n=this.opposite(t,e);this.removeTriangle(e,t,r),this.removeTriangle(t,e,n),this.addTriangle(e,n,r),this.addTriangle(t,r,n)},o.edges=function(){for(var e=this.stars,t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0,a=i.length;o<a;o+=2)t.push([i[o],i[o+1]]);return t},o.cells=function(){for(var e=this.stars,t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0,a=i.length;o<a;o+=2){var s=i[o],l=i[o+1];r<Math.min(s,l)&&t.push([r,s,l])}return t}},8790:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,13H5V11H19V13Z"}))};e.exports=s},8797:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=i.dateTime2ms,a=i.incrementMonth,s=r("e806"),l=s.ONEAVGMONTH;e.exports=function(e,t,r,i){if("date"!==t.type)return i;var s=e[r+"periodalignment"];if(!s)return i;var u,c=e[r+"period"];if(n(c)){if(c=+c,c<=0)return i}else if("string"===typeof c&&"M"===c.charAt(0)){var f=+c.substring(1);if(!(f>0&&Math.round(f)===f))return i;u=f}for(var p=t.calendar,d="start"===s,h="end"===s,v=e[r+"period0"],m=o(v,p)||0,g=[],y=i.length,b=0;b<y;b++){var x,A,w,_=i[b];if(u){x=Math.round((_-m)/(u*l)),w=a(m,u*x,p);while(w>_)w=a(w,-u,p);while(w<=_)w=a(w,u,p);A=a(w,-u,p)}else{x=Math.round((_-m)/c),w=m+x*c;while(w>_)w-=c;while(w<=_)w+=c;A=w-c}g[b]=d?A:h?w:(A+w)/2}return g}},"87d2":function(e,t,r){var n=r("0230"),i=r("320c"),o=n.instance();function a(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Chinese",jdEpoch:1721425.5,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(e,t){if("string"===typeof e){var r=e.match(l);return r?r[0]:""}var n=this._validateYear(e),i=e.month(),o=""+this.toChineseMonth(n,i);return t&&o.length<2&&(o="0"+o),this.isIntercalaryMonth(n,i)&&(o+="i"),o},monthNames:function(e){if("string"===typeof e){var t=e.match(u);return t?t[0]:""}var r=this._validateYear(e),n=e.month(),i=this.toChineseMonth(r,n),o=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][i-1];return this.isIntercalaryMonth(r,n)&&(o="闰"+o),o},monthNamesShort:function(e){if("string"===typeof e){var t=e.match(c);return t?t[0]:""}var r=this._validateYear(e),n=e.month(),i=this.toChineseMonth(r,n),o=["一","二","三","四","五","六","七","八","九","十","十一","十二"][i-1];return this.isIntercalaryMonth(r,n)&&(o="闰"+o),o},parseMonth:function(e,t){e=this._validateYear(e);var r,n=parseInt(t);if(isNaN(n))"闰"===t[0]&&(r=!0,t=t.substring(1)),"月"===t[t.length-1]&&(t=t.substring(0,t.length-1)),n=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(t);else{var i=t[t.length-1];r="i"===i||"I"===i}var o=this.toMonthIndex(e,n,r);return o},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(e,t){if(e.year&&(e=e.year()),"number"!==typeof e||e<1888||e>2111)throw t.replace(/\{0\}/,this.local.name);return e},toMonthIndex:function(e,t,r){var i,o=this.intercalaryMonth(e),a=r&&t!==o;if(a||t<1||t>12)throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);return i=o?!r&&t<=o?t-1:t:t-1,i},toChineseMonth:function(e,t){e.year&&(e=e.year(),t=e.month());var r,i=this.intercalaryMonth(e),o=i?12:11;if(t<0||t>o)throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);return r=i?t<i?t+1:t:t+1,r},intercalaryMonth:function(e){e=this._validateYear(e);var t=f[e-f[0]],r=t>>13;return r},isIntercalaryMonth:function(e,t){e.year&&(e=e.year(),t=e.month());var r=this.intercalaryMonth(e);return!!r&&r===t},leapYear:function(e){return 0!==this.intercalaryMonth(e)},weekOfYear:function(e,t,r){var i,a=this._validateYear(e,n.local.invalidyear),s=p[a-p[0]],l=s>>9&4095,u=s>>5&15,c=31&s;i=o.newDate(l,u,c),i.add(4-(i.dayOfWeek()||7),"d");var f=this.toJD(e,t,r)-i.toJD();return 1+Math.floor(f/7)},monthsInYear:function(e){return this.leapYear(e)?13:12},daysInMonth:function(e,t){e.year&&(t=e.month(),e=e.year()),e=this._validateYear(e);var r=f[e-f[0]],i=r>>13,o=i?12:11;if(t>o)throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);var a=r&1<<12-t?30:29;return a},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,s,r,n.local.invalidDate);e=this._validateYear(i.year()),t=i.month(),r=i.day();var a=this.isIntercalaryMonth(e,t),s=this.toChineseMonth(e,t),l=h(e,s,r,a);return o.toJD(l.year,l.month,l.day)},fromJD:function(e){var t=o.fromJD(e),r=d(t.year(),t.month(),t.day()),n=this.toMonthIndex(r.year,r.month,r.isIntercalary);return this.newDate(r.year,n,r.day)},fromString:function(e){var t=e.match(s),r=this._validateYear(+t[1]),n=+t[2],i=!!t[3],o=this.toMonthIndex(r,n,i),a=+t[4];return this.newDate(r,o,a)},add:function(e,t,r){var n=e.year(),i=e.month(),o=this.isIntercalaryMonth(n,i),s=this.toChineseMonth(n,i),l=Object.getPrototypeOf(a.prototype).add.call(this,e,t,r);if("y"===r){var u=l.year(),c=l.month(),f=this.isIntercalaryMonth(u,s),p=o&&f?this.toMonthIndex(u,s,!0):this.toMonthIndex(u,s,!1);p!==c&&l.month(p)}return l}});var s=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,l=/^\d?\d[iI]?/m,u=/^闰?十?[一二三四五六七八九]?月/m,c=/^闰?十?[一二三四五六七八九]?/m;n.calendars.chinese=a;var f=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],p=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function d(e,t,r,n){var i,o;if("object"===typeof e)i=e,o=t||{};else{var a="number"===typeof e&&e>=1888&&e<=2111;if(!a)throw new Error("Solar year outside range 1888-2111");var s="number"===typeof t&&t>=1&&t<=12;if(!s)throw new Error("Solar month outside range 1 - 12");var l="number"===typeof r&&r>=1&&r<=31;if(!l)throw new Error("Solar day outside range 1 - 31");i={year:e,month:t,day:r},o=n||{}}var u=p[i.year-p[0]],c=i.year<<9|i.month<<5|i.day;o.year=c>=u?i.year:i.year-1,u=p[o.year-p[0]];var d,h=u>>9&4095,v=u>>5&15,m=31&u,g=new Date(h,v-1,m),y=new Date(i.year,i.month-1,i.day);d=Math.round((y-g)/864e5);var b,x=f[o.year-f[0]];for(b=0;b<13;b++){var A=x&1<<12-b?30:29;if(d<A)break;d-=A}var w=x>>13;return!w||b<w?(o.isIntercalary=!1,o.month=1+b):b===w?(o.isIntercalary=!0,o.month=b):(o.isIntercalary=!1,o.month=b),o.day=1+d,o}function h(e,t,r,n,i){var o,a,s;if("object"===typeof e)a=e,o=t||{};else{var l="number"===typeof e&&e>=1888&&e<=2111;if(!l)throw new Error("Lunar year outside range 1888-2111");var u="number"===typeof t&&t>=1&&t<=12;if(!u)throw new Error("Lunar month outside range 1 - 12");var c,d="number"===typeof r&&r>=1&&r<=30;if(!d)throw new Error("Lunar day outside range 1 - 30");"object"===typeof n?(c=!1,o=n):(c=!!n,o=i||{}),a={year:e,month:t,day:r,isIntercalary:c}}s=a.day-1;var h,v=f[a.year-f[0]],m=v>>13;h=m&&(a.month>m||a.isIntercalary)?a.month:a.month-1;for(var g=0;g<h;g++){var y=v&1<<12-g?30:29;s+=y}var b=p[a.year-p[0]],x=b>>9&4095,A=b>>5&15,w=31&b,_=new Date(x,A-1,w+s);return o.year=_.getFullYear(),o.month=1+_.getMonth(),o.day=_.getDate(),o}},"87e1":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M17,3H7C5.9,3 5,3.9 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"}))};e.exports=s},"87e2":function(e,t,r){"use strict";var n=r("fc26"),i=r("41e0"),o=r("5793"),a=r("c8f0"),s=r("4183"),l=r("0435");e.exports=function(e,t,r,u){function c(r,i){return n.coerce(e,t,l,r,i)}var f=i(e,t,c,u);f?(o(e,t,u,c),c("text"),c("hovertext"),c("hovertemplate"),a(e,t,c,u),c("hoverongaps"),c("connectgaps",n.isArray1D(t.z)&&!1!==t.zsmooth),s(e,t,u,c,{prefix:"",cLetter:"z"})):t.visible=!1}},"87fd":function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("0984"),a=r("8693"),s=r("4f8d"),l=r("62b9"),u=r("8164"),c=r("78ec"),f="'",p="/",d=o.isBrowser("Firefox");function h(e){return d&&(e==f||e==p)}function v(e,t,r,o,a){var s=n.replaceText(e.getCurrentContent(),e.getSelection(),t,r,o);return i.push(e,s,"insert-characters",a)}function m(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var r=e._latestEditorState,n=t.data;if(n)if(e.props.handleBeforeInput&&s(e.props.handleBeforeInput(n,r,t.timeStamp)))t.preventDefault();else{var o=r.getSelection(),f=o.getStartOffset(),p=o.getAnchorKey();if(!o.isCollapsed())return t.preventDefault(),void e.update(v(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!0));var d=v(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!1),m=!1;if(m||(m=l(e._latestCommittedEditorState)),!m){var g=r.getBlockTree(p),y=d.getBlockTree(p);m=g.size!==y.size||g.zip(y).some((function(e){var t=e[0],r=e[1],i=t.get("start"),o=i+(i>=f?n.length:0),a=t.get("end"),s=a+(a>=f?n.length:0),l=r.get("start"),u=r.get("end"),c=r.get("decoratorKey");return t.get("decoratorKey")!==c||t.get("leaves").size!==r.get("leaves").size||o!==l||s!==u||null!=c&&u-l!==a-i}))}if(m||(m=h(n)),m||(m=u(d.getDirectionMap()).get(p)!==u(r.getDirectionMap()).get(p)),m)return t.preventDefault(),d=i.set(d,{forceSelection:!0}),void e.update(d);d=i.set(d,{nativelyRenderedContent:d.getCurrentContent()}),e._pendingStateFromBeforeInput=d,c((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}e.exports=m},8832:function(e,t,r){!function(t,r){e.exports=r()}(0,(function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(1),o=n(i);e.exports=o.default},function(e,t,r){r(2);var n=r(6)(r(7),r(8),"data-v-82963a40",null);e.exports=n.exports},function(e,t,r){var n=r(3);"string"==typeof n&&(n=[[e.id,n,""]]),r(5)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){t=e.exports=r(4)(),t.push([e.id,"a[data-v-82963a40]{cursor:pointer}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=f[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(l(n.parts[o],t))}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(l(n.parts[o],t));f[n.id]={id:n.id,refs:1,parts:a}}}}function i(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n],o=i[0],a=i[1],s=i[2],l=i[3],u={css:a,media:s,sourceMap:l};r[o]?r[o].parts.push(u):t.push(r[o]={id:o,parts:[u]})}return t}function o(e,t){var r=h(),n=g[g.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=g.indexOf(e);t>=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function l(e,t){var r,n,i;if(t.singleton){var o=m++;r=v||(v=s(t)),n=u.bind(null,r,o,!1),i=u.bind(null,r,o,!0)}else r=s(t),n=c.bind(null,r),i=function(){a(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}function u(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function c(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},d=p((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),h=p((function(){return document.head||document.getElementsByTagName("head")[0]})),v=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=d()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=i(e);return n(r,t),function(e){for(var o=[],a=0;a<r.length;a++){var s=r[a],l=f[s.id];l.refs--,o.push(l)}if(e){var u=i(e);n(u,t)}for(a=0;a<o.length;a++){l=o[a];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}};var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,r,n){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var l=s.computed||(s.computed={});Object.keys(n).forEach((function(e){var t=n[e];l[e]=function(){return t}}))}return{esModule:i,exports:o,options:s}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{value:{type:Number},pageCount:{type:Number,required:!0},forcePage:{type:Number},clickHandler:{type:Function,default:function(){}},pageRange:{type:Number,default:3},marginPages:{type:Number,default:1},prevText:{type:String,default:"Prev"},nextText:{type:String,default:"Next"},breakViewText:{type:String,default:"…"},containerClass:{type:String},pageClass:{type:String},pageLinkClass:{type:String},prevClass:{type:String},prevLinkClass:{type:String},nextClass:{type:String},nextLinkClass:{type:String},breakViewClass:{type:String},breakViewLinkClass:{type:String},activeClass:{type:String,default:"active"},disabledClass:{type:String,default:"disabled"},noLiSurround:{type:Boolean,default:!1},firstLastButton:{type:Boolean,default:!1},firstButtonText:{type:String,default:"First"},lastButtonText:{type:String,default:"Last"},hidePrevNext:{type:Boolean,default:!1}},beforeUpdate:function(){void 0!==this.forcePage&&this.forcePage!==this.selected&&(this.selected=this.forcePage)},computed:{selected:{get:function(){return this.value||this.innerValue},set:function(e){this.innerValue=e}},pages:function(){var e=this,t={};if(this.pageCount<=this.pageRange)for(var r=0;r<this.pageCount;r++){var n={index:r,content:r+1,selected:r===this.selected-1};t[r]=n}else{for(var i=Math.floor(this.pageRange/2),o=function(r){var n={index:r,content:r+1,selected:r===e.selected-1};t[r]=n},a=function(e){var r={disabled:!0,breakView:!0};t[e]=r},s=0;s<this.marginPages;s++)o(s);var l=0;this.selected-i>0&&(l=this.selected-1-i);var u=l+this.pageRange-1;u>=this.pageCount&&(u=this.pageCount-1,l=u-this.pageRange+1);for(var c=l;c<=u&&c<=this.pageCount-1;c++)o(c);l>this.marginPages&&a(l-1),u+1<this.pageCount-this.marginPages&&a(u+1);for(var f=this.pageCount-1;f>=this.pageCount-this.marginPages;f--)o(f)}return t}},data:function(){return{innerValue:1}},methods:{handlePageSelected:function(e){this.selected!==e&&(this.innerValue=e,this.$emit("input",e),this.clickHandler(e))},prevPage:function(){this.selected<=1||this.handlePageSelected(this.selected-1)},nextPage:function(){this.selected>=this.pageCount||this.handlePageSelected(this.selected+1)},firstPageSelected:function(){return 1===this.selected},lastPageSelected:function(){return this.selected===this.pageCount||0===this.pageCount},selectFirstPage:function(){this.selected<=1||this.handlePageSelected(1)},selectLastPage:function(){this.selected>=this.pageCount||this.handlePageSelected(this.pageCount)}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.noLiSurround?r("div",{class:e.containerClass},[e.firstLastButton?r("a",{class:[e.pageLinkClass,e.firstPageSelected()?e.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:e._s(e.firstButtonText)},on:{click:function(t){e.selectFirstPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.selectFirstPage():null}}}):e._e(),e._v(" "),e.firstPageSelected()&&e.hidePrevNext?e._e():r("a",{class:[e.prevLinkClass,e.firstPageSelected()?e.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:e._s(e.prevText)},on:{click:function(t){e.prevPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.prevPage():null}}}),e._v(" "),e._l(e.pages,(function(t){return[t.breakView?r("a",{class:[e.pageLinkClass,e.breakViewLinkClass,t.disabled?e.disabledClass:""],attrs:{tabindex:"0"}},[e._t("breakViewContent",[e._v(e._s(e.breakViewText))])],2):t.disabled?r("a",{class:[e.pageLinkClass,t.selected?e.activeClass:"",e.disabledClass],attrs:{tabindex:"0"}},[e._v(e._s(t.content))]):r("a",{class:[e.pageLinkClass,t.selected?e.activeClass:""],attrs:{tabindex:"0"},on:{click:function(r){e.handlePageSelected(t.index+1)},keyup:function(r){return"button"in r||!e._k(r.keyCode,"enter",13)?void e.handlePageSelected(t.index+1):null}}},[e._v(e._s(t.content))])]})),e._v(" "),e.lastPageSelected()&&e.hidePrevNext?e._e():r("a",{class:[e.nextLinkClass,e.lastPageSelected()?e.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:e._s(e.nextText)},on:{click:function(t){e.nextPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.nextPage():null}}}),e._v(" "),e.firstLastButton?r("a",{class:[e.pageLinkClass,e.lastPageSelected()?e.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:e._s(e.lastButtonText)},on:{click:function(t){e.selectLastPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.selectLastPage():null}}}):e._e()],2):r("ul",{class:e.containerClass},[e.firstLastButton?r("li",{class:[e.pageClass,e.firstPageSelected()?e.disabledClass:""]},[r("a",{class:e.pageLinkClass,attrs:{tabindex:e.firstPageSelected()?-1:0},domProps:{innerHTML:e._s(e.firstButtonText)},on:{click:function(t){e.selectFirstPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.selectFirstPage():null}}})]):e._e(),e._v(" "),e.firstPageSelected()&&e.hidePrevNext?e._e():r("li",{class:[e.prevClass,e.firstPageSelected()?e.disabledClass:""]},[r("a",{class:e.prevLinkClass,attrs:{tabindex:e.firstPageSelected()?-1:0},domProps:{innerHTML:e._s(e.prevText)},on:{click:function(t){e.prevPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.prevPage():null}}})]),e._v(" "),e._l(e.pages,(function(t){return r("li",{class:[e.pageClass,t.selected?e.activeClass:"",t.disabled?e.disabledClass:"",t.breakView?e.breakViewClass:""]},[t.breakView?r("a",{class:[e.pageLinkClass,e.breakViewLinkClass],attrs:{tabindex:"0"}},[e._t("breakViewContent",[e._v(e._s(e.breakViewText))])],2):t.disabled?r("a",{class:e.pageLinkClass,attrs:{tabindex:"0"}},[e._v(e._s(t.content))]):r("a",{class:e.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(r){e.handlePageSelected(t.index+1)},keyup:function(r){return"button"in r||!e._k(r.keyCode,"enter",13)?void e.handlePageSelected(t.index+1):null}}},[e._v(e._s(t.content))])])})),e._v(" "),e.lastPageSelected()&&e.hidePrevNext?e._e():r("li",{class:[e.nextClass,e.lastPageSelected()?e.disabledClass:""]},[r("a",{class:e.nextLinkClass,attrs:{tabindex:e.lastPageSelected()?-1:0},domProps:{innerHTML:e._s(e.nextText)},on:{click:function(t){e.nextPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.nextPage():null}}})]),e._v(" "),e.firstLastButton?r("li",{class:[e.pageClass,e.lastPageSelected()?e.disabledClass:""]},[r("a",{class:e.pageLinkClass,attrs:{tabindex:e.lastPageSelected()?-1:0},domProps:{innerHTML:e._s(e.lastButtonText)},on:{click:function(t){e.selectLastPage()},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.selectLastPage():null}}})]):e._e()],2)},staticRenderFns:[]}}])}))},8838:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,22C21.11,22 22,21.11 22,20V18H20V20H18V22H20M16,22V20H13V22H16M11,22V20H9V18H7V20C7,21.11 7.89,22 9,22H11M22,16V13H20V16H22M9,16C9,16 9,11.33 9,9C11.33,9 16,9 16,9C16,9 16,5 16,3C16,1.89 15.11,1 14,1H3C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16C5,16 9,16 9,16M7,14H3V3H14V7H9C7.89,7 7,7.89 7,9V14M22,11V9C22,7.89 21.11,7 20,7H18V9H20V11H22Z"}))};e.exports=s},"887c":function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("bb71"),a=r("d115"),s=r("83d1"),l=r("fc26"),u=l.strTranslate,c=r("0379"),f=r("3c1c"),p=r("63dc"),d=p.LINE_SPACING,h=p.FROM_TL,v=p.FROM_BR,m=r("b19b"),g=r("9d33");function y(e){for(var t=f.list(e,"x",!0),r=[],n=0;n<t.length;n++){var i=t[n];i.rangeselector&&i.rangeselector.visible&&r.push(i)}return r}function b(e){return e._id}function x(e,t,r){if("all"===t.step)return!0===e.autorange;var n=Object.keys(r);return e.range[0]===r[n[0]]&&e.range[1]===r[n[1]]}function A(e,t,r){var n=l.ensureSingle(e,"rect","selector-rect",(function(e){e.attr("shape-rendering","crispEdges")}));n.attr({rx:m.rx,ry:m.ry}),n.call(a.stroke,t.bordercolor).call(a.fill,w(t,r)).style("stroke-width",t.borderwidth+"px")}function w(e,t){return t._isActive||t._isHovered?e.activecolor:e.bgcolor}function _(e,t,r,n){function i(e){c.convertToTspans(e,n)}var o=l.ensureSingle(e,"text","selector-text",(function(e){e.attr("text-anchor","middle")}));o.call(s.font,t.font).text(E(r,n._fullLayout._meta)).call(i)}function E(e,t){return e.label?t?l.templateString(e.label,t):e.label:"all"===e.step?"all":e.count+e.step.charAt(0)}function k(e,t,r,i,a){var f=0,p=0,g=r.borderwidth;t.each((function(){var e=n.select(this),t=e.select(".selector-text"),i=r.font.size*d,o=Math.max(i*c.lineCount(t),16)+3;p=Math.max(p,o)})),t.each((function(){var e=n.select(this),t=e.select(".selector-rect"),i=e.select(".selector-text"),o=i.node()&&s.bBox(i.node()).width,a=r.font.size*d,l=c.lineCount(i),h=Math.max(o+10,m.minButtonWidth);e.attr("transform",u(g+f,g)),t.attr({x:0,y:0,width:h,height:p}),c.positionText(i,h/2,p/2-(l-1)*a/2+3),f+=h+5}));var y=e._fullLayout._size,b=y.l+y.w*r.x,x=y.t+y.h*(1-r.y),A="left";l.isRightAnchor(r)&&(b-=f,A="right"),l.isCenterAnchor(r)&&(b-=f/2,A="center");var w="top";l.isBottomAnchor(r)&&(x-=p,w="bottom"),l.isMiddleAnchor(r)&&(x-=p/2,w="middle"),f=Math.ceil(f),p=Math.ceil(p),b=Math.round(b),x=Math.round(x),o.autoMargin(e,i+"-range-selector",{x:r.x,y:r.y,l:f*h[A],r:f*v[A],b:p*v[w],t:p*h[w]}),a.attr("transform",u(b,x))}e.exports=function(e){var t=e._fullLayout,r=t._infolayer.selectAll(".rangeselector").data(y(e),b);r.enter().append("g").classed("rangeselector",!0),r.exit().remove(),r.style({cursor:"pointer","pointer-events":"all"}),r.each((function(t){var r=n.select(this),o=t,a=o.rangeselector,s=r.selectAll("g.button").data(l.filterVisible(a.buttons));s.enter().append("g").classed("button",!0),s.exit().remove(),s.each((function(t){var r=n.select(this),s=g(o,t);t._isActive=x(o,t,s),r.call(A,a,t),r.call(_,a,t,e),r.on("click",(function(){e._dragged||i.call("_guiRelayout",e,s)})),r.on("mouseover",(function(){t._isHovered=!0,r.call(A,a,t)})),r.on("mouseout",(function(){t._isHovered=!1,r.call(A,a,t)}))})),k(e,s,a,o._name,r)}))}},8898:function(e,t,r){"use strict";var n=r("c4c7").appendArrayMultiPointValues;e.exports=function(e,t){var r={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(r.pointNumber=r.i=e.pts[0]),n(r,t,e.pts),"funnelarea"===t.type&&(delete r.v,delete r.i),r}},"88dd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=x(i),a=r("d7bc"),s=x(a),l=r("b1db"),u=x(l),c=r("d8dc"),f=x(c),p=r("242f"),d=r("70d2"),h=b(d),v=r("db0b"),m=b(v),g=r("4ea5"),y=b(g);function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var E=function(e){function t(){var e,r,n,i;A(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return n=w(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r=n,n.renderDay=function(e){var t=n.props.month.getMonth(),r=m.getModifiersFromProps(n.props),i=h.getModifiersForDay(e,r);y.isSameDay(e,new Date)&&!Object.prototype.hasOwnProperty.call(r,n.props.classNames.today)&&i.push(n.props.classNames.today),e.getMonth()!==t&&i.push(n.props.classNames.outside);var a=e.getMonth()!==t,s=-1;n.props.onDayClick&&!a&&1===e.getDate()&&(s=n.props.tabIndex);var l=""+e.getFullYear()+e.getMonth()+e.getDate(),u={};return i.forEach((function(e){u[e]=!0})),o.default.createElement(f.default,{key:(a?"outside-":"")+l,classNames:n.props.classNames,day:e,modifiers:u,modifiersStyles:n.props.modifiersStyles,empty:a&&!n.props.showOutsideDays&&!n.props.fixedWeeks,tabIndex:s,ariaLabel:n.props.localeUtils.formatDay(e,n.props.locale),ariaDisabled:a||i.indexOf(n.props.classNames.disabled)>-1,ariaSelected:i.indexOf(n.props.classNames.selected)>-1,onClick:n.props.onDayClick,onFocus:n.props.onDayFocus,onKeyDown:n.props.onDayKeyDown,onMouseEnter:n.props.onDayMouseEnter,onMouseLeave:n.props.onDayMouseLeave,onMouseDown:n.props.onDayMouseDown,onMouseUp:n.props.onDayMouseUp,onTouchEnd:n.props.onDayTouchEnd,onTouchStart:n.props.onDayTouchStart},n.props.renderDay(e,u))},i=r,w(n,i)}return _(t,e),n(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.classNames,n=t.month,i=t.months,a=t.fixedWeeks,s=t.captionElement,l=t.weekdayElement,c=t.locale,f=t.localeUtils,d=t.weekdaysLong,h=t.weekdaysShort,v=t.firstDayOfWeek,g=t.onCaptionClick,b=t.showWeekNumbers,x=t.showWeekDays,A=t.onWeekClick,w={date:n,classNames:r,months:i,localeUtils:f,locale:c,onClick:g?function(e){return g(n,e)}:void 0},_=o.default.isValidElement(s)?o.default.cloneElement(s,w):o.default.createElement(s,w),E=m.getWeekArray(n,v,a);return o.default.createElement("div",{className:r.month,role:"grid"},_,x&&o.default.createElement(u.default,{classNames:r,weekdaysShort:h,weekdaysLong:d,firstDayOfWeek:v,showWeekNumbers:b,locale:c,localeUtils:f,weekdayElement:l}),o.default.createElement("div",{className:r.body,role:"rowgroup"},E.map((function(t){var i=void 0;return b&&(i=y.getWeekNumber(t[6])),o.default.createElement("div",{key:t[0].getTime(),className:r.week,role:"row"},b&&o.default.createElement("div",{className:r.weekNumber,tabIndex:A?0:-1,role:"gridcell",onClick:A?function(e){return A(i,t,e)}:void 0,onKeyUp:A?function(e){return e.keyCode===p.ENTER&&A(i,t,e)}:void 0},e.props.renderWeek(i,t,n)),t.map(e.renderDay))}))))}}]),t}(i.Component);E.propTypes={classNames:s.default.shape({body:s.default.string.isRequired,month:s.default.string.isRequired,outside:s.default.string.isRequired,today:s.default.string.isRequired,week:s.default.string.isRequired,weekNumber:s.default.string.isRequired,disabled:s.default.string.isRequired,selected:s.default.string.isRequired}).isRequired,tabIndex:s.default.number,month:s.default.instanceOf(Date).isRequired,months:s.default.arrayOf(s.default.string),modifiersStyles:s.default.object,showWeekDays:s.default.bool,showOutsideDays:s.default.bool,renderDay:s.default.func.isRequired,renderWeek:s.default.func.isRequired,captionElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(o.default.Component)]).isRequired,weekdayElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(o.default.Component)]),fixedWeeks:s.default.bool,showWeekNumbers:s.default.bool,locale:s.default.string.isRequired,localeUtils:s.default.object.isRequired,weekdaysLong:s.default.arrayOf(s.default.string),weekdaysShort:s.default.arrayOf(s.default.string),firstDayOfWeek:s.default.number.isRequired,onCaptionClick:s.default.func,onDayClick:s.default.func,onDayFocus:s.default.func,onDayKeyDown:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onDayMouseDown:s.default.func,onDayMouseUp:s.default.func,onDayTouchEnd:s.default.func,onDayTouchStart:s.default.func,onWeekClick:s.default.func},t.default=E},"88e7":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("5174")),o=s(r("ab5b"));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"render",value:function(){return o.default.createElement(i.default,this.props,o.default.createElement("div",{className:"js-test-info ".concat(this.props.className?this.props.className:"")},this.props.children))}}]),r}(o.Component);t.default=w,w.plotly_editor_traits={no_visibility_forcing:!0},w.propTypes=c({},i.default.propTypes)},"890d":function(e,t,r){"use strict";var n=r("0642").hoverLabelText,i=r("d115").opacity,o=r("ac97").hoverOnBars,a=r("b8ce"),s={increasing:a.INCREASING.SYMBOL,decreasing:a.DECREASING.SYMBOL};function l(e,t){var r=e[t.dir].marker,n=r.color,o=r.line.color,a=r.line.width;return i(n)?n:i(o)&&a?o:void 0}e.exports=function(e,t,r,i){var a=o(e,t,r,i);if(a){var u=a.cd,c=u[0].trace,f="h"===c.orientation,p=f?e.xa:e.ya,d=a.index,h=u[d],v=h.isSum?h.b+h.s:h.rawS;if(!h.isSum){a.initial=h.b+h.s-v,a.delta=v,a.final=a.initial+a.delta;var m=w(Math.abs(a.delta));a.deltaLabel=v<0?"("+m+")":m,a.finalLabel=w(a.final),a.initialLabel=w(a.initial)}var g=h.hi||c.hoverinfo,y=[];if(g&&"none"!==g&&"skip"!==g){var b="all"===g,x=g.split("+"),A=function(e){return b||-1!==x.indexOf(e)};h.isSum||(!A("final")||A(f?"x":"y")||y.push(a.finalLabel),A("delta")&&(v<0?y.push(a.deltaLabel+" "+s.decreasing):y.push(a.deltaLabel+" "+s.increasing)),A("initial")&&y.push("Initial: "+a.initialLabel))}return y.length&&(a.extraText=y.join("<br>")),a.color=l(c,h),[a]}function w(e){return n(p,e)}}},8925:function(e,t,r){var n=r("c6cd"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},"893b":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("9903")),o=f(r("e78b")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=(0,l.connectLayersToMapbox)(i.default),E=function(e){m(r,e);var t=y(r);function r(){return d(this,r),t.apply(this,arguments)}return v(r,[{key:"render",value:function(){var e=this.context,t=e.fullContainer.layers,r=void 0===t?[]:t,n=e.localize,i=e.layout,a=this.props.children,u=r.length&&r.map((function(e,t){return s.default.createElement(_,{key:t,mapboxLayerIndex:t,name:(0,l.getParsedTemplateString)(e.name,{meta:i}),canDelete:!0},a)})),c={label:n("Layer"),handler:function(e){var t=e.fullContainer,r=e.updateContainer;if(r){var n=Array.isArray(t.layers)?t.layers.length:0;r(p({},"layers[".concat(n,"]"),{name:"Layer ".concat(n),sourcetype:"raster",below:"traces"}))}}};return s.default.createElement(o.default,{addAction:c,canReorder:!0},u||null)}}]),r}(s.Component);E.contextTypes={fullContainer:a.default.object,localize:a.default.func,layout:a.default.object},E.propTypes={children:a.default.node},E.plotly_editor_traits={no_visibility_forcing:!0};var k=E;t.default=k},8966:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"}))};e.exports=s},"89ab":function(e,t,r){"use strict";e.exports={attributes:r("0dfe"),layoutAttributes:r("91ce"),supplyDefaults:r("e165").supplyDefaults,crossTraceDefaults:r("e165").crossTraceDefaults,supplyLayoutDefaults:r("2244"),calc:r("7fda"),crossTraceCalc:r("b539"),plot:r("36ea"),style:r("03d7").style,hoverPoints:r("890d"),eventData:r("5bec"),selectPoints:r("7000"),moduleType:"trace",name:"waterfall",basePlotModule:r("91cd"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{description:["Draws waterfall trace which is useful graph to displays the","contribution of various elements (either positive or negative)","in a bar chart. The data visualized by the span of the bars is","set in `y` if `orientation` is set th *v* (the default) and the","labels are set in `x`.","By setting `orientation` to *h*, the roles are interchanged."].join(" ")}}},"89ab6":function(e,t,r){"use strict";var n=r("4d6a");function i(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!n(t,e))return{left:0,right:0,top:0,bottom:0};var r=e.getBoundingClientRect();return{left:Math.round(r.left)-t.clientLeft,right:Math.round(r.right)-t.clientLeft,top:Math.round(r.top)-t.clientTop,bottom:Math.round(r.bottom)-t.clientTop}}e.exports=i},"89af":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M16 8l-3-3v2H9V3h2L8 0 5 3h2v4H3V4.999L0 8l2.977 3V9H7v4H5l3 3 3-3H9V9h4v2.001L16 8z"}))};t.default=u},"89e1":function(e,t,r){"use strict";e.exports={attributes:r("113d"),supplyDefaults:r("8af1"),colorbar:r("fcb3"),calc:r("d0ad"),plot:r("a9e41"),hoverPoints:r("038d"),eventData:r("a9eb"),selectPoints:r("ef6e"),styleOnSelect:function(e,t){if(t){var r=t[0].trace;r._glTrace.updateOnSelect(t)}},getBelow:function(e,t){for(var r=t.getMapLayers(),n=r.length-2;n>=0;n--){var i=r[n].id;if("string"===typeof i&&0===i.indexOf("water"))for(var o=n+1;o<r.length;o++)if(i=r[o].id,"string"===typeof i&&-1===i.indexOf("plotly-"))return i}},moduleType:"trace",name:"choroplethmapbox",basePlotModule:r("860b"),categories:["mapbox","gl","noOpacity","showLegend"],meta:{hr_name:"choropleth_mapbox",description:["GeoJSON features to be filled are set in `geojson`","The data that describes the choropleth value-to-color mapping","is set in `locations` and `z`."].join(" ")}}},"8a0e":function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar;var a=n.instance("gregorian");i(o.prototype,{name:"Nanakshahi",jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear);return a.leapYear(t.year()+(t.year()<1?1:0)+1469)},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(1-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidMonth);e=i.year();e<0&&e++;for(var o=i.day(),s=1;s<i.month();s++)o+=this.daysPerMonth[s-1];return o+a.toJD(e+1468,3,13)},fromJD:function(e){e=Math.floor(e+.5);var t=Math.floor((e-(this.jdEpoch-1))/366);while(e>=this.toJD(t+1,1,1))t++;var r=e-Math.floor(this.toJD(t,1,1)+.5)+1,n=1;while(r>this.daysInMonth(t,n))r-=this.daysInMonth(t,n),n++;return this.newDate(t,n,r)}}),n.calendars.nanakshahi=o},"8a16":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteAnnotation=i.deleteAnnotation.bind(y(i)),i.updateAnnotation=i.updateAnnotation.bind(y(i)),i.moveAnnotation=i.moveAnnotation.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.annotationIndex,n=t.container,i=t.fullContainer,o=n.annotations||[],a=i.annotations||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("annotations[].".concat(t)):null},updateContainer:this.updateAnnotation,deleteContainer:this.deleteAnnotation,container:this.container,fullContainer:this.fullContainer,moveContainer:this.moveAnnotation}}},{key:"updateAnnotation",value:function(e){var t={},r=this.props.annotationIndex;for(var n in e){var i="annotations[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteAnnotation",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_ANNOTATION,payload:{annotationIndex:this.props.annotationIndex}})}},{key:"moveAnnotation",value:function(e){if(this.context.onUpdate){var t=this.props.annotationIndex,r="up"===e?t-1:t+1;this.context.onUpdate({type:s.EDITOR_ACTIONS.MOVE_TO,payload:{fromIndex:t,toIndex:r,path:"layout.annotations"}})}}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="AnnotationConnected".concat((0,a.getDisplayName)(e)),t.propTypes={annotationIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func,moveContainer:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"8a2b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("d7bc"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var c=function(e){var t=e.children,r=e.width,i=e.height,a=e.style,s=void 0===a?{}:a,l=u(e,["children","width","height","style"]);return o.default.createElement("svg",n({children:t,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:i,width:r,style:s},l))};c.propTypes={children:s.default.node.isRequired,width:s.default.oneOfType([s.default.number,s.default.string]),height:s.default.oneOfType([s.default.number,s.default.string]),style:s.default.object},t.default=c},"8a43":function(e,t,r){"use strict";var n=r("19b2"),i=r("e806").BADNUM,o=r("0642"),a=r("09bd"),s=r("106b"),l=r("4136"),u=r("70b4").calcMarkerSize;e.exports=function(e,t){for(var r=e._fullLayout,c=t.subplot,f=r[c].radialaxis,p=r[c].angularaxis,d=f.makeCalcdata(t,"r"),h=p.makeCalcdata(t,"theta"),v=t._length,m=new Array(v),g=0;g<v;g++){var y=d[g],b=h[g],x=m[g]={};n(y)&&n(b)?(x.r=y,x.theta=b):x.r=i}var A=u(t,v);return t._extremes.x=o.findExtremes(f,d,{ppad:A}),a(e,t),s(m,t),l(m,t),m}},"8a50":function(e,t,r){"use strict";var n=r("e9bd"),i=r("692b"),o=r("6024"),a=r("09d9"),s=r("3473"),l=r("1c4a").iterator;e.exports=function(e){return"function"===typeof s(e)[l]?e[l]():n(e)?new o(e):i(e)?new a(e):new o(e)}},"8a55":function(e,t,r){"use strict";var n=r("bd8c"),i=r("24f7");function o(e,t,r){var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=t.getEndKey(),u=t.getEndOffset(),c=o.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===l})).toOrderedMap().merge(i.OrderedMap([[l,o.get(l)]])).map((function(e,t){var i=t===a?s:0,o=t===l?u:e.getLength();return n(e,i,o,r)}));return e.merge({blockMap:o.merge(c),selectionBefore:t,selectionAfter:t})}e.exports=o},"8a56":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{d:"M9 20c.68-.038 1.36-.062 2.04-.065l.51-.002c.118 0 .093-.003.106-.004h.023a.225.225 0 0 1 .096 0 3.276 3.276 0 0 0 .436-.003c.245-.1-.029.275 1.324-1.046l2.965-2.813 3.328-3.172a18.619 18.619 0 0 1 9.888-4.556q.907-.126 1.821-.16l1.384-.016c1.36.002 2.72-.006 4.08-.083v16c-1.36-.076-2.72-.085-4.08-.083l-.51-.002c-.115.003-.093.011-.146.011-.07.01-.14.022-.208.037a1.784 1.784 0 0 0-.385.161 1.838 1.838 0 0 0-.555.568c-.02.023-.029.058-.047.082l-.266.322-.647.791-1.296 1.581-2.587 3.164a21.69 21.69 0 0 1-1.732 1.97 18.844 18.844 0 0 1-2.987 2.418 18.143 18.143 0 0 1-7.18 2.76 15.55 15.55 0 0 1-1.935.19l-.89.017-.51-.002c-.68-.003-1.36-.027-2.04-.065z",fill:"#25fdfc"}),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M9 20v18M9 8v10M37 8v30",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M9 13.08h1.35a10 10 0 0 1 8.566 4.84l6.169 10.24A10 10 0 0 0 33.65 33H37",fill:"none",stroke:"#1d9bfb",opacity:".5",strokeMiterlimit:"10",strokeWidth:"10"}),o.default.createElement("path",{d:"M10 9.04h.002a14.77 14.77 0 0 1 12.37 6.698l7.444 11.408a4 4 0 0 0 3.35 1.814H36",fill:"none",stroke:"#1d9bfb",strokeMiterlimit:"10",strokeWidth:"2"}))};t.default=u},"8a5b":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7,21H9V19H7M11,21H13V19H11M19,15H9V5H19M19,3H9C7.89,3 7,3.89 7,5V15C7,16.1 7.9,17 9,17H14L18,17H19C20.1,17 21,16.1 21,15V5C21,3.89 20.1,3 19,3M15,21H17V19H15M3,9H5V7H3M5,21V19H3C3,20.1 3.9,21 5,21M3,17H5V15H3M3,13H5V11H3V13Z"}))};e.exports=s},"8a5d":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7C10.9,7 10,7.9 10,9H8C8,6.79 9.79,5 12,5C14.21,5 16,6.79 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.47 17.5,2 12,2Z"}))};e.exports=s},"8a6e":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("94d5").texttemplateAttrs,o=r("9092").extendFlat,a=r("107c"),s=r("a876"),l=a.line;e.exports={mode:a.mode,r:{valType:"data_array",editType:"calc+clearAxisTypes",description:"Sets the radial coordinates"},theta:{valType:"data_array",editType:"calc+clearAxisTypes",description:"Sets the angular coordinates"},r0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",description:["Alternate to `r`.","Builds a linear space of r coordinates.","Use with `dr`","where `r0` is the starting coordinate and `dr` the step."].join(" ")},dr:{valType:"number",dflt:1,role:"info",editType:"calc",description:"Sets the r coordinate step."},theta0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",description:["Alternate to `theta`.","Builds a linear space of theta coordinates.","Use with `dtheta`","where `theta0` is the starting coordinate and `dtheta` the step."].join(" ")},dtheta:{valType:"number",role:"info",editType:"calc",description:["Sets the theta coordinate step.","By default, the `dtheta` step equals the subplot's period divided","by the length of the `r` coordinates."].join(" ")},thetaunit:{valType:"enumerated",values:["radians","degrees","gradians"],dflt:"degrees",role:"info",editType:"calc+clearAxisTypes",description:["Sets the unit of input *theta* values.","Has an effect only when on *linear* angular axes."].join(" ")},text:a.text,texttemplate:i({editType:"plot"},{keys:["r","theta","text"]}),hovertext:a.hovertext,line:{color:l.color,width:l.width,dash:l.dash,shape:o({},l.shape,{values:["linear","spline"]}),smoothing:l.smoothing,editType:"calc"},connectgaps:a.connectgaps,marker:a.marker,cliponaxis:o({},a.cliponaxis,{dflt:!1}),textposition:a.textposition,textfont:a.textfont,fill:o({},a.fill,{values:["none","toself","tonext"],dflt:"none",description:["Sets the area to fill with a solid color.","Use with `fillcolor` if not *none*.","scatterpolar has a subset of the options available to scatter.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other."].join(" ")}),fillcolor:a.fillcolor,hoverinfo:o({},s.hoverinfo,{flags:["r","theta","text","name"]}),hoveron:a.hoveron,hovertemplate:n(),selected:a.selected,unselected:a.unselected}},"8a7d":function(e,t,r){"use strict";var n=r("0642"),i=r("fc26");function o(e,t,r){var i={type:"linear",range:[e,t]};return n.autoTicks(i,(t-e)/(r||15)),i}e.exports=function(e,t){var r=e.contours;if(e.autocontour){var a=e.zmin,s=e.zmax;(e.zauto||void 0===a)&&(a=i.aggNums(Math.min,null,t)),(e.zauto||void 0===s)&&(s=i.aggNums(Math.max,null,t));var l=o(a,s,e.ncontours);r.size=l.dtick,r.start=n.tickFirst(l),l.range.reverse(),r.end=n.tickFirst(l),r.start===a&&(r.start+=r.size),r.end===s&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),e._input.contours||(e._input.contours={}),i.extendFlat(e._input.contours,{start:r.start,end:r.end,size:r.size}),e._input.autocontour=!0}else if("constraint"!==r.type){var u,c=r.start,f=r.end,p=e._input.contours;if(c>f&&(r.start=p.start=f,f=r.end=p.end=c,c=r.start),!(r.size>0))u=c===f?1:o(c,f,e.ncontours).dtick,p.size=r.size=u}}},"8a9f":function(e,t,r){"use strict";var n=r("a5c4"),i=r("e806").BADNUM,o=r("feed"),a=r("fc26").fillText,s=r("56f3");function l(e,t,r,n){if(!e.hovertemplate){var i=t.hi||e.hoverinfo,o="all"===i?s.hoverinfo.flags:i.split("+"),l=-1!==o.indexOf("location")&&Array.isArray(e.locations),u=-1!==o.indexOf("lon"),c=-1!==o.indexOf("lat"),f=-1!==o.indexOf("text"),p=[];return l?p.push(t.loc):u&&c?p.push("("+d(r.lonLabel)+", "+d(r.latLabel)+")"):u?p.push(n.lon+d(r.lonLabel)):c&&p.push(n.lat+d(r.latLabel)),f&&a(t,e,p),p.join("<br>")}function d(e){return e+"°"}}e.exports=function(e,t,r){var a=e.cd,s=a[0].trace,u=e.xa,c=e.ya,f=e.subplot,p=f.projection.isLonLatOverEdges,d=f.project;function h(e){var n=e.lonlat;if(n[0]===i)return 1/0;if(p(n))return 1/0;var o=d(n),a=d([t,r]),s=Math.abs(o[0]-a[0]),l=Math.abs(o[1]-a[1]),u=Math.max(3,e.mrc||0);return Math.max(Math.sqrt(s*s+l*l)-u,1-3/u)}if(n.getClosest(a,h,e),!1!==e.index){var v=a[e.index],m=v.lonlat,g=[u.c2p(m),c.c2p(m)],y=v.mrc||1;e.x0=g[0]-y,e.x1=g[0]+y,e.y0=g[1]-y,e.y1=g[1]+y,e.loc=v.loc,e.lon=m[0],e.lat=m[1];var b={};b[s.geo]={_subplot:f};var x=s._module.formatLabels(v,s,b);return e.lonLabel=x.lonLabel,e.latLabel=x.latLabel,e.color=o(s,v),e.extraText=l(s,v,e,a[0].t.labels),e.hovertemplate=s.hovertemplate,[e]}}},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8ac3":function(e,t,r){"use strict";var n=r("0642");e.exports=function(e,t,r){var i={},o=r[t.subplot]._subplot;return i.aLabel=n.tickText(o.aaxis,e.a,!0).text,i.bLabel=n.tickText(o.baxis,e.b,!0).text,i.cLabel=n.tickText(o.caxis,e.c,!0).text,i}},"8adb":function(e,t){function r(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}e.exports=r},"8af1":function(e,t,r){"use strict";var n=r("fc26"),i=r("4183"),o=r("113d");e.exports=function(e,t,r,a){function s(r,i){return n.coerce(e,t,o,r,i)}var l=s("locations"),u=s("z"),c=s("geojson");if(n.isArrayOrTypedArray(l)&&l.length&&n.isArrayOrTypedArray(u)&&u.length&&("string"===typeof c&&""!==c||n.isPlainObject(c))){s("featureidkey"),t._length=Math.min(l.length,u.length),s("below"),s("text"),s("hovertext"),s("hovertemplate");var f=s("marker.line.width");f&&s("marker.line.color"),s("marker.opacity"),i(e,t,a,s,{prefix:"",cLetter:"z"}),n.coerceSelectionMarkerOpacity(t,s)}else t.visible=!1}},"8b0e":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("d7bc")),o=f(r("ab5b")),a=r("c85e"),s=p(r("37cc")),l=p(r("5174")),u=r("4578");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(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)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function A(e){var t=E();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var T=function(e){b(r,e);var t=A(r);function r(e,n){var i;return m(this,r),i=t.call(this,e,n),i.updatePlot=i.updatePlot.bind(_(i)),i}return y(r,[{key:"updatePlot",value:function(e){"symmetric"===e&&this.props.updatePlot(h(h({},this.props.fullValue),{},{visible:!0,symmetric:!0})),"asymmetric"===e&&this.props.updatePlot(h(h({},this.props.fullValue),{},{visible:!0,symmetric:!1})),"hidden"===e&&this.props.updatePlot(h(h({},this.props.fullValue),{},{visible:!1}))}},{key:"getMode",value:function(){var e;return this.props.fullValue.visible||(e="hidden"),this.props.fullValue.visible&&(this.props.fullValue.symmetric||"undefined"===typeof this.props.fullValue.symmetric)&&(e="symmetric"),this.props.fullValue.visible&&!1===this.props.fullValue.symmetric&&(e="asymmetric"),e}},{key:"renderModeSelector",value:function(){var e=this.context.localize;return o.default.createElement(l.default,null,o.default.createElement(s.default,{alignment:"center",onOptionChange:this.updatePlot,activeOption:this.getMode(),options:[{label:e("None"),value:"hidden"},{label:e("Symmetric"),value:"symmetric"},{label:e("Asymmetric"),value:"asymmetric"}]}))}},{key:"renderErrorBarControls",value:function(){var e=this.context.localize,t=this.getMode(),r="data"===this.props.fullValue.type,n=o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Radio,{label:e("Copy Y Style"),attr:"".concat(this.props.attr,".copy_ystyle"),options:[{label:e("Yes"),value:!0},{label:e("No"),value:!1}]}),o.default.createElement(a.Radio,{label:e("Copy Z Style"),attr:"".concat(this.props.attr,".copy_zstyle"),options:[{label:e("Yes"),value:!0},{label:e("No"),value:!1}]}),o.default.createElement(a.MultiColorPicker,{label:e("Color"),attr:"".concat(this.props.attr,".color")}),o.default.createElement(a.Numeric,{label:e("Thickness"),attr:"".concat(this.props.attr,".thickness")}),o.default.createElement(a.Numeric,{label:e("Crossbar Width"),attr:"".concat(this.props.attr,".width")}));return"symmetric"===t?o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Radio,{label:e("Error Type"),attr:"".concat(this.props.attr,".type"),options:[{label:e("%"),value:"percent"},{label:e("Constant"),value:"constant"},{label:e("√"),value:"sqrt"},{label:e("Data"),value:"data"}]}),o.default.createElement(a.Numeric,{label:e("Value"),attr:"".concat(this.props.attr,".value")}),r?o.default.createElement(a.DataSelector,{label:e("Custom Data"),attr:"".concat(this.props.attr,".array")}):null,n):"asymmetric"===t?o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Radio,{label:e("Error Type"),attr:"".concat(this.props.attr,".type"),options:[{label:e("%"),value:"percent"},{label:e("Constant"),value:"constant"},{label:e("Data"),value:"data"}]}),o.default.createElement(a.Numeric,{label:e("Value"),attr:"".concat(this.props.attr,".value")}),o.default.createElement(a.Numeric,{label:e("Value (-)"),attr:"".concat(this.props.attr,".valueminus")}),r?o.default.createElement(o.default.Fragment,null,o.default.createElement(a.DataSelector,{label:e("Error (+)"),attr:"".concat(this.props.attr,".array")}),o.default.createElement(a.DataSelector,{label:e("Error (-)"),attr:"".concat(this.props.attr,".arrayminus")})):null,n):null}},{key:"render",value:function(){return o.default.createElement(o.default.Fragment,null,this.renderModeSelector(),this.renderErrorBarControls())}}]),r}(o.Component);T.propTypes={attr:i.default.string,fullValue:i.default.object,updatePlot:i.default.func},T.contextTypes={localize:i.default.func};var C=(0,u.connectToContainer)(T);t.default=C},"8b1d":function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("bb71"),a=r("fc26"),s=a.strTranslate,l=r("83d1"),u=r("d115"),c=r("1999"),f=r("91cd"),p=r("3c1c"),d=r("4efe"),h=r("0f37"),v=r("22f9");function m(e,t,r,i){if(!t._context.staticPlot){var o=e.select("rect."+v.slideBoxClassName).node(),s=e.select("rect."+v.grabAreaMinClassName).node(),l=e.select("rect."+v.grabAreaMaxClassName).node();e.on("mousedown",u),e.on("touchstart",u)}function u(){var u=n.event,c=u.target,f=u.clientX||u.touches[0].clientX,p=f-e.node().getBoundingClientRect().left,v=i.d2p(r._rl[0]),m=i.d2p(r._rl[1]),y=d.coverSlip();function b(a){var u,d,b,x=a.clientX||a.touches[0].clientX,A=+x-f;switch(c){case o:b="ew-resize",u=v+A,d=m+A;break;case s:b="col-resize",u=v+A,d=m;break;case l:b="col-resize",u=v,d=m+A;break;default:b="ew-resize",u=p,d=p+A;break}if(d<u){var w=d;d=u,u=w}i._pixelMin=u,i._pixelMax=d,h(n.select(y),b),g(e,t,r,i)}function x(){y.removeEventListener("mousemove",b),y.removeEventListener("mouseup",x),this.removeEventListener("touchmove",b),this.removeEventListener("touchend",x),a.removeElement(y)}this.addEventListener("touchmove",b),this.addEventListener("touchend",x),y.addEventListener("mousemove",b),y.addEventListener("mouseup",x)}}function g(e,t,r,n){function o(e){return r.l2r(a.constrain(e,n._rl[0],n._rl[1]))}var s=o(n.p2d(n._pixelMin)),l=o(n.p2d(n._pixelMax));window.requestAnimationFrame((function(){i.call("_guiRelayout",t,r._name+".range",[s,l])}))}function y(e,t,r,n,i,o){var l=v.handleWidth/2;function u(e){return a.constrain(e,0,n._width)}function c(e){return a.constrain(e,0,n._height)}function f(e){return a.constrain(e,-l,n._width+l)}var p=u(n.d2p(r._rl[0])),d=u(n.d2p(r._rl[1]));if(e.select("rect."+v.slideBoxClassName).attr("x",p).attr("width",d-p),e.select("rect."+v.maskMinClassName).attr("width",p),e.select("rect."+v.maskMaxClassName).attr("x",d).attr("width",n._width-d),"match"!==o.rangemode){var h=n._height-c(n.d2pOppAxis(i._rl[1])),m=n._height-c(n.d2pOppAxis(i._rl[0]));e.select("rect."+v.maskMinOppAxisClassName).attr("x",p).attr("height",h).attr("width",d-p),e.select("rect."+v.maskMaxOppAxisClassName).attr("x",p).attr("y",m).attr("height",n._height-m).attr("width",d-p),e.select("rect."+v.slideBoxClassName).attr("y",h).attr("height",m-h)}var g=.5,y=Math.round(f(p-l))-g,b=Math.round(f(d-l))+g;e.select("g."+v.grabberMinClassName).attr("transform",s(y,g)),e.select("g."+v.grabberMaxClassName).attr("transform",s(b,g))}function b(e,t,r,n){var i=a.ensureSingle(e,"rect",v.bgClassName,(function(e){e.attr({x:0,y:0,"shape-rendering":"crispEdges"})})),o=n.borderwidth%2===0?n.borderwidth:n.borderwidth-1,u=-n._offsetShift,c=l.crispRound(t,n.borderwidth);i.attr({width:n._width+o,height:n._height+o,transform:s(u,u),fill:n.bgcolor,stroke:n.bordercolor,"stroke-width":c})}function x(e,t,r,n){var i=t._fullLayout,o=a.ensureSingleById(i._topdefs,"clipPath",n._clipId,(function(e){e.append("rect").attr({x:0,y:0})}));o.select("rect").attr({width:n._width,height:n._height})}function A(e,t,r,i){var s,u=t.calcdata,c=e.selectAll("g."+v.rangePlotClassName).data(r._subplotsWith,a.identity);c.enter().append("g").attr("class",(function(e){return v.rangePlotClassName+" "+e})).call(l.setClipUrl,i._clipId,t),c.order(),c.exit().remove(),c.each((function(e,a){var l=n.select(this),c=0===a,d=p.getFromId(t,e,"y"),h=d._name,v=i[h],m={data:[],layout:{xaxis:{type:r.type,domain:[0,1],range:i.range.slice(),calendar:r.calendar},width:i._width,height:i._height,margin:{t:0,b:0,l:0,r:0}},_context:t._context};r.rangebreaks&&(m.layout.xaxis.rangebreaks=r.rangebreaks),m.layout[h]={type:d.type,domain:[0,1],range:"match"!==v.rangemode?v.range.slice():d.range.slice(),calendar:d.calendar},d.rangebreaks&&(m.layout[h].rangebreaks=d.rangebreaks),o.supplyDefaults(m);var g=m._fullLayout.xaxis,y=m._fullLayout[h];g.clearCalc(),g.setScale(),y.clearCalc(),y.setScale();var b={id:e,plotgroup:l,xaxis:g,yaxis:y,isRangePlot:!0};c?s=b:(b.mainplot="xy",b.mainplotinfo=s),f.rangePlot(t,b,w(u,e))}))}function w(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=i[0].trace;o.xaxis+o.yaxis===t&&r.push(i)}return r}function _(e,t,r,n,i){var o=a.ensureSingle(e,"rect",v.maskMinClassName,(function(e){e.attr({x:0,y:0,"shape-rendering":"crispEdges"})}));o.attr("height",n._height).call(u.fill,v.maskColor);var s=a.ensureSingle(e,"rect",v.maskMaxClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})}));if(s.attr("height",n._height).call(u.fill,v.maskColor),"match"!==i.rangemode){var l=a.ensureSingle(e,"rect",v.maskMinOppAxisClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})}));l.attr("width",n._width).call(u.fill,v.maskOppAxisColor);var c=a.ensureSingle(e,"rect",v.maskMaxOppAxisClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})}));c.attr("width",n._width).style("border-top",v.maskOppBorder).call(u.fill,v.maskOppAxisColor)}}function E(e,t,r,n){if(!t._context.staticPlot){var i=a.ensureSingle(e,"rect",v.slideBoxClassName,(function(e){e.attr({y:0,cursor:v.slideBoxCursor,"shape-rendering":"crispEdges"})}));i.attr({height:n._height,fill:v.slideBoxFill})}}function k(e,t,r,n){var i=a.ensureSingle(e,"g",v.grabberMinClassName),o=a.ensureSingle(e,"g",v.grabberMaxClassName),s={x:0,width:v.handleWidth,rx:v.handleRadius,fill:u.background,stroke:u.defaultLine,"stroke-width":v.handleStrokeWidth,"shape-rendering":"crispEdges"},l={y:Math.round(n._height/4),height:Math.round(n._height/2)},c=a.ensureSingle(i,"rect",v.handleMinClassName,(function(e){e.attr(s)}));c.attr(l);var f=a.ensureSingle(o,"rect",v.handleMaxClassName,(function(e){e.attr(s)}));f.attr(l);var p={width:v.grabAreaWidth,x:0,y:0,fill:v.grabAreaFill,cursor:t._context.staticPlot?void 0:v.grabAreaCursor},d=a.ensureSingle(i,"rect",v.grabAreaMinClassName,(function(e){e.attr(p)}));d.attr("height",n._height);var h=a.ensureSingle(o,"rect",v.grabAreaMaxClassName,(function(e){e.attr(p)}));h.attr("height",n._height)}e.exports=function(e){for(var t=e._fullLayout,r=t._rangeSliderData,i=0;i<r.length;i++){var o=r[i][v.name];o._clipId=o._id+"-"+t._uid}function l(e){return e._name}var u=t._infolayer.selectAll("g."+v.containerClassName).data(r,l);u.exit().each((function(e){var r=e[v.name];t._topdefs.select("#"+r._clipId).remove()})).remove(),0!==r.length&&(u.enter().append("g").classed(v.containerClassName,!0).attr("pointer-events","all"),u.each((function(r){var i=n.select(this),o=r[v.name],l=t[p.id2name(r.anchor)],u=o[p.id2name(r.anchor)];if(o.range){var f,d=a.simpleMap(o.range,r.r2l),h=a.simpleMap(r.range,r.r2l);f=h[0]<h[1]?[Math.min(d[0],h[0]),Math.max(d[1],h[1])]:[Math.max(d[0],h[0]),Math.min(d[1],h[1])],o.range=o._input.range=a.simpleMap(f,r.l2r)}r.cleanRange("rangeslider.range");var g=t._size,w=r.domain;o._width=g.w*(w[1]-w[0]);var T=Math.round(g.l+g.w*w[0]),C=Math.round(g.t+g.h*(1-r._counterDomainMin)+("bottom"===r.side?r._depth:0)+o._offsetShift+v.extraPad);i.attr("transform",s(T,C)),o._rl=a.simpleMap(o.range,r.r2l);var S=o._rl[0],O=o._rl[1],M=O-S;if(o.p2d=function(e){return e/o._width*M+S},o.d2p=function(e){return(e-S)/M*o._width},r.rangebreaks){var P=r.locateBreaks(S,O);if(P.length){var B,L,D=0;for(B=0;B<P.length;B++)L=P[B],D+=L.max-L.min;var I=o._width/(O-S-D),j=[-I*S];for(B=0;B<P.length;B++)L=P[B],j.push(j[j.length-1]-I*(L.max-L.min));for(o.d2p=function(e){for(var t=j[0],r=0;r<P.length;r++){var n=P[r];if(e>=n.max)t=j[r+1];else if(e<n.min)break}return t+I*e},B=0;B<P.length;B++)L=P[B],L.pmin=o.d2p(L.min),L.pmax=o.d2p(L.max);o.p2d=function(e){for(var t=j[0],r=0;r<P.length;r++){var n=P[r];if(e>=n.pmax)t=j[r+1];else if(e<n.pmin)break}return(e-t)/I}}}if("match"!==u.rangemode){var R=l.r2l(u.range[0]),F=l.r2l(u.range[1]),N=F-R;o.d2pOppAxis=function(e){return(e-R)/N*o._height}}i.call(b,e,r,o).call(x,e,r,o).call(A,e,r,o).call(_,e,r,o,u).call(E,e,r,o).call(k,e,r,o),m(i,e,r,o),y(i,e,r,o,l,u),"bottom"===r.side&&c.draw(e,r._id+"title",{propContainer:r,propName:r._name+".title",placeholder:t._dfltTitle.x,attributes:{x:r._offset+r._length/2,y:C+o._height+o._offsetShift+10+1.5*r.title.font.size,"text-anchor":"middle"}})})))}},"8b21":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 18.2 13"},e),o.default.createElement("path",{class:"cls-1",d:"M5.61 13H2.12A2.12 2.12 0 0 1 0 10.88V3h5.61zM18.2 2.12A2.18 2.18 0 0 0 16 0H2.23A2.18 2.18 0 0 0 0 2.12zM6.47 3v10h9.61a2.12 2.12 0 0 0 2.12-2.12V3zM7.8 5.65a.45.45 0 0 1 .45-.45h5.34a.45.45 0 0 1 .45.45v.14a.45.45 0 0 1-.45.45H8.25a.45.45 0 0 1-.45-.45zM14 10a.45.45 0 0 1-.45.45h-5.3A.45.45 0 0 1 7.8 10v-.19a.45.45 0 0 1 .45-.45h5.34a.45.45 0 0 1 .45.45zm1.6-1.68H8.32a.52.52 0 0 1 0-1h7.28a.52.52 0 0 1 0 1z"}))};t.default=u},"8b23":function(e,t,r){var n=r("1b06"),i=r("bd31"),o=r("f197"),a=r("b1c9"),s=r("3f57"),l=p(),u=p(),c=p();function f(e,t,r,f){if(0===a(t)||0===a(r))return!1;var p=o(t,l.translate,l.scale,l.skew,l.perspective,l.quaternion),d=o(r,u.translate,u.scale,u.skew,u.perspective,u.quaternion);return!(!p||!d)&&(n(c.translate,l.translate,u.translate,f),n(c.skew,l.skew,u.skew,f),n(c.scale,l.scale,u.scale,f),n(c.perspective,l.perspective,u.perspective,f),s(c.quaternion,l.quaternion,u.quaternion,f),i(e,c.translate,c.scale,c.skew,c.perspective,c.quaternion),!0)}function p(){return{translate:d(),scale:d(1),skew:d(),perspective:h(),quaternion:h()}}function d(e){return[e||0,e||0,e||0]}function h(){return[0,0,0,1]}e.exports=f},"8b25":function(e,t,r){"use strict";e.exports=o;var n=r("fc26").distinctVals,i=r("e806").BADNUM;function o(e,t){this.traces=e,this.sepNegVal=t.sepNegVal,this.overlapNoMerge=t.overlapNoMerge;for(var r=1/0,o=[],a=0;a<e.length;a++){for(var s=e[a],l=0;l<s.length;l++){var u=s[l];u.p!==i&&o.push(u.p)}s[0]&&s[0].width1&&(r=Math.min(s[0].width1,r))}this.positions=o;var c=n(o,{unitMinDiff:t.unitMinDiff});this.distinctPositions=c.vals,1===c.vals.length&&r!==1/0?this.minDiff=r:this.minDiff=Math.min(c.minDiff,r),this.binWidth=this.minDiff,this.bins={}}o.prototype.put=function(e,t){var r=this.getLabel(e,t),n=this.bins[r]||0;return this.bins[r]=n+t,n},o.prototype.get=function(e,t){var r=this.getLabel(e,t);return this.bins[r]||0},o.prototype.getLabel=function(e,t){var r=t<0&&this.sepNegVal?"v":"^",n=this.overlapNoMerge?e:Math.round(e/this.binWidth);return r+n}},"8b47":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=x;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e){var t=function(t){d(n,t);var r=v(n);function n(e,t){var i;return c(this,n),i=r.call(this,e,t),i.updateUpdateMenu=i.updateUpdateMenu.bind(g(i)),i.setLocals(e,t),i}return p(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.updateMenuIndex,n=t.container,i=t.fullContainer,o=n.updatemenus||[],a=i.updatemenus||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("updatemenus[].".concat(t)):null},updateContainer:this.updateUpdateMenu,container:this.container,fullContainer:this.fullContainer}}},{key:"updateUpdateMenu",value:function(e){var t={},r=this.props.updateMenuIndex;for(var n in e){var i="updatemenus[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="UpdateMenuConnected".concat((0,a.getDisplayName)(e)),t.propTypes={updateMenuIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},"8b6c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{d:"M23 23l-10.725 8.999A14 14 0 0 0 37 23z",fill:"#1d9bfb"}),o.default.createElement("path",{d:"M23 23h14A14 14 0 0 0 25.431 9.213zm0 0H9a14 14 0 0 0 3.275 8.999zm0 0l2.431 13.787A14 14 0 0 0 32 33.725z",fill:"#25fdfc"}),o.default.createElement("path",{d:"M23 23l2.431-13.787A14 14 0 0 0 9 23z",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23",cy:"23",r:"6",fill:"#fff"}))};t.default=u},"8b79":function(e,t,r){"use strict";var n=r("0642"),i=r("9092").extendFlat;e.exports=function(e,t){var r,o,a,s,l,u=t._labels=[],c=t._gridlines;for(r=0;r<c.length;r++)l=c[r],-1!==["start","both"].indexOf(t.showticklabels)&&(o=n.tickText(t,l.value),i(o,{prefix:a,suffix:s,endAnchor:!0,xy:l.xy(0),dxy:l.dxy(0,0),axis:l.axis,length:l.crossAxis.length,font:l.axis.tickfont,isFirst:0===r,isLast:r===c.length-1}),u.push(o)),-1!==["end","both"].indexOf(t.showticklabels)&&(o=n.tickText(t,l.value),i(o,{endAnchor:!1,xy:l.xy(l.crossLength-1),dxy:l.dxy(l.crossLength-2,1),axis:l.axis,length:l.crossAxis.length,font:l.axis.tickfont,isFirst:0===r,isLast:r===c.length-1}),u.push(o))}},"8b85":function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r){var i;for(n(e)?e.length>t.length&&(e=e.slice(0,t.length)):e=[],i=0;i<t.length;i++)e[i]=r(t[i]);return e}},"8b98":function(e,t){var r={left:0,top:0};function n(e,t,r){t=t||e.currentTarget||e.srcElement,Array.isArray(r)||(r=[0,0]);var n=e.clientX||0,o=e.clientY||0,a=i(t);return r[0]=n-a.left,r[1]=o-a.top,r}function i(e){return e===window||e===document||e===document.body?r:e.getBoundingClientRect()}e.exports=n},"8ba9":function(e,t,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}},"8bb6":function(e,t){function r(e,t,r,n){var i=Math.tan(t.upDegrees*Math.PI/180),o=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),s=Math.tan(t.rightDegrees*Math.PI/180),l=2/(a+s),u=2/(i+o);return e[0]=l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-(a-s)*l*.5,e[9]=(i-o)*u*.5,e[10]=n/(r-n),e[11]=-1,e[12]=0,e[13]=0,e[14]=n*r/(r-n),e[15]=0,e}e.exports=r},"8bc8":function(e,t,r){"use strict";function n(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}n(),e.exports=r("ca5d")},"8bcf":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=m(r("a794")),o=m(r("d7bc")),a=v(r("ab5b")),s=r("4578"),l=r("d8ab"),u=r("e419"),c=m(r("19b2")),f=m(r("74d6")),p=r("3366"),d=r("4ded");function h(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.localize=function(e){return(0,s.localizeString)(i.props.dictionaries||{},i.props.locale,e)},i.props.plotly&&(i.plotSchema=i.props.plotly.PlotSchema.get()),i}return b(r,[{key:"getChildContext",value:function(){var e=this.props.graphDiv||{};return{advancedTraceTypeSelector:this.props.advancedTraceTypeSelector,config:e._context,srcConverters:this.props.srcConverters,data:e.data,dataSourceComponents:this.props.dataSourceComponents,dataSourceOptions:this.props.dataSourceOptions,dataSources:this.props.dataSources,dictionaries:this.props.dictionaries||{},localize:this.localize,frames:e._transitionData?e._transitionData._frames:[],fullData:e._fullData,fullLayout:e._fullLayout,graphDiv:e,layout:e.layout,locale:this.props.locale,onUpdate:this.handleUpdate.bind(this),plotSchema:this.plotSchema,plotly:this.props.plotly,traceTypesConfig:this.props.traceTypesConfig,showFieldTooltips:this.props.showFieldTooltips,glByDefault:this.props.glByDefault,mapBoxAccess:this.props.mapBoxAccess,fontOptions:this.props.fontOptions,chartHelp:this.props.chartHelp,customConfig:this.props.customConfig,hasValidCustomConfigVisibilityRules:(0,s.hasValidCustomConfigVisibilityRules)(this.props.customConfig)}}},{key:"handleUpdate",value:function(e){var t=e.type,r=e.payload,n=this.props.graphDiv;switch(t){case u.EDITOR_ACTIONS.UPDATE_TRACES:this.props.beforeUpdateTraces&&this.props.beforeUpdateTraces(r),(0,l.shamefullyAdjustSizeref)(n,r),(0,l.shamefullyAdjustAxisDirection)(n,r),(0,l.shamefullyClearAxisTypes)(n,r),(0,l.shamefullyAdjustAxisRef)(n,r),(0,l.shamefullyAddTableColumns)(n,r),(0,l.shamefullyAdjustSplitStyleTargetContainers)(n,r),this.props.mapBoxAccess||(0,l.shamefullyAdjustMapbox)(n,r);for(var i=0;i<r.traceIndexes.length;i++){var o=function(e){var t=r.traceIndexes[i],o=r.splitTraceGroup?r.splitTraceGroup.toString():null,a=[(0,f.default)(n.data[t],e)],s=r.update[e];o&&(a=(0,l.shamefullyCreateSplitStyleProps)(n,e,t,o)),a.forEach((function(e){void 0!==s&&e.set(s)}))};for(var a in r.update)o(a)}this.props.afterUpdateTraces&&this.props.afterUpdateTraces(r),this.props.onUpdate&&this.props.onUpdate(n.data.slice(),n.layout,n._transitionData._frames);break;case u.EDITOR_ACTIONS.UPDATE_LAYOUT:for(var p in(0,l.shamefullyAdjustGeo)(n,r),this.props.beforeUpdateLayout&&this.props.beforeUpdateLayout(r),r.update){var d=(0,f.default)(n.layout,p),h=r.update[p];void 0!==h&&d.set(h)}this.props.afterUpdateLayout&&this.props.afterUpdateLayout(r),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames);break;case u.EDITOR_ACTIONS.ADD_TRACE:if(this.props.beforeAddTrace&&this.props.beforeAddTrace(r),0===n.data.length)n.data.push(this.props.makeDefaultTrace?this.props.makeDefaultTrace():{type:"scatter".concat(this.props.glByDefault?"gl":""),mode:"markers"});else{var v=n.data[n.data.length-1],m=(0,s.plotlyTraceToCustomTrace)(v);n.data.push((0,s.traceTypeToPlotlyInitFigure)(m,v.type&&v.type.endsWith("gl")?"gl":""))}this.props.afterAddTrace&&this.props.afterAddTrace(r),this.props.onUpdate&&this.props.onUpdate(n.data.slice(),n.layout,n._transitionData._frames);break;case u.EDITOR_ACTIONS.DELETE_TRACE:r.traceIndexes&&r.traceIndexes.length&&(this.props.beforeDeleteTrace&&this.props.beforeDeleteTrace(r),(0,l.shamefullyAdjustAxisRef)(n,r),(0,l.shamefullyDeleteRelatedAnalysisTransforms)(n,r),n.data.splice(r.traceIndexes[0],1),this.props.afterDeleteTrace&&this.props.afterDeleteTrace(r),this.props.onUpdate&&this.props.onUpdate(n.data.slice(),n.layout,n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_ANNOTATION:(0,c.default)(r.annotationIndex)&&(this.props.beforeDeleteAnnotation&&this.props.beforeDeleteAnnotation(r),n.layout.annotations.splice(r.annotationIndex,1),this.props.afterDeleteAnnotation&&this.props.afterDeleteAnnotation(r),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_SHAPE:(0,c.default)(r.shapeIndex)&&(this.props.beforeDeleteShape&&this.props.beforeDeleteShape(r),n.layout.shapes.splice(r.shapeIndex,1),this.props.afterDeleteShape&&this.props.afterDeleteShape(r),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_IMAGE:(0,c.default)(r.imageIndex)&&(this.props.beforeDeleteImage&&this.props.beforeDeleteImage(r),n.layout.images.splice(r.imageIndex,1),this.props.afterDeleteImage&&this.props.afterDeleteImage(r),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_RANGESELECTOR:(0,c.default)(r.rangeselectorIndex)&&(n.layout[r.axisId].rangeselector.buttons.splice(r.rangeselectorIndex,1),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_MAPBOXLAYER:(0,c.default)(r.mapboxLayerIndex)&&(n.layout[r.mapboxId].layers.splice(r.mapboxLayerIndex,1),this.props.onUpdate&&this.props.onUpdate(n.data,Object.assign({},n.layout),n._transitionData._frames));break;case u.EDITOR_ACTIONS.DELETE_TRANSFORM:(0,c.default)(r.transformIndex)&&r.traceIndex<n.data.length&&(1===n.data[r.traceIndex].transforms.length?delete n.data[r.traceIndex].transforms:n.data[r.traceIndex].transforms.splice(r.transformIndex,1),this.props.onUpdate&&this.props.onUpdate(n.data.slice(),n.layout,n._transitionData._frames));break;case u.EDITOR_ACTIONS.MOVE_TO:if(r.path&&!isNaN(r.fromIndex)&&!isNaN(r.toIndex)){function g(e){var t=e[r.fromIndex],n=e[r.toIndex];e[r.toIndex]=t,e[r.fromIndex]=n}"data"===r.path&&g(n.data),"layout.images"===r.path&&g(n.layout.images),"layout.shapes"===r.path&&g(n.layout.shapes),"layout.annotations"===r.path&&g(n.layout.annotations),"layout.mapbox.layers"===r.path&&g(n.layout[r.mapboxId].layers);var y=r.path.startsWith("data")?n.data.slice():n.data,b=r.path.startsWith("layout")?Object.assign({},n.layout):n.layout;this.props.onUpdate&&this.props.onUpdate(y,b,n._transitionData._frames)}break;default:throw new Error(this.localize("must specify an action type to handleEditorUpdate"))}}},{key:"render",value:function(){return a.default.createElement("div",{className:(0,s.bem)("editor_controls")+" plotly-editor--theme-provider"+"".concat(this.props.className?" ".concat(this.props.className):"")},a.default.createElement(d.ModalProvider,null,this.props.graphDiv&&this.props.graphDiv._fullLayout&&(this.props.children?this.props.children:a.default.createElement(i.default,null))))}}]),r}(a.Component);C.propTypes={advancedTraceTypeSelector:o.default.bool,afterAddTrace:o.default.func,afterDeleteAnnotation:o.default.func,afterDeleteShape:o.default.func,afterDeleteImage:o.default.func,afterDeleteTrace:o.default.func,afterUpdateLayout:o.default.func,afterUpdateTraces:o.default.func,beforeAddTrace:o.default.func,beforeDeleteAnnotation:o.default.func,beforeDeleteShape:o.default.func,beforeDeleteImage:o.default.func,beforeDeleteTrace:o.default.func,beforeUpdateLayout:o.default.func,beforeUpdateTraces:o.default.func,children:o.default.node,className:o.default.string,srcConverters:o.default.shape({toSrc:o.default.func.isRequired,fromSrc:o.default.func.isRequired}),dataSourceComponents:o.default.object,dataSourceOptions:o.default.array,dataSources:o.default.object,dictionaries:o.default.object,graphDiv:o.default.object,locale:o.default.string,onUpdate:o.default.func,plotly:o.default.object,showFieldTooltips:o.default.bool,traceTypesConfig:o.default.object,makeDefaultTrace:o.default.func,glByDefault:o.default.bool,mapBoxAccess:o.default.bool,fontOptions:o.default.array,chartHelp:o.default.object,customConfig:o.default.object},C.defaultProps={showFieldTooltips:!1,locale:"en",traceTypesConfig:{categories:function(e){return(0,p.categoryLayout)(e)},traces:function(e){return(0,p.traceTypes)(e)},complex:!0},fontOptions:u.DEFAULT_FONTS},C.childContextTypes={advancedTraceTypeSelector:o.default.bool,config:o.default.object,srcConverters:o.default.shape({toSrc:o.default.func.isRequired,fromSrc:o.default.func.isRequired}),data:o.default.array,dataSourceComponents:o.default.object,dataSourceOptions:o.default.array,dataSources:o.default.object,dictionaries:o.default.object,frames:o.default.array,fullData:o.default.array,fullLayout:o.default.object,graphDiv:o.default.any,layout:o.default.object,locale:o.default.string,localize:o.default.func,onUpdate:o.default.func,plotly:o.default.object,plotSchema:o.default.object,traceTypesConfig:o.default.object,showFieldTooltips:o.default.bool,glByDefault:o.default.bool,mapBoxAccess:o.default.bool,fontOptions:o.default.array,chartHelp:o.default.object,customConfig:o.default.object,hasValidCustomConfigVisibilityRules:o.default.bool};var S=C;t.default=S},"8bd3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M24.5 4.438l-.063-.063h-.063c-2.375-1.75-5.25-2.75-8.375-2.75s-6 1-8.375 2.75h-.063l-.063.063c-3.563 2.625-5.875 6.813-5.875 11.563 0 1.563.25 3 .688 4.438 0 0 .063 0 .063.063a14.302 14.302 0 0 0 13.625 9.875c6.313 0 11.688-4.125 13.625-9.813v-.063c.5-1.438.75-2.938.75-4.5 0-4.75-2.313-8.938-5.875-11.563zM16 4.25c2.125 0 4.063.563 5.813 1.5l-2.125 2.875C18.625 8.062 17.313 7.75 16 7.75a8.291 8.291 0 0 0-3.75.875L10.187 5.75c1.75-.938 3.688-1.5 5.813-1.5zm2.125 11.063l2.125-3c.875 1 1.438 2.25 1.438 3.688 0 .188-.063.313-.063.438zm2.688 3.625c-.813 1.25-2 2.188-3.5 2.563v-3.688zm-6.938-3.625l-3.5 1.125c0-.125-.063-.25-.063-.438 0-1.438.563-2.688 1.375-3.688zM4.25 16c0-3.25 1.313-6.188 3.438-8.313l.375-.375 2.063 2.813c-1.5 1.5-2.375 3.625-2.375 5.875 0 .438.063.875.125 1.25l-3.375 1.125c-.188-.75-.25-1.563-.25-2.375zm10.438 11.688a11.779 11.779 0 0 1-7-3.375c-1-1-1.813-2.188-2.375-3.438l3.375-1.125c1.125 2.313 3.375 3.938 6 4.375v3.563zm0-6.188a5.673 5.673 0 0 1-3.5-2.563l3.5-1.125zm-.875-10.75c.688-.25 1.375-.438 2.188-.438.75 0 1.5.188 2.188.438l-2.188 3zm10.5 13.563c-1.875 1.813-4.313 3.063-7 3.375v-3.563a8.226 8.226 0 0 0 6-4.375l3.375 1.125a11.696 11.696 0 0 1-2.375 3.438zm3.187-5.938l-3.375-1.125c.063-.375.125-.813.125-1.25 0-2.25-.875-4.375-2.375-5.875l2-2.813c.188.125.313.25.438.375A11.715 11.715 0 0 1 27.751 16c0 .813-.063 1.625-.25 2.375z"}))};t.default=u},"8bd8":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("56f3"),o=r("f4e9"),a=r("a876"),s=r("dfb3").defaultLine,l=r("9092").extendFlat,u=i.marker.line;e.exports=l({locations:{valType:"data_array",editType:"calc",description:["Sets the coordinates via location IDs or names.","See `locationmode` for more info."].join(" ")},locationmode:i.locationmode,z:{valType:"data_array",editType:"calc",description:"Sets the color values."},geojson:l({},i.geojson,{description:["Sets optional GeoJSON data associated with this trace.","If not given, the features on the base map are used.","It can be set as a valid GeoJSON object or as a URL string.","Note that we only accept GeoJSONs of type *FeatureCollection* or *Feature*","with geometries of type *Polygon* or *MultiPolygon*."].join(" ")}),featureidkey:i.featureidkey,text:l({},i.text,{description:"Sets the text elements associated with each location."}),hovertext:l({},i.hovertext,{description:"Same as `text`."}),marker:{line:{color:l({},u.color,{dflt:s}),width:l({},u.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,role:"style",editType:"style",description:"Sets the opacity of the locations."},editType:"calc"},selected:{marker:{opacity:i.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:i.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:l({},a.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:n(),showlegend:l({},a.showlegend,{dflt:!1})},o("",{cLetter:"z",editTypeOverride:"calc"}))},"8be6":function(e,t){function r(e){var t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}e.exports=r},"8c16":function(e,t,r){"use strict";var n=r("000f"),i=r("f6e7"),o=r("26a7"),a=r("551a"),s=r("2357"),l=r("fc26"),u=r("f977"),c=r("765f").formatColor,f=r("1978"),p=r("089c"),d=r("014c"),h=r("0642"),v=r("c4c7").appendArrayPointValue,m=r("e38e");function g(e,t){this.scene=e,this.uid=t,this.linePlot=null,this.scatterPlot=null,this.errorBars=null,this.textMarkers=null,this.delaunayMesh=null,this.color=null,this.mode="",this.dataPoints=[],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.textLabels=null,this.data=null}var y=g.prototype;function b(e,t,r){var n,i=(r+1)%3,o=(r+2)%3,a=[],l=[];for(n=0;n<e.length;++n){var u=e[n];!isNaN(u[i])&&isFinite(u[i])&&!isNaN(u[o])&&isFinite(u[o])&&(a.push([u[i],u[o]]),l.push(n))}var c=s(a);for(n=0;n<c.length;++n)for(var f=c[n],p=0;p<f.length;++p)f[p]=l[f[p]];return{positions:e,cells:c,meshColor:t}}function x(e){for(var t=[0,0,0],r=[[0,0,0],[0,0,0],[0,0,0]],n=[1,1,1],i=0;i<3;i++){var o=e[i];o&&!1!==o.copy_zstyle&&!1!==e[2].visible&&(o=e[2]),o&&o.visible&&(t[i]=o.width/2,r[i]=u(o.color),n[i]=o.thickness)}return{capSize:t,color:r,lineWidth:n}}function A(e){return null===e||void 0===e?0:e.indexOf("left")>-1?-1:e.indexOf("right")>-1?1:0}function w(e){return null===e||void 0===e?0:e.indexOf("top")>-1?-1:e.indexOf("bottom")>-1?1:0}function _(e){var t=0,r=0,n=[t,r];if(Array.isArray(e))for(var i=0;i<e.length;i++)n[i]=[t,r],e[i]&&(n[i][0]=A(e[i]),n[i][1]=w(e[i]));else n[0]=A(e),n[1]=w(e);return n}function E(e,t){return t(4*e)}function k(e){return d[e]}function T(e,t,r,n,i){var o=null;if(l.isArrayOrTypedArray(e)){o=[];for(var a=0;a<t;a++)void 0===e[a]?o[a]=n:o[a]=r(e[a],i)}else o=r(e,l.identity);return o}function C(e,t){var r,n,i,o,a,s,p=[],d=e.fullSceneLayout,g=e.dataScale,y=d.xaxis,b=d.yaxis,A=d.zaxis,w=t.marker,C=t.line,S=t.x||[],O=t.y||[],M=t.z||[],P=S.length,B=t.xcalendar,L=t.ycalendar,D=t.zcalendar;for(a=0;a<P;a++)r=y.d2l(S[a],0,B)*g[0],n=b.d2l(O[a],0,L)*g[1],i=A.d2l(M[a],0,D)*g[2],p[a]=[r,n,i];if(Array.isArray(t.text))s=t.text;else if(void 0!==t.text)for(s=new Array(P),a=0;a<P;a++)s[a]=t.text;function I(e,t){var r=d[e];return h.tickText(r,r.d2l(t),!0).text}var j=t.texttemplate;if(j){var R=e.fullLayout,F=R._d3locale,N=Array.isArray(j),z=N?Math.min(j.length,P):P,U=N?function(e){return j[e]}:function(){return j};for(s=new Array(z),a=0;a<z;a++){var H={x:S[a],y:O[a],z:M[a]},V={xLabel:I("xaxis",S[a]),yLabel:I("yaxis",O[a]),zLabel:I("zaxis",M[a])},Q={};v(Q,t,a);var W=t._meta||{};s[a]=l.texttemplateString(U(a),V,F,Q,H,W)}}if(o={position:p,mode:t.mode,text:s},"line"in t&&(o.lineColor=c(C,1,P),o.lineWidth=C.width,o.lineDashes=C.dash),"marker"in t){var K=f(t);o.scatterColor=c(w,1,P),o.scatterSize=T(w.size,P,E,20,K),o.scatterMarker=T(w.symbol,P,k,"●"),o.scatterLineWidth=w.line.width,o.scatterLineColor=c(w.line,1,P),o.scatterAngle=0}"textposition"in t&&(o.textOffset=_(t.textposition),o.textColor=c(t.textfont,1,P),o.textSize=T(t.textfont.size,P,l.identity,12),o.textFont=t.textfont.family,o.textAngle=0);var q=["x","y","z"];for(o.project=[!1,!1,!1],o.projectScale=[1,1,1],o.projectOpacity=[1,1,1],a=0;a<3;++a){var G=t.projection[q[a]];(o.project[a]=G.show)&&(o.projectOpacity[a]=G.opacity,o.projectScale[a]=G.scale)}o.errorBounds=m(t,g,d);var $=x([t.error_x,t.error_y,t.error_z]);return o.errorColor=$.color,o.errorLineWidth=$.lineWidth,o.errorCapSize=$.capSize,o.delaunayAxis=t.surfaceaxis,o.delaunayColor=u(t.surfacecolor),o}function S(e){if(l.isArrayOrTypedArray(e)){var t=e[0];return l.isArrayOrTypedArray(t)&&(e=t),"rgb("+e.slice(0,3).map((function(e){return Math.round(255*e)}))+")"}return null}function O(e){return l.isArrayOrTypedArray(e)?4===e.length&&"number"===typeof e[0]?S(e):e.map(S):null}function M(e,t){var r=new g(e,t.uid);return r.update(t),r}y.handlePick=function(e){if(e.object&&(e.object===this.linePlot||e.object===this.delaunayMesh||e.object===this.textMarkers||e.object===this.scatterPlot)){var t=e.index=e.data.index;return e.object.highlight&&e.object.highlight(null),this.scatterPlot&&(e.object=this.scatterPlot,this.scatterPlot.highlight(e.data)),e.textLabel="",this.textLabels&&(Array.isArray(this.textLabels)?(this.textLabels[t]||0===this.textLabels[t])&&(e.textLabel=this.textLabels[t]):e.textLabel=this.textLabels),e.traceCoordinate=[this.data.x[t],this.data.y[t],this.data.z[t]],!0}},y.update=function(e){var t,r,s,l,u=this.scene.glplot.gl,c=p.solid;this.data=e;var f=C(this.scene,e);"mode"in f&&(this.mode=f.mode),"lineDashes"in f&&f.lineDashes in p&&(c=p[f.lineDashes]),this.color=O(f.scatterColor)||O(f.lineColor),this.dataPoints=f.position,t={gl:this.scene.glplot.gl,position:f.position,color:f.lineColor,lineWidth:f.lineWidth||1,dashes:c[0],dashScale:c[1],opacity:e.opacity,connectGaps:e.connectgaps},-1!==this.mode.indexOf("lines")?this.linePlot?this.linePlot.update(t):(this.linePlot=n(t),this.linePlot._trace=this,this.scene.glplot.add(this.linePlot)):this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose(),this.linePlot=null);var d=e.opacity;if(e.marker&&e.marker.opacity&&(d*=e.marker.opacity),r={gl:this.scene.glplot.gl,position:f.position,color:f.scatterColor,size:f.scatterSize,glyph:f.scatterMarker,opacity:d,orthographic:!0,lineWidth:f.scatterLineWidth,lineColor:f.scatterLineColor,project:f.project,projectScale:f.projectScale,projectOpacity:f.projectOpacity},-1!==this.mode.indexOf("markers")?this.scatterPlot?this.scatterPlot.update(r):(this.scatterPlot=i(r),this.scatterPlot._trace=this,this.scatterPlot.highlightScale=1,this.scene.glplot.add(this.scatterPlot)):this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose(),this.scatterPlot=null),l={gl:this.scene.glplot.gl,position:f.position,glyph:f.text,color:f.textColor,size:f.textSize,angle:f.textAngle,alignment:f.textOffset,font:f.textFont,orthographic:!0,lineWidth:0,project:!1,opacity:e.opacity},this.textLabels=e.hovertext||e.text,-1!==this.mode.indexOf("text")?this.textMarkers?this.textMarkers.update(l):(this.textMarkers=i(l),this.textMarkers._trace=this,this.textMarkers.highlightScale=1,this.scene.glplot.add(this.textMarkers)):this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose(),this.textMarkers=null),s={gl:this.scene.glplot.gl,position:f.position,color:f.errorColor,error:f.errorBounds,lineWidth:f.errorLineWidth,capSize:f.errorCapSize,opacity:e.opacity},this.errorBars?f.errorBounds?this.errorBars.update(s):(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose(),this.errorBars=null):f.errorBounds&&(this.errorBars=o(s),this.errorBars._trace=this,this.scene.glplot.add(this.errorBars)),f.delaunayAxis>=0){var h=b(f.position,f.delaunayColor,f.delaunayAxis);h.opacity=e.opacity,this.delaunayMesh?this.delaunayMesh.update(h):(h.gl=u,this.delaunayMesh=a(h),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},y.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())},e.exports=M},"8c2d":function(e,t,r){"use strict";e.exports={visible:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not this set of error bars is visible."].join(" ")},type:{valType:"enumerated",values:["percent","constant","sqrt","data"],role:"info",editType:"calc",description:["Determines the rule used to generate the error bars.","If *constant`, the bar lengths are of a constant value.","Set this constant in `value`.","If *percent*, the bar lengths correspond to a percentage of","underlying data. Set this percentage in `value`.","If *sqrt*, the bar lengths correspond to the square of the","underlying data.","If *data*, the bar lengths are set with data set `array`."].join(" ")},symmetric:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not the error bars have the same length","in both direction","(top/bottom for vertical bars, left/right for horizontal bars."].join(" ")},array:{valType:"data_array",editType:"calc",description:["Sets the data corresponding the length of each error bar.","Values are plotted relative to the underlying data."].join(" ")},arrayminus:{valType:"data_array",editType:"calc",description:["Sets the data corresponding the length of each error bar in the","bottom (left) direction for vertical (horizontal) bars","Values are plotted relative to the underlying data."].join(" ")},value:{valType:"number",min:0,dflt:10,role:"info",editType:"calc",description:["Sets the value of either the percentage","(if `type` is set to *percent*) or the constant","(if `type` is set to *constant*) corresponding to the lengths of","the error bars."].join(" ")},valueminus:{valType:"number",min:0,dflt:10,role:"info",editType:"calc",description:["Sets the value of either the percentage","(if `type` is set to *percent*) or the constant","(if `type` is set to *constant*) corresponding to the lengths of","the error bars in the","bottom (left) direction for vertical (horizontal) bars"].join(" ")},traceref:{valType:"integer",min:0,dflt:0,role:"info",editType:"style"},tracerefminus:{valType:"integer",min:0,dflt:0,role:"info",editType:"style"},copy_ystyle:{valType:"boolean",role:"style",editType:"plot"},copy_zstyle:{valType:"boolean",role:"style",editType:"style"},color:{valType:"color",role:"style",editType:"style",description:"Sets the stoke color of the error bars."},thickness:{valType:"number",min:0,dflt:2,role:"style",editType:"style",description:"Sets the thickness (in px) of the error bars."},width:{valType:"number",min:0,role:"style",editType:"plot",description:["Sets the width (in px) of the cross-bar at both ends","of the error bars."].join(" ")},editType:"calc",_deprecated:{opacity:{valType:"number",role:"style",editType:"style",description:["Obsolete.","Use the alpha channel in error bar `color` to set the opacity."].join(" ")}}}},"8c4f":function(e,t,r){"use strict";
|
||
/*!
|
||
* vue-router v3.3.4
|
||
* (c) 2020 Evan You
|
||
* @license MIT
|
||
*/function n(e,t){0}function i(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function o(e,t){return i(e)&&e._isRouter&&(null==t||e.type===t)}function a(e,t){for(var r in t)e[r]=t[r];return e}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var r=t.props,n=t.children,i=t.parent,o=t.data;o.routerView=!0;var s=i.$createElement,u=r.name,c=i.$route,f=i._routerViewCache||(i._routerViewCache={}),p=0,d=!1;while(i&&i._routerRoot!==i){var h=i.$vnode?i.$vnode.data:{};h.routerView&&p++,h.keepAlive&&i._directInactive&&i._inactive&&(d=!0),i=i.$parent}if(o.routerViewDepth=p,d){var v=f[u],m=v&&v.component;return m?(v.configProps&&l(m,o,v.route,v.configProps),s(m,o,n)):s()}var g=c.matched[p],y=g&&g.components[u];if(!g||!y)return f[u]=null,s();f[u]={component:y},o.registerRouteInstance=function(e,t){var r=g.instances[u];(t&&r!==e||!t&&r===e)&&(g.instances[u]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){g.instances[u]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==g.instances[u]&&(g.instances[u]=e.componentInstance)};var b=g.props&&g.props[u];return b&&(a(f[u],{route:c,configProps:b}),l(y,o,c,b)),s(y,o,n)}};function l(e,t,r,n){var i=t.props=u(r,n);if(i){i=t.props=a({},i);var o=t.attrs=t.attrs||{};for(var s in i)e.props&&s in e.props||(o[s]=i[s],delete i[s])}}function u(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}var c=/[!'()*]/g,f=function(e){return"%"+e.charCodeAt(0).toString(16)},p=/%2C/g,d=function(e){return encodeURIComponent(e).replace(c,f).replace(p,",")},h=decodeURIComponent;function v(e,t,r){void 0===t&&(t={});var n,i=r||m;try{n=i(e||"")}catch(a){n={}}for(var o in t)n[o]=t[o];return n}function m(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var r=e.replace(/\+/g," ").split("="),n=h(r.shift()),i=r.length>0?h(r.join("=")):null;void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]})),t):t}function g(e){var t=e?Object.keys(e).map((function(t){var r=e[t];if(void 0===r)return"";if(null===r)return d(t);if(Array.isArray(r)){var n=[];return r.forEach((function(e){void 0!==e&&(null===e?n.push(d(t)):n.push(d(t)+"="+d(e)))})),n.join("&")}return d(t)+"="+d(r)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var y=/\/?$/;function b(e,t,r,n){var i=n&&n.options.stringifyQuery,o=t.query||{};try{o=x(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:_(t,i),matched:e?w(e):[]};return r&&(a.redirectedFrom=_(r,i)),Object.freeze(a)}function x(e){if(Array.isArray(e))return e.map(x);if(e&&"object"===typeof e){var t={};for(var r in e)t[r]=x(e[r]);return t}return e}var A=b(null,{path:"/"});function w(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function _(e,t){var r=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;void 0===i&&(i="");var o=t||g;return(r||"/")+o(n)+i}function E(e,t){return t===A?e===t:!!t&&(e.path&&t.path?e.path.replace(y,"")===t.path.replace(y,"")&&e.hash===t.hash&&k(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&k(e.query,t.query)&&k(e.params,t.params)))}function k(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every((function(r){var n=e[r],i=t[r];return"object"===typeof n&&"object"===typeof i?k(n,i):String(n)===String(i)}))}function T(e,t){return 0===e.path.replace(y,"/").indexOf(t.path.replace(y,"/"))&&(!t.hash||e.hash===t.hash)&&C(e.query,t.query)}function C(e,t){for(var r in t)if(!(r in e))return!1;return!0}function S(e,t,r){var n=e.charAt(0);if("/"===n)return e;if("?"===n||"#"===n)return t+e;var i=t.split("/");r&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function O(e){var t="",r="",n=e.indexOf("#");n>=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),{path:e,query:r,hash:t}}function M(e){return e.replace(/\/\//g,"/")}var P=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},B=X,L=F,D=N,I=H,j=Y,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function F(e,t){var r,n=[],i=0,o=0,a="",s=t&&t.delimiter||"/";while(null!=(r=R.exec(e))){var l=r[0],u=r[1],c=r.index;if(a+=e.slice(o,c),o=c+l.length,u)a+=u[1];else{var f=e[o],p=r[2],d=r[3],h=r[4],v=r[5],m=r[6],g=r[7];a&&(n.push(a),a="");var y=null!=p&&null!=f&&f!==p,b="+"===m||"*"===m,x="?"===m||"*"===m,A=r[2]||s,w=h||v;n.push({name:d||i++,prefix:p||"",delimiter:A,optional:x,repeat:b,partial:y,asterisk:!!g,pattern:w?Q(w):g?".*":"[^"+V(A)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&n.push(a),n}function N(e,t){return H(F(e,t),t)}function z(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function U(e){return encodeURI(e).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function H(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)"object"===typeof e[n]&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",K(t)));return function(t,n){for(var i="",o=t||{},a=n||{},s=a.pretty?z:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!==typeof u){var c,f=o[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(P(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(c=s(f[p]),!r[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===p?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?U(f):s(f),!r[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');i+=u.prefix+c}}else i+=u}return i}}function V(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Q(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function W(e,t){return e.keys=t,e}function K(e){return e&&e.sensitive?"":"i"}function q(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return W(e,t)}function G(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(X(e[i],t,r).source);var o=new RegExp("(?:"+n.join("|")+")",K(r));return W(o,t)}function $(e,t,r){return Y(F(e,r),t,r)}function Y(e,t,r){P(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=!1!==r.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"===typeof s)o+=V(s);else{var l=V(s.prefix),u="(?:"+s.pattern+")";t.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=V(r.delimiter||"/"),f=o.slice(-c.length)===c;return n||(o=(f?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":n&&f?"":"(?="+c+"|$)",W(new RegExp("^"+o,K(r)),t)}function X(e,t,r){return P(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?q(e,t):P(e)?G(e,t,r):$(e,t,r)}B.parse=L,B.compile=D,B.tokensToFunction=I,B.tokensToRegExp=j;var Z=Object.create(null);function J(e,t,r){t=t||{};try{var n=Z[e]||(Z[e]=B.compile(e));return"string"===typeof t.pathMatch&&(t[0]=t.pathMatch),n(t,{pretty:!0})}catch(i){return""}finally{delete t[0]}}function ee(e,t,r,n){var i="string"===typeof e?{path:e}:e;if(i._normalized)return i;if(i.name){i=a({},e);var o=i.params;return o&&"object"===typeof o&&(i.params=a({},o)),i}if(!i.path&&i.params&&t){i=a({},i),i._normalized=!0;var s=a(a({},t.params),i.params);if(t.name)i.name=t.name,i.params=s;else if(t.matched.length){var l=t.matched[t.matched.length-1].path;i.path=J(l,s,"path "+t.path)}else 0;return i}var u=O(i.path||""),c=t&&t.path||"/",f=u.path?S(u.path,c,r||i.append):c,p=v(u.query,i.query,n&&n.options.parseQuery),d=i.hash||u.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:f,query:p,hash:d}}var te,re=[String,Object],ne=[String,Array],ie=function(){},oe={name:"RouterLink",props:{to:{type:re,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:ne,default:"click"}},render:function(e){var t=this,r=this.$router,n=this.$route,i=r.resolve(this.to,n,this.append),o=i.location,s=i.route,l=i.href,u={},c=r.options.linkActiveClass,f=r.options.linkExactActiveClass,p=null==c?"router-link-active":c,d=null==f?"router-link-exact-active":f,h=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,m=s.redirectedFrom?b(null,ee(s.redirectedFrom),null,r):s;u[v]=E(n,m),u[h]=this.exact?u[v]:T(n,m);var g=u[v]?this.ariaCurrentValue:null,y=function(e){ae(e)&&(t.replace?r.replace(o,ie):r.push(o,ie))},x={click:ae};Array.isArray(this.event)?this.event.forEach((function(e){x[e]=y})):x[this.event]=y;var A={class:u},w=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:y,isActive:u[h],isExactActive:u[v]});if(w){if(1===w.length)return w[0];if(w.length>1||!w.length)return 0===w.length?e():e("span",{},w)}if("a"===this.tag)A.on=x,A.attrs={href:l,"aria-current":g};else{var _=se(this.$slots.default);if(_){_.isStatic=!1;var k=_.data=a({},_.data);for(var C in k.on=k.on||{},k.on){var S=k.on[C];C in x&&(k.on[C]=Array.isArray(S)?S:[S])}for(var O in x)O in k.on?k.on[O].push(x[O]):k.on[O]=y;var M=_.data.attrs=a({},_.data.attrs);M.href=l,M["aria-current"]=g}else A.on=x}return e(this.tag,A,this.$slots.default)}};function ae(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function se(e){if(e)for(var t,r=0;r<e.length;r++){if(t=e[r],"a"===t.tag)return t;if(t.children&&(t=se(t.children)))return t}}function le(e){if(!le.installed||te!==e){le.installed=!0,te=e;var t=function(e){return void 0!==e},r=function(e,r){var n=e.$options._parentVnode;t(n)&&t(n=n.data)&&t(n=n.registerRouteInstance)&&n(e,r)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",s),e.component("RouterLink",oe);var n=e.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var ue="undefined"!==typeof window;function ce(e,t,r,n){var i=t||[],o=r||Object.create(null),a=n||Object.create(null);e.forEach((function(e){fe(i,o,a,e)}));for(var s=0,l=i.length;s<l;s++)"*"===i[s]&&(i.push(i.splice(s,1)[0]),l--,s--);return{pathList:i,pathMap:o,nameMap:a}}function fe(e,t,r,n,i,o){var a=n.path,s=n.name;var l=n.pathToRegexpOptions||{},u=de(a,i,l.strict);"boolean"===typeof n.caseSensitive&&(l.sensitive=n.caseSensitive);var c={path:u,regex:pe(u,l),components:n.components||{default:n.component},instances:{},name:s,parent:i,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach((function(n){var i=o?M(o+"/"+n.path):void 0;fe(e,t,r,n,c,i)})),t[c.path]||(e.push(c.path),t[c.path]=c),void 0!==n.alias)for(var f=Array.isArray(n.alias)?n.alias:[n.alias],p=0;p<f.length;++p){var d=f[p];0;var h={path:d,children:n.children};fe(e,t,r,h,i,c.path||"/")}s&&(r[s]||(r[s]=c))}function pe(e,t){var r=B(e,[],t);return r}function de(e,t,r){return r||(e=e.replace(/\/$/,"")),"/"===e[0]||null==t?e:M(t.path+"/"+e)}function he(e,t){var r=ce(e),n=r.pathList,i=r.pathMap,o=r.nameMap;function a(e){ce(e,n,i,o)}function s(e,r,a){var s=ee(e,r,!1,t),l=s.name;if(l){var u=o[l];if(!u)return c(null,s);var f=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!==typeof s.params&&(s.params={}),r&&"object"===typeof r.params)for(var p in r.params)!(p in s.params)&&f.indexOf(p)>-1&&(s.params[p]=r.params[p]);return s.path=J(u.path,s.params,'named route "'+l+'"'),c(u,s,a)}if(s.path){s.params={};for(var d=0;d<n.length;d++){var h=n[d],v=i[h];if(ve(v.regex,s.path,s.params))return c(v,s,a)}}return c(null,s)}function l(e,r){var n=e.redirect,i="function"===typeof n?n(b(e,r,null,t)):n;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return c(null,r);var a=i,l=a.name,u=a.path,f=r.query,p=r.hash,d=r.params;if(f=a.hasOwnProperty("query")?a.query:f,p=a.hasOwnProperty("hash")?a.hash:p,d=a.hasOwnProperty("params")?a.params:d,l){o[l];return s({_normalized:!0,name:l,query:f,hash:p,params:d},void 0,r)}if(u){var h=me(u,e),v=J(h,d,'redirect route with path "'+h+'"');return s({_normalized:!0,path:v,query:f,hash:p},void 0,r)}return c(null,r)}function u(e,t,r){var n=J(r,t.params,'aliased route with path "'+r+'"'),i=s({_normalized:!0,path:n});if(i){var o=i.matched,a=o[o.length-1];return t.params=i.params,c(a,t)}return c(null,t)}function c(e,r,n){return e&&e.redirect?l(e,n||r):e&&e.matchAs?u(e,r,e.matchAs):b(e,r,n,t)}return{match:s,addRoutes:a}}function ve(e,t,r){var n=t.match(e);if(!n)return!1;if(!r)return!0;for(var i=1,o=n.length;i<o;++i){var a=e.keys[i-1],s="string"===typeof n[i]?decodeURIComponent(n[i]):n[i];a&&(r[a.name||"pathMatch"]=s)}return!0}function me(e,t){return S(e,t.parent?t.parent.path:"/",!0)}var ge=ue&&window.performance&&window.performance.now?window.performance:Date;function ye(){return ge.now().toFixed(3)}var be=ye();function xe(){return be}function Ae(e){return be=e}var we=Object.create(null);function _e(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),r=a({},window.history.state);return r.key=xe(),window.history.replaceState(r,"",t),window.addEventListener("popstate",Te),function(){window.removeEventListener("popstate",Te)}}function Ee(e,t,r,n){if(e.app){var i=e.options.scrollBehavior;i&&e.app.$nextTick((function(){var o=Ce(),a=i.call(e,t,r,n?o:null);a&&("function"===typeof a.then?a.then((function(e){De(e,o)})).catch((function(e){0})):De(a,o))}))}}function ke(){var e=xe();e&&(we[e]={x:window.pageXOffset,y:window.pageYOffset})}function Te(e){ke(),e.state&&e.state.key&&Ae(e.state.key)}function Ce(){var e=xe();if(e)return we[e]}function Se(e,t){var r=document.documentElement,n=r.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function Oe(e){return Be(e.x)||Be(e.y)}function Me(e){return{x:Be(e.x)?e.x:window.pageXOffset,y:Be(e.y)?e.y:window.pageYOffset}}function Pe(e){return{x:Be(e.x)?e.x:0,y:Be(e.y)?e.y:0}}function Be(e){return"number"===typeof e}var Le=/^#\d/;function De(e,t){var r="object"===typeof e;if(r&&"string"===typeof e.selector){var n=Le.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(n){var i=e.offset&&"object"===typeof e.offset?e.offset:{};i=Pe(i),t=Se(n,i)}else Oe(e)&&(t=Me(e))}else r&&Oe(e)&&(t=Me(e));t&&window.scrollTo(t.x,t.y)}var Ie=ue&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function je(e,t){ke();var r=window.history;try{if(t){var n=a({},r.state);n.key=xe(),r.replaceState(n,"",e)}else r.pushState({key:Ae(ye())},"",e)}catch(i){window.location[t?"replace":"assign"](e)}}function Re(e){je(e,!0)}function Fe(e,t,r){var n=function(i){i>=e.length?r():e[i]?t(e[i],(function(){n(i+1)})):n(i+1)};n(0)}function Ne(e){return function(t,r,n){var o=!1,a=0,s=null;ze(e,(function(e,t,r,l){if("function"===typeof e&&void 0===e.cid){o=!0,a++;var u,c=Qe((function(t){Ve(t)&&(t=t.default),e.resolved="function"===typeof t?t:te.extend(t),r.components[l]=t,a--,a<=0&&n()})),f=Qe((function(e){var t="Failed to resolve async component "+l+": "+e;s||(s=i(e)?e:new Error(t),n(s))}));try{u=e(c,f)}catch(d){f(d)}if(u)if("function"===typeof u.then)u.then(c,f);else{var p=u.component;p&&"function"===typeof p.then&&p.then(c,f)}}})),o||n()}}function ze(e,t){return Ue(e.map((function(e){return Object.keys(e.components).map((function(r){return t(e.components[r],e.instances[r],e,r)}))})))}function Ue(e){return Array.prototype.concat.apply([],e)}var He="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Ve(e){return e.__esModule||He&&"Module"===e[Symbol.toStringTag]}function Qe(e){var t=!1;return function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];if(!t)return t=!0,e.apply(this,r)}}var We={redirected:1,aborted:2,cancelled:3,duplicated:4};function Ke(e,t){return Ye(e,t,We.redirected,'Redirected when going from "'+e.fullPath+'" to "'+Ze(t)+'" via a navigation guard.')}function qe(e,t){return Ye(e,t,We.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".')}function Ge(e,t){return Ye(e,t,We.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function $e(e,t){return Ye(e,t,We.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function Ye(e,t,r,n){var i=new Error(n);return i._isRouter=!0,i.from=e,i.to=t,i.type=r,i}var Xe=["params","query","hash"];function Ze(e){if("string"===typeof e)return e;if("path"in e)return e.path;var t={};return Xe.forEach((function(r){r in e&&(t[r]=e[r])})),JSON.stringify(t,null,2)}var Je=function(e,t){this.router=e,this.base=et(t),this.current=A,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function et(e){if(!e)if(ue){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function tt(e,t){var r,n=Math.max(e.length,t.length);for(r=0;r<n;r++)if(e[r]!==t[r])break;return{updated:t.slice(0,r),activated:t.slice(r),deactivated:e.slice(r)}}function rt(e,t,r,n){var i=ze(e,(function(e,n,i,o){var a=nt(e,t);if(a)return Array.isArray(a)?a.map((function(e){return r(e,n,i,o)})):r(a,n,i,o)}));return Ue(n?i.reverse():i)}function nt(e,t){return"function"!==typeof e&&(e=te.extend(e)),e.options[t]}function it(e){return rt(e,"beforeRouteLeave",at,!0)}function ot(e){return rt(e,"beforeRouteUpdate",at)}function at(e,t){if(t)return function(){return e.apply(t,arguments)}}function st(e,t,r){return rt(e,"beforeRouteEnter",(function(e,n,i,o){return lt(e,i,o,t,r)}))}function lt(e,t,r,n,i){return function(o,a,s){return e(o,a,(function(e){"function"===typeof e&&n.push((function(){ut(e,t.instances,r,i)})),s(e)}))}}function ut(e,t,r,n){t[r]&&!t[r]._isBeingDestroyed?e(t[r]):n()&&setTimeout((function(){ut(e,t,r,n)}),16)}Je.prototype.listen=function(e){this.cb=e},Je.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Je.prototype.onError=function(e){this.errorCbs.push(e)},Je.prototype.transitionTo=function(e,t,r){var n=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){var e=n.current;n.updateRoute(i),t&&t(i),n.ensureURL(),n.router.afterHooks.forEach((function(t){t&&t(i,e)})),n.ready||(n.ready=!0,n.readyCbs.forEach((function(e){e(i)})))}),(function(e){r&&r(e),e&&!n.ready&&(n.ready=!0,o(e,We.redirected)?n.readyCbs.forEach((function(e){e(i)})):n.readyErrorCbs.forEach((function(t){t(e)})))}))},Je.prototype.confirmTransition=function(e,t,r){var a=this,s=this.current,l=function(e){!o(e)&&i(e)&&(a.errorCbs.length?a.errorCbs.forEach((function(t){t(e)})):(n(!1,"uncaught error during route navigation:"),console.error(e))),r&&r(e)},u=e.matched.length-1,c=s.matched.length-1;if(E(e,s)&&u===c&&e.matched[u]===s.matched[c])return this.ensureURL(),l(qe(s,e));var f=tt(this.current.matched,e.matched),p=f.updated,d=f.deactivated,h=f.activated,v=[].concat(it(d),this.router.beforeHooks,ot(p),h.map((function(e){return e.beforeEnter})),Ne(h));this.pending=e;var m=function(t,r){if(a.pending!==e)return l(Ge(s,e));try{t(e,s,(function(t){!1===t?(a.ensureURL(!0),l($e(s,e))):i(t)?(a.ensureURL(!0),l(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(l(Ke(s,e)),"object"===typeof t&&t.replace?a.replace(t):a.push(t)):r(t)}))}catch(n){l(n)}};Fe(v,m,(function(){var r=[],n=function(){return a.current===e},i=st(h,r,n),o=i.concat(a.router.resolveHooks);Fe(o,m,(function(){if(a.pending!==e)return l(Ge(s,e));a.pending=null,t(e),a.router.app&&a.router.app.$nextTick((function(){r.forEach((function(e){e()}))}))}))}))},Je.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},Je.prototype.setupListeners=function(){},Je.prototype.teardownListeners=function(){this.listeners.forEach((function(e){e()})),this.listeners=[]};var ct=function(e){function t(t,r){e.call(this,t,r),this._startLocation=ft(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,r=t.options.scrollBehavior,n=Ie&&r;n&&this.listeners.push(_e());var i=function(){var r=e.current,i=ft(e.base);e.current===A&&i===e._startLocation||e.transitionTo(i,(function(e){n&&Ee(t,e,r,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){je(M(n.base+e.fullPath)),Ee(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){Re(M(n.base+e.fullPath)),Ee(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.ensureURL=function(e){if(ft(this.base)!==this.current.fullPath){var t=M(this.base+this.current.fullPath);e?je(t):Re(t)}},t.prototype.getCurrentLocation=function(){return ft(this.base)},t}(Je);function ft(e){var t=decodeURI(window.location.pathname);return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var pt=function(e){function t(t,r,n){e.call(this,t,r),n&&dt(this.base)||ht()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,r=t.options.scrollBehavior,n=Ie&&r;n&&this.listeners.push(_e());var i=function(){var t=e.current;ht()&&e.transitionTo(vt(),(function(r){n&&Ee(e.router,r,t,!0),Ie||yt(r.fullPath)}))},o=Ie?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},t.prototype.push=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){gt(e.fullPath),Ee(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){yt(e.fullPath),Ee(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;vt()!==t&&(e?gt(t):yt(t))},t.prototype.getCurrentLocation=function(){return vt()},t}(Je);function dt(e){var t=ft(e);if(!/^\/#/.test(t))return window.location.replace(M(e+"/#"+t)),!0}function ht(){var e=vt();return"/"===e.charAt(0)||(yt("/"+e),!1)}function vt(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";e=e.slice(t+1);var r=e.indexOf("?");if(r<0){var n=e.indexOf("#");e=n>-1?decodeURI(e.slice(0,n))+e.slice(n):decodeURI(e)}else e=decodeURI(e.slice(0,r))+e.slice(r);return e}function mt(e){var t=window.location.href,r=t.indexOf("#"),n=r>=0?t.slice(0,r):t;return n+"#"+e}function gt(e){Ie?je(mt(e)):window.location.hash=e}function yt(e){Ie?Re(mt(e)):window.location.replace(mt(e))}var bt=function(e){function t(t,r){e.call(this,t,r),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,r){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)}),r)},t.prototype.go=function(e){var t=this,r=this.index+e;if(!(r<0||r>=this.stack.length)){var n=this.stack[r];this.confirmTransition(n,(function(){t.index=r,t.updateRoute(n)}),(function(e){o(e,We.duplicated)&&(t.index=r)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Je),xt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=he(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Ie&&!1!==e.fallback,this.fallback&&(t="hash"),ue||(t="abstract"),this.mode=t,t){case"history":this.history=new ct(this,e.base);break;case"hash":this.history=new pt(this,e.base,this.fallback);break;case"abstract":this.history=new bt(this,e.base);break;default:0}},At={currentRoute:{configurable:!0}};function wt(e,t){return e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function _t(e,t,r){var n="hash"===r?"#"+t:t;return e?M(e+"/"+n):n}xt.prototype.match=function(e,t,r){return this.matcher.match(e,t,r)},At.currentRoute.get=function(){return this.history&&this.history.current},xt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var r=t.apps.indexOf(e);r>-1&&t.apps.splice(r,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardownListeners()})),!this.app){this.app=e;var r=this.history;if(r instanceof ct||r instanceof pt){var n=function(){r.setupListeners()};r.transitionTo(r.getCurrentLocation(),n,n)}r.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},xt.prototype.beforeEach=function(e){return wt(this.beforeHooks,e)},xt.prototype.beforeResolve=function(e){return wt(this.resolveHooks,e)},xt.prototype.afterEach=function(e){return wt(this.afterHooks,e)},xt.prototype.onReady=function(e,t){this.history.onReady(e,t)},xt.prototype.onError=function(e){this.history.onError(e)},xt.prototype.push=function(e,t,r){var n=this;if(!t&&!r&&"undefined"!==typeof Promise)return new Promise((function(t,r){n.history.push(e,t,r)}));this.history.push(e,t,r)},xt.prototype.replace=function(e,t,r){var n=this;if(!t&&!r&&"undefined"!==typeof Promise)return new Promise((function(t,r){n.history.replace(e,t,r)}));this.history.replace(e,t,r)},xt.prototype.go=function(e){this.history.go(e)},xt.prototype.back=function(){this.go(-1)},xt.prototype.forward=function(){this.go(1)},xt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},xt.prototype.resolve=function(e,t,r){t=t||this.history.current;var n=ee(e,t,r,this),i=this.match(n,t),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=_t(a,o,this.mode);return{location:n,route:i,href:s,normalizedTo:n,resolved:i}},xt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==A&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xt.prototype,At),xt.install=le,xt.version="3.3.4",ue&&window.Vue&&window.Vue.use(xt),t["a"]=xt},"8c75":function(e,t,r){"use strict";function n(e,t,r){t?t.bind():e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,null);var n=0|e.getParameter(e.MAX_VERTEX_ATTRIBS);if(r){if(r.length>n)throw new Error("gl-vao: Too many vertex attributes");for(var i=0;i<r.length;++i){var o=r[i];if(o.buffer){var a=o.buffer,s=o.size||4,l=o.type||e.FLOAT,u=!!o.normalized,c=o.stride||0,f=o.offset||0;a.bind(),e.enableVertexAttribArray(i),e.vertexAttribPointer(i,s,l,u,c,f)}else{if("number"===typeof o)e.vertexAttrib1f(i,o);else if(1===o.length)e.vertexAttrib1f(i,o[0]);else if(2===o.length)e.vertexAttrib2f(i,o[0],o[1]);else if(3===o.length)e.vertexAttrib3f(i,o[0],o[1],o[2]);else{if(4!==o.length)throw new Error("gl-vao: Invalid vertex attribute");e.vertexAttrib4f(i,o[0],o[1],o[2],o[3])}e.disableVertexAttribArray(i)}}for(;i<n;++i)e.disableVertexAttribArray(i)}else{e.bindBuffer(e.ARRAY_BUFFER,null);for(i=0;i<n;++i)e.disableVertexAttribArray(i)}}e.exports=n},"8c7e":function(e,t,r){"use strict";var n=r("dec3");function i(e,t){e.setMode("composite"),e.update(n.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}e.exports=i},"8cb4":function(e,t,r){"use strict";var n=r("d8db"),i=55296,o=56319,a=56320,s=57343,l=/[\uD800-\uDFFF]/;function u(e){return i<=e&&e<=s}function c(e,t){if(0<=t&&t<e.length||n(!1),t+1===e.length)return!1;var r=e.charCodeAt(t),l=e.charCodeAt(t+1);return i<=r&&r<=o&&a<=l&&l<=s}function f(e){return l.test(e)}function p(e,t){return 1+u(e.charCodeAt(t))}function d(e){if(!f(e))return e.length;for(var t=0,r=0;r<e.length;r+=p(e,r))t++;return t}function h(e,t,r){if(t=t||0,r=void 0===r?1/0:r||0,!f(e))return e.substr(t,r);var n=e.length;if(n<=0||t>n||r<=0)return"";var i=0;if(t>0){for(;t>0&&i<n;t--)i+=p(e,i);if(i>=n)return""}else if(t<0){for(i=n;t<0&&0<i;t++)i-=p(e,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=p(e,o);return e.substring(i,o)}function v(e,t,r){t=t||0,r=void 0===r?1/0:r||0,t<0&&(t=0),r<0&&(r=0);var n=Math.abs(r-t);return t=t<r?t:r,h(e,t,n)}function m(e){for(var t=[],r=0;r<e.length;r+=p(e,r))t.push(e.codePointAt(r));return t}var g={getCodePoints:m,getUTF16Length:p,hasSurrogateUnit:f,isCodeUnitInSurrogateRange:u,isSurrogatePair:c,strlen:d,substring:v,substr:h};e.exports=g},"8cdc":function(e,t,r){"use strict";e.exports=function(e,t,r,n){var i,o;for(n||(n=1/0),i=0;i<t.length;i++)o=t[i],o.visible&&(n=Math.min(n,o[r].length));for(n===1/0&&(n=0),e._length=n,i=0;i<t.length;i++)o=t[i],o.visible&&(o._length=n);return n}},"8cf2":function(e,t,r){(function(t){e.exports=t.performance&&t.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}}).call(this,r("c8ba"))},"8d0e":function(e,t,r){"use strict";e.exports={eventDataKeys:["binNumber"]}},"8d19":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Aggregations=void 0;var i=f(r("ab5b")),o=u(r("d7bc")),a=r("c85e"),s=r("4578"),l=r("e419");function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=(0,s.connectAggregationToTransform)(a.PlotlySection),_=function(e){v(r,e);var t=g(r);function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"render",value:function(){var e=this.context.fullContainer.aggregations,t=void 0===e?[]:e,r=this.context.localize;return 0===t.length?null:i.default.createElement(a.PlotlySection,{name:r("Aggregations"),attr:"aggregations"},t.filter((function(e){return e.target&&null===e.target.match(/transforms\[\d*\]\./gi)})).map((function(e,t){var n=e.target;return i.default.createElement(w,{show:!0,key:t,aggregationIndex:t},i.default.createElement(a.Dropdown,{attr:"func",label:n,options:[{label:r("Count"),value:"count"},{label:r("Sum"),value:"sum"},{label:r("Average"),value:"avg"},{label:r("Median"),value:"median"},{label:r("Mode"),value:"mode"},{label:r("RMS"),value:"rms"},{label:r("Standard Deviation"),value:"stddev"},{label:r("Min"),value:"min"},{label:r("Max"),value:"max"},{label:r("First"),value:"first"},{label:r("Last"),value:"last"},{label:r("Change"),value:"change"},{label:r("Range"),value:"range"}],clearable:!1}))})))}}]),r}(i.Component);t.Aggregations=_,_.plotly_editor_traits={no_visibility_forcing:!0},_.contextTypes={fullContainer:o.default.object,localize:o.default.func};var E=function(e,t){var r=t.localize;return i.default.createElement(a.TraceAccordion,{traceFilterCondition:function(e){return l.TRANSFORMABLE_TRACES.includes(e.type)}},i.default.createElement(a.TransformAccordion,null,i.default.createElement(a.Radio,{attr:"enabled",options:[{label:r("Enabled"),value:!0},{label:r("Disabled"),value:!1}]}),i.default.createElement(a.DataSelector,{label:r("By"),attr:"groups"}),i.default.createElement(a.DataSelector,{label:r("Target"),attr:"target"}),i.default.createElement(a.FilterOperation,{label:r("Operator"),attr:"operation"}),i.default.createElement(a.FilterValue,{label:r("Value"),attr:"value"}),i.default.createElement(a.Radio,{attr:"order",options:[{label:r("Ascending"),value:"ascending"},{label:r("Descending"),value:"descending"}]}),i.default.createElement(_,null)))};E.contextTypes={localize:o.default.func};var k=E;t.default=k},"8d6a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M22 6c-2.188 0-4 1.813-4 4 0 1.5.813 2.75 2 3.438v.563c0 2-2 4-4 4-1.625 0-2.938.375-4 .938v-9.5c1.188-.688 2-1.938 2-3.438 0-2.188-1.75-4-4-4-2.188 0-4 1.813-4 4 0 1.5.813 2.75 2 3.438v13.125c-1.188.688-2 1.938-2 3.438 0 2.188 1.813 4 4 4 2.25 0 4-1.813 4-4 0-1.063-.375-2-1.063-2.75.625-.688 1.563-1.25 3.063-1.25 4 0 8-4 8-8v-.563c1.188-.688 2-2 2-3.438 0-2.25-1.75-4-4-4zM10 4c1.125 0 2 .938 2 2 0 1.125-.875 2-2 2-1.063 0-2-.875-2-2 0-1.063.938-2 2-2zm0 24c-1.063 0-2-.875-2-2 0-1.063.938-2 2-2 1.125 0 2 .938 2 2 0 1.125-.875 2-2 2zm12-16c-1.063 0-2-.875-2-2 0-1.063.938-2 2-2 1.125 0 2 .938 2 2 0 1.125-.875 2-2 2z"}))};t.default=u},"8d6a1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M27.625 32H5.812a.722.722 0 0 1-.75-.75V.75c0-.438.313-.75.75-.75h21.813c.438 0 .75.313.75.75v30.5c0 .438-.313.75-.75.75zM6.563 30.563h20.375V1.438H6.563zm.687-24.75H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.312H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zm0 4.375H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zM21.813 10.75c-2-.125-3.75 0-3.75 0v10.5h1.313v-4.063h2.438c2.063-.188 2.75-2.063 2.75-3.25 0-1.313-.688-3-2.75-3.188zm-.313 5.375h-2.125v-4.188H21.5c.625 0 1.625.563 1.625 2 0 1.5-1 2.188-1.625 2.188zm-5.062-4.5v-.875h-5.5v.875h2v8.75h-2v1h5.5v-1h-2.063v-8.75z"}))};t.default=u},"8d74":function(e,t,r){var n=r("4cef"),i=/^\s+/;function o(e){return e?e.slice(0,n(e)+1).replace(i,""):e}e.exports=o},"8da3":function(e,t,r){"use strict";var n=r("f027"),i=r("a651");function o(e,t,r,o){var a=["aaxis","baxis"];a.forEach((function(a){var s=a.charAt(0),l=e[a]||{},u=i.newContainer(t,a),c={tickfont:"x",id:s+"axis",letter:s,font:t.font,name:a,data:e[s],calendar:t.calendar,dfltColor:o,bgColor:r.paper_bgcolor,autotypenumbersDflt:r.autotypenumbers,fullLayout:r};n(l,u,c),u._categories=u._categories||[],e[a]||"-"===l.type||(e[a]={type:l.type})}))}e.exports=function(e,t,r,n,i){var a=n("a");a||(n("da"),n("a0"));var s=n("b");s||(n("db"),n("b0")),o(e,t,r,i)}},"8daa":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r,n;l(this,o);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=u(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(a))),t=r,r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},n=t,u(r,n)}return c(o,r),i(o,[{key:"render",value:function(){return a.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},a.default.createElement(e,n({},this.props,this.state)))}}]),o}(a.default.Component)}},"8dbe":function(e,t,r){"use strict";var n=r("fc26"),i=r("f200"),o=r("81f0").defaults,a=r("1c1c").handleText,s=r("c258"),l=s.hasColorscale,u=s.handleDefaults;e.exports=function(e,t,r,s){function c(r,o){return n.coerce(e,t,i,r,o)}var f=c("labels"),p=c("parents");if(f&&f.length&&p&&p.length){var d=c("values");d&&d.length?c("branchvalues"):c("count"),c("level"),c("maxdepth");var h=c("marker.line.width");h&&c("marker.line.color",s.paper_bgcolor),c("marker.colors");var v=t._hasColorscale=l(e,"marker","colors")||(e.marker||{}).coloraxis;v&&u(e,t,s,c,{prefix:"marker.",cLetter:"c"}),c("leaf.opacity",v?1:.7);var m=c("text");c("texttemplate"),t.texttemplate||c("textinfo",Array.isArray(m)?"text+label":"label"),c("hovertext"),c("hovertemplate");var g="auto";a(e,t,s,c,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),c("insidetextorientation"),c("sort"),c("rotation"),c("root.color"),o(t,s,c),t._length=null}else t.visible=!1}},"8dde":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("716c"),i=r("feb7");function o(e,t){void 0===t&&(t={});var r=0,o=0,a=0;return n.coordEach(e,(function(e){r+=e[0],o+=e[1],a++})),i.point([r/a,o/a],t.properties)}t.default=o},"8de2":function(e,t,r){var n=r("8eeb"),i=r("9934");function o(e){return n(e,i(e))}e.exports=o},"8dec":function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("bb71"),a=r("371e"),s=r("0642"),l=r("4efe"),u=r("fc26"),c=u.strTranslate,f=r("9092").extendFlat,p=r("0f37"),d=r("83d1"),h=r("d115"),v=r("1999"),m=r("0379"),g=r("215c").flipScale,y=r("7118"),b=r("f3a2"),x=r("d798"),A=r("63dc"),w=A.LINE_SPACING,_=A.FROM_TL,E=A.FROM_BR,k=r("aa8a").cn;function T(e){var t=e._fullLayout,r=t._infolayer.selectAll("g."+k.colorbar).data(C(e),(function(e){return e._id}));r.enter().append("g").attr("class",(function(e){return e._id})).classed(k.colorbar,!0),r.each((function(t){var r=n.select(this);u.ensureSingle(r,"rect",k.cbbg),u.ensureSingle(r,"g",k.cbfills),u.ensureSingle(r,"g",k.cblines),u.ensureSingle(r,"g",k.cbaxis,(function(e){e.classed(k.crisp,!0)})),u.ensureSingle(r,"g",k.cbtitleunshift,(function(e){e.append("g").classed(k.cbtitle,!0)})),u.ensureSingle(r,"rect",k.cboutline);var i=S(r,t,e);i&&i.then&&(e._promises||[]).push(i),e._context.edits.colorbarPosition&&O(r,t,e)})),r.exit().each((function(t){o.autoMargin(e,t._id)})).remove(),r.order()}function C(e){var t,r,n,i,o=e._fullLayout,a=e.calcdata,s=[];function l(e){return f(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function u(){"function"===typeof i.calc?i.calc(e,n,t):(t._fillgradient=r.reversescale?g(r.colorscale):r.colorscale,t._zrange=[r[i.min],r[i.max]])}for(var c=0;c<a.length;c++){var p=a[c];n=p[0].trace;var d=n._module.colorbar;if(!0===n.visible&&d)for(var h=Array.isArray(d),v=h?d:[d],m=0;m<v.length;m++){i=v[m];var y=i.container;r=y?n[y]:n,r&&r.showscale&&(t=l(r.colorbar),t._id="cb"+n.uid+(h&&y?"-"+y:""),t._traceIndex=n.index,t._propPrefix=(y?y+".":"")+"colorbar.",t._meta=n._meta,u(),s.push(t))}}for(var b in o._colorAxes)if(r=o[b],r.showscale){var x=o._colorAxes[b];t=l(r.colorbar),t._id="cb"+b,t._propPrefix=b+".colorbar.",t._meta=o._meta,i={min:"cmin",max:"cmax"},"heatmap"!==x[0]&&(n=x[1],i.calc=n._module.colorbar.calc),u(),s.push(t)}return s}function S(e,t,r){var a=r._fullLayout,l=a._size,p=t._fillcolor,g=t._line,y=t.title,b=y.side,x=t._zrange||n.extent(("function"===typeof p?p:g.color).domain()),A="function"===typeof g.color?g.color:function(){return g.color},T="function"===typeof p?p:function(){return p},C=t._levels,S=M(r,t,x),O=S.fill,B=S.line,L=Math.round(t.thickness*("fraction"===t.thicknessmode?l.w:1)),D=L/l.w,I=Math.round(t.len*("fraction"===t.lenmode?l.h:1)),j=I/l.h,R=t.xpad/l.w,F=(t.borderwidth+t.outlinewidth)/2,N=t.ypad/l.h,z=Math.round(t.x*l.w+t.xpad),U=t.x-D*({middle:.5,right:1}[t.xanchor]||0),H=t.y+j*(({top:-.5,bottom:.5}[t.yanchor]||0)-.5),V=Math.round(l.h*(1-H)),Q=V-I;t._lenFrac=j,t._thickFrac=D,t._xLeftFrac=U,t._yBottomFrac=H;var W=t._axis=P(r,t,x);if(W.position=t.x+R+D,-1!==["top","bottom"].indexOf(b)&&(W.title.side=b,W.titlex=t.x+R,W.titley=H+("top"===y.side?j-N:N)),g.color&&"auto"===t.tickmode){W.tickmode="linear",W.tick0=C.start;var K=C.size,q=u.constrain((V-Q)/50,4,15)+1,G=(x[1]-x[0])/((t.nticks||q)*K);if(G>1){var $=Math.pow(10,Math.floor(Math.log(G)/Math.LN10));K*=$*u.roundUp(G/$,[2,5,10]),(Math.abs(C.start)/C.size+1e-6)%1<2e-6&&(W.tick0=0)}W.dtick=K}W.domain=[H+N,H+j-N],W.setScale(),e.attr("transform",c(Math.round(l.l),Math.round(l.t)));var Y,X=e.select("."+k.cbtitleunshift).attr("transform",c(-Math.round(l.l),-Math.round(l.t))),Z=e.select("."+k.cbaxis),J=0;function ee(n,i){var o={propContainer:W,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:a._dfltTitle.colorbar,containerGroup:e.select("."+k.cbtitle)},s="h"===n.charAt(0)?n.substr(1):"h"+n;e.selectAll("."+s+",."+s+"-math-group").remove(),v.draw(r,n,f(o,i||{}))}function te(){if(-1!==["top","bottom"].indexOf(b)){var e,r=l.l+(t.x+R)*l.w,n=W.title.font.size;e="top"===b?(1-(H+j-N))*l.h+l.t+3+.75*n:(1-(H+N))*l.h+l.t-3-.25*n,ee(W._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}}function re(){if(-1===["top","bottom"].indexOf(b)){var e=W.title.font.size,t=W._offset+W._length/2,i=l.l+(W.position||0)*l.w+("right"===W.side?10+e*(W.showticklabels?1:.5):-10-e*(W.showticklabels?.5:0));ee("h"+W._id+"title",{avoid:{selection:n.select(r).selectAll("g."+W._id+"tick"),side:b,offsetLeft:l.l,offsetTop:0,maxShift:a.width},attributes:{x:i,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}function ne(){if(-1!==["top","bottom"].indexOf(b)){var o=e.select("."+k.cbtitle),a=o.select("text"),f=[-t.outlinewidth/2,t.outlinewidth/2],p=o.select(".h"+W._id+"title-math-group").node(),h=15.6;if(a.node()&&(h=parseInt(a.node().style.fontSize,10)*w),p?(J=d.bBox(p).height,J>h&&(f[1]-=(J-h)/2)):a.node()&&!a.classed(k.jsPlaceholder)&&(J=d.bBox(a.node()).height),J){if(J+=5,"top"===b)W.domain[1]-=J/l.h,f[1]*=-1;else{W.domain[0]+=J/l.h;var v=m.lineCount(a);f[1]+=(1-v)*h}o.attr("transform",c(f[0],f[1])),W.setScale()}}e.selectAll("."+k.cbfills+",."+k.cblines).attr("transform",c(0,Math.round(l.h*(1-W.domain[1])))),Z.attr("transform",c(0,Math.round(-l.t)));var y=e.select("."+k.cbfills).selectAll("rect."+k.cbfill).attr("style","").data(O);y.enter().append("rect").classed(k.cbfill,!0).style("stroke","none"),y.exit().remove();var _=x.map(W.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,o){var a=[0===o?x[0]:(O[o]+O[o-1])/2,o===O.length-1?x[1]:(O[o]+O[o+1])/2].map(W.c2p).map(Math.round);a[1]=u.constrain(a[1]+(a[1]>a[0])?1:-1,_[0],_[1]);var s=n.select(this).attr({x:z,width:Math.max(L,2),y:n.min(a),height:Math.max(n.max(a)-n.min(a),2)});if(t._fillgradient)d.gradient(s,r,t._id,"vertical",t._fillgradient,"fill");else{var l=T(e).replace("e-","");s.attr("fill",i(l).toHexString())}}));var E=e.select("."+k.cblines).selectAll("path."+k.cbline).data(g.color&&g.width?B:[]);E.enter().append("path").classed(k.cbline,!0),E.exit().remove(),E.each((function(e){n.select(this).attr("d","M"+z+","+(Math.round(W.c2p(e))+g.width/2%1)+"h"+L).call(d.lineGroupStyle,g.width,A(e),g.dash)})),Z.selectAll("g."+W._id+"tick,path").remove();var C=z+L+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),S=s.calcTicks(W),M=s.getTickSigns(W)[2];return s.drawTicks(r,W,{vals:"inside"===W.ticks?s.clipEnds(W,S):S,layer:Z,path:s.makeTickPath(W,C,M),transFn:s.makeTransTickFn(W)}),s.drawLabels(r,W,{vals:S,layer:Z,transFn:s.makeTransTickLabelFn(W),labelFns:s.makeLabelFns(W,C)})}function ie(){var n=L+t.outlinewidth/2;if(-1===W.ticklabelposition.indexOf("inside")&&(n+=d.bBox(Z.node()).width),Y=X.select("text"),Y.node()&&!Y.classed(k.jsPlaceholder)){var i,a=X.select(".h"+W._id+"title-math-group").node();i=a&&-1!==["top","bottom"].indexOf(b)?d.bBox(a).width:d.bBox(X.node()).right-z-l.l,n=Math.max(n,i)}var s=2*t.xpad+n+t.borderwidth+t.outlinewidth/2,u=V-Q;e.select("."+k.cbbg).attr({x:z-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Q-F,width:Math.max(s,2),height:Math.max(u+2*F,2)}).call(h.fill,t.bgcolor).call(h.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+k.cboutline).attr({x:z,y:Q+t.ypad+("top"===b?J:0),width:Math.max(L,2),height:Math.max(u-2*t.ypad-J,2)}).call(h.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var f=({center:.5,right:1}[t.xanchor]||0)*s;e.attr("transform",c(l.l-f,l.t));var p={},v=_[t.yanchor],m=E[t.yanchor];"pixels"===t.lenmode?(p.y=t.y,p.t=u*v,p.b=u*m):(p.t=p.b=0,p.yt=t.y+t.len*v,p.yb=t.y-t.len*m);var g=_[t.xanchor],y=E[t.xanchor];if("pixels"===t.thicknessmode)p.x=t.x,p.l=s*g,p.r=s*y;else{var x=s-L;p.l=x*g,p.r=x*y,p.xl=t.x-t.thickness*g,p.xr=t.x+t.thickness*y}o.autoMargin(r,t._id,p)}return u.syncOrAsync([o.previousPromises,te,ne,re,o.previousPromises,ie],r)}function O(e,t,r){var n,i,o,s=r._fullLayout,u=s._size;l.init({element:e.node(),gd:r,prepFn:function(){n=e.attr("transform"),p(e)},moveFn:function(r,a){e.attr("transform",n+c(r,a)),i=l.align(t._xLeftFrac+r/u.w,t._thickFrac,0,1,t.xanchor),o=l.align(t._yBottomFrac-a/u.h,t._lenFrac,0,1,t.yanchor);var s=l.getCursor(i,o,t.xanchor,t.yanchor);p(e,s)},doneFn:function(){if(p(e),void 0!==i&&void 0!==o){var n={};n[t._propPrefix+"x"]=i,n[t._propPrefix+"y"]=o,void 0!==t._traceIndex?a.call("_guiRestyle",r,n,t._traceIndex):a.call("_guiRelayout",r,n)}}})}function M(e,t,r){var n,i,o=t._levels,a=[],s=[],l=o.end+o.size/100,u=o.size,c=1.001*r[0]-.001*r[1],f=1.001*r[1]-.001*r[0];for(i=0;i<1e5;i++){if(n=o.start+i*u,u>0?n>=l:n<=l)break;n>c&&n<f&&a.push(n)}if(t._fillgradient)s=[0];else if("function"===typeof t._fillcolor){var p=t._filllevels;if(p)for(l=p.end+p.size/100,u=p.size,i=0;i<1e5;i++){if(n=p.start+i*u,u>0?n>=l:n<=l)break;n>r[0]&&n<r[1]&&s.push(n)}else s=a.map((function(e){return e-o.size/2})),s.push(s[s.length-1]+o.size)}else t._fillcolor&&"string"===typeof t._fillcolor&&(s=[0]);return o.size<0&&(a.reverse(),s.reverse()),{line:a,fill:s}}function P(e,t,r){var n=e._fullLayout,i={type:"linear",range:r,tickmode:t.tickmode,nticks:t.nticks,tick0:t.tick0,dtick:t.dtick,tickvals:t.tickvals,ticktext:t.ticktext,ticks:t.ticks,ticklen:t.ticklen,tickwidth:t.tickwidth,tickcolor:t.tickcolor,showticklabels:t.showticklabels,ticklabelposition:t.ticklabelposition,tickfont:t.tickfont,tickangle:t.tickangle,tickformat:t.tickformat,exponentformat:t.exponentformat,minexponent:t.minexponent,separatethousands:t.separatethousands,showexponent:t.showexponent,showtickprefix:t.showtickprefix,tickprefix:t.tickprefix,showticksuffix:t.showticksuffix,ticksuffix:t.ticksuffix,title:t.title,showline:!0,anchor:"free",side:"right",position:1},o={type:"linear",_id:"y"+t._id},a={letter:"y",font:n.font,noHover:!0,noTickson:!0,noTicklabelmode:!0,calendar:n.calendar};function s(e,t){return u.coerce(i,o,x,e,t)}return y(i,o,s,a,n),b(i,o,s,a),o}e.exports={draw:T}},"8df8":function(e,t,r){"use strict";e.exports=o,e.exports.isMobile=o,e.exports.default=o;var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function o(e){e||(e={});var t=e.ua;if(t||"undefined"===typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"===typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!==typeof t)return!1;var r=e.tablet?i.test(t):n.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(r=!0),r}},"8e3f":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=r(1).Buffer}catch(T){}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function l(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,o+=24,o>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,u=0,c=r;c<s;c+=n)u=l(e,c,c+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var f=1;for(u=l(e,c,e.length,t),c=0;c<a;c++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,f=67108863&l,p=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=p;d++){var h=u-d|0;i=0|e.words[h],o=0|t.words[d],a=i*o+f,c+=a/67108864|0,f=67108863&a}r.words[u]=0|f,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,r=0!==o||a!==this.length-1?u[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,a--)}0!==o&&(r=o.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var p=c[e],d=f[e];r="";var h=this.clone();h.negative=0;while(!h.isZero()){var v=h.modn(d).toString(e);h=h.idivn(d),r=h.isZero()?v+r:u[p-v.length]+v+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)t=(0|r.words[a])-(0|n.words[a])+o,o=t>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)t=(0|r.words[a])+o,o=t>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],f=8191&c,p=c>>>13,d=0|a[1],h=8191&d,v=d>>>13,m=0|a[2],g=8191&m,y=m>>>13,b=0|a[3],x=8191&b,A=b>>>13,w=0|a[4],_=8191&w,E=w>>>13,k=0|a[5],T=8191&k,C=k>>>13,S=0|a[6],O=8191&S,M=S>>>13,P=0|a[7],B=8191&P,L=P>>>13,D=0|a[8],I=8191&D,j=D>>>13,R=0|a[9],F=8191&R,N=R>>>13,z=0|s[0],U=8191&z,H=z>>>13,V=0|s[1],Q=8191&V,W=V>>>13,K=0|s[2],q=8191&K,G=K>>>13,$=0|s[3],Y=8191&$,X=$>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],fe=8191&ce,pe=ce>>>13,de=0|s[9],he=8191&de,ve=de>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(f,U),i=Math.imul(f,H),i=i+Math.imul(p,U)|0,o=Math.imul(p,H);var me=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(h,U),i=Math.imul(h,H),i=i+Math.imul(v,U)|0,o=Math.imul(v,H),n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(p,Q)|0,o=o+Math.imul(p,W)|0;var ge=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,U),i=Math.imul(g,H),i=i+Math.imul(y,U)|0,o=Math.imul(y,H),n=n+Math.imul(h,Q)|0,i=i+Math.imul(h,W)|0,i=i+Math.imul(v,Q)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(p,q)|0,o=o+Math.imul(p,G)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(x,U),i=Math.imul(x,H),i=i+Math.imul(A,U)|0,o=Math.imul(A,H),n=n+Math.imul(g,Q)|0,i=i+Math.imul(g,W)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(h,q)|0,i=i+Math.imul(h,G)|0,i=i+Math.imul(v,q)|0,o=o+Math.imul(v,G)|0,n=n+Math.imul(f,Y)|0,i=i+Math.imul(f,X)|0,i=i+Math.imul(p,Y)|0,o=o+Math.imul(p,X)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(_,U),i=Math.imul(_,H),i=i+Math.imul(E,U)|0,o=Math.imul(E,H),n=n+Math.imul(x,Q)|0,i=i+Math.imul(x,W)|0,i=i+Math.imul(A,Q)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(y,q)|0,o=o+Math.imul(y,G)|0,n=n+Math.imul(h,Y)|0,i=i+Math.imul(h,X)|0,i=i+Math.imul(v,Y)|0,o=o+Math.imul(v,X)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(p,J)|0,o=o+Math.imul(p,ee)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(T,U),i=Math.imul(T,H),i=i+Math.imul(C,U)|0,o=Math.imul(C,H),n=n+Math.imul(_,Q)|0,i=i+Math.imul(_,W)|0,i=i+Math.imul(E,Q)|0,o=o+Math.imul(E,W)|0,n=n+Math.imul(x,q)|0,i=i+Math.imul(x,G)|0,i=i+Math.imul(A,q)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(g,Y)|0,i=i+Math.imul(g,X)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,X)|0,n=n+Math.imul(h,J)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(v,J)|0,o=o+Math.imul(v,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(p,re)|0,o=o+Math.imul(p,ne)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(O,U),i=Math.imul(O,H),i=i+Math.imul(M,U)|0,o=Math.imul(M,H),n=n+Math.imul(T,Q)|0,i=i+Math.imul(T,W)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(_,q)|0,i=i+Math.imul(_,G)|0,i=i+Math.imul(E,q)|0,o=o+Math.imul(E,G)|0,n=n+Math.imul(x,Y)|0,i=i+Math.imul(x,X)|0,i=i+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(y,J)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0,i=i+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,n=n+Math.imul(f,oe)|0,i=i+Math.imul(f,ae)|0,i=i+Math.imul(p,oe)|0,o=o+Math.imul(p,ae)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(B,U),i=Math.imul(B,H),i=i+Math.imul(L,U)|0,o=Math.imul(L,H),n=n+Math.imul(O,Q)|0,i=i+Math.imul(O,W)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,W)|0,n=n+Math.imul(T,q)|0,i=i+Math.imul(T,G)|0,i=i+Math.imul(C,q)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(_,Y)|0,i=i+Math.imul(_,X)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(E,X)|0,n=n+Math.imul(x,J)|0,i=i+Math.imul(x,ee)|0,i=i+Math.imul(A,J)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(v,oe)|0,o=o+Math.imul(v,ae)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(p,le)|0,o=o+Math.imul(p,ue)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,U),i=Math.imul(I,H),i=i+Math.imul(j,U)|0,o=Math.imul(j,H),n=n+Math.imul(B,Q)|0,i=i+Math.imul(B,W)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(M,q)|0,o=o+Math.imul(M,G)|0,n=n+Math.imul(T,Y)|0,i=i+Math.imul(T,X)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,X)|0,n=n+Math.imul(_,J)|0,i=i+Math.imul(_,ee)|0,i=i+Math.imul(E,J)|0,o=o+Math.imul(E,ee)|0,n=n+Math.imul(x,re)|0,i=i+Math.imul(x,ne)|0,i=i+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(g,oe)|0,i=i+Math.imul(g,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(h,le)|0,i=i+Math.imul(h,ue)|0,i=i+Math.imul(v,le)|0,o=o+Math.imul(v,ue)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,pe)|0,i=i+Math.imul(p,fe)|0,o=o+Math.imul(p,pe)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,U),i=Math.imul(F,H),i=i+Math.imul(N,U)|0,o=Math.imul(N,H),n=n+Math.imul(I,Q)|0,i=i+Math.imul(I,W)|0,i=i+Math.imul(j,Q)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(L,q)|0,o=o+Math.imul(L,G)|0,n=n+Math.imul(O,Y)|0,i=i+Math.imul(O,X)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(T,J)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(C,J)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,i=i+Math.imul(E,re)|0,o=o+Math.imul(E,ne)|0,n=n+Math.imul(x,oe)|0,i=i+Math.imul(x,ae)|0,i=i+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ue)|0,i=i+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(h,fe)|0,i=i+Math.imul(h,pe)|0,i=i+Math.imul(v,fe)|0,o=o+Math.imul(v,pe)|0,n=n+Math.imul(f,he)|0,i=i+Math.imul(f,ve)|0,i=i+Math.imul(p,he)|0,o=o+Math.imul(p,ve)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,Q),i=Math.imul(F,W),i=i+Math.imul(N,Q)|0,o=Math.imul(N,W),n=n+Math.imul(I,q)|0,i=i+Math.imul(I,G)|0,i=i+Math.imul(j,q)|0,o=o+Math.imul(j,G)|0,n=n+Math.imul(B,Y)|0,i=i+Math.imul(B,X)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(L,X)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(M,J)|0,o=o+Math.imul(M,ee)|0,n=n+Math.imul(T,re)|0,i=i+Math.imul(T,ne)|0,i=i+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(_,oe)|0,i=i+Math.imul(_,ae)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,n=n+Math.imul(x,le)|0,i=i+Math.imul(x,ue)|0,i=i+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,pe)|0,i=i+Math.imul(y,fe)|0,o=o+Math.imul(y,pe)|0,n=n+Math.imul(h,he)|0,i=i+Math.imul(h,ve)|0,i=i+Math.imul(v,he)|0,o=o+Math.imul(v,ve)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,q),i=Math.imul(F,G),i=i+Math.imul(N,q)|0,o=Math.imul(N,G),n=n+Math.imul(I,Y)|0,i=i+Math.imul(I,X)|0,i=i+Math.imul(j,Y)|0,o=o+Math.imul(j,X)|0,n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(L,J)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(M,re)|0,o=o+Math.imul(M,ne)|0,n=n+Math.imul(T,oe)|0,i=i+Math.imul(T,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,n=n+Math.imul(_,le)|0,i=i+Math.imul(_,ue)|0,i=i+Math.imul(E,le)|0,o=o+Math.imul(E,ue)|0,n=n+Math.imul(x,fe)|0,i=i+Math.imul(x,pe)|0,i=i+Math.imul(A,fe)|0,o=o+Math.imul(A,pe)|0,n=n+Math.imul(g,he)|0,i=i+Math.imul(g,ve)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,ve)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,Y),i=Math.imul(F,X),i=i+Math.imul(N,Y)|0,o=Math.imul(N,X),n=n+Math.imul(I,J)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(j,J)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(L,re)|0,o=o+Math.imul(L,ne)|0,n=n+Math.imul(O,oe)|0,i=i+Math.imul(O,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,n=n+Math.imul(T,le)|0,i=i+Math.imul(T,ue)|0,i=i+Math.imul(C,le)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(_,fe)|0,i=i+Math.imul(_,pe)|0,i=i+Math.imul(E,fe)|0,o=o+Math.imul(E,pe)|0,n=n+Math.imul(x,he)|0,i=i+Math.imul(x,ve)|0,i=i+Math.imul(A,he)|0,o=o+Math.imul(A,ve)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,J),i=Math.imul(F,ee),i=i+Math.imul(N,J)|0,o=Math.imul(N,ee),n=n+Math.imul(I,re)|0,i=i+Math.imul(I,ne)|0,i=i+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(B,oe)|0,i=i+Math.imul(B,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ue)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ue)|0,n=n+Math.imul(T,fe)|0,i=i+Math.imul(T,pe)|0,i=i+Math.imul(C,fe)|0,o=o+Math.imul(C,pe)|0,n=n+Math.imul(_,he)|0,i=i+Math.imul(_,ve)|0,i=i+Math.imul(E,he)|0,o=o+Math.imul(E,ve)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(N,re)|0,o=Math.imul(N,ne),n=n+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ue)|0,i=i+Math.imul(L,le)|0,o=o+Math.imul(L,ue)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,pe)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,pe)|0,n=n+Math.imul(T,he)|0,i=i+Math.imul(T,ve)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,ve)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,oe),i=Math.imul(F,ae),i=i+Math.imul(N,oe)|0,o=Math.imul(N,ae),n=n+Math.imul(I,le)|0,i=i+Math.imul(I,ue)|0,i=i+Math.imul(j,le)|0,o=o+Math.imul(j,ue)|0,n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,pe)|0,i=i+Math.imul(L,fe)|0,o=o+Math.imul(L,pe)|0,n=n+Math.imul(O,he)|0,i=i+Math.imul(O,ve)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,ve)|0;var Pe=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(N,le)|0,o=Math.imul(N,ue),n=n+Math.imul(I,fe)|0,i=i+Math.imul(I,pe)|0,i=i+Math.imul(j,fe)|0,o=o+Math.imul(j,pe)|0,n=n+Math.imul(B,he)|0,i=i+Math.imul(B,ve)|0,i=i+Math.imul(L,he)|0,o=o+Math.imul(L,ve)|0;var Be=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(F,fe),i=Math.imul(F,pe),i=i+Math.imul(N,fe)|0,o=Math.imul(N,pe),n=n+Math.imul(I,he)|0,i=i+Math.imul(I,ve)|0,i=i+Math.imul(j,he)|0,o=o+Math.imul(j,ve)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,he),i=Math.imul(F,ve),i=i+Math.imul(N,he)|0,o=Math.imul(N,ve);var De=(u+n|0)+((8191&i)<<13)|0;return u=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,l[0]=me,l[1]=ge,l[2]=ye,l[3]=be,l[4]=xe,l[5]=Ae,l[6]=we,l[7]=_e,l[8]=Ee,l[9]=ke,l[10]=Te,l[11]=Ce,l[12]=Se,l[13]=Oe,l[14]=Me,l[15]=Pe,l[16]=Be,l[17]=Le,l[18]=De,0!==u&&(l[19]=u,r.length++),r};function v(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,f=0|e.words[c],p=0|t.words[u],d=f*p,h=67108863&d;a=a+(d/67108864|0)|0,h=h+s|0,s=67108863&h,a=a+(h>>>26)|0,i+=a>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}function m(e,t,r){var n=new g;return n.mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?v(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var f=l,p=u,d=0;d<a;d++){var h=r[c+d],v=n[c+d],m=r[c+d+a],g=n[c+d+a],y=f*m-p*g;g=f*g+p*m,m=y,r[c+d]=h+m,n[c+d]=v+g,r[c+d+a]=h-m,n[c+d+a]=v-g,d!==s&&(y=l*f-u*p,p=l*p+u*f,f=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),f=new Array(n),p=r.words;p.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,f,n,i);for(var d=0;d<n;d++){var h=s[d]*c[d]-l[d]*f[d];l[d]=s[d]*f[d]+l[d]*c[d],s[d]=h}return this.conjugate(s,l,n),this.transform(s,l,p,o,n,i),this.conjugate(p,o,n),this.normalize13b(p,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var f=0|this.words[u];this.words[u]=c<<26-o|f>>>o,c=f&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var o=this.words[r];return!!(o&i)},o.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;o-=67108863&l,s=(o>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)o=(0|this.words[i+r])+s,s=o>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)o=-(0|this.words[i])+s,s=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new o(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var f=n.clone()._ishlnsubmul(i,1,u);0===f.negative&&(n=f,l&&(l.words[u]=1));for(var p=u-1;p>=0;p--){var d=67108864*(0|n.words[i.length+p])+(0|n.words[i.length+p-1]);d=Math.min(d/a|0,67108863),n._ishlnsubmul(i,d,p);while(0!==n.negative)d--,n.negative=0,n._ishlnsubmul(i,1,p),n.isZero()||(n.negative^=1);l&&(l.words[p]=d)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),f=t.clone();while(!t.isZero()){for(var p=0,d=1;0===(t.words[0]&d)&&p<26;++p,d<<=1);if(p>0){t.iushrn(p);while(p-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(f)),i.iushrn(1),a.iushrn(1)}for(var h=0,v=1;0===(r.words[0]&v)&&h<26;++h,v<<=1);if(h>0){r.iushrn(h);while(h-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(f)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}for(var f=0,p=1;0===(r.words[0]&p)&&f<26;++f,p<<=1);if(f>0){r.iushrn(f);while(f-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];s+=o,o=s>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new E(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(x,b),x.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(A,b),i(w,b),i(_,b),_.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new x;else if("p224"===e)t=new A;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var f=this.pow(c,i),p=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),h=a;while(0!==d.cmp(s)){for(var v=d,m=0;0!==v.cmp(s);m++)v=v.redSqr();n(m<h);var g=this.pow(f,new o(1).iushln(h-m-1));p=p.redMul(g),f=g.redSqr(),d=d.redMul(f),h=m}return p},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new o(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var a=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=u-1;f>=0;f--){var p=c>>f&1;a!==n[0]&&(a=this.sqr(a)),0!==p||0!==s?(s<<=1,s|=p,l++,(l===r||0===i&&0===f)&&(a=this.mul(a,n[s]),l=0,s=0)):l=0}u=26}return a},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,E),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"8e43":function(e,t,r){"use strict";e.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},"8e51":function(e,t,r){(function(){var e;e=function(e){return e(r("1157"))},e((function(e){return e.pivotUtilities.export_renderers={"TSV Export":function(t,r){var n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T;for(a={localeStrings:{}},r=e.extend(!0,{},a,r),k=t.getRowKeys(),0===k.length&&k.push([]),o=t.getColKeys(),0===o.length&&o.push([]),_=t.rowAttrs,t.colAttrs,x=[],A=[],s=0,f=_.length;s<f;s++)w=_[s],A.push(w);if(1===o.length&&0===o[0].length)A.push(t.aggregatorName);else for(l=0,p=o.length;l<p;l++)i=o[l],A.push(i.join("-"));for(x.push(A),u=0,d=k.length;u<d;u++){for(E=k[u],A=[],c=0,h=E.length;c<h;c++)b=E[c],A.push(b);for(g=0,v=o.length;g<v;g++)i=o[g],n=t.getAggregator(E,i),null!=n.value()?A.push(n.value()):A.push("");x.push(A)}for(T="",y=0,m=x.length;y<m;y++)b=x[y],T+=b.join("\t")+"\n";return e("<textarea>").text(T).css({width:e(window).width()/2+"px",height:e(window).height()/2+"px"})}}}))}).call(this)},"8e56":function(e,t,r){"use strict";var n=r("09cf"),i=r("19b2"),o=r("299d"),a=r("3a04"),s=r("c879"),l=r("fc26"),u=r("b326").TOO_MANY_POINTS;e.exports=function(e,t,r){if(r.length){var c=t.radialAxis,f=t.angularAxis,p=a(e,t);return r.forEach((function(r){if(r&&r[0]&&r[0].trace){var o,a=r[0],d=a.trace,h=a.t,v=d._length,m=h.r,g=h.theta,y=h.opts,b=m.slice(),x=g.slice();for(o=0;o<m.length;o++)t.isPtInside({r:m[o],theta:g[o]})||(b[o]=NaN,x[o]=NaN);var A=new Array(2*v),w=Array(v),_=Array(v);for(o=0;o<v;o++){var E,k,T=b[o];if(i(T)){var C=c.c2g(T),S=f.c2g(x[o],d.thetaunit);E=C*Math.cos(S),k=C*Math.sin(S)}else E=k=NaN;w[o]=A[2*o]=E,_[o]=A[2*o+1]=k}h.tree=n(A),y.marker&&v>=u&&(y.marker.cluster=h.tree),y.marker&&(y.markerSel.positions=y.markerUnsel.positions=y.marker.positions=A),y.line&&A.length>1&&l.extendFlat(y.line,s.linePositions(e,d,A)),y.text&&(l.extendFlat(y.text,{positions:A},s.textPosition(e,d,y.text,y.marker)),l.extendFlat(y.textSel,{positions:A},s.textPosition(e,d,y.text,y.markerSel)),l.extendFlat(y.textUnsel,{positions:A},s.textPosition(e,d,y.text,y.markerUnsel))),y.fill&&!p.fill2d&&(p.fill2d=!0),y.marker&&!p.scatter2d&&(p.scatter2d=!0),y.line&&!p.line2d&&(p.line2d=!0),y.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(y.line),p.fillOptions.push(y.fill),p.markerOptions.push(y.marker),p.markerSelectedOptions.push(y.markerSel),p.markerUnselectedOptions.push(y.markerUnsel),p.textOptions.push(y.text),p.textSelectedOptions.push(y.textSel),p.textUnselectedOptions.push(y.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),h.x=w,h.y=_,h.rawx=w,h.rawy=_,h.r=m,h.theta=g,h.positions=A,h._scene=p,h.index=p.count,p.count++}})),o(e,t,r)}}},"8e58":function(e,t,r){"use strict";e.exports=i;var n="for(var j=2*a,k=j*c,l=k,m=c,n=b,o=a+b,p=c;d>p;++p,k+=j){var _;if($)if(m===p)m+=1,l+=j;else{for(var s=0;j>s;++s){var t=e[k+s];e[k+s]=e[l],e[l++]=t}var u=f[p];f[p]=f[m],f[m++]=u}}return m";function i(e,t){var r="abcdef".split("").concat(t),i=[];return e.indexOf("lo")>=0&&i.push("lo=e[k+n]"),e.indexOf("hi")>=0&&i.push("hi=e[k+o]"),r.push(n.replace("_",i.join()).replace("$",e)),Function.apply(void 0,r)}},"8e5d":function(e,t,r){"use strict";function n(e){if(e=e||("undefined"!==typeof document?document:void 0),"undefined"===typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},"8e5d5":function(e,t,r){"use strict";var n=r("e17a"),i=r("7f23"),o=r("22af"),a=r("dec3"),s=r("ef00"),l=r("0984"),u=r("5893"),c=r("d082"),f=r("6606"),p=r("8693"),d=r("8164"),h=l.isBrowser("IE"),v=20,m=!1,g=!1,y=null;function b(e){y||(y=new n(c(e)),y.start())}var x={onCompositionStart:function(e){g=!0,b(e)},onCompositionEnd:function(e){m=!1,g=!1,setTimeout((function(){m||x.resolveComposition(e)}),v)},onSelect:u,onKeyDown:function(e,t){if(!g)return x.resolveComposition(e),void e._onKeyDown(t);t.which!==s.RIGHT&&t.which!==s.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!g){var t=d(y).stopAndFlushMutations();y=null,m=!0;var r=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var n=r.getCurrentContent();t.forEach((function(e,t){var s=o.decode(t),l=s.blockKey,u=s.decoratorKey,c=s.leafKey,f=r.getBlockTree(l).getIn([u,"leaves",c]),d=f.start,h=f.end,v=r.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:d,focusOffset:h,isBackward:!1}),m=p(n,v),g=n.getBlockForKey(l).getInlineStyleAt(d);n=i.replaceText(n,v,e,g,m),r=a.set(r,{currentContent:n})}));var s=f(r,c(e)),l=s.selectionState;e.restoreEditorDOM();var u=h?a.forceSelection(r,l):a.acceptSelection(r,l);e.update(a.push(u,n,"insert-characters"))}else e.update(r)}}};e.exports=x},"8e5f":function(e,t,r){!function(t,r){e.exports=r()}(0,(function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=60)}([function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(49)("wks"),i=r(30),o=r(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t,r){var n=r(5);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(0),i=r(10),o=r(8),a=r(6),s=r(11),l=function(e,t,r){var u,c,f,p,d=e&l.F,h=e&l.G,v=e&l.S,m=e&l.P,g=e&l.B,y=h?n:v?n[t]||(n[t]={}):(n[t]||{}).prototype,b=h?i:i[t]||(i[t]={}),x=b.prototype||(b.prototype={});for(u in h&&(r=t),r)c=!d&&y&&void 0!==y[u],f=(c?y:r)[u],p=g&&c?s(f,n):m&&"function"==typeof f?s(Function.call,f):f,y&&a(y,u,f,e&l.U),b[u]!=f&&o(b,u,p),m&&x[u]!=f&&(x[u]=f)};n.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){e.exports=!r(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(0),i=r(8),o=r(12),a=r(30)("src"),s=Function.toString,l=(""+s).split("toString");r(10).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var u="function"==typeof r;u&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(u&&(o(r,a)||i(r,a,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(13),i=r(25);e.exports=r(4)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(14);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(2),i=r(41),o=r(29),a=Object.defineProperty;t.f=r(4)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(7);e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,r){var n=r(23),i=r(16);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(53),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(11),i=r(23),o=r(28),a=r(19),s=r(64);e.exports=function(e,t){var r=1==e,l=2==e,u=3==e,c=4==e,f=6==e,p=5==e||f,d=t||s;return function(t,s,h){for(var v,m,g=o(t),y=i(g),b=n(s,h,3),x=a(y.length),A=0,w=r?d(t,x):l?d(t,0):void 0;x>A;A++)if((p||A in y)&&(v=y[A],m=b(v,A,g),e))if(r)w[A]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return A;case 2:w.push(v)}else if(c)return!1;return f?-1:u||c?c:w}}},function(e,t,r){var n=r(5),i=r(0).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(9);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(13).f,i=r(12),o=r(1)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(49)("keys"),i=r(30);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){var n=r(16);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(5);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){"use strict";var n=r(0),i=r(12),o=r(9),a=r(67),s=r(29),l=r(7),u=r(77).f,c=r(45).f,f=r(13).f,p=r(51).trim,d=n.Number,h=d,v=d.prototype,m="Number"==o(r(44)(v)),g="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=g?t.trim():p(t,3);var r,n,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(r=t.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if((a=l.charCodeAt(u))<48||a>i)return NaN;return parseInt(l,n)}}return+t};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof d&&(m?l((function(){v.valueOf.call(r)})):"Number"!=o(r))?a(new h(y(t)),r,d):y(t)};for(var b,x=r(4)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),A=0;x.length>A;A++)i(h,b=x[A])&&!i(d,b)&&f(d,b,c(h,b));d.prototype=v,v.constructor=d,r(6)(n,"Number",d)}},function(e,t,r){"use strict";function n(e){return 0!==e&&(!(!Array.isArray(e)||0!==e.length)||!e)}function i(e){return function(){return!e.apply(void 0,arguments)}}function o(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}function a(e,t,r,n){return e.filter((function(e){return o(n(e,r),t)}))}function s(e){return e.filter((function(e){return!e.$isLabel}))}function l(e,t){return function(r){return r.reduce((function(r,n){return n[e]&&n[e].length?(r.push({$groupLabel:n[t],$isLabel:!0}),r.concat(n[e])):r}),[])}}function u(e,t,n,i,o){return function(s){return s.map((function(s){var l;if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var u=a(s[n],e,t,o);return u.length?(l={},r.i(h.a)(l,i,s[i]),r.i(h.a)(l,n,u),l):[]}))}}var c=r(59),f=r(54),p=(r.n(f),r(95)),d=(r.n(p),r(31)),h=(r.n(d),r(58)),v=r(91),m=(r.n(v),r(98)),g=(r.n(m),r(92)),y=(r.n(g),r(88)),b=(r.n(y),r(97)),x=(r.n(b),r(89)),A=(r.n(x),r(96)),w=(r.n(A),r(93)),_=(r.n(w),r(90)),E=(r.n(_),function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduce((function(e,t){return t(e)}),e)}});t.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(e,t){return n(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),r=this.options.concat();return r=this.internalSearch?this.groupValues?this.filterAndFlat(r,t,this.label):a(r,t,this.label,this.customLabel):this.groupValues?l(this.groupValues,this.groupLabel)(r):r,r=this.hideSelected?r.filter(i(this.isSelected)):r,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?r.push({isTag:!0,label:e}):r.unshift({isTag:!0,label:e})),r.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map((function(t){return t[e.trackBy]})):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(t){return e.customLabel(t,e.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(e,t,r){return E(u(t,r,this.groupValues,this.groupLabel,this.customLabel),l(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return E(l(this.groupValues,this.groupLabel),s)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled:function(e){return!!e.$isDisabled},getOptionLabel:function(e){if(n(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return n(t)?"":t},select:function(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.$emit("select",e,this.id),this.multiple?this.$emit("input",this.internalValue.concat([e]),this.id):this.$emit("input",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(e){var t=this,r=this.options.find((function(r){return r[t.groupLabel]===e.$groupLabel}));if(r)if(this.wholeGroupSelected(r)){this.$emit("remove",r[this.groupValues],this.id);var n=this.internalValue.filter((function(e){return-1===r[t.groupValues].indexOf(e)}));this.$emit("input",n,this.id)}else{var i=r[this.groupValues].filter((function(e){return!(t.isOptionDisabled(e)||t.isSelected(e))}));this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}},wholeGroupSelected:function(e){var t=this;return e[this.groupValues].every((function(e){return t.isSelected(e)||t.isOptionDisabled(e)}))},wholeGroupDisabled:function(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!e.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var n="object"===r.i(c.a)(e)?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.$emit("remove",e,this.id),this.multiple){var i=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return e.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t,r){"use strict";var n=r(54),i=(r.n(n),r(31));r.n(i),t.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight:function(e,t){var r=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var n=this.options.find((function(e){return e[r.groupLabel]===t.$groupLabel}));return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",t=e.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t,r){"use strict";var n=r(36),i=r(74),o=r(15),a=r(18);e.exports=r(72)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";var n=r(31),i=(r.n(n),r(32)),o=r(33);t.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(e){return"and ".concat(e," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(e,t,r){var n=r(1)("unscopables"),i=Array.prototype;void 0==i[n]&&r(8)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){var n=r(18),i=r(19),o=r(85);e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(9),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(2);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){var n=r(0).document;e.exports=n&&n.documentElement},function(e,t,r){e.exports=!r(4)&&!r(7)((function(){return 7!=Object.defineProperty(r(21)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(9);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";function n(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=i(t),this.reject=i(r)}var i=r(14);e.exports.f=function(e){return new n(e)}},function(e,t,r){var n=r(2),i=r(76),o=r(22),a=r(27)("IE_PROTO"),s=function(){},l=function(){var e,t=r(21)("iframe"),n=o.length;for(t.style.display="none",r(40).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(79),i=r(25),o=r(18),a=r(29),s=r(12),l=r(41),u=Object.getOwnPropertyDescriptor;t.f=r(4)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){var n=r(12),i=r(18),o=r(37)(!1),a=r(27)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},function(e,t,r){var n=r(46),i=r(22);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(2),i=r(5),o=r(43);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){var n=r(10),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(2),i=r(14),o=r(1)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n=r(3),i=r(16),o=r(7),a=r(84),s="["+a+"]",l="
",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),f=function(e,t,r){var i={},s=o((function(){return!!a[e]()||l[e]()!=l})),u=i[e]=s?t(p):a[e];r&&(i[r]=u),n(n.P+n.F*s,"String",i)},p=f.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=f},function(e,t,r){var n,i,o,a=r(11),s=r(68),l=r(40),u=r(21),c=r(0),f=c.process,p=c.setImmediate,d=c.clearImmediate,h=c.MessageChannel,v=c.Dispatch,m=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};p&&d||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},d=function(e){delete g[e]},"process"==r(9)(f)?n=function(e){f.nextTick(a(y,e,1))}:v&&v.now?n=function(e){v.now(a(y,e,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=b,n=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):n="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:p,clear:d}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){"use strict";var n=r(3),i=r(20)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n(n.P+n.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(36)("find")},function(e,t,r){"use strict";var n,i,o,a,s=r(24),l=r(0),u=r(11),c=r(38),f=r(3),p=r(5),d=r(14),h=r(61),v=r(66),m=r(50),g=r(52).set,y=r(75)(),b=r(43),x=r(80),A=r(86),w=r(48),_=l.TypeError,E=l.process,k=E&&E.versions,T=k&&k.v8||"",C=l.Promise,S="process"==c(E),O=function(){},M=i=b.f,P=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[r(1)("species")]=function(e){e(O,O)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t&&0!==T.indexOf("6.6")&&-1===A.indexOf("Chrome/66")}catch(e){}}(),B=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){for(var n=e._v,i=1==e._s,o=0;r.length>o;)!function(t){var r,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&j(e),e._h=1),!0===s?r=n:(c&&c.enter(),r=s(n),c&&(c.exit(),a=!0)),r===t.promise?u(_("Promise-chain cycle")):(o=B(r))?o.call(r,l,u):l(r)):u(n)}catch(e){c&&!a&&c.exit(),u(e)}}(r[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(l,(function(){var t,r,n,i=e._v,o=I(e);if(o&&(t=x((function(){S?E.emit("unhandledRejection",i,e):(r=l.onunhandledrejection)?r({promise:e,reason:i}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=S||I(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(l,(function(){var t;S?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},F=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw _("Promise can't be resolved itself");(t=B(e))?y((function(){var n={_w:r,_d:!1};try{t.call(e,u(F,n,1),u(R,n,1))}catch(e){R.call(n,e)}})):(r._v=e,r._s=1,L(r,!1))}catch(e){R.call({_w:r,_d:!1},e)}}};P||(C=function(e){h(this,C,"Promise","_h"),d(e),n.call(this);try{e(u(F,this,1),u(R,this,1))}catch(e){R.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(81)(C.prototype,{then:function(e,t){var r=M(m(this,C));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=S?E.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&L(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(F,e,1),this.reject=u(R,e,1)},b.f=M=function(e){return e===C||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!P,{Promise:C}),r(26)(C,"Promise"),r(83)("Promise"),a=r(10).Promise,f(f.S+f.F*!P,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!P),"Promise",{resolve:function(e){return w(s&&this===a?C:this,e)}}),f(f.S+f.F*!(P&&r(73)((function(e){C.all(e).catch(O)}))),"Promise",{all:function(e){var t=this,r=M(t),n=r.resolve,i=r.reject,o=x((function(){var r=[],o=0,a=1;v(e,!1,(function(e){var s=o++,l=!1;r.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=M(t),n=r.reject,i=x((function(){v(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";var n=r(3),i=r(10),o=r(0),a=r(50),s=r(48);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},function(e,t,r){"use strict";function n(e){r(99)}var i=r(35),o=r(101),a=r(100),s=n,l=a(i.a,o.a,!1,s,null,null);t.a=l.exports},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=n},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}t.a=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(34),i=(r.n(n),r(55)),o=(r.n(i),r(56)),a=(r.n(o),r(57)),s=r(32),l=r(33);r.d(t,"Multiselect",(function(){return a.a})),r.d(t,"multiselectMixin",(function(){return s.a})),r.d(t,"pointerMixin",(function(){return l.a})),t.default=a.a},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(14),i=r(28),o=r(23),a=r(19);e.exports=function(e,t,r,s,l){n(t);var u=i(e),c=o(u),f=a(u.length),p=l?f-1:0,d=l?-1:1;if(r<2)for(;;){if(p in c){s=c[p],p+=d;break}if(p+=d,l?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;l?p>=0:f>p;p+=d)p in c&&(s=t(s,c[p],p,u));return s}},function(e,t,r){var n=r(5),i=r(42),o=r(1)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){var n=r(63);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(8),i=r(6),o=r(7),a=r(16),s=r(1);e.exports=function(e,t,r){var l=s(e),u=r(a,l,""[e]),c=u[0],f=u[1];o((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)}))&&(i(String.prototype,e,c),n(RegExp.prototype,l,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,r){var n=r(11),i=r(70),o=r(69),a=r(2),s=r(19),l=r(87),u={},c={};t=e.exports=function(e,t,r,f,p){var d,h,v,m,g=p?function(){return e}:l(e),y=n(r,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(d=s(e.length);d>b;b++)if((m=t?y(a(h=e[b])[0],h[1]):y(e[b]))===u||m===c)return m}else for(v=g.call(e);!(h=v.next()).done;)if((m=i(v,y,h.value,t))===u||m===c)return m};t.BREAK=u,t.RETURN=c},function(e,t,r){var n=r(5),i=r(82).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(15),i=r(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){var n=r(2);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var o=e.return;throw void 0!==o&&n(o.call(e)),t}}},function(e,t,r){"use strict";var n=r(44),i=r(25),o=r(26),a={};r(8)(a,r(1)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(24),i=r(3),o=r(6),a=r(8),s=r(15),l=r(71),u=r(26),c=r(78),f=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,m,g){l(r,t,h);var y,b,x,A=function(e){if(!p&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",_="values"==v,E=!1,k=e.prototype,T=k[f]||k["@@iterator"]||v&&k[v],C=T||A(v),S=v?_?A("entries"):C:void 0,O="Array"==t&&k.entries||T;if(O&&(x=c(O.call(new e)))!==Object.prototype&&x.next&&(u(x,w,!0),n||"function"==typeof x[f]||a(x,f,d)),_&&T&&"values"!==T.name&&(E=!0,C=function(){return T.call(this)}),n&&!g||!p&&!E&&k[f]||a(k,f,C),s[t]=C,s[w]=d,v)if(y={values:_?C:A("values"),keys:m?C:A("keys"),entries:S},g)for(b in y)b in k||o(k,b,y[b]);else i(i.P+i.F*(p||E),t,y);return y}},function(e,t,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},e(o)}catch(e){}return r}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(0),i=r(52).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==r(9)(a);e.exports=function(){var e,t,r,u=function(){var n,i;for(l&&(n=a.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(l)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);r=function(){c.then(u)}}else r=function(){i.call(n,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),r=function(){p.data=f=!f}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){var n=r(13),i=r(2),o=r(47);e.exports=r(4)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,l=0;s>l;)n.f(e,r=a[l++],t[r]);return e}},function(e,t,r){var n=r(46),i=r(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){var n=r(12),i=r(28),o=r(27)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(6);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){var n=r(5),i=r(2),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(11)(Function.call,r(45).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){"use strict";var n=r(0),i=r(13),o=r(4),a=r(1)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,r){var n=r(53),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(0),i=n.navigator;e.exports=i&&i.userAgent||""},function(e,t,r){var n=r(38),i=r(1)("iterator"),o=r(15);e.exports=r(10).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){"use strict";var n=r(3),i=r(20)(2);n(n.P+n.F*!r(17)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},function(e,t,r){"use strict";var n=r(3),i=r(37)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(a||!r(17)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},function(e,t,r){var n=r(3);n(n.S,"Array",{isArray:r(42)})},function(e,t,r){"use strict";var n=r(3),i=r(20)(1);n(n.P+n.F*!r(17)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},function(e,t,r){"use strict";var n=r(3),i=r(62);n(n.P+n.F*!r(17)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},function(e,t,r){var n=Date.prototype,i=n.toString,o=n.getTime;new Date(NaN)+""!="Invalid Date"&&r(6)(n,"toString",(function(){var e=o.call(this);return e===e?i.call(this):"Invalid Date"}))},function(e,t,r){r(4)&&"g"!=/./g.flags&&r(13).f(RegExp.prototype,"flags",{configurable:!0,get:r(39)})},function(e,t,r){r(65)("search",1,(function(e,t,r){return[function(r){"use strict";var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):new RegExp(r)[t](String(n))},r]}))},function(e,t,r){"use strict";r(94);var n=r(2),i=r(39),o=r(4),a=/./.toString,s=function(e){r(6)(RegExp.prototype,"toString",e,!0)};r(7)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,r){"use strict";r(51)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,r){for(var n=r(34),i=r(47),o=r(6),a=r(0),s=r(8),l=r(15),u=r(1),c=u("iterator"),f=u("toStringTag"),p=l.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;v<h.length;v++){var m,g=h[v],y=d[g],b=a[g],x=b&&b.prototype;if(x&&(x[c]||s(x,c,p),x[f]||s(x,f,g),l[g]=p,y))for(m in n)x[m]||o(x,m,n[m],!0)}},function(e,t){},function(e,t){e.exports=function(e,t,r,n,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):n&&(u=n),u){var f=c.functional,p=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(e,t){return u.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"multiselect",class:{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(t){e.activate()},blur:function(t){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null}],keypress:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t))},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()}}},[e._t("caret",[r("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),r("div",{ref:"tags",staticClass:"multiselect__tags"},[e._t("selection",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValues,(function(t,n){return[e._t("tag",[r("span",{key:n,staticClass:"multiselect__tag"},[r("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),r("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(r){if(!("button"in r)&&e._k(r.keyCode,"enter",13,r.key,"Enter"))return null;r.preventDefault(),e.removeElement(t)},mousedown:function(r){r.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]}))],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[e._t("limit",[r("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})])]:e._e()],{search:e.search,remove:e.removeElement,values:e.visibleValues,isOpen:e.isOpen}),e._v(" "),r("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),e.searchable?r("input",{ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"nope",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.search},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.pointerBackward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete"]))return null;t.stopPropagation(),e.removeLastElement()}],keypress:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null}}}):e._e(),e._v(" "),e.isSingleLabelVisible?r("span",{staticClass:"multiselect__single",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("singleLabel",[[e._v(e._s(e.currentOptionLabel))]],{option:e.singleValue})],2):e._e(),e._v(" "),e.isPlaceholderVisible?r("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("placeholder",[e._v("\n "+e._s(e.placeholder)+"\n ")])],2):e._e()],2),e._v(" "),r("transition",{attrs:{name:"multiselect"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[r("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?r("li",[r("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,(function(t,n){return r("li",{key:n,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():r("span",{staticClass:"multiselect__option",class:e.optionHighlight(n,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(r){r.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(n)}}},[e._t("option",[r("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?r("span",{staticClass:"multiselect__option",class:e.groupHighlight(n,t),attrs:{"data-select":e.groupSelect&&e.selectGroupLabelText,"data-deselect":e.groupSelect&&e.deselectGroupLabelText},on:{mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.groupSelect&&e.pointerSet(n)},mousedown:function(r){r.preventDefault(),e.selectGroup(t)}}},[e._t("option",[r("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])})):e._e(),e._v(" "),r("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[r("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")],{search:e.search})],2)]),e._v(" "),r("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoOptions&&0===e.options.length&&!e.search&&!e.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[r("span",{staticClass:"multiselect__option"},[e._t("noOptions",[e._v("List is empty.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},i=[],o={render:n,staticRenderFns:i};t.a=o}])}))},"8eeb":function(e,t,r){var n=r("32b3"),i=r("872a");function o(e,t,r,o){var a=!r;r||(r={});var s=-1,l=t.length;while(++s<l){var u=t[s],c=o?o(r[u],e[u],u,r,e):void 0;void 0===c&&(c=e[u]),a?i(r,u,c):n(r,u,c)}return r}e.exports=o},"8f12":function(e,t,r){"use strict";var n=r("d115").opacity,i=r("ac97").hoverOnBars,o=r("fc26").formatPercent;function a(e,t){var r=e.marker,i=t.mc||r.color,o=t.mlc||r.line.color,a=t.mlw||r.line.width;return n(i)?i:n(o)&&a?o:void 0}e.exports=function(e,t,r,n){var s=i(e,t,r,n);if(s){var l=s.cd,u=l[0].trace,c="h"===u.orientation,f=s.index,p=l[f],d=c?"x":"y";s[d+"LabelVal"]=p.s,s.percentInitial=p.begR,s.percentInitialLabel=o(p.begR,1),s.percentPrevious=p.difR,s.percentPreviousLabel=o(p.difR,1),s.percentTotal=p.sumR,s.percentTotalLabel=o(p.sumR,1);var h=p.hi||u.hoverinfo,v=[];if(h&&"none"!==h&&"skip"!==h){var m="all"===h,g=h.split("+"),y=function(e){return m||-1!==g.indexOf(e)};y("percent initial")&&v.push(s.percentInitialLabel+" of initial"),y("percent previous")&&v.push(s.percentPreviousLabel+" of previous"),y("percent total")&&v.push(s.percentTotalLabel+" of total")}return s.extraText=v.join("<br>"),s.color=a(u,p),[s]}}},"8f20":function(e,t,r){"use strict";var n=r("7f23"),i=r("22af"),o=r("dec3"),a=r("0984"),s=r("1a7e"),l=s.notEmptyKey,u=r("91cf"),c=r("dc1a"),f=r("8164"),p=a.isEngine("Gecko"),d="\n\n";function h(e,t){switch(e){case"deleteContentBackward":return c(t)}return t}function v(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var r=e.editor,a=r.ownerDocument.defaultView.getSelection(),s=a.anchorNode,c=a.isCollapsed,v=(null===s||void 0===s?void 0:s.nodeType)!==Node.TEXT_NODE&&(null===s||void 0===s?void 0:s.nodeType)!==Node.ELEMENT_NODE;if(null!=s&&!v){if(s.nodeType===Node.TEXT_NODE&&(null!==s.previousSibling||null!==s.nextSibling)){var m=s.parentNode;if(null==m)return;s.nodeValue=m.textContent;for(var g=m.firstChild;null!=g;g=g.nextSibling)g!==s&&m.removeChild(g)}var y=s.textContent,b=e._latestEditorState,x=f(u(s)),A=i.decode(x),w=A.blockKey,_=A.decoratorKey,E=A.leafKey,k=b.getBlockTree(w).getIn([_,"leaves",E]),T=k.start,C=k.end,S=b.getCurrentContent(),O=S.getBlockForKey(w),M=O.getText().slice(T,C);if(y.endsWith(d)&&(y=y.slice(0,-1)),y!==M){var P,B,L,D,I=b.getSelection(),j=I.merge({anchorOffset:T,focusOffset:C,isBackward:!1}),R=O.getEntityAt(T),F=l(R)?S.getEntity(R):null,N=null!=F?F.getMutability():null,z="MUTABLE"===N,U=z?"spellcheck-change":"apply-entity",H=n.replaceText(S,j,y,O.getInlineStyleAt(T),z?O.getEntityAt(T):null);if(p)P=a.anchorOffset,B=a.focusOffset,L=T+Math.min(P,B),D=L+Math.abs(P-B),P=L,B=D;else{var V=y.length-M.length;L=I.getStartOffset(),D=I.getEndOffset(),P=c?D+V:L,B=D+V}var Q=H.merge({selectionBefore:S.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:P,focusOffset:B})});e.update(o.push(b,Q,U))}else{var W=t.nativeEvent.inputType;if(W){var K=h(W,b);if(K!==b)return e.restoreEditorDOM(),void e.update(K)}}}}e.exports=v},"8f2a":function(e,t,r){"use strict";var n=r("fc26"),i=r("a651"),o=r("d92f"),a=r("27e3"),s=r("5008"),l=r("67c4");e.exports=function(e,t,r){var u=i.newContainer(t,"colorbar"),c=e.colorbar||{};function f(e,t){return n.coerce(c,u,l,e,t)}var p=f("thicknessmode");f("thickness","fraction"===p?30/(r.width-r.margin.l-r.margin.r):30);var d=f("lenmode");f("len","fraction"===d?1:r.height-r.margin.t-r.margin.b),f("x"),f("xanchor"),f("xpad"),f("y"),f("yanchor"),f("ypad"),n.noneOrAll(c,u,["x","y"]),f("outlinecolor"),f("outlinewidth"),f("bordercolor"),f("borderwidth"),f("bgcolor");var h=f("ticklabelposition");o(c,u,f,"linear");var v={outerTicks:!1,font:r.font};-1!==h.indexOf("inside")&&(v.bgColor="black"),s(c,u,f,"linear",v),a(c,u,f,"linear",v),f("title.text",r._dfltTitle.colorbar),n.coerceFont(f,"title.font",r.font),f("title.side")}},"8f38":function(e,t,r){"use strict";var n=r("dfb3");e.exports={bgcolor:{valType:"color",dflt:n.background,role:"style",editType:"plot",description:"Sets the background color of the range slider."},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"plot",description:"Sets the border color of the range slider."},borderwidth:{valType:"integer",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the border width of the range slider."},autorange:{valType:"boolean",dflt:!0,role:"style",editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range slider range is","computed in relation to the input data.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1},description:["Sets the range of the range slider.","If not set, defaults to the full xaxis range.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},thickness:{valType:"number",dflt:.15,min:0,max:1,role:"style",editType:"plot",description:["The height of the range slider as a fraction of the","total plot area height."].join(" ")},visible:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether or not the range slider will be visible.","If visible, perpendicular axes will be set to `fixedrange`"].join(" ")},editType:"calc"}},"8f94":function(e,t,r){!function(t,n){e.exports=n(r("56b3"))}(0,(function(e){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o=window.CodeMirror||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])}return r},writable:!0,configurable:!0}),t.default={name:"codemirror",data:function(){return{content:"",codemirror:null,cminstance:null}},props:{code:String,value:String,marker:Function,unseenLines:Array,name:{type:String,default:"codemirror"},placeholder:{type:String,default:""},merge:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{}}},globalEvents:{type:Array,default:function(){return[]}}},watch:{options:{deep:!0,handler:function(e){for(var t in e)this.cminstance.setOption(t,e[t])}},merge:function(){this.$nextTick(this.switchMerge)},code:function(e){this.handerCodeChange(e)},value:function(e){this.handerCodeChange(e)}},methods:{initialize:function(){var e=this,t=Object.assign({},this.globalOptions,this.options);this.merge?(this.codemirror=o.MergeView(this.$refs.mergeview,t),this.cminstance=this.codemirror.edit):(this.codemirror=o.fromTextArea(this.$refs.textarea,t),this.cminstance=this.codemirror,this.cminstance.setValue(this.code||this.value||this.content)),this.cminstance.on("change",(function(t){e.content=t.getValue(),e.$emit&&e.$emit("input",e.content)}));var r={};["scroll","changes","beforeChange","cursorActivity","keyHandled","inputRead","electricInput","beforeSelectionChange","viewportChange","swapDoc","gutterClick","gutterContextMenu","focus","blur","refresh","optionChange","scrollCursorIntoView","update"].concat(this.events).concat(this.globalEvents).filter((function(e){return!r[e]&&(r[e]=!0)})).forEach((function(t){e.cminstance.on(t,(function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];e.$emit.apply(e,[t].concat(n));var o=t.replace(/([A-Z])/g,"-$1").toLowerCase();o!==t&&e.$emit.apply(e,[o].concat(n))}))})),this.$emit("ready",this.codemirror),this.unseenLineMarkers(),this.refresh()},refresh:function(){var e=this;this.$nextTick((function(){e.cminstance.refresh()}))},destroy:function(){var e=this.cminstance.doc.cm.getWrapperElement();e&&e.remove&&e.remove()},handerCodeChange:function(e){if(e!==this.cminstance.getValue()){var t=this.cminstance.getScrollInfo();this.cminstance.setValue(e),this.content=e,this.cminstance.scrollTo(t.left,t.top)}this.unseenLineMarkers()},unseenLineMarkers:function(){var e=this;void 0!==this.unseenLines&&void 0!==this.marker&&this.unseenLines.forEach((function(t){var r=e.cminstance.lineInfo(t);e.cminstance.setGutterMarker(t,"breakpoints",r.gutterMarkers?null:e.marker())}))},switchMerge:function(){var e=this.cminstance.doc.history,t=this.cminstance.doc.cleanGeneration;this.options.value=this.cminstance.getValue(),this.destroy(),this.initialize(),this.cminstance.doc.history=e,this.cminstance.doc.cleanGeneration=t}},mounted:function(){this.initialize()},beforeDestroy:function(){this.destroy()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r.n(n);for(var o in n)["default","default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);var a=r(5),s=r(4),l=s(i.a,a.a,!1,null,null,null);t.default=l.exports},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.codemirror=t.CodeMirror=void 0;var i=r(0),o=n(i),a=r(2),s=n(a),l=window.CodeMirror||o.default,u=function(e,t){t&&(t.options&&(s.default.props.globalOptions.default=function(){return t.options}),t.events&&(s.default.props.globalEvents.default=function(){return t.events})),e.component(s.default.name,s.default)},c={CodeMirror:l,codemirror:s.default,install:u};t.default=c,t.CodeMirror=l,t.codemirror=s.default,t.install=u},function(e,t){e.exports=function(e,t,r,n,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):n&&(u=n),u){var f=c.functional,p=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(e,t){return u.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"vue-codemirror",class:{merge:e.merge}},[e.merge?r("div",{ref:"mergeview"}):r("textarea",{ref:"textarea",attrs:{name:e.name,placeholder:e.placeholder}})])},i=[],o={render:n,staticRenderFns:i};t.a=o}])}))},"8f9c":function(e,t,r){"use strict";e.exports=u;var n=r("d3c2"),i=r("cc77");function o(e,t,r){return Math.min(t,Math.max(e,r))}function a(e,t,r){this.dimension=e.length,this.bounds=[new Array(this.dimension),new Array(this.dimension)];for(var n=0;n<this.dimension;++n)this.bounds[0][n]=-1/0,this.bounds[1][n]=1/0;this._state=e.slice().reverse(),this._velocity=t.slice().reverse(),this._time=[r],this._scratch=[e.slice(),e.slice(),e.slice(),e.slice(),e.slice()]}var s=a.prototype;function l(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function u(e,t,r){switch(arguments.length){case 0:return new a([0],[0],0);case 1:if("number"===typeof e){var n=l(e);return new a(n,n,0)}return new a(e,l(e.length),0);case 2:if("number"===typeof t){n=l(e.length);return new a(e,n,+t)}r=0;case 3:if(e.length!==t.length)throw new Error("state and velocity lengths must match");return new a(e,t,r)}}s.flush=function(e){var t=i.gt(this._time,e)-1;t<=0||(this._time.splice(0,t),this._state.splice(0,t*this.dimension),this._velocity.splice(0,t*this.dimension))},s.curve=function(e){var t=this._time,r=t.length,a=i.le(t,e),s=this._scratch[0],l=this._state,u=this._velocity,c=this.dimension,f=this.bounds;if(a<0)for(var p=c-1,d=0;d<c;++d,--p)s[d]=l[p];else if(a>=r-1){p=l.length-1;var h=e-t[r-1];for(d=0;d<c;++d,--p)s[d]=l[p]+h*u[p]}else{p=c*(a+1)-1;var v=t[a],m=t[a+1],g=m-v||1,y=this._scratch[1],b=this._scratch[2],x=this._scratch[3],A=this._scratch[4],w=!0;for(d=0;d<c;++d,--p)y[d]=l[p],x[d]=u[p]*g,b[d]=l[p+c],A[d]=u[p+c]*g,w=w&&y[d]===b[d]&&x[d]===A[d]&&0===x[d];if(w)for(d=0;d<c;++d)s[d]=y[d];else n(y,x,b,A,(e-v)/g,s)}var _=f[0],E=f[1];for(d=0;d<c;++d)s[d]=o(_[d],E[d],s[d]);return s},s.dcurve=function(e){var t=this._time,r=t.length,o=i.le(t,e),a=this._scratch[0],s=this._state,l=this._velocity,u=this.dimension;if(o>=r-1)for(var c=s.length-1,f=(t[r-1],0);f<u;++f,--c)a[f]=l[c];else{c=u*(o+1)-1;var p=t[o],d=t[o+1],h=d-p||1,v=this._scratch[1],m=this._scratch[2],g=this._scratch[3],y=this._scratch[4],b=!0;for(f=0;f<u;++f,--c)v[f]=s[c],g[f]=l[c]*h,m[f]=s[c+u],y[f]=l[c+u]*h,b=b&&v[f]===m[f]&&g[f]===y[f]&&0===g[f];if(b)for(f=0;f<u;++f)a[f]=0;else{n.derivative(v,g,m,y,(e-p)/h,a);for(f=0;f<u;++f)a[f]/=h}}return a},s.lastT=function(){var e=this._time;return e[e.length-1]},s.stable=function(){for(var e=this._velocity,t=e.length,r=this.dimension-1;r>=0;--r)if(e[--t])return!1;return!0},s.jump=function(e){var t=this.lastT(),r=this.dimension;if(!(e<t||arguments.length!==r+1)){var n=this._state,i=this._velocity,a=n.length-this.dimension,s=this.bounds,l=s[0],u=s[1];this._time.push(t,e);for(var c=0;c<2;++c)for(var f=0;f<r;++f)n.push(n[a++]),i.push(0);this._time.push(e);for(f=r;f>0;--f)n.push(o(l[f-1],u[f-1],arguments[f])),i.push(0)}},s.push=function(e){var t=this.lastT(),r=this.dimension;if(!(e<t||arguments.length!==r+1)){var n=this._state,i=this._velocity,a=n.length-this.dimension,s=e-t,l=this.bounds,u=l[0],c=l[1],f=s>1e-6?1/s:0;this._time.push(e);for(var p=r;p>0;--p){var d=o(u[p-1],c[p-1],arguments[p]);n.push(d),i.push((d-n[a++])*f)}}},s.set=function(e){var t=this.dimension;if(!(e<this.lastT()||arguments.length!==t+1)){var r=this._state,n=this._velocity,i=this.bounds,a=i[0],s=i[1];this._time.push(e);for(var l=t;l>0;--l)r.push(o(a[l-1],s[l-1],arguments[l])),n.push(0)}},s.move=function(e){var t=this.lastT(),r=this.dimension;if(!(e<=t||arguments.length!==r+1)){var n=this._state,i=this._velocity,a=n.length-this.dimension,s=this.bounds,l=s[0],u=s[1],c=e-t,f=c>1e-6?1/c:0;this._time.push(e);for(var p=r;p>0;--p){var d=arguments[p];n.push(o(l[p-1],u[p-1],n[a++]+d)),i.push(d*f)}}},s.idle=function(e){var t=this.lastT();if(!(e<t)){var r=this.dimension,n=this._state,i=this._velocity,a=n.length-r,s=this.bounds,l=s[0],u=s[1],c=e-t;this._time.push(e);for(var f=r-1;f>=0;--f)n.push(o(l[f],u[f],n[a]+c*i[a])),i.push(0),a+=1}}},"8fe5":function(e,t,r){"use strict";var n=r("1c4a").iterator,i=r("e9bd"),o=r("7045"),a=r("d53b"),s=r("1a94"),l=r("96ae"),u=r("62c4"),c=r("692b"),f=Array.isArray,p=Function.prototype.call,d={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;e.exports=function(e){var t,r,v,m,g,y,b,x,A,w,_=arguments[1],E=arguments[2];if(e=Object(l(e)),u(_)&&s(_),this&&this!==Array&&o(this))t=this;else{if(!_){if(i(e))return g=e.length,1!==g?Array.apply(null,e):(m=new Array(1),m[0]=e[0],m);if(f(e)){for(m=new Array(g=e.length),r=0;r<g;++r)m[r]=e[r];return m}}m=[]}if(!f(e))if(void 0!==(A=e[n])){b=s(A).call(e),t&&(m=new t),x=b.next(),r=0;while(!x.done)w=_?p.call(_,E,x.value,r):x.value,t?(d.value=w,h(m,r,d)):m[r]=w,x=b.next(),++r;g=r}else if(c(e)){for(g=e.length,t&&(m=new t),r=0,v=0;r<g;++r)w=e[r],r+1<g&&(y=w.charCodeAt(0),y>=55296&&y<=56319&&(w+=e[++r])),w=_?p.call(_,E,w,v):w,t?(d.value=w,h(m,v,d)):m[v]=w,++v;g=v}if(void 0===g)for(g=a(e.length),t&&(m=new t(g)),r=0;r<g;++r)w=_?p.call(_,E,e[r],r):e[r],t?(d.value=w,h(m,r,d)):m[r]=w;return t&&(d.value=null,m.length=g),m}},"8ff1":function(e,t,r){"use strict";e.exports=s;var n=r("6e58"),i=r("d115"),o=r("83d1"),a=r("fc26");function s(e,t,r){this.gd=e,this.container=t,this.id=r,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}s.barWidth=2,s.barLength=20,s.barRadius=2,s.barPad=1,s.barColor="#808BA4",s.prototype.enable=function(e,t,r){var a=this.gd._fullLayout,l=a.width,u=a.height;this.position=e;var c,f,p,d,h=this.position.l,v=this.position.w,m=this.position.t,g=this.position.h,y=this.position.direction,b="down"===y,x="left"===y,A="right"===y,w="up"===y,_=v,E=g;b||x||A||w||(this.position.direction="down",b=!0);var k=b||w;k?(c=h,f=c+_,b?(p=m,d=Math.min(p+E,u),E=d-p):(d=m+E,p=Math.max(d-E,0),E=d-p)):(p=m,d=p+E,x?(f=h+_,c=Math.max(f-_,0),_=f-c):(c=h,f=Math.min(c+_,l),_=f-c)),this._box={l:c,t:p,w:_,h:E};var T=v>_,C=s.barLength+2*s.barPad,S=s.barWidth+2*s.barPad,O=h,M=m+g;M+S>u&&(M=u-S);var P=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);P.exit().on(".drag",null).remove(),P.enter().append("rect").classed("scrollbar-horizontal",!0).call(i.fill,s.barColor),T?(this.hbar=P.attr({rx:s.barRadius,ry:s.barRadius,x:O,y:M,width:C,height:S}),this._hbarXMin=O+C/2,this._hbarTranslateMax=_-C):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var B=g>E,L=s.barWidth+2*s.barPad,D=s.barLength+2*s.barPad,I=h+v,j=m;I+L>l&&(I=l-L);var R=this.container.selectAll("rect.scrollbar-vertical").data(B?[0]:[]);R.exit().on(".drag",null).remove(),R.enter().append("rect").classed("scrollbar-vertical",!0).call(i.fill,s.barColor),B?(this.vbar=R.attr({rx:s.barRadius,ry:s.barRadius,x:I,y:j,width:L,height:D}),this._vbarYMin=j+D/2,this._vbarTranslateMax=E-D):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var F=this.id,N=c-.5,z=B?f+L+.5:f+.5,U=p-.5,H=T?d+S+.5:d+.5,V=a._topdefs.selectAll("#"+F).data(T||B?[0]:[]);if(V.exit().remove(),V.enter().append("clipPath").attr("id",F).append("rect"),T||B?(this._clipRect=V.select("rect").attr({x:Math.floor(N),y:Math.floor(U),width:Math.ceil(z)-Math.floor(N),height:Math.ceil(H)-Math.floor(U)}),this.container.call(o.setClipUrl,F,this.gd),this.bg.attr({x:h,y:m,width:v,height:g})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),T||B){var Q=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(Q);var W=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault(),n.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(W),B&&this.vbar.on(".drag",null).call(W)}this.setTranslate(t,r)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=n.event.dx),this.vbar&&(t-=n.event.dy),this.setTranslate(e,t)},s.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=n.event.deltaY),this.vbar&&(t+=n.event.deltaY),this.setTranslate(e,t)},s.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var r=e+this._hbarXMin,i=r+this._hbarTranslateMax,o=a.constrain(n.event.x,r,i),s=(o-r)/(i-r),l=this.position.w-this._box.w;e=s*l}if(this.vbar){var u=t+this._vbarYMin,c=u+this._vbarTranslateMax,f=a.constrain(n.event.y,u,c),p=(f-u)/(c-u),d=this.position.h-this._box.h;t=p*d}this.setTranslate(e,t)},s.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=a.constrain(e||0,0,r),t=a.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(o.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var i=e/r;this.hbar.call(o.setTranslate,e+i*this._hbarTranslateMax,t)}if(this.vbar){var s=t/n;this.vbar.call(o.setTranslate,e,t+s*this._vbarTranslateMax)}}},"8ff7":function(e,t,r){"use strict";e.exports=i;var n=r("ca23");function i(e){var t=n(e),r=t.length;if(r<=2)return[];for(var i=new Array(r),o=t[r-1],a=0;a<r;++a){var s=t[a];i[a]=[o,s],o=s}return i}},"8fff":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M38 39V23l-11 4-9-3-11 3v12h31z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M38 21l-11 4-9-3-11 3V14l14 5L38 7v14z"}))};t.default=u},9013:function(e,t,r){"use strict";var n=r("5edd");e.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},9036:function(e,t,r){"use strict";var n=r("107c"),i=r("f4e9"),o=r("94d5").hovertemplateAttrs,a=r("94d5").texttemplateAttrs,s=r("a876"),l=r("089c"),u=r("014c"),c=r("9092").extendFlat,f=r("cb34").overrideAll,p=n.line,d=n.marker,h=d.line,v=c({width:p.width,dash:{valType:"enumerated",values:Object.keys(l),dflt:"solid",role:"style",description:"Sets the dash style of the lines."}},i("line"));function m(e){return{show:{valType:"boolean",role:"info",dflt:!1,description:["Sets whether or not projections are shown along the",e,"axis."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,description:"Sets the projection color."},scale:{valType:"number",role:"style",min:0,max:10,dflt:2/3,description:["Sets the scale factor determining the size of the","projection marker points."].join(" ")}}}var g=e.exports=f({x:n.x,y:n.y,z:{valType:"data_array",description:"Sets the z coordinates."},text:c({},n.text,{description:["Sets text elements associated with each (x,y,z) triplet.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y,z) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:a({},{}),hovertext:c({},n.hovertext,{description:["Sets text elements associated with each (x,y,z) triplet.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y,z) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),hovertemplate:o(),mode:c({},n.mode,{dflt:"lines+markers"}),surfaceaxis:{valType:"enumerated",role:"info",values:[-1,0,1,2],dflt:-1,description:["If *-1*, the scatter points are not fill with a surface","If *0*, *1*, *2*, the scatter points are filled with","a Delaunay surface about the x, y, z respectively."].join(" ")},surfacecolor:{valType:"color",role:"style",description:"Sets the surface fill color."},projection:{x:m("x"),y:m("y"),z:m("z")},connectgaps:n.connectgaps,line:v,marker:c({symbol:{valType:"enumerated",values:Object.keys(u),role:"style",dflt:"circle",arrayOk:!0,description:"Sets the marker symbol type."},size:c({},d.size,{dflt:8}),sizeref:d.sizeref,sizemin:d.sizemin,sizemode:d.sizemode,opacity:c({},d.opacity,{arrayOk:!1,description:["Sets the marker opacity.","Note that the marker opacity for scatter3d traces","must be a scalar value for performance reasons.","To set a blending opacity value","(i.e. which is not transparent), set *marker.color*","to an rgba color and use its alpha channel."].join(" ")}),colorbar:d.colorbar,line:c({width:c({},h.width,{arrayOk:!1})},i("marker.line"))},i("marker")),textposition:c({},n.textposition,{dflt:"top center"}),textfont:{color:n.textfont.color,size:n.textfont.size,family:c({},n.textfont.family,{arrayOk:!1})},hoverinfo:c({},s.hoverinfo)},"calc","nested");g.x.editType=g.y.editType=g.z.editType="calc+clearAxisTypes"},9039:function(e,t,r){"use strict";var n=r("61e5"),i=r("9452"),o=r("42fc"),a=r("7f23"),s=r("3d08"),l=r("dec3"),u=r("371e3"),c=r("8693"),f=r("1ca4"),p=r("4f8d"),d=r("44af");function h(e,t){t.preventDefault();var r=new o(t.clipboardData);if(!r.isRichText()){var h=r.getFiles(),g=r.getText();if(h.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(h)))return;return void f(h,(function(t){if(t=t||g,t){var r=e._latestEditorState,o=d(t),f=i.create({style:r.getCurrentInlineStyle(),entity:c(r.getCurrentContent(),r.getSelection())}),p=u.getCurrentBlockType(r),h=s.processText(o,f,p),v=n.createFromArray(h),m=a.replaceWithFragment(r.getCurrentContent(),r.getSelection(),v);e.update(l.push(r,m,"insert-fragment"))}}))}}var y=[],b=r.getText(),x=r.getHTML(),A=e._latestEditorState;if(e.props.formatPastedText){var w=e.props.formatPastedText(b,x),_=w.text,E=w.html;b=_,x=E}if(!e.props.handlePastedText||!p(e.props.handlePastedText(b,x,A))){if(b&&(y=d(b)),!e.props.stripPastedStyles){var k,T=e.getClipboard();if(!e.props.formatPastedText&&r.isRichText()&&T){if(-1!==(null===(k=x)||void 0===k?void 0:k.indexOf(e.getEditorKey()))||1===y.length&&1===T.size&&T.first().getText()===b)return void e.update(v(e._latestEditorState,T))}else if(T&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&m(y,T))return void e.update(v(e._latestEditorState,T));if(x){var C=s.processHTML(x,e.props.blockRenderMap);if(C){var S=C.contentBlocks,O=C.entityMap;if(S){var M=n.createFromArray(S);return void e.update(v(e._latestEditorState,M,O))}}}e.setClipboard(null)}if(y.length){var P=i.create({style:A.getCurrentInlineStyle(),entity:c(A.getCurrentContent(),A.getSelection())}),B=u.getCurrentBlockType(A),L=s.processText(y,P,B),D=n.createFromArray(L);e.update(v(e._latestEditorState,D))}}}function v(e,t,r){var n=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return l.push(e,n.set("entityMap",r),"insert-fragment")}function m(e,t){return e.length===t.size&&t.valueSeq().every((function(t,r){return t.getText()===e[r]}))}e.exports=h},"904e":function(e,t,r){"use strict";var n=r("ef00");function i(e){return e.which===n.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}e.exports=i},9070:function(e,t){function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}e.exports=r},9092:function(e,t,r){"use strict";var n=r("1385"),i=Array.isArray;function o(e,t){var r,n;for(r=0;r<e.length;r++){if(n=e[r],null!==n&&"object"===typeof n)return!1;void 0!==n&&(t[r]=n)}return!0}function a(e,t,r,s){var l,u,c,f,p,d,h,v=e[0],m=e.length;if(2===m&&i(v)&&i(e[1])&&0===v.length){if(h=o(e[1],v),h)return v;v.splice(0,v.length)}for(var g=1;g<m;g++)for(u in l=e[g],l)c=v[u],f=l[u],s&&i(f)?v[u]=f:t&&f&&(n(f)||(p=i(f)))?(p?(p=!1,d=c&&i(c)?c:[]):d=c&&n(c)?c:{},v[u]=a([d,f],t,r,s)):("undefined"!==typeof f||r)&&(v[u]=f);return v}t.extendFlat=function(){return a(arguments,!1,!1,!1)},t.extendDeep=function(){return a(arguments,!0,!1,!1)},t.extendDeepAll=function(){return a(arguments,!0,!0,!1)},t.extendDeepNoArrays=function(){return a(arguments,!0,!1,!0)}},"90a6":function(e,t,r){"use strict";e.exports=r("838d")},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9103:function(e,t,r){"use strict";var n=r("d115"),i=r("215c").hasColorscale,o=r("4183");e.exports=function(e,t,r,a,s){r("marker.color",a),i(e,"marker")&&o(e,t,s,r,{prefix:"marker.",cLetter:"c"}),r("marker.line.color",n.defaultLine),i(e,"marker.line")&&o(e,t,s,r,{prefix:"marker.line.",cLetter:"c"}),r("marker.line.width"),r("marker.opacity"),r("selected.marker.color"),r("unselected.marker.color")}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},"911e":function(e,t,r){var n=r("48c2");function i(e,t,r){t="number"===typeof t?t:1,r=r||": ";var i=e.split(/\r?\n/),o=String(i.length+t-1).length;return i.map((function(e,i){var a=i+t,s=String(a).length,l=n(a,o-s);return l+r+e})).join("\n")}e.exports=i},"913b":function(e,t){function r(e,t){var r=t[0],n=t[1],i=t[2],o=r*r+n*n+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}e.exports=r},9143:function(e,t,r){"use strict";var n=r("fc26"),i=r("3fe8"),o=r("5793"),a=r("6657");function s(e,t,r,n){r(n+".line.color"),r(n+".line.width",t.line.width),r(n+".line.dash",t.line.dash)}e.exports=function(e,t,r,l){function u(r,i){return n.coerce(e,t,a,r,i)}var c=i(e,t,u,l);c?(o(e,t,l,u,{x:!0}),u("line.width"),u("line.dash"),s(e,t,u,"increasing"),s(e,t,u,"decreasing"),u("text"),u("hovertext"),u("tickwidth"),l._requestRangeslider[t.xaxis]=!0):t.visible=!1}},9152:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,p=r?-1:1,d=e[t+f];for(f+=p,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?p/l:p*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=h,a/=256,u-=8);e[r+d-h]|=128*v}},9168:function(e,t,r){"use strict";r("da67");function n(e,t){var r=e.getSelection(),n=e.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),a=i,s=0;if(t>o){var l=n.getKeyBefore(i);if(null==l)a=i;else{a=l;var u=n.getBlockForKey(l);s=u.getText().length}}else s=o-t;return r.merge({focusKey:a,focusOffset:s,isBackward:!0})}e.exports=n},"919e":function(e,t,r){"use strict";var n=r("a876"),i=r("81f0").attributes,o=r("9845"),a=r("dfb3"),s=r("94d5").hovertemplateAttrs,l=r("94d5").texttemplateAttrs,u=r("9092").extendFlat,c=o({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:a.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:u({},n.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:s({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:u({},c,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:u({},c,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:u({},c,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:u({},c,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:i({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:u({},c,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}},"91ae":function(e,t,r){e.exports=r("e13b")},"91b8":function(e,t,r){"use strict";e.exports=i;var n=r("5cf9");function i(e,t){t||(t=e,e=window);var r=0,i=0,o=0,a={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(e){var t=!1;return"altKey"in e&&(t=t||e.altKey!==a.alt,a.alt=!!e.altKey),"shiftKey"in e&&(t=t||e.shiftKey!==a.shift,a.shift=!!e.shiftKey),"ctrlKey"in e&&(t=t||e.ctrlKey!==a.control,a.control=!!e.ctrlKey),"metaKey"in e&&(t=t||e.metaKey!==a.meta,a.meta=!!e.metaKey),t}function u(e,s){var u=n.x(s),c=n.y(s);"buttons"in s&&(e=0|s.buttons),(e!==r||u!==i||c!==o||l(s))&&(r=0|e,i=u||0,o=c||0,t&&t(r,i,o,a))}function c(e){u(0,e)}function f(){(r||i||o||a.shift||a.alt||a.meta||a.control)&&(i=o=0,r=0,a.shift=a.alt=a.control=a.meta=!1,t&&t(0,0,0,a))}function p(e){l(e)&&t&&t(r,i,o,a)}function d(e){0===n.buttons(e)?u(0,e):u(r,e)}function h(e){u(r|n.buttons(e),e)}function v(e){u(r&~n.buttons(e),e)}function m(){s||(s=!0,e.addEventListener("mousemove",d),e.addEventListener("mousedown",h),e.addEventListener("mouseup",v),e.addEventListener("mouseleave",c),e.addEventListener("mouseenter",c),e.addEventListener("mouseout",c),e.addEventListener("mouseover",c),e.addEventListener("blur",f),e.addEventListener("keyup",p),e.addEventListener("keydown",p),e.addEventListener("keypress",p),e!==window&&(window.addEventListener("blur",f),window.addEventListener("keyup",p),window.addEventListener("keydown",p),window.addEventListener("keypress",p)))}function g(){s&&(s=!1,e.removeEventListener("mousemove",d),e.removeEventListener("mousedown",h),e.removeEventListener("mouseup",v),e.removeEventListener("mouseleave",c),e.removeEventListener("mouseenter",c),e.removeEventListener("mouseout",c),e.removeEventListener("mouseover",c),e.removeEventListener("blur",f),e.removeEventListener("keyup",p),e.removeEventListener("keydown",p),e.removeEventListener("keypress",p),e!==window&&(window.removeEventListener("blur",f),window.removeEventListener("keyup",p),window.removeEventListener("keydown",p),window.removeEventListener("keypress",p)))}m();var y={element:e};return Object.defineProperties(y,{enabled:{get:function(){return s},set:function(e){e?m():g()},enumerable:!0},buttons:{get:function(){return r},enumerable:!0},x:{get:function(){return i},enumerable:!0},y:{get:function(){return o},enumerable:!0},mods:{get:function(){return a},enumerable:!0}}),y}},"91cd":function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("fc26"),a=r("bb71"),s=r("83d1"),l=r("ad62").getModuleCalcData,u=r("3c1c"),c=r("d301"),f=r("73c9"),p=o.ensureSingle;function d(e,t,r){return o.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function h(e,t,r,o,a){for(var u,f,p,d=c.traceLayerClasses,h=e._fullLayout,v=h._modules,m=[],g=[],y=0;y<v.length;y++){u=v[y];var b=u.name,x=i.modules[b].categories;if(x.svg){var A=u.layerName||b+"layer",w=u.plot;f=l(r,w),p=f[0],r=f[1],p.length&&m.push({i:d.indexOf(A),className:A,plotMethod:w,cdModule:p}),x.zoomScale&&g.push("."+A)}}m.sort((function(e,t){return e.i-t.i}));var _=t.plot.selectAll("g.mlayer").data(m,(function(e){return e.className}));if(_.enter().append("g").attr("class",(function(e){return e.className})).classed("mlayer",!0).classed("rangeplot",t.isRangePlot),_.exit().remove(),_.order(),_.each((function(r){var i=n.select(this),l=r.className;r.plotMethod(e,t,r.cdModule,i,o,a),-1===c.clipOnAxisFalseQuery.indexOf("."+l)&&s.setClipUrl(i,t.layerClipId,e)})),h._has("scattergl")&&(u=i.getModule("scattergl"),p=l(r,u)[0],u.plot(e,t,p)),!e._context.staticPlot&&(t._hasClipOnAxisFalse&&(t.clipOnAxisFalseTraces=t.plot.selectAll(c.clipOnAxisFalseQuery.join(",")).selectAll(".trace")),g.length)){var E=t.plot.selectAll(g.join(",")).selectAll(".trace");t.zoomScalePts=E.selectAll("path.point"),t.zoomScaleTxt=E.selectAll(".textpoint")}}function v(e){var t,r,n,i,o,a,s=e._fullLayout,l=s._subplots.cartesian,u=l.length,c=[],f=[];for(t=0;t<u;t++){n=l[t],i=s._plots[n],o=i.xaxis,a=i.yaxis;var p=o._mainAxis,d=a._mainAxis,h=p._id+d._id,v=s._plots[h];i.overlays=[],h!==n&&v?(i.mainplot=h,i.mainplotinfo=v,f.push(n)):(i.mainplot=void 0,i.mainplotinfo=void 0,c.push(n))}for(t=0;t<f.length;t++)n=f[t],i=s._plots[n],i.mainplotinfo.overlays.push(i);var m=c.concat(f),g=new Array(u);for(t=0;t<u;t++){n=m[t],i=s._plots[n],o=i.xaxis,a=i.yaxis;var y=[n,o.layer,a.layer,o.overlaying||"",a.overlaying||""];for(r=0;r<i.overlays.length;r++)y.push(i.overlays[r].id);g[t]=y}return g}function m(e,t){var r=t.plotgroup,n=t.id,i=c.layerValue2layerClass[t.xaxis.layer],o=c.layerValue2layerClass[t.yaxis.layer],a=e._fullLayout._hasOnlyLargeSploms;if(t.mainplot){var s=t.mainplotinfo,l=s.plotgroup,f=n+"-x",h=n+"-y";t.gridlayer=s.gridlayer,t.zerolinelayer=s.zerolinelayer,p(s.overlinesBelow,"path",f),p(s.overlinesBelow,"path",h),p(s.overaxesBelow,"g",f),p(s.overaxesBelow,"g",h),t.plot=p(s.overplot,"g",n),p(s.overlinesAbove,"path",f),p(s.overlinesAbove,"path",h),p(s.overaxesAbove,"g",f),p(s.overaxesAbove,"g",h),t.xlines=l.select(".overlines-"+i).select("."+f),t.ylines=l.select(".overlines-"+o).select("."+h),t.xaxislayer=l.select(".overaxes-"+i).select("."+f),t.yaxislayer=l.select(".overaxes-"+o).select("."+h)}else if(a)t.xlines=p(r,"path","xlines-above"),t.ylines=p(r,"path","ylines-above"),t.xaxislayer=p(r,"g","xaxislayer-above"),t.yaxislayer=p(r,"g","yaxislayer-above");else{var v=p(r,"g","layer-subplot");t.shapelayer=p(v,"g","shapelayer"),t.imagelayer=p(v,"g","imagelayer"),t.gridlayer=p(r,"g","gridlayer"),t.zerolinelayer=p(r,"g","zerolinelayer"),p(r,"path","xlines-below"),p(r,"path","ylines-below"),t.overlinesBelow=p(r,"g","overlines-below"),p(r,"g","xaxislayer-below"),p(r,"g","yaxislayer-below"),t.overaxesBelow=p(r,"g","overaxes-below"),t.plot=p(r,"g","plot"),t.overplot=p(r,"g","overplot"),t.xlines=p(r,"path","xlines-above"),t.ylines=p(r,"path","ylines-above"),t.overlinesAbove=p(r,"g","overlines-above"),p(r,"g","xaxislayer-above"),p(r,"g","yaxislayer-above"),t.overaxesAbove=p(r,"g","overaxes-above"),t.xlines=r.select(".xlines-"+i),t.ylines=r.select(".ylines-"+o),t.xaxislayer=r.select(".xaxislayer-"+i),t.yaxislayer=r.select(".yaxislayer-"+o)}a||(d(t.gridlayer,"g",t.xaxis._id),d(t.gridlayer,"g",t.yaxis._id),t.gridlayer.selectAll("g").map((function(e){return e[0]})).sort(u.idSort)),t.xlines.style("fill","none").classed("crisp",!0),t.ylines.style("fill","none").classed("crisp",!0)}function g(e,t){if(e){var r={};for(var i in e.each((function(e){var i=e[0],o=n.select(this);o.remove(),y(i,t),r[i]=!0})),t._plots)for(var o=t._plots[i],a=o.overlays||[],s=0;s<a.length;s++){var l=a[s];r[l.id]&&l.plot.selectAll(".trace").remove()}}}function y(e,t){t._draggers.selectAll("g."+e).remove(),t._defs.select("#clip"+t._uid+e+"plot").remove()}t.name="cartesian",t.attr=["xaxis","yaxis"],t.idRoot=["x","y"],t.idRegex=c.idRegex,t.attrRegex=c.attrRegex,t.attributes=r("3ff7"),t.layoutAttributes=r("d798"),t.supplyLayoutDefaults=r("8378"),t.transitionAxes=r("0446"),t.finalizeSubplots=function(e,t){var r,n,i,a=t._subplots,s=a.xaxis,l=a.yaxis,f=a.cartesian,p=f.concat(a.gl2d||[]),d={},h={};for(r=0;r<p.length;r++){var v=p[r].split("y");d[v[0]]=1,h["y"+v[1]]=1}for(r=0;r<s.length;r++)n=s[r],d[n]||(i=(e[u.id2name(n)]||{}).anchor,c.idRegex.y.test(i)||(i="y"),f.push(n+i),p.push(n+i),h[i]||(h[i]=1,o.pushUnique(l,i)));for(r=0;r<l.length;r++)i=l[r],h[i]||(n=(e[u.id2name(i)]||{}).anchor,c.idRegex.x.test(n)||(n="x"),f.push(n+i),p.push(n+i),d[n]||(d[n]=1,o.pushUnique(s,n)));if(!p.length){for(var m in n="",i="",e)if(c.attrRegex.test(m)){var g=m.charAt(0);"x"===g?(!n||+m.substr(5)<+n.substr(5))&&(n=m):(!i||+m.substr(5)<+i.substr(5))&&(i=m)}n=n?u.name2id(n):"x",i=i?u.name2id(i):"y",s.push(n),l.push(i),f.push(n+i)}},t.plot=function(e,t,r,n){var i,o=e._fullLayout,a=o._subplots.cartesian,s=e.calcdata;if(!Array.isArray(t))for(t=[],i=0;i<s.length;i++)t.push(i);for(i=0;i<a.length;i++){for(var l,u=a[i],c=o._plots[u],f=[],p=0;p<s.length;p++){var d=s[p],v=d[0].trace;v.xaxis+v.yaxis===u&&((-1!==t.indexOf(v.index)||v.carpet)&&(l&&l[0].trace.xaxis+l[0].trace.yaxis===u&&-1!==["tonextx","tonexty","tonext"].indexOf(v.fill)&&-1===f.indexOf(l)&&f.push(l),f.push(d)),l=d)}h(e,c,f,r,n)}},t.clean=function(e,t,r,n){var i,o,a,s=n._plots||{},l=t._plots||{},c=n._subplots||{};if(n._hasOnlyLargeSploms&&!t._hasOnlyLargeSploms)for(a in s)i=s[a],i.plotgroup&&i.plotgroup.remove();var f=n._has&&n._has("gl"),p=t._has&&t._has("gl");if(f&&!p)for(a in s)i=s[a],i._scene&&i._scene.destroy();if(c.xaxis&&c.yaxis){var d=u.listIds({_fullLayout:n});for(o=0;o<d.length;o++){var h=d[o];t[u.id2name(h)]||n._infolayer.selectAll(".g-"+h+"title").remove()}}var v=n._has&&n._has("cartesian"),m=t._has&&t._has("cartesian");if(v&&!m)g(n._cartesianlayer.selectAll(".subplot"),n),n._defs.selectAll(".axesclip").remove(),delete n._axisConstraintGroups,delete n._axisMatchGroups;else if(c.cartesian)for(o=0;o<c.cartesian.length;o++){var b=c.cartesian[o];if(!l[b]){var x="."+b+",."+b+"-x,."+b+"-y";n._cartesianlayer.selectAll(x).remove(),y(b,n)}}},t.drawFramework=function(e){var t=e._fullLayout,r=v(e),i=t._cartesianlayer.selectAll(".subplot").data(r,String);i.enter().append("g").attr("class",(function(e){return"subplot "+e[0]})),i.order(),i.exit().call(g,t),i.each((function(r){var i=r[0],o=t._plots[i];o.plotgroup=n.select(this),m(e,o),o.draglayer=p(t._draggers,"g",i)}))},t.rangePlot=function(e,t,r){m(e,t),h(e,t,r),a.style(e)},t.toSVG=function(e){var t=e._fullLayout._glimages,r=n.select(e).selectAll(".svg-container"),i=r.filter((function(e,t){return t===r.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus");function o(){var e=this,r=e.toDataURL("image/png"),n=t.append("svg:image");n.attr({xmlns:f.svg,"xlink:href":r,preserveAspectRatio:"none",x:0,y:0,width:e.width,height:e.height})}i.each(o)},t.updateFx=r("1aea").updateFx},"91ce":function(e,t,r){"use strict";e.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},waterfallgap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},"91cf":function(e,t,r){"use strict";var n=r("174f"),i=r("cce4");function o(e){var t=e;while(t&&t!==n(e).documentElement){var r=i(t);if(null!=r)return r;t=t.parentNode}return null}e.exports=o},"91dc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 5.313h5.313v5.375H0zm5.313 16V16H0v10.688h10.688v-5.375zm5.375-16h5.313v5.375h-5.313zm-5.375 5.375h5.375v5.313H5.313zm10.687 0h5.313v5.313H16zM10.688 16h5.313v5.313h-5.313zm16-10.687h-5.375v5.375h5.375v5.313h5.313V5.313zM21.313 16h5.375v5.313h-5.375zM16 21.313h5.313v5.375H16zm10.688 0h5.313v5.375h-5.313z"}))};t.default=u},"91e1":function(e,t,r){"use strict";var n=r("a026"),i=r("0dd1");function o(e,t){if(1===e.length)return i(t,e[0]);if(1===t.length)return i(e,t[0]);if(0===e.length||0===t.length)return[0];var r=[0];if(e.length<t.length)for(var o=0;o<e.length;++o)r=n(r,i(t,e[o]));else for(o=0;o<t.length;++o)r=n(r,i(e,t[o]));return r}e.exports=o},"91e3":function(e,t,r){"use strict";var n=r("e9bd"),i=r("62c4"),o=r("692b"),a=r("1c4a").iterator,s=Array.isArray;e.exports=function(e){return!!i(e)&&(!!s(e)||(!!o(e)||(!!n(e)||"function"===typeof e[a])))}},"91e9":function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},9236:function(e,t,r){"use strict";var n=r("d6fb"),i=r("0642").hoverLabelText;e.exports=function(e,t,r,o,a,s){var l=n(e,t,r,o,a,s);if(l){e=l[0];var u=e.index,c=u[0],f=u[1],p=e.cd[0],d=p.xRanges[f],h=p.yRanges[c];return e.xLabel=i(e.xa,d[0],d[1]),e.yLabel=i(e.ya,h[0],h[1]),l}}},9263:function(e,t,r){"use strict";var n=r("ad6d"),i=r("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,l=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],f=l||c||u;f&&(s=function(e){var t,r,i,s,f=this,p=u&&f.sticky,d=n.call(f),h=f.source,v=0,m=e;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),m=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",m=" "+m,v++),r=new RegExp("^(?:"+h+")",d)),c&&(r=new RegExp("^"+h+"$(?!\\s)",d)),l&&(t=f.lastIndex),i=o.call(p?r:f,m),p?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:l&&i&&(f.lastIndex=f.global?i.index+i[0].length:t),c&&i&&i.length>1&&a.call(i[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}),e.exports=s},"927d":function(e,t,r){"use strict";var n=r("7fb7"),i=r("9845")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});i.family.dflt=n.HOVERFONT,i.size.dflt=n.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:i,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}},"92ba":function(e,t,r){"use strict";var n=r("c01c"),i=r("a026"),o=r("0dd1"),a=r("e100"),s=5,l=11102230246251565e-32,u=(3+16*l)*l,c=(7+56*l)*l;function f(e,t){for(var r=new Array(e.length-1),n=1;n<e.length;++n)for(var i=r[n-1]=new Array(e.length-1),o=0,a=0;o<e.length;++o)o!==t&&(i[a++]=e[n][o]);return r}function p(e){for(var t=new Array(e),r=0;r<e;++r){t[r]=new Array(e);for(var n=0;n<e;++n)t[r][n]=["m",n,"[",e-r-1,"]"].join("")}return t}function d(e){return 1&e?"-":""}function h(e){if(1===e.length)return e[0];if(2===e.length)return["sum(",e[0],",",e[1],")"].join("");var t=e.length>>1;return["sum(",h(e.slice(0,t)),",",h(e.slice(t)),")"].join("")}function v(e){if(2===e.length)return[["sum(prod(",e[0][0],",",e[1][1],"),prod(-",e[0][1],",",e[1][0],"))"].join("")];for(var t=[],r=0;r<e.length;++r)t.push(["scale(",h(v(f(e,r))),",",d(r),e[0][r],")"].join(""));return t}function m(e){for(var t=[],r=[],s=p(e),l=[],u=0;u<e;++u)0===(1&u)?t.push.apply(t,v(f(s,u))):r.push.apply(r,v(f(s,u))),l.push("m"+u);var c=h(t),d=h(r),m="orientation"+e+"Exact",g=["function ",m,"(",l.join(),"){var p=",c,",n=",d,",d=sub(p,n);return d[d.length-1];};return ",m].join(""),y=new Function("sum","prod","scale","sub",g);return y(i,n,o,a)}var g=m(3),y=m(4),b=[function(){return 0},function(){return 0},function(e,t){return t[0]-e[0]},function(e,t,r){var n,i=(e[1]-r[1])*(t[0]-r[0]),o=(e[0]-r[0])*(t[1]-r[1]),a=i-o;if(i>0){if(o<=0)return a;n=i+o}else{if(!(i<0))return a;if(o>=0)return a;n=-(i+o)}var s=u*n;return a>=s||a<=-s?a:g(e,t,r)},function(e,t,r,n){var i=e[0]-n[0],o=t[0]-n[0],a=r[0]-n[0],s=e[1]-n[1],l=t[1]-n[1],u=r[1]-n[1],f=e[2]-n[2],p=t[2]-n[2],d=r[2]-n[2],h=o*u,v=a*l,m=a*s,g=i*u,b=i*l,x=o*s,A=f*(h-v)+p*(m-g)+d*(b-x),w=(Math.abs(h)+Math.abs(v))*Math.abs(f)+(Math.abs(m)+Math.abs(g))*Math.abs(p)+(Math.abs(b)+Math.abs(x))*Math.abs(d),_=c*w;return A>_||-A>_?A:y(e,t,r,n)}];function x(e){var t=b[e.length];return t||(t=b[e.length]=m(e.length)),t.apply(void 0,e)}function A(){while(b.length<=s)b.push(m(b.length));for(var t=[],r=["slow"],n=0;n<=s;++n)t.push("a"+n),r.push("o"+n);var i=["function getOrientation(",t.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(n=2;n<=s;++n)i.push("case ",n,":return o",n,"(",t.slice(0,n).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation"),r.push(i.join(""));var o=Function.apply(void 0,r);e.exports=o.apply(void 0,[x].concat(b));for(n=0;n<=s;++n)e.exports[n]=b[n]}A()},9308:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",stroke:"#dfe8f3",d:"M5.5 6H41v35.5H5.5zM5.5 11.2H41M5.5 16.4H41M5.5 21.1H41M5.5 26.3H41M5.5 31.4H41M5.5 36.6H41M10.7 41.4V6M15.8 41.5V6M20.5 41.5V6M25.7 41.5V6M30.9 41.5V6M36 41.5V6",strokeMiterlimit:"10",strokeWidth:".25"}),o.default.createElement("path",{d:"M0 0h46v46H0z",fill:"none"}),o.default.createElement("path",{d:"M31.1 27.4l-2.2 3.3-4.4 1.1-2.2-2.2H19l-6 1.1-3.3-2.2 3.7-4.4v-3.3h5l4 2.9 4.3-2.9 8.9 6.6z",fill:"#27d1f0",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"}),o.default.createElement("path",{d:"M35.5 27.4l-8.9-6.6-4.3 2.9-4-2.9h-5l-2.8-1.7v-2.2l-1.1-1.1-1.1 1.1-1.1-1.1v-4.4h2.2l2.2-1.1h2.2l3.3 2.2h3.3l4.4-2.2 3.3 3.3-3.1 3.3h5.5v-2.2h3.3v1.1l1.1 1.1 1.1-1.1 3.3 3.3v3.3h-3.9v5zm-9.4 7.2L25 35.7h-1.1l.6-3.9-2.2-2.2H19l-6 1.1 7.6 3.9v2.2l3.3 2.2h2.2l1.1-1.1v-2.2z",fill:"#1d9bfb",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"}))};t.default=u},9343:function(e,t){function r(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],p=t[10],d=t[11],h=t[12],v=t[13],m=t[14],g=t[15],y=r*s-n*a,b=r*l-i*a,x=r*u-o*a,A=n*l-i*s,w=n*u-o*s,_=i*u-o*l,E=c*v-f*h,k=c*m-p*h,T=c*g-d*h,C=f*m-p*v,S=f*g-d*v,O=p*g-d*m,M=y*O-b*S+x*C+A*T-w*k+_*E;return M?(M=1/M,e[0]=(s*O-l*S+u*C)*M,e[1]=(i*S-n*O-o*C)*M,e[2]=(v*_-m*w+g*A)*M,e[3]=(p*w-f*_-d*A)*M,e[4]=(l*T-a*O-u*k)*M,e[5]=(r*O-i*T+o*k)*M,e[6]=(m*x-h*_-g*b)*M,e[7]=(c*_-p*x+d*b)*M,e[8]=(a*S-s*T+u*E)*M,e[9]=(n*T-r*S-o*E)*M,e[10]=(h*w-v*x+g*y)*M,e[11]=(f*x-c*w-d*y)*M,e[12]=(s*k-a*C-l*E)*M,e[13]=(r*C-n*k+i*E)*M,e[14]=(v*b-h*A-m*y)*M,e[15]=(c*A-f*b+p*y)*M,e):null}e.exports=r},9351:function(e,t,r){"use strict";e.exports=u;var n=r("8cf2"),i=r("dfdf"),o=r("91b8"),a=r("a5dd"),s=r("8b98"),l=r("1477");function u(e,t){e=e||document.body,t=t||{};var r=[.01,1/0];"distanceLimits"in t&&(r[0]=t.distanceLimits[0],r[1]=t.distanceLimits[1]),"zoomMin"in t&&(r[0]=t.zoomMin),"zoomMax"in t&&(r[1]=t.zoomMax);var u=i({center:t.center||[0,0,0],up:t.up||[0,1,0],eye:t.eye||[0,0,10],mode:t.mode||"orbit",distanceLimits:r}),c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0,p=e.clientWidth,d=e.clientHeight,h={keyBindingMode:"rotate",enableWheel:!0,view:u,element:e,delay:t.delay||16,rotateSpeed:t.rotateSpeed||1,zoomSpeed:t.zoomSpeed||1,translateSpeed:t.translateSpeed||1,flipX:!!t.flipX,flipY:!!t.flipY,modes:u.modes,_ortho:t._ortho||t.projection&&"orthographic"===t.projection.type||!1,tick:function(){var t=n(),r=this.delay,i=t-2*r;u.idle(t-r),u.recalcMatrix(i),u.flush(t-(100+2*r));for(var o=!0,a=u.computedMatrix,s=0;s<16;++s)o=o&&c[s]===a[s],c[s]=a[s];var l=e.clientWidth===p&&e.clientHeight===d;return p=e.clientWidth,d=e.clientHeight,o?!l:(f=Math.exp(u.computedRadius[0]),!0)},lookAt:function(e,t,r){u.lookAt(u.lastT(),e,t,r)},rotate:function(e,t,r){u.rotate(u.lastT(),e,t,r)},pan:function(e,t,r){u.pan(u.lastT(),e,t,r)},translate:function(e,t,r){u.translate(u.lastT(),e,t,r)}};return Object.defineProperties(h,{matrix:{get:function(){return u.computedMatrix},set:function(e){return u.setMatrix(u.lastT(),e),u.computedMatrix},enumerable:!0},mode:{get:function(){return u.getMode()},set:function(e){var t=u.computedUp.slice(),r=u.computedEye.slice(),i=u.computedCenter.slice();if(u.setMode(e),"turntable"===e){var o=n();u._active.lookAt(o,r,i,t),u._active.lookAt(o+500,r,i,[0,0,1]),u._active.flush(o)}return u.getMode()},enumerable:!0},center:{get:function(){return u.computedCenter},set:function(e){return u.lookAt(u.lastT(),null,e),u.computedCenter},enumerable:!0},eye:{get:function(){return u.computedEye},set:function(e){return u.lookAt(u.lastT(),e),u.computedEye},enumerable:!0},up:{get:function(){return u.computedUp},set:function(e){return u.lookAt(u.lastT(),null,null,e),u.computedUp},enumerable:!0},distance:{get:function(){return f},set:function(e){return u.setDistance(u.lastT(),e),e},enumerable:!0},distanceLimits:{get:function(){return u.getDistanceLimits(r)},set:function(e){return u.setDistanceLimits(e),e},enumerable:!0}}),e.addEventListener("contextmenu",(function(e){return e.preventDefault(),!1})),h._lastX=-1,h._lastY=-1,h._lastMods={shift:!1,control:!1,alt:!1,meta:!1},h.enableMouseListeners=function(){function t(t,r,i,o){var a=h.keyBindingMode;if(!1!==a){var s="rotate"===a,l="pan"===a,c="zoom"===a,p=!!o.control,d=!!o.alt,v=!!o.shift,m=!!(1&t),g=!!(2&t),y=!!(4&t),b=1/e.clientHeight,x=b*(r-h._lastX),A=b*(i-h._lastY),w=h.flipX?1:-1,_=h.flipY?1:-1,E=Math.PI*h.rotateSpeed,k=n();if(-1!==h._lastX&&-1!==h._lastY&&((s&&m&&!p&&!d&&!v||m&&!p&&!d&&v)&&u.rotate(k,w*E*x,-_*E*A,0),(l&&m&&!p&&!d&&!v||g||m&&p&&!d&&!v)&&u.pan(k,-h.translateSpeed*x*f,h.translateSpeed*A*f,0),c&&m&&!p&&!d&&!v||y||m&&!p&&d&&!v)){var T=-h.zoomSpeed*A/window.innerHeight*(k-u.lastT())*100;u.pan(k,0,0,f*(Math.exp(T)-1))}return h._lastX=r,h._lastY=i,h._lastMods=o,!0}}h.mouseListener=o(e,t),e.addEventListener("touchstart",(function(r){var n=s(r.changedTouches[0],e);t(0,n[0],n[1],h._lastMods),t(1,n[0],n[1],h._lastMods)}),!!l&&{passive:!0}),e.addEventListener("touchmove",(function(r){var n=s(r.changedTouches[0],e);t(1,n[0],n[1],h._lastMods),r.preventDefault()}),!!l&&{passive:!1}),e.addEventListener("touchend",(function(e){t(0,h._lastX,h._lastY,h._lastMods)}),!!l&&{passive:!0}),h.wheelListener=a(e,(function(e,t){if(!1!==h.keyBindingMode&&h.enableWheel){var r=h.flipX?1:-1,i=h.flipY?1:-1,o=n();if(Math.abs(e)>Math.abs(t))u.rotate(o,0,0,-e*r*Math.PI*h.rotateSpeed/window.innerWidth);else if(!h._ortho){var a=-h.zoomSpeed*i*t/window.innerHeight*(o-u.lastT())/20;u.pan(o,0,0,f*(Math.exp(a)-1))}}}),!0)},h.enableMouseListeners(),h}},9364:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};function i(e){if(null==e)return e;var t={},r=!1,i=!0,o=!1,a=void 0;try{for(var s,l=Object.keys(e)[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value,c=u;n.hasOwnProperty(u)&&(c=n[u],r=!0),t[c]=e[u]}}catch(f){o=!0,a=f}finally{try{!i&&l.return&&l.return()}finally{if(o)throw a}}return r?t:e}t.default=i},"936a":function(e,t,r){"use strict";var n=void 0;e.exports=function(e){return e!==n&&null!==e}},9371:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=c(r("ab5b")),o=l(r("d7bc")),a=r("4578"),s=r("e419");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.deleteShape=i.deleteShape.bind(y(i)),i.updateShape=i.updateShape.bind(y(i)),i.moveShape=i.moveShape.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.shapeIndex,n=t.container,i=t.fullContainer,o=n.shapes||[],a=i.shapes||[];this.container=o[r],this.fullContainer=a[r]}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("shapes[].".concat(t)):null},updateContainer:this.updateShape,deleteContainer:this.deleteShape,container:this.container,fullContainer:this.fullContainer,moveContainer:this.moveShape}}},{key:"updateShape",value:function(e){var t={},r=this.props.shapeIndex;for(var n in e){var i="shapes[".concat(r,"].").concat(n);t[i]=e[n]}this.context.updateContainer(t)}},{key:"deleteShape",value:function(){this.context.onUpdate&&this.context.onUpdate({type:s.EDITOR_ACTIONS.DELETE_SHAPE,payload:{shapeIndex:this.props.shapeIndex}})}},{key:"moveShape",value:function(e){if(this.context.onUpdate){var t=this.props.shapeIndex,r="up"===e?t-1:t+1;this.context.onUpdate({type:s.EDITOR_ACTIONS.MOVE_TO,payload:{fromIndex:t,toIndex:r,path:"layout.shapes"}})}}},{key:"render",value:function(){return i.default.createElement(e,this.props)}}]),n}(i.Component);t.displayName="ShapeConnected".concat((0,a.getDisplayName)(e)),t.propTypes={shapeIndex:o.default.number.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func,moveContainer:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},9375:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},"937b":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=h(r("ab5b")),o=r("4578"),a=p(r("5174")),s=p(r("7515")),l=p(r("d7bc")),u=p(r("ad9c")),c=r("8704"),f=r("e419");function p(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){return w(e)||A(e)||x(e)||b()}function b(){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 x(e,t){if(e){if("string"===typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function A(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function w(e){if(Array.isArray(e))return _(e)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t&&k(e.prototype,t),r&&k(e,r),e}function C(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&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function O(e){var t=B();return function(){var r,n=L(e);if(t){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return M(this,r)}}function M(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var D=function(e){C(r,e);var t=O(r);function r(){return E(this,r),t.apply(this,arguments)}return T(r,[{key:"getAllGroups",value:function(){var e=this;return y(new Set(this.context.data.map((function(t){return t[e.props.attr]})))).filter((function(e){return Boolean(e)}))}},{key:"canAddGroup",value:function(){var e=this.props,t=e.fullContainer,r=e.attr,n=t[r],i=t.index;return t.index===f.MULTI_VALUED?0===this.getAllGroups().length:!n||this.context.fullData.some((function(e){return e.index!==i&&e[r]===n}))}},{key:"addAndUpdateGroup",value:function(){var e=this,t=this.context.fullData.map((function(t){return parseInt(t[e.props.attr],10)})).filter((function(e){return Number.isInteger(e)}));t.push(0);var r=Math.max.apply(Math,t);this.props.updatePlot(r+1)}},{key:"render",value:function(){var e=this,t=this.context.localize,r=this.props,n=r.attr,o=r.label,a=r.prefix,l=r.updatePlot,f=[{label:t("None"),value:""}],p=this.getAllGroups();p.forEach((function(e){return f.push({label:"".concat(a," ").concat(e),value:e})})),f.sort((function(e,t){return e.value-t.value}));var d=i.default.createElement(c.PlusIcon,null),h=this.canAddGroup()?i.default.createElement(u.default,{variant:"no-text",icon:d,onClick:function(){return e.addAndUpdateGroup()}}):i.default.createElement(u.default,{variant:"no-text--disabled",icon:d,onClick:function(){}});return i.default.createElement(s.default,{label:o,attr:n,clearable:!1,options:f,updatePlot:l,extraComponent:h})}}]),r}(i.Component);D.propTypes=m({attr:l.default.string,fullContainer:l.default.object,prefix:l.default.string},a.default.propTypes),D.contextTypes={localize:l.default.func,data:l.default.array,fullData:l.default.array},D.displayName="UnconnectedGroupCreator";var I=(0,o.connectToContainer)(D);t.default=I},9398:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("d837"),i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}t.default=i.default},"93a6":function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26");function o(e,t,r){var o=e._fullLayout,a=o["_"+r+"Text_minsize"];if(a){var s,l="hide"===o.uniformtext.mode;switch(r){case"funnelarea":case"pie":case"sunburst":s="g.slice";break;case"treemap":s="g.slice, g.pathbar";break;default:s="g.points > g.point"}t.selectAll(s).each((function(e){var t=e.transform;if(t){t.scale=l&&t.hide?0:a/t.fontSize;var r=n.select(this).select("text");r.attr("transform",i.getTextTransform(t))}}))}}function a(e,t,r){if(r.uniformtext.mode){var n=l(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o<i,r[n]=r[n]||1/0,t.hide||(r[n]=Math.min(r[n],Math.max(o,i)))}}function s(e,t){var r=l(e);t[r]=void 0}function l(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:a,clearMinTextSize:s,resizeText:o}},"93b9":function(e,t,r){"use strict";var n=r("fc26"),i=r("6921"),o=r("bb71"),a=r("b1a4").pointsAccessorFunction;function s(e,t){var r,s,l,u,c,f,p,d,h,v,m=t.transform,g=t.transformIndex,y=e.transforms[g].groups,b=a(e.transforms,m);if(!n.isArrayOrTypedArray(y)||0===y.length)return[e];var x=n.filterUnique(y),A=new Array(x.length),w=y.length,_=i.findArrayAttributes(e),E=m.styles||[],k={};for(r=0;r<E.length;r++)k[E[r].target]=E[r].value;m.styles&&(v=n.keyedContainer(m,"styles","target","value.name"));var T={},C={};for(r=0;r<x.length;r++){f=x[r],T[f]=r,C[f]=0,p=A[r]=n.extendDeepNoArrays({},e),p._group=f,p.transforms[g]._indexToPoints={};var S=null;for(v&&(S=v.get(f)),p.name=S||""===S?S:n.templateString(m.nameformat,{trace:e.name,group:f}),d=p.transforms,p.transforms=[],s=0;s<d.length;s++)p.transforms[s]=n.extendDeepNoArrays({},d[s]);for(s=0;s<_.length;s++)n.nestedProperty(p,_[s]).set([])}for(l=0;l<_.length;l++){for(u=_[l],s=0,h=[];s<x.length;s++)h[s]=n.nestedProperty(A[s],u).get();for(c=n.nestedProperty(e,u).get(),s=0;s<w;s++)h[T[y[s]]].push(c[s])}for(s=0;s<w;s++){p=A[T[y[s]]];var O=p.transforms[g]._indexToPoints;O[C[y[s]]]=b(s),C[y[s]]++}for(r=0;r<x.length;r++)f=x[r],p=A[r],o.clearExpandedTraceDefaultColors(p),p=n.extendDeepNoArrays(p,k[f]||{});return A}t.moduleType="transform",t.name="groupby",t.attributes={enabled:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether this group-by transform is enabled or disabled."].join(" ")},groups:{valType:"data_array",dflt:[],role:"info",editType:"calc",description:["Sets the groups in which the trace data will be split.","For example, with `x` set to *[1, 2, 3, 4]* and","`groups` set to *['a', 'b', 'a', 'b']*,","the groupby transform with split in one trace","with `x` [1, 3] and one trace with `x` [2, 4]."].join(" ")},nameformat:{valType:"string",role:"info",editType:"calc",description:["Pattern by which grouped traces are named. If only one trace is present,",'defaults to the group name (`"%{group}"`), otherwise defaults to the group name','with trace name (`"%{group} (%{trace})"`). Available escape sequences are `%{group}`, which',"inserts the group name, and `%{trace}`, which inserts the trace name. If grouping","GDP data by country when more than one trace is present, for example, the",'default "%{group} (%{trace})" would return "Monaco (GDP per capita)".'].join(" ")},styles:{_isLinkedToArray:"style",target:{valType:"string",role:"info",editType:"calc",description:["The group value which receives these styles."].join(" ")},value:{valType:"any",role:"info",dflt:{},editType:"calc",description:["Sets each group styles.","For example, with `groups` set to *['a', 'b', 'a', 'b']*","and `styles` set to *[{target: 'a', value: { marker: { color: 'red' } }}]","marker points in group *'a'* will be drawn in red."].join(" "),_compareAsJSON:!0},editType:"calc"},editType:"calc"},t.supplyDefaults=function(e,r,i){var o,a={};function s(r,i){return n.coerce(e,a,t.attributes,r,i)}var l=s("enabled");if(!l)return a;s("groups"),s("nameformat",i._dataLength>1?"%{group} (%{trace})":"%{group}");var u=e.styles,c=a.styles=[];if(u)for(o=0;o<u.length;o++){var f=c[o]={};n.coerce(u[o],c[o],t.attributes.styles,"target");var p=n.coerce(u[o],c[o],t.attributes.styles,"value");n.isPlainObject(p)?f.value=n.extendDeep({},p):p&&delete f.value}return a},t.transform=function(e,t){var r,n,i,o=[];for(n=0;n<e.length;n++)for(r=s(e[n],t),i=0;i<r.length;i++)o.push(r[i]);return o}},"93ed":function(e,t,r){var n=r("4245");function i(e){var t=n(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=i},9403:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M18,8C19.1,8 20,8.9 20,10V20C20,21.1 19.1,22 18,22H6C4.89,22 4,21.1 4,20V10C4,8.9 4.9,8 6,8H15V6C15,4.34 13.66,3 12,3C10.34,3 9,4.34 9,6H7C7,3.24 9.24,1 12,1C14.76,1 17,3.24 17,6V8H18M12,17C13.1,17 14,16.1 14,15C14,13.9 13.1,13 12,13C10.9,13 10,13.9 10,15C10,16.1 10.9,17 12,17Z"}))};e.exports=s},"941b":function(e,t,r){"use strict";var n=r("4991"),i=r("8784"),o=r("0005");function a(e){e.sort(i);for(var t=e.length,r=0,a=0;a<t;++a){var s=e[a],l=o(s);if(0!==l){if(r>0){var u=e[r-1];if(0===n(s,u)&&o(u)!==l){r-=1;continue}}e[r++]=s}}return e.length=r,e}e.exports=a},9452:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("24f7"),o=i.Map,a=i.OrderedSet,s=i.Record,l=a(),u={style:l,entity:null},c=s(u),f=function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,r){var n=e.set("style",e.getStyle().add(r));return t.create(n)},t.removeStyle=function(e,r){var n=e.set("style",e.getStyle().remove(r));return t.create(n)},t.applyEntity=function(e,r){var n=e.getEntity()===r?e:e.set("entity",r);return t.create(n)},t.create=function(e){if(!e)return p;var r={style:l,entity:null},n=o(r).merge(e),i=d.get(n);if(i)return i;var a=new t(n);return d=d.set(n,a),a},t.fromJS=function(e){var r=e.style,n=e.entity;return new t({style:Array.isArray(r)?a(r):r,entity:Array.isArray(n)?a(n):n})},t}(c),p=new f,d=o([[o(u),p]]);f.EMPTY=p,e.exports=f},"94ca":function(e,t,r){var n=r("d039"),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},"94d5":function(e,t,r){"use strict";var n=r("78df").FORMAT_LINK,i=r("78df").DATE_FORMAT_LINK,o=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',n,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',i,"for details on the date formatting syntax."].join(" ");function a(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],i=0;i<r.length;i++)n[i]="`"+r[i]+"`";t+="Finally, the template string has access to ",t=1===r.length?"variable "+n[0]:"variables "+n.slice(0,-1).join(", ")+" and "+n.slice(-1)+"."}return t}t.hovertemplateAttrs=function(e,t){e=e||{},t=t||{};var r=a(t),n={valType:"string",role:"info",dflt:"",editType:e.editType||"none",description:["Template string used for rendering the information that appear on hover box.","Note that this will override `hoverinfo`.",o,"The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.","Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r,'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',"To hide the secondary box completely, use an empty tag `<extra></extra>`."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},t.texttemplateAttrs=function(e,t){e=e||{},t=t||{};var r=a(t),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",o,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}},"94ee":function(e,t,r){"use strict";var n,i,o,a=r("f508"),s=r("b380"),l=r("7c4a").Symbol,u=r("964d"),c=r("e03f"),f=r("25be"),p=Object.create,d=Object.defineProperties,h=Object.defineProperty;if("function"===typeof l)try{String(l()),o=!0}catch(v){}else l=null;i=function(e){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return n(e)},e.exports=n=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?l(t):(r=p(i.prototype),t=void 0===t?"":String(t),d(r,{__description__:a("",t),__name__:a("",u(t))}))},c(n),f(n),d(i.prototype,{constructor:a(n),toString:a("",(function(){return this.__name__}))}),d(n.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),h(n.prototype,n.toPrimitive,a("",(function(){var e=s(this);return"symbol"===typeof e?e:e.toString()}))),h(n.prototype,n.toStringTag,a("c","Symbol")),h(i.prototype,n.toStringTag,a("c",n.prototype[n.toStringTag])),h(i.prototype,n.toPrimitive,a("c",n.prototype[n.toPrimitive]))},9509:function(e,t,r){"use strict";e.exports={attributes:r("ce65"),supplyDefaults:r("191c"),colorbar:r("f3cf"),formatLabels:r("8ac3"),calc:r("ed0e"),plot:r("e7d5"),style:r("52e8").style,styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("aa6e"),selectPoints:r("214c"),eventData:r("d844"),moduleType:"trace",name:"scatterternary",basePlotModule:r("ae84"),categories:["ternary","symbols","showLegend","scatter-like"],meta:{hrName:"scatter_ternary",description:["Provides similar functionality to the *scatter* type but on a ternary phase diagram.","The data is provided by at least two arrays out of `a`, `b`, `c` triplets."].join(" ")}}},"950a":function(e,t,r){var n=r("30c9");function i(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);var o=r.length,a=t?o:-1,s=Object(r);while(t?a--:++a<o)if(!1===i(s[a],a,s))break;return r}}e.exports=i},9520:function(e,t,r){var n=r("3729"),i=r("1a8c"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!i(e))return!1;var t=n(e);return t==a||t==s||t==o||t==l}e.exports=u},9547:function(e,t,r){"use strict";e.exports=function(e,t){for(var r=e.length,n=0,i=0;i<r;i++)t[i]?(e[i]/=t[i],n+=e[i]):e[i]=null;return n}},9573:function(e,t){function r(e,t,r){var n=new Float32Array(3);return n[0]=e,n[1]=t,n[2]=r,n}e.exports=r},9576:function(e,t){function r(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e}e.exports=r},"958a":function(e,t,r){"use strict";t.manage=r("a9e4")},9597:function(e,t,r){"use strict";var n=r("09cf"),i=r("fc26"),o=r("3c1c"),a=r("ce56").findExtremes,s=r("8797"),l=r("70b4"),u=l.calcMarkerSize,c=l.calcAxisExpansion,f=l.setFirstScatter,p=r("09bd"),d=r("c879"),h=r("3a04"),v=r("e806").BADNUM,m=r("b326").TOO_MANY_POINTS;function g(e,t,r){var n=e._extremes[t._id],i=a(t,r._bnds,{padded:!0});n.min=n.min.concat(i.min),n.max=n.max.concat(i.max)}function y(e,t,r,n,o,a){var s=d.style(e,r);if(s.marker&&(s.marker.positions=n),s.line&&n.length>1&&i.extendFlat(s.line,d.linePositions(e,r,n)),s.errorX||s.errorY){var l=d.errorBarPositions(e,r,n,o,a);s.errorX&&i.extendFlat(s.errorX,l.x),s.errorY&&i.extendFlat(s.errorY,l.y)}return s.text&&(i.extendFlat(s.text,{positions:n},d.textPosition(e,r,s.text,s.marker)),i.extendFlat(s.textSel,{positions:n},d.textPosition(e,r,s.text,s.markerSel)),i.extendFlat(s.textUnsel,{positions:n},d.textPosition(e,r,s.text,s.markerUnsel))),s}e.exports=function(e,t){var r,i,a,l=e._fullLayout,d=o.getFromId(e,t.xaxis),b=o.getFromId(e,t.yaxis),x=l._plots[t.xaxis+t.yaxis],A=t._length,w=A>=m,_=2*A,E={},k=d.makeCalcdata(t,"x"),T=b.makeCalcdata(t,"y"),C=s(t,d,"x",k),S=s(t,b,"y",T);t._x=C,t._y=S,t.xperiodalignment&&(t._origX=k),t.yperiodalignment&&(t._origY=T);var O=new Array(_);for(r=0;r<A;r++)i=C[r],a=S[r],O[2*r]=i===v?NaN:i,O[2*r+1]=a===v?NaN:a;if("log"===d.type)for(r=0;r<_;r+=2)O[r]=d.c2l(O[r]);if("log"===b.type)for(r=1;r<_;r+=2)O[r]=b.c2l(O[r]);if(w&&"log"!==d.type&&"log"!==b.type)E.tree=n(O);else{var M=E.ids=new Array(A);for(r=0;r<A;r++)M[r]=r}p(e,t);var P,B=y(e,x,t,O,C,S),L=h(e,x);return f(l,t),w?B.marker&&(P=2*(B.marker.sizeAvg||Math.max(B.marker.size,3))):P=u(t,A),c(e,t,d,b,C,S,P),B.errorX&&g(t,d,B.errorX),B.errorY&&g(t,b,B.errorY),B.fill&&!L.fill2d&&(L.fill2d=!0),B.marker&&!L.scatter2d&&(L.scatter2d=!0),B.line&&!L.line2d&&(L.line2d=!0),!B.errorX&&!B.errorY||L.error2d||(L.error2d=!0),B.text&&!L.glText&&(L.glText=!0),B.marker&&(B.marker.snap=A),L.lineOptions.push(B.line),L.errorXOptions.push(B.errorX),L.errorYOptions.push(B.errorY),L.fillOptions.push(B.fill),L.markerOptions.push(B.marker),L.markerSelectedOptions.push(B.markerSel),L.markerUnselectedOptions.push(B.markerUnsel),L.textOptions.push(B.text),L.textSelectedOptions.push(B.textSel),L.textUnselectedOptions.push(B.textUnsel),L.selectBatch.push([]),L.unselectBatch.push([]),E._scene=L,E.index=L.count,E.x=C,E.y=S,E.positions=O,L.count++,[{x:!1,y:!1,t:E,trace:t}]}},"95c9":function(e,t){function r(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e}e.exports=r},"95e6":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("d7bc")),o=c(r("ab5b")),a=f(r("8297")),s=r("4578"),l=f(r("e209"));function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(e){var n;p(this,r),n=t.call(this,e);var i=n.computeMenuOptions(e),o=i.filter((function(e){return e.panels}))[0];return n.state={group:o.name,panel:o.panels[0]},n.setPanel=n.setPanel.bind(b(n)),n.renderSection=n.renderSection.bind(b(n)),n}return h(r,[{key:"setPanel",value:function(e,t){this.setState({group:e,panel:t})}},{key:"getChildContext",value:function(){return{setPanel:this.setPanel}}},{key:"renderSection",value:function(e,t){return e.type&&(e.type.plotly_editor_traits||{}).sidebar_element?(0,o.cloneElement)(e,{key:t}):o.default.createElement(a.default,{key:t,selectedGroup:this.state.group,selectedPanel:this.state.panel,group:e.name,panels:e.panels,onChangeGroup:this.setPanel})}},{key:"computeMenuOptions",value:function(e){var t,r=e.children,n=e.menuPanelOrder,i=[],a={},s=(0,l.default)(o.default.Children.toArray(r),n);return s.forEach((function(e){if(e){var r,n=e.props.group,o=e.props.name;if(n&&o)a.hasOwnProperty(n)?(t=a[n],r=i[t]):(a[n]=i.length,r={name:n,panels:[]},i.push(r)),r.panels.push(o);(e.type.plotly_editor_traits||{}).sidebar_element&&i.push(e)}})),i}},{key:"render",value:function(){var e=this,t=this.computeMenuOptions(this.props);return o.default.createElement("div",{className:(0,s.bem)("editor_controls","wrapper")},o.default.createElement("div",{className:(0,s.bem)("sidebar")},t.map(this.renderSection)),o.default.Children.map(this.props.children,(function(t,r){return null===t||e.state.group!==t.props.group||e.state.panel!==t.props.name?null:(0,o.cloneElement)(t,{key:r})})))}}]),r}(o.Component);w.propTypes={children:i.default.node,menuPanelOrder:i.default.array},w.childContextTypes={setPanel:i.default.func};var _=w;t.default=_},"95ee":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32 6.438c0 3.563-2.875 6.5-6.438 6.5s-6.5-2.938-6.5-6.5C19.062 2.875 22 0 25.562 0S32 2.875 32 6.438zM11.563 8.875h5.75v-5.75h-5.75zM0 8.875h5.75v-5.75H0zM23.125 20.5h5.75v-5.813h-5.75zm0 11.5h5.75v-5.75h-5.75z"}))};t.default=u},"962a":function(e,t,r){"use strict";var n=r("ae96"),i=r("878a"),o=r("46bc"),a=r("da69");function s(e){return[Math.min(e[0],e[1]),Math.max(e[0],e[1])]}function l(e,t){return e[0]-t[0]||e[1]-t[1]}function u(e){return e.map(s).sort(l)}function c(e,t,r){return t in e?e[t]:r}function f(e,t,r){Array.isArray(t)?(r=r||{},t=t||[]):(r=t||{},t=[]);var s=!!c(r,"delaunay",!0),l=!!c(r,"interior",!0),f=!!c(r,"exterior",!0),p=!!c(r,"infinity",!1);if(!l&&!f||0===e.length)return[];var d=n(e,t);if(s||l!==f||p){for(var h=i(e.length,u(t)),v=0;v<d.length;++v){var m=d[v];h.addTriangle(m[0],m[1],m[2])}return s&&o(e,h),f?l?p?a(h,0,p):h.cells():a(h,1,p):a(h,-1)}return d}e.exports=f},9633:function(e,t,r){"use strict";e.exports=r("93b9")},9638:function(e,t){function r(e,t){return e===t||e!==e&&t!==t}e.exports=r},"964d":function(e,t,r){"use strict";var n=r("f508"),i=Object.create,o=Object.defineProperty,a=Object.prototype,s=i(null);e.exports=function(e){var t,r,i=0;while(s[e+(i||"")])++i;return e+=i||"",s[e]=!0,t="@@"+e,o(a,t,n.gs(null,(function(e){r||(r=!0,o(this,t,n(e)),r=!1)}))),t}},9662:function(e,t,r){"use strict";(function(t){e.exports=s;var n=r("b993"),i=window||t.global||{},o=i.__TEXT_CACHE||{};function a(e){for(var t=e.cells,r=e.positions,n=new Float32Array(6*t.length),i=0,o=0,a=0;a<t.length;++a)for(var s=t[a],l=0;l<3;++l){var u=r[s[l]];n[i++]=u[0],n[i++]=u[1]+1.4,o=Math.max(u[0],o)}return{data:n,shape:o}}function s(e,t,r){r=r||{};var i=o[e];i||(i=o[e]={" ":{data:new Float32Array(0),shape:.2}});var l=i[t];if(!l)if(t.length<=1||!/\d/.test(t))l=i[t]=a(n(t,{triangles:!0,font:e,textAlign:r.textAlign||"left",textBaseline:"alphabetic",styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}}));else{for(var u=t.split(/(\d|\s)/),c=new Array(u.length),f=0,p=0,d=0;d<u.length;++d)c[d]=s(e,u[d]),f+=c[d].data.length,p+=c[d].shape,d>0&&(p+=.02);var h=new Float32Array(f),v=0,m=-.5*p;for(d=0;d<c.length;++d){for(var g=c[d].data,y=0;y<g.length;y+=2)h[v++]=g[y]+m,h[v++]=g[y+1];m+=c[d].shape+.02}l=i[t]={data:h,shape:p}}return l}i.__TEXT_CACHE={}}).call(this,r("4362"))},"966f":function(e,t,r){var n=r("7e64"),i=r("c05f"),o=1,a=2;function s(e,t,r,s){var l=r.length,u=l,c=!s;if(null==e)return!u;e=Object(e);while(l--){var f=r[l];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}while(++l<u){f=r[l];var p=f[0],d=e[p],h=f[1];if(c&&f[2]){if(void 0===d&&!(p in e))return!1}else{var v=new n;if(s)var m=s(d,h,p,e,t,v);if(!(void 0===m?i(h,d,o|a,s,v):m))return!1}}return!0}e.exports=s},9676:function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("1477"),a=r("371e"),s=r("fc26"),l=s.strTranslate,u=r("0379"),c=r("d115"),f=r("83d1"),p=r("a5c4"),d=r("0642"),h=r("0f37"),v=r("4efe"),m=r("e21b"),g=m.selectingOrDrawing,y=m.freeMode,b=r("63dc").FROM_TL,x=r("821b"),A=r("a392").redrawReglTraces,w=r("bb71"),_=r("3c1c").getFromId,E=r("1876").prepSelect,k=r("1876").clearSelect,T=r("1876").selectOnClick,C=r("9759"),S=r("d301"),O=S.MINDRAG,M=S.MINZOOM,P=!0;function B(e,t,r,o,l,c,h,m){var P,B,L,Q,J,ee,te,re,ne,ie,oe,ae,se,le,ue,ce,fe,pe,de,he,ve,me,ge,ye=e._fullLayout._zoomlayer,be=h+m==="nsew",xe=1===(h+m).length;function Ae(){if(P=t.xaxis,B=t.yaxis,ne=P._length,ie=B._length,te=P._offset,re=B._offset,L={},L[P._id]=P,Q={},Q[B._id]=B,h&&m)for(var r=t.overlays,n=0;n<r.length;n++){var i=r[n].xaxis;L[i._id]=i;var o=r[n].yaxis;Q[o._id]=o}J=Z(L),ee=Z(Q),se=I(J,m),le=I(ee,h),ue=!le&&!se,ae=Y(e,e._fullLayout._axisMatchGroups,L,Q),oe=Y(e,e._fullLayout._axisConstraintGroups,L,Q,ae);var a=oe.isSubplotConstrained||ae.isSubplotConstrained;ce=m||a,fe=h||a;var s=e._fullLayout;pe=s._has("scattergl"),de=s._has("splom"),he=s._has("svg")}Ae();var we=z(le+se,e._fullLayout.dragmode,be),_e=D(t,h+m+"drag",we,r,o,l,c);if(ue&&!be)return _e.onmousedown=null,_e.style.pointerEvents="none",_e;var Ee,ke,Te,Ce,Se,Oe,Me,Pe,Be,Le,De={element:_e,gd:e,plotinfo:t};function Ie(){De.plotinfo.selection=!1,k(e)}function je(e,r){var i=De.gd;if(i._fullLayout._activeShapeIndex>=0)i._fullLayout._deactivateShape(i);else{var o=i._fullLayout.clickmode;if(W(i),2!==e||xe||$e(),be)o.indexOf("select")>-1&&T(r,i,J,ee,t.id,De),o.indexOf("event")>-1&&p.click(i,r,t.id);else if(1===e&&xe){var s=h?B:P,l="s"===h||"w"===m?0:1,c=s._name+".range["+l+"]",f=j(s,l),d="left",v="middle";if(s.fixedrange)return;h?(v="n"===h?"top":"bottom","right"===s.side&&(d="right")):"e"===m&&(d="right"),i._context.showAxisRangeEntryBoxes&&n.select(_e).call(u.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(f),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:d,verticalAlign:v}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&a.call("_guiRelayout",i,c,t)}))}}}function Re(t,r,n){var o=_e.getBoundingClientRect();Ee=r-o.left,ke=n-o.top,e._fullLayout._calcInverseTransform(e);var a=s.apply3DTransform(e._fullLayout._invTransform)(Ee,ke);Ee=a[0],ke=a[1],Te={l:Ee,r:Ee,w:0,t:ke,b:ke,h:0},Ce=e._hmpixcount?e._hmlumcount/e._hmpixcount:i(e._fullLayout.plot_bgcolor).getLuminance(),Se="M0,0H"+ne+"V"+ie+"H0V0",Oe=!1,Me="xy",Le=!1,Pe=U(ye,Ce,te,re,Se),Be=H(ye,te,re)}function Fe(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min(ne,me*t+Ee)),i=Math.max(0,Math.min(ie,ge*r+ke)),o=Math.abs(n-Ee),a=Math.abs(i-ke);function s(){Me="",Te.r=Te.l,Te.t=Te.b,Be.attr("d","M0,0Z")}if(Te.l=Math.min(Ee,n),Te.r=Math.max(Ee,n),Te.t=Math.min(ke,i),Te.b=Math.max(ke,i),oe.isSubplotConstrained)o>M||a>M?(Me="xy",o/ne>a/ie?(a=o*ie/ne,ke>i?Te.t=ke-a:Te.b=ke+a):(o=a*ne/ie,Ee>n?Te.l=Ee-o:Te.r=Ee+o),Be.attr("d",$(Te))):s();else if(ae.isSubplotConstrained)if(o>M||a>M){Me="xy";var l=Math.min(Te.l/ne,(ie-Te.b)/ie),u=Math.max(Te.r/ne,(ie-Te.t)/ie);Te.l=l*ne,Te.r=u*ne,Te.b=(1-l)*ie,Te.t=(1-u)*ie,Be.attr("d",$(Te))}else s();else!le||a<Math.min(Math.max(.6*o,O),M)?o<O||!se?s():(Te.t=0,Te.b=ie,Me="x",Be.attr("d",q(Te,ke))):!se||o<Math.min(.6*a,M)?(Te.l=0,Te.r=ne,Me="y",Be.attr("d",G(Te,Ee))):(Me="xy",Be.attr("d",$(Te)));Te.w=Te.r-Te.l,Te.h=Te.b-Te.t,Me&&(Le=!0),e._dragged=Le,V(Pe,Be,Te,Se,Oe,Ce),Ne(),e.emit("plotly_relayouting",ve),Oe=!0}function Ne(){ve={},"xy"!==Me&&"x"!==Me||(R(J,Te.l/ne,Te.r/ne,ve,oe.xaxes),qe("x",ve)),"xy"!==Me&&"y"!==Me||(R(ee,(ie-Te.b)/ie,(ie-Te.t)/ie,ve,oe.yaxes),qe("y",ve))}function ze(){Ne(),W(e),Ye(),K(e)}De.prepFn=function(t,r,n){var i=De.dragmode,o=e._fullLayout.dragmode;o!==i&&(De.dragmode=o),Ae(),me=e._fullLayout._invScaleX,ge=e._fullLayout._invScaleY,ue||(be?t.shiftKey?"pan"===o?o="zoom":g(o)||(o="pan"):t.ctrlKey&&(o="pan"):o="pan"),y(o)?De.minDrag=1:De.minDrag=void 0,g(o)?(De.xaxes=J,De.yaxes=ee,E(t,r,n,De,o)):(De.clickFn=je,g(i)&&Ie(),ue||("zoom"===o?(De.moveFn=Fe,De.doneFn=ze,De.minDrag=1,Re(t,r,n)):"pan"===o&&(De.moveFn=Ke,De.doneFn=Ye))),e._fullLayout._redrag=function(){var t=e._dragdata;if(t&&t.element===_e){var r=e._fullLayout.dragmode;g(r)||(Ae(),Xe([0,0,ne,ie]),De.moveFn(t.dx,t.dy))}}},v.init(De);var Ue=[0,0,ne,ie],He=null,Ve=S.REDRAWDELAY,Qe=t.mainplot?e._fullLayout._plots[t.mainplot]:t;function We(t){if(e._context._scrollZoom.cartesian||e._fullLayout._enablescrollzoom){if(Ie(),e._transitioningWithDuration)return t.preventDefault(),void t.stopPropagation();Ae(),clearTimeout(He);var r=-t.deltaY;if(isFinite(r)||(r=t.wheelDelta/10),isFinite(r)){var n,i=Math.exp(-Math.min(Math.max(r,-20),20)/200),o=Qe.draglayer.select(".nsewdrag").node().getBoundingClientRect(),a=(t.clientX-o.left)/o.width,l=(o.bottom-t.clientY)/o.height;if(ce){for(m||(a=.5),n=0;n<J.length;n++)u(J[n],a,i);qe("x"),Ue[2]*=i,Ue[0]+=Ue[2]*a*(1/i-1)}if(fe){for(h||(l=.5),n=0;n<ee.length;n++)u(ee[n],l,i);qe("y"),Ue[3]*=i,Ue[1]+=Ue[3]*(1-l)*(1/i-1)}Xe(Ue),Ge(),e.emit("plotly_relayouting",ve),He=setTimeout((function(){Ue=[0,0,ne,ie],Ye()}),Ve),t.preventDefault()}else s.log("Did not find wheel motion attributes: ",t)}function u(e,t,r){if(!e.fixedrange){var n=s.simpleMap(e.range,e.r2l),i=n[0]+(n[1]-n[0])*t;e.range=n.map(o)}function o(t){return e.l2r(i+(t-i)*r)}}}function Ke(t,r){if(t*=me,r*=ge,!e._transitioningWithDuration){if(e._fullLayout._replotting=!0,"ew"===se||"ns"===le){var n=se?-t:0,i=le?-r:0;if(ae.isSubplotConstrained){if(se&&le){var o=(t/ne-r/ie)/2;t=o*ne,r=-o*ie,n=-t,i=-r}le?n=-i*ne/ie:i=-n*ie/ne}return se&&(F(J,t),qe("x")),le&&(F(ee,r),qe("y")),Xe([n,i,ne,ie]),Ge(),void e.emit("plotly_relayouting",ve)}var a,s,l="w"===se===("n"===le)?1:-1;if(se&&le&&(oe.isSubplotConstrained||ae.isSubplotConstrained)){var u=(t/ne+l*r/ie)/2;t=u*ne,r=l*u*ie}if("w"===se?t=d(J,0,t):"e"===se?t=d(J,1,-t):se||(t=0),"n"===le?r=d(ee,1,r):"s"===le?r=d(ee,0,-r):le||(r=0),a="w"===se?t:0,s="n"===le?r:0,oe.isSubplotConstrained&&!ae.isSubplotConstrained||ae.isSubplotConstrained&&se&&le&&l>0){var c;if(ae.isSubplotConstrained||!se&&1===le.length){for(c=0;c<J.length;c++)J[c].range=J[c]._r.slice(),C(J[c],1-r/ie);t=r*ne/ie,a=t/2}if(ae.isSubplotConstrained||!le&&1===se.length){for(c=0;c<ee.length;c++)ee[c].range=ee[c]._r.slice(),C(ee[c],1-t/ne);r=t*ie/ne,s=r/2}}ae.isSubplotConstrained&&le||qe("x"),ae.isSubplotConstrained&&se||qe("y");var f=ne-t,p=ie-r;!ae.isSubplotConstrained||se&&le||(se?(s=a?0:t*ie/ne,p=f*ie/ne):(a=s?0:r*ne/ie,f=p*ne/ie)),Xe([a,s,f,p]),Ge(),e.emit("plotly_relayouting",ve)}function d(e,t,r){for(var n,i,o=1-t,a=0;a<e.length;a++){var s=e[a];if(!s.fixedrange){n=s,i=s._rl[o]+(s._rl[t]-s._rl[o])/N(r/s._length);var l=s.l2r(i);!1!==l&&void 0!==l&&(s.range[t]=l)}}return n._length*(n._rl[t]-i)/(n._rl[t]-n._rl[o])}}function qe(e,t){for(var r=ae.isSubplotConstrained?{x:ee,y:J}[e]:ae[e+"axes"],n=ae.isSubplotConstrained?{x:J,y:ee}[e]:[],i=0;i<r.length;i++){var o=r[i],a=o._id,s=ae.xLinks[a]||ae.yLinks[a],l=n[0]||L[s]||Q[s];l&&(t?(t[o._name+".range[0]"]=t[l._name+".range[0]"],t[o._name+".range[1]"]=t[l._name+".range[1]"]):o.range=l.range.slice())}}function Ge(){var t,r=[];function n(e){for(t=0;t<e.length;t++)e[t].fixedrange||r.push(e[t]._id)}for(ce&&(n(J),n(oe.xaxes),n(ae.xaxes)),fe&&(n(ee),n(oe.yaxes),n(ae.yaxes)),ve={},t=0;t<r.length;t++){var i=r[t],o=_(e,i);d.drawOne(e,o,{skipTitle:!0}),ve[o._name+".range[0]"]=o.range[0],ve[o._name+".range[1]"]=o.range[1]}d.redrawComponents(e,r)}function $e(){if(!e._transitioningWithDuration){var t=e._context.doubleClick,r=[];se&&(r=r.concat(J)),le&&(r=r.concat(ee)),ae.xaxes&&(r=r.concat(ae.xaxes)),ae.yaxes&&(r=r.concat(ae.yaxes));var n,i,o,s={};if("reset+autosize"===t)for(t="autosize",i=0;i<r.length;i++)if(n=r[i],n._rangeInitial&&(n.range[0]!==n._rangeInitial[0]||n.range[1]!==n._rangeInitial[1])||!n._rangeInitial&&!n.autorange){t="reset";break}if("autosize"===t)for(i=0;i<r.length;i++)n=r[i],n.fixedrange||(s[n._name+".autorange"]=!0);else if("reset"===t)for((se||oe.isSubplotConstrained)&&(r=r.concat(oe.xaxes)),le&&!oe.isSubplotConstrained&&(r=r.concat(oe.yaxes)),oe.isSubplotConstrained&&(se?le||(r=r.concat(ee)):r=r.concat(J)),i=0;i<r.length;i++)n=r[i],n.fixedrange||(n._rangeInitial?(o=n._rangeInitial,s[n._name+".range[0]"]=o[0],s[n._name+".range[1]"]=o[1]):s[n._name+".autorange"]=!0);e.emit("plotly_doubleclick",null),a.call("_guiRelayout",e,s)}}function Ye(){Xe([0,0,ne,ie]),s.syncOrAsync([w.previousPromises,function(){e._fullLayout._replotting=!1,a.call("_guiRelayout",e,ve)}],e)}function Xe(t){var r,n,i,o,l=e._fullLayout,u=l._plots,c=l._subplots.cartesian;if(de&&a.subplotsRegistry.splom.drag(e),pe)for(r=0;r<c.length;r++)if(n=u[c[r]],i=n.xaxis,o=n.yaxis,n._scene){var p=s.simpleMap(i.range,i.r2l),d=s.simpleMap(o.range,o.r2l);n._scene.update({range:[p[0],d[0],p[1],d[1]]})}if((de||pe)&&(x(e),A(e)),he){var v=t[2]/P._length,g=t[3]/B._length;for(r=0;r<c.length;r++){n=u[c[r]],i=n.xaxis,o=n.yaxis;var y,b,w,_,E=(ce||ae.isSubplotConstrained)&&!i.fixedrange&&L[i._id],k=(fe||ae.isSubplotConstrained)&&!o.fixedrange&&Q[o._id];if(E?(y=v,w=m||ae.isSubplotConstrained?t[0]:et(i,y)):ae.xaHash[i._id]?(y=v,w=t[0]*i._length/P._length):ae.yaHash[i._id]?(y=g,w="ns"===le?-t[1]*i._length/B._length:et(i,y,{n:"top",s:"bottom"}[le])):(y=Ze(i,v,g),w=Je(i,y)),k?(b=g,_=h||ae.isSubplotConstrained?t[1]:et(o,b)):ae.yaHash[o._id]?(b=g,_=t[1]*o._length/B._length):ae.xaHash[o._id]?(b=v,_="ew"===se?-t[0]*o._length/P._length:et(o,b,{e:"right",w:"left"}[se])):(b=Ze(o,v,g),_=Je(o,b)),y||b){y||(y=1),b||(b=1);var T=i._offset-w/y,C=o._offset-_/b;n.clipRect.call(f.setTranslate,w,_).call(f.setScale,y,b),n.plot.call(f.setTranslate,T,C).call(f.setScale,1/y,1/b),y===n.xScaleFactor&&b===n.yScaleFactor||(f.setPointGroupScale(n.zoomScalePts,y,b),f.setTextPointsScale(n.zoomScaleTxt,y,b)),f.hideOutsideRangePoints(n.clipOnAxisFalseTraces,n),n.xScaleFactor=y,n.yScaleFactor=b}}}}function Ze(e,t,r){return e.fixedrange?0:ce&&oe.xaHash[e._id]?t:fe&&(oe.isSubplotConstrained?oe.xaHash:oe.yaHash)[e._id]?r:0}function Je(e,t){return t?(e.range=e._r.slice(),C(e,t),et(e,t)):0}function et(e,t,r){return e._length*(1-t)*b[r||e.constraintoward||"middle"]}return h.length*m.length!==1&&X(_e,We),_e}function L(e,t,r,n){var i=s.ensureSingle(e.draglayer,t,r,(function(t){t.classed("drag",!0).style({fill:"transparent","stroke-width":0}).attr("data-subplot",e.id)}));return i.call(h,n),i.node()}function D(e,t,r,i,o,a,s){var l=L(e,"rect",t,r);return n.select(l).call(f.setRect,i,o,a,s),l}function I(e,t){for(var r=0;r<e.length;r++)if(!e[r].fixedrange)return t;return""}function j(e,t){var r,i=e.range[t],o=Math.abs(i-e.range[1-t]);return"date"===e.type?i:"log"===e.type?(r=Math.ceil(Math.max(0,-Math.log(o)/Math.LN10))+3,n.format("."+r+"g")(Math.pow(10,i))):(r=Math.floor(Math.log(Math.abs(i))/Math.LN10)-Math.floor(Math.log(o)/Math.LN10)+4,n.format("."+String(r)+"g")(i))}function R(e,t,r,n,i){for(var o=0;o<e.length;o++){var a=e[o];if(!a.fixedrange)if(a.rangebreaks){var s="y"===a._id.charAt(0),l=s?1-t:t,u=s?1-r:r;n[a._name+".range[0]"]=a.l2r(a.p2l(l*a._length)),n[a._name+".range[1]"]=a.l2r(a.p2l(u*a._length))}else{var c=a._rl[0],f=a._rl[1]-c;n[a._name+".range[0]"]=a.l2r(c+f*t),n[a._name+".range[1]"]=a.l2r(c+f*r)}}if(i&&i.length){var p=(t+(1-r))/2;R(i,p,1-p,n,[])}}function F(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n.fixedrange)if(n.rangebreaks){var i=0,o=n._length,a=n.p2l(i+t)-n.p2l(i),s=n.p2l(o+t)-n.p2l(o),l=(a+s)/2;n.range=[n.l2r(n._rl[0]-l),n.l2r(n._rl[1]-l)]}else n.range=[n.l2r(n._rl[0]-t/n._m),n.l2r(n._rl[1]-t/n._m)]}}function N(e){return 1-(e>=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function z(e,t,r){return e?"nsew"===e?r?"":"pan"===t?"move":"crosshair":e.toLowerCase()+"-resize":"pointer"}function U(e,t,r,n,i){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(r,n)).attr("d",i+"Z")}function H(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(t,r)).attr("d","M0,0Z")}function V(e,t,r,n,i,o){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),Q(e,t,i,o)}function Q(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function W(e){n.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function K(e){P&&e.data&&e._context.showTips&&(s.notifier(s._(e,"Double-click to zoom back out"),"long"),P=!1)}function q(e,t){return"M"+(e.l-.5)+","+(t-M-.5)+"h-3v"+(2*M+1)+"h3ZM"+(e.r+.5)+","+(t-M-.5)+"h3v"+(2*M+1)+"h-3Z"}function G(e,t){return"M"+(t-M-.5)+","+(e.t-.5)+"v-3h"+(2*M+1)+"v3ZM"+(t-M-.5)+","+(e.b+.5)+"v3h"+(2*M+1)+"v-3Z"}function $(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,M)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function Y(e,t,r,n,i){for(var o,a,l,u,c=!1,f={},p={},d=(i||{}).xaHash,h=(i||{}).yaHash,v=0;v<t.length;v++){var m=t[v];for(o in r)if(m[o]){for(l in m)i&&(d[l]||h[l])||("x"===l.charAt(0)?r:n)[l]||(f[l]=o);for(a in n)i&&(d[a]||h[a])||!m[a]||(c=!0)}for(a in n)if(m[a])for(u in m)i&&(d[u]||h[u])||("x"===u.charAt(0)?r:n)[u]||(p[u]=a)}c&&(s.extendFlat(f,p),p={});var g={},y=[];for(l in f){var b=_(e,l);y.push(b),g[b._id]=b}var x={},A=[];for(u in p){var w=_(e,u);A.push(w),x[w._id]=w}return{xaHash:g,yaHash:x,xaxes:y,yaxes:A,xLinks:f,yLinks:p,isSubplotConstrained:c}}function X(e,t){if(o){var r=void 0!==e.onwheel?"wheel":"mousewheel";e._onwheel&&e.removeEventListener(r,e._onwheel),e._onwheel=t,e.addEventListener(r,t,{passive:!1})}else void 0!==e.onwheel?e.onwheel=t:void 0!==e.onmousewheel?e.onmousewheel=t:e.isAddedWheelEvent||(e.isAddedWheelEvent=!0,e.addEventListener("wheel",t,{passive:!1}))}function Z(e){var t=[];for(var r in e)t.push(e[r]);return t}e.exports={makeDragBox:B,makeDragger:L,makeRectDragger:D,makeZoombox:U,makeCorners:H,updateZoombox:V,xyCorners:$,transitionZoombox:Q,removeZoombox:W,showDoubleClickNotifier:K,attachWheelEventHandler:X}},"96ae":function(e,t,r){"use strict";var n=r("62c4");e.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}},"96b7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=r("020f"),i=l(n),o=r("0644"),a=l(o),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function l(e){return e&&e.__esModule?e:{default:e}}var u=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,a.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,i.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=s({},r[t],n[t])})),t})),r};t.default=u},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(B){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new O(n||[]);return o._invoke=k(e,r,a),o}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(B){return{type:"throw",arg:B}}}e.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",v={};function m(){}function g(){}function y(){}var b={};b[o]=function(){return this};var x=Object.getPrototypeOf,A=x&&x(x(M([])));A&&A!==r&&n.call(A,o)&&(b=A);var w=y.prototype=m.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(i,o,a,s){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;function o(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function k(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===i)throw o;return P()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=T(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?h:p,l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}function T(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=c(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function M(e){if(e){var r=e[o];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){while(++i<e.length)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=w.constructor=y,y.constructor=g,g.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},_(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new E(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(w),l(w,s,"Generator"),w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=M,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},"96df":function(e,t,r){"use strict";var n=r("c4c0"),i=r("4248").IMAGE_URL_PREFIX,o=r("b639").Buffer;t.getImageSize=function(e){var t=e.replace(i,""),r=new o(t,"base64");return n(r)}},"96e3":function(e,t,r){"use strict";function n(e,t){return a(e)||l(e,t)||u(e,t)||p()}function i(e){return o(e)||s(e)||u(e)||f()}function o(e){if(Array.isArray(e))return c(e)}function a(e){if(Array.isArray(e))return e}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function u(e,t){if(e){if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(){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 p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=r("0103"),h=r("be00"),v=r("35e5"),m=r("09cf"),g=r("320c"),y=r("e98f"),b=r("b7d1"),x=r("7b1c"),A=r("37cd"),w=r("375c"),_=r("1d19"),E=r("3de2"),k=T;function T(e,t){var r=this;if(!(this instanceof T))return new T(e,t);"function"===typeof e?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n,i=e._gl,o=[],a={},s=[],l=[null],u=[null],c=255,f=100;this.tooManyColors=w,n=e.texture({data:new Uint8Array(4*c),width:c,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),g(this,{regl:e,gl:i,groups:s,markerCache:u,markerTextures:l,palette:o,paletteIds:a,paletteTexture:n,maxColors:c,maxSize:f,canvas:i.canvas}),this.update(t);var p={uniforms:{constPointSize:!!t.constPointSize,pixelRatio:e.context("pixelRatio"),palette:n,paletteSize:function(e,t){return[r.tooManyColors?0:c,n.height]},scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translate:e.prop("translate"),translateFract:e.prop("translateFract"),opacity:e.prop("opacity"),marker:e.prop("markerTexture")},attributes:{x:function(e,t){return t.xAttr||{buffer:t.positionBuffer,stride:8,offset:0}},y:function(e,t){return t.yAttr||{buffer:t.positionBuffer,stride:8,offset:4}},xFract:function(e,t){return t.xAttr?{constant:[0,0]}:{buffer:t.positionFractBuffer,stride:8,offset:0}},yFract:function(e,t){return t.yAttr?{constant:[0,0]}:{buffer:t.positionFractBuffer,stride:8,offset:4}},size:function(e,t){return t.size.length?{buffer:t.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(255*t.size/r.maxSize)]}},borderSize:function(e,t){return t.borderSize.length?{buffer:t.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(255*t.borderSize/r.maxSize)]}},colorId:function(e,t){return t.color.length?{buffer:t.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?o.slice(4*t.color,4*t.color+4):[t.color]}},borderColorId:function(e,t){return t.borderColor.length?{buffer:t.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?o.slice(4*t.borderColor,4*t.borderColor+4):[t.borderColor]}},isActive:function(e,t){return!0===t.activation?{constant:[1]}:t.activation?t.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:e.prop("elements"),count:e.prop("count"),offset:e.prop("offset"),primitive:"points"},d=g({},p);d.frag=y(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragWidth, fragBorderColorLevel, fragColorLevel;\n\nuniform sampler2D marker;\nuniform float opacity;\n\nfloat smoothStep(float x, float y) {\n return 1.0 / (1.0 + exp(50.0*(x - y)));\n}\n\nvoid main() {\n float dist = texture2D(marker, gl_PointCoord).r, delta = fragWidth;\n\n // max-distance alpha\n if (dist < 0.003) discard;\n\n // null-border case\n if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {\n float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);\n gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);\n }\n else {\n float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);\n float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);\n\n vec4 color = fragBorderColor;\n color.a *= borderColorAmt;\n color = mix(color, fragColor, colorAmt);\n color.a *= opacity;\n\n gl_FragColor = color;\n }\n\n}\n"]),d.vert=y(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform vec2 scale, scaleFract, translate, translateFract, paletteSize;\nuniform float pixelRatio;\nuniform bool constPointSize;\nuniform sampler2D palette;\n\nconst float maxSize = 100.;\nconst float borderLevel = .5;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(palette,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = 2. * size * pointSizeScale;\n fragPointSize = size * pixelRatio;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragColor = color;\n fragBorderColor = borderColor;\n fragWidth = 1. / gl_PointSize;\n\n fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);\n fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);\n}"]),this.drawMarker=e(d);var h=g({},p);h.frag=y(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor, fragBorderColor;\n\nuniform float opacity;\nvarying float fragBorderRadius, fragWidth;\n\nfloat smoothStep(float edge0, float edge1, float x) {\n\tfloat t;\n\tt = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);\n\treturn t * t * (3.0 - 2.0 * t);\n}\n\nvoid main() {\n\tfloat radius, alpha = 1.0, delta = fragWidth;\n\n\tradius = length(2.0 * gl_PointCoord.xy - 1.0);\n\n\tif (radius > 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n"]),h.vert=y(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform vec2 scale, scaleFract, translate, translateFract;\nuniform float pixelRatio;\nuniform bool constPointSize;\nuniform sampler2D palette;\nuniform vec2 paletteSize;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(palette,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = (size + borderSize) * pointSizeScale;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n fragColor = color;\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n fragWidth = 1. / gl_PointSize;\n}\n"]),w&&(h.frag=h.frag.replace("smoothstep","smoothStep"),d.frag=d.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(h)}T.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},T.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},T.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(1===r.length&&Array.isArray(r[0])&&(null===r[0][0]||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var o=0;o<r.length;o++)this.drawItem(o,r[o]);else i.forEach((function(t,r){e.drawItem(r)}));return this},T.prototype.drawItem=function(e,t){var r=this.groups,n=r[e];if("number"===typeof t&&(e=t,n=r[t],t=null),n&&n.count&&n.opacity){n.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,n,t));for(var o=[],a=1;a<n.activation.length;a++)n.activation[a]&&(!0===n.activation[a]||n.activation[a].data.length)&&o.push.apply(o,i(this.getMarkerDrawOptions(a,n,t)));o.length&&this.drawMarker(o)}},T.prototype.getMarkerDrawOptions=function(e,t,r){var i=t.range,o=t.tree,a=t.viewport,s=t.activation,l=t.selectionBuffer,u=t.count;this.regl;if(!o)return r?[g({},t,{markerTexture:this.markerTextures[e],activation:s[e],count:r.length,elements:r,offset:0})]:[g({},t,{markerTexture:this.markerTextures[e],activation:s[e],offset:0})];var c=[],f=o.range(i,{lod:!0,px:[(i[2]-i[0])/a.width,(i[3]-i[1])/a.height]});if(r){for(var p=s[e],d=p.data,h=new Uint8Array(u),v=0;v<r.length;v++){var m=r[v];h[m]=d?d[m]:1}l.subdata(h)}for(var y=f.length;y--;){var b=n(f[y],2),x=b[0],A=b[1];c.push(g({},t,{markerTexture:this.markerTextures[e],activation:r?l:s[e],offset:x,count:A-x}))}return c},T.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length){1===r.length&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,o=this.gl,a=this.regl,s=this.maxSize,l=this.maxColors,u=this.palette;this.groups=i=r.map((function(t,r){var n=i[r];if(void 0===t)return n;null===t?t={positions:null}:"function"===typeof t?t={ondraw:t}:"number"===typeof t[0]&&(t={positions:t}),t=b(t,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),null===t.positions&&(t.positions=[]),null!=t.tooManyColors&&(e.tooManyColors=t.tooManyColors),n||(i[r]=n={id:r,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:a.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},t=g({},T.defaults,t)),t.positions&&!("marker"in t)&&(t.marker=n.marker,delete n.marker),t.marker&&!("positions"in t)&&(t.positions=n.positions,delete n.positions);var c=0,f=0;if(x(n,t,[{snap:!0,size:function(e,t){return null==e&&(e=T.defaults.size),c+=e&&e.length?1:0,e},borderSize:function(e,t){return null==e&&(e=T.defaults.borderSize),c+=e&&e.length?1:0,e},opacity:parseFloat,color:function(t,r){return null==t&&(t=T.defaults.color),t=e.updateColor(t),f++,t},borderColor:function(t,r){return null==t&&(t=T.defaults.borderColor),t=e.updateColor(t),f++,t},bounds:function(e,t,r){return"range"in r||(r.range=null),e},positions:function(e,t,r){var n=t.snap,i=t.positionBuffer,o=t.positionFractBuffer,s=t.selectionBuffer;if(e.x||e.y)return e.x.length?t.xAttr={buffer:a.buffer(e.x),offset:0,stride:4,count:e.x.length}:t.xAttr={buffer:e.x.buffer,offset:4*e.x.offset||0,stride:4*(e.x.stride||1),count:e.x.count},e.y.length?t.yAttr={buffer:a.buffer(e.y),offset:0,stride:4,count:e.y.length}:t.yAttr={buffer:e.y.buffer,offset:4*e.y.offset||0,stride:4*(e.y.stride||1),count:e.y.count},t.count=Math.max(t.xAttr.count,t.yAttr.count),e;e=A(e,"float64");var l=t.count=Math.floor(e.length/2),u=t.bounds=l?h(e,2):null;if(r.range||t.range||(delete t.range,r.range=u),r.marker||t.marker||(delete t.marker,r.marker=null),n&&(!0===n||l>n)?t.tree=m(e,{bounds:u}):n&&n.length&&(t.tree=n),t.tree){var c={primitive:"points",usage:"static",data:t.tree,type:"uint32"};t.elements?t.elements(c):t.elements=a.elements(c)}return i({data:_.float(e),usage:"dynamic"}),o({data:_.fract(e),usage:"dynamic"}),s({data:new Uint8Array(l),type:"uint8",usage:"stream"}),e}},{marker:function(t,r,n){var i=r.activation;if(i.forEach((function(e){return e&&e.destroy&&e.destroy()})),i.length=0,t&&"number"!==typeof t[0]){for(var o=[],s=0,l=Math.min(t.length,r.count);s<l;s++){var u=e.addMarker(t[s]);o[u]||(o[u]=new Uint8Array(r.count)),o[u][s]=1}for(var c=0;c<o.length;c++)if(o[c]){var f={data:o[c],type:"uint8",usage:"static"};i[c]?i[c](f):i[c]=a.buffer(f),i[c].data=o[c]}}else{var p=e.addMarker(t);i[p]=!0}return t},range:function(e,t,r){var n=t.bounds;if(n)return e||(e=n),t.scale=[1/(e[2]-e[0]),1/(e[3]-e[1])],t.translate=[-e[0],-e[1]],t.scaleFract=_.fract(t.scale),t.translateFract=_.fract(t.translate),e},viewport:function(e){var t=E(e||[o.drawingBufferWidth,o.drawingBufferHeight]);return t}}]),c){var p=n,d=p.count,v=p.size,y=p.borderSize,w=p.sizeBuffer,k=new Uint8Array(2*d);if(v.length||y.length)for(var C=0;C<d;C++)k[2*C]=Math.round(255*(null==v[C]?v:v[C])/s),k[2*C+1]=Math.round(255*(null==y[C]?y:y[C])/s);w({data:k,usage:"dynamic"})}if(f){var S,O=n,M=O.count,P=O.color,B=O.borderColor,L=O.colorBuffer;if(e.tooManyColors){if(P.length||B.length){S=new Uint8Array(8*M);for(var D=0;D<M;D++){var I=P[D];S[8*D]=u[4*I],S[8*D+1]=u[4*I+1],S[8*D+2]=u[4*I+2],S[8*D+3]=u[4*I+3];var j=B[D];S[8*D+4]=u[4*j],S[8*D+5]=u[4*j+1],S[8*D+6]=u[4*j+2],S[8*D+7]=u[4*j+3]}}}else if(P.length||B.length){S=new Uint8Array(4*M+2);for(var R=0;R<M;R++)null!=P[R]&&(S[4*R]=P[R]%l,S[4*R+1]=Math.floor(P[R]/l)),null!=B[R]&&(S[4*R+2]=B[R]%l,S[4*R+3]=Math.floor(B[R]/l))}L({data:S||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return n}))}},T.prototype.addMarker=function(e){var t,r=this.markerTextures,n=this.regl,i=this.markerCache,o=null==e?0:i.indexOf(e);if(o>=0)return o;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)t=e;else{t=new Uint8Array(e.length);for(var a=0,s=e.length;a<s;a++)t[a]=255*e[a]}var l=Math.floor(Math.sqrt(t.length));return o=r.length,i.push(e),r.push(n.texture({channels:1,data:t,radius:l,mag:"linear",min:"linear"})),o},T.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if("number"===typeof e[0]){var o=[];if(Array.isArray(e))for(var a=0;a<e.length;a+=4)o.push(e.slice(a,a+4));else for(var s=0;s<e.length;s+=4)o.push(e.subarray(s,s+4));e=o}for(var l=0;l<e.length;l++){var u=e[l];u=d(u,"uint8");var c=v(u,!1);if(null==t[c]){var f=r.length;t[c]=Math.floor(f/4),r[f]=u[0],r[f+1]=u[1],r[f+2]=u[2],r[f+3]=u[3]}i[l]=t[c]}return!this.tooManyColors&&r.length>4*n&&(this.tooManyColors=!0),this.updatePalette(r),1===i.length?i[0]:i},T.prototype.updatePalette=function(e){if(!this.tooManyColors){var t=this.maxColors,r=this.paletteTexture,n=Math.ceil(.25*e.length/t);if(n>1){e=e.slice();for(var i=.25*e.length%t;i<n*t;i++)e.push(0,0,0,0)}r.height<n&&r.resize(t,n),r.subimage({width:Math.min(.25*e.length,t),height:n,data:e},0,0)}},T.prototype.destroy=function(){return this.groups.forEach((function(e){e.sizeBuffer.destroy(),e.positionBuffer.destroy(),e.positionFractBuffer.destroy(),e.colorBuffer.destroy(),e.activation.forEach((function(e){return e&&e.destroy&&e.destroy()})),e.selectionBuffer.destroy(),e.elements&&e.elements.destroy()})),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach((function(e){return e&&e.destroy&&e.destroy()})),this};var C=r("320c"),S=function(e,t){var r=new k(e,t),n=r.render.bind(r);return C(n,{render:n,update:r.update.bind(r),draw:r.draw.bind(r),destroy:r.destroy.bind(r),regl:r.regl,gl:r.gl,canvas:r.gl.canvas,groups:r.groups,markers:r.markerCache,palette:r.palette}),n};e.exports=S},"971d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.375 28.375H5.062c-.75 0-1.438-.625-1.438-1.375V2.625c0-.563-.438-1-1-1s-1 .438-1 1V27c0 1.875 1.5 3.375 3.438 3.375h24.375c.563 0 1-.438 1-1s-.5-1-1.063-1zm-18.437-6.312c0 1-.813 1.75-1.75 1.75s-1.75-.75-1.75-1.75c0-.938.813-1.688 1.75-1.688s1.75.75 1.75 1.688zm6.312-9.25c0 1-.75 1.75-1.75 1.75-.938 0-1.688-.75-1.688-1.75 0-.938.75-1.688 1.688-1.688 1 0 1.75.75 1.75 1.688zm2.188 6.812c0 1-.75 1.75-1.688 1.75-1 0-1.75-.75-1.75-1.75 0-.938.75-1.688 1.75-1.688.938 0 1.688.75 1.688 1.688zm4.875-5.562c0 .938-.75 1.688-1.75 1.688-.938 0-1.688-.75-1.688-1.688s.75-1.75 1.688-1.75c1 0 1.75.813 1.75 1.75zM27 7.5c0 .938-.813 1.688-1.75 1.688S23.5 8.438 23.5 7.5s.813-1.75 1.75-1.75S27 6.563 27 7.5z"}))};t.default=u},"973c":function(e,t,r){"use strict";e.exports=i;var n=r("f7bf");function i(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=n(e[r]);return t}},9751:function(e,t,r){(function(){var e,t=[].indexOf||function(e){for(var t=0,r=this.length;t<r;t++)if(t in this&&this[t]===e)return t;return-1},n=[].slice,i=function(e,t){return function(){return e.apply(t,arguments)}},o={}.hasOwnProperty;e=function(e){return e(r("1157"))},e((function(e){var r,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k;return a=function(e,t,r){var n,i,o,a;e+="",i=e.split("."),o=i[0],a=i.length>1?r+i[1]:"",n=/(\d+)(\d{3})/;while(n.test(o))o=o.replace(n,"$1"+t+"$2");return o+a},v=function(t){var r;return r={digitsAfterDecimal:2,scaler:1,thousandsSep:",",decimalSep:".",prefix:"",suffix:""},t=e.extend({},r,t),function(e){var r;return isNaN(e)||!isFinite(e)?"":(r=a((t.scaler*e).toFixed(t.digitsAfterDecimal),t.thousandsSep,t.decimalSep),""+t.prefix+r+t.suffix)}},w=v(),_=v({digitsAfterDecimal:0}),E=v({digitsAfterDecimal:1,scaler:100,suffix:"%"}),s={count:function(e){return null==e&&(e=_),function(){return function(t,r,n){return{count:0,push:function(){return this.count++},value:function(){return this.count},format:e}}}},uniques:function(e,r){return null==r&&(r=_),function(n){var i;return i=n[0],function(n,o,a){return{uniq:[],push:function(e){var r;if(r=e[i],t.call(this.uniq,r)<0)return this.uniq.push(e[i])},value:function(){return e(this.uniq)},format:r,numInputs:null!=i?0:1}}}},sum:function(e){return null==e&&(e=w),function(t){var r;return r=t[0],function(t,n,i){return{sum:0,push:function(e){if(!isNaN(parseFloat(e[r])))return this.sum+=parseFloat(e[r])},value:function(){return this.sum},format:e,numInputs:null!=r?0:1}}}},extremes:function(e,t){return null==t&&(t=w),function(r){var n;return n=r[0],function(r,i,o){return{val:null,sorter:f(null!=r?r.sorters:void 0,n),push:function(t){var r,i,o,a;if(a=t[n],"min"!==e&&"max"!==e||(a=parseFloat(a),isNaN(a)||(this.val=Math[e](a,null!=(r=this.val)?r:a))),"first"===e&&this.sorter(a,null!=(i=this.val)?i:a)<=0&&(this.val=a),"last"===e&&this.sorter(a,null!=(o=this.val)?o:a)>=0)return this.val=a},value:function(){return this.val},format:function(e){return isNaN(e)?e:t(e)},numInputs:null!=n?0:1}}}},quantile:function(e,t){return null==t&&(t=w),function(r){var n;return n=r[0],function(r,i,o){return{vals:[],push:function(e){var t;if(t=parseFloat(e[n]),!isNaN(t))return this.vals.push(t)},value:function(){var t;return 0===this.vals.length?null:(this.vals.sort((function(e,t){return e-t})),t=(this.vals.length-1)*e,(this.vals[Math.floor(t)]+this.vals[Math.ceil(t)])/2)},format:t,numInputs:null!=n?0:1}}}},runningStat:function(e,t,r){return null==e&&(e="mean"),null==t&&(t=1),null==r&&(r=w),function(n){var i;return i=n[0],function(n,o,a){return{n:0,m:0,s:0,push:function(e){var t,r;if(r=parseFloat(e[i]),!isNaN(r))return this.n+=1,1===this.n?this.m=r:(t=this.m+(r-this.m)/this.n,this.s=this.s+(r-this.m)*(r-t),this.m=t)},value:function(){if("mean"===e)return 0===this.n?NaN:this.m;if(this.n<=t)return 0;switch(e){case"var":return this.s/(this.n-t);case"stdev":return Math.sqrt(this.s/(this.n-t))}},format:r,numInputs:null!=i?0:1}}}},sumOverSum:function(e){return null==e&&(e=w),function(t){var r,n;return n=t[0],r=t[1],function(t,i,o){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[n]))||(this.sumNum+=parseFloat(e[n])),!isNaN(parseFloat(e[r])))return this.sumDenom+=parseFloat(e[r])},value:function(){return this.sumNum/this.sumDenom},format:e,numInputs:null!=n&&null!=r?0:2}}}},sumOverSumBound80:function(e,t){return null==e&&(e=!0),null==t&&(t=w),function(r){var n,i;return i=r[0],n=r[1],function(r,o,a){return{sumNum:0,sumDenom:0,push:function(e){if(isNaN(parseFloat(e[i]))||(this.sumNum+=parseFloat(e[i])),!isNaN(parseFloat(e[n])))return this.sumDenom+=parseFloat(e[n])},value:function(){var t;return t=e?1:-1,(.821187207574908/this.sumDenom+this.sumNum/this.sumDenom+1.2815515655446004*t*Math.sqrt(.410593603787454/(this.sumDenom*this.sumDenom)+this.sumNum*(1-this.sumNum/this.sumDenom)/(this.sumDenom*this.sumDenom)))/(1+1.642374415149816/this.sumDenom)},format:t,numInputs:null!=i&&null!=n?0:2}}}},fractionOf:function(e,t,r){return null==t&&(t="total"),null==r&&(r=E),function(){var i;return i=1<=arguments.length?n.call(arguments,0):[],function(n,o,a){return{selector:{total:[[],[]],row:[o,[]],col:[[],a]}[t],inner:e.apply(null,i)(n,o,a),push:function(e){return this.inner.push(e)},format:r,value:function(){return this.inner.value()/n.getAggregator.apply(n,this.selector).inner.value()},numInputs:e.apply(null,i)().numInputs}}}}},s.countUnique=function(e){return s.uniques((function(e){return e.length}),e)},s.listUnique=function(e){return s.uniques((function(t){return t.sort(h).join(e)}),(function(e){return e}))},s.max=function(e){return s.extremes("max",e)},s.min=function(e){return s.extremes("min",e)},s.first=function(e){return s.extremes("first",e)},s.last=function(e){return s.extremes("last",e)},s.median=function(e){return s.quantile(.5,e)},s.average=function(e){return s.runningStat("mean",1,e)},s["var"]=function(e,t){return s.runningStat("var",e,t)},s.stdev=function(e,t){return s.runningStat("stdev",e,t)},l=function(e){return{Count:e.count(_),"Count Unique Values":e.countUnique(_),"List Unique Values":e.listUnique(", "),Sum:e.sum(w),"Integer Sum":e.sum(_),Average:e.average(w),Median:e.median(w),"Sample Variance":e["var"](1,w),"Sample Standard Deviation":e.stdev(1,w),Minimum:e.min(w),Maximum:e.max(w),First:e.first(w),Last:e.last(w),"Sum over Sum":e.sumOverSum(w),"80% Upper Bound":e.sumOverSumBound80(!0,w),"80% Lower Bound":e.sumOverSumBound80(!1,w),"Sum as Fraction of Total":e.fractionOf(e.sum(),"total",E),"Sum as Fraction of Rows":e.fractionOf(e.sum(),"row",E),"Sum as Fraction of Columns":e.fractionOf(e.sum(),"col",E),"Count as Fraction of Total":e.fractionOf(e.count(),"total",E),"Count as Fraction of Rows":e.fractionOf(e.count(),"row",E),"Count as Fraction of Columns":e.fractionOf(e.count(),"col",E)}}(s),y={Table:function(e,t){return m(e,t)},"Table Barchart":function(t,r){return e(m(t,r)).barchart()},Heatmap:function(t,r){return e(m(t,r)).heatmap("heatmap",r)},"Row Heatmap":function(t,r){return e(m(t,r)).heatmap("rowheatmap",r)},"Col Heatmap":function(t,r){return e(m(t,r)).heatmap("colheatmap",r)}},p={en:{aggregators:l,renderers:y,localeStrings:{renderError:"An error occurred rendering the PivotTable results.",computeError:"An error occurred computing the PivotTable results.",uiRenderError:"An error occurred rendering the PivotTable UI.",selectAll:"Select All",selectNone:"Select None",tooMany:"(too many to list)",filterResults:"Filter values",apply:"Apply",cancel:"Cancel",totals:"Totals",vs:"vs",by:"by"}}},d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],u=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],k=function(e){return("0"+e).substr(-2,2)},c={bin:function(e,t){return function(r){return r[e]-r[e]%t}},dateFormat:function(e,t,r,n,i){var o;return null==r&&(r=!1),null==n&&(n=d),null==i&&(i=u),o=r?"UTC":"",function(r){var a;return a=new Date(Date.parse(r[e])),isNaN(a)?"":t.replace(/%(.)/g,(function(e,t){switch(t){case"y":return a["get"+o+"FullYear"]();case"m":return k(a["get"+o+"Month"]()+1);case"n":return n[a["get"+o+"Month"]()];case"d":return k(a["get"+o+"Date"]());case"w":return i[a["get"+o+"Day"]()];case"x":return a["get"+o+"Day"]();case"H":return k(a["get"+o+"Hours"]());case"M":return k(a["get"+o+"Minutes"]());case"S":return k(a["get"+o+"Seconds"]());default:return"%"+t}}))}}},b=/(\d+)|(\D+)/g,g=/\d/,x=/^0/,h=function(e){return function(e,t){var r,n,i,o,a,s;if(null!=t&&null==e)return-1;if(null!=e&&null==t)return 1;if("number"===typeof e&&isNaN(e))return-1;if("number"===typeof t&&isNaN(t))return 1;if(a=+e,s=+t,a<s)return-1;if(a>s)return 1;if("number"===typeof e&&"number"!==typeof t)return-1;if("number"===typeof t&&"number"!==typeof e)return 1;if("number"===typeof e&&"number"===typeof t)return 0;if(isNaN(s)&&!isNaN(a))return-1;if(isNaN(a)&&!isNaN(s))return 1;if(r=String(e),i=String(t),r===i)return 0;if(!g.test(r)||!g.test(i))return r>i?1:-1;r=r.match(b),i=i.match(b);while(r.length&&i.length)if(n=r.shift(),o=i.shift(),n!==o)return g.test(n)&&g.test(o)?n.replace(x,".0")-o.replace(x,".0"):n>o?1:-1;return r.length-i.length}}(),A=function(e){var t,r,n,i;for(t in n={},r={},e)i=e[t],n[i]=t,"string"===typeof i&&(r[i.toLowerCase()]=t);return function(e,t){return null!=n[e]&&null!=n[t]?n[e]-n[t]:null!=n[e]?-1:null!=n[t]?1:null!=r[e]&&null!=r[t]?r[e]-r[t]:null!=r[e]?-1:null!=r[t]?1:h(e,t)}},f=function(t,r){var n;if(null!=t)if(e.isFunction(t)){if(n=t(r),e.isFunction(n))return n}else if(null!=t[r])return t[r];return h},r=function(){function t(e,r){var n,o,a,l,u,c,f,p,d,h;null==r&&(r={}),this.getAggregator=i(this.getAggregator,this),this.getRowKeys=i(this.getRowKeys,this),this.getColKeys=i(this.getColKeys,this),this.sortKeys=i(this.sortKeys,this),this.arrSort=i(this.arrSort,this),this.input=e,this.aggregator=null!=(n=r.aggregator)?n:s.count()(),this.aggregatorName=null!=(o=r.aggregatorName)?o:"Count",this.colAttrs=null!=(a=r.cols)?a:[],this.rowAttrs=null!=(l=r.rows)?l:[],this.valAttrs=null!=(u=r.vals)?u:[],this.sorters=null!=(c=r.sorters)?c:{},this.rowOrder=null!=(f=r.rowOrder)?f:"key_a_to_z",this.colOrder=null!=(p=r.colOrder)?p:"key_a_to_z",this.derivedAttributes=null!=(d=r.derivedAttributes)?d:{},this.filter=null!=(h=r.filter)?h:function(){return!0},this.tree={},this.rowKeys=[],this.colKeys=[],this.rowTotals={},this.colTotals={},this.allTotal=this.aggregator(this,[],[]),this.sorted=!1,t.forEachRecord(this.input,this.derivedAttributes,function(e){return function(t){if(e.filter(t))return e.processRecord(t)}}(this))}return t.forEachRecord=function(t,r,n){var i,a,s,l,u,c,f,p,d,h,v,m;if(i=e.isEmptyObject(r)?n:function(e){var t,i,o;for(t in r)o=r[t],e[t]=null!=(i=o(e))?i:e[t];return n(e)},e.isFunction(t))return t(i);if(e.isArray(t)){if(e.isArray(t[0])){for(s in h=[],t)if(o.call(t,s)&&(a=t[s],s>0)){for(l in p={},d=t[0],d)o.call(d,l)&&(u=d[l],p[u]=a[l]);h.push(i(p))}return h}for(v=[],c=0,f=t.length;c<f;c++)p=t[c],v.push(i(p));return v}if(t instanceof e)return m=[],e("thead > tr > th",t).each((function(t){return m.push(e(this).text())})),e("tbody > tr",t).each((function(t){return p={},e("td",this).each((function(t){return p[m[t]]=e(this).text()})),i(p)}));throw new Error("unknown input format")},t.prototype.forEachMatchingRecord=function(e,r){return t.forEachRecord(this.input,this.derivedAttributes,function(t){return function(n){var i,o,a;if(t.filter(n)){for(i in e)if(a=e[i],a!==(null!=(o=n[i])?o:"null"))return;return r(n)}}}(this))},t.prototype.arrSort=function(e){var t,r;return r=function(){var r,n,i;for(i=[],r=0,n=e.length;r<n;r++)t=e[r],i.push(f(this.sorters,t));return i}.call(this),function(e,t){var n,i,a;for(i in r)if(o.call(r,i)&&(a=r[i],n=a(e[i],t[i]),0!==n))return n;return 0}},t.prototype.sortKeys=function(){var e;if(!this.sorted){switch(this.sorted=!0,e=function(e){return function(t,r){return e.getAggregator(t,r).value()}}(this),this.rowOrder){case"value_a_to_z":this.rowKeys.sort(function(t){return function(t,r){return h(e(t,[]),e(r,[]))}}());break;case"value_z_to_a":this.rowKeys.sort(function(t){return function(t,r){return-h(e(t,[]),e(r,[]))}}());break;default:this.rowKeys.sort(this.arrSort(this.rowAttrs))}switch(this.colOrder){case"value_a_to_z":return this.colKeys.sort(function(t){return function(t,r){return h(e([],t),e([],r))}}());case"value_z_to_a":return this.colKeys.sort(function(t){return function(t,r){return-h(e([],t),e([],r))}}());default:return this.colKeys.sort(this.arrSort(this.colAttrs))}}},t.prototype.getColKeys=function(){return this.sortKeys(),this.colKeys},t.prototype.getRowKeys=function(){return this.sortKeys(),this.rowKeys},t.prototype.processRecord=function(e){var t,r,n,i,o,a,s,l,u,c,f,p,d;for(t=[],p=[],l=this.colAttrs,i=0,o=l.length;i<o;i++)d=l[i],t.push(null!=(u=e[d])?u:"null");for(c=this.rowAttrs,s=0,a=c.length;s<a;s++)d=c[s],p.push(null!=(f=e[d])?f:"null");if(n=p.join(String.fromCharCode(0)),r=t.join(String.fromCharCode(0)),this.allTotal.push(e),0!==p.length&&(this.rowTotals[n]||(this.rowKeys.push(p),this.rowTotals[n]=this.aggregator(this,p,[])),this.rowTotals[n].push(e)),0!==t.length&&(this.colTotals[r]||(this.colKeys.push(t),this.colTotals[r]=this.aggregator(this,[],t)),this.colTotals[r].push(e)),0!==t.length&&0!==p.length)return this.tree[n]||(this.tree[n]={}),this.tree[n][r]||(this.tree[n][r]=this.aggregator(this,p,t)),this.tree[n][r].push(e)},t.prototype.getAggregator=function(e,t){var r,n,i;return i=e.join(String.fromCharCode(0)),n=t.join(String.fromCharCode(0)),r=0===e.length&&0===t.length?this.allTotal:0===e.length?this.colTotals[n]:0===t.length?this.rowTotals[i]:this.tree[i][n],null!=r?r:{value:function(){return null},format:function(){return""}}},t}(),e.pivotUtilities={aggregatorTemplates:s,aggregators:l,renderers:y,derivers:c,locales:p,naturalSort:h,numberFormat:v,sortAs:A,PivotData:r},m=function(t,r){var n,i,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C;for(p in u={table:{clickCallback:null,rowTotals:!0,colTotals:!0},localeStrings:{totals:"Totals"}},r=e.extend(!0,{},u,r),a=t.colAttrs,v=t.rowAttrs,g=t.getRowKeys(),l=t.getColKeys(),r.table.clickCallback&&(c=function(e,n,i){var s,l,u;for(u in l={},a)o.call(a,u)&&(s=a[u],null!=i[u]&&(l[s]=i[u]));for(u in v)o.call(v,u)&&(s=v[u],null!=n[u]&&(l[s]=n[u]));return function(n){return r.table.clickCallback(n,e,l,t)}}),h=document.createElement("table"),h.className="pvtTable",y=function(e,t,r){var n,i,o,a,s,l,u,c;if(0!==t){for(a=!0,c=n=0,s=r;0<=s?n<=s:n>=s;c=0<=s?++n:--n)e[t-1][c]!==e[t][c]&&(a=!1);if(a)return-1}i=0;while(t+i<e.length){for(u=!1,c=o=0,l=r;0<=l?o<=l:o>=l;c=0<=l?++o:--o)e[t][c]!==e[t+i][c]&&(u=!0);if(u)break;i++}return i},w=document.createElement("thead"),a)if(o.call(a,p)){for(f in i=a[p],E=document.createElement("tr"),0===parseInt(p)&&0!==v.length&&(A=document.createElement("th"),A.setAttribute("colspan",v.length),A.setAttribute("rowspan",a.length),E.appendChild(A)),A=document.createElement("th"),A.className="pvtAxisLabel",A.textContent=i,E.appendChild(A),l)o.call(l,f)&&(s=l[f],C=y(l,parseInt(f),parseInt(p)),-1!==C&&(A=document.createElement("th"),A.className="pvtColLabel",A.textContent=s[p],A.setAttribute("colspan",C),parseInt(p)===a.length-1&&0!==v.length&&A.setAttribute("rowspan",2),E.appendChild(A)));0===parseInt(p)&&r.table.rowTotals&&(A=document.createElement("th"),A.className="pvtTotalLabel pvtRowTotalLabel",A.innerHTML=r.localeStrings.totals,A.setAttribute("rowspan",a.length+(0===v.length?0:1)),E.appendChild(A)),w.appendChild(E)}if(0!==v.length){for(f in E=document.createElement("tr"),v)o.call(v,f)&&(d=v[f],A=document.createElement("th"),A.className="pvtAxisLabel",A.textContent=d,E.appendChild(A));A=document.createElement("th"),0===a.length&&(A.className="pvtTotalLabel pvtRowTotalLabel",A.innerHTML=r.localeStrings.totals),E.appendChild(A),w.appendChild(E)}for(f in h.appendChild(w),b=document.createElement("tbody"),g)if(o.call(g,f)){for(p in m=g[f],E=document.createElement("tr"),m)o.call(m,p)&&(k=m[p],C=y(g,parseInt(f),parseInt(p)),-1!==C&&(A=document.createElement("th"),A.className="pvtRowLabel",A.textContent=k,A.setAttribute("rowspan",C),parseInt(p)===v.length-1&&0!==a.length&&A.setAttribute("colspan",2),E.appendChild(A)));for(p in l)o.call(l,p)&&(s=l[p],n=t.getAggregator(m,s),T=n.value(),x=document.createElement("td"),x.className="pvtVal row"+f+" col"+p,x.textContent=n.format(T),x.setAttribute("data-value",T),null!=c&&(x.onclick=c(T,m,s)),E.appendChild(x));(r.table.rowTotals||0===a.length)&&(_=t.getAggregator(m,[]),T=_.value(),x=document.createElement("td"),x.className="pvtTotal rowTotal",x.textContent=_.format(T),x.setAttribute("data-value",T),null!=c&&(x.onclick=c(T,m,[])),x.setAttribute("data-for","row"+f),E.appendChild(x)),b.appendChild(E)}if(r.table.colTotals||0===v.length){for(p in E=document.createElement("tr"),(r.table.colTotals||0===v.length)&&(A=document.createElement("th"),A.className="pvtTotalLabel pvtColTotalLabel",A.innerHTML=r.localeStrings.totals,A.setAttribute("colspan",v.length+(0===a.length?0:1)),E.appendChild(A)),l)o.call(l,p)&&(s=l[p],_=t.getAggregator([],s),T=_.value(),x=document.createElement("td"),x.className="pvtTotal colTotal",x.textContent=_.format(T),x.setAttribute("data-value",T),null!=c&&(x.onclick=c(T,[],s)),x.setAttribute("data-for","col"+p),E.appendChild(x));(r.table.rowTotals||0===a.length)&&(_=t.getAggregator([],[]),T=_.value(),x=document.createElement("td"),x.className="pvtGrandTotal",x.textContent=_.format(T),x.setAttribute("data-value",T),null!=c&&(x.onclick=c(T,[],[])),E.appendChild(x)),b.appendChild(E)}return h.appendChild(b),h.setAttribute("data-numrows",g.length),h.setAttribute("data-numcols",l.length),h},e.fn.pivot=function(t,n,i){var o,a,l,u,c,f,d,h;null==i&&(i="en"),null==p[i]&&(i="en"),o={cols:[],rows:[],vals:[],rowOrder:"key_a_to_z",colOrder:"key_a_to_z",dataClass:r,filter:function(){return!0},aggregator:s.count()(),aggregatorName:"Count",sorters:{},derivedAttributes:{},renderer:m},u=e.extend(!0,{},p.en.localeStrings,p[i].localeStrings),l={rendererOptions:{localeStrings:u},localeStrings:u},c=e.extend(!0,{},l,e.extend({},o,n)),d=null;try{f=new c.dataClass(t,c);try{d=c.renderer(f,c.rendererOptions)}catch(v){a=v,"undefined"!==typeof console&&null!==console&&console.error(a.stack),d=e("<span>").html(c.localeStrings.renderError)}}catch(v){a=v,"undefined"!==typeof console&&null!==console&&console.error(a.stack),d=e("<span>").html(c.localeStrings.computeError)}h=this[0];while(h.hasChildNodes())h.removeChild(h.lastChild);return this.append(d)},e.fn.pivotUI=function(n,i,a,s){var l,u,c,d,v,m,g,y,b,x,A,w,_,E,k,T,C,S,O,M,P,B,L,D,I,j,R,F,N,z,U,H,V,Q,W,K,q,G,$,Y,X,Z,J,ee,te;null==a&&(a=!1),null==s&&(s="en"),null==p[s]&&(s="en"),y={derivedAttributes:{},aggregators:p[s].aggregators,renderers:p[s].renderers,hiddenAttributes:[],hiddenFromAggregators:[],hiddenFromDragDrop:[],menuLimit:500,cols:[],rows:[],vals:[],rowOrder:"key_a_to_z",colOrder:"key_a_to_z",dataClass:r,exclusions:{},inclusions:{},unusedAttrsVertical:85,autoSortUnusedAttrs:!1,onRefresh:null,showUI:!0,filter:function(){return!0},sorters:{}},O=e.extend(!0,{},p.en.localeStrings,p[s].localeStrings),S={rendererOptions:{localeStrings:O},localeStrings:O},x=this.data("pivotUIOptions"),L=null==x||a?e.extend(!0,{},S,e.extend({},y,i)):x;try{for(te in v={},M=[],j=0,r.forEachRecord(n,L.derivedAttributes,(function(e){var t,r,n,i;if(L.filter(e)){for(t in M.push(e),e)o.call(e,t)&&null==v[t]&&(v[t]={},j>0&&(v[t]["null"]=j));for(t in v)i=null!=(n=e[t])?n:"null",null==(r=v[t])[i]&&(r[i]=0),v[t][i]++;return j++}})),X=e("<table>",{class:"pvtUi"}).attr("cellpadding",5),Q=e("<td>").addClass("pvtUiCell"),V=e("<select>").addClass("pvtRenderer").appendTo(Q).bind("change",(function(){return U()})),R=L.renderers,R)o.call(R,te)&&e("<option>").val(te).html(te).appendTo(V);if(Z=e("<td>").addClass("pvtAxisContainer pvtUnused pvtUiCell"),K=function(){var e;for(l in e=[],v)t.call(L.hiddenAttributes,l)<0&&e.push(l);return e}(),q=function(){var e,r,n;for(n=[],e=0,r=K.length;e<r;e++)m=K[e],t.call(L.hiddenFromAggregators,m)<0&&n.push(m);return n}(),G=function(){var e,r,n;for(n=[],e=0,r=K.length;e<r;e++)m=K[e],t.call(L.hiddenFromDragDrop,m)<0&&n.push(m);return n}(),ee=!1,J="auto"===L.unusedAttrsVertical?120:parseInt(L.unusedAttrsVertical),!isNaN(J)){for(d=0,E=0,k=G.length;E<k;E++)l=G[E],d+=l.length;ee=d>J}for(w in!0===L.unusedAttrsVertical||ee?Z.addClass("pvtVertList"):Z.addClass("pvtHorizList"),A=function(r){var n,i,o,a,s,l,u,c,p,d,h,m,g,y,b,x,A,_,E;if(E=function(){var e;for(b in e=[],v[r])e.push(b);return e}(),c=!1,_=e("<div>").addClass("pvtFilterBox").hide(),_.append(e("<h4>").append(e("<span>").text(r),e("<span>").addClass("count").text("("+E.length+")"))),E.length>L.menuLimit)_.append(e("<p>").html(L.localeStrings.tooMany));else for(E.length>5&&(a=e("<p>").appendTo(_),g=f(L.sorters,r),h=L.localeStrings.filterResults,e("<input>",{type:"text"}).appendTo(a).attr({placeholder:h,class:"pvtSearch"}).bind("keyup",(function(){var r,n,i;return i=e(this).val().toLowerCase().trim(),n=function(e,r){return function(n){var o,a;return o=i.substring(e.length).trim(),0===o.length||(a=Math.sign(g(n.toLowerCase(),o)),t.call(r,a)>=0)}},r=0===i.indexOf(">=")?n(">=",[1,0]):0===i.indexOf("<=")?n("<=",[-1,0]):0===i.indexOf(">")?n(">",[1]):0===i.indexOf("<")?n("<",[-1]):0===i.indexOf("~")?function(e){return 0===i.substring(1).trim().length||e.toLowerCase().match(i.substring(1))}:function(e){return-1!==e.toLowerCase().indexOf(i)},_.find(".pvtCheckContainer p label span.value").each((function(){return r(e(this).text())?e(this).parent().parent().show():e(this).parent().parent().hide()}))})),a.append(e("<br>")),e("<button>",{type:"button"}).appendTo(a).html(L.localeStrings.selectAll).bind("click",(function(){return _.find("input:visible:not(:checked)").prop("checked",!0).toggleClass("changed"),!1})),e("<button>",{type:"button"}).appendTo(a).html(L.localeStrings.selectNone).bind("click",(function(){return _.find("input:visible:checked").prop("checked",!1).toggleClass("changed"),!1}))),i=e("<div>").addClass("pvtCheckContainer").appendTo(_),m=E.sort(f(L.sorters,r)),d=0,p=m.length;d<p;d++)x=m[d],A=v[r][x],s=e("<label>"),l=!1,L.inclusions[r]?l=t.call(L.inclusions[r],x)<0:L.exclusions[r]&&(l=t.call(L.exclusions[r],x)>=0),c||(c=l),e("<input>").attr("type","checkbox").addClass("pvtFilter").attr("checked",!l).data("filter",[r,x]).appendTo(s).bind("change",(function(){return e(this).toggleClass("changed")})),s.append(e("<span>").addClass("value").text(x)),s.append(e("<span>").addClass("count").text("("+A+")")),i.append(e("<p>").append(s));return o=function(){return _.find("[type='checkbox']").length>_.find("[type='checkbox']:checked").length?n.addClass("pvtFilteredAttribute"):n.removeClass("pvtFilteredAttribute"),_.find(".pvtSearch").val(""),_.find(".pvtCheckContainer p").show(),_.hide()},u=e("<p>").appendTo(_),E.length<=L.menuLimit&&e("<button>",{type:"button"}).text(L.localeStrings.apply).appendTo(u).bind("click",(function(){return _.find(".changed").removeClass("changed").length&&U(),o()})),e("<button>",{type:"button"}).text(L.localeStrings.cancel).appendTo(u).bind("click",(function(){return _.find(".changed:checked").removeClass("changed").prop("checked",!1),_.find(".changed:not(:checked)").removeClass("changed").prop("checked",!0),o()})),y=e("<span>").addClass("pvtTriangle").html(" ▾").bind("click",(function(t){var r,n,i;return n=e(t.currentTarget).position(),r=n.left,i=n.top,_.css({left:r+10,top:i+10}).show()})),n=e("<li>").addClass("axis_"+w).append(e("<span>").addClass("pvtAttr").text(r).data("attrName",r).append(y)),c&&n.addClass("pvtFilteredAttribute"),Z.append(n).append(_)},G)o.call(G,w)&&(c=G[w],A(c));for(te in $=e("<tr>").appendTo(X),u=e("<select>").addClass("pvtAggregator").bind("change",(function(){return U()})),F=L.aggregators,F)o.call(F,te)&&u.append(e("<option>").val(te).html(te));for(D={key_a_to_z:{rowSymbol:"↕",colSymbol:"↔",next:"value_a_to_z"},value_a_to_z:{rowSymbol:"↓",colSymbol:"→",next:"value_z_to_a"},value_z_to_a:{rowSymbol:"↑",colSymbol:"←",next:"key_a_to_z"}},W=e("<a>",{role:"button"}).addClass("pvtRowOrder").data("order",L.rowOrder).html(D[L.rowOrder].rowSymbol).bind("click",(function(){return e(this).data("order",D[e(this).data("order")].next),e(this).html(D[e(this).data("order")].rowSymbol),U()})),g=e("<a>",{role:"button"}).addClass("pvtColOrder").data("order",L.colOrder).html(D[L.colOrder].colSymbol).bind("click",(function(){return e(this).data("order",D[e(this).data("order")].next),e(this).html(D[e(this).data("order")].colSymbol),U()})),e("<td>").addClass("pvtVals pvtUiCell").appendTo($).append(u).append(W).append(g).append(e("<br>")),e("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols pvtUiCell").appendTo($),Y=e("<tr>").appendTo(X),Y.append(e("<td>").addClass("pvtAxisContainer pvtRows pvtUiCell").attr("valign","top")),I=e("<td>").attr("valign","top").addClass("pvtRendererArea").appendTo(Y),!0===L.unusedAttrsVertical||ee?(X.find("tr:nth-child(1)").prepend(Q),X.find("tr:nth-child(2)").prepend(Z)):X.prepend(e("<tr>").append(Q).append(Z)),this.html(X),N=L.cols,P=0,T=N.length;P<T;P++)te=N[P],this.find(".pvtCols").append(this.find(".axis_"+e.inArray(te,G)));for(z=L.rows,B=0,C=z.length;B<C;B++)te=z[B],this.find(".pvtRows").append(this.find(".axis_"+e.inArray(te,G)));null!=L.aggregatorName&&this.find(".pvtAggregator").val(L.aggregatorName),null!=L.rendererName&&this.find(".pvtRenderer").val(L.rendererName),L.showUI||this.find(".pvtUiCell").hide(),_=!0,H=function(r){return function(){var n,i,o,a,s,l,f,p,d,v,m,y,b,x;if(v={derivedAttributes:L.derivedAttributes,localeStrings:L.localeStrings,rendererOptions:L.rendererOptions,sorters:L.sorters,cols:[],rows:[],dataClass:L.dataClass},s=null!=(p=L.aggregators[u.val()]([])().numInputs)?p:0,x=[],r.find(".pvtRows li span.pvtAttr").each((function(){return v.rows.push(e(this).data("attrName"))})),r.find(".pvtCols li span.pvtAttr").each((function(){return v.cols.push(e(this).data("attrName"))})),r.find(".pvtVals select.pvtAttrDropdown").each((function(){return 0===s?e(this).remove():(s--,""!==e(this).val()?x.push(e(this).val()):void 0)})),0!==s)for(f=r.find(".pvtVals"),te=m=0,d=s;0<=d?m<d:m>d;te=0<=d?++m:--m){for(a=e("<select>").addClass("pvtAttrDropdown").append(e("<option>")).bind("change",(function(){return U()})),y=0,o=q.length;y<o;y++)c=q[y],a.append(e("<option>").val(c).text(c));f.append(a)}if(_&&(x=L.vals,w=0,r.find(".pvtVals select.pvtAttrDropdown").each((function(){return e(this).val(x[w]),w++})),_=!1),v.aggregatorName=u.val(),v.vals=x,v.aggregator=L.aggregators[u.val()](x),v.renderer=L.renderers[V.val()],v.rowOrder=W.data("order"),v.colOrder=g.data("order"),n={},r.find("input.pvtFilter").not(":checked").each((function(){var t;return t=e(this).data("filter"),null!=n[t[0]]?n[t[0]].push(t[1]):n[t[0]]=[t[1]]})),i={},r.find("input.pvtFilter:checked").each((function(){var t;if(t=e(this).data("filter"),null!=n[t[0]])return null!=i[t[0]]?i[t[0]].push(t[1]):i[t[0]]=[t[1]]})),v.filter=function(e){var r,i,o,a;if(!L.filter(e))return!1;for(i in n)if(r=n[i],o=""+(null!=(a=e[i])?a:"null"),t.call(r,o)>=0)return!1;return!0},I.pivot(M,v),l=e.extend({},L,{cols:v.cols,rows:v.rows,colOrder:v.colOrder,rowOrder:v.rowOrder,vals:x,exclusions:n,inclusions:i,inclusionsInfo:i,aggregatorName:u.val(),rendererName:V.val()}),r.data("pivotUIOptions",l),L.autoSortUnusedAttrs&&(b=r.find("td.pvtUnused.pvtAxisContainer"),e(b).children("li").sort((function(t,r){return h(e(t).text(),e(r).text())})).appendTo(b)),I.css("opacity",1),null!=L.onRefresh)return L.onRefresh(l)}}(this),U=function(e){return function(){return I.css("opacity",.5),setTimeout(H,10)}}(),U(),this.find(".pvtAxisContainer").sortable({update:function(e,t){if(null==t.sender)return U()},connectWith:this.find(".pvtAxisContainer"),items:"li",placeholder:"pvtPlaceholder"})}catch(re){b=re,"undefined"!==typeof console&&null!==console&&console.error(b.stack),this.html(L.localeStrings.uiRenderError)}return this},e.fn.heatmap=function(t,r){var n,i,o,a,s,l,u,c,f,p,d;switch(null==t&&(t="heatmap"),c=this.data("numrows"),u=this.data("numcols"),n=null!=r&&null!=(f=r.heatmap)?f.colorScaleGenerator:void 0,null==n&&(n=function(e){var t,r;return r=Math.min.apply(Math,e),t=Math.max.apply(Math,e),function(e){var n;return n=255-Math.round(255*(e-r)/(t-r)),"rgb(255,"+n+","+n+")"}}),i=function(t){return function(r){var i,o,a;return o=function(n){return t.find(r).each((function(){var t;if(t=e(this).data("value"),null!=t&&isFinite(t))return n(t,e(this))}))},a=[],o((function(e){return a.push(e)})),i=n(a),o((function(e,t){return t.css("background-color",i(e))}))}}(this),t){case"heatmap":i(".pvtVal");break;case"rowheatmap":for(o=s=0,p=c;0<=p?s<p:s>p;o=0<=p?++s:--s)i(".pvtVal.row"+o);break;case"colheatmap":for(a=l=0,d=u;0<=d?l<d:l>d;a=0<=d?++l:--l)i(".pvtVal.col"+a)}return i(".pvtTotal.rowTotal"),i(".pvtTotal.colTotal"),this},e.fn.barchart=function(t){var r,n,i,o,a;for(o=this.data("numrows"),this.data("numcols"),r=function(t){return function(r){var n,i,o,a,s,l;return n=function(n){return t.find(r).each((function(){var t;if(t=e(this).data("value"),null!=t&&isFinite(t))return n(t,e(this))}))},l=[],n((function(e){return l.push(e)})),i=Math.max.apply(Math,l),i<0&&(i=0),a=i,o=Math.min.apply(Math,l),o<0&&(a=i-o),s=function(e){return 100*e/(1.4*a)},n((function(t,r){var n,i,a,l;return a=r.text(),l=e("<div>").css({position:"relative",height:"55px"}),i="gray",n=0,o<0&&(n=s(-o)),t<0&&(n+=s(t),i="darkred",t=-t),l.append(e("<div>").css({position:"absolute",bottom:n+"%",left:0,right:0,height:s(t)+"%","background-color":i})),l.append(e("<div>").text(a).css({position:"relative","padding-left":"5px","padding-right":"5px"})),r.css({padding:0,"padding-top":"5px","text-align":"center"}).html(l)}))}}(this),n=i=0,a=o;0<=a?i<a:i>a;n=0<=a?++i:--i)r(".pvtVal.row"+n);return r(".pvtTotal.colTotal"),this}}))}).call(this)},9759:function(e,t,r){"use strict";var n=r("63dc").FROM_BL;e.exports=function(e,t,r){void 0===r&&(r=n[e.constraintoward||"center"]);var i=[e.r2l(e.range[0]),e.r2l(e.range[1])],o=i[0]+(i[1]-i[0])*r;e.range=e._input.range=[e.l2r(o+(i[0]-o)*t),e.l2r(o+(i[1]-o)*t)],e.setScale()}},"976e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepCopyPublic=o,t.setMultiValuedContainer=a;var n=r("e419"),i=r("4578");function o(e){if("undefined"===typeof e)return e;var t=function(e,t){return e.startsWith("_")?0:t};return window.JSON.parse(window.JSON.stringify(e,t))}function a(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=e[r],l=t[r];if(("string"!==typeof r||"_"!==r.charAt(0)||"_group"===r)&&"function"!==typeof s&&"module"!==r&&s!==n.MULTI_VALUED)if(void 0===s)e[r]=l;else if("colorscale"===r)String(s)!==String(l)&&(e[r]=n.MULTI_VALUED);else if(Array.isArray(s)){if(!o.searchArrays)return;if(Array.isArray(l))for(var u=0;u<l.length;u++)a(s,l,u,o);else e[r]=n.MULTI_VALUED}else if((0,i.isPlainObject)(l)){if(!(0,i.isPlainObject)(s))throw new Error("tried to merge object into non-object: "+r);Object.keys(l).forEach((function(e){a(s,l,e,o)}))}else{if((0,i.isPlainObject)(s))throw new Error("tried to merge non-object into object: "+r);s!==l&&(e[r]=n.MULTI_VALUED)}}},9773:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},9776:function(e,t,r){"use strict";e.exports=p;var n=r("c5af"),i=r("20314"),o=r("cea5"),a=r("28dd"),s=r("efce"),l=r("4f25");function u(e,t,r,n,i,o,a){this.plot=e,this.shader=t,this.pickShader=r,this.positionBuffer=n,this.weightBuffer=i,this.colorBuffer=o,this.idBuffer=a,this.xData=[],this.yData=[],this.shape=[0,0],this.bounds=[1/0,1/0,-1/0,-1/0],this.pickOffset=0}var c=u.prototype,f=[0,0,1,0,0,1,1,0,1,1,0,1];function p(e,t){var r=e.gl,n=a(r,l.vertex,l.fragment),i=a(r,l.pickVertex,l.pickFragment),o=s(r),c=s(r),f=s(r),p=s(r),d=new u(e,n,i,o,c,f,p);return d.update(t),e.addObject(d),d}c.draw=function(){var e=[1,0,0,0,1,0,0,0,1];return function(){var t=this.plot,r=this.shader,n=this.bounds,i=this.numVertices;if(!(i<=0)){var o=t.gl,a=t.dataBox,s=n[2]-n[0],l=n[3]-n[1],u=a[2]-a[0],c=a[3]-a[1];e[0]=2*s/u,e[4]=2*l/c,e[6]=2*(n[0]-a[0])/u-1,e[7]=2*(n[1]-a[1])/c-1,r.bind();var f=r.uniforms;f.viewTransform=e,f.shape=this.shape;var p=r.attributes;this.positionBuffer.bind(),p.position.pointer(),this.weightBuffer.bind(),p.weight.pointer(o.UNSIGNED_BYTE,!1),this.colorBuffer.bind(),p.color.pointer(o.UNSIGNED_BYTE,!0),o.drawArrays(o.TRIANGLES,0,i)}}}(),c.drawPick=function(){var e=[1,0,0,0,1,0,0,0,1],t=[0,0,0,0];return function(r){var n=this.plot,i=this.pickShader,o=this.bounds,a=this.numVertices;if(!(a<=0)){var s=n.gl,l=n.dataBox,u=o[2]-o[0],c=o[3]-o[1],f=l[2]-l[0],p=l[3]-l[1];e[0]=2*u/f,e[4]=2*c/p,e[6]=2*(o[0]-l[0])/f-1,e[7]=2*(o[1]-l[1])/p-1;for(var d=0;d<4;++d)t[d]=r>>8*d&255;this.pickOffset=r,i.bind();var h=i.uniforms;h.viewTransform=e,h.pickOffset=t,h.shape=this.shape;var v=i.attributes;return this.positionBuffer.bind(),v.position.pointer(),this.weightBuffer.bind(),v.weight.pointer(s.UNSIGNED_BYTE,!1),this.idBuffer.bind(),v.pickId.pointer(s.UNSIGNED_BYTE,!1),s.drawArrays(s.TRIANGLES,0,a),r+this.shape[0]*this.shape[1]}}}(),c.pick=function(e,t,r){var n=this.pickOffset,i=this.shape[0]*this.shape[1];if(r<n||r>=n+i)return null;var o=r-n,a=this.xData,s=this.yData;return{object:this,pointId:o,dataCoord:[a[o%this.shape[0]],s[o/this.shape[0]|0]]}},c.update=function(e){e=e||{};var t=e.shape||[0,0],r=e.x||i(t[0]),a=e.y||i(t[1]),s=e.z||new Float32Array(t[0]*t[1]),l=!1!==e.zsmooth;this.xData=r,this.yData=a;var u,c,p,d,h=e.colorLevels||[0],v=e.colorValues||[0,0,0,1],m=h.length,g=this.bounds;l?(u=g[0]=r[0],c=g[1]=a[0],p=g[2]=r[r.length-1],d=g[3]=a[a.length-1]):(u=g[0]=r[0]+(r[1]-r[0])/2,c=g[1]=a[0]+(a[1]-a[0])/2,p=g[2]=r[r.length-1]+(r[r.length-1]-r[r.length-2])/2,d=g[3]=a[a.length-1]+(a[a.length-1]-a[a.length-2])/2);var y=1/(p-u),b=1/(d-c),x=t[0],A=t[1];this.shape=[x,A];var w=(l?(x-1)*(A-1):x*A)*(f.length>>>1);this.numVertices=w;for(var _=o.mallocUint8(4*w),E=o.mallocFloat32(2*w),k=o.mallocUint8(2*w),T=o.mallocUint32(w),C=0,S=l?x-1:x,O=l?A-1:A,M=0;M<O;++M){var P,B;l?(P=b*(a[M]-c),B=b*(a[M+1]-c)):(P=M<A-1?b*(a[M]-(a[M+1]-a[M])/2-c):b*(a[M]-(a[M]-a[M-1])/2-c),B=M<A-1?b*(a[M]+(a[M+1]-a[M])/2-c):b*(a[M]+(a[M]-a[M-1])/2-c));for(var L=0;L<S;++L){var D,I;l?(D=y*(r[L]-u),I=y*(r[L+1]-u)):(D=L<x-1?y*(r[L]-(r[L+1]-r[L])/2-u):y*(r[L]-(r[L]-r[L-1])/2-u),I=L<x-1?y*(r[L]+(r[L+1]-r[L])/2-u):y*(r[L]+(r[L]-r[L-1])/2-u));for(var j=0;j<f.length;j+=2){var R,F,N,z,U=f[j],H=f[j+1],V=l?(M+H)*x+(L+U):M*x+L,Q=s[V],W=n.le(h,Q);if(W<0)R=v[0],F=v[1],N=v[2],z=v[3];else if(W===m-1)R=v[4*m-4],F=v[4*m-3],N=v[4*m-2],z=v[4*m-1];else{var K=(Q-h[W])/(h[W+1]-h[W]),q=1-K,G=4*W,$=4*(W+1);R=q*v[G]+K*v[$],F=q*v[G+1]+K*v[$+1],N=q*v[G+2]+K*v[$+2],z=q*v[G+3]+K*v[$+3]}_[4*C]=255*R,_[4*C+1]=255*F,_[4*C+2]=255*N,_[4*C+3]=255*z,E[2*C]=.5*D+.5*I,E[2*C+1]=.5*P+.5*B,k[2*C]=U,k[2*C+1]=H,T[C]=M*x+L,C+=1}}}this.positionBuffer.update(E),this.weightBuffer.update(k),this.colorBuffer.update(_),this.idBuffer.update(T),o.free(E),o.free(_),o.free(k),o.free(T)},c.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.positionBuffer.dispose(),this.weightBuffer.dispose(),this.colorBuffer.dispose(),this.idBuffer.dispose(),this.plot.removeObject(this)}},9778:function(e,t,r){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:r("e827"),supplyLayoutDefaults:r("e813"),draw:r("43d9"),style:r("ee77")}},"97d1":function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("94d5").texttemplateAttrs,o=r("f4e9"),a=r("81f0").attributes,s=r("919e"),l=r("f200"),u=r("23cc"),c=r("9092").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:c({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:l.marker.line,editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:c({},s.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:s.text,textinfo:l.textinfo,texttemplate:i({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:n({},{keys:u.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:c({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:s.sort,root:l.root,domain:a({name:"treemap",trace:!0,editType:"calc"})}},"97d3":function(e,t,r){var n=r("48a0"),i=r("30c9");function o(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}e.exports=o},"97e2":function(e,t,r){"use strict";e.exports={init:v,sweepBipartite:y,sweepComplete:b,scanBipartite:x,scanComplete:A};var n=r("cea5"),i=r("a48a"),o=r("0119"),a=1<<28,s=1024,l=n.mallocInt32(s),u=n.mallocInt32(s),c=n.mallocInt32(s),f=n.mallocInt32(s),p=n.mallocInt32(s),d=n.mallocInt32(s),h=n.mallocDouble(8*s);function v(e){var t=i.nextPow2(e);l.length<t&&(n.free(l),l=n.mallocInt32(t)),u.length<t&&(n.free(u),u=n.mallocInt32(t)),c.length<t&&(n.free(c),c=n.mallocInt32(t)),f.length<t&&(n.free(f),f=n.mallocInt32(t)),p.length<t&&(n.free(p),p=n.mallocInt32(t)),d.length<t&&(n.free(d),d=n.mallocInt32(t));var r=8*t;h.length<r&&(n.free(h),h=n.mallocDouble(r))}function m(e,t,r,n){var i=t[n],o=e[r-1];e[i]=o,t[o]=i}function g(e,t,r,n){e[r]=n,t[n]=r}function y(e,t,r,n,i,s,p,d,v,y){for(var b=0,x=2*e,A=e-1,w=x-1,_=r;_<n;++_){var E=s[_],k=x*_;h[b++]=i[k+A],h[b++]=-(E+1),h[b++]=i[k+w],h[b++]=E}for(_=p;_<d;++_){E=y[_]+a;var T=x*_;h[b++]=v[T+A],h[b++]=-E,h[b++]=v[T+w],h[b++]=E}var C=b>>>1;o(h,C);var S=0,O=0;for(_=0;_<C;++_){var M=0|h[2*_+1];if(M>=a)M=M-a|0,m(c,f,O--,M);else if(M>=0)m(l,u,S--,M);else if(M<=-a){M=-M-a|0;for(var P=0;P<S;++P){var B=t(l[P],M);if(void 0!==B)return B}g(c,f,O++,M)}else{M=-M-1|0;for(P=0;P<O;++P){B=t(M,c[P]);if(void 0!==B)return B}g(l,u,S++,M)}}}function b(e,t,r,n,i,a,s,v,y,b){for(var x=0,A=2*e,w=e-1,_=A-1,E=r;E<n;++E){var k=a[E]+1<<1,T=A*E;h[x++]=i[T+w],h[x++]=-k,h[x++]=i[T+_],h[x++]=k}for(E=s;E<v;++E){k=b[E]+1<<1;var C=A*E;h[x++]=y[C+w],h[x++]=1|-k,h[x++]=y[C+_],h[x++]=1|k}var S=x>>>1;o(h,S);var O=0,M=0,P=0;for(E=0;E<S;++E){var B=0|h[2*E+1],L=1&B;if(E<S-1&&B>>1===h[2*E+3]>>1&&(L=2,E+=1),B<0){for(var D=-(B>>1)-1,I=0;I<P;++I){var j=t(p[I],D);if(void 0!==j)return j}if(0!==L)for(I=0;I<O;++I){j=t(l[I],D);if(void 0!==j)return j}if(1!==L)for(I=0;I<M;++I){j=t(c[I],D);if(void 0!==j)return j}0===L?g(l,u,O++,D):1===L?g(c,f,M++,D):2===L&&g(p,d,P++,D)}else{D=(B>>1)-1;0===L?m(l,u,O--,D):1===L?m(c,f,M--,D):2===L&&m(p,d,P--,D)}}}function x(e,t,r,n,i,s,c,f,p,d,v,y){var b=0,x=2*e,A=t,w=t+e,_=1,E=1;n?E=a:_=a;for(var k=i;k<s;++k){var T=k+_,C=x*k;h[b++]=c[C+A],h[b++]=-T,h[b++]=c[C+w],h[b++]=T}for(k=p;k<d;++k){T=k+E;var S=x*k;h[b++]=v[S+A],h[b++]=-T}var O=b>>>1;o(h,O);var M=0;for(k=0;k<O;++k){var P=0|h[2*k+1];if(P<0){T=-P;var B=!1;if(T>=a?(B=!n,T-=a):(B=!!n,T-=1),B)g(l,u,M++,T);else{var L=y[T],D=x*T,I=v[D+t+1],j=v[D+t+1+e];e:for(var R=0;R<M;++R){var F=l[R],N=x*F;if(!(j<c[N+t+1]||c[N+t+1+e]<I)){for(var z=t+2;z<e;++z)if(v[D+z+e]<c[N+z]||c[N+z+e]<v[D+z])continue e;var U,H=f[F];if(U=n?r(L,H):r(H,L),void 0!==U)return U}}}}else m(l,u,M--,P-_)}}function A(e,t,r,n,i,s,u,c,f,p,d){for(var v=0,m=2*e,g=t,y=t+e,b=n;b<i;++b){var x=b+a,A=m*b;h[v++]=s[A+g],h[v++]=-x,h[v++]=s[A+y],h[v++]=x}for(b=c;b<f;++b){x=b+1;var w=m*b;h[v++]=p[w+g],h[v++]=-x}var _=v>>>1;o(h,_);var E=0;for(b=0;b<_;++b){var k=0|h[2*b+1];if(k<0){x=-k;if(x>=a)l[E++]=x-a;else{x-=1;var T=d[x],C=m*x,S=p[C+t+1],O=p[C+t+1+e];e:for(var M=0;M<E;++M){var P=l[M],B=u[P];if(B===T)break;var L=m*P;if(!(O<s[L+t+1]||s[L+t+1+e]<S)){for(var D=t+2;D<e;++D)if(p[C+D+e]<s[L+D]||s[L+D+e]<p[C+D])continue e;var I=r(B,T);if(void 0!==I)return I}}}}else{for(x=k-a,M=E-1;M>=0;--M)if(l[M]===x){for(D=M+1;D<E;++D)l[D-1]=l[D];break}--E}}}},9840:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M12 26.313c0-.5-.188-.938-.5-1.25s-.75-.5-1.188-.5c-.5 0-.938.188-1.25.5s-.5.75-.5 1.25c0 .438.188.875.5 1.188s.75.5 1.25.5A1.71 1.71 0 0 0 12 26.313zm0-20.625A1.71 1.71 0 0 0 10.312 4c-.5 0-.938.188-1.25.5s-.5.75-.5 1.188c0 .5.188.938.5 1.25s.75.5 1.25.5c.438 0 .875-.188 1.188-.5s.5-.75.5-1.25zM23.438 8c0-.5-.188-.875-.5-1.188-.313-.375-.75-.5-1.25-.5-.438 0-.875.125-1.188.5-.313.313-.5.688-.5 1.188s.188.875.5 1.188c.313.375.75.5 1.188.5.5 0 .938-.125 1.25-.5a1.6 1.6 0 0 0 .5-1.188zm1.687 0c0 .625-.125 1.188-.438 1.75-.313.5-.75.938-1.25 1.188-.063 3.438-1.375 5.938-4.063 7.438-.813.438-2 .938-3.625 1.438-1.5.438-2.5.875-3 1.25s-.75 1-.75 1.813v.438c.5.313.938.75 1.25 1.25s.438 1.125.438 1.75c0 .938-.313 1.75-1 2.375-.625.688-1.438 1-2.375 1-1 0-1.813-.313-2.438-1-.688-.625-1-1.438-1-2.375 0-.625.125-1.25.438-1.75s.75-.938 1.25-1.25V8.69c-.5-.313-.938-.75-1.25-1.25s-.438-1.125-.438-1.75c0-.938.313-1.75 1-2.375.625-.688 1.438-1 2.438-1 .938 0 1.75.313 2.375 1 .688.625 1 1.438 1 2.375 0 .625-.125 1.25-.438 1.75s-.75.938-1.25 1.25v8.875c.625-.313 1.563-.688 2.75-1 .625-.25 1.188-.375 1.563-.563a7.07 7.07 0 0 0 1.25-.563c.438-.188.813-.438 1.063-.688s.5-.563.75-.938c.188-.313.375-.75.5-1.188.063-.5.125-1.063.125-1.688-.5-.25-.938-.688-1.25-1.188a3.464 3.464 0 0 1-.438-1.75c0-.938.313-1.75 1-2.438.625-.688 1.438-1 2.375-1 1 0 1.813.313 2.438 1 .688.688 1 1.5 1 2.438z"}))};t.default=u},9845:function(e,t,r){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),o=r("0d3b"),a=r("6eeb"),s=r("e2cc"),l=r("d44e"),u=r("9ed3"),c=r("69f3"),f=r("19aa"),p=r("5135"),d=r("0366"),h=r("f5df"),v=r("825a"),m=r("861d"),g=r("7c73"),y=r("5c6c"),b=r("9a1f"),x=r("35a1"),A=r("b622"),w=i("fetch"),_=i("Headers"),E=A("iterator"),k="URLSearchParams",T=k+"Iterator",C=c.set,S=c.getterFor(k),O=c.getterFor(T),M=/\+/g,P=Array(4),B=function(e){return P[e-1]||(P[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},L=function(e){try{return decodeURIComponent(e)}catch(t){return e}},D=function(e){var t=e.replace(M," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace(B(r--),L);return t}},I=/[!'()~]|%20/g,j={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},R=function(e){return j[e]},F=function(e){return encodeURIComponent(e).replace(I,R)},N=function(e,t){if(t){var r,n,i=t.split("&"),o=0;while(o<i.length)r=i[o++],r.length&&(n=r.split("="),e.push({key:D(n.shift()),value:D(n.join("="))}))}},z=function(e){this.entries.length=0,N(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},H=u((function(e,t){C(this,{type:T,iterator:b(S(e).entries),kind:t})}),"Iterator",(function(){var e=O(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),V=function(){f(this,V,k);var e,t,r,n,i,o,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,d=[];if(C(c,{type:k,entries:d,updateURL:function(){},updateSearchParams:z}),void 0!==u)if(m(u))if(e=x(u),"function"===typeof e){t=e.call(u),r=t.next;while(!(n=r.call(t)).done){if(i=b(v(n.value)),o=i.next,(a=o.call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}}else for(l in u)p(u,l)&&d.push({key:l,value:u[l]+""});else N(d,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},Q=V.prototype;s(Q,{append:function(e,t){U(arguments.length,2);var r=S(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){U(arguments.length,1);var t=S(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=S(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){U(arguments.length,1);for(var t=S(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){U(arguments.length,1);var t=S(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var r,n=S(this),i=n.entries,o=!1,a=e+"",s=t+"",l=0;l<i.length;l++)r=i[l],r.key===a&&(o?i.splice(l--,1):(o=!0,r.value=s));o||i.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=S(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=S(this).entries,n=d(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new H(this,"keys")},values:function(){return new H(this,"values")},entries:function(){return new H(this,"entries")}},{enumerable:!0}),a(Q,E,Q.entries),a(Q,"toString",(function(){var e,t=S(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(F(e.key)+"="+F(e.value));return r.join("&")}),{enumerable:!0}),l(V,k),n({global:!0,forced:!o},{URLSearchParams:V}),o||"function"!=typeof w||"function"!=typeof _||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(t=arguments[1],m(t)&&(r=t.body,h(r)===k&&(n=t.headers?new _(t.headers):new _,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(r)),headers:y(0,n)}))),i.push(t)),w.apply(this,i)}}),e.exports={URLSearchParams:V,getState:S}},"986b":function(e,t,r){"use strict";var n,i=r("936a"),o=r("262a"),a=r("7dc8"),s=r("d66f"),l=r("f3a6"),u=r("4665"),c=Function.prototype.bind,f=Object.defineProperty,p=Object.prototype.hasOwnProperty;n=function(e,t,r){var n,i=o(t)&&a(t.value);return n=s(t),delete n.writable,delete n.value,n.get=function(){return!r.overwriteDefinition&&p.call(this,e)?i:(t.value=c.call(i,r.resolveContext?r.resolveContext(this):this),f(this,e,t),this[e])},n},e.exports=function(e){var t=l(arguments[1]);return i(t.resolveContext)&&a(t.resolveContext),u(e,(function(e,r){return n(r,e,t)}))}},9897:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20C20,21.1 19.1,22 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"}))};e.exports=s},"98e7":function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("feed");function a(e,t,r,n){var i,o,a,l,u,c,f,p,d,h=e.cd,v=h[0].t,m=h[0].trace,g=e.xa,y=e.ya,b=v.x,x=v.y,A=g.c2p(t),w=y.c2p(r),_=e.distance;if(v.tree){var E=g.p2c(A-_),k=g.p2c(A+_),T=y.p2c(w-_),C=y.p2c(w+_);i="x"===n?v.tree.range(Math.min(E,k),Math.min(y._rl[0],y._rl[1]),Math.max(E,k),Math.max(y._rl[0],y._rl[1])):v.tree.range(Math.min(E,k),Math.min(T,C),Math.max(E,k),Math.max(T,C))}else i=v.ids;var S=_;if("x"===n)for(u=0;u<i.length;u++)a=b[i[u]],c=Math.abs(g.c2p(a)-A),c<S&&(S=c,f=y.c2p(x[i[u]])-w,d=Math.sqrt(c*c+f*f),o=i[u]);else for(u=i.length-1;u>-1;u--)a=b[i[u]],l=x[i[u]],c=g.c2p(a)-A,f=y.c2p(l)-w,p=Math.sqrt(c*c+f*f),p<S&&(S=d=p,o=i[u]);return e.index=o,e.distance=S,e.dxy=d,void 0===o?[e]:[s(e,b,x,m)]}function s(e,t,r,a){var s=e.xa,l=e.ya,u=e.distance,c=e.dxy,f=e.index,p={pointNumber:f,x:t[f],y:r[f]};p.tx=Array.isArray(a.text)?a.text[f]:a.text,p.htx=Array.isArray(a.hovertext)?a.hovertext[f]:a.hovertext,p.data=Array.isArray(a.customdata)?a.customdata[f]:a.customdata,p.tp=Array.isArray(a.textposition)?a.textposition[f]:a.textposition;var d=a.textfont;d&&(p.ts=i.isArrayOrTypedArray(d.size)?d.size[f]:d.size,p.tc=Array.isArray(d.color)?d.color[f]:d.color,p.tf=Array.isArray(d.family)?d.family[f]:d.family);var h=a.marker;h&&(p.ms=i.isArrayOrTypedArray(h.size)?h.size[f]:h.size,p.mo=i.isArrayOrTypedArray(h.opacity)?h.opacity[f]:h.opacity,p.mx=i.isArrayOrTypedArray(h.symbol)?h.symbol[f]:h.symbol,p.mc=i.isArrayOrTypedArray(h.color)?h.color[f]:h.color);var v=h&&h.line;v&&(p.mlc=Array.isArray(v.color)?v.color[f]:v.color,p.mlw=i.isArrayOrTypedArray(v.width)?v.width[f]:v.width);var m=h&&h.gradient;m&&"none"!==m.type&&(p.mgt=Array.isArray(m.type)?m.type[f]:m.type,p.mgc=Array.isArray(m.color)?m.color[f]:m.color);var g=s.c2p(p.x,!0),y=l.c2p(p.y,!0),b=p.mrc||1,x=a.hoverlabel;x&&(p.hbg=Array.isArray(x.bgcolor)?x.bgcolor[f]:x.bgcolor,p.hbc=Array.isArray(x.bordercolor)?x.bordercolor[f]:x.bordercolor,p.hts=i.isArrayOrTypedArray(x.font.size)?x.font.size[f]:x.font.size,p.htc=Array.isArray(x.font.color)?x.font.color[f]:x.font.color,p.htf=Array.isArray(x.font.family)?x.font.family[f]:x.font.family,p.hnl=i.isArrayOrTypedArray(x.namelength)?x.namelength[f]:x.namelength);var A=a.hoverinfo;A&&(p.hi=Array.isArray(A)?A[f]:A);var w=a.hovertemplate;w&&(p.ht=Array.isArray(w)?w[f]:w);var _={};_[e.index]=p;var E=a._origX,k=a._origY,T=i.extendFlat({},e,{color:o(a,p),x0:g-b,x1:g+b,xLabelVal:E?E[f]:p.x,y0:y-b,y1:y+b,yLabelVal:k?k[f]:p.y,cd:_,distance:u,spikeDistance:c,hovertemplate:p.ht});return p.htx?T.text=p.htx:p.tx?T.text=p.tx:a.text&&(T.text=a.text),i.fillText(p,a,T),n.getComponentMethod("errorbars","hoverInfo")(p,a,T),T}e.exports={hoverPoints:a,calcHover:s}},"98e74":function(e,t,r){"use strict";var n=r("fc26"),i=r("0642");e.exports=function(e,t,r){var o,a,s={},l=r[t.subplot]._subplot;l?(o=l.radialAxis,a=l.angularAxis):(l=r[t.subplot],o=l.radialaxis,a=l.angularaxis);var u=o.c2l(e.r);s.rLabel=i.tickText(o,u,!0).text;var c="degrees"===a.thetaunit?n.rad2deg(e.theta):e.theta;return s.thetaLabel=i.tickText(a,c,!0).text,s}},9903:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Fold=void 0;var i=p(r("9c5c")),o=p(r("d7bc")),a=f(r("ab5b")),s=p(r("4d26")),l=r("8704"),u=r("4578");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=function(e){m(r,e);var t=y(r);function r(){var e;return d(this,r),e=t.call(this),e.foldVisible=!0,e}return v(r,[{key:"getChildContext",value:function(){return{foldInfo:this.props.foldInfo?this.props.foldInfo:null}}},{key:"render",value:function(){if(!this.foldVisible&&!this.props.messageIfEmpty)return null;var e=this.context,t=e.deleteContainer,r=e.moveContainer,n=this.props,o=n.canDelete,c=n.children,f=n.className,p=n.folded,d=n.foldInfo,h=n.toggleFold,v=n.hideHeader,m=n.icon,g=n.messageIfEmpty,y=n.name,b=n.canMoveUp,x=n.canMoveDown,A=(0,s.default)("fold__content",{"fold__content--noheader":v}),w=(0,s.default)("fold__top",{"fold__top--open":!p}),_=(0,s.default)("fold__top__arrow",{"fold__top__arrow--open":!p}),E=a.default.createElement("div",{className:_},a.default.createElement("div",{className:"fold__top__arrow__wrapper"},a.default.createElement(l.AngleDownIcon,null))),k=m?a.default.createElement(m,{className:"fold__top__icon"}):null,T=o&&"function"===typeof t?a.default.createElement("div",{className:"fold__top__delete js-fold__delete",onClick:function(e){e.stopPropagation(),t(d)}},a.default.createElement(l.CloseIcon,null)):null,C=(x||b)&&a.default.createElement("div",{className:"fold__top__moving-controls"},a.default.createElement("span",{className:"fold__top__moving-controls--up".concat(b?"":"--disabled"),onClick:function(e){if(e.stopPropagation(),b){if(!r||"function"!==typeof r)throw new Error("moveContainer must be a function");r("up")}}},a.default.createElement(l.AngleDownIcon,null)),a.default.createElement("span",{className:"fold__top__moving-controls--down".concat(x?"":"--disabled"),onClick:function(e){if(e.stopPropagation(),x){if(!r||"function"!==typeof r)throw new Error("moveContainer must be a function");r("down")}}},a.default.createElement(l.AngleDownIcon,null))),S=!v&&a.default.createElement("div",{className:w,onClick:h},a.default.createElement("div",{className:"fold__top__arrow-title"},E,k,a.default.createElement("div",{className:"fold__top__title"},(0,u.striptags)(y))),C,T),O=null;p||(O=this.foldVisible?a.default.createElement("div",{className:A},c):a.default.createElement("div",{className:A},a.default.createElement(i.default,{icon:m,messagePrimary:g})));var M=f?" "+f:"";return a.default.createElement("div",{className:"fold".concat(M)},S,O)}}]),r}(a.Component);t.Fold=_,_.plotly_editor_traits={foldable:!0},_.propTypes={canDelete:o.default.bool,children:o.default.node,className:o.default.string,folded:o.default.bool,foldInfo:o.default.object,toggleFold:o.default.func,hideHeader:o.default.bool,icon:o.default.oneOfType([o.default.node,o.default.func]),messageIfEmpty:o.default.string,name:o.default.string,canMoveUp:o.default.bool,canMoveDown:o.default.bool},_.contextTypes={deleteContainer:o.default.func},_.childContextTypes={foldInfo:o.default.object};var E=function(e){m(r,e);var t=y(r);function r(e,n){var i;return d(this,r),i=t.call(this,e,n),i.foldVisible=!1,i.determineVisibility(e,n),i}return v(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.determineVisibility(e,t)}},{key:"determineVisibility",value:function(e,t){var r=this;this.foldVisible=!1,a.default.Children.forEach(e.children,(function(e){if(e&&!r.foldVisible){if(e.props.attr){var n=(0,u.unpackPlotProps)(e.props,t);return e.type.modifyPlotProps&&e.type.modifyPlotProps(e.props,t,n),void(r.foldVisible=r.foldVisible||n.isVisible)}(e.type.plotly_editor_traits||{}).no_visibility_forcing||(r.foldVisible=!0)}}))}}]),r}(_);E.plotly_editor_traits={foldable:!0},E.contextTypes=Object.assign({deleteContainer:o.default.func,moveContainer:o.default.func},u.containerConnectedContextTypes);var k=E;t.default=k},9915:function(e,t,r){"use strict";e.exports=i;var n=r("3122");function i(e,t){for(var r=0|t.length,i=e.length,o=[new Array(r),new Array(r)],a=0;a<r;++a)o[0][a]=[],o[1][a]=[];for(a=0;a<i;++a){var s=e[a];o[0][s[0]].push(s),o[1][s[1]].push(s)}var l=[];for(a=0;a<r;++a)o[0][a].length+o[1][a].length===0&&l.push([a]);function u(e,t){var r=o[t][e[t]];r.splice(r.indexOf(e),1)}function c(e,r,i){for(var a,s,l,c=0;c<2;++c)if(o[c][r].length>0){a=o[c][r][0],l=c;break}s=a[1^l];for(var f=0;f<2;++f)for(var p=o[f][r],d=0;d<p.length;++d){var h=p[d],v=h[1^f],m=n(t[e],t[r],t[s],t[v]);m>0&&(a=h,s=v,l=f)}return i||a&&u(a,l),s}function f(e,r){var i=o[r][e][0],a=[e];u(i,r);var s=i[1^r];while(1){while(s!==e)a.push(s),s=c(a[a.length-2],s,!1);if(o[0][e].length+o[1][e].length===0)break;var l=a[a.length-1],f=e,p=a[1],d=c(l,f,!0);if(n(t[l],t[f],t[p],t[d])<0)break;a.push(e),s=c(l,f)}return a}function p(e,t){return t[1]===t[t.length-1]}for(a=0;a<r;++a)for(var d=0;d<2;++d){var h=[];while(o[d][a].length>0){o[0][a].length;var v=f(a,d);p(h,v)?h.push.apply(h,v):(h.length>0&&l.push(h),h=v)}h.length>0&&l.push(h)}return l}},"991c":function(e,t,r){(function(e){e(r("56b3"),r("ffda"))})((function(e){"use strict";var t,r,n,i,o={QUERY_DIV:";",ALIAS_KEYWORD:"AS"},a=e.Pos,s=e.cmpPos;function l(e){return"[object Array]"==Object.prototype.toString.call(e)}function u(t){var r=t.doc.modeOption;return"sql"===r&&(r="text/x-sql"),e.resolveMode(r).keywords}function c(t){var r=t.doc.modeOption;return"sql"===r&&(r="text/x-sql"),e.resolveMode(r).identifierQuote||"`"}function f(e){return"string"==typeof e?e:e.text}function p(e,t){return l(t)&&(t={columns:t}),t.text||(t.text=e),t}function d(e){var t={};if(l(e))for(var r=e.length-1;r>=0;r--){var n=e[r];t[f(n).toUpperCase()]=p(f(n),n)}else if(e)for(var i in e)t[i.toUpperCase()]=p(i,e[i]);return t}function h(e){return t[e.toUpperCase()]}function v(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function m(e,t){var r=e.length,n=f(t).substr(0,r);return e.toUpperCase()===n.toUpperCase()}function g(e,t,r,n){if(l(r))for(var i=0;i<r.length;i++)m(t,r[i])&&e.push(n(r[i]));else for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];a=a&&!0!==a?a.displayText?{text:a.text,displayText:a.displayText}:a.text:o,m(t,a)&&e.push(n(a))}}function y(e){"."==e.charAt(0)&&(e=e.substr(1));for(var t=e.split(i+i),r=0;r<t.length;r++)t[r]=t[r].replace(new RegExp(i,"g"),"");return t.join(i)}function b(e){for(var t=f(e).split("."),r=0;r<t.length;r++)t[r]=i+t[r].replace(new RegExp(i,"g"),i+i)+i;var n=t.join(".");return"string"==typeof e?n:(e=v(e),e.text=n,e)}function x(e,n,o,s){var l=!1,u=[],c=n.start,f=!0;while(f)f="."==n.string.charAt(0),l=l||n.string.charAt(0)==i,c=n.start,u.unshift(y(n.string)),n=s.getTokenAt(a(e.line,n.start)),"."==n.string&&(f=!0,n=s.getTokenAt(a(e.line,n.start)));var p=u.join(".");g(o,p,t,(function(e){return l?b(e):e})),g(o,p,r,(function(e){return l?b(e):e})),p=u.pop();var d=u.join("."),m=!1,x=d;if(!h(d)){var A=d;d=w(d,s),d!==A&&(m=!0)}var _=h(d);return _&&_.columns&&(_=_.columns),_&&g(o,p,_,(function(e){var t=d;return 1==m&&(t=x),"string"==typeof e?e=t+"."+e:(e=v(e),e.text=t+"."+e.text),l?b(e):e})),c}function A(e,t){for(var r=e.split(/\s+/),n=0;n<r.length;n++)r[n]&&t(r[n].replace(/[,;]/g,""))}function w(e,t){var r=t.doc,n=r.getValue(),i=e.toUpperCase(),l="",u="",c=[],f={start:a(0,0),end:a(t.lastLine(),t.getLineHandle(t.lastLine()).length)},p=n.indexOf(o.QUERY_DIV);while(-1!=p)c.push(r.posFromIndex(p)),p=n.indexOf(o.QUERY_DIV,p+1);c.unshift(a(0,0)),c.push(a(t.lastLine(),t.getLineHandle(t.lastLine()).text.length));for(var d=null,v=t.getCursor(),m=0;m<c.length;m++){if((null==d||s(v,d)>0)&&s(v,c[m])<=0){f={start:d,end:c[m]};break}d=c[m]}if(f.start){var g=r.getRange(f.start,f.end,!1);for(m=0;m<g.length;m++){var y=g[m];if(A(y,(function(e){var t=e.toUpperCase();t===i&&h(l)&&(u=l),t!==o.ALIAS_KEYWORD&&(l=e)})),u)break}}return u}e.registerHelper("hint","sql",(function(e,o){t=d(o&&o.tables);var s=o&&o.defaultTable,l=o&&o.disableKeywords;r=s&&h(s),n=u(e),i=c(e),s&&!r&&(r=w(s,e)),r=r||[],r.columns&&(r=r.columns);var f,p,v,m=e.getCursor(),y=[],b=e.getTokenAt(m);if(b.end>m.ch&&(b.end=m.ch,b.string=b.string.slice(0,m.ch-b.start)),b.string.match(/^[.`"'\w@][\w$#]*$/g)?(v=b.string,f=b.start,p=b.end):(f=p=m.ch,v=""),"."==v.charAt(0)||v.charAt(0)==i)f=x(m,b,y,e);else{var A=function(e,t){return"object"===typeof e?e.className=t:e={text:e,className:t},e};g(y,v,r,(function(e){return A(e,"CodeMirror-hint-table CodeMirror-hint-default-table")})),g(y,v,t,(function(e){return A(e,"CodeMirror-hint-table")})),l||g(y,v,n,(function(e){return A(e.toUpperCase(),"CodeMirror-hint-keyword")}))}return{list:y,from:a(m.line,f),to:a(m.line,p)}}))}))},9934:function(e,t,r){var n=r("6fcd"),i=r("41c3"),o=r("30c9");function a(e){return o(e)?n(e,!0):i(e)}e.exports=a},9935:function(e,t,r){var n=r("c14d");function i(e,t,r){function i(e,t){return{id:r?r.segmentId():-1,start:e,end:t,myFill:{above:null,below:null},otherFill:null}}function o(e,t,n){return{id:r?r.segmentId():-1,start:e,end:t,myFill:{above:n.myFill.above,below:n.myFill.below},otherFill:null}}var a=n.create();function s(e,r,n,i,o,a){var s=t.pointsCompare(r,o);return 0!==s?s:t.pointsSame(n,a)?0:e!==i?e?1:-1:t.pointAboveOrOnLine(n,i?o:a,i?a:o)?1:-1}function l(e,t){a.insertBefore(e,(function(r){var n=s(e.isStart,e.pt,t,r.isStart,r.pt,r.other.pt);return n<0}))}function u(e,t){var r=n.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return l(r,e.end),r}function c(e,t,r){var i=n.node({isStart:!1,pt:t.end,seg:t,primary:r,other:e,status:null});e.other=i,l(i,e.pt)}function f(e,t){var r=u(e,t);return c(r,e,t),r}function p(e,t){r&&r.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,l(e.other,e.pt)}function d(e,t){var r=o(t,e.seg.end,e.seg);return p(e,t),f(r,e.primary)}function h(i,o){var s=n.create();function l(e,r){var n=e.seg.start,i=e.seg.end,o=r.seg.start,a=r.seg.end;return t.pointsCollinear(n,o,a)?t.pointsCollinear(i,o,a)||t.pointAboveOrOnLine(i,o,a)?1:-1:t.pointAboveOrOnLine(n,o,a)?1:-1}function u(e){return s.findTransition((function(t){var r=l(e,t.ev);return r>0}))}function c(e,n){var i=e.seg,o=n.seg,a=i.start,s=i.end,l=o.start,u=o.end;r&&r.checkIntersection(i,o);var c=t.linesIntersect(a,s,l,u);if(!1===c){if(!t.pointsCollinear(a,s,l))return!1;if(t.pointsSame(a,u)||t.pointsSame(s,l))return!1;var f=t.pointsSame(a,l),p=t.pointsSame(s,u);if(f&&p)return n;var h=!f&&t.pointBetween(a,l,u),v=!p&&t.pointBetween(s,l,u);if(f)return v?d(n,s):d(e,u),n;h&&(p||(v?d(n,s):d(e,u)),d(n,a))}else 0===c.alongA&&(-1===c.alongB?d(e,l):0===c.alongB?d(e,c.pt):1===c.alongB&&d(e,u)),0===c.alongB&&(-1===c.alongA?d(n,a):0===c.alongA?d(n,c.pt):1===c.alongA&&d(n,s));return!1}var f=[];while(!a.isEmpty()){var p=a.getHead();if(r&&r.vert(p.pt[0]),p.isStart){r&&r.segmentNew(p.seg,p.primary);var h=u(p),v=h.before?h.before.ev:null,m=h.after?h.after.ev:null;function g(){if(v){var e=c(p,v);if(e)return e}return!!m&&c(p,m)}r&&r.tempStatus(p.seg,!!v&&v.seg,!!m&&m.seg);var y,b=g();if(b){var x;if(e)x=null===p.seg.myFill.below||p.seg.myFill.above!==p.seg.myFill.below,x&&(b.seg.myFill.above=!b.seg.myFill.above);else b.seg.otherFill=p.seg.myFill;r&&r.segmentUpdate(b.seg),p.other.remove(),p.remove()}if(a.getHead()!==p){r&&r.rewind(p.seg);continue}if(e)x=null===p.seg.myFill.below||p.seg.myFill.above!==p.seg.myFill.below,p.seg.myFill.below=m?m.seg.myFill.above:i,p.seg.myFill.above=x?!p.seg.myFill.below:p.seg.myFill.below;else if(null===p.seg.otherFill)y=m?p.primary===m.primary?m.seg.otherFill.above:m.seg.myFill.above:p.primary?o:i,p.seg.otherFill={above:y,below:y};r&&r.status(p.seg,!!v&&v.seg,!!m&&m.seg),p.other.status=h.insert(n.node({ev:p}))}else{var A=p.status;if(null===A)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(A.prev)&&s.exists(A.next)&&c(A.prev.ev,A.next.ev),r&&r.statusRemove(A.ev.seg),A.remove(),!p.primary){var w=p.seg.myFill;p.seg.myFill=p.seg.otherFill,p.seg.otherFill=w}f.push(p.seg)}a.getHead().remove()}return r&&r.done(),f}return e?{addRegion:function(e){for(var r,n=e[e.length-1],o=0;o<e.length;o++){r=n,n=e[o];var a=t.pointsCompare(r,n);0!==a&&f(i(a<0?r:n,a<0?n:r),!0)}},calculate:function(e){return h(e,!1)}}:{calculate:function(e,t,r,n){return e.forEach((function(e){f(o(e.start,e.end,e),!0)})),r.forEach((function(e){f(o(e.start,e.end,e),!1)})),h(t,n)}}}e.exports=i},9969:function(e,t){function r(e,t,r,n){var i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C,S=n[0],O=n[1],M=n[2],P=Math.sqrt(S*S+O*O+M*M);return Math.abs(P)<1e-6?null:(P=1/P,S*=P,O*=P,M*=P,i=Math.sin(r),o=Math.cos(r),a=1-o,s=t[0],l=t[1],u=t[2],c=t[3],f=t[4],p=t[5],d=t[6],h=t[7],v=t[8],m=t[9],g=t[10],y=t[11],b=S*S*a+o,x=O*S*a+M*i,A=M*S*a-O*i,w=S*O*a-M*i,_=O*O*a+o,E=M*O*a+S*i,k=S*M*a+O*i,T=O*M*a-S*i,C=M*M*a+o,e[0]=s*b+f*x+v*A,e[1]=l*b+p*x+m*A,e[2]=u*b+d*x+g*A,e[3]=c*b+h*x+y*A,e[4]=s*w+f*_+v*E,e[5]=l*w+p*_+m*E,e[6]=u*w+d*_+g*E,e[7]=c*w+h*_+y*E,e[8]=s*k+f*T+v*C,e[9]=l*k+p*T+m*C,e[10]=u*k+d*T+g*C,e[11]=c*k+h*T+y*C,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}e.exports=r},9981:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20C4,21.1 4.9,22 6,22H18C19.1,22 20,21.1 20,20V8L14,2H6Z"}))};e.exports=s},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),o=r("e8b5"),a=r("861d"),s=r("7b0b"),l=r("50c4"),u=r("8418"),c=r("65f0"),f=r("1dde"),p=r("b622"),d=r("2d00"),h=p("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=d>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)},x=!g||!y;n({target:"Array",proto:!0,forced:x},{concat:function(e){var t,r,n,i,o,a=s(this),f=c(a,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?a:arguments[t],b(o)){if(i=l(o.length),p+i>v)throw TypeError(m);for(r=0;r<i;r++,p++)r in o&&u(f,p,o[r])}else{if(p>=v)throw TypeError(m);u(f,p++,o)}return f.length=p,f}})},"99cd":function(e,t){function r(e){return function(t,r,n){var i=-1,o=Object(t),a=n(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}e.exports=r},"99d3":function(e,t,r){(function(e){var n=r("585a"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&n.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=l}).call(this,r("62e4")(e))},"99d6":function(e,t,r){"use strict";var n=r("fc26"),i=r("215c").hasColorscale,o=r("4183"),a=r("81f0").defaults,s=r("e5ac"),l=r("a27e"),u=r("8cdc");function c(e,t,r,a,s){s("line.shape"),s("line.hovertemplate");var l=s("line.color",a.colorway[0]);if(i(e,"line")&&n.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),o(e,t,a,s,{prefix:"line.",cLetter:"c"}),l.length;t.line.color=r}return 1/0}function f(e,t){function r(r,i){return n.coerce(e,t,l.dimensions,r,i)}var i=r("values"),o=r("visible");if(i&&i.length||(o=t.visible=!1),o){r("label"),r("displayindex",t._index);var a,s=e.categoryarray,u=Array.isArray(s)&&s.length>0;u&&(a="array");var c=r("categoryorder",a);"array"===c?(r("categoryarray"),r("ticktext")):(delete e.categoryarray,delete e.ticktext),u||"array"!==c||(t.categoryorder="trace")}}e.exports=function(e,t,r,i){function o(r,i){return n.coerce(e,t,l,r,i)}var p=s(e,t,{name:"dimensions",handleItemDefaults:f}),d=c(e,t,r,i,o);a(t,i,o),Array.isArray(p)&&p.length||(t.visible=!1),u(t,p,"values",d),o("hoveron"),o("hovertemplate"),o("arrangement"),o("bundlecolors"),o("sortpaths"),o("counts");var h={family:i.font.family,size:Math.round(i.font.size),color:i.font.color};n.coerceFont(o,"labelfont",h);var v={family:i.font.family,size:Math.round(i.font.size/1.2),color:i.font.color};n.coerceFont(o,"tickfont",v)}},"99f7":function(e,t,r){e.exports=r("fb8f")},"99fb":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=s(r("4d26"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(e){var n;return c(this,r),n=t.call(this,e),n.onToggle=n.onToggle.bind(g(n)),n}return p(r,[{key:"onToggle",value:function(e){e.preventDefault(),this.props.onToggle(this.props.value)}},{key:"render",value:function(){var e=this.props,t=e.active,r=e.label,n=e.value,o=(0,a.default)("rich-text-editor__styleButton","rich-text-editor__styleButton__".concat(n),{"rich-text-editor__styleButton--active":t});return i.default.createElement("span",{className:"rich-text-editor__styleButton__wrapper"},i.default.createElement("span",{className:o,onMouseDown:this.onToggle,"data-role":"button","data-pressed":t},r))}}]),r}(i.Component);x.propTypes={active:o.default.bool,label:o.default.element.isRequired,onToggle:o.default.func.isRequired,value:o.default.string.isRequired};var A=x;t.default=A},"99fd":function(e,t,r){"use strict";var n=r("12e0"),i=r("fc26"),o=r("e806"),a=o.EPOCHJD,s=o.ONEDAY,l={valType:"enumerated",values:Object.keys(n.calendars),role:"info",editType:"calc",dflt:"gregorian"},u=function(e,t,r,n){var o={};return o[r]=l,i.coerce(e,t,o,r,n)},c=function(e,t,r,n){for(var i=0;i<r.length;i++)u(e,t,r[i]+"calendar",n.calendar)},f={chinese:"2000-01-01",coptic:"2000-01-01",discworld:"2000-01-01",ethiopian:"2000-01-01",hebrew:"5000-01-01",islamic:"1000-01-01",julian:"2000-01-01",mayan:"5000-01-01",nanakshahi:"1000-01-01",nepali:"2000-01-01",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-01",thai:"2000-01-01",ummalqura:"1400-01-01"},p={chinese:"2000-01-02",coptic:"2000-01-03",discworld:"2000-01-03",ethiopian:"2000-01-05",hebrew:"5000-01-01",islamic:"1000-01-02",julian:"2000-01-03",mayan:"5000-01-01",nanakshahi:"1000-01-05",nepali:"2000-01-05",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-04",thai:"2000-01-04",ummalqura:"1400-01-06"},d={chinese:["2000-01-01","2001-01-01"],coptic:["1700-01-01","1701-01-01"],discworld:["1800-01-01","1801-01-01"],ethiopian:["2000-01-01","2001-01-01"],hebrew:["5700-01-01","5701-01-01"],islamic:["1400-01-01","1401-01-01"],julian:["2000-01-01","2001-01-01"],mayan:["5200-01-01","5201-01-01"],nanakshahi:["0500-01-01","0501-01-01"],nepali:["2000-01-01","2001-01-01"],persian:["1400-01-01","1401-01-01"],jalali:["1400-01-01","1401-01-01"],taiwan:["0100-01-01","0101-01-01"],thai:["2500-01-01","2501-01-01"],ummalqura:["1400-01-01","1401-01-01"]},h="##",v={d:{0:"dd","-":"d"},e:{0:"d","-":"d"},a:{0:"D","-":"D"},A:{0:"DD","-":"DD"},j:{0:"oo","-":"o"},W:{0:"ww","-":"w"},m:{0:"mm","-":"m"},b:{0:"M","-":"M"},B:{0:"MM","-":"MM"},y:{0:"yy","-":"yy"},Y:{0:"yyyy","-":"yyyy"},U:h,w:h,c:{0:"D M d %X yyyy","-":"D M d %X yyyy"},x:{0:"mm/dd/yyyy","-":"mm/dd/yyyy"}};function m(e,t,r){var n,i,o,l,u,c=Math.floor((t+.05)/s)+a,f=y(r).fromJD(c),p=0;while(-1!==(p=e.indexOf("%",p)))n=e.charAt(p+1),"0"===n||"-"===n||"_"===n?(o=3,i=e.charAt(p+2),"_"===n&&(n="-")):(i=n,n="0",o=2),l=v[i],l?(u=l===h?h:f.formatDate(l[n]),e=e.substr(0,p)+u+e.substr(p+o),p+=u.length):p+=o;return e}var g={};function y(e){var t=g[e];return t||(t=g[e]=n.instance(e),t)}function b(e){return i.extendFlat({},l,{description:e})}function x(e){return"Sets the calendar system to use with `"+e+"` date data."}var A={xcalendar:b(x("x"))},w=i.extendFlat({},A,{ycalendar:b(x("y"))}),_=i.extendFlat({},w,{zcalendar:b(x("z"))}),E=b(["Sets the calendar system to use for `range` and `tick0`","if this is a date axis. This does not set the calendar for","interpreting data on this axis, that's specified in the trace","or via the global `layout.calendar`"].join(" "));e.exports={moduleType:"component",name:"calendars",schema:{traces:{scatter:w,bar:w,box:w,heatmap:w,contour:w,histogram:w,histogram2d:w,histogram2dcontour:w,scatter3d:_,surface:_,mesh3d:_,scattergl:w,ohlc:A,candlestick:A},layout:{calendar:b(["Sets the default calendar system to use for interpreting and","displaying dates throughout the plot."].join(" "))},subplots:{xaxis:{calendar:E},yaxis:{calendar:E},scene:{xaxis:{calendar:E},yaxis:{calendar:E},zaxis:{calendar:E}},polar:{radialaxis:{calendar:E}}},transforms:{filter:{valuecalendar:b(["Sets the calendar system to use for `value`, if it is a date."].join(" ")),targetcalendar:b(["Sets the calendar system to use for `target`, if it is an","array of dates. If `target` is a string (eg *x*) we use the","corresponding trace attribute (eg `xcalendar`) if it exists,","even if `targetcalendar` is provided."].join(" "))}}},layoutAttributes:l,handleDefaults:u,handleTraceDefaults:c,CANONICAL_SUNDAY:p,CANONICAL_TICK:f,DFLTRANGE:d,getCal:y,worldCalFmt:m}},"9a02":function(e,t){e.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],cool:[{index:0,rgb:[0,255,255]},{index:1,rgb:[255,0,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9a31":function(e,t,r){"use strict";var n=r("d8db"),i="NEUTRAL",o="LTR",a="RTL",s=null;function l(e){return e===o||e===a}function u(e){return l(e)||n(!1),e===o?"ltr":"rtl"}function c(e,t){return l(e)||n(!1),l(t)||n(!1),e===t?null:u(e)}function f(e){s=e}function p(){f(o)}function d(){return s||this.initGlobalDir(),s||n(!1),s}var h={NEUTRAL:i,LTR:o,RTL:a,isStrong:l,getHTMLDir:u,getHTMLDirIfDifferent:c,setGlobalDir:f,initGlobalDir:p,getGlobalDir:d};e.exports=h},"9a4a":function(e,t,r){"use strict";var n="PNG\r\n\n",i="IHDR",o="CgBI";function a(e){if(n===e.toString("ascii",1,8)){var t=e.toString("ascii",12,16);if(t===o&&(t=e.toString("ascii",28,32)),t!==i)throw new TypeError("invalid png");return!0}}function s(e){return e.toString("ascii",12,16)===o?{width:e.readUInt32BE(32),height:e.readUInt32BE(36)}:{width:e.readUInt32BE(16),height:e.readUInt32BE(20)}}e.exports={detect:a,calculate:s}},"9aeb":function(e,t,r){"use strict";const n=r("b96d"),i=r("b7d1"),o=r("be00"),a=r("c449"),s=r("aeeb"),l=r("3de2"),u=r("37cd");function c(e,t){if(!(this instanceof c))return new c(e,t);this.traces=[],this.passes={},this.regl=e,this.scatter=n(e),this.canvas=this.scatter.canvas}function f(e,t,r){let n=null!=e.id?e.id:e,i=t,o=r,a=n<<16|(255&i)<<8|255&o;return a}function p(e,t,r){let n,i,o,a,s,l,u,c,f=e[t],p=e[r];return f.length>2?(n=f[0],o=f[2],i=f[1],a=f[3]):f.length?(n=i=f[0],o=a=f[1]):(n=f.x,i=f.y,o=f.x+f.width,a=f.y+f.height),p.length>2?(s=p[0],u=p[2],l=p[1],c=p[3]):p.length?(s=l=p[0],u=c=p[1]):(s=p.x,l=p.y,u=p.x+p.width,c=p.y+p.height),[s,i,u,a]}function d(e){if("number"===typeof e)return[e,e,e,e];if(2===e.length)return[e[0],e[1],e[0],e[1]];{let t=l(e);return[t.x,t.y,t.x+t.width,t.y+t.height]}}e.exports=c,c.prototype.render=function(...e){return e.length&&this.update(...e),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?null==this.planned&&(this.planned=a(()=>{this.draw(),this.dirty=!0,this.planned=null})):(this.draw(),this.dirty=!0,a(()=>{this.dirty=!1})),this)},c.prototype.update=function(...e){if(!e.length)return;for(let n=0;n<e.length;n++)this.updateItem(n,e[n]);this.traces=this.traces.filter(Boolean);let t=[],r=0;for(let n=0;n<this.traces.length;n++){let e=this.traces[n],i=this.traces[n].passes;for(let r=0;r<i.length;r++)t.push(this.passes[i[r]]);e.passOffset=r,r+=e.passes.length}return this.scatter.update(...t),this},c.prototype.updateItem=function(e,t){let{regl:r}=this;if(null===t)return this.traces[e]=null,this;if(!t)return this;let n,a=i(t,{data:"data items columns rows values dimensions samples x",snap:"snap cluster",size:"sizes size radius",color:"colors color fill fill-color fillColor",opacity:"opacity alpha transparency opaque",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",borderColor:"borderColors borderColor bordercolor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range ranges databox dataBox",viewport:"viewport viewBox viewbox",domain:"domain domains area areas",padding:"pad padding paddings pads margin margins",transpose:"transpose transposed",diagonal:"diagonal diag showDiagonal",upper:"upper up top upperhalf upperHalf showupperhalf showUpper showUpperHalf",lower:"lower low bottom lowerhalf lowerHalf showlowerhalf showLowerHalf showLower"}),s=this.traces[e]||(this.traces[e]={id:e,buffer:r.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),color:"black",marker:null,size:12,borderColor:"transparent",borderSize:1,viewport:l([r._gl.drawingBufferWidth,r._gl.drawingBufferHeight]),padding:[0,0,0,0],opacity:1,diagonal:!0,upper:!0,lower:!0});if(null!=a.color&&(s.color=a.color),null!=a.size&&(s.size=a.size),null!=a.marker&&(s.marker=a.marker),null!=a.borderColor&&(s.borderColor=a.borderColor),null!=a.borderSize&&(s.borderSize=a.borderSize),null!=a.opacity&&(s.opacity=a.opacity),a.viewport&&(s.viewport=l(a.viewport)),null!=a.diagonal&&(s.diagonal=a.diagonal),null!=a.upper&&(s.upper=a.upper),null!=a.lower&&(s.lower=a.lower),a.data){s.buffer(u(a.data)),s.columns=a.data.length,s.count=a.data[0].length,s.bounds=[];for(let e=0;e<s.columns;e++)s.bounds[e]=o(a.data[e],1)}a.range&&(s.range=a.range,n=s.range&&"number"!==typeof s.range[0]),a.domain&&(s.domain=a.domain);let c=!1;null!=a.padding&&(Array.isArray(a.padding)&&a.padding.length===s.columns&&"number"===typeof a.padding[a.padding.length-1]?(s.padding=a.padding.map(d),c=!0):s.padding=d(a.padding));let h=s.columns,v=s.count,m=s.viewport.width,g=s.viewport.height,y=s.viewport.x,b=s.viewport.y,x=m/h,A=g/h;s.passes=[];for(let i=0;i<h;i++)for(let e=0;e<h;e++){if(!s.diagonal&&e===i)continue;if(!s.upper&&i>e)continue;if(!s.lower&&i<e)continue;let t=f(s.id,i,e),r=this.passes[t]||(this.passes[t]={});if(a.data&&(a.transpose?r.positions={x:{buffer:s.buffer,offset:e,count:v,stride:h},y:{buffer:s.buffer,offset:i,count:v,stride:h}}:r.positions={x:{buffer:s.buffer,offset:e*v,count:v},y:{buffer:s.buffer,offset:i*v,count:v}},r.bounds=p(s.bounds,i,e)),a.domain||a.viewport||a.data){let t=c?p(s.padding,i,e):s.padding;if(s.domain){let[n,o,a,l]=p(s.domain,i,e);r.viewport=[y+n*m+t[0],b+o*g+t[1],y+a*m-t[2],b+l*g-t[3]]}else r.viewport=[y+e*x+x*t[0],b+i*A+A*t[1],y+(e+1)*x-x*t[2],b+(i+1)*A-A*t[3]]}a.color&&(r.color=s.color),a.size&&(r.size=s.size),a.marker&&(r.marker=s.marker),a.borderSize&&(r.borderSize=s.borderSize),a.borderColor&&(r.borderColor=s.borderColor),a.opacity&&(r.opacity=s.opacity),a.range&&(r.range=n?p(s.range,i,e):s.range||r.bounds),s.passes.push(t)}return this},c.prototype.draw=function(...e){if(e.length){let t=[];for(let r=0;r<e.length;r++)if("number"===typeof e[r]){let{passes:n,passOffset:i}=this.traces[e[r]];t.push(...s(i,i+n.length))}else if(e[r].length){let n=e[r],{passes:i,passOffset:o}=this.traces[r];i=i.map((e,r)=>{t[o+r]=n})}this.scatter.draw(...t)}else this.scatter.draw();return this},c.prototype.destroy=function(){return this.traces.forEach(e=>{e.buffer&&e.buffer.destroy&&e.buffer.destroy()}),this.traces=null,this.passes=null,this.scatter.destroy(),this}},"9aff":function(e,t,r){var n=r("9638"),i=r("30c9"),o=r("c098"),a=r("1a8c");function s(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}e.exports=s},"9b02":function(e,t,r){var n=r("656b");function i(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}e.exports=i},"9b04":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M0 7c.617 0 1.197-.123 1.5-.5.303-.377.5-1.051.5-2V3c0-1.078.407-1.752.899-2.255C3.392.242 4.186 0 5.281 0H6v2l-.068.002c-.751 0-1.208.097-1.373.289s-.246.729-.246 1.611c0 1.127-.083 1.98-.25 2.558C3.896 7.037 3.64 7.548 3 8c.64.447.896.965 1.063 1.543.167.578.25 1.432.25 2.561 0 .884.082 1.421.246 1.614.164.192.622.289 1.373.289L6 14v2h-.719c-1.096 0-1.89-.233-2.382-.736S2 14.078 2 13v-1.5c0-.955-.197-1.626-.5-2C1.197 9.126.617 9.006 0 9V7zm16 2c-.617.006-1.199.126-1.5.5-.3.374-.5 1.045-.5 2V13c0 1.078-.312 1.761-.805 2.264S11.906 16 10.804 16H10v-2l.154.007c.756 0 1.217-.097 1.381-.289.164-.193.246-.73.246-1.614 0-1.129.083-1.982.25-2.561S12.366 8.447 13 8c-.634-.452-.802-.963-.969-1.541s-.25-1.43-.25-2.558c0-.882-.082-1.419-.246-1.611s-.625-.288-1.381-.288L10 2V0h.805c1.102 0 1.898.242 2.391.745C13.688 1.248 14 1.922 14 3v1.5c0 .949.2 1.623.5 2 .301.377.883.5 1.5.5v2z"}))};t.default=u},"9b3d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M1.313 13.375v-.063h21.375v4l9.313-8-9.313-8v4H0V24c4.5 0 8.25 1.625 10.313 4.438l-1.875.75 6.25 2.813 2.813-6.25-2.063.75c-2.75-4.563-7.938-7.375-14.125-7.75v-.063c9.938.188 15.688 2.25 21.375 7.625l-1.563 1.5 6.875.188.188-6.875-1.563 1.5c-6.813-6.5-13.813-9.063-25.313-9.25z"}))};t.default=u},"9b49":function(e,t){function r(e,t,r){return e*(1-r)+t*r}e.exports=r},"9b68":function(e,t,r){"use strict";e.exports=function(e,t){for(var r,n=e._fullData.length,i=0;i<n;i++){var o=e._fullData[i];if(o.index!==t.index&&("carpet"===o.type&&(r||(r=o),o.carpet===t.carpet)))return o}return r}},"9b74":function(e,t,r){(function(e){e(r("56b3"))})((function(e){"use strict";var t="CodeMirror-hint",r="CodeMirror-hint-active";function n(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var r=this;e.on("cursorActivity",this.activityFunc=function(){r.cursorActivity()})}e.showHint=function(e,t,r){if(!t)return e.showHint(r);r&&r.async&&(t.async=!0);var n={hint:t};if(r)for(var i in r)n[i]=r[i];return e.showHint(n)},e.defineExtension("showHint",(function(t){t=a(this,this.getCursor("start"),t);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new n(this,t);o.options.hint&&(e.signal(this,"startCompletion",this),o.update(!0))}})),e.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()}));var i=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},o=window.cancelAnimationFrame||clearTimeout;function a(e,t,r){var n=e.options.hintOptions,i={};for(var o in h)i[o]=h[o];if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}function s(e){return"string"==typeof e?e:e.text}function l(e,t){var r={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},n=/Mac/.test(navigator.platform);n&&(r["Ctrl-P"]=function(){t.moveFocus(-1)},r["Ctrl-N"]=function(){t.moveFocus(1)});var i=e.options.customKeys,o=i?{}:r;function a(e,n){var i;i="string"!=typeof n?function(e){return n(e,t)}:r.hasOwnProperty(n)?r[n]:n,o[e]=i}if(i)for(var s in i)i.hasOwnProperty(s)&&a(s,i[s]);var l=e.options.extraKeys;if(l)for(var s in l)l.hasOwnProperty(s)&&a(s,l[s]);return o}function u(e,t){while(t&&t!=e){if("LI"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function c(n,i){this.completion=n,this.data=i,this.picked=!1;var o=this,a=n.cm,c=a.getInputField().ownerDocument,f=c.defaultView||c.parentWindow,p=this.hints=c.createElement("ul"),d=n.cm.options.theme;p.className="CodeMirror-hints "+d,this.selectedHint=i.selectedHint||0;for(var h=i.list,v=0;v<h.length;++v){var m=p.appendChild(c.createElement("li")),g=h[v],y=t+(v!=this.selectedHint?"":" "+r);null!=g.className&&(y=g.className+" "+y),m.className=y,g.render?g.render(m,i,g):m.appendChild(c.createTextNode(g.displayText||s(g))),m.hintId=v}var b=n.options.container||c.body,x=a.cursorCoords(n.options.alignWithWord?i.from:null),A=x.left,w=x.bottom,_=!0,E=0,k=0;if(b!==c.body){var T=-1!==["absolute","relative","fixed"].indexOf(f.getComputedStyle(b).position),C=T?b:b.offsetParent,S=C.getBoundingClientRect(),O=c.body.getBoundingClientRect();E=S.left-O.left-C.scrollLeft,k=S.top-O.top-C.scrollTop}p.style.left=A-E+"px",p.style.top=w-k+"px";var M=f.innerWidth||Math.max(c.body.offsetWidth,c.documentElement.offsetWidth),P=f.innerHeight||Math.max(c.body.offsetHeight,c.documentElement.offsetHeight);b.appendChild(p);var B=p.getBoundingClientRect(),L=B.bottom-P,D=p.scrollHeight>p.clientHeight+1,I=a.getScrollInfo();if(L>0){var j=B.bottom-B.top,R=x.top-(x.bottom-B.top);if(R-j>0)p.style.top=(w=x.top-j-k)+"px",_=!1;else if(j>P){p.style.height=P-5+"px",p.style.top=(w=x.bottom-B.top-k)+"px";var F=a.getCursor();i.from.ch!=F.ch&&(x=a.cursorCoords(F),p.style.left=(A=x.left-E)+"px",B=p.getBoundingClientRect())}}var N,z=B.right-M;if(z>0&&(B.right-B.left>M&&(p.style.width=M-5+"px",z-=B.right-B.left-M),p.style.left=(A=x.left-z-E)+"px"),D)for(var U=p.firstChild;U;U=U.nextSibling)U.style.paddingRight=a.display.nativeBarWidth+"px";(a.addKeyMap(this.keyMap=l(n,{moveFocus:function(e,t){o.changeActive(o.selectedHint+e,t)},setFocus:function(e){o.changeActive(e)},menuSize:function(){return o.screenAmount()},length:h.length,close:function(){n.close()},pick:function(){o.pick()},data:i})),n.options.closeOnUnfocus)&&(a.on("blur",this.onBlur=function(){N=setTimeout((function(){n.close()}),100)}),a.on("focus",this.onFocus=function(){clearTimeout(N)}));return a.on("scroll",this.onScroll=function(){var e=a.getScrollInfo(),t=a.getWrapperElement().getBoundingClientRect(),r=w+I.top-e.top,i=r-(f.pageYOffset||(c.documentElement||c.body).scrollTop);if(_||(i+=p.offsetHeight),i<=t.top||i>=t.bottom)return n.close();p.style.top=r+"px",p.style.left=A+I.left-e.left+"px"}),e.on(p,"dblclick",(function(e){var t=u(p,e.target||e.srcElement);t&&null!=t.hintId&&(o.changeActive(t.hintId),o.pick())})),e.on(p,"click",(function(e){var t=u(p,e.target||e.srcElement);t&&null!=t.hintId&&(o.changeActive(t.hintId),n.options.completeOnSingleClick&&o.pick())})),e.on(p,"mousedown",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(i,"select",h[this.selectedHint],p.childNodes[this.selectedHint]),!0}function f(e,t){if(!e.somethingSelected())return t;for(var r=[],n=0;n<t.length;n++)t[n].supportsSelection&&r.push(t[n]);return r}function p(e,t,r,n){if(e.async)e(t,n,r);else{var i=e(t,r);i&&i.then?i.then(n):n(i)}}function d(t,r){var n,i=t.getHelpers(r,"hint");if(i.length){var o=function(e,t,r){var n=f(e,i);function o(i){if(i==n.length)return t(null);p(n[i],e,r,(function(e){e&&e.list.length>0?t(e):o(i+1)}))}o(0)};return o.async=!0,o.supportsSelection=!0,o}return(n=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:n})}:e.hint.anyword?function(t,r){return e.hint.anyword(t,r)}:function(){}}n.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,r){var n=t.list[r],i=this;this.cm.operation((function(){n.hint?n.hint(i.cm,t,n):i.cm.replaceRange(s(n),n.from||t.from,n.to||t.to,"complete"),e.signal(t,"pick",n),i.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(o(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),r=this.cm.getLine(t.line);if(t.line!=this.startPos.line||r.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(r.charAt(t.ch-1)))this.close();else{var n=this;this.debounce=i((function(){n.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,r=++this.tick;p(this.options.hint,this.cm,this.options,(function(n){t.tick==r&&t.finishUpdate(n,e)}))}},finishUpdate:function(t,r){this.data&&e.signal(this.data,"update");var n=this.widget&&this.widget.picked||r&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(n&&1==t.list.length?this.pick(t,0):(this.widget=new c(this,t),e.signal(t,"shown")))}},c.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+r,"")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+r,this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.completion.options.scrollMargin||0,t=this.hints.childNodes[Math.max(0,this.selectedHint-e)],r=this.hints.childNodes[Math.min(this.data.list.length-1,this.selectedHint+e)],n=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-n.offsetTop:r.offsetTop+r.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=r.offsetTop+r.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:d}),e.registerHelper("hint","fromList",(function(t,r){var n,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\w/.test(o.string.charAt(i.ch-o.start-1))?n=o.string.substr(0,i.ch-o.start):(n="",a=i);for(var l=[],u=0;u<r.words.length;u++){var c=r.words[u];c.slice(0,n.length)==n&&l.push(c)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var h={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}))},"9bbe":function(e,t,r){"use strict";e.exports={initODS:function(){},handleExtensionCausedError:function(){}}},"9bdd":function(e,t,r){var n=r("825a");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e["return"];throw void 0!==o&&n(o.call(e)),a}}},"9bf2":function(e,t,r){var n=r("83ab"),i=r("0cfb"),o=r("825a"),a=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9c18":function(e,t,r){"use strict";for(var n=r("0435"),i=r("f4e9"),o=r("9092").extendFlat,a=r("cb34").overrideAll,s=["z","x","x0","dx","y","y0","dy","text","transpose","xtype","ytype"],l={},u=0;u<s.length;u++){var c=s[u];l[c]=n[c]}l.zsmooth={valType:"enumerated",values:["fast",!1],dflt:"fast",role:"style",editType:"calc",description:"Picks a smoothing algorithm use to smooth `z` data."},o(l,i("",{cLetter:"z",autoColorDflt:!1})),e.exports=a(l,"calc","nested")},"9c5c":function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("d7bc")),o=s(r("ab5b"));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(r,e);var t=h(r);function r(){return u(this,r),t.apply(this,arguments)}return f(r,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.icon,n=e.messagePrimary,i=e.messageSecondary;return o.default.createElement("div",{className:"fold__content__empty"},r?o.default.createElement("div",{className:"fold__content__empty__icon"},o.default.createElement(r,null)):null,n?o.default.createElement("div",{className:"fold__content__empty__message__primary"},n):null,i?o.default.createElement("div",{className:"fold__content__empty__message__secondary"},i):null,t||null)}}]),r}(o.Component);t.default=b,b.propTypes={messagePrimary:i.default.string,messageSecondary:i.default.string,children:i.default.node,icon:i.default.oneOfType([i.default.node,i.default.func])}},"9c5f":function(e,t,r){"use strict";var n=r("9845"),i=r("82b5"),o=r("9092").extendDeepAll,a=r("cb34").overrideAll,s=r("5b68"),l=r("a651").templatedArray,u=r("e639"),c=l("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=a(l("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:c,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:o(i({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:s.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:n({description:"Sets the font of the current value label text."})},font:n({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:u.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:u.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:u.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:u.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:u.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:u.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:u.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")},"9c7c":function(e,t,r){"use strict";var n=r("2195");function i(e,t){return n(e[0].mul(t[1]).sub(e[1].mul(t[0])),e[1].mul(t[1]))}e.exports=i},"9ca2":function(e,t){function r(e,t,r){var n=r[0],i=r[1],o=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}e.exports=r},"9cb4":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5.5,7C4.67,7 4,6.33 4,5.5C4,4.67 4.67,4 5.5,4C6.33,4 7,4.67 7,5.5C7,6.33 6.33,7 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z"}))};e.exports=s},"9cf1":function(e,t,r){"use strict";var n=r("e806"),i=n.BADNUM,o=n.LOG_CLIP,a=o+.5,s=o-.5,l=r("fc26"),u=l.segmentsIntersect,c=l.constrain,f=r("de69");e.exports=function(e,t){var r,n,o,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C=t.xaxis,S=t.yaxis,O="log"===C.type,M="log"===S.type,P=C._length,B=S._length,L=t.connectGaps,D=t.baseTolerance,I=t.shape,j="linear"===I,R=t.fill&&"none"!==t.fill,F=[],N=f.minTolerance,z=e.length,U=new Array(z),H=0;function V(r){var n=e[r];if(!n)return!1;var o=t.linearized?C.l2p(n.x):C.c2p(n.x),l=t.linearized?S.l2p(n.y):S.c2p(n.y);if(o===i){if(O&&(o=C.c2p(n.x,!0)),o===i)return!1;M&&l===i&&(o*=Math.abs(C._m*B*(C._m>0?a:s)/(S._m*P*(S._m>0?a:s)))),o*=1e3}if(l===i){if(M&&(l=S.c2p(n.y,!0)),l===i)return!1;l*=1e3}return[o,l]}function Q(e,t,r,n){var i=r-e,o=n-t,a=.5-e,s=.5-t,l=i*i+o*o,u=i*a+o*s;if(u>0&&u<l){var c=a*o-s*i;if(c*c<l)return!0}}function W(e,t){var r=e[0]/P,n=e[1]/B,i=Math.max(0,-r,r-1,-n,n-1);return i&&void 0!==k&&Q(r,n,k,T)&&(i=0),i&&t&&Q(r,n,t[0]/P,t[1]/B)&&(i=0),(1+f.toleranceGrowth*i)*D}function K(e,t){var r=e[0]-t[0],n=e[1]-t[1];return Math.sqrt(r*r+n*n)}var q,G,$,Y,X,Z,J,ee=f.maxScreensAway,te=-P*ee,re=P*(1+ee),ne=-B*ee,ie=B*(1+ee),oe=[[te,ne,re,ne],[re,ne,re,ie],[re,ie,te,ie],[te,ie,te,ne]];function ae(e,t){for(var r=[],n=0,i=0;i<4;i++){var o=oe[i],a=u(e[0],e[1],t[0],t[1],o[0],o[1],o[2],o[3]);a&&(!n||Math.abs(a.x-r[0][0])>1||Math.abs(a.y-r[0][1])>1)&&(a=[a.x,a.y],n&&K(a,e)<K(r[0],e)?r.unshift(a):r.push(a),n++)}return r}function se(e){if(e[0]<te||e[0]>re||e[1]<ne||e[1]>ie)return[c(e[0],te,re),c(e[1],ne,ie)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||(e[1]===t[1]&&(e[1]===ne||e[1]===ie)||void 0)}function ue(e,t){var r=[],n=se(e),i=se(t);return n&&i&&le(n,i)||(n&&r.push(n),i&&r.push(i)),r}function ce(e,t,r){return function(n,i){var o=se(n),a=se(i),s=[];if(o&&a&&le(o,a))return s;o&&s.push(o),a&&s.push(a);var u,c=2*l.constrain((n[e]+i[e])/2,t,r)-((o||n)[e]+(a||i)[e]);c&&(u=o&&a?c>0===o[e]>a[e]?o:a:o||a,u[e]+=c);return s}}function fe(e,t){var r=t[0]-e[0],n=(t[1]-e[1])/r,i=(e[1]*t[0]-t[1]*e[0])/r;return i>0?[n>0?te:re,ie]:[n>0?re:te,ne]}function pe(e){var t=e[0],r=e[1],n=t===U[H-1][0],i=r===U[H-1][1];if(!n||!i)if(H>1){var o=t===U[H-2][0],a=r===U[H-2][1];n&&(t===te||t===re)&&o?a?H--:U[H-1]=e:i&&(r===ne||r===ie)&&a?o?H--:U[H-1]=e:U[H++]=e}else U[H++]=e}function de(e){U[H-1][0]!==e[0]&&U[H-1][1]!==e[1]&&pe([$,Y]),pe(e),X=null,$=Y=0}function he(e){if(k=e[0]/P,T=e[1]/B,q=e[0]<te?te:e[0]>re?re:0,G=e[1]<ne?ne:e[1]>ie?ie:0,q||G){if(H)if(X){var t=J(X,e);t.length>1&&(de(t[0]),U[H++]=t[1])}else Z=J(U[H-1],e)[0],U[H++]=Z;else U[H++]=[q||e[0],G||e[1]];var r=U[H-1];q&&G&&(r[0]!==q||r[1]!==G)?(X&&($!==q&&Y!==G?pe($&&Y?fe(X,e):[$||q,Y||G]):$&&Y&&pe([$,Y])),pe([q,G])):$-q&&Y-G&&pe([q||$,G||Y]),X=e,$=q,Y=G}else X&&de(J(X,e)[0]),U[H++]=e}for("linear"===I||"spline"===I?J=ae:"hv"===I||"vh"===I?J=ue:"hvh"===I?J=ce(0,te,re):"vhv"===I&&(J=ce(1,ne,ie)),r=0;r<z;r++)if(n=V(r),n){for(H=0,X=null,he(n),r++;r<z;r++){if(p=V(r),!p){if(L)continue;break}if(j&&t.simplify){var ve=V(r+1);if(y=K(p,n),R&&(0===H||H===z-1)||!(y<W(p,ve)*N)){for(m=[(p[0]-n[0])/y,(p[1]-n[1])/y],d=n,b=y,x=w=_=0,v=!1,o=p,r++;r<e.length;r++){if(h=ve,ve=V(r+1),!h){if(L)continue;break}if(g=[h[0]-n[0],h[1]-n[1]],E=g[0]*m[1]-g[1]*m[0],w=Math.min(w,E),_=Math.max(_,E),_-w>W(h,ve))break;o=h,A=g[0]*m[0]+g[1]*m[1],A>b?(b=A,p=h,v=!1):A<x&&(x=A,d=h,v=!0)}if(v?(he(p),o!==d&&he(d)):(d!==n&&he(d),o!==p&&he(p)),he(o),r>=e.length||!h)break;he(h),n=h}}else he(p)}X&&pe([$||X[0],Y||X[1]]),F.push(U.slice(0,H))}return F}},"9cfb":function(e,t,r){"use strict";e.exports=o;var n=r("92ba");function i(e,t){var r,i,o,a;if(t[0][0]<t[1][0])r=t[0],i=t[1];else{if(!(t[0][0]>t[1][0])){var s=Math.min(e[0][1],e[1][1]),l=Math.max(e[0][1],e[1][1]),u=Math.min(t[0][1],t[1][1]),c=Math.max(t[0][1],t[1][1]);return l<u?l-u:s>c?s-c:l-c}r=t[1],i=t[0]}e[0][1]<e[1][1]?(o=e[0],a=e[1]):(o=e[1],a=e[0]);var f=n(i,r,o);return f||(f=n(i,r,a),f||a-i)}function o(e,t){var r,o,a,s;if(t[0][0]<t[1][0])r=t[0],o=t[1];else{if(!(t[0][0]>t[1][0]))return i(t,e);r=t[1],o=t[0]}if(e[0][0]<e[1][0])a=e[0],s=e[1];else{if(!(e[0][0]>e[1][0]))return-i(e,t);a=e[1],s=e[0]}var l=n(r,o,s),u=n(r,o,a);if(l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;if(l=n(s,a,o),u=n(s,a,r),l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;return o[0]-s[0]}},"9d33":function(e,t,r){"use strict";var n=r("6e58");function i(e,t){var r,i=e.range,o=new Date(e.r2l(i[1])),a=t.step,s=t.count;switch(t.stepmode){case"backward":r=e.l2r(+n.time[a].utc.offset(o,-s));break;case"todate":var l=n.time[a].utc.offset(o,-s);r=e.l2r(+n.time[a].utc.ceil(l));break}var u=i[1];return[r,u]}e.exports=function(e,t){var r=e._name,n={};if("all"===t.step)n[r+".autorange"]=!0;else{var o=i(e,t);n[r+".range[0]"]=o[0],n[r+".range[1]"]=o[1]}return n}},"9d8f":function(e,t,r){"use strict";var n=r("9aeb"),i=r("fc26"),o=r("3c1c"),a=r("e21b").selectMode;function s(e,t){var r,s,l,u,c,f=e._fullLayout,p=f._size,d=t.trace,h=t.t,v=f._splomScenes[d.uid],m=v.matrixOptions,g=m.cdata,y=f._glcanvas.data()[0].regl,b=f.dragmode;if(0!==g.length){m.lower=d.showupperhalf,m.upper=d.showlowerhalf,m.diagonal=d.diagonal.visible;var x=d._visibleDims,A=g.length,w=v.viewOpts={};for(w.ranges=new Array(A),w.domains=new Array(A),c=0;c<x.length;c++){l=x[c];var _=w.ranges[c]=new Array(4),E=w.domains[c]=new Array(4);r=o.getFromId(e,d._diag[l][0]),r&&(_[0]=r._rl[0],_[2]=r._rl[1],E[0]=r.domain[0],E[2]=r.domain[1]),s=o.getFromId(e,d._diag[l][1]),s&&(_[1]=s._rl[0],_[3]=s._rl[1],E[1]=s.domain[0],E[3]=s.domain[1])}w.viewport=[p.l,p.b,p.w+p.l,p.h+p.b],!0===v.matrix&&(v.matrix=n(y));var k=f.clickmode.indexOf("select")>-1,T=a(b)||!!d.selectedpoints||k,C=!0;if(T){var S=d._length;if(d.selectedpoints){v.selectBatch=d.selectedpoints;var O=d.selectedpoints,M={};for(l=0;l<O.length;l++)M[O[l]]=!0;var P=[];for(l=0;l<S;l++)M[l]||P.push(l);v.unselectBatch=P}var B=h.xpx=new Array(A),L=h.ypx=new Array(A);for(c=0;c<x.length;c++){if(l=x[c],r=o.getFromId(e,d._diag[l][0]),r)for(B[c]=new Array(S),u=0;u<S;u++)B[c][u]=r.c2p(g[c][u]);if(s=o.getFromId(e,d._diag[l][1]),s)for(L[c]=new Array(S),u=0;u<S;u++)L[c][u]=s.c2p(g[c][u])}if(v.selectBatch.length||v.unselectBatch.length){var D=i.extendFlat({},m,v.unselectedOptions,w),I=i.extendFlat({},m,v.selectedOptions,w);v.matrix.update(D,I),C=!1}}else h.xpx=h.ypx=null;if(C){var j=i.extendFlat({},m,w);v.matrix.update(j,null)}}}e.exports=function(e,t,r){if(r.length)for(var n=0;n<r.length;n++)s(e,r[n][0])}},"9df0":function(e,t,r){"use strict";var n=Object.create,i=Object.getPrototypeOf,o={};e.exports=function(){var e=Object.setPrototypeOf,t=arguments[0]||n;return"function"===typeof e&&i(e(t(null),o))===o}},"9e69":function(e,t,r){var n=r("2b3e"),i=n.Symbol;e.exports=i},"9e9a":function(e,t,r){"use strict";var n=r("ad62").getSubplotCalcData,i=r("fc26").counterRegex,o=r("dbc7"),a="geo",s=i(a),l={};function u(e){for(var t=e._fullLayout,r=e.calcdata,i=t._subplots[a],s=0;s<i.length;s++){var l=i[s],u=n(r,a,l),c=t[l],f=c._subplot;f||(f=o({id:l,graphDiv:e,container:t._geolayer.node(),topojsonURL:e._context.topojsonURL,staticPlot:e._context.staticPlot}),t[l]._subplot=f),f.plot(u,t,e._promises)}}function c(e,t,r,n){for(var i=n._subplots[a]||[],o=0;o<i.length;o++){var s=i[o],l=n[s]._subplot;!t[s]&&l&&(l.framework.remove(),l.clipDef.remove())}}function f(e){for(var t=e._fullLayout,r=t._subplots[a],n=0;n<r.length;n++){var i=t[r[n]],o=i._subplot;o.updateFx(t,i)}}l[a]={valType:"subplotid",role:"info",dflt:a,editType:"calc",description:["Sets a reference between this trace's geospatial coordinates and","a geographic map.","If *geo* (the default value), the geospatial coordinates refer to","`layout.geo`.","If *geo2*, the geospatial coordinates refer to `layout.geo2`,","and so on."].join(" ")},e.exports={attr:a,name:a,idRoot:a,idRegex:s,attrRegex:s,attributes:l,layoutAttributes:r("45be"),supplyLayoutDefaults:r("b1a8"),plot:u,updateFx:f,clean:c}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),o=r("5c6c"),a=r("d44e"),s=r("3f8c"),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,u,!1,!0),s[u]=l,e}},"9ed4":function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},"9f00":function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z"}))};e.exports=s},"9f41":function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("371e"),a=r("119e"),s=r("bcd9"),l=r("f409"),u=r("ad62").getSubplotData,c="gl3d";function f(e,t,r,n){for(var a=r("bgcolor"),l=i.combine(a,n.paper_bgcolor),f=["up","center","eye"],p=0;p<f.length;p++)r("camera."+f[p]+".x"),r("camera."+f[p]+".y"),r("camera."+f[p]+".z");r("camera.projection.type");var d=!!r("aspectratio.x")&&!!r("aspectratio.y")&&!!r("aspectratio.z"),h=d?"manual":"auto",v=r("aspectmode",h);d||(e.aspectratio=t.aspectratio={x:1,y:1,z:1},"manual"===v&&(t.aspectmode="auto"),e.aspectmode=t.aspectmode);var m=u(n.fullData,c,n.id);s(e,t,{font:n.font,scene:n.id,data:m,bgColor:l,calendar:n.calendar,autotypenumbersDflt:n.autotypenumbersDflt,fullLayout:n.fullLayout}),o.getComponentMethod("annotations3d","handleDefaults")(e,t,n);var g=n.getDfltFromLayout("dragmode");if(!1!==g&&!g)if(g="orbit",e.camera&&e.camera.up){var y=e.camera.up.x,b=e.camera.up.y,x=e.camera.up.z;0!==x&&(y&&b&&x?x/Math.sqrt(y*y+b*b+x*x)>.999&&(g="turntable"):g="turntable")}else g="turntable";r("dragmode",g),r("hovermode",n.getDfltFromLayout("hovermode"))}e.exports=function(e,t,r){var i=t._basePlotModules.length>1;function o(t){if(!i){var r=n.validate(e[t],l[t]);return r?e[t]:void 0}}a(e,t,r,{type:c,attributes:l,handleDefaults:f,fullLayout:t,font:t.font,fullData:r,getDfltFromLayout:o,autotypenumbersDflt:t.autotypenumbers,paper_bgcolor:t.paper_bgcolor,calendar:t.calendar})}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"9fa4":function(e,t,r){"use strict";var n=r("28dd"),i=r("efce"),o=r("cb8e");function a(e,t,r){this.plot=e,this.boxBuffer=t,this.boxShader=r,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}e.exports=l;var s=a.prototype;function l(e,t){var r=e.gl,s=i(r,[0,0,0,1,1,0,1,1]),l=n(r,o.boxVertex,o.boxFragment),u=new a(e,s,l);return u.update(t),e.addOverlay(u),u}s.draw=function(){if(this.enabled){var e=this.plot,t=this.selectBox,r=this.borderWidth,n=(this.innerFill,this.innerColor),i=(this.outerFill,this.outerColor),o=this.borderColor,a=e.box,s=e.screenBox,l=e.dataBox,u=e.viewBox,c=e.pixelRatio,f=(t[0]-l[0])*(u[2]-u[0])/(l[2]-l[0])+u[0],p=(t[1]-l[1])*(u[3]-u[1])/(l[3]-l[1])+u[1],d=(t[2]-l[0])*(u[2]-u[0])/(l[2]-l[0])+u[0],h=(t[3]-l[1])*(u[3]-u[1])/(l[3]-l[1])+u[1];if(f=Math.max(f,u[0]),p=Math.max(p,u[1]),d=Math.min(d,u[2]),h=Math.min(h,u[3]),!(d<f||h<p)){a.bind();var v=s[2]-s[0],m=s[3]-s[1];if(this.outerFill&&(a.drawBox(0,0,v,p,i),a.drawBox(0,p,f,h,i),a.drawBox(0,h,v,m,i),a.drawBox(d,p,v,h,i)),this.innerFill&&a.drawBox(f,p,d,h,n),r>0){var g=r*c;a.drawBox(f-g,p-g,d+g,p+g,o),a.drawBox(f-g,h-g,d+g,h+g,o),a.drawBox(f-g,p-g,f+g,h+g,o),a.drawBox(d-g,p-g,d+g,h+g,o)}}}},s.update=function(e){e=e||{},this.innerFill=!!e.innerFill,this.outerFill=!!e.outerFill,this.innerColor=(e.innerColor||[0,0,0,.5]).slice(),this.outerColor=(e.outerColor||[0,0,0,.5]).slice(),this.borderColor=(e.borderColor||[0,0,0,1]).slice(),this.borderWidth=e.borderWidth||0,this.selectBox=(e.selectBox||this.selectBox).slice()},s.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},"9fc2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M32 20h6v6h-6zm-12-6h6v6h-6zm-6 6h6v6h-6zm0 12h6v6h-6zm6 0h6v6h-6zm12 0h6v6h-6zm-6-12h6v6h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M26 14h6v6h-6zm6 0h6v6h-6zm-12 6h6v6h-6zM8 20h6v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M14 14h6v6h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M8 14h6v6H8z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M26 26h6v6h-6zM8 26h6v6H8z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 26h6v6h-6zm12 0h6v6h-6zm-18 0h6v6h-6zM26 8h6v6h-6z"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M8 8h6v6H8zm12 0h6v6h-6zm12 0h6v6h-6z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M14 8h6v6h-6zM8 32h6v6H8zm18 0h6v6h-6z"}))};t.default=u},"9fe2":function(e,t,r){"use strict";var n=/<svg\s([^>"']|"[^"]*"|'[^']*')*>/;function i(e){return n.test(e)}var o={root:n,width:/\swidth=(['"])([^%]+?)\1/,height:/\sheight=(['"])([^%]+?)\1/,viewbox:/\sviewBox=(['"])(.+?)\1/},a={cm:96/2.54,mm:96/2.54/10,m:96/2.54*100,pt:96/72,pc:96/72/12,em:16,ex:8};function s(e){var t=/([0-9.]+)([a-z]*)/.exec(e);if(t)return Math.round(parseFloat(t[1])*(a[t[2]]||1))}function l(e){var t=e.split(" ");return{width:s(t[2]),height:s(t[3])}}function u(e){var t=e.match(o.width),r=e.match(o.height),n=e.match(o.viewbox);return{width:t&&s(t[2]),height:r&&s(r[2]),viewbox:n&&l(n[2])}}function c(e){return{width:e.width,height:e.height}}function f(e){var t=e.viewbox.width/e.viewbox.height;return e.width?{width:e.width,height:Math.floor(e.width/t)}:e.height?{width:Math.floor(e.height*t),height:e.height}:{width:e.viewbox.width,height:e.viewbox.height}}function p(e){var t=e.toString("utf8").match(o.root);if(t){var r=u(t[0]);if(r.width&&r.height)return c(r);if(r.viewbox)return f(r)}throw new TypeError("invalid svg")}e.exports={detect:i,calculate:p}},a011:function(e,t,r){"use strict";var n=r("19b2"),i=r("6af8").isArrayOrTypedArray;t.aggNums=function(e,r,o,a){var s,l;if((!a||a>o.length)&&(a=o.length),n(r)||(r=!1),i(o[0])){for(l=new Array(a),s=0;s<a;s++)l[s]=t.aggNums(e,r,o[s]);o=l}for(s=0;s<a;s++)n(r)?n(o[s])&&(r=e(+r,+o[s])):r=o[s];return r},t.len=function(e){return t.aggNums((function(e){return e+1}),0,e)},t.mean=function(e,r){return r||(r=t.len(e)),t.aggNums((function(e,t){return e+t}),0,e)/r},t.midRange=function(e){if(void 0!==e&&0!==e.length)return(t.aggNums(Math.max,null,e)+t.aggNums(Math.min,null,e))/2},t.variance=function(e,r,i){return r||(r=t.len(e)),n(i)||(i=t.mean(e,r)),t.aggNums((function(e,t){return e+Math.pow(t-i,2)}),0,e)/r},t.stdev=function(e,r,n){return Math.sqrt(t.variance(e,r,n))},t.median=function(e){var r=e.slice().sort();return t.interp(r,.5)},t.interp=function(e,t){if(!n(t))throw"n should be a finite number";if(t=t*e.length-.5,t<0)return e[0];if(t>e.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}},a026:function(e,t,r){"use strict";function n(e,t){var r=e+t,n=r-e,i=r-n,o=t-n,a=e-i,s=a+o;return s?[s,r]:[r]}function i(e,t){var r=0|e.length,i=0|t.length;if(1===r&&1===i)return n(e[0],t[0]);var o,a,s=r+i,l=new Array(s),u=0,c=0,f=0,p=Math.abs,d=e[c],h=p(d),v=t[f],m=p(v);h<m?(a=d,c+=1,c<r&&(d=e[c],h=p(d))):(a=v,f+=1,f<i&&(v=t[f],m=p(v))),c<r&&h<m||f>=i?(o=d,c+=1,c<r&&(d=e[c],h=p(d))):(o=v,f+=1,f<i&&(v=t[f],m=p(v)));var g,y,b,x,A,w=o+a,_=w-o,E=a-_,k=E,T=w;while(c<r&&f<i)h<m?(o=d,c+=1,c<r&&(d=e[c],h=p(d))):(o=v,f+=1,f<i&&(v=t[f],m=p(v))),a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g;while(c<r)o=d,a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g,c+=1,c<r&&(d=e[c]);while(f<i)o=v,a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g,f+=1,f<i&&(v=t[f]);return k&&(l[u++]=k),T&&(l[u++]=T),u||(l[u++]=0),l.length=u,l}e.exports=i},a029:function(e,t,r){var n=r("087d"),i=r("2dcb"),o=r("32f4"),a=r("d327"),s=Object.getOwnPropertySymbols,l=s?function(e){var t=[];while(e)n(t,o(e)),e=i(e);return t}:a;e.exports=l},a05a:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}))};e.exports=s},a069:function(e,t,r){"use strict";e.exports=d;var n,i=r("cea5"),o=r("97e2"),a=r("3560");function s(e,t){for(var r=0;r<e;++r)if(!(t[r]<=t[r+e]))return!0;return!1}function l(e,t,r,n){for(var i=0,o=0,a=0,l=e.length;a<l;++a){var u=e[a];if(!s(t,u)){for(var c=0;c<2*t;++c)r[i++]=u[c];n[o++]=a}}return o}function u(e,t,r,n){var s=e.length,u=t.length;if(!(s<=0||u<=0)){var c=e[0].length>>>1;if(!(c<=0)){var f,p=i.mallocDouble(2*c*s),d=i.mallocInt32(s);if(s=l(e,c,p,d),s>0){if(1===c&&n)o.init(s),f=o.sweepComplete(c,r,0,s,p,d,0,s,p,d);else{var h=i.mallocDouble(2*c*u),v=i.mallocInt32(u);u=l(t,c,h,v),u>0&&(o.init(s+u),f=1===c?o.sweepBipartite(c,r,0,s,p,d,0,u,h,v):a(c,r,n,s,p,d,u,h,v),i.free(h),i.free(v))}i.free(p),i.free(d)}return f}}}function c(e,t){n.push([e,t])}function f(e){return n=[],u(e,e,c,!0),n}function p(e,t){return n=[],u(e,t,c,!1),n}function d(e,t,r){switch(arguments.length){case 1:return f(e);case 2:return"function"===typeof t?u(e,e,t,!0):p(e,t);case 3:return u(e,t,r,!1);default:throw new Error("box-intersect: Invalid arguments")}}},a074:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){e.lon=t.lon,e.lat=t.lat,e.location=t.loc?t.loc:null;var o=n[i];return o.fIn&&o.fIn.properties&&(e.properties=o.fIn.properties),e}},a08c:function(e,t,r){"use strict";var n=r("f4e9"),i=r("94d5").hovertemplateAttrs,o=r("6b50"),a=r("a876"),s=r("9092").extendFlat,l=r("cb34").overrideAll;function u(e){return{show:{valType:"boolean",role:"info",dflt:!1,description:["Determines whether or not slice planes about the",e,"dimension are drawn."].join(" ")},locations:{valType:"data_array",dflt:[],role:"info",description:["Specifies the location(s) of slices on the axis.","When not specified slices would be created for","all points of the axis",e,"except start and end."].join(" ")},fill:{valType:"number",role:"style",min:0,max:1,dflt:1,description:["Sets the fill ratio of the `slices`. The default fill value of the","`slices` is 1 meaning that they are entirely shaded. On the other hand","Applying a `fill` ratio less than one would allow the creation of","openings parallel to the edges."].join(" ")}}}function c(e){return{show:{valType:"boolean",role:"info",dflt:!0,description:["Sets the fill ratio of the `slices`. The default fill value of the",e,"`slices` is 1 meaning that they are entirely shaded. On the other hand","Applying a `fill` ratio less than one would allow the creation of","openings parallel to the edges."].join(" ")},fill:{valType:"number",role:"style",min:0,max:1,dflt:1,description:["Sets the fill ratio of the `caps`. The default fill value of the","`caps` is 1 meaning that they are entirely shaded. On the other hand","Applying a `fill` ratio less than one would allow the creation of","openings parallel to the edges."].join(" ")}}}var f=e.exports=l(s({x:{valType:"data_array",role:"info",description:["Sets the X coordinates of the vertices on X axis."].join(" ")},y:{valType:"data_array",role:"info",description:["Sets the Y coordinates of the vertices on Y axis."].join(" ")},z:{valType:"data_array",role:"info",description:["Sets the Z coordinates of the vertices on Z axis."].join(" ")},value:{valType:"data_array",role:"info",description:["Sets the 4th dimension (value) of the vertices."].join(" ")},isomin:{valType:"number",role:"info",description:["Sets the minimum boundary for iso-surface plot."].join(" ")},isomax:{valType:"number",role:"info",description:["Sets the maximum boundary for iso-surface plot."].join(" ")},surface:{show:{valType:"boolean",role:"info",dflt:!0,description:["Hides/displays surfaces between minimum and maximum iso-values."].join(" ")},count:{valType:"integer",role:"info",dflt:2,min:1,description:["Sets the number of iso-surfaces between minimum and maximum iso-values.","By default this value is 2 meaning that only minimum and maximum surfaces","would be drawn."].join(" ")},fill:{valType:"number",role:"style",min:0,max:1,dflt:1,description:["Sets the fill ratio of the iso-surface. The default fill value of the","surface is 1 meaning that they are entirely shaded. On the other hand","Applying a `fill` ratio less than one would allow the creation of","openings parallel to the edges."].join(" ")},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all",role:"style",description:["Sets the surface pattern of the iso-surface 3-D sections. The default pattern of","the surface is `all` meaning that the rest of surface elements would be shaded.","The check options (either 1 or 2) could be used to draw half of the squares","on the surface. Using various combinations of capital `A`, `B`, `C`, `D` and `E`","may also be used to reduce the number of triangles on the iso-surfaces and","creating other patterns of interest."].join(" ")}},spaceframe:{show:{valType:"boolean",role:"info",dflt:!1,description:["Displays/hides tetrahedron shapes between minimum and","maximum iso-values. Often useful when either caps or","surfaces are disabled or filled with values less than 1."].join(" ")},fill:{valType:"number",role:"style",min:0,max:1,dflt:.15,description:["Sets the fill ratio of the `spaceframe` elements. The default fill value","is 0.15 meaning that only 15% of the area of every faces of tetras would be","shaded. Applying a greater `fill` ratio would allow the creation of stronger","elements or could be sued to have entirely closed areas (in case of using 1)."].join(" ")}},slices:{x:u("x"),y:u("y"),z:u("z")},caps:{x:c("x"),y:c("y"),z:c("z")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,description:["Sets the text elements associated with the vertices.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,description:"Same as `text`."},hovertemplate:i(),showlegend:s({},a.showlegend,{dflt:!1})},n("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:o.opacity,lightposition:o.lightposition,lighting:o.lighting,flatshading:o.flatshading,contour:o.contour,hoverinfo:s({},a.hoverinfo)}),"calc","nested");f.flatshading.dflt=!0,f.lighting.facenormalsepsilon.dflt=0,f.x.editType=f.y.editType=f.z.editType=f.value.editType="calc+clearAxisTypes",f.transforms=void 0},a0aa:function(e,t,r){"use strict";(function(t){var n=r("3e8f"),i=r("ce00");function o(e){var t=e.toString("hex",0,4);return"49492a00"===t||"4d4d002a"===t}function a(e,r,o){var a=i(e,32,4,o),s=1024,l=n.statSync(r).size;a+s>l&&(s=l-a-10);var u=t.alloc(s),c=n.openSync(r,"r");n.readSync(c,u,0,s,a);var f=u.slice(2);return f}function s(e,t){var r=i(e,16,8,t),n=i(e,16,10,t);return(n<<16)+r}function l(e){if(e.length>24)return e.slice(12)}function u(e,t){var r,n,o,a={};while(e&&e.length){if(r=i(e,16,0,t),n=i(e,16,2,t),o=i(e,32,4,t),0===r)break;1!==o||3!==n&&4!==n||(a[r]=s(e,t)),e=l(e)}return a}function c(e){var t=e.toString("ascii",0,2);return"II"===t?"LE":"MM"===t?"BE":void 0}function f(e,t){if(!t)throw new TypeError("Tiff doesn't support buffer");var r="BE"===c(e),n=a(e,t,r),i=u(n,r),o=i[256],s=i[257];if(!o||!s)throw new TypeError("Invalid Tiff, missing tags");return{width:o,height:s}}e.exports={detect:o,calculate:f}}).call(this,r("b639").Buffer)},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("44ad"),o=r("fc6a"),a=r("a640"),s=[].join,l=i!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:l||!u},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a18b:function(e,t,r){"use strict";e.exports={attributes:r("c99f"),layoutAttributes:r("7678"),supplyDefaults:r("caff").supplyDefaults,crossTraceDefaults:r("caff").crossTraceDefaults,supplyLayoutDefaults:r("d58b"),calc:r("254d"),crossTraceCalc:r("3a9c"),plot:r("34d8"),style:r("8062").style,hoverPoints:r("8f12"),eventData:r("6f96"),selectPoints:r("7000"),moduleType:"trace",name:"funnel",basePlotModule:r("91cd"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{description:["Visualize stages in a process using length-encoded bars. This trace can be used","to show data in either a part-to-whole representation wherein each item appears",'in a single stage, or in a "drop-off" representation wherein each item appears in','each stage it traversed. See also the "funnelarea" trace type for a different',"approach to visualizing funnel data."].join(" ")}}},a18f:function(e,t,r){"use strict";(function(t){var n=r("4f4d"),i=r("3642"),o=r("84a1");e.exports=s;var a={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function s(e){var r,s,l=[],u=1;if("string"===typeof e)if(n[e])l=n[e].slice(),s="rgb";else if("transparent"===e)u=0,s="rgb",l=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var c=e.slice(1),f=c.length,p=f<=4;u=1,p?(l=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],4===f&&(u=parseInt(c[3]+c[3],16)/255)):(l=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],8===f&&(u=parseInt(c[6]+c[7],16)/255)),l[0]||(l[0]=0),l[1]||(l[1]=0),l[2]||(l[2]=0),s="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var d=r[1],h="rgb"===d;c=d.replace(/a$/,"");s=c;f="cmyk"===c?4:"gray"===c?1:3;l=r[2].trim().split(/\s*,\s*/).map((function(e,t){if(/%$/.test(e))return t===f?parseFloat(e)/100:"rgb"===c?255*parseFloat(e)/100:parseFloat(e);if("h"===c[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==a[e])return a[e]}return parseFloat(e)})),d===c&&l.push(1),u=h||void 0===l[f]?1:l[f],l=l.slice(0,f)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(l=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),s=e.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(e))if(i(e)){var v=o(e.r,e.red,e.R,null);null!==v?(s="rgb",l=[v,o(e.g,e.green,e.G),o(e.b,e.blue,e.B)]):(s="hsl",l=[o(e.h,e.hue,e.H),o(e.s,e.saturation,e.S),o(e.l,e.lightness,e.L,e.b,e.brightness)]),u=o(e.a,e.alpha,e.opacity,1),null!=e.opacity&&(u/=100)}else(Array.isArray(e)||t.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(e))&&(l=[e[0],e[1],e[2]],s="rgb",u=4===e.length?e[3]:1);else s="rgb",l=[e>>>16,(65280&e)>>>8,255&e];return{space:s,values:l,alpha:u}}}).call(this,r("c8ba"))},a1c8:function(e,t,r){"use strict";var n=r("7f23"),i=r("dec3"),o=r("0d82");function a(e){var t=e.getSelection();if(!t.isCollapsed())return e;var r=t.getAnchorOffset();if(0===r)return e;var a,s,l=t.getAnchorKey(),u=e.getCurrentContent(),c=u.getBlockForKey(l),f=c.getLength();if(f<=1)return e;r===f?(a=t.set("anchorOffset",r-1),s=t):(a=t.set("focusOffset",r+1),s=a.set("anchorOffset",r+1));var p=o(u,a),d=n.removeRange(u,a,"backward"),h=d.getSelectionAfter(),v=h.getAnchorOffset()-1,m=h.merge({anchorOffset:v,focusOffset:v}),g=n.replaceWithFragment(d,m,p),y=i.push(e,g,"insert-fragment");return i.acceptSelection(y,s)}e.exports=a},a1d4:function(e,t,r){"use strict";e.exports={attributes:r("9c18"),supplyDefaults:r("4975"),colorbar:r("fcb3"),calc:r("0625"),plot:r("e5cb"),moduleType:"trace",name:"heatmapgl",basePlotModule:r("078e"),categories:["gl","gl2d","2dMap"],meta:{description:["WebGL version of the heatmap trace type."].join(" ")}}},a1e2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M30.375 28.688H1.625L16 1.188zM3.75 27.313h24.375L16 4.125zM18.688 16c0 .75-.625 1.313-1.375 1.313C16.625 17.313 16 16.75 16 16s.625-1.313 1.313-1.313c.75 0 1.375.563 1.375 1.313zm2.625 4c0 .75-.563 1.313-1.313 1.313S18.687 20.75 18.687 20s.563-1.313 1.313-1.313 1.313.563 1.313 1.313zm-12 4c0 .75-.563 1.313-1.313 1.313S6.687 24.75 6.687 24 7.25 22.687 8 22.687 9.313 23.25 9.313 24zm8-12c0 .75-.563 1.313-1.313 1.313S14.687 12.75 14.687 12s.563-1.313 1.313-1.313 1.313.563 1.313 1.313zm-4 8c0 .75-.563 1.313-1.313 1.313S10.687 20.75 10.687 20s.563-1.313 1.313-1.313 1.313.563 1.313 1.313zm0 5.313c0 .75-.563 1.375-1.313 1.375s-1.313-.625-1.313-1.375c0-.688.563-1.313 1.313-1.313s1.313.625 1.313 1.313zM24 24a1.32 1.32 0 0 1-1.313 1.313c-.75 0-1.375-.563-1.375-1.313s.625-1.313 1.375-1.313A1.32 1.32 0 0 1 24 24z"}))};t.default=u},a211:function(e,t,r){"use strict";function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},a22f:function(e,t,r){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}},a23e:function(e,t,r){"use strict";function n(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var i=n,o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=o;function s(e){var t,r=e.length,n=r^r,i=0;while(r>=4)t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24,t=1540483477*(65535&t)+((1540483477*(t>>>16)&65535)<<16),t^=t>>>24,t=1540483477*(65535&t)+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^t,r-=4,++i;switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n^=255&e.charCodeAt(i),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)}return n^=n>>>13,n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16),n^=n>>>15,(n>>>0).toString(36)}var l=s;function u(e){function t(e,n,l,u,c){for(var d,h,v,m,g,A=0,_=0,E=0,k=0,T=0,C=0,L=v=d=0,I=0,R=0,F=0,N=0,z=l.length,U=z-1,H="",V="",Q="",W="";I<z;){if(h=l.charCodeAt(I),I===U&&0!==_+k+E+A&&(0!==_&&(h=47===_?10:47),k=E=A=0,z++,U++),0===_+k+E+A){if(I===U&&(0<R&&(H=H.replace(p,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(I)}h=59}switch(h){case 123:for(H=H.trim(),d=H.charCodeAt(0),v=1,N=++I;I<z;){switch(h=l.charCodeAt(I)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(I+1)){case 42:case 47:e:{for(L=I+1;L<U;++L)switch(l.charCodeAt(L)){case 47:if(42===h&&42===l.charCodeAt(L-1)&&I+2!==L){I=L+1;break e}break;case 10:if(47===h){I=L+1;break e}}I=L}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&l.charCodeAt(I)!==h;);}if(0===v)break;I++}switch(v=l.substring(N,I),0===d&&(d=(H=H.replace(f,"").trim()).charCodeAt(0)),d){case 64:switch(0<R&&(H=H.replace(p,"")),h=H.charCodeAt(1),h){case 100:case 109:case 115:case 45:R=n;break;default:R=B}if(v=t(n,R,v,h,c+1),N=v.length,0<D&&(R=r(B,H,F),g=s(3,v,R,n,O,S,N,h,c,u),H=R.join(""),void 0!==g&&0===(N=(v=g.trim()).length)&&(h=0,v="")),0<N)switch(h){case 115:H=H.replace(w,a);case 100:case 109:case 45:v=H+"{"+v+"}";break;case 107:H=H.replace(y,"$1 $2"),v=H+"{"+v+"}",v=1===P||2===P&&o("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=H+v,112===u&&(V+=v,v="")}else v="";break;default:v=t(n,r(n,H,F),v,u,c+1)}Q+=v,v=F=R=L=d=0,H="",h=l.charCodeAt(++I);break;case 125:case 59:if(H=(0<R?H.replace(p,""):H).trim(),1<(N=H.length))switch(0===L&&(d=H.charCodeAt(0),45===d||96<d&&123>d)&&(N=(H=H.replace(" ",":")).length),0<D&&void 0!==(g=s(1,H,n,e,O,S,V.length,u,c,u))&&0===(N=(H=g.trim()).length)&&(H="\0\0"),d=H.charCodeAt(0),h=H.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){W+=H+l.charAt(I);break}default:58!==H.charCodeAt(N-1)&&(V+=i(H,d,h,H.charCodeAt(2)))}F=R=L=d=0,H="",h=l.charCodeAt(++I)}}switch(h){case 13:case 10:47===_?_=0:0===1+d&&107!==u&&0<H.length&&(R=1,H+="\0"),0<D*j&&s(0,H,n,e,O,S,V.length,u,c,u),S=1,O++;break;case 59:case 125:if(0===_+k+E+A){S++;break}default:switch(S++,m=l.charAt(I),h){case 9:case 32:if(0===k+A+_)switch(T){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===k+_+A&&(R=F=1,m="\f"+m);break;case 108:if(0===k+_+A+M&&0<L)switch(I-L){case 2:112===T&&58===l.charCodeAt(I-3)&&(M=T);case 8:111===C&&(M=C)}break;case 58:0===k+_+A&&(L=I);break;case 44:0===_+E+k+A&&(R=1,m+="\r");break;case 34:case 39:0===_&&(k=k===h?0:0===k?h:k);break;case 91:0===k+_+E&&A++;break;case 93:0===k+_+E&&A--;break;case 41:0===k+_+A&&E--;break;case 40:if(0===k+_+A){if(0===d)switch(2*T+3*C){case 533:break;default:d=1}E++}break;case 64:0===_+E+k+A+L+v&&(v=1);break;case 42:case 47:if(!(0<k+A+E))switch(_){case 0:switch(2*h+3*l.charCodeAt(I+1)){case 235:_=47;break;case 220:N=I,_=42}break;case 42:47===h&&42===T&&N+2!==I&&(33===l.charCodeAt(N+2)&&(V+=l.substring(N,I+1)),m="",_=0)}}0===_&&(H+=m)}C=T,T=h,I++}if(N=V.length,0<N){if(R=n,0<D&&(g=s(2,V,R,e,O,S,N,u,c,u),void 0!==g&&0===(V=g).length))return W+V+Q;if(V=R.join(",")+"{"+V+"}",0!==P*M){switch(2!==P||o(V,2)||(M=0),M){case 111:V=V.replace(x,":-moz-$1")+V;break;case 112:V=V.replace(b,"::-webkit-input-$1")+V.replace(b,"::-moz-$1")+V.replace(b,":-ms-input-$1")+V}M=0}}return W+V+Q}function r(e,t,r){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r,a).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=n(e[u]+" ",i[s],r,a).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===P||2===P&&o(l,1)?"-webkit-"+l+l:l}if(0===P||2===P&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+l+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(l=a.substring(13).trim(),t=l.indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(A,"tb");break;case 232:l=a.replace(A,"tb-rl");break;case 220:l=a.replace(A,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim(),s=l.charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===T.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(v,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,l,u){for(var f,p=0,d=t;p<D;++p)switch(f=L[p].call(c,e,d,r,n,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function l(e){switch(e){case void 0:case null:D=L.length=0;break;default:switch(e.constructor){case Array:for(var t=0,r=e.length;t<r;++t)l(e[t]);break;case Function:L[D++]=e;break;case Boolean:j=0|!!e}}return l}function u(e){return e=e.prefix,void 0!==e&&(I=null,e?"function"!==typeof e?P=1:(P=2,I=e):P=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),R=n,n=[R],0<D){var i=s(-1,r,n,n,O,S,0,0,0,0);void 0!==i&&"string"===typeof i&&(r=i)}var o=t(B,n,r,0,0);return 0<D&&(i=s(-2,o,n,n,O,S,o.length,0,0,0),void 0!==i&&(o=i)),R="",M=0,S=O=1,o}var f=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,h=/zoo|gra/,v=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,x=/:(read-only)/g,A=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,E=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,S=1,O=1,M=0,P=1,B=[],L=[],D=0,I=null,j=0,R="";return c.use=l,c.set=u,void 0!==e&&u(e),c}var c=u,f=r("4c06"),p=r.n(f),d=/[A-Z]|^ms/g,h=i((function(e){return e.replace(d,"-$&").toLowerCase()})),v=function(e,t){return null==t||"boolean"===typeof t?"":1===a[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},m=function e(t){for(var r=t.length,n=0,i="";n<r;n++){var o=t[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"function":0,a=e([o()]);break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i},g="undefined"!==typeof document;function y(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function b(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}var x=function(){function e(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}var t=e.prototype;return t.inject=function(){if(this.injected)throw new Error("already injected!");this.tags[0]=b(this.opts),this.injected=!0},t.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},t.insert=function(e,t){if(this.isSpeedy){var r=this.tags[this.tags.length-1],n=y(r);try{n.insertRule(e,n.cssRules.length)}catch(o){0}}else{var i=b(this.opts);this.tags.push(i),i.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3===0&&this.tags.push(b(this.opts))},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,this.injected=!1},e}();function A(e,t){if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var r,n=t.key||"css";function i(e){r+=e,g&&u.insert(e,d)}var o,a=p()(i);void 0!==t.prefix&&(o={prefix:t.prefix});var s={registered:{},inserted:{},nonce:t.nonce,key:n},u=new x(t);g&&u.inject();var f=new c(o);f.use(t.stylisPlugins)(a);var d="";function y(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e.__emotion_styles){var r=e.toString();return r}return y.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return _.call(this,e);default:var n=s.registered[e];return!1===t&&void 0!==n?n:e}}var b,A,w=new WeakMap;function _(e){if(w.has(e))return w.get(e);var t="";return Array.isArray(e)?e.forEach((function(e){t+=y.call(this,e,!1)}),this):Object.keys(e).forEach((function(r){"object"!==typeof e[r]?void 0!==s.registered[e[r]]?t+=r+"{"+s.registered[e[r]]+"}":t+=h(r)+":"+v(r,e[r])+";":Array.isArray(e[r])&&"string"===typeof e[r][0]&&void 0===s.registered[e[r][0]]?e[r].forEach((function(e){t+=h(r)+":"+v(r,e)+";"})):t+=r+"{"+y.call(this,e[r],!1)+"}"}),this),w.set(e,t),t}var E=/label:\s*([^\s;\n{]+)\s*;/g,k=function(e,t){return l(e+t)+t},T=function(e){var t=!0,r="",n="";null==e||void 0===e.raw?(t=!1,r+=y.call(this,e,!1)):r+=e[0];for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return o.forEach((function(n,i){r+=y.call(this,n,46===r.charCodeAt(r.length-1)),!0===t&&void 0!==e[i+1]&&(r+=e[i+1])}),this),A=r,r=r.replace(E,(function(e,t){return n+="-"+t,""})),b=k(r,n),r};function C(e,t){void 0===s.inserted[b]&&(r="",f(e,t),s.inserted[b]=r)}var S=function(){var e=T.apply(this,arguments),t=n+"-"+b;return void 0===s.registered[t]&&(s.registered[t]=A),C("."+t,e),t},O=function(){var e=T.apply(this,arguments),t="animation-"+b;return C("","@keyframes "+t+"{"+e+"}"),t},M=function(){var e=T.apply(this,arguments);C("",e)};function P(e,t){var r="";return t.split(" ").forEach((function(t){void 0!==s.registered[t]?e.push(t):r+=t+" "})),r}function B(e,t){var r=[],n=P(r,e);return r.length<2?e:n+S(r,t)}function L(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return B(m(t))}function D(e){s.inserted[e]=!0}function I(e){e.forEach(D)}function j(){g&&(u.flush(),u.inject()),s.inserted={},s.registered={}}if(g){var R=document.querySelectorAll("[data-emotion-"+n+"]");Array.prototype.forEach.call(R,(function(e){u.tags[0].parentNode.insertBefore(e,u.tags[0]),e.getAttribute("data-emotion-"+n).split(" ").forEach(D)}))}var F={flush:j,hydrate:I,cx:L,merge:B,getRegisteredStyles:P,injectGlobal:M,keyframes:O,css:S,sheet:u,caches:s};return e.__SECRET_EMOTION__=F,F}t["a"]=A},a26e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"#09FFFF",d:"M702.658 1295.469a41.129 41.129 0 0 1-17.609-3.965l-559.677-263.837a41.352 41.352 0 0 1-23.715-37.404v-634.01a41.35 41.35 0 0 1 24.475-37.749L685.814 68.438a41.361 41.361 0 0 1 39.367 3.062 41.341 41.341 0 0 1 18.85 34.69v625.15a41.342 41.342 0 0 1-23.969 37.521L241.021 990.756l479.294 225.948c20.66 9.736 29.502 34.378 19.771 55.03-7.051 14.961-21.919 23.735-37.428 23.735zM184.354 383.068v542.804l476.984-220.946V169.952L184.354 383.068z"}),o.default.createElement("path",{fill:"#09FFFF",d:"M702.713 1295.469c-15.515 0-30.377-8.773-37.429-23.734-9.736-20.652-.889-45.294 19.765-55.03l479.295-225.948L685.302 768.86a41.335 41.335 0 0 1-23.963-37.521V106.19a41.346 41.346 0 0 1 58.212-37.752l559.683 250.067a41.349 41.349 0 0 1 24.476 37.749v634.008a41.351 41.351 0 0 1-23.716 37.404l-559.678 263.837a41.123 41.123 0 0 1-17.603 3.966zm41.318-590.543l476.979 220.952V383.069L744.031 169.952v534.974z"}),o.default.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"569.693",y1:"609.274",x2:"490.846",y2:"472.706"},o.default.createElement("stop",{offset:"0",stopColor:"#09ffff"}),o.default.createElement("stop",{offset:".058",stopColor:"#0be3ff"}),o.default.createElement("stop",{offset:".135",stopColor:"#0ec5ff"}),o.default.createElement("stop",{offset:".211",stopColor:"#10afff"}),o.default.createElement("stop",{offset:".283",stopColor:"#11a1ff"}),o.default.createElement("stop",{offset:".349",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".459",stopColor:"#10a4ff"}),o.default.createElement("stop",{offset:".614",stopColor:"#0fb6ff"}),o.default.createElement("stop",{offset:".795",stopColor:"#0cd4ff"}),o.default.createElement("stop",{offset:".995",stopColor:"#09feff"}),o.default.createElement("stop",{offset:"1",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#a)",d:"M260.692 770.274c-15.886 0-31.032-9.212-37.854-24.673-9.193-20.843.204-45.183 21-54.457.815-.369 82.487-37.934 159.691-137.073 11.965-19.586 76.511-113.551 207.528-107.458 79.605 3.699 126.375-9.453 161.124-91.65 8.885-21.036 33.155-30.877 54.18-21.986 21.036 8.891 30.876 33.144 21.986 54.185-55.841 132.117-148.918 146.361-241.13 142.058-92.273-4.328-132.827 67.379-133.227 68.101a40.6 40.6 0 0 1-3.489 5.323C379.22 720.93 281.474 764.927 277.356 766.743a41.175 41.175 0 0 1-16.664 3.531z"}),o.default.createElement("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"726.132",y1:"754.813",x2:"647.261",y2:"618.205"},o.default.createElement("stop",{offset:".382",stopColor:"#119dff"}),o.default.createElement("stop",{offset:".984",stopColor:"#09ffff"})),o.default.createElement("path",{fill:"url(#b)",d:"M417.123 915.811c-15.88 0-31.032-9.199-37.848-24.672-9.199-20.844.21-45.196 21.012-54.457 1.653-.753 82.876-38.441 159.671-137.068 11.966-19.578 76.364-113.594 207.537-107.457 79.61 3.711 126.38-9.453 161.123-91.65 8.885-21.042 33.155-30.872 54.179-21.993 21.041 8.891 30.884 33.155 21.993 54.186-55.842 132.115-148.9 146.353-241.143 142.062-89.349-4.174-130.5 63.441-133.291 68.232-1.075 2.012-2.013 3.364-3.427 5.192-91.28 118.279-189.025 162.29-193.143 164.104a41.21 41.21 0 0 1-16.663 3.521z"}),o.default.createElement("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"886.165",y1:"896.485",x2:"807.297",y2:"759.882"},o.default.createElement("stop",{offset:"0",stopColor:"#09ffff"}),o.default.createElement("stop",{offset:".602",stopColor:"#119dff"})),o.default.createElement("path",{fill:"url(#c)",d:"M577.159 1057.484c-15.886 0-31.032-9.213-37.854-24.673-9.193-20.856.216-45.201 21.012-54.463 1.649-.747 82.876-38.44 159.673-137.074 11.966-19.573 76.395-113.569 207.534-107.456 79.605 3.716 126.388-9.447 161.123-91.645 8.892-21.036 33.163-30.878 54.186-21.986 21.035 8.89 30.883 33.143 21.992 54.185-55.845 132.117-148.904 146.354-241.141 142.058-89.312-4.187-130.505 63.439-133.296 68.231-1.075 2.013-2.013 3.364-3.427 5.192-91.274 118.28-189.02 162.283-193.137 164.1a41.187 41.187 0 0 1-16.665 3.531z"}))};t.default=u},a27e:function(e,t,r){"use strict";var n=r("9092").extendFlat,i=r("a876"),o=r("9845"),a=r("f4e9"),s=r("94d5").hovertemplateAttrs,l=r("81f0").attributes,u=n({editType:"calc"},a("line",{editTypeOverride:"calc"}),{shape:{valType:"enumerated",values:["linear","hspline"],dflt:"linear",role:"info",editType:"plot",description:["Sets the shape of the paths.","If `linear`, paths are composed of straight lines.","If `hspline`, paths are composed of horizontal curved splines"].join(" ")},hovertemplate:s({editType:"plot",arrayOk:!1},{keys:["count","probability"],description:["This value here applies when hovering over lines."].join(" ")})});e.exports={domain:l({name:"parcats",trace:!0,editType:"calc"}),hoverinfo:n({},i.hoverinfo,{flags:["count","probability"],editType:"plot",arrayOk:!1}),hoveron:{valType:"enumerated",values:["category","color","dimension"],dflt:"category",role:"info",editType:"plot",description:["Sets the hover interaction mode for the parcats diagram.","If `category`, hover interaction take place per category.","If `color`, hover interactions take place per color per category.","If `dimension`, hover interactions take place across all categories per dimension."].join(" ")},hovertemplate:s({editType:"plot",arrayOk:!1},{keys:["count","probability","category","categorycount","colorcount","bandcolorcount"],description:["This value here applies when hovering over dimensions.","Note that `*categorycount`, *colorcount* and *bandcolorcount*","are only available when `hoveron` contains the *color* flag"].join(" ")}),arrangement:{valType:"enumerated",values:["perpendicular","freeform","fixed"],dflt:"perpendicular",role:"style",editType:"plot",description:["Sets the drag interaction mode for categories and dimensions.","If `perpendicular`, the categories can only move along a line perpendicular to the paths.","If `freeform`, the categories can freely move on the plane.","If `fixed`, the categories and dimensions are stationary."].join(" ")},bundlecolors:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:"Sort paths so that like colors are bundled together within each category."},sortpaths:{valType:"enumerated",values:["forward","backward"],dflt:"forward",role:"info",editType:"plot",description:["Sets the path sorting algorithm.","If `forward`, sort paths based on dimension categories from left to right.","If `backward`, sort paths based on dimensions categories from right to left."].join(" ")},labelfont:o({editType:"calc",description:"Sets the font for the `dimension` labels."}),tickfont:o({editType:"calc",description:"Sets the font for the `category` labels."}),dimensions:{_isLinkedToArray:"dimension",label:{valType:"string",role:"info",editType:"calc",description:"The shown name of the dimension."},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the categories in the dimension.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories in this dimension appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},ticktext:{valType:"data_array",role:"info",editType:"calc",description:["Sets alternative tick labels for the categories in this dimension.","Only has an effect if `categoryorder` is set to *array*.","Should be an array the same length as `categoryarray`","Used with `categoryorder`."].join(" ")},values:{valType:"data_array",role:"info",dflt:[],editType:"calc",description:["Dimension values. `values[n]` represents the category value of the `n`th point in the dataset,","therefore the `values` vector for all dimensions must be the same (longer vectors","will be truncated)."].join(" ")},displayindex:{valType:"integer",role:"info",editType:"calc",description:["The display index of dimension, from left to right, zero indexed, defaults to dimension","index."].join(" ")},editType:"calc",description:"The dimensions (variables) of the parallel categories diagram.",visible:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:"Shows the dimension when set to `true` (the default). Hides the dimension for `false`."}},line:u,counts:{valType:"number",min:0,dflt:1,arrayOk:!0,role:"info",editType:"calc",description:["The number of observations represented by each state. Defaults to 1 so that each state represents","one observation"].join(" ")},customdata:void 0,hoverlabel:void 0,ids:void 0,legendgroup:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}},a288:function(e,t,r){"use strict";var n=r("19b2"),i=r("b5e3"),o=r("bb71"),a=r("fc26"),s=r("4248"),l=r("cb04"),u=r("4ebd"),c=r("5b41").version,f={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png",description:"Sets the format of exported image."},width:{valType:"number",min:1,description:["Sets the exported image width.","Defaults to the value found in `layout.width`","If set to *null*, the exported image width will match the current graph width."].join(" ")},height:{valType:"number",min:1,description:["Sets the exported image height.","Defaults to the value found in `layout.height`","If set to *null*, the exported image height will match the current graph height."].join(" ")},scale:{valType:"number",min:0,dflt:1,description:["Sets a scaling for the generated image.","If set, all features of a graphs (e.g. text, line width)","are scaled, unlike simply setting","a bigger *width* and *height*."].join(" ")},setBackground:{valType:"any",dflt:!1,description:["Sets the image background mode.","By default, the image background is determined by `layout.paper_bgcolor`,","the *transparent* mode.","One might consider setting `setBackground` to *opaque*","when exporting a *jpeg* image as JPEGs do not support opacity."].join(" ")},imageDataOnly:{valType:"boolean",dflt:!1,description:["Determines whether or not the return value is prefixed by","the image format's corresponding 'data:image;' spec."].join(" ")}};function p(e,t){var r,p,d,h;function v(e){return!(e in t)||a.validate(t[e],f[e])}if(t=t||{},a.isPlainObject(e)?(r=e.data||[],p=e.layout||{},d=e.config||{},h={}):(e=a.getGraphDiv(e),r=a.extendDeep([],e.data),p=a.extendDeep({},e.layout),d=e._context,h=e._fullLayout||{}),!v("width")&&null!==t.width||!v("height")&&null!==t.height)throw new Error("Height and width should be pixel values.");if(!v("format"))throw new Error("Export format is not "+a.join2(f.format.values,", "," or ")+".");var m={};function g(e,r){return a.coerce(t,m,f,e,r)}var y=g("format"),b=g("width"),x=g("height"),A=g("scale"),w=g("setBackground"),_=g("imageDataOnly"),E=document.createElement("div");E.style.position="absolute",E.style.left="-5000px",document.body.appendChild(E);var k=a.extendFlat({},p);b?k.width=b:null===t.width&&n(h.width)&&(k.width=h.width),x?k.height=x:null===t.height&&n(h.height)&&(k.height=h.height);var T=a.extendFlat({},d,{_exportedPlot:!0,staticPlot:!0,setBackground:w}),C=s.getRedrawFunc(E);function S(){return new Promise((function(e){setTimeout(e,s.getDelay(E._fullLayout))}))}function O(){return new Promise((function(e,t){var r=l(E,y,A),n=E._fullLayout.width,f=E._fullLayout.height;function p(){i.purge(E),document.body.removeChild(E)}if("full-json"===y){var d=o.graphJson(E,!1,"keepdata","object",!0,!0);return d.version=c,d=JSON.stringify(d),p(),e(_?d:s.encodeJSON(d))}if(p(),"svg"===y)return e(_?r:s.encodeSVG(r));var h=document.createElement("canvas");h.id=a.randstr(),u({format:y,width:n,height:f,scale:A,canvas:h,svg:r,promise:!0}).then(e).catch(t)}))}function M(e){return _?e.replace(s.IMAGE_URL_PREFIX,""):e}return new Promise((function(e,t){i.plot(E,r,k,T).then(C).then(S).then(O).then((function(t){e(M(t))})).catch((function(e){t(e)}))}))}e.exports=p},a297:function(e,t,r){"use strict";e.exports=function(){var e=Math.sign;return"function"===typeof e&&(1===e(10)&&-1===e(-20))}},a2bb:function(e,t,r){"use strict";var n=r("be00");function i(e,t,r){if(!e||null==e.length)throw Error("Argument should be an array");null==t&&(t=1),null==r&&(r=n(e,t));for(var i=0;i<t;i++){var o=r[t+i],a=r[i],s=i,l=e.length;if(o===1/0&&a===-1/0)for(s=i;s<l;s+=t)e[s]=e[s]===o?1:e[s]===a?0:.5;else if(o===1/0)for(s=i;s<l;s+=t)e[s]=e[s]===o?1:0;else if(a===-1/0)for(s=i;s<l;s+=t)e[s]=e[s]===a?0:1;else{var u=o-a;for(s=i;s<l;s+=t)isNaN(e[s])||(e[s]=0===u?.5:(e[s]-a)/u)}}return e}e.exports=i},a2be:function(e,t,r){var n=r("d612"),i=r("4284"),o=r("c584"),a=1,s=2;function l(e,t,r,l,u,c){var f=r&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=c.get(e),v=c.get(t);if(h&&v)return h==t&&v==e;var m=-1,g=!0,y=r&s?new n:void 0;c.set(e,t),c.set(t,e);while(++m<p){var b=e[m],x=t[m];if(l)var A=f?l(x,b,m,t,e,c):l(b,x,m,e,t,c);if(void 0!==A){if(A)continue;g=!1;break}if(y){if(!i(t,(function(e,t){if(!o(y,t)&&(b===e||u(b,e,r,l,c)))return y.push(t)}))){g=!1;break}}else if(b!==x&&!u(b,x,r,l,c)){g=!1;break}}return c["delete"](e),c["delete"](t),g}e.exports=l},a2c0:function(e,t,r){"use strict";var n=r("78b4");e.exports=function(e,t){var r,i;for(r in n)if(i=n[r].detect(e,t),i)return r}},a2db:function(e,t,r){var n=r("9e69"),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;function a(e){return o?Object(o.call(e)):{}}e.exports=a},a2ee:function(e,t,r){"use strict";e.exports=function(e,t){var r={},n=t._carpet,i=n.ab2ij([e.a,e.b]),o=Math.floor(i[0]),a=i[0]-o,s=Math.floor(i[1]),l=i[1]-s,u=n.evalxy([],o,s,a,l);return r.yLabel=u[1].toFixed(3),r}},a30a:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("ad9c")),o=c(r("d7bc")),a=u(r("ab5b")),s=r("8704");function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(){var e;return f(this,r),e=t.call(this),e.state={addPanelOpen:!1},e.togglePanel=e.togglePanel.bind(y(e)),e}return d(r,[{key:"togglePanel",value:function(){this.setState({addPanelOpen:!this.state.addPanelOpen})}},{key:"render",value:function(){var e=this,t=this.context.localize,r=this.props,n=r.children,o=r.addAction,l=r.allowCollapse,u=r.toggleFolds,c=r.hasOpen,f=a.default.createElement(s.PlusIcon,null);return n||o||l?a.default.createElement("div",{className:"panel__header"},n&&n.length?a.default.createElement("div",{className:"panel__header__content"},n):null,a.default.createElement("div",{className:"panel__header__actions__container"},l?a.default.createElement("div",{className:"panel__header__collapse",onClick:u},c?a.default.createElement("span",null,a.default.createElement(s.ResizeDownIcon,null),t("Collapse All")):a.default.createElement("span",null,a.default.createElement(s.ResizeUpIcon,null),t("Expand All"))):null,o?a.default.createElement("div",{className:"panel__header__action dropdown-container"},a.default.createElement(i.default,{variant:"primary",className:"js-add-button",onClick:Array.isArray(o.handler)?this.togglePanel:function(){return o.handler(e.context)},icon:f,label:o.label}),this.state.addPanelOpen&&a.default.createElement("div",{className:"Select"},a.default.createElement("div",{className:"Select-menu-outer"},a.default.createElement("div",{className:"Select-menu"},o.handler.map((function(t){var r=t.label,n=t.handler;return a.default.createElement("div",{className:"Select-option",key:r,onClick:function(){n(e.context),e.togglePanel()}},r)})))))):null)):null}}]),r}(a.Component);A.contextTypes={layout:o.default.object,fullContainer:o.default.object,onUpdate:o.default.func,updateContainer:o.default.func,localize:o.default.func},A.propTypes={addAction:o.default.object,allowCollapse:o.default.bool,children:o.default.node,hasOpen:o.default.bool,toggleFolds:o.default.func};var w=A;t.default=w},a33a:function(e,t,r){"use strict";function n(e,t){var r=Math.floor(t),n=t-r,i=0<=r&&r<e.shape[0],o=0<=r+1&&r+1<e.shape[0],a=i?+e.get(r):0,s=o?+e.get(r+1):0;return(1-n)*a+n*s}function i(e,t,r){var n=Math.floor(t),i=t-n,o=0<=n&&n<e.shape[0],a=0<=n+1&&n+1<e.shape[0],s=Math.floor(r),l=r-s,u=0<=s&&s<e.shape[1],c=0<=s+1&&s+1<e.shape[1],f=o&&u?e.get(n,s):0,p=o&&c?e.get(n,s+1):0,d=a&&u?e.get(n+1,s):0,h=a&&c?e.get(n+1,s+1):0;return(1-l)*((1-i)*f+i*d)+l*((1-i)*p+i*h)}function o(e,t,r,n){var i=Math.floor(t),o=t-i,a=0<=i&&i<e.shape[0],s=0<=i+1&&i+1<e.shape[0],l=Math.floor(r),u=r-l,c=0<=l&&l<e.shape[1],f=0<=l+1&&l+1<e.shape[1],p=Math.floor(n),d=n-p,h=0<=p&&p<e.shape[2],v=0<=p+1&&p+1<e.shape[2],m=a&&c&&h?e.get(i,l,p):0,g=a&&f&&h?e.get(i,l+1,p):0,y=s&&c&&h?e.get(i+1,l,p):0,b=s&&f&&h?e.get(i+1,l+1,p):0,x=a&&c&&v?e.get(i,l,p+1):0,A=a&&f&&v?e.get(i,l+1,p+1):0,w=s&&c&&v?e.get(i+1,l,p+1):0,_=s&&f&&v?e.get(i+1,l+1,p+1):0;return(1-d)*((1-u)*((1-o)*m+o*y)+u*((1-o)*g+o*b))+d*((1-u)*((1-o)*x+o*w)+u*((1-o)*A+o*_))}function a(e){var t,r,n=0|e.shape.length,i=new Array(n),o=new Array(n),a=new Array(n),s=new Array(n);for(t=0;t<n;++t)r=+arguments[t+1],i[t]=Math.floor(r),o[t]=r-i[t],a[t]=0<=i[t]&&i[t]<e.shape[t],s[t]=0<=i[t]+1&&i[t]+1<e.shape[t];var l,u,c,f=0;e:for(t=0;t<1<<n;++t){for(u=1,c=e.offset,l=0;l<n;++l)if(t&1<<l){if(!s[l])continue e;u*=o[l],c+=e.stride[l]*(i[l]+1)}else{if(!a[l])continue e;u*=1-o[l],c+=e.stride[l]*i[l]}f+=u*e.data[c]}return f}function s(e,t,r,s){switch(e.shape.length){case 0:return 0;case 1:return n(e,t);case 2:return i(e,t,r);case 3:return o(e,t,r,s);default:return a.apply(void 0,arguments)}}e.exports=s,e.exports.d1=n,e.exports.d2=i,e.exports.d3=o},a36d:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PanelMessage=void 0;var i=c(r("d7bc")),o=u(r("ab5b")),a=r("8704"),s=r("4578");function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.icon,n=this.props.heading||"";return o.default.createElement("div",{className:"panel__empty__message"},Boolean(r)&&o.default.createElement("div",{className:"panel__empty__message__icon"},o.default.createElement(r,null)),Boolean(n)&&o.default.createElement("div",{className:"panel__empty__message__heading"},n),o.default.createElement("div",{className:"panel__empty__message__content"},t))}}]),r}(o.Component);t.PanelMessage=A,A.defaultProps={icon:a.ChartLineIcon},A.propTypes={heading:i.default.string,children:i.default.node,icon:i.default.oneOfType([i.default.node,i.default.func])};var w=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"render",value:function(){return o.default.createElement("div",{className:(0,s.bem)("panel","empty")},o.default.createElement(A,this.props))}}]),r}(o.Component);w.propTypes={heading:i.default.string,children:i.default.node,icon:i.default.oneOfType([i.default.node,i.default.func])};var _=w;t.default=_},a391:function(e,t,r){"use strict";var n=r("fc26"),i=r("c4c7").isUnifiedHover,o=r("927d"),a=r("54d9"),s=r("2093");e.exports=function(e,t,r){function l(r,i){return n.coerce(e,t,o,r,i)}var u=a(e,t,r);u&&(l("hoverdistance"),l("spikedistance",i(u)?-1:void 0));var c=l("dragmode");"select"===c&&l("selectdirection");var f=t._has("mapbox"),p=t._has("geo"),d=t._basePlotModules.length;"zoom"===t.dragmode&&((f||p)&&1===d||f&&p&&2===d)&&(t.dragmode="pan"),s(e,t,l)}},a392:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("bb71"),a=r("fc26"),s=r("821b"),l=r("d115"),u=r("83d1"),c=r("1999"),f=r("958a"),p=r("0642"),d=r("63dc"),h=r("6add"),v=h.enforce,m=h.clean,g=r("ce56").doAutoRange,y="start",b="middle",x="end";function A(e,t,r){for(var n=0;n<r.length;n++){var i=r[n][0],o=r[n][1];if(!(i[0]>=e[1]||i[1]<=e[0])&&(o[0]<t[1]&&o[1]>t[0]))return!0}return!1}function w(e){var r,i,s,c,h,v,m=e._fullLayout,g=m._size,y=g.p,b=p.list(e,"",!0);if(m._paperdiv.style({width:e._context.responsive&&m.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":m.width+"px",height:e._context.responsive&&m.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":m.height+"px"}).selectAll(".main-svg").call(u.setSize,m.width,m.height),e._context.setBackground(e,m.paper_bgcolor),t.drawMainTitle(e),f.manage(e),!m._has("cartesian"))return o.previousPromises(e);function x(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-y-n:t._offset+t._length+y+n:g.t+g.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+y+n:t._offset-y-n:g.l+g.w*(e.position||0)+n%1}for(r=0;r<b.length;r++){c=b[r];var w=c._anchorAxis;c._linepositions={},c._lw=u.crispRound(e,c.linewidth,1),c._mainLinePosition=x(c,w,c.side),c._mainMirrorPosition=c.mirror&&w?x(c,w,d.OPPOSITE_SIDE[c.side]):null}var E=[],T=[],C=[],S=1===l.opacity(m.paper_bgcolor)&&1===l.opacity(m.plot_bgcolor)&&m.paper_bgcolor===m.plot_bgcolor;for(i in m._plots)if(s=m._plots[i],s.mainplot)s.bg&&s.bg.remove(),s.bg=void 0;else{var O=s.xaxis.domain,M=s.yaxis.domain,P=s.plotgroup;if(A(O,M,C)){var B=P.node(),L=s.bg=a.ensureSingle(P,"rect","bg");B.insertBefore(L.node(),B.childNodes[0]),T.push(i)}else P.select("rect.bg").remove(),C.push([O,M]),S||(E.push(i),T.push(i))}var D,I,j,R,F,N,z,U,H,V,Q,W,K,q=m._bgLayer.selectAll(".bg").data(E);for(q.enter().append("rect").classed("bg",!0),q.exit().remove(),q.each((function(e){m._plots[e].bg=n.select(this)})),r=0;r<T.length;r++)s=m._plots[T[r]],h=s.xaxis,v=s.yaxis,s.bg&&void 0!==h._offset&&void 0!==v._offset&&s.bg.call(u.setRect,h._offset-y,v._offset-y,h._length+2*y,v._length+2*y).call(l.fill,m.plot_bgcolor).style("stroke-width",0);if(!m._hasOnlyLargeSploms)for(i in m._plots){s=m._plots[i],h=s.xaxis,v=s.yaxis;var G,$,Y=s.clipId="clip"+m._uid+i+"plot",X=a.ensureSingleById(m._clips,"clipPath",Y,(function(e){e.classed("plotclip",!0).append("rect")}));s.clipRect=X.select("rect").attr({width:h._length,height:v._length}),u.setTranslate(s.plot,h._offset,v._offset),s._hasClipOnAxisFalse?(G=null,$=Y):(G=Y,$=null),u.setClipUrl(s.plot,G,e),s.layerClipId=$}function Z(e){return"M"+D+","+e+"H"+I}function J(e){return"M"+h._offset+","+e+"h"+h._length}function ee(e){return"M"+e+","+U+"V"+z}function te(e){return"M"+e+","+v._offset+"v"+v._length}function re(e,t,r){if(!e.showline||i!==e._mainSubplot)return"";if(!e._anchorAxis)return r(e._mainLinePosition);var n=t(e._mainLinePosition);return e.mirror&&(n+=t(e._mainMirrorPosition)),n}for(i in m._plots){s=m._plots[i],h=s.xaxis,v=s.yaxis;var ne="M0,0";_(h,i)&&(F=k(h,"left",v,b),D=h._offset-(F?y+F:0),N=k(h,"right",v,b),I=h._offset+h._length+(N?y+N:0),j=x(h,v,"bottom"),R=x(h,v,"top"),K=!h._anchorAxis||i!==h._mainSubplot,!K||"allticks"!==h.mirror&&"all"!==h.mirror||(h._linepositions[i]=[j,R]),ne=re(h,Z,J),K&&h.showline&&("all"===h.mirror||"allticks"===h.mirror)&&(ne+=Z(j)+Z(R)),s.xlines.style("stroke-width",h._lw+"px").call(l.stroke,h.showline?h.linecolor:"rgba(0,0,0,0)")),s.xlines.attr("d",ne);var ie="M0,0";_(v,i)&&(Q=k(v,"bottom",h,b),z=v._offset+v._length+(Q?y:0),W=k(v,"top",h,b),U=v._offset-(W?y:0),H=x(v,h,"left"),V=x(v,h,"right"),K=!v._anchorAxis||i!==v._mainSubplot,!K||"allticks"!==v.mirror&&"all"!==v.mirror||(v._linepositions[i]=[H,V]),ie=re(v,ee,te),K&&v.showline&&("all"===v.mirror||"allticks"===v.mirror)&&(ie+=ee(H)+ee(V)),s.ylines.style("stroke-width",v._lw+"px").call(l.stroke,v.showline?v.linecolor:"rgba(0,0,0,0)")),s.ylines.attr("d",ie)}return p.makeClipPaths(e),o.previousPromises(e)}function _(e,t){return(e.ticks||e.showline)&&(t===e._mainSubplot||"all"===e.mirror||"allticks"===e.mirror)}function E(e,t,r){if(!r.showline||!r._lw)return!1;if("all"===r.mirror||"allticks"===r.mirror)return!0;var n=r._anchorAxis;if(!n)return!1;var i=d.FROM_BL[t];return r.side===t?n.domain[i]===e.domain[i]:r.mirror&&n.domain[1-i]===e.domain[1-i]}function k(e,t,r,n){if(E(e,t,r))return r._lw;for(var i=0;i<n.length;i++){var o=n[i];if(o._mainAxis===r._mainAxis&&E(e,t,o))return o._lw}return 0}function T(e,t){var r=e.title,n=e._size,i=0;switch(t===y?i=r.pad.l:t===x&&(i=-r.pad.r),r.xref){case"paper":return n.l+n.w*r.x+i;case"container":default:return e.width*r.x+i}}function C(e,t){var r=e.title,n=e._size,i=0;if("0em"!==t&&t?t===d.CAP_SHIFT+"em"&&(i=r.pad.t):i=-r.pad.b,"auto"===r.y)return n.t/2;switch(r.yref){case"paper":return n.t+n.h-n.h*r.y+i;case"container":default:return e.height-e.height*r.y+i}}function S(e){var t=e.title,r=b;return a.isRightAnchor(t)?r=x:a.isLeftAnchor(t)&&(r=y),r}function O(e){var t=e.title,r="0em";return a.isTopAnchor(t)?r=d.CAP_SHIFT+"em":a.isMiddleAnchor(t)&&(r=d.MID_SHIFT+"em"),r}t.layoutStyles=function(e){return a.syncOrAsync([o.doAutoMargin,w],e)},t.drawMainTitle=function(e){var t=e._fullLayout,r=S(t),n=O(t);c.draw(e,"gtitle",{propContainer:t,propName:"title.text",placeholder:t._dfltTitle.plot,attributes:{x:T(t,r),y:C(t,n),"text-anchor":r,dy:n}})},t.doTraceStyle=function(e){var r,n=e.calcdata,a=[];for(r=0;r<n.length;r++){var l=n[r],u=l[0]||{},c=u.trace||{},f=c._module||{},p=f.arraysToCalcdata;p&&p(l,c);var d=f.editStyle;d&&a.push({fn:d,cd0:u})}if(a.length){for(r=0;r<a.length;r++){var h=a[r];h.fn(e,h.cd0)}s(e),t.redrawReglTraces(e)}return o.style(e),i.getComponentMethod("legend","draw")(e),o.previousPromises(e)},t.doColorBars=function(e){return i.getComponentMethod("colorbar","draw")(e),o.previousPromises(e)},t.layoutReplot=function(e){var t=e.layout;return e.layout=void 0,i.call("plot",e,"",t)},t.doLegend=function(e){return i.getComponentMethod("legend","draw")(e),o.previousPromises(e)},t.doTicksRelayout=function(e){return p.draw(e,"redraw"),e._fullLayout._hasOnlyLargeSploms&&(i.subplotsRegistry.splom.updateGrid(e),s(e),t.redrawReglTraces(e)),t.drawMainTitle(e),o.previousPromises(e)},t.doModeBar=function(e){var t=e._fullLayout;f.manage(e);for(var r=0;r<t._basePlotModules.length;r++){var n=t._basePlotModules[r].updateFx;n&&n(e)}return o.previousPromises(e)},t.doCamera=function(e){for(var t=e._fullLayout,r=t._subplots.gl3d,n=0;n<r.length;n++){var i=t[r[n]],o=i._scene;o.setViewport(i)}},t.drawData=function(e){var r=e._fullLayout;s(e);for(var n=r._basePlotModules,a=0;a<n.length;a++)n[a].plot(e);return t.redrawReglTraces(e),o.style(e),i.getComponentMethod("shapes","draw")(e),i.getComponentMethod("annotations","draw")(e),i.getComponentMethod("images","draw")(e),r._replotting=!1,o.previousPromises(e)},t.redrawReglTraces=function(e){var t=e._fullLayout;if(t._has("regl")){var r,n,i=e._fullData,o=[],s=[];for(t._hasOnlyLargeSploms&&t._splomGrid.draw(),r=0;r<i.length;r++){var l=i[r];!0===l.visible&&0!==l._length&&("splom"===l.type?t._splomScenes[l.uid].draw():"scattergl"===l.type?a.pushUnique(o,l.xaxis+l.yaxis):"scatterpolargl"===l.type&&a.pushUnique(s,l.subplot))}for(r=0;r<o.length;r++)n=t._plots[o[r]],n._scene&&n._scene.draw();for(r=0;r<s.length;r++)n=t[s[r]]._subplot,n._scene&&n._scene.draw()}},t.doAutoRangeAndConstraints=function(e){for(var t,r=p.list(e,"",!0),n={},i=0;i<r.length;i++)if(t=r[i],!n[t._id]){n[t._id]=1,m(e,t),g(e,t);var o=t._matchGroup;if(o)for(var a in o){var s=p.getFromId(e,a);g(e,s,t.range),n[a]=1}}v(e)},t.finalDraw=function(e){i.getComponentMethod("rangeslider","draw")(e),i.getComponentMethod("rangeselector","draw")(e)},t.drawMarginPushers=function(e){i.getComponentMethod("legend","draw")(e),i.getComponentMethod("rangeselector","draw")(e),i.getComponentMethod("sliders","draw")(e),i.getComponentMethod("updatemenus","draw")(e),i.getComponentMethod("colorbar","draw")(e)}},a39a:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s,l,u){var c=t+o+u;if(f>0){var f=Math.sqrt(c+1);e[0]=.5*(a-l)/f,e[1]=.5*(s-n)/f,e[2]=.5*(r-o)/f,e[3]=.5*f}else{var p=Math.max(t,o,u);f=Math.sqrt(2*p-c+1);t>=p?(e[0]=.5*f,e[1]=.5*(i+r)/f,e[2]=.5*(s+n)/f,e[3]=.5*(a-l)/f):o>=p?(e[0]=.5*(r+i)/f,e[1]=.5*f,e[2]=.5*(l+a)/f,e[3]=.5*(s-n)/f):(e[0]=.5*(n+s)/f,e[1]=.5*(a+l)/f,e[2]=.5*f,e[3]=.5*(r-i)/f)}return e}e.exports=n},a3b3:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M6,2C4.89,2 4,2.9 4,4V20C4,21.1 4.9,22 6,22H18C19.1,22 20,21.1 20,20V8L14,2M13,3.5L18.5,9H13M8.93,12.22H16V19.29L13.88,17.17L11.05,20L8.22,17.17L11.05,14.35"}))};e.exports=s},a3fb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M2 25l12 5V16L2 11zm16-9v14l12-5V11zM16 1L2 7l14 6 14-6z"}))};t.default=u},a3fd:function(e,t){function r(e,t,r){this.shortMessage=t||"",this.longMessage=r||"",this.rawError=e||"",this.message="gl-shader: "+(t||e||"")+(r?"\n"+r:""),this.stack=(new Error).stack}r.prototype=new Error,r.prototype.name="GLError",r.prototype.constructor=r,e.exports=r},a41d:function(e,t,r){"use strict";var n=r("6e58"),i=r("a708"),o=r("93a6").resizeText;e.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(".trace");o(e,t,"funnelarea"),t.each((function(e){var t=e[0],r=t.trace,o=n.select(this);o.style({opacity:r.opacity}),o.selectAll("path.surface").each((function(e){n.select(this).call(i,e,r)}))}))}},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("23cb"),o=r("a691"),a=r("50c4"),s=r("7b0b"),l=r("65f0"),u=r("8418"),c=r("1dde"),f=r("ae40"),p=c("splice"),d=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min,m=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!p||!d},{splice:function(e,t){var r,n,c,f,p,d,y=s(this),b=a(y.length),x=i(e,b),A=arguments.length;if(0===A?r=n=0:1===A?(r=0,n=b-x):(r=A-2,n=v(h(o(t),0),b-x)),b+r-n>m)throw TypeError(g);for(c=l(y,n),f=0;f<n;f++)p=x+f,p in y&&u(c,f,y[p]);if(c.length=n,r<n){for(f=x;f<b-n;f++)p=f+n,d=f+r,p in y?y[d]=y[p]:delete y[d];for(f=b;f>b-n+r;f--)delete y[f-1]}else if(r>n)for(f=b-n;f>x;f--)p=f+n-1,d=f+r-1,p in y?y[d]=y[p]:delete y[d];for(f=0;f<r;f++)y[f+x]=arguments[f+2];return y.length=b-n+r,c}})},a43d:function(e,t,r){"use strict";r.r(t),r.d(t,"interpolate",(function(){return fe})),r.d(t,"interpolateArray",(function(){return X})),r.d(t,"interpolateBasis",(function(){return R})),r.d(t,"interpolateBasisClosed",(function(){return F})),r.d(t,"interpolateDate",(function(){return J})),r.d(t,"interpolateDiscrete",(function(){return pe})),r.d(t,"interpolateHue",(function(){return de})),r.d(t,"interpolateNumber",(function(){return ee})),r.d(t,"interpolateNumberArray",(function(){return $})),r.d(t,"interpolateObject",(function(){return te})),r.d(t,"interpolateRound",(function(){return he})),r.d(t,"interpolateString",(function(){return ce})),r.d(t,"interpolateTransformCss",(function(){return Ae})),r.d(t,"interpolateTransformSvg",(function(){return we})),r.d(t,"interpolateZoom",(function(){return Me})),r.d(t,"interpolateRgb",(function(){return W})),r.d(t,"interpolateRgbBasis",(function(){return q})),r.d(t,"interpolateRgbBasisClosed",(function(){return G})),r.d(t,"interpolateHsl",(function(){return Be})),r.d(t,"interpolateHslLong",(function(){return Le})),r.d(t,"interpolateLab",(function(){return tt})),r.d(t,"interpolateHcl",(function(){return nt})),r.d(t,"interpolateHclLong",(function(){return it})),r.d(t,"interpolateCubehelix",(function(){return gt})),r.d(t,"interpolateCubehelixLong",(function(){return yt})),r.d(t,"piecewise",(function(){return bt})),r.d(t,"quantize",(function(){return xt}));var n=function(e,t,r){e.prototype=t.prototype=r,r.constructor=e};function i(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function o(){}var a=.7,s=1/a,l="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,p=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),h=new RegExp("^rgba\\("+[l,l,l,u]+"\\)$"),v=new RegExp("^rgba\\("+[c,c,c,u]+"\\)$"),m=new RegExp("^hsl\\("+[u,c,c]+"\\)$"),g=new RegExp("^hsla\\("+[u,c,c,u]+"\\)$"),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function x(){return B(this).formatHsl()}function A(){return this.rgb().formatRgb()}function w(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=f.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?_(t):3===r?new C(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?E(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?E(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=p.exec(e))?new C(t[1],t[2],t[3],1):(t=d.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?E(t[1],t[2],t[3],t[4]):(t=v.exec(e))?E(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?_(y[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function _(e){return new C(e>>16&255,e>>8&255,255&e,1)}function E(e,t,r,n){return n<=0&&(e=t=r=NaN),new C(e,t,r,n)}function k(e){return e instanceof o||(e=w(e)),e?(e=e.rgb(),new C(e.r,e.g,e.b,e.opacity)):new C}function T(e,t,r,n){return 1===arguments.length?k(e):new C(e,t,r,null==n?1:n)}function C(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function S(){return"#"+M(this.r)+M(this.g)+M(this.b)}function O(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(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 M(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function P(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new D(e,t,r,n)}function B(e){if(e instanceof D)return new D(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new D;if(e instanceof D)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),s=NaN,l=a-i,u=(a+i)/2;return l?(s=t===a?(r-n)/l+6*(r<n):r===a?(n-t)/l+2:(t-r)/l+4,l/=u<.5?a+i:2-a-i,s*=60):l=u>0&&u<1?0:s,new D(s,l,u,e.opacity)}function L(e,t,r,n){return 1===arguments.length?B(e):new D(e,t,r,null==n?1:n)}function D(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function I(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function j(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}n(o,w,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:x,formatRgb:A,toString:A}),n(C,T,i(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new C(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:S,formatHex:S,formatRgb:O,toString:O})),n(D,L,i(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new D(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new D(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,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new C(I(e>=240?e-240:e+120,i,n),I(e,i,n),I(e<120?e+240:e-120,i,n),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 e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var R=function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return j((r-n/t)*t,a,i,o,s)}},F=function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],s=e[(n+2)%t];return j((r-n/t)*t,i,o,a,s)}},N=function(e){return function(){return e}};function z(e,t){return function(r){return e+r*t}}function U(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function H(e,t){var r=t-e;return r?z(e,r>180||r<-180?r-360*Math.round(r/360):r):N(isNaN(e)?t:e)}function V(e){return 1===(e=+e)?Q:function(t,r){return r-t?U(t,r,e):N(isNaN(t)?r:t)}}function Q(e,t){var r=t-e;return r?z(e,r):N(isNaN(e)?t:e)}var W=function e(t){var r=V(t);function n(e,t){var n=r((e=T(e)).r,(t=T(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Q(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function K(e){return function(t){var r,n,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(r=0;r<i;++r)n=T(t[r]),o[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return o=e(o),a=e(a),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=s(e),n+""}}}var q=K(R),G=K(F),$=function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}};function Y(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}var X=function(e,t){return(Y(t)?$:Z)(e,t)};function Z(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=fe(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}var J=function(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}},ee=function(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}},te=function(e,t){var r,n={},i={};for(r in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)r in e?n[r]=fe(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}},re=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ne=new RegExp(re.source,"g");function ie(e){return function(){return e}}function oe(e){return function(t){return e(t)+""}}var ae,se,le,ue,ce=function(e,t){var r,n,i,o=re.lastIndex=ne.lastIndex=0,a=-1,s=[],l=[];e+="",t+="";while((r=re.exec(e))&&(n=ne.exec(t)))(i=n.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(r=r[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:ee(r,n)})),o=ne.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?oe(l[0].x):ie(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)s[(r=l[n]).i]=r.x(e);return s.join("")})},fe=function(e,t){var r,n=typeof t;return null==t||"boolean"===n?N(t):("number"===n?ee:"string"===n?(r=w(t))?(t=r,W):ce:t instanceof w?W:t instanceof Date?J:Y(t)?$:Array.isArray(t)?Z:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?te:ee)(e,t)},pe=function(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}},de=function(e,t){var r=H(+e,+t);return function(e){var t=r(e);return t-360*Math.floor(t/360)}},he=function(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}},ve=180/Math.PI,me={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},ge=function(e,t,r,n,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*r+t*n)&&(r-=e*l,n-=t*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),e*n<t*r&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*ve,skewX:Math.atan(l)*ve,scaleX:a,scaleY:s}};function ye(e){return"none"===e?me:(ae||(ae=document.createElement("DIV"),se=document.documentElement,le=document.defaultView),ae.style.transform=e,e=le.getComputedStyle(se.appendChild(ae),null).getPropertyValue("transform"),se.removeChild(ae),e=e.slice(7,-1).split(","),ge(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function be(e){return null==e?me:(ue||(ue=document.createElementNS("http://www.w3.org/2000/svg","g")),ue.setAttribute("transform",e),(e=ue.transform.baseVal.consolidate())?(e=e.matrix,ge(e.a,e.b,e.c,e.d,e.e,e.f)):me)}function xe(e,t,r,n){function i(e){return e.length?e.pop()+" ":""}function o(e,n,i,o,a,s){if(e!==i||n!==o){var l=a.push("translate(",null,t,null,r);s.push({i:l-4,x:ee(e,i)},{i:l-2,x:ee(n,o)})}else(i||o)&&a.push("translate("+i+t+o+r)}function a(e,t,r,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:r.push(i(r)+"rotate(",null,n)-2,x:ee(e,t)})):t&&r.push(i(r)+"rotate("+t+n)}function s(e,t,r,o){e!==t?o.push({i:r.push(i(r)+"skewX(",null,n)-2,x:ee(e,t)}):t&&r.push(i(r)+"skewX("+t+n)}function l(e,t,r,n,o,a){if(e!==r||t!==n){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ee(e,r)},{i:s-2,x:ee(t,n)})}else 1===r&&1===n||o.push(i(o)+"scale("+r+","+n+")")}return function(t,r){var n=[],i=[];return t=e(t),r=e(r),o(t.translateX,t.translateY,r.translateX,r.translateY,n,i),a(t.rotate,r.rotate,n,i),s(t.skewX,r.skewX,n,i),l(t.scaleX,t.scaleY,r.scaleX,r.scaleY,n,i),t=r=null,function(e){var t,r=-1,o=i.length;while(++r<o)n[(t=i[r]).i]=t.x(e);return n.join("")}}}var Ae=xe(ye,"px, ","px)","deg)"),we=xe(be,", ",")",")"),_e=Math.SQRT2,Ee=2,ke=4,Te=1e-12;function Ce(e){return((e=Math.exp(e))+1/e)/2}function Se(e){return((e=Math.exp(e))-1/e)/2}function Oe(e){return((e=Math.exp(2*e))-1)/(e+1)}var Me=function(e,t){var r,n,i=e[0],o=e[1],a=e[2],s=t[0],l=t[1],u=t[2],c=s-i,f=l-o,p=c*c+f*f;if(p<Te)n=Math.log(u/a)/_e,r=function(e){return[i+e*c,o+e*f,a*Math.exp(_e*e*n)]};else{var d=Math.sqrt(p),h=(u*u-a*a+ke*p)/(2*a*Ee*d),v=(u*u-a*a-ke*p)/(2*u*Ee*d),m=Math.log(Math.sqrt(h*h+1)-h),g=Math.log(Math.sqrt(v*v+1)-v);n=(g-m)/_e,r=function(e){var t=e*n,r=Ce(m),s=a/(Ee*d)*(r*Oe(_e*t+m)-Se(m));return[i+s*c,o+s*f,a*r/Ce(_e*t+m)]}}return r.duration=1e3*n,r};function Pe(e){return function(t,r){var n=e((t=L(t)).h,(r=L(r)).h),i=Q(t.s,r.s),o=Q(t.l,r.l),a=Q(t.opacity,r.opacity);return function(e){return t.h=n(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var Be=Pe(H),Le=Pe(Q),De=Math.PI/180,Ie=180/Math.PI,je=18,Re=.96422,Fe=1,Ne=.82521,ze=4/29,Ue=6/29,He=3*Ue*Ue,Ve=Ue*Ue*Ue;function Qe(e){if(e instanceof Ke)return new Ke(e.l,e.a,e.b,e.opacity);if(e instanceof Je)return et(e);e instanceof C||(e=k(e));var t,r,n=Ye(e.r),i=Ye(e.g),o=Ye(e.b),a=qe((.2225045*n+.7168786*i+.0606169*o)/Fe);return n===i&&i===o?t=r=a:(t=qe((.4360747*n+.3850649*i+.1430804*o)/Re),r=qe((.0139322*n+.0971045*i+.7141733*o)/Ne)),new Ke(116*a-16,500*(t-a),200*(a-r),e.opacity)}function We(e,t,r,n){return 1===arguments.length?Qe(e):new Ke(e,t,r,null==n?1:n)}function Ke(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function qe(e){return e>Ve?Math.pow(e,1/3):e/He+ze}function Ge(e){return e>Ue?e*e*e:He*(e-ze)}function $e(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ye(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Xe(e){if(e instanceof Je)return new Je(e.h,e.c,e.l,e.opacity);if(e instanceof Ke||(e=Qe(e)),0===e.a&&0===e.b)return new Je(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ie;return new Je(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Ze(e,t,r,n){return 1===arguments.length?Xe(e):new Je(e,t,r,null==n?1:n)}function Je(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function et(e){if(isNaN(e.h))return new Ke(e.l,0,0,e.opacity);var t=e.h*De;return new Ke(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function tt(e,t){var r=Q((e=We(e)).l,(t=We(t)).l),n=Q(e.a,t.a),i=Q(e.b,t.b),o=Q(e.opacity,t.opacity);return function(t){return e.l=r(t),e.a=n(t),e.b=i(t),e.opacity=o(t),e+""}}function rt(e){return function(t,r){var n=e((t=Ze(t)).h,(r=Ze(r)).h),i=Q(t.c,r.c),o=Q(t.l,r.l),a=Q(t.opacity,r.opacity);return function(e){return t.h=n(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}n(Ke,We,i(o,{brighter:function(e){return new Ke(this.l+je*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Ke(this.l-je*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=Re*Ge(t),e=Fe*Ge(e),r=Ne*Ge(r),new C($e(3.1338561*t-1.6168667*e-.4906146*r),$e(-.9787684*t+1.9161415*e+.033454*r),$e(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),n(Je,Ze,i(o,{brighter:function(e){return new Je(this.h,this.c,this.l+je*(null==e?1:e),this.opacity)},darker:function(e){return new Je(this.h,this.c,this.l-je*(null==e?1:e),this.opacity)},rgb:function(){return et(this).rgb()}}));var nt=rt(H),it=rt(Q),ot=-.14861,at=1.78277,st=-.29227,lt=-.90649,ut=1.97294,ct=ut*lt,ft=ut*at,pt=at*st-lt*ot;function dt(e){if(e instanceof vt)return new vt(e.h,e.s,e.l,e.opacity);e instanceof C||(e=k(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(pt*n+ct*t-ft*r)/(pt+ct-ft),o=n-i,a=(ut*(r-i)-st*o)/lt,s=Math.sqrt(a*a+o*o)/(ut*i*(1-i)),l=s?Math.atan2(a,o)*Ie-120:NaN;return new vt(l<0?l+360:l,s,i,e.opacity)}function ht(e,t,r,n){return 1===arguments.length?dt(e):new vt(e,t,r,null==n?1:n)}function vt(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function mt(e){return function t(r){function n(t,n){var i=e((t=ht(t)).h,(n=ht(n)).h),o=Q(t.s,n.s),a=Q(t.l,n.l),s=Q(t.opacity,n.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,r)),t.opacity=s(e),t+""}}return r=+r,n.gamma=t,n}(1)}n(vt,ht,i(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new vt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new vt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*De,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new C(255*(t+r*(ot*n+at*i)),255*(t+r*(st*n+lt*i)),255*(t+r*(ut*n)),this.opacity)}}));var gt=mt(H),yt=mt(Q);function bt(e,t){var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);while(r<n)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}var xt=function(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}},a454:function(e,t,r){var n=r("72f0"),i=r("3b4a"),o=r("cd9d"),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},a462:function(e,t,r){"use strict";var n=r("9845"),i=r("927d").hoverlabel,o=r("9092").extendFlat;e.exports={hoverlabel:{bgcolor:o({},i.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:o({},i.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:n({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:o({},i.align,{arrayOk:!0}),namelength:o({},i.namelength,{arrayOk:!0}),editType:"none"}}},a469:function(e,t){function r(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}e.exports=r},a48a:function(e,t,r){"use strict";var n=32;function i(e){var t=32;return e&=-e,e&&t--,65535&e&&(t-=16),16711935&e&&(t-=8),252645135&e&&(t-=4),858993459&e&&(t-=2),1431655765&e&&(t-=1),t}t.INT_BITS=n,t.INT_MAX=2147483647,t.INT_MIN=-1<<n-1,t.sign=function(e){return(e>0)-(e<0)},t.abs=function(e){var t=e>>n-1;return(e^t)-t},t.min=function(e,t){return t^(e^t)&-(e<t)},t.max=function(e,t){return e^(e^t)&-(e<t)},t.isPow2=function(e){return!(e&e-1)&&!!e},t.log2=function(e){var t,r;return t=(e>65535)<<4,e>>>=t,r=(e>255)<<3,e>>>=r,t|=r,r=(e>15)<<2,e>>>=r,t|=r,r=(e>3)<<1,e>>>=r,t|=r,t|e>>1},t.log10=function(e){return e>=1e9?9:e>=1e8?8:e>=1e7?7:e>=1e6?6:e>=1e5?5:e>=1e4?4:e>=1e3?3:e>=100?2:e>=10?1:0},t.popCount=function(e){return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),16843009*(e+(e>>>4)&252645135)>>>24},t.countTrailingZeros=i,t.nextPow2=function(e){return e+=0===e,--e,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e+1},t.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)},t.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var o=new Array(256);(function(e){for(var t=0;t<256;++t){var r=t,n=t,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=1&r,--i;e[t]=n<<i&255}})(o),t.reverse=function(e){return o[255&e]<<24|o[e>>>8&255]<<16|o[e>>>16&255]<<8|o[e>>>24&255]},t.interleave2=function(e,t){return e&=65535,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t&=65535,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1},t.deinterleave2=function(e,t){return e=e>>>t&1431655765,e=858993459&(e|e>>>1),e=252645135&(e|e>>>2),e=16711935&(e|e>>>4),e=65535&(e|e>>>16),e<<16>>16},t.interleave3=function(e,t,r){return e&=1023,e=4278190335&(e|e<<16),e=251719695&(e|e<<8),e=3272356035&(e|e<<4),e=1227133513&(e|e<<2),t&=1023,t=4278190335&(t|t<<16),t=251719695&(t|t<<8),t=3272356035&(t|t<<4),t=1227133513&(t|t<<2),e|=t<<1,r&=1023,r=4278190335&(r|r<<16),r=251719695&(r|r<<8),r=3272356035&(r|r<<4),r=1227133513&(r|r<<2),e|r<<2},t.deinterleave3=function(e,t){return e=e>>>t&1227133513,e=3272356035&(e|e>>>2),e=251719695&(e|e>>>4),e=4278190335&(e|e>>>8),e=1023&(e|e>>>16),e<<22>>22},t.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>i(e)+1}},a4c0:function(e,t,r){"use strict";var n=r("371e");e.exports=function(e,t){for(var r=e._context.locale,i=0;i<2;i++){for(var o=e._context.locales,a=0;a<2;a++){var s=(o[r]||{}).dictionary;if(s){var l=s[t];if(l)return l}o=n.localeRegistry}var u=r.split("-")[0];if(u===r)break;r=u}return t}},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("d066"),a=r("c430"),s=r("83ab"),l=r("4930"),u=r("fdbf"),c=r("d039"),f=r("5135"),p=r("e8b5"),d=r("861d"),h=r("825a"),v=r("7b0b"),m=r("fc6a"),g=r("c04e"),y=r("5c6c"),b=r("7c73"),x=r("df75"),A=r("241c"),w=r("057f"),_=r("7418"),E=r("06cf"),k=r("9bf2"),T=r("d1e7"),C=r("9112"),S=r("6eeb"),O=r("5692"),M=r("f772"),P=r("d012"),B=r("90e3"),L=r("b622"),D=r("e538"),I=r("746f"),j=r("d44e"),R=r("69f3"),F=r("b727").forEach,N=M("hidden"),z="Symbol",U="prototype",H=L("toPrimitive"),V=R.set,Q=R.getterFor(z),W=Object[U],K=i.Symbol,q=o("JSON","stringify"),G=E.f,$=k.f,Y=w.f,X=T.f,Z=O("symbols"),J=O("op-symbols"),ee=O("string-to-symbol-registry"),te=O("symbol-to-string-registry"),re=O("wks"),ne=i.QObject,ie=!ne||!ne[U]||!ne[U].findChild,oe=s&&c((function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=G(W,t);n&&delete W[t],$(e,t,r),n&&e!==W&&$(W,t,n)}:$,ae=function(e,t){var r=Z[e]=b(K[U]);return V(r,{type:z,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},le=function(e,t,r){e===W&&le(J,t,r),h(e);var n=g(t,!0);return h(r),f(Z,n)?(r.enumerable?(f(e,N)&&e[N][n]&&(e[N][n]=!1),r=b(r,{enumerable:y(0,!1)})):(f(e,N)||$(e,N,y(1,{})),e[N][n]=!0),oe(e,n,r)):$(e,n,r)},ue=function(e,t){h(e);var r=m(t),n=x(r).concat(he(r));return F(n,(function(t){s&&!fe.call(r,t)||le(e,t,r[t])})),e},ce=function(e,t){return void 0===t?b(e):ue(b(e),t)},fe=function(e){var t=g(e,!0),r=X.call(this,t);return!(this===W&&f(Z,t)&&!f(J,t))&&(!(r||!f(this,t)||!f(Z,t)||f(this,N)&&this[N][t])||r)},pe=function(e,t){var r=m(e),n=g(t,!0);if(r!==W||!f(Z,n)||f(J,n)){var i=G(r,n);return!i||!f(Z,n)||f(r,N)&&r[N][n]||(i.enumerable=!0),i}},de=function(e){var t=Y(m(e)),r=[];return F(t,(function(e){f(Z,e)||f(P,e)||r.push(e)})),r},he=function(e){var t=e===W,r=Y(t?J:m(e)),n=[];return F(r,(function(e){!f(Z,e)||t&&!f(W,e)||n.push(Z[e])})),n};if(l||(K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=B(e),r=function(e){this===W&&r.call(J,e),f(this,N)&&f(this[N],t)&&(this[N][t]=!1),oe(this,t,y(1,e))};return s&&ie&&oe(W,t,{configurable:!0,set:r}),ae(t,e)},S(K[U],"toString",(function(){return Q(this).tag})),S(K,"withoutSetter",(function(e){return ae(B(e),e)})),T.f=fe,k.f=le,E.f=pe,A.f=w.f=de,_.f=he,D.f=function(e){return ae(L(e),e)},s&&($(K[U],"description",{configurable:!0,get:function(){return Q(this).description}}),a||S(W,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),F(x(re),(function(e){I(e)})),n({target:z,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var r=K(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:ce,defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:pe}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:he}),n({target:"Object",stat:!0,forced:c((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(v(e))}}),q){var ve=!l||c((function(){var e=K();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}));n({target:"JSON",stat:!0,forced:ve},{stringify:function(e,t,r){var n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t,(d(t)||void 0!==e)&&!se(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),i[1]=t,q.apply(null,i)}})}K[U][H]||C(K[U],H,K[U].valueOf),j(K,z),P[N]=!0},a4f3:function(e,t,r){"use strict";e.exports=y;var n=r("a48a"),i=r("1417"),o=r("1767"),a=r("92ba"),s=new Array(16),l=new Array(8),u=new Array(8),c=new Array(3),f=[0,0,0];function p(e,t,r){for(var n=0;n<4;++n){e[n]=r[12+n];for(var i=0;i<3;++i)e[n]+=t[i]*r[4*i+n]}}(function(){for(var e=0;e<8;++e)l[e]=[1,1,1,1],u[e]=[1,1,1]})();var d=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function h(e){for(var t=0;t<d.length;++t)if(e=o.positive(e,d[t]),e.length<3)return 0;var r=e[0],n=r[0]/r[3],i=r[1]/r[3],a=0;for(t=1;t+1<e.length;++t){var s=e[t],l=e[t+1],u=s[0]/s[3],c=s[1]/s[3],f=l[0]/l[3],p=l[1]/l[3],h=u-n,v=c-i,m=f-n,g=p-i;a+=Math.abs(h*g-v*m)}return a}var v=[1,1,1],m=[0,0,0],g={cubeEdges:v,axis:m};function y(e,t,r,o,d){i(s,t,e),i(s,r,s);for(var y=0,b=0;b<2;++b){c[2]=o[b][2];for(var x=0;x<2;++x){c[1]=o[x][1];for(var A=0;A<2;++A)c[0]=o[A][0],p(l[y],c,s),y+=1}}var w=-1;for(b=0;b<8;++b){for(var _=l[b][3],E=0;E<3;++E)u[b][E]=l[b][E]/_;d&&(u[b][2]*=-1),_<0&&(w<0||u[b][2]<u[w][2])&&(w=b)}if(w<0){w=0;for(var k=0;k<3;++k){for(var T=(k+2)%3,C=(k+1)%3,S=-1,O=-1,M=0;M<2;++M){var P=M<<k,B=P+(M<<T)+(1-M<<C),L=P+(1-M<<T)+(M<<C);a(u[P],u[B],u[L],f)<0||(M?S=1:O=1)}if(S<0||O<0)O>S&&(w|=1<<k);else{for(M=0;M<2;++M){P=M<<k,B=P+(M<<T)+(1-M<<C),L=P+(1-M<<T)+(M<<C);var D=h([l[P],l[B],l[L],l[P+(1<<T)+(1<<C)]]);M?S=D:O=D}O>S&&(w|=1<<k)}}}var I=7^w,j=-1;for(b=0;b<8;++b)b!==w&&b!==I&&(j<0||u[j][1]>u[b][1])&&(j=b);var R=-1;for(b=0;b<3;++b){var F=j^1<<b;if(F!==w&&F!==I){R<0&&(R=F);C=u[F];C[0]<u[R][0]&&(R=F)}}var N=-1;for(b=0;b<3;++b){F=j^1<<b;if(F!==w&&F!==I&&F!==R){N<0&&(N=F);C=u[F];C[0]>u[N][0]&&(N=F)}}var z=v;z[0]=z[1]=z[2]=0,z[n.log2(R^j)]=j&R,z[n.log2(j^N)]=j&N;var U=7^N;U===w||U===I?(U=7^R,z[n.log2(N^U)]=U&N):z[n.log2(R^U)]=U&R;var H=m,V=w;for(k=0;k<3;++k)H[k]=V&1<<k?-1:1;return g}},a522:function(e,t,r){"use strict";const n=r("2ff5"),i=r("53a5"),o=r("3de2"),a=r("be00"),s=r("b7d1"),l=r("84a1"),u=r("37cd"),c=r("0f3e"),f=r("7831"),p=r("fd4c1"),d=1073741824;function h(e,t){let[r,n,o,a]=t,s=1/(o-r),l=1/(a-n),u=new Array(e.length);for(let c=0,f=e.length/2;c<f;c++)u[2*c]=i((e[2*c]-r)*s,0,1),u[2*c+1]=i((e[2*c+1]-n)*l,0,1);return u}e.exports=function(e,t){t||(t={}),e=u(e,"float64"),t=s(t,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let r=l(t.maxDepth,255),i=l(t.bounds,a(e,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let v,m=h(e,i),g=e.length>>>1;t.dtype||(t.dtype="array"),"string"===typeof t.dtype?v=new(f(t.dtype))(g):t.dtype&&(v=t.dtype,Array.isArray(v)&&(v.length=g));for(let n=0;n<g;++n)v[n]=n;let y=[],b=[],x=[],A=[];_(0,0,1,v,0,1);let w=0;for(let n=0;n<y.length;n++){let e=y[n];if(v.set)v.set(e,w);else for(let r=0,n=e.length;r<n;r++)v[r+w]=e[r];let t=w+y[n].length;A[n]=[w,t],w=t}return v.range=E,v;function _(e,t,n,i,o,a){if(!i.length)return null;let s=y[o]||(y[o]=[]),l=x[o]||(x[o]=[]),u=b[o]||(b[o]=[]),c=s.length;if(o++,o>r||a>d){for(let e=0;e<i.length;e++)s.push(i[e]),l.push(a),u.push(null,null,null,null);return c}if(s.push(i[0]),l.push(a),i.length<=1)return u.push(null,null,null,null),c;let f=.5*n,p=e+f,h=t+f,v=[],g=[],A=[],w=[];for(let r=1,d=i.length;r<d;r++){let e=i[r],t=m[2*e],n=m[2*e+1];t<p?n<h?v.push(e):g.push(e):n<h?A.push(e):w.push(e)}return a<<=2,u.push(_(e,t,f,v,o,a),_(e,h,f,g,o,a+1),_(p,t,f,A,o,a+2),_(p,h,f,w,o,a+3)),c}function E(...t){let r;if(c(t[t.length-1])){let e=t.pop();t.length||null==e.x&&null==e.l&&null==e.left||(t=[e],r={}),r=s(e,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else r={};t.length||(t=i);let n=o(...t),[a,u,f,d]=[Math.min(n.x,n.x+n.width),Math.min(n.y,n.y+n.height),Math.max(n.x,n.x+n.width),Math.max(n.y,n.y+n.height)],[v,m,g,x]=h([a,u,f,d],i),A=l(r.level,y.length);if(null!=r.d){let e;"number"===typeof r.d?e=[r.d,r.d]:r.d.length&&(e=r.d),A=Math.min(Math.max(Math.ceil(-p(Math.abs(e[0])/(i[2]-i[0]))),Math.ceil(-p(Math.abs(e[1])/(i[3]-i[1])))),A)}if(A=Math.min(A,y.length),r.lod)return k(v,m,g,x,A);let w=[];function _(t,r,n,i,o,s){if(null===o||null===s)return;let l=t+n,c=r+n;if(v>l||m>c||g<t||x<r)return;if(i>=A)return;if(o===s)return;let p=y[i];void 0===s&&(s=p.length);for(let v=o;v<s;v++){let t=p[v],r=e[2*t],n=e[2*t+1];r>=a&&r<=f&&n>=u&&n<=d&&w.push(t)}let h=b[i],k=h[4*o+0],T=h[4*o+1],C=h[4*o+2],S=h[4*o+3],O=E(h,o+1),M=.5*n,P=i+1;_(t,r,M,P,k,T||C||S||O),_(t,r+M,M,P,T,C||S||O),_(t+M,r,M,P,C,S||O),_(t+M,r+M,M,P,S,O)}function E(e,t){let r=null,n=0;while(null===r)if(r=e[4*t+n],n++,n>e.length)return null;return r}return _(0,0,1,0,0,1),w}function k(e,t,r,i,o){let a=[];for(let s=0;s<o;s++){let o=x[s],l=A[s][0],u=T(e,t,s),c=T(r,i,s),f=n.ge(o,u),p=n.gt(o,c,f,o.length-1);a[s]=[f+l,p+l]}return a}function T(e,t,r){let n=1,i=.5,o=.5,a=.5;for(let s=0;s<r;s++)n<<=2,n+=e<i?t<o?0:1:t<o?2:3,a*=.5,i+=e<i?-a:a,o+=t<o?-a:a;return n}}},a524:function(e,t,r){var n=r("4245");function i(e){return n(this,e).has(e)}e.exports=i},a56d:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26");e.exports=function(e,t,r,o){var a=t.yaxis,s=t.xaxis,l=!!s.rangebreaks;i.makeTraceGroups(o,r,"trace ohlc").each((function(e){var t=n.select(this),r=e[0],o=r.t,u=r.trace;if(!0!==u.visible||o.empty)t.remove();else{var c=o.tickLen,f=t.selectAll("path").data(i.identity);f.enter().append("path"),f.exit().remove(),f.attr("d",(function(e){if(e.empty)return"M0,0Z";var t=s.c2p(e.pos-c,!0),r=s.c2p(e.pos+c,!0),n=l?(t+r)/2:s.c2p(e.pos,!0),i=a.c2p(e.o,!0),o=a.c2p(e.h,!0),u=a.c2p(e.l,!0),f=a.c2p(e.c,!0);return"M"+t+","+i+"H"+n+"M"+n+","+o+"V"+u+"M"+r+","+f+"H"+n}))}}))}},a5ba:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10,4V8H14V4H10M16,4V8H20V4H16M16,10V14H20V10H16M16,16V20H20V16H16M14,20V16H10V20H14M8,20V16H4V20H8M8,14V10H4V14H8M8,8V4H4V8H8M10,14H14V10H10V14M4,2H20C21.1,2 22,2.9 22,4V20C22,21.1 21.1,22 20,22H4C2.92,22 2,21.1 2,20V4C2,2.9 2.9,2 4,2Z"}))};e.exports=s},a5c4:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("4efe"),a=r("c4c7"),s=r("927d"),l=r("e812");function u(e){var t=i.isD3Selection(e)?e:n.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()}function c(e,t,r){return i.castOption(e,t,"hoverlabel."+r)}function f(e,t,r){function n(r){return i.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}return i.castOption(e,r,"hoverinfo",n)}e.exports={moduleType:"component",name:"fx",constants:r("7fb7"),schema:{layout:s},attributes:r("a462"),layoutAttributes:s,supplyLayoutGlobalDefaults:r("bb86"),supplyDefaults:r("cbd4"),supplyLayoutDefaults:r("a391"),calc:r("82a5"),getDistanceFunction:a.getDistanceFunction,getClosest:a.getClosest,inbox:a.inbox,quadrature:a.quadrature,appendArrayPointValue:a.appendArrayPointValue,castHoverOption:c,castHoverinfo:f,hover:l.hover,unhover:o.unhover,loneHover:l.loneHover,loneUnhover:u,click:r("7fc3")}},a5cc:function(e,t,r){"use strict";var n=r("bb4a"),i=r("107c").line,o=r("db54").dash,a=r("9092").extendFlat,s=r("a651").templatedArray,l=r("445c");e.exports=s("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:a({},n.xref,{description:["Sets the shape's x coordinate axis.",l.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:a({},n.yref,{description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:a({},i.color,{editType:"arraydraw"}),width:a({},i.width,{editType:"calc+arraydraw"}),dash:a({},o,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})},a5dd:function(e,t,r){"use strict";var n=r("b94e");function i(e,t,r){"function"===typeof e&&(r=!!t,t=e,e=window);var i=n("ex",e),o=function(e){r&&e.preventDefault();var n=e.deltaX||0,o=e.deltaY||0,a=e.deltaZ||0,s=e.deltaMode,l=1;switch(s){case 1:l=i;break;case 2:l=window.innerHeight;break}if(n*=l,o*=l,a*=l,n||o||a)return t(n,o,a,e)};return e.addEventListener("wheel",o),o}e.exports=i},a5e1:function(e,t,r){"use strict";var n=r("c258"),i=r("bc7f"),o=r("bc6b");function a(e,t,r){var a=t.contours,s=t.line,l=a.size||1,u=a.coloring,c=i(t,{isColorbar:!0});if("heatmap"===u){var f=n.extractOpts(t);r._fillgradient=f.reversescale?n.flipScale(f.colorscale):f.colorscale,r._zrange=[f.min,f.max]}else"fill"===u&&(r._fillcolor=c);r._line={color:"lines"===u?c:s.color,width:!1!==a.showlines?s.width:0,dash:s.dash},r._levels={start:a.start,end:o(a),size:l}}e.exports={min:"zmin",max:"zmax",calc:a}},a5fa:function(e,t,r){"use strict";var n=r("2969"),i=r("2969").createConeMesh,o=r("fc26").simpleMap,a=r("765f").parseColorScale,s=r("c258").extractOpts,l=r("569b");function u(e,t){this.scene=e,this.uid=t,this.mesh=null,this.data=null}var c=u.prototype;c.handlePick=function(e){if(e.object===this.mesh){var t=e.index=e.data.index,r=this.data.x[t],n=this.data.y[t],i=this.data.z[t],o=this.data.u[t],a=this.data.v[t],s=this.data.w[t];e.traceCoordinate=[r,n,i,o,a,s,Math.sqrt(o*o+a*a+s*s)];var l=this.data.hovertext||this.data.text;return Array.isArray(l)&&void 0!==l[t]?e.textLabel=l[t]:l&&(e.textLabel=l),!0}};var f={xaxis:0,yaxis:1,zaxis:2},p={tip:1,tail:0,cm:.25,center:.5},d={tip:1,tail:1,cm:.75,center:.5};function h(e,t){var r=e.fullSceneLayout,i=e.dataScale,u={};function c(e,t){var n=r[t],a=i[f[t]];return o(e,(function(e){return n.d2l(e)*a}))}u.vectors=l(c(t.u,"xaxis"),c(t.v,"yaxis"),c(t.w,"zaxis"),t._len),u.positions=l(c(t.x,"xaxis"),c(t.y,"yaxis"),c(t.z,"zaxis"),t._len);var h=s(t);u.colormap=a(t),u.vertexIntensityBounds=[h.min/t._normMax,h.max/t._normMax],u.coneOffset=p[t.anchor],"scaled"===t.sizemode?u.coneSize=t.sizeref||.5:u.coneSize=t.sizeref&&t._normMax?t.sizeref/t._normMax:.5;var v=n(u),m=t.lightposition;return v.lightPosition=[m.x,m.y,m.z],v.ambient=t.lighting.ambient,v.diffuse=t.lighting.diffuse,v.specular=t.lighting.specular,v.roughness=t.lighting.roughness,v.fresnel=t.lighting.fresnel,v.opacity=t.opacity,t._pad=d[t.anchor]*v.vectorScale*v.coneScale*t._normMax,v}function v(e,t){var r=e.glplot.gl,n=h(e,t),o=i(r,n),a=new u(e,t.uid);return a.mesh=o,a.data=t,o._trace=a,e.glplot.add(o),a}c.update=function(e){this.data=e;var t=h(this.scene,e);this.mesh.update(t)},c.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=v},a60e:function(e,t,r){"use strict";var n=r("dec3"),i=r("0984");function o(e,t){var r=e._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),i.isBrowser("Chrome < 60.0.3081.0")?e.update(n.forceSelection(r,a)):e.update(n.acceptSelection(r,a))}}e.exports=o},a60f:function(e,t,r){"use strict";var n=r("fc26"),i=r("b68b").tester,o=n.findIndexOfMin,a=n.isAngleInsideSector,s=n.angleDelta,l=n.angleDist;function u(e,t,r,n,o){if(!a(t,n))return!1;var s,l;r[0]<r[1]?(s=r[0],l=r[1]):(s=r[1],l=r[0]);var u=i(h(s,n[0],n[1],o)),c=i(h(l,n[0],n[1],o)),f=[e*Math.cos(t),e*Math.sin(t)];return c.contains(f)&&!u.contains(f)}function c(e,t,r,n){var i,o,a=n[0],s=n[1],l=g(Math.sin(t)-Math.sin(e)),u=g(Math.cos(t)-Math.cos(e)),c=Math.tan(r),f=g(1/c),p=l/u,d=s-p*a;return f?l&&u?(i=d/(c-p),o=c*i):u?(i=s*f,o=s):(i=a,o=a*c):l&&u?(i=0,o=d):u?(i=0,o=s):i=o=NaN,[i,o]}function f(e,t,r,n){var i=-t*r,o=t*t+1,a=2*(t*i-r),s=i*i+r*r-e*e,l=Math.sqrt(a*a-4*o*s),u=(-a+l)/(2*o),c=(-a-l)/(2*o);return[[u,t*u+i+n],[c,t*c+i+n]]}function p(e,t){var r,n=t.length,i=new Array(n+1);for(r=0;r<n;r++){var o=t[r];i[r]=[e*Math.cos(o),e*Math.sin(o)]}return i[r]=i[0].slice(),i}function d(e,t,r,i){var s,u,f=i.length,p=[];function d(t){return[e*Math.cos(t),e*Math.sin(t)]}function h(e,t,r){return c(e,t,r,d(e))}function v(e){return n.mod(e,f)}function m(e){return a(e,[t,r])}var g=o(i,(function(e){return m(e)?l(e,t):1/0})),y=h(i[g],i[v(g-1)],t);for(p.push(y),s=g,u=0;u<f;s++,u++){var b=i[v(s)];if(!m(b))break;p.push(d(b))}var x=o(i,(function(e){return m(e)?l(e,r):1/0})),A=h(i[x],i[v(x+1)],r);return p.push(A),p.push([0,0]),p.push(p[0].slice()),p}function h(e,t,r,i){return n.isFullCircle([t,r])?p(e,i):d(e,t,r,i)}function v(e,t,r,n){for(var i=1/0,o=1/0,a=h(e,t,r,n),s=0;s<a.length;s++){var l=a[s];i=Math.min(i,l[0]),o=Math.min(o,-l[1])}return[i,o]}function m(e,t){var r=function(t){var r=s(t,e);return r>0?r:1/0},i=o(t,r),a=n.mod(i+1,t.length);return[t[i],t[a]]}function g(e){return Math.abs(e)>1e-10?e:0}function y(e,t,r){t=t||0,r=r||0;for(var n=e.length,i=new Array(n),o=0;o<n;o++){var a=e[o];i[o]=[t+a[0],r-a[1]]}return i}function b(e,t,r,n,i,o){var a=h(e,t,r,n);return"M"+y(a,i,o).join("L")}function x(e,t,r,n,i,o,a){var s,l;e<t?(s=e,l=t):(s=t,l=e);var u=y(h(s,r,n,i),o,a),c=y(h(l,r,n,i),o,a);return"M"+c.reverse().join("L")+"M"+u.join("L")}e.exports={isPtInsidePolygon:u,findPolygonOffset:v,findEnclosingVertexAngles:m,findIntersectionXY:c,findXYatLength:f,clampTiny:g,pathPolygon:b,pathPolygonAnnulus:x}},a626:function(e,t){function r(e,t,r){var n=[],i=[];return e.forEach((function(e){var o=e.start,a=e.end;if(t.pointsSame(o,a))console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");else{r&&r.chainStart(e);for(var s={index:0,matches_head:!1,matches_pt1:!1},l={index:0,matches_head:!1,matches_pt1:!1},u=s,c=0;c<n.length;c++){var f=n[c],p=f[0],d=(f[1],f[f.length-1]);f[f.length-2];if(t.pointsSame(p,o)){if(E(c,!0,!0))break}else if(t.pointsSame(p,a)){if(E(c,!0,!1))break}else if(t.pointsSame(d,o)){if(E(c,!1,!0))break}else if(t.pointsSame(d,a)&&E(c,!1,!1))break}if(u===s)return n.push([o,a]),void(r&&r.chainNew(o,a));if(u===l){r&&r.chainMatch(s.index);var h=s.index,v=s.matches_pt1?a:o,m=s.matches_head,g=(f=n[h],m?f[0]:f[f.length-1]),y=m?f[1]:f[f.length-2],b=m?f[f.length-1]:f[0],x=m?f[f.length-2]:f[1];return t.pointsCollinear(y,g,v)&&(m?(r&&r.chainRemoveHead(s.index,v),f.shift()):(r&&r.chainRemoveTail(s.index,v),f.pop()),g=y),t.pointsSame(b,v)?(n.splice(h,1),t.pointsCollinear(x,b,g)&&(m?(r&&r.chainRemoveTail(s.index,g),f.pop()):(r&&r.chainRemoveHead(s.index,g),f.shift())),r&&r.chainClose(s.index),void i.push(f)):void(m?(r&&r.chainAddHead(s.index,v),f.unshift(v)):(r&&r.chainAddTail(s.index,v),f.push(v)))}var A=s.index,w=l.index;r&&r.chainConnect(A,w);var _=n[A].length<n[w].length;s.matches_head?l.matches_head?_?(k(A),T(A,w)):(k(w),T(w,A)):T(w,A):l.matches_head?T(A,w):_?(k(A),T(w,A)):(k(w),T(A,w))}function E(e,t,r){return u.index=e,u.matches_head=t,u.matches_pt1=r,u===s?(u=l,!1):(u=null,!0)}function k(e){r&&r.chainReverse(e),n[e].reverse()}function T(e,i){var o=n[e],a=n[i],s=o[o.length-1],l=o[o.length-2],u=a[0],c=a[1];t.pointsCollinear(l,s,u)&&(r&&r.chainRemoveTail(e,s),o.pop(),s=l),t.pointsCollinear(s,u,c)&&(r&&r.chainRemoveHead(i,u),a.shift()),r&&r.chainJoin(e,i),n[e]=o.concat(a),n.splice(i,1)}})),i}e.exports=r},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),o=r("1c7e"),a=!o((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a651:function(e,t,r){"use strict";var n=r("fc26"),i=r("a876"),o="templateitemname",a={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function s(e){return e&&"string"===typeof e}function l(e){var t=e.length-1;return"s"!==e.charAt(t)&&n.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}a[o]={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},t.templatedArray=function(e,t){return t._isLinkedToArray=e,t.name=a.name,t[o]=a[o],t},t.traceTemplater=function(e){var t,r,o={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(o[t]=0);function a(a){t=n.coerce(a,{},i,"type");var s={type:t,_template:null};if(t in o){r=e[t];var l=o[t]%r.length;o[t]++,s._template=r[l]}return s}return{newTrace:a}},t.newContainer=function(e,t,r){var i=e._template,o=i&&(i[t]||r&&i[r]);n.isPlainObject(o)||(o=null);var a=e[t]={_template:o};return a},t.arrayTemplater=function(e,t,r){var n=e._template,i=n&&n[l(t)],a=n&&n[t];Array.isArray(a)&&a.length||(a=[]);var u={};function c(e){var t={name:e.name,_input:e},n=t[o]=e[o];if(!s(n))return t._template=i,t;for(var l=0;l<a.length;l++){var c=a[l];if(c.name===n)return u[n]=1,t._template=c,t}return t[r]=e[r]||!1,t._template=!1,t}function f(){for(var e=[],t=0;t<a.length;t++){var r=a[t],n=r.name;if(s(n)&&!u[n]){var i={_template:r,name:n,_input:{_templateitemname:n}};i[o]=r[o],e.push(i),u[n]=1}}return e}return{newItem:c,defaultItems:f}},t.arrayDefaultKey=l,t.arrayEditor=function(e,t,r){var i=(n.nestedProperty(e,t).get()||[]).length,a=r._index,s=a>=i&&(r._input||{})._templateitemname;s&&(a=i);var l,u=t+"["+a+"]";function c(){l={},s&&(l[u]={},l[u][o]=s)}function f(e,t){l[e]=t}function p(e,t){s?n.nestedProperty(l[u],e).set(t):l[u+"."+e]=t}function d(){var e=l;return c(),e}function h(t,r){t&&p(t,r);var i=d();for(var o in i)n.nestedProperty(e,o).set(i[o])}return c(),{modifyBase:f,modifyItem:p,getUpdateObj:d,applyUpdate:h}}},a654:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5,3H19C20.1,3 21,3.9 21,5V19C21,20.1 20.1,21 19,21H5C3.9,21 3,20.1 3,19V5C3,3.9 3.9,3 5,3M18,5H15.5C13.57,5 12,6.57 12,8.5V11H10V14H12V21H15V14H18V11H15V9C15,8.45 15.45,8 16,8H18V5Z"}))};e.exports=s},a671:function(e,t,r){"use strict";var n=r("96ae");e.exports=function(){return n(this).length=0,this}},a685:function(e,t,r){"use strict";var n=r("9845"),i=r("5b68"),o=r("dfb3"),a=r("ac87"),s=r("82b5"),l=r("9092").extendFlat,u=n({editType:"calc",description:["Sets the global font.","Note that fonts used in traces and other","layout components inherit from the global font."].join(" ")});u.family.dflt='"Open Sans", verdana, arial, sans-serif',u.size.dflt=12,u.color.dflt=o.defaultLine,e.exports={font:u,title:{text:{valType:"string",role:"info",editType:"layoutstyle",description:["Sets the plot's title.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"layoutstyle",description:["Sets the title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],role:"info",editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],role:"info",editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},x:{valType:"number",min:0,max:1,dflt:.5,role:"style",editType:"layoutstyle",description:["Sets the x position with respect to `xref` in normalized","coordinates from *0* (left) to *1* (right)."].join(" ")},y:{valType:"number",min:0,max:1,dflt:"auto",role:"style",editType:"layoutstyle",description:["Sets the y position with respect to `yref` in normalized","coordinates from *0* (bottom) to *1* (top).","*auto* places the baseline of the title onto the","vertical center of the top margin."].join(" ")},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],role:"info",editType:"layoutstyle",description:["Sets the title's horizontal alignment with respect to its x position.","*left* means that the title starts at x,","*right* means that the title ends at x","and *center* means that the title's center is at x.","*auto* divides `xref` by three and calculates the `xanchor`","value automatically based on the value of `x`."].join(" ")},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],role:"info",editType:"layoutstyle",description:["Sets the title's vertical alignment with respect to its y position.","*top* means that the title's cap line is at y,","*bottom* means that the title's baseline is at y","and *middle* means that the title's midline is at y.","*auto* divides `yref` by three and calculates the `yanchor`","value automatically based on the value of `y`."].join(" ")},pad:l(s({editType:"layoutstyle"}),{description:["Sets the padding of the title.","Each padding value only applies when the corresponding","`xanchor`/`yanchor` value is set accordingly. E.g. for left","padding to take effect, `xanchor` must be set to *left*.","The same rule applies if `xanchor`/`yanchor` is determined automatically.","Padding is muted if the respective anchor value is *middle*/*center*."].join(" ")}),editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,role:"info",editType:"plot",description:["Determines how the font size for various text","elements are uniformed between each trace type.","If the computed text sizes were smaller than","the minimum size defined by `uniformtext.minsize`","using *hide* option hides the text; and","using *show* option shows the text without further downscaling.","Please note that if the size defined by `minsize` is greater than","the font size defined by trace, then the `minsize` is used."].join(" ")},minsize:{valType:"number",min:0,dflt:0,role:"info",editType:"plot",description:["Sets the minimum text size between traces of the same type."].join(" ")},editType:"plot"},autosize:{valType:"boolean",role:"info",dflt:!1,editType:"none",description:["Determines whether or not a layout width or height","that has been left undefined by the user","is initialized on each relayout.","Note that, regardless of this attribute,","an undefined layout width or height","is always initialized on the first call to plot."].join(" ")},width:{valType:"number",role:"info",min:10,dflt:700,editType:"plot",description:["Sets the plot's width (in px)."].join(" ")},height:{valType:"number",role:"info",min:10,dflt:450,editType:"plot",description:["Sets the plot's height (in px)."].join(" ")},margin:{l:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the left margin (in px)."},r:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the right margin (in px)."},t:{valType:"number",role:"info",min:0,dflt:100,editType:"plot",description:"Sets the top margin (in px)."},b:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the bottom margin (in px)."},pad:{valType:"number",role:"info",min:0,dflt:0,editType:"plot",description:["Sets the amount of padding (in px)","between the plotting area and the axis lines"].join(" ")},autoexpand:{valType:"boolean",role:"info",dflt:!0,editType:"plot",description:["Turns on/off margin expansion computations.","Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider","are allowed to push the margins by defaults."].join(" ")},editType:"plot"},computed:{valType:"any",role:"info",editType:"none",description:["Placeholder for exporting automargin-impacting values namely","`margin.t`, `margin.b`, `margin.l` and `margin.r` in *full-json* mode."].join(" ")},paper_bgcolor:{valType:"color",role:"style",dflt:o.background,editType:"plot",description:"Sets the background color of the paper where the graph is drawn."},plot_bgcolor:{valType:"color",role:"style",dflt:o.background,editType:"layoutstyle",description:["Sets the background color of the plotting area in-between x and y axes."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","This is the default value; however it could be overridden for individual axes."].join(" ")},separators:{valType:"string",role:"style",editType:"plot",description:["Sets the decimal and thousand separators.","For example, *. * puts a '.' before decimals and a space","between thousands. In English locales, dflt is *.,* but","other locales may alter this default."].join(" ")},hidesources:{valType:"boolean",role:"info",dflt:!1,editType:"plot",description:["Determines whether or not a text link citing the data source is","placed at the bottom-right cored of the figure.","Has only an effect only on graphs that have been generated via","forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise)."].join(" ")},showlegend:{valType:"boolean",role:"info",editType:"legend",description:["Determines whether or not a legend is drawn.","Default is `true` if there is a trace to show and any of these:","a) Two or more traces would by default be shown in the legend.","b) One pie trace is shown in the legend.","c) One trace is explicitly given with `showlegend: true`."].join(" ")},colorway:{valType:"colorlist",dflt:o.defaults,role:"style",editType:"calc",description:"Sets the default trace colors."},datarevision:{valType:"any",role:"info",editType:"calc",description:["If provided, a changed value tells `Plotly.react` that","one or more data arrays has changed. This way you can modify","arrays in-place rather than making a complete new copy for an","incremental change.","If NOT provided, `Plotly.react` assumes that data arrays are","being treated as immutable, thus any data array with a","different identity from its predecessor contains new data."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Used to allow user interactions with the plot to persist after","`Plotly.react` calls that are unaware of these interactions.","If `uirevision` is omitted, or if it is given and it changed from","the previous `Plotly.react` call, the exact new figure is used.","If `uirevision` is truthy and did NOT change, any attribute","that has been affected by user interactions and did not receive a","different value in the new figure will keep the interaction value.","`layout.uirevision` attribute serves as the default for","`uirevision` attributes in various sub-containers. For finer","control you can set these sub-attributes directly. For example,","if your app separately controls the data on the x and y axes you","might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`.","Then if only the y data is changed, you can update","`yaxis.uirevision=*quantity*` and the y axis range will reset but","the x axis range will retain any user-driven zoom."].join(" ")},editrevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in `editable: true`","configuration, other than trace names and axis titles.","Defaults to `layout.uirevision`."].join(" ")},selectionrevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in selected points","from all traces."].join(" ")},template:{valType:"any",role:"info",editType:"calc",description:["Default attributes to be applied to the plot. Templates can be","created from existing plots using `Plotly.makeTemplate`, or","created manually. They should be objects with format:","`{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}`","`layoutTemplate` and `traceTemplate` are objects matching the","attribute structure of `layout` and a data trace. ","Trace templates are applied cyclically to traces of each type.","Container arrays (eg `annotations`) have special handling:","An object ending in `defaults` (eg `annotationdefaults`) is applied","to each array item. But if an item has a `templateitemname` key","we look in the template array for an item with matching `name` and","apply that instead. If no matching `name` is found we mark the item","invisible. Any named template item not referenced is appended to","the end of the array, so you can use this for a watermark annotation","or a logo image, for example. To omit one of these items on the plot,","make an item with matching `templateitemname` and `visible: false`."].join(" ")},modebar:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",role:"info",editType:"modebar",description:"Sets the orientation of the modebar."},bgcolor:{valType:"color",role:"style",editType:"modebar",description:"Sets the background color of the modebar."},color:{valType:"color",role:"style",editType:"modebar",description:"Sets the color of the icons in the modebar."},activecolor:{valType:"color",role:"style",editType:"modebar",description:"Sets the color of the active or hovered on icons in the modebar."},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes related to the modebar,","including `hovermode`, `dragmode`, and `showspikes` at both the","root level and inside subplots. Defaults to `layout.uirevision`."].join(" ")},editType:"modebar"},newshape:a.newshape,activeshape:a.activeshape,meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information that can be used in various `text` attributes.","Attributes such as the graph, axis and colorbar `title.text`, annotation `text`","`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text","all support `meta`. One can access `meta` fields using template strings:","`%{meta[i]}` where `i` is the index of the `meta`","item in question.","`meta` can also be an object for example `{key: value}` which can be accessed","%{meta[key]}."].join(" ")},transition:l({},i.transition,{description:["Sets transition options used during Plotly.react updates."].join(" "),editType:"none"}),_deprecated:{title:{valType:"string",role:"info",editType:"layoutstyle",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the contents of the title, please use `title.text` now."].join(" ")},titlefont:n({editType:"layoutstyle",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},a687:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M21.5 15.625L16.062 14l3.25 5.313zM26 8l-4.5 7.625 2.688.75 1.813-3.063 2.375 4.313-4.188-1.25-4.875 8.313-5.875-9.938-9.125 2.688L10.688 10l2.75 4.75 2.563-.75h.063l-5.375-8.688L.001 18.625h.063l-.063.063 16 8 16-8z"}))};t.default=u},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},a6a7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDay=a,t.formatMonthTitle=s,t.formatWeekdayShort=l,t.formatWeekdayLong=u,t.getFirstDayOfWeek=c,t.getMonths=f;var n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],i=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["January","February","March","April","May","June","July","August","September","October","November","December"];function a(e){return e.toDateString()}function s(e){return o[e.getMonth()]+" "+e.getFullYear()}function l(e){return i[e]}function u(e){return n[e]}function c(){return 0}function f(){return o}t.default={formatDay:a,formatMonthTitle:s,formatWeekdayShort:l,formatWeekdayLong:u,getFirstDayOfWeek:c,getMonths:f}},a6b3:function(e,t,r){"use strict";function n(e,t){return!!t&&(e===t.documentElement||e===t.body)}var i={getTop:function(e){var t=e.ownerDocument;return n(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var r=e.ownerDocument;n(e,r)?r.body.scrollTop=r.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return n(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var r=e.ownerDocument;n(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=i},a6dc:function(e,t){function r(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!==typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}},e}e.exports=r},a708:function(e,t,r){"use strict";var n=r("d115"),i=r("59e0").castOption;e.exports=function(e,t,r){var o=r.marker.line,a=i(o.color,t.pts)||n.defaultLine,s=i(o.width,t.pts)||0;e.style("stroke-width",s).call(n.fill,t.color).call(n.stroke,a)}},a759:function(e,t,r){"use strict";var n=r("89ab6");function i(e){var t=n(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}e.exports=i},a794:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(r("ab5b")),o=f(r("d7bc")),a=r("c85e"),s=r("b07b"),l=r("e750"),u=f(r("da68")),c=r("e419");function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return y(e)||g(e)||m(e)||v()}function v(){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 m(e,t){if(e){if("string"===typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}function g(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function y(e){if(Array.isArray(e))return b(e)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t,r){return t&&A(e.prototype,t),r&&A(e,r),e}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&&E(e,t)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(e){var t=S();return function(){var r,n=O(e);if(t){var i=O(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var M=function(e){_(r,e);var t=k(r);function r(e,n){var i;return x(this,r),i=t.call(this,e,n),i.hasTransforms=i.hasTransforms.bind(C(i)),i.hasAxes=i.hasAxes.bind(C(i)),i.hasMenus=i.hasMenus.bind(C(i)),i.hasSliders=i.hasSliders.bind(C(i)),i.hasColorbars=i.hasColorbars.bind(C(i)),i.hasLegend=i.hasLegend.bind(C(i)),i}return w(r,[{key:"hasTransforms",value:function(){return this.context.fullData.some((function(e){return c.TRANSFORMABLE_TRACES.includes(e.type)}))}},{key:"hasAxes",value:function(){var e=this;return Object.keys(this.context.fullLayout._subplots).filter((function(t){return!["cartesian","mapbox"].includes(t)&&e.context.fullLayout._subplots[t].length>0})).length>0}},{key:"hasMenus",value:function(){var e=this.context.fullLayout.updatemenus,t=void 0===e?[]:e;return t.length>0}},{key:"hasSliders",value:function(){var e=this.context.layout.sliders,t=void 0===e?[]:e;return t.length>0}},{key:"hasColorbars",value:function(){return this.context.fullData.some((function(e){return(0,l.traceHasColorbar)({},e)}))}},{key:"hasLegend",value:function(){return this.context.fullData.some((function(e){return void 0!==e.showlegend}))}},{key:"hasMaps",value:function(){return this.context.fullData.some((function(e){return[].concat(h(c.TRACE_TO_AXIS.geo),h(c.TRACE_TO_AXIS.mapbox)).includes(e.type)}))}},{key:"render",value:function(){var e=this.context.localize,t=this.props.logoSrc&&i.default.createElement(u.default,{src:this.props.logoSrc});return i.default.createElement(a.PanelMenuWrapper,{menuPanelOrder:this.props.menuPanelOrder},t||null,i.default.createElement(s.GraphCreatePanel,{group:e("Structure"),name:e("Traces")}),i.default.createElement(s.GraphSubplotsPanel,{group:e("Structure"),name:e("Subplots")}),this.hasTransforms()&&i.default.createElement(s.GraphTransformsPanel,{group:e("Structure"),name:e("Transforms")}),i.default.createElement(s.StyleLayoutPanel,{group:e("Style"),name:e("General")}),i.default.createElement(s.StyleTracesPanel,{group:e("Style"),name:e("Traces")}),this.hasAxes()&&i.default.createElement(s.StyleAxesPanel,{group:e("Style"),name:e("Axes")}),this.hasMaps()&&i.default.createElement(s.StyleMapsPanel,{group:e("Style"),name:e("Maps")}),this.hasLegend()&&i.default.createElement(s.StyleLegendPanel,{group:e("Style"),name:e("Legend")}),this.hasColorbars()&&i.default.createElement(s.StyleColorbarsPanel,{group:e("Style"),name:e("Color Bars")}),i.default.createElement(s.StyleNotesPanel,{group:e("Annotate"),name:e("Text")}),i.default.createElement(s.StyleShapesPanel,{group:e("Annotate"),name:e("Shapes")}),i.default.createElement(s.StyleImagesPanel,{group:e("Annotate"),name:e("Images")}),this.hasSliders()&&i.default.createElement(s.StyleSlidersPanel,{group:e("Control"),name:e("Sliders")}),this.hasMenus()&&i.default.createElement(s.StyleUpdateMenusPanel,{group:e("Control"),name:e("Menus")}),this.props.children?this.props.children:null)}}]),r}(i.Component);M.propTypes={children:o.default.node,logoSrc:o.default.string,menuPanelOrder:o.default.array},M.contextTypes={localize:o.default.func,fullData:o.default.array,fullLayout:o.default.object,layout:o.default.object};var P=M;t.default=P},a79d:function(e,t,r){"use strict";var n=r("23e7"),i=r("c430"),o=r("fea9"),a=r("d039"),s=r("d066"),l=r("4840"),u=r("cdf9"),c=r("6eeb"),f=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));n({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),i||"function"!=typeof o||o.prototype["finally"]||c(o.prototype,"finally",s("Promise").prototype["finally"])},a7be:function(e,t,r){},a7c5:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}function a(e,t){return e-t*Math.floor(e/t)}function s(e,t){return a(e-1,t)+1}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),!1},formatYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=t.year();var r=Math.floor(e/400);e%=400,e+=e<0?400:0;var i=Math.floor(e/20);return r+"."+i+"."+e%20},forYear:function(e){if(e=e.split("."),e.length<3)throw"Invalid Mayan year";for(var t=0,r=0;r<e.length;r++){var n=parseInt(e[r],10);if(Math.abs(n)>19||r>0&&n<0)throw"Invalid Mayan year";t=20*t+n}return t},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),18},weekOfYear:function(e,t,r){return this._validate(e,t,r,n.local.invalidDate),0},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),360},daysInMonth:function(e,t){return this._validate(e,t,this.minDay,n.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return i.day()},weekDay:function(e,t,r){return this._validate(e,t,r,n.local.invalidDate),!0},extraInfo:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate),o=i.toJD(),a=this._toHaab(o),s=this._toTzolkin(o);return{haabMonthName:this.local.haabMonths[a[0]-1],haabMonth:a[0],haabDay:a[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(e){e-=this.jdEpoch;var t=a(e+8+340,365);return[Math.floor(t/20)+1,a(t,20)]},_toTzolkin:function(e){return e-=this.jdEpoch,[s(e+20,20),s(e+4,13)]},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return i.day()+20*i.month()+360*i.year()+this.jdEpoch},fromJD:function(e){e=Math.floor(e)+.5-this.jdEpoch;var t=Math.floor(e/360);e%=360,e+=e<0?360:0;var r=Math.floor(e/20),n=e%20;return this.newDate(t,r,n)}}),n.calendars.mayan=o},a7cc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isvalidColorString=t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var n=r("c641"),i=s(n),o=r("66cb"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=["r","g","b","a","h","s","l","v"],r=0,n=0;return(0,i.default)(t,(function(t){if(e[t]&&(r+=1,isNaN(e[t])||(n+=1),"s"===t||"l"===t)){var i=/^\d+%$/;i.test(e[t])&&(n+=1)}})),r===n&&e};var l=t.toState=function(e,t){var r=e.hex?(0,a.default)(e.hex):(0,a.default)(e),n=r.toHsl(),i=r.toHsv(),o=r.toRgb(),s=r.toHex();0===n.s&&(n.h=t||0,i.h=t||0);var l="000000"===s&&0===o.a;return{hsl:n,hex:l?"transparent":"#"+s,rgb:o,hsv:i,oldHue:e.h||t||n.h,source:e.source}};t.isValidHex=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,a.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=l(e);if("transparent"===t.hex)return"rgba(0,0,0,0.4)";var r=(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3;return r>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},t.isvalidColorString=function(e,t){var r=e.replace("°","");return(0,a.default)(t+" ("+r+")")._ok}},a7de:function(e,t,r){"use strict";var n=r("371e");e.exports=function(e){for(var t,r,i=n.layoutArrayContainers,o=n.layoutArrayRegexes,a=e.split("[")[0],s=0;s<o.length;s++)if(r=e.match(o[s]),r&&0===r.index){t=r[0];break}if(t||(t=i[i.indexOf(a)]),!t)return!1;var l=e.substr(t.length);return l?(r=l.match(/^\[(0|[1-9][0-9]*)\](\.(.+))?$/),!!r&&{array:t,index:Number(r[1]),property:r[3]||""}):{array:t,index:"",property:""}}},a876:function(e,t,r){"use strict";var n=r("a462");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:n.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}},a8b9:function(e,t,r){"use strict";e.exports=r("dc98")},a8f9:function(e,t,r){"use strict";var n=r("bb71");t.name="funnelarea",t.plot=function(e,r,i,o){n.plotBasePlot(t.name,e,r,i,o)},t.clean=function(e,r,i,o){n.cleanBasePlot(t.name,e,r,i,o)}},a901:function(e,t){function r(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}e.exports=r},a92a:function(e,t,r){"use strict";var n="undefined"===typeof WeakMap?r("2f03"):WeakMap,i=r("efce"),o=r("b205"),a=new n;function s(e){var t=a.get(e),r=t&&(t._triangleBuffer.handle||t._triangleBuffer.buffer);if(!r||!e.isBuffer(r)){var n=i(e,new Float32Array([-1,-1,-1,4,4,-1]));t=o(e,[{buffer:n,type:e.FLOAT,size:2}]),t._triangleBuffer=n,a.set(e,t)}t.bind(),e.drawArrays(e.TRIANGLES,0,3),t.unbind()}e.exports=s},a935:function(e,t,r){"use strict";e.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},a93d:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=w;var i=l(r("ab5b")),o=a(r("d7bc"));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r["default"]=e,t&&t.set(e,r),r}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover"],x=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],A="undefined"!==typeof window;function w(e){var t=function(t){p(n,t);var r=h(n);function n(e){var t;return u(this,n),t=r.call(this,e),t.p=Promise.resolve(),t.resizeHandler=null,t.handlers={},t.syncWindowResize=t.syncWindowResize.bind(m(t)),t.syncEventHandlers=t.syncEventHandlers.bind(m(t)),t.attachUpdateEvents=t.attachUpdateEvents.bind(m(t)),t.getRef=t.getRef.bind(m(t)),t.handleUpdate=t.handleUpdate.bind(m(t)),t.figureCallback=t.figureCallback.bind(m(t)),t.updatePlotly=t.updatePlotly.bind(m(t)),t}return f(n,[{key:"updatePlotly",value:function(t,r,n){var i=this;this.p=this.p.then((function(){if(!i.unmounting){if(!i.el)throw new Error("Missing element reference");return e.react(i.el,{data:i.props.data,layout:i.props.layout,config:i.props.config,frames:i.props.frames})}})).then((function(){i.unmounting||(i.syncWindowResize(t),i.syncEventHandlers(),i.figureCallback(r),n&&i.attachUpdateEvents())}))["catch"]((function(e){i.props.onError&&i.props.onError(e)}))}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(e){this.unmounting=!1;var t=e.frames&&e.frames.length?e.frames.length:0,r=this.props.frames&&this.props.frames.length?this.props.frames.length:0,n=!(e.layout===this.props.layout&&e.data===this.props.data&&e.config===this.props.config&&r===t),i=void 0!==e.revision,o=e.revision!==this.props.revision;(n||i&&(!i||o))&&this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&A&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),e.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var e=this;this.el&&this.el.removeListener&&x.forEach((function(t){e.el.on(t,e.handleUpdate)}))}},{key:"removeUpdateEvents",value:function(){var e=this;this.el&&this.el.removeListener&&x.forEach((function(t){e.el.removeListener(t,e.handleUpdate)}))}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(e){if("function"===typeof e){var t=this.el,r=t.data,n=t.layout,i=this.el._transitionData?this.el._transitionData._frames:null,o={data:r,layout:n,frames:i};e(o,this.el)}}},{key:"syncWindowResize",value:function(t){var r=this;A&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return e.Plots.resize(r.el)},window.addEventListener("resize",this.resizeHandler),t&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(e){this.el=e,this.props.debug&&A&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var e=this;b.forEach((function(t){var r=e.props["on"+t],n=e.handlers[t],i=Boolean(n);r&&!i?e.addEventHandler(t,r):!r&&i?e.removeEventHandler(t):r&&i&&r!==n&&(e.removeEventHandler(t),e.addEventHandler(t,r))}))}},{key:"addEventHandler",value:function(e,t){this.handlers[e]=t,this.el.on(this.getPlotlyEventName(e),this.handlers[e])}},{key:"removeEventHandler",value:function(e){this.el.removeListener(this.getPlotlyEventName(e),this.handlers[e]),delete this.handlers[e]}},{key:"getPlotlyEventName",value:function(e){return"plotly_"+e.toLowerCase()}},{key:"render",value:function(){return i["default"].createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),n}(i.Component);return t.propTypes={data:o["default"].arrayOf(o["default"].object),config:o["default"].object,layout:o["default"].object,frames:o["default"].arrayOf(o["default"].object),revision:o["default"].number,onInitialized:o["default"].func,onPurge:o["default"].func,onError:o["default"].func,onUpdate:o["default"].func,debug:o["default"].bool,style:o["default"].object,className:o["default"].string,useResizeHandler:o["default"].bool,divId:o["default"].string},b.forEach((function(e){t.propTypes["on"+e]=o["default"].func})),t.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},t}},a93d7:function(e,t,r){"use strict";
|
||
/** @license React v16.13.1
|
||
* react-is.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,A=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type,e){case f:case p:case a:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof,e){case c:case d:case g:case m:case u:return e;default:return t}}case o:return t}}}function _(e){return w(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=i,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===l||e===s||e===h||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===x||e.$$typeof===A||e.$$typeof===y)},t.typeOf=w},a945:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},a994:function(e,t,r){var n=r("7d1f"),i=r("32f4"),o=r("ec69");function a(e){return n(e,o,i)}e.exports=a},a9a1:function(e,t,r){"use strict";e.exports=o;var n=r("35b1");function i(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return t}function o(e,t){for(var r=t.length,o=new Array(r+1),a=0;a<r;++a){for(var s=new Array(r+1),l=0;l<=r;++l)s[l]=e[l][a];o[a]=s}o[r]=new Array(r+1);for(a=0;a<=r;++a)o[r][a]=1;var u=new Array(r+1);for(a=0;a<r;++a)u[a]=t[a];u[r]=1;var c=n(o,u),f=i(c[r+1]);0===f&&(f=1);var p=new Array(r+1);for(a=0;a<=r;++a)p[a]=i(c[a])/f;return p}},a9cb:function(e,t,r){"use strict";e.exports={_isLinkedToArray:"frames_entry",group:{valType:"string",role:"info",description:["An identifier that specifies the group to which the frame belongs,","used by animate to select a subset of frames."].join(" ")},name:{valType:"string",role:"info",description:"A label by which to identify the frame"},traces:{valType:"any",role:"info",description:["A list of trace indices that identify the respective traces in the","data attribute"].join(" ")},baseframe:{valType:"string",role:"info",description:["The name of the frame into which this frame's properties are merged","before applying. This is used to unify properties and avoid needing","to specify the same values for the same properties in multiple frames."].join(" ")},data:{valType:"any",role:"object",description:["A list of traces this frame modifies. The format is identical to the","normal trace definition."].join(" ")},layout:{valType:"any",role:"object",description:["Layout properties which this frame modifies. The format is identical","to the normal layout definition."].join(" ")}}},a9cd:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("919e"),a=r("81f0").defaults,s=r("1c1c").handleText;function l(e,t){var r=Array.isArray(e),o=i.isArrayOrTypedArray(t),a=Math.min(r?e.length:1/0,o?t.length:1/0);if(isFinite(a)||(a=0),a&&o){for(var s,l=0;l<a;l++){var u=t[l];if(n(u)&&u>0){s=!0;break}}s||(a=0)}return{hasLabels:r,hasValues:o,len:a}}function u(e,t,r,n){function u(r,n){return i.coerce(e,t,o,r,n)}var c=u("labels"),f=u("values"),p=l(c,f),d=p.len;if(t._hasLabels=p.hasLabels,t._hasValues=p.hasValues,!t._hasLabels&&t._hasValues&&(u("label0"),u("dlabel")),d){t._length=d;var h=u("marker.line.width");h&&u("marker.line.color"),u("marker.colors"),u("scalegroup");var v,m=u("text"),g=u("texttemplate");if(g||(v=u("textinfo",Array.isArray(m)?"text+percent":"percent")),u("hovertext"),u("hovertemplate"),g||v&&"none"!==v){var y=u("textposition");s(e,t,n,u,y,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var b=Array.isArray(y)||"auto"===y,x=b||"outside"===y;x&&u("automargin"),("inside"===y||"auto"===y||Array.isArray(y))&&u("insidetextorientation")}a(t,n,u);var A=u("hole"),w=u("title.text");if(w){var _=u("title.position",A?"middle center":"top center");A||"middle center"!==_||(t.title.position="top center"),i.coerceFont(u,"title.font",n.font)}u("sort"),u("direction"),u("rotation"),u("pull")}else t.visible=!1}e.exports={handleLabelsAndValues:l,supplyDefaults:u}},a9e3:function(e,t,r){"use strict";var n=r("83ab"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("5135"),l=r("c6b6"),u=r("7156"),c=r("c04e"),f=r("d039"),p=r("7c73"),d=r("241c").f,h=r("06cf").f,v=r("9bf2").f,m=r("58a8").trim,g="Number",y=i[g],b=y.prototype,x=l(p(b))==g,A=function(e){var t,r,n,i,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(u=m(u),t=u.charCodeAt(0),43===t||45===t){if(r=u.charCodeAt(2),88===r||120===r)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(l=o.charCodeAt(s),l<48||l>i)return NaN;return parseInt(o,n)}return+u};if(o(g,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,_=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof _&&(x?f((function(){b.valueOf.call(r)})):l(r)!=g)?u(new y(A(t)),r,_):A(t)},E=n?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;E.length>k;k++)s(y,w=E[k])&&!s(_,w)&&v(_,w,h(y,w));_.prototype=b,b.constructor=_,a(i,g,_)}},a9e4:function(e,t,r){"use strict";var n=r("3c1c"),i=r("de81"),o=r("371e"),a=r("c4c7").isUnifiedHover,s=r("1bbe"),l=r("13c4");e.exports=function(e){var t=e._fullLayout,r=e._context,n=t._modeBar;if(r.displayModeBar||r.watermark){if(!Array.isArray(r.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(r.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var i,o=r.modeBarButtons;i=Array.isArray(o)&&o.length?v(o):!r.displayModeBar&&r.watermark?[]:c(e),n?n.update(e,i):t._modeBar=s(e,i)}else n&&(n.destroy(),delete t._modeBar)};var u=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"];function c(e){var t=e._fullLayout,r=e._fullData,n=e._context,i=n.modeBarButtonsToRemove,o=n.modeBarButtonsToAdd,s=t._has("cartesian"),c=t._has("gl3d"),v=t._has("geo"),m=t._has("pie"),g=t._has("funnelarea"),y=t._has("gl2d"),b=t._has("ternary"),x=t._has("mapbox"),A=t._has("polar"),w=t._has("sankey"),_=f(t),E=a(t.hovermode),k=[];function T(e){if(e.length){for(var t=[],r=0;r<e.length;r++){var n=e[r];-1===i.indexOf(n)&&t.push(l[n])}k.push(t)}}var C=["toImage"];n.showEditInChartStudio?C.push("editInChartStudio"):n.showSendToCloud&&C.push("sendDataToCloud"),T(C);var S=[],O=[],M=[],P=[];if((s||y||m||g||b)+v+c+x+A>1?(O=["toggleHover"],M=["resetViews"]):v?(S=["zoomInGeo","zoomOutGeo"],O=["hoverClosestGeo"],M=["resetGeo"]):c?(O=["hoverClosest3d"],M=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(S=["zoomInMapbox","zoomOutMapbox"],O=["toggleHover"],M=["resetViewMapbox"]):y?O=["hoverClosestGl2d"]:m?O=["hoverClosestPie"]:w?(O=["hoverClosestCartesian","hoverCompareCartesian"],M=["resetViewSankey"]):O=["toggleHover"],s&&(O=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(d(r)||E)&&(O=[]),!s&&!y||_||(S=["zoomIn2d","zoomOut2d","autoScale2d"],"resetViews"!==M[0]&&(M=["resetScale2d"])),c?P=["zoom3d","pan3d","orbitRotation","tableRotation"]:(s||y)&&!_||b?P=["zoom2d","pan2d"]:x||v?P=["pan2d"]:A&&(P=["zoom2d"]),p(r)&&P.push("select2d","lasso2d"),Array.isArray(o)){for(var B=[],L=0;L<o.length;L++){var D=o[L];"string"===typeof D?-1!==u.indexOf(D)&&(t._has("mapbox")||t._has("cartesian"))&&P.push(D):B.push(D)}o=B}return T(P),T(S.concat(M)),T(O),h(k,o)}function f(e){for(var t=n.list({_fullLayout:e},null,!0),r=0;r<t.length;r++)if(!t[r].fixedrange)return!1;return!0}function p(e){for(var t=!1,r=0;r<e.length;r++){if(t)break;var n=e[r];n._module&&n._module.selectPoints&&(o.traceIs(n,"scatter-like")?(i.hasMarkers(n)||i.hasText(n))&&(t=!0):o.traceIs(n,"box-violin")&&"all"!==n.boxpoints&&"all"!==n.points||(t=!0))}return t}function d(e){for(var t=0;t<e.length;t++)if(!o.traceIs(e[t],"noHover"))return!1;return!0}function h(e,t){if(t.length)if(Array.isArray(t[0]))for(var r=0;r<t.length;r++)e.push(t[r]);else e.push(t);return e}function v(e){for(var t=0;t<e.length;t++)for(var r=e[t],n=0;n<r.length;n++){var i=r[n];if("string"===typeof i){if(void 0===l[i])throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "));e[t][n]=l[i]}}return e}},a9e41:function(e,t,r){"use strict";var n=r("b791").convert,i=r("b791").convertOnSelect,o=r("b5e4").traceLayerPrefix;function a(e,t){this.type="choroplethmapbox",this.subplot=e,this.uid=t,this.sourceId="source-"+t,this.layerList=[["fill",o+t+"-fill"],["line",o+t+"-line"]],this.below=null}var s=a.prototype;s.update=function(e){this._update(n(e))},s.updateOnSelect=function(e){this._update(i(e))},s._update=function(e){var t=this.subplot,r=this.layerList,n=t.belowLookup["trace-"+this.uid];t.map.getSource(this.sourceId).setData(e.geojson),n!==this.below&&(this._removeLayers(),this._addLayers(e,n),this.below=n);for(var i=0;i<r.length;i++){var o=r[i],a=o[0],s=o[1],l=e[a];t.setOptions(s,"setLayoutProperty",l.layout),"visible"===l.layout.visibility&&t.setOptions(s,"setPaintProperty",l.paint)}},s._addLayers=function(e,t){for(var r=this.subplot,n=this.layerList,i=this.sourceId,o=0;o<n.length;o++){var a=n[o],s=a[0],l=e[s];r.addLayer({type:s,id:a[1],source:i,layout:l.layout,paint:l.paint},t)}},s._removeLayers=function(){for(var e=this.subplot.map,t=this.layerList,r=t.length-1;r>=0;r--)e.removeLayer(t[r][1])},s.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},e.exports=function(e,t){var r=t[0].trace,i=new a(e,r.uid),o=i.sourceId,s=n(t),l=i.below=e.belowLookup["trace-"+r.uid];return e.map.addSource(o,{type:"geojson",data:s.geojson}),i._addLayers(s,l),t[0].trace._glTrace=i,i}},a9eb:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){e.location=t.location,e.z=t.z;var o=n[i];return o.fIn&&o.fIn.properties&&(e.properties=o.fIn.properties),e.ct=o.ct,e}},aa2c:function(e,t,r){"use strict";e.exports=r("7a5f")},aa48:function(e,t,r){"use strict";e.exports=H;var n=r("a48a"),i=r("efce"),o=r("b205"),a=r("1d5b"),s=r("cea5"),l=r("595c"),u=r("62d6"),c=r("7f6b"),f=r("b5bb"),p=r("b077"),d=r("1417"),h=r("9343"),v=r("4883"),m=r("1fac"),g=r("6295"),y=g.createShader,b=g.createContourShader,x=g.createPickShader,A=g.createPickContourShader,w=40,_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],E=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],k=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function T(e,t,r,n,i){this.position=e,this.index=t,this.uv=r,this.level=n,this.dataCoordinate=i}(function(){for(var e=0;e<3;++e){var t=k[e],r=(e+1)%3,n=(e+2)%3;t[r+0]=1,t[n+3]=1,t[e+6]=1}})();var C=256;function S(e,t,r,n,i,o,a,l,u,c,p,d,h,v,m){this.gl=e,this.shape=t,this.bounds=r,this.objectOffset=m,this.intensityBounds=[],this._shader=n,this._pickShader=i,this._coordinateBuffer=o,this._vao=a,this._colorMap=l,this._contourShader=u,this._contourPickShader=c,this._contourBuffer=p,this._contourVAO=d,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new T([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=h,this._dynamicVAO=v,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[f(s.mallocFloat(1024),[0,0]),f(s.mallocFloat(1024),[0,0]),f(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var O=S.prototype;function M(e,t){if(!t)return 1;if(!t.length)return 1;for(var r=0;r<t.length;++r){if(t.length<2)return 1;if(t[r][0]===e)return t[r][1];if(t[r][0]>e&&r>0){var n=(t[r][0]-e)/(t[r][0]-t[r-1][0]);return t[r][1]*(1-n)+n*t[r-1][1]}}return 1}O.genColormap=function(e,t){var r=!1,n=c([l({colormap:e,nshades:C,format:"rgba"}).map((function(e,n){var i=t?M(n/255,t):e[3];return i<1&&(r=!0),[e[0],e[1],e[2],255*i]}))]);return u.divseq(n,255),this.hasAlphaScale=r,n},O.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},O.isOpaque=function(){return!this.isTransparent()},O.pickSlots=1,O.setPickBase=function(e){this.pickId=e};var P=[0,0,0],B={showSurface:!1,showContour:!1,projections:[_.slice(),_.slice(),_.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function L(e,t){var r,n,i,o=t.axes&&t.axes.lastCubeProps.axis||P,a=t.showSurface,s=t.showContour;for(r=0;r<3;++r)for(a=a||t.surfaceProject[r],n=0;n<3;++n)s=s||t.contourProject[r][n];for(r=0;r<3;++r){var l=B.projections[r];for(n=0;n<16;++n)l[n]=0;for(n=0;n<4;++n)l[5*n]=1;l[5*r]=0,l[12+r]=t.axesBounds[+(o[r]>0)][r],d(l,e.model,l);var u=B.clipBounds[r];for(i=0;i<2;++i)for(n=0;n<3;++n)u[i][n]=e.clipBounds[i][n];u[0][r]=-1e8,u[1][r]=1e8}return B.showSurface=a,B.showContour=s,B}var D={model:_,view:_,projection:_,inverseModel:_.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},I=_.slice(),j=[1,0,0,0,1,0,0,0,1];function R(e,t){e=e||{};var r=this.gl;r.disable(r.CULL_FACE),this._colorMap.bind(0);var n=D;n.model=e.model||_,n.view=e.view||_,n.projection=e.projection||_,n.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],n.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],n.objectOffset=this.objectOffset,n.contourColor=this.contourColor[0],n.inverseModel=h(n.inverseModel,n.model);for(var i=0;i<2;++i)for(var o=n.clipBounds[i],a=0;a<3;++a)o[a]=Math.min(Math.max(this.clipBounds[i][a],-1e8),1e8);n.kambient=this.ambientLight,n.kdiffuse=this.diffuseLight,n.kspecular=this.specularLight,n.roughness=this.roughness,n.fresnel=this.fresnel,n.opacity=this.opacity,n.height=0,n.permutation=j,n.vertexColor=this.vertexColor;var s=I;for(d(s,n.view,n.model),d(s,n.projection,s),h(s,s),i=0;i<3;++i)n.eyePosition[i]=s[12+i]/s[15];var l=s[15];for(i=0;i<3;++i)l+=this.lightPosition[i]*s[4*i+3];for(i=0;i<3;++i){var u=s[12+i];for(a=0;a<3;++a)u+=s[4*a+i]*this.lightPosition[a];n.lightPosition[i]=u/l}var c=L(n,this);if(c.showSurface){for(this._shader.bind(),this._shader.uniforms=n,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(r.TRIANGLES,this._vertexCount),i=0;i<3;++i)this.surfaceProject[i]&&this.vertexCount&&(this._shader.uniforms.model=c.projections[i],this._shader.uniforms.clipBounds=c.clipBounds[i],this._vao.draw(r.TRIANGLES,this._vertexCount));this._vao.unbind()}if(c.showContour){var f=this._contourShader;n.kambient=1,n.kdiffuse=0,n.kspecular=0,n.opacity=1,f.bind(),f.uniforms=n;var p=this._contourVAO;for(p.bind(),i=0;i<3;++i)for(f.uniforms.permutation=k[i],r.lineWidth(this.contourWidth[i]*this.pixelRatio),a=0;a<this.contourLevels[i].length;++a)a===this.highlightLevel[i]?(f.uniforms.contourColor=this.highlightColor[i],f.uniforms.contourTint=this.highlightTint[i]):0!==a&&a-1!==this.highlightLevel[i]||(f.uniforms.contourColor=this.contourColor[i],f.uniforms.contourTint=this.contourTint[i]),this._contourCounts[i][a]&&(f.uniforms.height=this.contourLevels[i][a],p.draw(r.LINES,this._contourCounts[i][a],this._contourOffsets[i][a]));for(i=0;i<3;++i)for(f.uniforms.model=c.projections[i],f.uniforms.clipBounds=c.clipBounds[i],a=0;a<3;++a)if(this.contourProject[i][a]){f.uniforms.permutation=k[a],r.lineWidth(this.contourWidth[a]*this.pixelRatio);for(var v=0;v<this.contourLevels[a].length;++v)v===this.highlightLevel[a]?(f.uniforms.contourColor=this.highlightColor[a],f.uniforms.contourTint=this.highlightTint[a]):0!==v&&v-1!==this.highlightLevel[a]||(f.uniforms.contourColor=this.contourColor[a],f.uniforms.contourTint=this.contourTint[a]),this._contourCounts[a][v]&&(f.uniforms.height=this.contourLevels[a][v],p.draw(r.LINES,this._contourCounts[a][v],this._contourOffsets[a][v]))}for(p.unbind(),p=this._dynamicVAO,p.bind(),i=0;i<3;++i)if(0!==this._dynamicCounts[i])for(f.uniforms.model=n.model,f.uniforms.clipBounds=n.clipBounds,f.uniforms.permutation=k[i],r.lineWidth(this.dynamicWidth[i]*this.pixelRatio),f.uniforms.contourColor=this.dynamicColor[i],f.uniforms.contourTint=this.dynamicTint[i],f.uniforms.height=this.dynamicLevel[i],p.draw(r.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]),a=0;a<3;++a)this.contourProject[a][i]&&(f.uniforms.model=c.projections[a],f.uniforms.clipBounds=c.clipBounds[a],p.draw(r.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]));p.unbind()}}O.draw=function(e){return R.call(this,e,!1)},O.drawTransparent=function(e){return R.call(this,e,!0)};var F={model:_,view:_,projection:_,inverseModel:_,clipBounds:[[0,0,0],[0,0,0]],height:0,shape:[0,0],pickId:0,lowerBound:[0,0,0],upperBound:[0,0,0],zOffset:0,objectOffset:[0,0,0],permutation:[1,0,0,0,1,0,0,0,1],lightPosition:[0,0,0],eyePosition:[0,0,0]};function N(e,t){return Array.isArray(e)?[t(e[0]),t(e[1]),t(e[2])]:[t(e),t(e),t(e)]}function z(e){return Array.isArray(e)?3===e.length?[e[0],e[1],e[2],1]:[e[0],e[1],e[2],e[3]]:[0,0,0,1]}function U(e){if(Array.isArray(e)){if(Array.isArray(e))return[z(e[0]),z(e[1]),z(e[2])];var t=z(e);return[t.slice(),t.slice(),t.slice()]}}function H(e){var t=e.gl,r=y(t),n=x(t),s=b(t),l=A(t),u=i(t),c=o(t,[{buffer:u,size:4,stride:w,offset:0},{buffer:u,size:3,stride:w,offset:16},{buffer:u,size:3,stride:w,offset:28}]),f=i(t),p=o(t,[{buffer:f,size:4,stride:20,offset:0},{buffer:f,size:1,stride:20,offset:16}]),d=i(t),h=o(t,[{buffer:d,size:2,type:t.FLOAT}]),v=a(t,1,C,t.RGBA,t.UNSIGNED_BYTE);v.minFilter=t.LINEAR,v.magFilter=t.LINEAR;var m=new S(t,[0,0],[[0,0,0],[0,0,0]],r,n,u,c,v,s,l,f,p,d,h,[0,0,0]),g={levels:[[],[],[]]};for(var _ in e)g[_]=e[_];return g.colormap=g.colormap||"jet",m.update(g),m}O.drawPick=function(e){e=e||{};var t=this.gl;t.disable(t.CULL_FACE);var r=F;r.model=e.model||_,r.view=e.view||_,r.projection=e.projection||_,r.shape=this._field[2].shape,r.pickId=this.pickId/255,r.lowerBound=this.bounds[0],r.upperBound=this.bounds[1],r.objectOffset=this.objectOffset,r.permutation=j;for(var n=0;n<2;++n)for(var i=r.clipBounds[n],o=0;o<3;++o)i[o]=Math.min(Math.max(this.clipBounds[n][o],-1e8),1e8);var a=L(r,this);if(a.showSurface){for(this._pickShader.bind(),this._pickShader.uniforms=r,this._vao.bind(),this._vao.draw(t.TRIANGLES,this._vertexCount),n=0;n<3;++n)this.surfaceProject[n]&&(this._pickShader.uniforms.model=a.projections[n],this._pickShader.uniforms.clipBounds=a.clipBounds[n],this._vao.draw(t.TRIANGLES,this._vertexCount));this._vao.unbind()}if(a.showContour){var s=this._contourPickShader;s.bind(),s.uniforms=r;var l=this._contourVAO;for(l.bind(),o=0;o<3;++o)for(t.lineWidth(this.contourWidth[o]*this.pixelRatio),s.uniforms.permutation=k[o],n=0;n<this.contourLevels[o].length;++n)this._contourCounts[o][n]&&(s.uniforms.height=this.contourLevels[o][n],l.draw(t.LINES,this._contourCounts[o][n],this._contourOffsets[o][n]));for(n=0;n<3;++n)for(s.uniforms.model=a.projections[n],s.uniforms.clipBounds=a.clipBounds[n],o=0;o<3;++o)if(this.contourProject[n][o]){s.uniforms.permutation=k[o],t.lineWidth(this.contourWidth[o]*this.pixelRatio);for(var u=0;u<this.contourLevels[o].length;++u)this._contourCounts[o][u]&&(s.uniforms.height=this.contourLevels[o][u],l.draw(t.LINES,this._contourCounts[o][u],this._contourOffsets[o][u]))}l.unbind()}},O.pick=function(e){if(!e)return null;if(e.id!==this.pickId)return null;var t=this._field[2].shape,r=this._pickResult,n=t[0]*(e.value[0]+(e.value[2]>>4)/16)/255,i=Math.floor(n),o=n-i,a=t[1]*(e.value[1]+(15&e.value[2])/16)/255,s=Math.floor(a),l=a-s;i+=1,s+=1;var u=r.position;u[0]=u[1]=u[2]=0;for(var c=0;c<2;++c)for(var f=c?o:1-o,p=0;p<2;++p)for(var d=p?l:1-l,h=i+c,m=s+p,g=f*d,y=0;y<3;++y)u[y]+=this._field[y].get(h,m)*g;for(var b=this._pickResult.level,x=0;x<3;++x)if(b[x]=v.le(this.contourLevels[x],u[x]),b[x]<0)this.contourLevels[x].length>0&&(b[x]=0);else if(b[x]<this.contourLevels[x].length-1){var A=this.contourLevels[x][b[x]],w=this.contourLevels[x][b[x]+1];Math.abs(A-u[x])>Math.abs(w-u[x])&&(b[x]+=1)}for(r.index[0]=o<.5?i:i+1,r.index[1]=l<.5?s:s+1,r.uv[0]=n/t[0],r.uv[1]=a/t[1],y=0;y<3;++y)r.dataCoordinate[y]=this._field[y].get(r.index[0],r.index[1]);return r},O.padField=function(e,t){var r=t.shape.slice(),n=e.shape.slice();u.assign(e.lo(1,1).hi(r[0],r[1]),t),u.assign(e.lo(1).hi(r[0],1),t.hi(r[0],1)),u.assign(e.lo(1,n[1]-1).hi(r[0],1),t.lo(0,r[1]-1).hi(r[0],1)),u.assign(e.lo(0,1).hi(1,r[1]),t.hi(1)),u.assign(e.lo(n[0]-1,1).hi(1,r[1]),t.lo(r[0]-1)),e.set(0,0,t.get(0,0)),e.set(0,n[1]-1,t.get(0,r[1]-1)),e.set(n[0]-1,0,t.get(r[0]-1,0)),e.set(n[0]-1,n[1]-1,t.get(r[0]-1,r[1]-1))},O.update=function(e){e=e||{},this.objectOffset=e.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in e&&(this.contourWidth=N(e.contourWidth,Number)),"showContour"in e&&(this.showContour=N(e.showContour,Boolean)),"showSurface"in e&&(this.showSurface=!!e.showSurface),"contourTint"in e&&(this.contourTint=N(e.contourTint,Boolean)),"contourColor"in e&&(this.contourColor=U(e.contourColor)),"contourProject"in e&&(this.contourProject=N(e.contourProject,(function(e){return N(e,Boolean)}))),"surfaceProject"in e&&(this.surfaceProject=e.surfaceProject),"dynamicColor"in e&&(this.dynamicColor=U(e.dynamicColor)),"dynamicTint"in e&&(this.dynamicTint=N(e.dynamicTint,Number)),"dynamicWidth"in e&&(this.dynamicWidth=N(e.dynamicWidth,Number)),"opacity"in e&&(this.opacity=e.opacity),"opacityscale"in e&&(this.opacityscale=e.opacityscale),"colorBounds"in e&&(this.colorBounds=e.colorBounds),"vertexColor"in e&&(this.vertexColor=e.vertexColor?1:0),"colormap"in e&&this._colorMap.setPixels(this.genColormap(e.colormap,this.opacityscale));var t=e.field||e.coords&&e.coords[2]||null,r=!1;if(t||(t=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in e||"coords"in e){var i=(t.shape[0]+2)*(t.shape[1]+2);i>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(n.nextPow2(i))),this._field[2]=f(this._field[2].data,[t.shape[0]+2,t.shape[1]+2]),this.padField(this._field[2],t),this.shape=t.shape.slice();for(var o=this.shape,a=0;a<2;++a)this._field[2].size>this._field[a].data.length&&(s.freeFloat(this._field[a].data),this._field[a].data=s.mallocFloat(this._field[2].size)),this._field[a]=f(this._field[a].data,[o[0]+2,o[1]+2]);if(e.coords){var l=e.coords;if(!Array.isArray(l)||3!==l.length)throw new Error("gl-surface: invalid coordinates for x/y");for(a=0;a<2;++a){var u=l[a];for(g=0;g<2;++g)if(u.shape[g]!==o[g])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[a],u)}}else if(e.ticks){var c=e.ticks;if(!Array.isArray(c)||2!==c.length)throw new Error("gl-surface: invalid ticks");for(a=0;a<2;++a){var d=c[a];if((Array.isArray(d)||d.length)&&(d=f(d)),d.shape[0]!==o[a])throw new Error("gl-surface: invalid tick length");var h=f(d.data,o);h.stride[a]=d.stride[0],h.stride[1^a]=0,this.padField(this._field[a],h)}}else{for(a=0;a<2;++a){var v=[0,0];v[a]=1,this._field[a]=f(this._field[a].data,[o[0]+2,o[1]+2],v,0)}this._field[0].set(0,0,0);for(var g=0;g<o[0];++g)this._field[0].set(g+1,0,g);for(this._field[0].set(o[0]+1,0,o[0]-1),this._field[1].set(0,0,0),g=0;g<o[1];++g)this._field[1].set(0,g+1,g);this._field[1].set(0,o[1]+1,o[1]-1)}var y=this._field,b=f(s.mallocFloat(3*y[2].size*2),[3,o[0]+2,o[1]+2,2]);for(a=0;a<3;++a)m(b.pick(a),y[a],"mirror");var x=f(s.mallocFloat(3*y[2].size),[o[0]+2,o[1]+2,3]);for(a=0;a<o[0]+2;++a)for(g=0;g<o[1]+2;++g){var A=b.get(0,a,g,0),w=b.get(0,a,g,1),_=b.get(1,a,g,0),k=b.get(1,a,g,1),T=b.get(2,a,g,0),C=b.get(2,a,g,1),S=_*C-k*T,O=T*w-C*A,M=A*k-w*_,P=Math.sqrt(S*S+O*O+M*M);P<1e-8?(P=Math.max(Math.abs(S),Math.abs(O),Math.abs(M)),P<1e-8?(M=1,O=S=0,P=1):P=1/P):P=1/Math.sqrt(P),x.set(a,g,0,S*P),x.set(a,g,1,O*P),x.set(a,g,2,M*P)}s.free(b.data);var B=[1/0,1/0,1/0],L=[-1/0,-1/0,-1/0],D=1/0,I=-1/0,j=(o[0]-1)*(o[1]-1)*6,R=s.mallocFloat(n.nextPow2(10*j)),F=0,z=0;for(a=0;a<o[0]-1;++a)e:for(g=0;g<o[1]-1;++g){for(var H=0;H<2;++H)for(var V=0;V<2;++V)for(var Q=0;Q<3;++Q){var W=this._field[Q].get(1+a+H,1+g+V);if(isNaN(W)||!isFinite(W))continue e}for(Q=0;Q<6;++Q){var K=a+E[Q][0],q=g+E[Q][1],G=this._field[0].get(K+1,q+1),$=this._field[1].get(K+1,q+1);W=this._field[2].get(K+1,q+1),S=x.get(K+1,q+1,0),O=x.get(K+1,q+1,1),M=x.get(K+1,q+1,2),e.intensity&&(Y=e.intensity.get(K,q));var Y=e.intensity?e.intensity.get(K,q):W+this.objectOffset[2];R[F++]=K,R[F++]=q,R[F++]=G,R[F++]=$,R[F++]=W,R[F++]=0,R[F++]=Y,R[F++]=S,R[F++]=O,R[F++]=M,B[0]=Math.min(B[0],G+this.objectOffset[0]),B[1]=Math.min(B[1],$+this.objectOffset[1]),B[2]=Math.min(B[2],W+this.objectOffset[2]),D=Math.min(D,Y),L[0]=Math.max(L[0],G+this.objectOffset[0]),L[1]=Math.max(L[1],$+this.objectOffset[1]),L[2]=Math.max(L[2],W+this.objectOffset[2]),I=Math.max(I,Y),z+=1}}for(e.intensityBounds&&(D=+e.intensityBounds[0],I=+e.intensityBounds[1]),a=6;a<F;a+=10)R[a]=(R[a]-D)/(I-D);this._vertexCount=z,this._coordinateBuffer.update(R.subarray(0,F)),s.freeFloat(R),s.free(x.data),this.bounds=[B,L],this.intensity=e.intensity||this._field[2],this.intensityBounds[0]===D&&this.intensityBounds[1]===I||(r=!0),this.intensityBounds=[D,I]}if("levels"in e){var X=e.levels;for(X=Array.isArray(X[0])?X.slice():[[],[],X],a=0;a<3;++a)X[a]=X[a].slice(),X[a].sort((function(e,t){return e-t}));for(a=0;a<3;++a)for(g=0;g<X[a].length;++g)X[a][g]-=this.objectOffset[a];e:for(a=0;a<3;++a){if(X[a].length!==this.contourLevels[a].length){r=!0;break}for(g=0;g<X[a].length;++g)if(X[a][g]!==this.contourLevels[a][g]){r=!0;break e}}this.contourLevels=X}if(r){y=this._field,o=this.shape;for(var Z=[],J=0;J<3;++J){var ee=this.contourLevels[J],te=[],re=[],ne=[0,0,0];for(a=0;a<ee.length;++a){var ie=p(this._field[J],ee[a]);te.push(Z.length/5|0),z=0;e:for(g=0;g<ie.cells.length;++g){var oe=ie.cells[g];for(Q=0;Q<2;++Q){var ae=ie.positions[oe[Q]],se=ae[0],le=0|Math.floor(se),ue=se-le,ce=ae[1],fe=0|Math.floor(ce),pe=ce-fe,de=!1;t:for(var he=0;he<3;++he){ne[he]=0;var ve=(J+he+1)%3;for(H=0;H<2;++H){var me=H?ue:1-ue;for(K=0|Math.min(Math.max(le+H,0),o[0]),V=0;V<2;++V){var ge=V?pe:1-pe;if(q=0|Math.min(Math.max(fe+V,0),o[1]),W=he<2?this._field[ve].get(K,q):(this.intensity.get(K,q)-this.intensityBounds[0])/(this.intensityBounds[1]-this.intensityBounds[0]),!isFinite(W)||isNaN(W)){de=!0;break t}var ye=me*ge;ne[he]+=ye*W}}}if(de){if(Q>0){for(var be=0;be<5;++be)Z.pop();z-=1}continue e}Z.push(ne[0],ne[1],ae[0],ae[1],ne[2]),z+=1}}re.push(z)}this._contourOffsets[J]=te,this._contourCounts[J]=re}var xe=s.mallocFloat(Z.length);for(a=0;a<Z.length;++a)xe[a]=Z[a];this._contourBuffer.update(xe),s.freeFloat(xe)}},O.dispose=function(){this._shader.dispose(),this._vao.dispose(),this._coordinateBuffer.dispose(),this._colorMap.dispose(),this._contourBuffer.dispose(),this._contourVAO.dispose(),this._contourShader.dispose(),this._contourPickShader.dispose(),this._dynamicBuffer.dispose(),this._dynamicVAO.dispose();for(var e=0;e<3;++e)s.freeFloat(this._field[e].data)},O.highlight=function(e){var t,r;if(!e)return this._dynamicCounts=[0,0,0],this.dyanamicLevel=[NaN,NaN,NaN],void(this.highlightLevel=[-1,-1,-1]);for(t=0;t<3;++t)this.enableHighlight[t]?this.highlightLevel[t]=e.level[t]:this.highlightLevel[t]=-1;for(r=this.snapToData?e.dataCoordinate:e.position,t=0;t<3;++t)r[t]-=this.objectOffset[t];if(this.enableDynamic[0]&&r[0]!==this.dynamicLevel[0]||this.enableDynamic[1]&&r[1]!==this.dynamicLevel[1]||this.enableDynamic[2]&&r[2]!==this.dynamicLevel[2]){for(var n=0,i=this.shape,o=s.mallocFloat(12*i[0]*i[1]),a=0;a<3;++a)if(this.enableDynamic[a]){this.dynamicLevel[a]=r[a];var l=(a+1)%3,u=(a+2)%3,c=this._field[a],f=this._field[l],d=this._field[u],h=p(c,r[a]),v=h.cells,m=h.positions;for(this._dynamicOffsets[a]=n,t=0;t<v.length;++t)for(var g=v[t],y=0;y<2;++y){var b=m[g[y]],x=+b[0],A=0|x,w=0|Math.min(A+1,i[0]),_=x-A,E=1-_,k=+b[1],T=0|k,C=0|Math.min(T+1,i[1]),S=k-T,O=1-S,M=E*O,P=E*S,B=_*O,L=_*S,D=M*f.get(A,T)+P*f.get(A,C)+B*f.get(w,T)+L*f.get(w,C),I=M*d.get(A,T)+P*d.get(A,C)+B*d.get(w,T)+L*d.get(w,C);if(isNaN(D)||isNaN(I)){y&&(n-=1);break}o[2*n+0]=D,o[2*n+1]=I,n+=1}this._dynamicCounts[a]=n-this._dynamicOffsets[a]}else this.dynamicLevel[a]=NaN,this._dynamicCounts[a]=0;this._dynamicBuffer.update(o.subarray(0,2*n)),s.freeFloat(o)}}},aa5f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var l=24;t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,i=e.width,a=void 0===i?l:i,u=e.height,c=void 0===u?l:u,f=e.style,p=void 0===f?{}:f,d=s(e,["fill","width","height","style"]);return o.default.createElement("svg",n({viewBox:"0 0 "+l+" "+l,style:n({fill:r,width:a,height:c},p)},d),o.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},aa6e:function(e,t,r){"use strict";var n=r("391b");e.exports=function(e,t,r,i){var o=n(e,t,r,i);if(o&&!1!==o[0].index){var a=o[0];if(void 0===a.index){var s=1-a.y0/e.ya._length,l=e.xa._length,u=l*s/2,c=l-u;return a.x0=Math.max(Math.min(a.x0,c),u),a.x1=Math.max(Math.min(a.x1,c),u),o}var f=a.cd[a.index],p=a.trace,d=a.subplot;a.a=f.a,a.b=f.b,a.c=f.c,a.xLabelVal=void 0,a.yLabelVal=void 0;var h={};h[p.subplot]={_subplot:d};var v=p._module.formatLabels(f,p,h);a.aLabel=v.aLabel,a.bLabel=v.bLabel,a.cLabel=v.cLabel;var m=f.hi||p.hoverinfo,g=[];if(!p.hovertemplate){var y=m.split("+");-1!==y.indexOf("all")&&(y=["a","b","c"]),-1!==y.indexOf("a")&&b(d.aaxis,a.aLabel),-1!==y.indexOf("b")&&b(d.baxis,a.bLabel),-1!==y.indexOf("c")&&b(d.caxis,a.cLabel)}return a.extraText=g.join("<br>"),a.hovertemplate=p.hovertemplate,o}function b(e,t){g.push(e._hovertitle+": "+t)}}},aa79:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("24f7"),o=i.Record,a=o({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),s=function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},t}(a);e.exports=s},aa89:function(e,t,r){"use strict";var n=r("6e58"),i=r("ad62").getModuleCalcData,o=r("7988"),a=r("73c9");t.name="parcoords",t.plot=function(e){var t=i(e.calcdata,"parcoords")[0];t.length&&o(e,t)},t.clean=function(e,t,r,n){var i=n._has&&n._has("parcoords"),o=t._has&&t._has("parcoords");i&&!o&&(n._paperdiv.selectAll(".parcoords").remove(),n._glimages.selectAll("*").remove())},t.toSVG=function(e){var t=e._fullLayout._glimages,r=n.select(e).selectAll(".svg-container"),i=r.filter((function(e,t){return t===r.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus");function o(){var e=this,r=e.toDataURL("image/png"),n=t.append("svg:image");n.attr({xmlns:a.svg,"xlink:href":r,preserveAspectRatio:"none",x:0,y:0,width:e.width,height:e.height})}i.each(o),window.setTimeout((function(){n.selectAll("#filterBarPattern").attr("id","filterBarPattern")}),60)}},aa8a:function(e,t,r){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},aaa9:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Julian",jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=t.year()<0?t.year()+1:t.year();return e%4===0},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(4-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return e=i.year(),t=i.month(),r=i.day(),e<0&&e++,t<=2&&(e--,t+=12),Math.floor(365.25*(e+4716))+Math.floor(30.6001*(t+1))+r-1524.5},fromJD:function(e){var t=Math.floor(e+.5),r=t+1524,n=Math.floor((r-122.1)/365.25),i=Math.floor(365.25*n),o=Math.floor((r-i)/30.6001),a=o-Math.floor(o<14?1:13),s=n-Math.floor(a>2?4716:4715),l=r-i-Math.floor(30.6001*o);return s<=0&&s--,this.newDate(s,a,l)}}),n.calendars.julian=o},aae4:function(e,t,r){"use strict";r("da67");var n={isValidBlock:function(e,t){var r=e.getKey(),n=e.getParentKey();if(null!=n){var i=t.get(n);if(!i.getChildKeys().includes(r))return!1}var o=e.getChildKeys().map((function(e){return t.get(e)}));if(!o.every((function(e){return e.getParentKey()===r})))return!1;var a=e.getPrevSiblingKey();if(null!=a){var s=t.get(a);if(s.getNextSiblingKey()!==r)return!1}var l=e.getNextSiblingKey();if(null!=l){var u=t.get(l);if(u.getPrevSiblingKey()!==r)return!1}return(null===l||null===a||a!==l)&&!(""!=e.text&&e.getChildKeys().size>0)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return!1;var r=t.shift(),n=0,i=r.getKey(),o=[];while(null!=i){var a=e.get(i),s=a.getChildKeys(),l=a.getNextSiblingKey();if(s.size>0){null!=l&&o.unshift(l);var u=s.map((function(t){return e.get(t)})),c=u.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return!1;i=c.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():o.shift();n++}return n===e.size},isValidTree:function(e){var t=this,r=e.toArray();return!!r.every((function(r){return t.isValidBlock(r,e)}))&&this.isConnectedTree(e)}};e.exports=n},ab0d:function(e,t,r){"use strict";if(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,"function"!==typeof n){var n=function(e){return e};n.nonNative=!0}var i=n("plaintext"),o=n("html"),a=n("comment"),s=/<(\w*)>/g,l=/<\/?([^\s\/>]+)/;function u(e,t,r){e=e||"",t=t||[],r=r||"";var n=f(t,r);return p(e,n)}function c(e,t){e=e||[],t=t||"";var r=f(e,t);return function(e){return p(e||"",r)}}function f(e,t){return e=d(e),{allowable_tags:e,tag_replacement:t,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function p(e,t){for(var r=t.allowable_tags,n=t.tag_replacement,s=t.state,l=t.tag_buffer,u=t.depth,c=t.in_quote_char,f="",p=0,d=e.length;p<d;p++){var v=e[p];if(s===i)switch(v){case"<":s=o,l+=v;break;default:f+=v;break}else if(s===o)switch(v){case"<":if(c)break;u++;break;case">":if(c)break;if(u){u--;break}c="",s=i,l+=">",r.has(h(l))?f+=l:f+=n,l="";break;case'"':case"'":c=v===c?"":c||v,l+=v;break;case"-":"<!-"===l&&(s=a),l+=v;break;case" ":case"\n":if("<"===l){s=i,f+="< ",l="";break}l+=v;break;default:l+=v;break}else if(s===a)switch(v){case">":"--"==l.slice(-2)&&(s=i),l="";break;default:l+=v;break}}return t.state=s,t.tag_buffer=l,t.depth=u,t.in_quote_char=c,f}function d(e){var t,r=new Set;if("string"===typeof e)while(t=s.exec(e))r.add(t[1]);else n.nonNative||"function"!==typeof e[n.iterator]?"function"===typeof e.forEach&&e.forEach(r.add,r):r=new Set(e);return r}function h(e){var t=l.exec(e);return t?t[1].toLowerCase():null}u.init_streaming_mode=c;var v=u;t.default=v},ab13:function(e,t,r){var n=r("b622"),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},ab2d:function(e,t,r){"use strict";var n=r("d8db");function i(e){var t=e.length;if((Array.isArray(e)||"object"!==typeof e&&"function"!==typeof e)&&n(!1),"number"!==typeof t&&n(!1),0===t||t-1 in e||n(!1),"function"===typeof e.callee&&n(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(o){}for(var r=Array(t),i=0;i<t;i++)r[i]=e[i];return r}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function a(e){return o(e)?Array.isArray(e)?e.slice():i(e):[e]}e.exports=a},ab5b:function(e,t,r){"use strict";e.exports=r("be24")},ab9c:function(e,t,r){"use strict";e.exports=function(e,t){var r,n=e.cd,i=e.xaxis,o=e.yaxis,a=[],s=n[0].t.bPos||0;if(!1===t)for(r=0;r<n.length;r++)n[r].selected=0;else for(r=0;r<n.length;r++){var l=n[r];t.contains([i.c2p(l.pos+s),o.c2p(l.yc)],null,l.i,e)?(a.push({pointNumber:l.i,x:i.c2d(l.pos),y:o.c2d(l.yc)}),l.selected=1):l.selected=0}return a}},abc0:function(e,t,r){(function(t){var r=!1;if("undefined"!==typeof Float64Array){var n=new Float64Array(1),i=new Uint32Array(n.buffer);if(n[0]=1,r=!0,1072693248===i[1]){function o(e,t){return i[0]=e,i[1]=t,n[0]}function a(e){return n[0]=e,i[0]}function s(e){return n[0]=e,i[1]}e.exports=function(e){return n[0]=e,[i[0],i[1]]},e.exports.pack=o,e.exports.lo=a,e.exports.hi=s}else if(1072693248===i[0]){function l(e,t){return i[1]=e,i[0]=t,n[0]}function u(e){return n[0]=e,i[1]}function c(e){return n[0]=e,i[0]}e.exports=function(e){return n[0]=e,[i[1],i[0]]},e.exports.pack=l,e.exports.lo=u,e.exports.hi=c}else r=!1}if(!r){var f=new t(8);function p(e,t){return f.writeUInt32LE(e,0,!0),f.writeUInt32LE(t,4,!0),f.readDoubleLE(0,!0)}function d(e){return f.writeDoubleLE(e,0,!0),f.readUInt32LE(0,!0)}function h(e){return f.writeDoubleLE(e,0,!0),f.readUInt32LE(4,!0)}e.exports=function(e){return f.writeDoubleLE(e,0,!0),[f.readUInt32LE(0,!0),f.readUInt32LE(4,!0)]},e.exports.pack=p,e.exports.lo=d,e.exports.hi=h}e.exports.sign=function(t){return e.exports.hi(t)>>>31},e.exports.exponent=function(t){var r=e.exports.hi(t);return(r<<1>>>21)-1023},e.exports.fraction=function(t){var r=e.exports.lo(t),n=e.exports.hi(t),i=1048575&n;return 2146435072&n&&(i+=1<<20),[r,i]},e.exports.denormalized=function(t){var r=e.exports.hi(t);return!(2146435072&r)}}).call(this,r("b639").Buffer)},abc9:function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("d115"),a=r("5793"),s=r("1c1c").handleGroupingDefaults,l=r("0b77"),u=r("1ebf");function c(e,t,r,i){function s(r,i){return n.coerce(e,t,u,r,i)}if(f(e,t,s,i),!1!==t.visible){a(e,t,i,s);var l=t._hasPreCompStats;l&&(s("lowerfence"),s("upperfence")),s("line.color",(e.marker||{}).color||r),s("line.width"),s("fillcolor",o.addOpacity(t.line.color,.5));var c=!1;if(l){var d=s("mean"),h=s("sd");d&&d.length&&(c=!0,h&&h.length&&(c="sd"))}s("boxmean",c),s("whiskerwidth"),s("width"),s("quartilemethod");var v=!1;if(l){var m=s("notchspan");m&&m.length&&(v=!0)}else n.validate(e.notchwidth,u.notchwidth)&&(v=!0);var g=s("notched",v);g&&s("notchwidth"),p(e,t,s,{prefix:"box"})}}function f(e,t,r,o){function a(e){var t=0;return e&&e.length&&(t+=1,n.isArrayOrTypedArray(e[0])&&e[0].length&&(t+=1)),t}function s(t){return n.validate(e[t],u[t])}var c,f=r("y"),p=r("x");if("box"===t.type){var d=r("q1"),h=r("median"),v=r("q3");t._hasPreCompStats=d&&d.length&&h&&h.length&&v&&v.length,c=Math.min(n.minRowLength(d),n.minRowLength(h),n.minRowLength(v))}var m,g,y=a(f),b=a(p),x=y&&n.minRowLength(f),A=b&&n.minRowLength(p),w=o.calendar,_={autotypenumbers:o.autotypenumbers};if(t._hasPreCompStats)switch(String(b)+String(y)){case"00":var E=s("x0")||s("dx"),k=s("y0")||s("dy");m=k&&!E?"h":"v",g=c;break;case"10":m="v",g=Math.min(c,A);break;case"20":m="h",g=Math.min(c,p.length);break;case"01":m="h",g=Math.min(c,x);break;case"02":m="v",g=Math.min(c,f.length);break;case"12":m="v",g=Math.min(c,A,f.length);break;case"21":m="h",g=Math.min(c,p.length,x);break;case"11":g=0;break;case"22":var T,C=!1;for(T=0;T<p.length;T++)if("category"===l(p[T],w,_)){C=!0;break}if(C)m="v",g=Math.min(c,A,f.length);else{for(T=0;T<f.length;T++)if("category"===l(f[T],w,_)){C=!0;break}C?(m="h",g=Math.min(c,p.length,x)):(m="v",g=Math.min(c,A,f.length))}break}else y>0?(m="v",g=b>0?Math.min(A,x):Math.min(x)):b>0?(m="h",g=Math.min(A)):g=0;if(g){t._length=g;var S=r("orientation",m);t._hasPreCompStats?"v"===S&&0===b?(r("x0",0),r("dx",1)):"h"===S&&0===y&&(r("y0",0),r("dy",1)):"v"===S&&0===b?r("x0"):"h"===S&&0===y&&r("y0");var O=i.getComponentMethod("calendars","handleTraceDefaults");O(e,t,["x","y"],o)}else t.visible=!1}function p(e,t,r,i){var o=i.prefix,a=n.coerce2(e,t,u,"marker.outliercolor"),s=r("marker.line.outliercolor"),l="outliers";t._hasPreCompStats?l="all":(a||s)&&(l="suspectedoutliers");var c=r(o+"points",l);c?(r("jitter","all"===c?.3:0),r("pointpos","all"===c?-1.5:0),r("marker.symbol"),r("marker.opacity"),r("marker.size"),r("marker.color",t.line.color),r("marker.line.color"),r("marker.line.width"),"suspectedoutliers"===c&&(r("marker.line.outliercolor",t.marker.color),r("marker.line.outlierwidth")),r("selected.marker.color"),r("unselected.marker.color"),r("selected.marker.size"),r("unselected.marker.size"),r("text"),r("hovertext")):delete t.marker;var f=r("hoveron");"all"!==f&&-1===f.indexOf("points")||r("hovertemplate"),n.coerceSelectionMarkerOpacity(t,r)}function d(e,t){var r,i;function o(e){return n.coerce(i._input,i,u,e)}for(var a=0;a<e.length;a++){i=e[a];var l=i.type;"box"!==l&&"violin"!==l||(r=i._input,"group"===t[l+"mode"]&&s(r,i,t,o))}}e.exports={supplyDefaults:c,crossTraceDefaults:d,handleSampleDefaults:f,handlePointsDefaults:p}},abda:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16,11.78L20.24,4.45L21.97,5.45L16.74,14.5L10.23,10.75L5.46,19H22V21H2V3H4V17.54L9.5,8L16,11.78Z"}))};e.exports=s},ac05:function(e,t,r){"use strict";var n=r("ab5b"),i=r("6152"),o=r("24f7"),a=o.Map,s=n.createElement("ul",{className:i("public/DraftStyleDefault/ul")}),l=n.createElement("ol",{className:i("public/DraftStyleDefault/ol")}),u=n.createElement("pre",{className:i("public/DraftStyleDefault/pre")}),c=a({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:s},"ordered-list-item":{element:"li",wrapper:l},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:u},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=c},ac1f:function(e,t,r){"use strict";var n=r("23e7"),i=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ac33:function(e,t,r){"use strict";var n=r("fc26").strTranslate;function i(e,t){switch(e.type){case"log":return e.p2d(t);case"date":return e.p2r(t,0,e.calendar);default:return e.p2r(t)}}function o(e,t){switch(e.type){case"log":return e.d2p(t);case"date":return e.r2p(t,0,e.calendar);default:return e.r2p(t)}}function a(e){var t="y"===e._id.charAt(0)?1:0;return function(r){return i(e,r[t])}}function s(e){return n(e.xaxis._offset,e.yaxis._offset)}e.exports={p2r:i,r2p:o,axValue:a,getTransform:s}},ac37:function(e,t,r){"use strict";var n=r("10b8"),i=r("b5e4").traceLayerPrefix,o=["fill","line","circle","symbol"];function a(e,t){this.type="scattermapbox",this.subplot=e,this.uid=t,this.sourceIds={fill:"source-"+t+"-fill",line:"source-"+t+"-line",circle:"source-"+t+"-circle",symbol:"source-"+t+"-symbol"},this.layerIds={fill:i+t+"-fill",line:i+t+"-line",circle:i+t+"-circle",symbol:i+t+"-symbol"},this.below=null}var s=a.prototype;s.addSource=function(e,t){this.subplot.map.addSource(this.sourceIds[e],{type:"geojson",data:t.geojson})},s.setSourceData=function(e,t){this.subplot.map.getSource(this.sourceIds[e]).setData(t.geojson)},s.addLayer=function(e,t,r){this.subplot.addLayer({type:e,id:this.layerIds[e],source:this.sourceIds[e],layout:t.layout,paint:t.paint},r)},s.update=function(e){var t,r,i,a=this.subplot,s=a.map,l=n(a.gd,e),u=a.belowLookup["trace-"+this.uid];if(u!==this.below){for(t=o.length-1;t>=0;t--)r=o[t],s.removeLayer(this.layerIds[r]);for(t=0;t<o.length;t++)r=o[t],i=l[r],this.addLayer(r,i,u);this.below=u}for(t=0;t<o.length;t++)r=o[t],i=l[r],a.setOptions(this.layerIds[r],"setLayoutProperty",i.layout),"visible"===i.layout.visibility&&(this.setSourceData(r,i),a.setOptions(this.layerIds[r],"setPaintProperty",i.paint));e[0].trace._glTrace=this},s.dispose=function(){for(var e=this.subplot.map,t=o.length-1;t>=0;t--){var r=o[t];e.removeLayer(this.layerIds[r]),e.removeSource(this.sourceIds[r])}},e.exports=function(e,t){for(var r=t[0].trace,i=new a(e,r.uid),s=n(e.gd,t),l=i.below=e.belowLookup["trace-"+r.uid],u=0;u<o.length;u++){var c=o[u],f=s[c];i.addSource(c,f),i.addLayer(c,f,l)}return t[0].trace._glTrace=i,i}},ac41:function(e,t){function r(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}e.exports=r},ac87:function(e,t,r){"use strict";var n=r("db54").dash,i=r("9092").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:i({},n,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}},ac8b:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A,t.localizeString=w;var i=u(r("d7bc")),o=l(r("ab5b")),a=r("4578");function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;f(this,n),i=r.call(this,e,t);var o=t.dictionaries,a=t.locale;return i.localize=function(e){return w(o,a,e)},i}return d(n,[{key:"render",value:function(){return o.default.createElement(e,c({localize:this.localize},this.props))}}]),n}(o.Component);return t.displayName="Localized".concat((0,a.getDisplayName)(e)),t.contextTypes=t.contextTypes||{},t.contextTypes.dictionaries=i.default.object,t.contextTypes.locale=i.default.string,t.plotly_editor_traits=e.plotly_editor_traits,t}function w(e,t,r){var n=e[t];return n&&n.hasOwnProperty(r)?n[r]:r}},ac96:function(e,t,r){"use strict";var n={},i=Math.pow(2,24);function o(){var e;while(void 0===e||n.hasOwnProperty(e)||!isNaN(+e))e=Math.floor(Math.random()*i).toString(32);return n[e]=!0,e}e.exports=o},ac97:function(e,t,r){"use strict";var n=r("a5c4"),i=r("371e"),o=r("d115"),a=r("fc26").fillText,s=r("6833").getLineWidth,l=r("0642").hoverLabelText,u=r("e806").BADNUM;function c(e,t,r,n){var o=f(e,t,r,n);if(o){var a=o.cd,s=a[0].trace,l=a[o.index];return o.color=p(s,l),i.getComponentMethod("errorbars","hoverInfo")(l,s,o),[o]}}function f(e,t,r,i){var o,s,c,f,p,d,h,v=e.cd,m=v[0].trace,g=v[0].t,y="closest"===i,b="waterfall"===m.type,x=e.maxHoverDistance;function A(e){return e[c]-e.w/2}function w(e){return e[c]+e.w/2}var _=y?A:function(e){return Math.min(A(e),e.p-g.bardelta/2)},E=y?w:function(e){return Math.max(w(e),e.p+g.bardelta/2)};function k(e,t){return n.inbox(e-o,t-o,x+Math.min(1,Math.abs(t-e)/h)-1)}function T(e){return k(_(e),E(e))}function C(e){return k(A(e),w(e))}function S(e){var t=s,r=e.b,i=e[f];if(b){var o=Math.abs(e.rawS)||0;t>0?i+=o:t<0&&(i-=o)}return n.inbox(r-t,i-t,x+(i-t)/(i-r)-1)}"h"===m.orientation?(o=r,s=t,c="y",f="x",p=S,d=T):(o=t,s=r,c="x",f="y",d=S,p=T);var O=e[c+"a"],M=e[f+"a"];function P(e){return(p(e)+d(e))/2}h=Math.abs(O.r2c(O.range[1])-O.r2c(O.range[0]));var B=n.getDistanceFunction(i,p,d,P);if(n.getClosest(v,B,e),!1!==e.index&&v[e.index].p!==u){y||(_=function(e){return Math.min(A(e),e.p-g.bargroupwidth/2)},E=function(e){return Math.max(w(e),e.p+g.bargroupwidth/2)});var L=e.index,D=v[L],I=m.base?D.b+D.s:D.s;e[f+"0"]=e[f+"1"]=M.c2p(D[f],!0),e[f+"LabelVal"]=I;var j=g.extents[g.extents.round(D.p)];e[c+"0"]=O.c2p(y?_(D):j[0],!0),e[c+"1"]=O.c2p(y?E(D):j[1],!0);var R=void 0!==D.orig_p;return e[c+"LabelVal"]=R?D.orig_p:D.p,e.labelLabel=l(O,e[c+"LabelVal"]),e.valueLabel=l(M,e[f+"LabelVal"]),e.baseLabel=l(M,D.b),e.spikeDistance=(S(D)+C(D))/2-x,e[c+"Spike"]=O.c2p(D.p,!0),a(D,m,e),e.hovertemplate=m.hovertemplate,e}}function p(e,t){var r=t.mcc||e.marker.color,n=t.mlcc||e.marker.line.color,i=s(e,t);return o.opacity(r)?r:o.opacity(n)&&i?n:void 0}e.exports={hoverPoints:c,hoverOnBars:f,getTraceColor:p}},ad2d:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Coptic",jdEpoch:1825029.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=t.year()+(t.year()<0?1:0);return e%4===3||e%4===-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear),13},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(13===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return e=i.year(),e<0&&e++,i.day()+30*(i.month()-1)+365*(e-1)+Math.floor(e/4)+this.jdEpoch-1},fromJD:function(e){var t=Math.floor(e)+.5-this.jdEpoch,r=Math.floor((t-Math.floor((t+366)/1461))/365)+1;r<=0&&r--,t=Math.floor(e)+.5-this.newDate(r,1,1).toJD();var n=Math.floor(t/30)+1,i=t-30*(n-1)+1;return this.newDate(r,n,i)}}),n.calendars.coptic=o},ad2e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M4.313 15.813l5.75-5.75-2.125-2.125L0 15.813l7.938 7.938 2.125-2.125zM25.188 9l-1.125-1.063-2.125 2.125 1.125 1.063 4.625 4.688-5.75 5.813 2.125 2.125 7.938-7.938zm-10.25 17.75h-3l5.563-21.5h3z"}))};t.default=u},ad54:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("5174")),o=p(r("d7bc")),a=p(r("f51b")),s=p(r("37cc")),l=f(r("ab5b")),u=r("4578");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=function(e){g(r,e);var t=b(r);function r(e,n){var i;h(this,r),i=t.call(this,e,n);var o=n.localize;if(!n.axesTargetHandler)throw new Error(o("AxesSelector must be nested within a connectAxesToPlot component"));return i}return m(r,[{key:"render",value:function(){var e=this.context,t=e.axesTargetHandler,r=e.axesTarget,n=e.fullLayout,o=e.localize,c=this.props.axesOptions,f=27,p=c.length>4,h=n&&n._subplots&&Object.values(n._subplots).some((function(e){return e.length>1})),v=h?c.map((function(e){return"allaxes"===e.value?e:{label:(0,u.getParsedTemplateString)(e.title,{meta:n.meta}),value:e.value}})):c,m=v&&v.map((function(e){return e.label})).reduce((function(e,t){return e+t.length}),0)||0;return p||m>=f?l.default.createElement(i.default,d({},this.props,{label:o("Axis to Style")}),l.default.createElement(a.default,{options:v,value:r,onChange:t,clearable:!1})):l.default.createElement(i.default,d({},this.props,{center:!0}),l.default.createElement(s.default,{options:v,activeOption:r,onOptionChange:t}))}}]),r}(l.Component);E.contextTypes={axesTargetHandler:o.default.func,axesTarget:o.default.string,fullLayout:o.default.object,localize:o.default.func},E.propTypes={axesOptions:o.default.array};var k=E;t.default=k},ad62:function(e,t,r){"use strict";var n=r("371e"),i=r("d301").SUBPLOT_PATTERN;t.getSubplotCalcData=function(e,t,r){var i=n.subplotsRegistry[t];if(!i)return[];for(var o=i.attr,a=[],s=0;s<e.length;s++){var l=e[s],u=l[0].trace;u[o]===r&&a.push(l)}return a},t.getModuleCalcData=function(e,t){var r,i=[],o=[];if(r="string"===typeof t?n.getModule(t).plot:"function"===typeof t?t:t.plot,!r)return[i,e];for(var a=0;a<e.length;a++){var s=e[a],l=s[0].trace;!0===l.visible&&0!==l._length&&(l._module.plot===r?i.push(s):o.push(s))}return[i,o]},t.getSubplotData=function(e,t,r){if(!n.subplotsRegistry[t])return[];var o,a,s,l=n.subplotsRegistry[t].attr,u=[];if("gl2d"===t){var c=r.match(i);a="x"+c[1],s="y"+c[2]}for(var f=0;f<e.length;f++)o=e[f],"gl2d"===t&&n.traceIs(o,"gl2d")?o[l[0]]===a&&o[l[1]]===s&&u.push(o):o[l]===r&&u.push(o);return u}},ad65:function(e,t,r){"use strict";function n(e){var t={};return function(r){return t.hasOwnProperty(r)||(t[r]=e.call(this,r)),t[r]}}e.exports=n},ad68:function(e,t,r){"use strict";var n=r("ea39"),i=r("b7d1"),o=r("7dbb"),a=r("6b38"),s=r("d345"),l=r("0103"),u=r("2dbe"),c=r("cea5"),f=r("3de2"),p=r("3642"),d=r("4c69"),h=r("b94e"),v=r("02ab"),m=r("320c"),g=r("7a71"),y=r("37cd"),b=r("a48a"),x=b.nextPow2,A=new s,w=!1;if(document.body){var _=document.body.appendChild(document.createElement("div"));_.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(_).fontStretch&&(w=!0),document.body.removeChild(_)}var E=function(e){k(e)?(e={regl:e},this.gl=e.regl._gl):this.gl=a(e),this.shader=A.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=e.regl||o({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),A.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(p(e)?e:{})};function k(e){return"function"===typeof e&&e._gl&&e.prop&&e.texture&&e.buffer}E.prototype.createShader=function(){var e=this.regl,t=e({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:e.prop("count"),offset:e.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:e.this("sizeBuffer")},width:{offset:0,stride:8,buffer:e.this("sizeBuffer")},char:e.this("charBuffer"),position:e.this("position")},uniforms:{atlasSize:function(e,t){return[t.atlas.width,t.atlas.height]},atlasDim:function(e,t){return[t.atlas.cols,t.atlas.rows]},atlas:function(e,t){return t.atlas.texture},charStep:function(e,t){return t.atlas.step},em:function(e,t){return t.atlas.em},color:e.prop("color"),opacity:e.prop("opacity"),viewport:e.this("viewportArray"),scale:e.this("scale"),align:e.prop("align"),baseline:e.prop("baseline"),translate:e.this("translate"),positionOffset:e.prop("positionOffset")},primitive:"points",viewport:e.this("viewport"),vert:"\n\t\t\tprecision highp float;\n\t\t\tattribute float width, charOffset, char;\n\t\t\tattribute vec2 position;\n\t\t\tuniform float fontSize, charStep, em, align, baseline;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform vec4 color;\n\t\t\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvoid main () {\n\t\t\t\t"+(E.normalViewport?"":"vec2 positionOffset = vec2(positionOffset.x,- positionOffset.y);")+"\n\n\t\t\t\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\n\t\t\t\t\t+ positionOffset))\n\t\t\t\t\t/ (viewport.zw * scale.xy);\n\n\t\t\t\tvec2 position = (position + translate) * scale;\n\t\t\t\tposition += offset * scale;\n\n\t\t\t\t"+(E.normalViewport?"position.y = 1. - position.y;":"")+"\n\n\t\t\t\tcharCoord = position * viewport.zw + viewport.xy;\n\n\t\t\t\tgl_Position = vec4(position * 2. - 1., 0, 1);\n\n\t\t\t\tgl_PointSize = charStep;\n\n\t\t\t\tcharId.x = mod(char, atlasDim.x);\n\t\t\t\tcharId.y = floor(char / atlasDim.x);\n\n\t\t\t\tcharWidth = width * em;\n\n\t\t\t\tfontColor = color / 255.;\n\t\t\t}",frag:"\n\t\t\tprecision highp float;\n\t\t\tuniform sampler2D atlas;\n\t\t\tuniform float fontSize, charStep, opacity;\n\t\t\tuniform vec2 atlasSize;\n\t\t\tuniform vec4 viewport;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\n\t\t\tfloat lightness(vec4 color) {\n\t\t\t\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\n\t\t\t}\n\n\t\t\tvoid main () {\n\t\t\t\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\n\t\t\t\tfloat halfCharStep = floor(charStep * .5 + .5);\n\n\t\t\t\t// invert y and shift by 1px (FF expecially needs that)\n\t\t\t\tuv.y = charStep - uv.y;\n\n\t\t\t\t// ignore points outside of character bounding box\n\t\t\t\tfloat halfCharWidth = ceil(charWidth * .5);\n\t\t\t\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\n\t\t\t\t\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\n\n\t\t\t\tuv += charId * charStep;\n\t\t\t\tuv = uv / atlasSize;\n\n\t\t\t\tvec4 color = fontColor;\n\t\t\t\tvec4 mask = texture2D(atlas, uv);\n\n\t\t\t\tfloat maskY = lightness(mask);\n\t\t\t\t// float colorY = lightness(color);\n\t\t\t\tcolor.a *= maskY;\n\t\t\t\tcolor.a *= opacity;\n\n\t\t\t\t// color.a += .1;\n\n\t\t\t\t// antialiasing, see yiq color space y-channel formula\n\t\t\t\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\n\n\t\t\t\tgl_FragColor = color;\n\t\t\t}"}),r={};return{regl:e,draw:t,atlas:r}},E.prototype.update=function(e){var t=this;if("string"===typeof e)e={text:e};else if(!e)return;e=i(e,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),null!=e.opacity&&(Array.isArray(e.opacity)?this.opacity=e.opacity.map((function(e){return parseFloat(e)})):this.opacity=parseFloat(e.opacity)),null!=e.viewport&&(this.viewport=f(e.viewport),E.normalViewport&&(this.viewport.y=this.canvas.height-this.viewport.y-this.viewport.height),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null==this.viewport&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null!=e.kerning&&(this.kerning=e.kerning),null!=e.offset&&("number"===typeof e.offset&&(e.offset=[e.offset,0]),this.positionOffset=y(e.offset)),e.direction&&(this.direction=e.direction),e.range&&(this.range=e.range,this.scale=[1/(e.range[2]-e.range[0]),1/(e.range[3]-e.range[1])],this.translate=[-e.range[0],-e.range[1]]),e.scale&&(this.scale=e.scale),e.translate&&(this.translate=e.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||e.font||(e.font=E.baseFontSize+"px sans-serif");var r,o=!1,a=!1;if(e.font&&(Array.isArray(e.font)?e.font:[e.font]).forEach((function(e,r){if("string"===typeof e)try{e=n.parse(e)}catch(f){e=n.parse(E.baseFontSize+"px "+e)}else e=n.parse(n.stringify(e));var i=n.stringify({size:E.baseFontSize,family:e.family,stretch:w?e.stretch:void 0,variant:e.variant,weight:e.weight,style:e.style}),s=d(e.size),l=Math.round(s[0]*h(s[1]));if(l!==t.fontSize[r]&&(a=!0,t.fontSize[r]=l),(!t.font[r]||i!=t.font[r].baseString)&&(o=!0,t.font[r]=E.fonts[i],!t.font[r])){var u=e.family.join(", "),c=[e.style];e.style!=e.variant&&c.push(e.variant),e.variant!=e.weight&&c.push(e.weight),w&&e.weight!=e.stretch&&c.push(e.stretch),t.font[r]={baseString:i,family:u,weight:e.weight,stretch:e.stretch,style:e.style,variant:e.variant,width:{},kerning:{},metrics:g(u,{origin:"top",fontSize:E.baseFontSize,fontStyle:c.join(" ")})},E.fonts[i]=t.font[r]}})),(o||a)&&this.font.forEach((function(r,i){var o=n.stringify({size:t.fontSize[i],family:r.family,stretch:w?r.stretch:void 0,variant:r.variant,weight:r.weight,style:r.style});if(t.fontAtlas[i]=t.shader.atlas[o],!t.fontAtlas[i]){var a=r.metrics;t.shader.atlas[o]=t.fontAtlas[i]={fontString:o,step:2*Math.ceil(t.fontSize[i]*a.bottom*.5),em:t.fontSize[i],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:t.regl.texture()}}null==e.text&&(e.text=t.text)})),"string"===typeof e.text&&e.position&&e.position.length>2){for(var s=Array(.5*e.position.length),p=0;p<s.length;p++)s[p]=e.text;e.text=s}if(null!=e.text||o){if(this.textOffsets=[0],Array.isArray(e.text)){this.count=e.text[0].length,this.counts=[this.count];for(var b=1;b<e.text.length;b++)this.textOffsets[b]=this.textOffsets[b-1]+e.text[b-1].length,this.count+=e.text[b].length,this.counts.push(e.text[b].length);this.text=e.text.join("")}else this.text=e.text,this.count=this.text.length,this.counts=[this.count];r=[],this.font.forEach((function(e,n){E.atlasContext.font=e.baseString;for(var i=t.fontAtlas[n],o=0;o<t.text.length;o++){var a=t.text.charAt(o);if(null==i.ids[a]&&(i.ids[a]=i.chars.length,i.chars.push(a),r.push(a)),null==e.width[a]&&(e.width[a]=E.atlasContext.measureText(a).width/E.baseFontSize,t.kerning)){var s=[];for(var l in e.width)s.push(l+a,a+l);m(e.kerning,v(e.family,{pairs:s}))}}}))}if(e.position)if(e.position.length>2){for(var A=!e.position[0].length,_=c.mallocFloat(2*this.count),k=0,T=0;k<this.counts.length;k++){var C=this.counts[k];if(A)for(var S=0;S<C;S++)_[T++]=e.position[2*k],_[T++]=e.position[2*k+1];else for(var O=0;O<C;O++)_[T++]=e.position[k][0],_[T++]=e.position[k][1]}this.position.call?this.position({type:"float",data:_}):this.position=this.regl.buffer({type:"float",data:_}),c.freeFloat(_)}else this.position.destroy&&this.position.destroy(),this.position={constant:e.position};if(e.text||o){var M=c.mallocUint8(this.count),P=c.mallocFloat(2*this.count);this.textWidth=[];for(var B=0,L=0;B<this.counts.length;B++){for(var D=this.counts[B],I=this.font[B]||this.font[0],j=this.fontAtlas[B]||this.fontAtlas[0],R=0;R<D;R++){var F=this.text.charAt(L),N=this.text.charAt(L-1);if(M[L]=j.ids[F],P[2*L]=I.width[F],R){var z=P[2*L-2],U=P[2*L],H=P[2*L-1],V=H+.5*z+.5*U;if(this.kerning){var Q=I.kerning[N+F];Q&&(V+=.001*Q)}P[2*L+1]=V}else P[2*L+1]=.5*P[2*L];L++}this.textWidth.push(P.length?.5*P[2*L-2]+P[2*L-1]:0)}e.align||(e.align=this.align),this.charBuffer({data:M,type:"uint8",usage:"stream"}),this.sizeBuffer({data:P,type:"float",usage:"stream"}),c.freeUint8(M),c.freeFloat(P),r.length&&this.font.forEach((function(e,r){var n=t.fontAtlas[r],i=n.step,o=Math.floor(E.maxAtlasSize/i),a=Math.min(o,n.chars.length),s=Math.ceil(n.chars.length/a),l=x(a*i),c=x(s*i);n.width=l,n.height=c,n.rows=s,n.cols=a,n.em&&n.texture({data:u({canvas:E.atlasCanvas,font:n.fontString,chars:n.chars,shape:[l,c],step:[i,i]})})}))}if(e.align&&(this.align=e.align,this.alignOffset=this.textWidth.map((function(e,r){var n=Array.isArray(t.align)?t.align.length>1?t.align[r]:t.align[0]:t.align;if("number"===typeof n)return n;switch(n){case"right":case"end":return-e;case"center":case"centre":case"middle":return.5*-e}return 0}))),null==this.baseline&&null==e.baseline&&(e.baseline=0),null!=e.baseline&&(this.baseline=e.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map((function(e,r){var n=(t.font[r]||t.font[0]).metrics,i=0;return i+=.5*n.bottom,i+="number"===typeof e?e-n.baseline:-n[e],E.normalViewport||(i*=-1),i}))),null!=e.color)if(e.color||(e.color="transparent"),"string"!==typeof e.color&&isNaN(e.color)){var W;if("number"===typeof e.color[0]&&e.color.length>this.counts.length){var K=e.color.length;W=c.mallocUint8(K);for(var q=(e.color.subarray||e.color.slice).bind(e.color),G=0;G<K;G+=4)W.set(l(q(G,G+4),"uint8"),G)}else{var $=e.color.length;W=c.mallocUint8(4*$);for(var Y=0;Y<$;Y++)W.set(l(e.color[Y]||0,"uint8"),4*Y)}this.color=W}else this.color=l(e.color,"uint8");if(e.position||e.text||e.color||e.baseline||e.align||e.font||e.offset||e.opacity){var X=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(X){var Z=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Z);for(var J=0;J<this.batch.length;J++)this.batch[J]={count:this.counts.length>1?this.counts[J]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[J]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*J,4*J+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[J]:this.opacity,baseline:null!=this.baselineOffset[J]?this.baselineOffset[J]:this.baselineOffset[0],align:this.align?null!=this.alignOffset[J]?this.alignOffset[J]:this.alignOffset[0]:0,atlas:this.fontAtlas[J]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*J,2*J+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},E.prototype.destroy=function(){},E.prototype.kerning=!0,E.prototype.position={constant:new Float32Array(2)},E.prototype.translate=null,E.prototype.scale=null,E.prototype.font=null,E.prototype.text="",E.prototype.positionOffset=[0,0],E.prototype.opacity=1,E.prototype.color=new Uint8Array([0,0,0,255]),E.prototype.alignOffset=[0,0],E.normalViewport=!1,E.maxAtlasSize=1024,E.atlasCanvas=document.createElement("canvas"),E.atlasContext=E.atlasCanvas.getContext("2d",{alpha:!1}),E.baseFontSize=64,E.fonts={},e.exports=E},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ad91:function(e,t,r){"use strict";var n=r("fc26"),i=r("a288"),o=r("e8cf"),a=r("4248");function s(e,t){var r;return n.isPlainObject(e)||(r=n.getGraphDiv(e)),t=t||{},t.format=t.format||"png",t.width=t.width||null,t.height=t.height||null,t.imageDataOnly=!0,new Promise((function(s,l){r&&r._snapshotInProgress&&l(new Error("Snapshotting already in progress.")),n.isIE()&&"svg"!==t.format&&l(new Error(a.MSG_IE_BAD_FORMAT)),r&&(r._snapshotInProgress=!0);var u=i(e,t),c=t.filename||e.fn||"newplot";c+="."+t.format.replace("-","."),u.then((function(e){return r&&(r._snapshotInProgress=!1),o(e,c,t.format)})).then((function(e){s(e)})).catch((function(e){r&&(r._snapshotInProgress=!1),l(e)}))}))}e.exports=s},ad9c:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("d7bc")),o=l(r("ab5b")),a=r("4578");function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,i=p(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=function(e){m(r,e);var t=y(r);function r(e){return d(this,r),t.call(this,e)}return v(r,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.icon,i=e.label,s=e.variant,l=f(e,["children","className","icon","label","variant"]),u="button";u+=s?" button--".concat(s):" button--default",r&&(u+=" ".concat(r));var p=n?o.default.createElement("div",{className:(0,a.bem)("button","icon")},n):null;return o.default.createElement("button",c({className:u},l),o.default.createElement("div",{className:(0,a.bem)("button","wrapper")},p,o.default.createElement("div",{className:"button__label"},i||t)))}}]),r}(o.Component);_.propTypes={children:i.default.node,className:i.default.any,icon:i.default.oneOfType([i.default.node,i.default.func]),label:i.default.any,variant:i.default.string};var E=_;t.default=E},ade3:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},ae13:function(e,t,r){"use strict";var n=r("3ff5").dfltConfig,i=r("0082"),o=e.exports={};function a(e,t){if(e&&e.apply)try{return void e.apply(console,t)}catch(n){}for(var r=0;r<t.length;r++)try{e(t[r])}catch(n){console.log(t[r])}}o.log=function(){var e;if(n.logging>1){var t=["LOG:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);a(console.trace||console.log,t)}if(n.notifyOnLogging>1){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);i(r.join("<br>"),"long")}},o.warn=function(){var e;if(n.logging>0){var t=["WARN:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);a(console.trace||console.log,t)}if(n.notifyOnLogging>0){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);i(r.join("<br>"),"stick")}},o.error=function(){var e;if(n.logging>0){var t=["ERROR:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);a(console.error,t)}if(n.notifyOnLogging>0){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);i(r.join("<br>"),"stick")}}},ae14:function(e,t){e.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},ae15:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7,15L12,10L17,15H7Z"}))};e.exports=s},ae40:function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("5135"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var r=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:l,f=o(t,1)?t[1]:void 0;return s[e]=!!r&&!i((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,r.call(e,c,f)}))}},ae84:function(e,t,r){"use strict";var n=r("5c79"),i=r("ad62").getSubplotCalcData,o=r("fc26").counterRegex,a="ternary";t.name=a;var s=t.attr="subplot";t.idRoot=a,t.idRegex=t.attrRegex=o(a);var l=t.attributes={};l[s]={valType:"subplotid",role:"info",dflt:"ternary",editType:"calc",description:["Sets a reference between this trace's data coordinates and","a ternary subplot.","If *ternary* (the default value), the data refer to `layout.ternary`.","If *ternary2*, the data refer to `layout.ternary2`, and so on."].join(" ")},t.layoutAttributes=r("45a2"),t.supplyLayoutDefaults=r("ec0c"),t.plot=function(e){for(var t=e._fullLayout,r=e.calcdata,o=t._subplots[a],s=0;s<o.length;s++){var l=o[s],u=i(r,a,l),c=t[l]._subplot;c||(c=new n({id:l,graphDiv:e,container:t._ternarylayer.node()},t),t[l]._subplot=c),c.plot(u,t,e._promises)}},t.clean=function(e,t,r,n){for(var i=n._subplots[a]||[],o=0;o<i.length;o++){var s=i[o],l=n[s]._subplot;!t[s]&&l&&(l.plotContainer.remove(),l.clipDef.remove(),l.clipDefRelative.remove(),l.layers["a-title"].remove(),l.layers["b-title"].remove(),l.layers["c-title"].remove())}}},ae93:function(e,t,r){"use strict";var n,i,o,a=r("e163"),s=r("9112"),l=r("5135"),u=r("b622"),c=r("c430"),f=u("iterator"),p=!1,d=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=a(a(o)),i!==Object.prototype&&(n=i)):p=!0),void 0==n&&(n={}),c||l(n,f)||s(n,f,d),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},ae96:function(e,t,r){"use strict";var n=r("756e"),i=r("92ba")[3],o=0,a=1,s=2;function l(e,t,r,n,i){this.a=e,this.b=t,this.idx=r,this.lowerIds=n,this.upperIds=i}function u(e,t,r,n){this.a=e,this.b=t,this.type=r,this.idx=n}function c(e,t){var r=e.a[0]-t.a[0]||e.a[1]-t.a[1]||e.type-t.type;return r||(e.type!==o&&(r=i(e.a,e.b,t.b),r)?r:e.idx-t.idx)}function f(e,t){return i(e.a,e.b,t)}function p(e,t,r,o,a){for(var s=n.lt(t,o,f),l=n.gt(t,o,f),u=s;u<l;++u){var c=t[u],p=c.lowerIds,d=p.length;while(d>1&&i(r[p[d-2]],r[p[d-1]],o)>0)e.push([p[d-1],p[d-2],a]),d-=1;p.length=d,p.push(a);var h=c.upperIds;d=h.length;while(d>1&&i(r[h[d-2]],r[h[d-1]],o)<0)e.push([h[d-2],h[d-1],a]),d-=1;h.length=d,h.push(a)}}function d(e,t){var r;return r=e.a[0]<t.a[0]?i(e.a,e.b,t.a):i(t.b,t.a,e.a),r||(r=t.b[0]<e.b[0]?i(e.a,e.b,t.b):i(t.b,t.a,e.b),r||e.idx-t.idx)}function h(e,t,r){var i=n.le(e,r,d),o=e[i],a=o.upperIds,s=a[a.length-1];o.upperIds=[s],e.splice(i+1,0,new l(r.a,r.b,r.idx,[s],a))}function v(e,t,r){var i=r.a;r.a=r.b,r.b=i;var o=n.eq(e,r,d),a=e[o],s=e[o-1];s.upperIds=a.upperIds,e.splice(o,1)}function m(e,t){for(var r=e.length,n=t.length,i=[],f=0;f<r;++f)i.push(new u(e[f],null,o,f));for(f=0;f<n;++f){var d=t[f],m=e[d[0]],g=e[d[1]];m[0]<g[0]?i.push(new u(m,g,s,f),new u(g,m,a,f)):m[0]>g[0]&&i.push(new u(g,m,s,f),new u(m,g,a,f))}i.sort(c);for(var y=i[0].a[0]-(1+Math.abs(i[0].a[0]))*Math.pow(2,-52),b=[new l([y,1],[y,0],-1,[],[],[],[])],x=[],A=(f=0,i.length);f<A;++f){var w=i[f],_=w.type;_===o?p(x,b,e,w.a,w.idx):_===s?h(b,e,w):v(b,e,w)}return x}e.exports=m},aee4:function(e,t,r){var n=r("fa33"),i=n("./triangle-vertex.glsl"),o=n("./triangle-fragment.glsl"),a=n("./pick-vertex.glsl"),s=n("./pick-fragment.glsl");t.meshShader={vertex:i,fragment:o,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},aeeb:function(e,t){e.exports=function(e,t){var r="number"===typeof e,n="number"===typeof t;r&&!n?(t=e,e=0):r||n||(e=0,t=0),e|=0,t|=0;var i=t-e;if(i<0)throw new Error("array length must be positive");for(var o=new Array(i),a=0,s=e;a<i;a++,s++)o[a]=s;return o}},af23:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("circle",{cx:"29.31",cy:"31.08",r:"14.14",fill:"#09ffff"}),o.default.createElement("path",{d:"M29.24 47.68A16.82 16.82 0 0 1 21 45.5l2.17-3.82a12.52 12.52 0 0 0 18.58-10.92h4.41a16.94 16.94 0 0 1-16.92 16.92z",fill:"#a6fff8"}),o.default.createElement("path",{d:"M20.23 47.09a18.67 18.67 0 0 1 9.34-34.83v18.67M29.57 30.93h18.67a18.67 18.67 0 0 0-18.67-18.67v18.67",fill:"#119dff"}),o.default.createElement("path",{d:"M19.46 48.5A20 20 0 1 1 49 30.93h-3.82a16.21 16.21 0 1 0-23.91 14.24z",fill:"#09ffff"}),o.default.createElement("path",{d:"M29.29 31.31h-12.1a12.1 12.1 0 0 1 12.1-12.1z",fill:"#09ffff"}),o.default.createElement("path",{d:"M31.38 32.49L40 37.63a11.08 11.08 0 0 1-8.41 5.49l-.25-10.63",fill:"#119dff"}),o.default.createElement("circle",{cx:"29.61",cy:"30.35",r:"7.32",fill:"#fff"}),o.default.createElement("circle",{cx:"29.61",cy:"30.35",r:"3.1",fill:"#119dff"}))};t.default=u},af2d:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("8b85"),a=r("efaa"),s=r("47cc"),l=r("0379"),u=r("fc26"),c=u.strRotate,f=u.strTranslate,p=r("63dc");function d(e,t,r,n,i){var s,l,c,f,p=r.select("#"+e._clipPathId);p.size()||(p=r.append("clipPath").classed("carpetclip",!0));var d=u.ensureSingle(p,"path","carpetboundary"),h=t.clipsegments,v=[];for(f=0;f<h.length;f++)s=h[f],l=o([],s.x,n.c2p),c=o([],s.y,i.c2p),v.push(a(l,c,s.bicubic));var m="M"+v.join("L")+"Z";p.attr("id",e._clipPathId),d.attr("d",m)}function h(e,t,r,i,s,l){var u="const-"+s+"-lines",c=r.selectAll("."+u).data(l);c.enter().append("path").classed(u,!0).style("vector-effect","non-scaling-stroke"),c.each((function(r){var i=r,s=i.x,l=i.y,u=o([],s,e.c2p),c=o([],l,t.c2p),f="M"+a(u,c,i.smoothing),p=n.select(this);p.attr("d",f).style("stroke-width",i.width).style("stroke",i.color).style("fill","none")})),c.exit().remove()}function v(e,t,r,o,a,u,p,d){var h=u.selectAll("text."+d).data(p);h.enter().append("text").classed(d,!0);var v=0,m={};return h.each((function(a,u){var p;if("auto"===a.axis.tickangle)p=s(o,t,r,a.xy,a.dxy);else{var d=(a.axis.tickangle+180)*Math.PI/180;p=s(o,t,r,a.xy,[Math.cos(d),Math.sin(d)])}u||(m={angle:p.angle,flip:p.flip});var h=(a.endAnchor?-1:1)*p.flip,g=n.select(this).attr({"text-anchor":h>0?"start":"end","data-notex":1}).call(i.font,a.font).text(a.text).call(l.convertToTspans,e),y=i.bBox(this);g.attr("transform",f(p.p[0],p.p[1])+c(p.angle)+f(a.axis.labelpadding*h,.3*y.height)),v=Math.max(v,y.width+a.axis.labelpadding)})),h.exit().remove(),m.maxExtent=v,m}function m(e,t,r,n,i,o,a,l){var c,f,p,d,h=u.aggNums(Math.min,null,r.a),v=u.aggNums(Math.max,null,r.a),m=u.aggNums(Math.min,null,r.b),g=u.aggNums(Math.max,null,r.b);c=.5*(h+v),f=m,p=r.ab2xy(c,f,!0),d=r.dxyda_rough(c,f),void 0===a.angle&&u.extendFlat(a,s(r,i,o,p,r.dxydb_rough(c,f))),b(e,t,r,n,p,d,r.aaxis,i,o,a,"a-title"),c=h,f=.5*(m+g),p=r.ab2xy(c,f,!0),d=r.dxydb_rough(c,f),void 0===l.angle&&u.extendFlat(l,s(r,i,o,p,r.dxyda_rough(c,f))),b(e,t,r,n,p,d,r.baxis,i,o,l,"b-title")}e.exports=function(e,t,r,i){var o=t.xaxis,a=t.yaxis,s=e._fullLayout,l=s._clips;u.makeTraceGroups(i,r,"trace").each((function(t){var r=n.select(this),i=t[0],s=i.trace,c=s.aaxis,f=s.baxis,p=u.ensureSingle(r,"g","minorlayer"),g=u.ensureSingle(r,"g","majorlayer"),y=u.ensureSingle(r,"g","boundarylayer"),b=u.ensureSingle(r,"g","labellayer");r.style("opacity",s.opacity),h(o,a,g,c,"a",c._gridlines,!0),h(o,a,g,f,"b",f._gridlines,!0),h(o,a,p,c,"a",c._minorgridlines,!0),h(o,a,p,f,"b",f._minorgridlines,!0),h(o,a,y,c,"a-boundary",c._boundarylines),h(o,a,y,f,"b-boundary",f._boundarylines);var x=v(e,o,a,s,i,b,c._labels,"a-label"),A=v(e,o,a,s,i,b,f._labels,"b-label");m(e,b,s,i,o,a,x,A),d(s,i,l,o,a)}))};var g=p.LINE_SPACING,y=(1-p.MID_SHIFT)/g+1;function b(e,t,r,o,a,u,p,d,h,v,m){var b=[];p.title.text&&b.push(p.title.text);var x=t.selectAll("text."+m).data(b),A=v.maxExtent;x.enter().append("text").classed(m,!0),x.each((function(){var t=s(r,d,h,a,u);-1===["start","both"].indexOf(p.showticklabels)&&(A=0);var o=p.title.font.size;A+=o+p.title.offset;var m=v.angle+(v.flip<0?180:0),b=(m-t.angle+450)%360,x=b>90&&b<270,w=n.select(this);w.text(p.title.text).call(l.convertToTspans,e),x&&(A=(-l.lineCount(w)+y)*g*o-A),w.attr("transform",f(t.p[0],t.p[1])+c(t.angle)+f(0,A)).attr("text-anchor","middle").call(i.font,p.title.font)})),x.exit().remove()}},af50:function(e,t,r){"use strict";e.exports={attributes:r("40c0"),layoutAttributes:r("37e3"),supplyDefaults:r("11e1"),crossTraceDefaults:r("722f"),supplyLayoutDefaults:r("ed16"),calc:r("0c39").calc,crossTraceCalc:r("0cec").crossTraceCalc,plot:r("c791").plot,layerName:"barlayer",style:r("2df3").style,styleOnSelect:r("2df3").styleOnSelect,colorbar:r("f3cf"),hoverPoints:r("e5d7"),selectPoints:r("7000"),eventData:r("6f09"),moduleType:"trace",name:"histogram",basePlotModule:r("91cd"),categories:["bar-like","cartesian","svg","bar","histogram","oriented","errorBarsOK","showLegend"],meta:{description:["The sample data from which statistics are computed is set in `x`","for vertically spanning histograms and","in `y` for horizontally spanning histograms.","Binning options are set `xbins` and `ybins` respectively","if no aggregation data is provided."].join(" ")}}},afdd:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115");e.exports=function(e){e.each((function(e){var t=e[0].trace,r=t.error_y||{},o=t.error_x||{},a=n.select(this);a.selectAll("path.yerror").style("stroke-width",r.thickness+"px").call(i.stroke,r.color),o.copy_ystyle&&(o=r),a.selectAll("path.xerror").style("stroke-width",o.thickness+"px").call(i.stroke,o.color)}))}},aff3:function(e,t,r){var n=r("5243"),i=r("d9c2");function o(e,t){return t=t||1,e[0]=Math.random(),e[1]=Math.random(),e[2]=Math.random(),e[3]=Math.random(),n(e,e),i(e,e,t),e}e.exports=o},b00d:function(e,t,r){"use strict";var n=32;function i(e){var t=32;return e&=-e,e&&t--,65535&e&&(t-=16),16711935&e&&(t-=8),252645135&e&&(t-=4),858993459&e&&(t-=2),1431655765&e&&(t-=1),t}t.INT_BITS=n,t.INT_MAX=2147483647,t.INT_MIN=-1<<n-1,t.sign=function(e){return(e>0)-(e<0)},t.abs=function(e){var t=e>>n-1;return(e^t)-t},t.min=function(e,t){return t^(e^t)&-(e<t)},t.max=function(e,t){return e^(e^t)&-(e<t)},t.isPow2=function(e){return!(e&e-1)&&!!e},t.log2=function(e){var t,r;return t=(e>65535)<<4,e>>>=t,r=(e>255)<<3,e>>>=r,t|=r,r=(e>15)<<2,e>>>=r,t|=r,r=(e>3)<<1,e>>>=r,t|=r,t|e>>1},t.log10=function(e){return e>=1e9?9:e>=1e8?8:e>=1e7?7:e>=1e6?6:e>=1e5?5:e>=1e4?4:e>=1e3?3:e>=100?2:e>=10?1:0},t.popCount=function(e){return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),16843009*(e+(e>>>4)&252645135)>>>24},t.countTrailingZeros=i,t.nextPow2=function(e){return e+=0===e,--e,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e+1},t.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)},t.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var o=new Array(256);(function(e){for(var t=0;t<256;++t){var r=t,n=t,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=1&r,--i;e[t]=n<<i&255}})(o),t.reverse=function(e){return o[255&e]<<24|o[e>>>8&255]<<16|o[e>>>16&255]<<8|o[e>>>24&255]},t.interleave2=function(e,t){return e&=65535,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t&=65535,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1},t.deinterleave2=function(e,t){return e=e>>>t&1431655765,e=858993459&(e|e>>>1),e=252645135&(e|e>>>2),e=16711935&(e|e>>>4),e=65535&(e|e>>>16),e<<16>>16},t.interleave3=function(e,t,r){return e&=1023,e=4278190335&(e|e<<16),e=251719695&(e|e<<8),e=3272356035&(e|e<<4),e=1227133513&(e|e<<2),t&=1023,t=4278190335&(t|t<<16),t=251719695&(t|t<<8),t=3272356035&(t|t<<4),t=1227133513&(t|t<<2),e|=t<<1,r&=1023,r=4278190335&(r|r<<16),r=251719695&(r|r<<8),r=3272356035&(r|r<<4),r=1227133513&(r|r<<2),e|r<<2},t.deinterleave3=function(e,t){return e=e>>>t&1227133513,e=3272356035&(e|e>>>2),e=251719695&(e|e>>>4),e=4278190335&(e|e>>>8),e=1023&(e|e>>>16),e<<22>>22},t.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>i(e)+1}},b012:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){var e={x:0,y:0},t=document.getElementsByClassName("text-editor")[0].getBoundingClientRect(),r=158.5;return t&&(e.x+=.5*t.width-r/2,e.y+=.5*t.height),e},i=n;t.default=i},b041:function(e,t,r){"use strict";var n=r("00ee"),i=r("f5df");e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b047:function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},b047c:function(e,t,r){var n=r("1a8c"),i=r("408c"),o=r("b4b0"),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,r){var u,c,f,p,d,h,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var r=u,n=c;return u=c=void 0,v=t,p=e.apply(n,r),p}function x(e){return v=e,d=setTimeout(_,t),m?b(e):p}function A(e){var r=e-h,n=e-v,i=t-r;return g?l(i,f-n):i}function w(e){var r=e-h,n=e-v;return void 0===h||r>=t||r<0||g&&n>=f}function _(){var e=i();if(w(e))return E(e);d=setTimeout(_,A(e))}function E(e){return d=void 0,y&&u?b(e):(u=c=void 0,p)}function k(){void 0!==d&&clearTimeout(d),v=0,u=h=c=d=void 0}function T(){return void 0===d?p:E(i())}function C(){var e=i(),r=w(e);if(u=arguments,c=this,h=e,r){if(void 0===d)return x(h);if(g)return clearTimeout(d),d=setTimeout(_,t),b(h)}return void 0===d&&(d=setTimeout(_,t)),p}return t=o(t)||0,n(r)&&(m=!!r.leading,g="maxWait"in r,f=g?s(o(r.maxWait)||0,t):f,y="trailing"in r?!!r.trailing:y),C.cancel=k,C.flush=T,C}e.exports=u},b05c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.313 0H2.688A2.668 2.668 0 0 0 0 2.688v26.625c0 1.5 1.188 2.688 2.688 2.688h26.625c1.5 0 2.688-1.188 2.688-2.688V2.688c0-1.5-1.188-2.688-2.688-2.688zM18.125 2.938c.125.125.25.125.438.125h.375c0 .125 0 .125-.125.25h-.125l-.125.125s0 .188-.188.188h.313v-.313-.125c-.125-.125-.125-.125-.313 0-.125.125-.125.125-.25 0 0 0 0-.125-.125-.125 0-.125-.125-.125-.125-.125l-.25-.125-.188-.125h-.125H18c.125.125.125.125.125.25zm-.812.125v.375l-.125.188c-.125.125-.125 0-.125-.188v-.25h-.25-.125s-.125.125 0 .125.125.125.125.313h-1.376v-.188h.188c.25 0 .375 0 .5-.125.125-.375-.125-.375-.25-.375s-.125 0-.25-.125l-.188-.125h1.75c0 .125.125.25.125.375zm-4.375 0c.125 0 .125.125.25.125 0 0 0 .25-.125.125s-.375-.125-.5-.125c-.188-.125-.313-.125-.438-.125h-.688c-.125 0-.125.125-.25.125v-.25h-.125s-.125 0-.125.125c-.125-.125-.25-.125-.375-.125h-.938s0 .125-.188.125c0 .125-.125.25-.25 0h-.625c-.188 0-.438-.125-.563-.25-.25 0-.563.125-.813.125-.125 0-.25-.125-.5-.125h-.813-.125c-.125 0-.125-.125-.313-.125h6c.313.125.438.125.563.25.125 0 .375 0 .563-.125v-.125h.125zM12 8c-.125 0-.125-.125-.125-.25s-.125-.125-.25-.125h-.188v-.188l.188.188c.125 0 .25 0 .375.125V8zM2.688 2.688h2.75s0 .125-.125.125-.25.125-.375.125-.25.125-.563.125H4s-.125.125-.125.25.125.313.25.313.25 0 .438.125c.125 0 .25.125.25.25.125 0 .125.125 0 .125-.25-.125-.438-.125-.563-.25l-.125-.125L4 3.876c-.25 0-.375.125-.563.125 0 .125.188.25.313.25.125.125.25.125.375.125h.563s0 .313-.313.313c-.125 0-.375 0-.5.125 0 .125-.125.125-.125.25.125.125.25.375.25.563 0 .125.125 0 .25 0 0 0 .125 0 .125-.188 0-.125.313-.125.188.188 0 .125 0 .25.125.25 0-.125.125-.25.125-.25l.25.25s.125-.125.125 0 0 0-.125.125-.375.125-.5.25h-.188c-.125 0-.125.125-.25.125s-.125.313 0 .313c.25 0 .563-.125.813-.313.125 0 .125.188.375 0l.125-.125c.188-.125.313-.125.313-.25.125.125.125.125.25.125h.125c.125 0 .125-.125.25-.125v-.125h-.25c.125 0 .125-.125.25-.25v-.188c0-.125.188-.125.188-.125.125 0 .125 0 0 .313-.188.25.125-.188.25-.188h.375c0-.125 0-.125.125-.125 0-.125 0-.125.125-.25.188.125.313.125.438.125s.25 0 .375.125c.125 0 .688.125.813.125.25 0 .375.188.375.438s.188.25.188.25c.125 0 .25.125.375.25 0 .188 0 .438.125.563s.25.125.438.25v-.125c0-.125 0-.125-.188-.125v-.125c0-.125.188-.125.188 0 0-.125.125 0 .25.125s.125.25.125.25 0 .438.125.438.25.125.375.25c0 0 .188.125.188.25s.125.25.125.438v.75c0 .313.125.563.25.813 0 .25 0 .563.125.688s.25.125.563.125c.125 0 .25.125.375.375 0 .438.125.563.25.813.125 0 .313.125.125.25-.125.188-.125.313 0 .313.188 0 .188-.125.313.125.125.125.125.25.25.375 0 .125.125.125.125.125.125 0 .125.313.438.313v-.188c-.188-.125-.188-.125-.313-.25 0-.125-.125-.25-.125-.25 0-.125-.125-.25-.125-.25h-.125c-.125-.125-.125-.313-.25-.438l-.188-.125s-.125-.125 0-.25c.188-.125.188.125.313.25.125.25.375.563.5.688.125.25.313.375.563.625.125.188.25.188.25.313s.125.25.125.25c0 .125 0 .25.125.375a.77.77 0 0 1 .688.438c0 .125.125.375.25.375h.438s.125.125.25 0c0-.125.125-.125.25-.125s.25.125.25.25c.188.125.313.313.438.313s.25.125.25.125c.125 0 .125 0 .25.125.188.125.313.25.188.375 0 .125.125.313.25.313.125.125.25.125.25.25.125 0 .25.125.25.125s.125.125.313.125l.125-.125v-.125h.25c.125.125.125.25.125.375.125.125.125.438.125.563s0 .25-.125.375-.25.125-.25.25c-.125.188-.25.313-.25.438v.5c-.188.125-.188.313-.188.563s.438.25.438.375.25.688.25.813c.125.25.125.375.125.688.125.25.313.375.563.375.125 0 .25.125.25.25.125.188.25.188.25.313s.125.25 0 .375c0 0 0 .688-.125.938v.813c-.125.125-.25.125-.125.25s.375.25.375.25c0 .125.188.313 0 .563 0 .125-.125.25-.125.375-.125.125-.125.313-.125.438s-.125.125-.125.25.125.125.125.25-.125.25-.125.438c0 .125 0 .25.125.375 0 .125-.125.25-.125.375-.125.188-.125.313-.125.313 0 .125.125.125.125.25 0 0 0 .125-.125.25H2.696zm26.625 26.625h-6.625v-.125-.25h-.313v-.125l.188-.125.125-.125c.125-.188.125-.313.25-.313 0 0 .125-.125.125-.25s0 0-.125 0-.125-.125-.125-.25c.125 0 .25 0 .375.125h.125v-.25-.188-.125h.688c.125 0 .125-.125.125-.25l.125-.125s.125-.125 0-.25h-.25l-.125-.125v-.188c0-.125 0-.25.125-.375 0 .25 0 .375.25.563.125.125.438 0 .563-.188l.125-.125c.125-.125.25-.25.25-.375v-.25s0-.188.125-.188l.125-.125c0-.125.188-.125.313-.25v-.25-.25l.125-.188.25-.125c.125 0 .125-.125.25-.125.188 0 .313 0 .438-.125 0-.125.125-.25.125-.375l.125-.188.125-.125c.125-.125.125-.25.125-.25v-.25c0-.125 0-.25.125-.25v-.313c0-.125 0-.25.188-.25l.625-.813c.125-.125.125-.25.313-.375l.125-.25c0-.188.125-.313.125-.438s0-.125-.125-.25c0-.125-.125-.125-.313-.25-.125 0-.25 0-.25-.188 0 0-.125 0-.125-.125l-.125-.125c-.125-.125-.25-.125-.25-.125h-.438l-.375-.25c-.125-.125-.25-.125-.438-.125-.125 0-.125-.125-.25.125 0 .125-.125.125-.125.25h-.25-.125l.125-.125v-.25-.313c0 .188-.125.188-.313.313-.25 0-.25-.125-.125-.125s.313-.188.438-.188.125-.125.125-.125c0-.125 0-.125-.125-.25s-.125-.25-.313-.375l-.25-.438c-.125-.125-.25-.25-.5-.25-.125 0-.313.25-.438 0v-.125l-.25-.25h-.25s-.313 0-.125-.188v-.125-.25-.125c0 .125-.188.125-.313.25l-.25-.25h-.25s-.125 0-.125.125v.125s0-.125-.125-.125c-.188-.125-.313-.125-.438 0 0 0-.125 0-.125-.125s-.125-.125-.125-.25h-.125c-.125 0-.125.125-.125.25s-.188.25-.188.375v-.125-.25c0-.125.188-.25 0-.25h-.125l.125.375h-.125c-.125.125-.25.125-.25.25s-.125.313-.25.313h-.125c0-.188-.125-.188-.125-.188h-.313-.125l-.25.188c-.125.125-.25 0-.438 0 0-.188-.125-.188-.125-.313v-.125-.25-.438c0-.125 0-.125-.125-.25 0-.125-.125-.125-.25-.125s-.25.125-.25.125h-.313c-.125 0 0 0 0-.125v-.125-.25c0-.125 0-.125.188-.313.125-.125.125-.25.125-.375 0 0 0-.125-.125-.125h-.563a.269.269 0 0 0-.25.25v.125c0 .125 0 .313-.125.313-.188-.188-.313-.188-.313 0 0 .125 0 0-.25-.188h-.125c-.125-.125-.25-.25-.25-.375v-.125-.438-.25-.375s0-.125.125-.125l.125-.313c.125 0 .125-.125.25-.25h.438c.125 0 .25 0 .375.125h.25v-.125s.125-.125.313-.125c.125 0 .375-.125.5-.125 0 0 .125.25.25.25.125-.125.125-.25.125 0s.188.438.313.688c0 .125.125.25.25.25.125-.125.125-.125.125-.25v-.25c0-.188-.125-.313-.125-.438 0 0 0-.125-.125-.125v-.125c0-.125.125-.25.125-.25.125-.188.125-.188.25-.313s.125-.25.313-.25c.125-.125.375-.125.25-.25s-.125-.25-.125-.563c0-.125.125-.125.125 0s.25-.125.125-.25v-.125h.125v-.125c0-.125.125-.125.25-.125h.563v-.188c0-.125-.125-.125-.125-.25v-.125c0-.125.125-.25.25-.25h.25l.125-.125h.188s0 .375.125.375.25-.125.25-.125l.375-.125c.125 0 .313 0 .438-.125v-.313s0-.125-.125-.125c0 0-.188 0-.188.125h-.125c0-.125 0-.25-.125-.25l-.125.125-.125-.125c.125 0 .125-.125 0-.25h-.25s-.125.125-.313.125c-.125 0-.125 0-.25.125C22 7.99 22 7.865 22 7.865c0-.125 0-.125.125-.125s.438-.125.563-.125c.125 0 .25 0 .25.125v.375s.375-.125.25-.125 0 0 0-.125l.125-.125h.438l.125-.125c.125 0 .125.125 0 .25s-.125.25-.25.5c-.188.188 0 .188.125.188h.375c.125 0 .125 0 .25.125h.563v-.125l-.125-.313v-.5-.125h-.125v-.188c-.125 0-.125.188-.125 0 .125-.125.125-.125.125-.25s.125-.125.125-.25v-.125a.269.269 0 0 1-.25-.25c0-.188-.188-.188-.313-.313h-.5c0-.125 0-.125-.125-.25 0 0 0-.125-.188-.125l-.125-.125-.25-.438v-.125s-.125 0-.25.25l-.125.188h-.125c-.188 0-.313-.188-.438-.313v-.125l.125-.125c-.125-.125-.25-.125-.375-.125-.125-.125-.25-.125-.563-.25h-.625c-.125.125-.125.25-.125.25v.25h-.188v.125c.188.125.313.313.313.438s0 .125-.125.25c-.188.25-.313.25-.438.25h-.125c.125.125.125.125.125.313v.5h-.25c-.125 0-.125-.125-.125-.125v-.25l-.125.125v-.25-.188c0-.125-.188-.25-.313-.25 0-.125-.125-.125-.25-.125h-.5c-.188 0-.313-.125-.438-.25h-.25-.25c0-.125 0-.125-.188-.313-.125 0 0-.125-.125-.25v-.25l.313-.125.25-.125c0-.125.125-.313.25-.313.25 0 .438.188.438.188v-.188-.25c0 .125.25.125.125.25-.125.188 0 .188 0 .188.125 0 .25-.188.25-.188s.25-.125.25 0c0 .188 0 .313.125.313s.313-.125.125-.313c-.125-.125-.25-.125-.25-.25l.25-.125h-.125-.125-.125s0-.125.125-.125h.563c.125 0 .125 0 .25-.125l.125-.125c0-.188-.125-.188-.125-.188l.125-.125h.438v-.125c.125 0 0 .25.125.125h.25c0 .125 0 .313-.125.313h-.125s-.125.125 0 .125h.25c0-.125.125-.125.125-.313h.125s.25.188.125.188l-.125.125c-.125 0-.125.125-.125.125v.125h-.25-.125-.125v.375s.125 0 .25-.125h.5c.125 0 .313.125.313.125.125 0 .125.188.25.188H22c.125 0 .125.125.125.125h.25v-.125h.188c.125.125.125.125.25.125v-.125c0-.188 0-.188-.125-.313s-.313-.125-.438-.25v-.125c.125 0 .313 0 .438.125s.25.125.25.125l.125-.125h.125l.438-.25h-.188c-.125 0-.25 0-.25-.125-.125-.188-.25-.188-.375-.313 0 0-.25.125-.25 0v-.25c0-.125 0-.125-.188-.25l-.625-.125h7.563zM19.875 8.375c0-.125-.125.313 0 .438 0 .125 0 .125-.125.25h-.125s-.188-.125-.188-.25v-.125c0-.125 0-.313-.125-.313h-.125c-.125 0-.125.188-.25.313v.625c-.125 0-.25-.125-.25-.375v-.125-.438c.125-.125.25-.125.375-.25.125 0 .375.125.375.125h.438c.125.125.25.313.25.438-.125 0-.25-.125-.25-.313zm.375.438c.313-.125.438-.125.563-.125.125.125-.125.125-.125.25-.125 0-.125.125-.313.125l-.25.125H20v.125c-.125.125-.25.125-.25.125l.25-.125v-.125zM19.063 8h-.375s-.125 0-.125-.125c-.188 0-.313 0-.313.125H18v-.125l.25-.125c.125-.125.313-.313.563-.313.125.188.25.313.375.313 0 0 0 .25-.125.25z"}))};t.default=u},b077:function(e,t,r){"use strict";e.exports=u;var n=r("05a6"),i=r("c6e8"),o=r("3a55");function a(e,t){var r=e.length,o=["'use strict';"],a="surfaceNets"+e.join("_")+"d"+t;o.push("var contour=genContour({","order:[",e.join(),"],","scalarArguments: 3,","phase:function phaseFunc(p,a,b,c) { return (p > c)|0 },"),"generic"===t&&o.push("getters:[0],");for(var s=[],l=[],u=0;u<r;++u)s.push("d"+u),l.push("d"+u);for(u=0;u<1<<r;++u)s.push("v"+u),l.push("v"+u);for(u=0;u<1<<r;++u)s.push("p"+u),l.push("p"+u);s.push("a","b","c"),l.push("a","c"),o.push("vertex:function vertexFunc(",s.join(),"){");var c=[];for(u=0;u<1<<r;++u)c.push("(p"+u+"<<"+u+")");o.push("var m=(",c.join("+"),")|0;if(m===0||m===",(1<<(1<<r))-1,"){return}");var f=[],p=[];1<<(1<<r)<=128?(o.push("switch(m){"),p=o):o.push("switch(m>>>7){");for(u=0;u<1<<(1<<r);++u){if(1<<(1<<r)>128&&u%128===0){f.length>0&&p.push("}}");var d="vExtra"+f.length;o.push("case ",u>>>7,":",d,"(m&0x7f,",l.join(),");break;"),p=["function ",d,"(m,",l.join(),"){switch(m){"],f.push(p)}p.push("case ",127&u,":");for(var h=new Array(r),v=new Array(r),m=new Array(r),g=new Array(r),y=0,b=0;b<r;++b)h[b]=[],v[b]=[],m[b]=0,g[b]=0;for(b=0;b<1<<r;++b)for(var x=0;x<r;++x){var A=b^1<<x;if(!(A>b)&&!(u&1<<A)!==!(u&1<<b)){var w=1;u&1<<A?v[x].push("v"+A+"-v"+b):(v[x].push("v"+b+"-v"+A),w=-w),w<0?(h[x].push("-v"+b+"-v"+A),m[x]+=2):(h[x].push("v"+b+"+v"+A),m[x]-=2),y+=1;for(var _=0;_<r;++_)_!==x&&(A&1<<_?g[_]+=1:g[_]-=1)}}var E=[];for(x=0;x<r;++x)if(0===h[x].length)E.push("d"+x+"-0.5");else{var k="";m[x]<0?k=m[x]+"*c":m[x]>0&&(k="+"+m[x]+"*c");var T=h[x].length/y*.5,C=.5+g[x]/y*.5;E.push("d"+x+"-"+C+"-"+T+"*("+h[x].join("+")+k+")/("+v[x].join("+")+")")}p.push("a.push([",E.join(),"]);","break;")}o.push("}},"),f.length>0&&p.push("}}");var S=[];for(u=0;u<1<<r-1;++u)S.push("v"+u);S.push("c0","c1","p0","p1","a","b","c"),o.push("cell:function cellFunc(",S.join(),"){");var O=i(r-1);o.push("if(p0){b.push(",O.map((function(e){return"["+e.map((function(e){return"v"+e}))+"]"})).join(),")}else{b.push(",O.map((function(e){var t=e.slice();return t.reverse(),"["+t.map((function(e){return"v"+e}))+"]"})).join(),")}}});function ",a,"(array,level){var verts=[],cells=[];contour(array,verts,cells,level);return {positions:verts,cells:cells};} return ",a,";");for(u=0;u<f.length;++u)o.push(f[u].join(""));var M=new Function("genContour",o.join(""));return M(n)}function s(e,t){for(var r=o(e,t),n=r.length,i=new Array(n),a=new Array(n),s=0;s<n;++s)i[s]=[r[s]],a[s]=[s];return{positions:i,cells:a}}var l={};function u(e,t){if(e.dimension<=0)return{positions:[],cells:[]};if(1===e.dimension)return s(e,t);var r=e.order.join()+"-"+e.dtype,n=l[r];t=+t||0;return n||(n=l[r]=a(e.order,e.dtype)),n(e,t)}},b07b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GraphCreatePanel",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"GraphTransformsPanel",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"StyleLayoutPanel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"StyleAxesPanel",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"StyleMapsPanel",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"StyleLegendPanel",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"StyleNotesPanel",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"StyleShapesPanel",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"StyleSlidersPanel",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"StyleImagesPanel",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"StyleTracesPanel",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"StyleColorbarsPanel",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"StyleUpdateMenusPanel",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"GraphSubplotsPanel",{enumerable:!0,get:function(){return m.default}});var n=g(r("57a4")),i=g(r("8d19")),o=g(r("e8b50")),a=g(r("5295")),s=g(r("0bea")),l=g(r("f6dc")),u=g(r("cb42")),c=g(r("61ba")),f=g(r("1359")),p=g(r("40dd")),d=g(r("6d5b")),h=g(r("e750")),v=g(r("306b")),m=g(r("54b1"));function g(e){return e&&e.__esModule?e:{default:e}}},b092:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(r("ab5b")),o=f(r("d7bc")),a=r("4578"),s=f(r("5174")),l=f(r("e518")),u=r("7515"),c=f(r("76fe"));function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var S=(0,a.connectToContainer)(u.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){if(!r.fullValue)return r.isVisible=!0,void(r.fullValue=r.container.locationmode)}}),O=function(e){A(r,e);var t=_(r);function r(){return y(this,r),t.apply(this,arguments)}return x(r,[{key:"render",value:function(){var e=this.context.localize;return i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,{label:e("Locations"),attr:"locations"}),i.default.createElement(S,{label:e("Location Format"),attr:"locationmode",clearable:!1,options:[{label:e("GeoJSON feature"),value:"geojson-id"},{label:e("Country Names"),value:"country names"},{label:e("Country Abbreviations (ISO-3)"),value:"ISO-3"},{label:e("USA State Abbreviations (e.g. NY)"),value:"USA-states"}]}))}}]),r}(i.Component);O.propTypes=m({attr:o.default.string},s.default.propTypes),O.contextTypes={localize:o.default.func,updateContainer:o.default.func};var M=(0,a.connectToContainer)(O),P=function(e){A(r,e);var t=_(r);function r(e,n){var i;return y(this,r),i=t.call(this,e,n),i.state={mode:e.container.locations?"location":"latlon"},i.setMode=i.setMode.bind(k(i)),i}return x(r,[{key:"UNSAFE_componentWillMount",value:function(){this.setState({mode:this.props.container.locations?"location":"latlon"})}},{key:"setMode",value:function(e){this.setState({mode:e}),this.props.updateContainer("latlon"===e?{locations:null,locationmode:null,locationssrc:null,locationmodesrc:null}:{lat:null,lon:null,latsrc:null,lonsrc:null})}},{key:"render",value:function(){var e=this.state.mode,t=this.context,r=t.localize,n=t.container.type;return"scattergeo"===n?i.default.createElement(i.default.Fragment,null,i.default.createElement(s.default,h({},this.props,{attr:this.props.attr}),i.default.createElement(l.default,{options:[{value:"latlon",label:r("Lat/Lon")},{value:"location",label:r("Location")}],fullValue:e,updatePlot:this.setMode,attr:this.props.attr})),"latlon"===e?i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,{label:r("Latitude"),attr:"lat"}),i.default.createElement(c.default,{label:r("Longitude"),attr:"lon"})):i.default.createElement(M,{attr:"type"})):"choropleth"===n?i.default.createElement(M,{attr:"type"}):"choroplethmapbox"===n?i.default.createElement(c.default,{label:r("Locations"),attr:"locations"}):i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,{label:r("Latitude"),attr:"lat"}),i.default.createElement(c.default,{label:r("Longitude"),attr:"lon"}))}}]),r}(i.Component);P.propTypes=m({fullValue:o.default.any,updatePlot:o.default.func,attr:o.default.string},s.default.propTypes),P.contextTypes={container:o.default.object,localize:o.default.func,updateContainer:o.default.func};var B=(0,a.connectToContainer)(P);t.default=B},b0c0:function(e,t,r){var n=r("83ab"),i=r("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";n&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b0cc:function(e,t,r){"use strict";(function(e){var r={name:"teleport",props:{to:{type:String,required:!0},where:{type:String,default:"after"},disabled:Boolean},data:function(){return{nodes:[],waiting:!1,observer:null,parent:null}},watch:{to:"maybeMove",where:"maybeMove",disabled:function(e){e?(this.disable(),this.teardownObserver()):(this.bootObserver(),this.move())}},mounted:function(){this.nodes=Array.from(this.$el.childNodes),this.disabled||this.bootObserver(),this.maybeMove()},beforeDestroy:function(){this.disable(),this.teardownObserver()},computed:{classes:function(){return this.disabled?["teleporter"]:["teleporter","hidden"]}},methods:{maybeMove:function(){this.disabled||this.move()},move:function(){if(this.waiting=!1,this.parent=document.querySelector(this.to),!this.parent)return this.disable(),void(this.waiting=!0);"before"===this.where?this.parent.prepend(this.getFragment()):this.parent.appendChild(this.getFragment())},disable:function(){this.$el.appendChild(this.getFragment()),this.parent=null},getFragment:function(){var e=document.createDocumentFragment();return this.nodes.forEach((function(t){return e.appendChild(t)})),e},onMutations:function(e){for(var t=this,r=!1,n=0;n<e.length;n++){var i=e[n],o=Array.from(i.addedNodes).filter((function(e){return!t.nodes.includes(e)}));Array.from(i.removedNodes).includes(this.parent)?(this.disable(),this.waiting=!this.disabled):this.waiting&&o.length>0&&(r=!0)}r&&this.move()},bootObserver:function(){var e=this;this.observer||(this.observer=new MutationObserver((function(t){return e.onMutations(t)})),this.observer.observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}))},teardownObserver:function(){this.observer&&(this.observer.disconnect(),this.observer=null)}}};function n(e,t,r,n,i,o,a,s,l,u){"boolean"!==typeof a&&(l=s,s=a,a=!1);var c,f="function"===typeof r?r.options:r;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),n&&(f._scopeId=n),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=c):t&&(c=a?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(f.functional){var p=f.render;f.render=function(e,t){return c.call(t),p(e,t)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,c):[c]}return r}var i,o="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function a(e){return function(e,t){return l(e,t)}}var s={};function l(e,t){var r=o?t.media||"default":e,n=s[r]||(s[r]={ids:new Set,styles:[]});if(!n.ids.has(e)){n.ids.add(e);var a=t.source;if(t.map&&(a+="\n/*# sourceURL="+t.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",t.media&&n.element.setAttribute("media",t.media),void 0===i&&(i=document.head||document.getElementsByTagName("head")[0]),i.appendChild(n.element)),"styleSheet"in n.element)n.styles.push(a),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n");else{var l=n.ids.size-1,u=document.createTextNode(a),c=n.element.childNodes;c[l]&&n.element.removeChild(c[l]),c.length?n.element.insertBefore(u,c[l]):n.element.appendChild(u)}}}var u=r,c=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.classes},[e._t("default")],2)},f=[];c._withStripped=!0;var p=function(e){e&&e("data-v-d4e6e290_0",{source:".hidden[data-v-d4e6e290] {\n visibility: hidden;\n display: none;\n}\n\n/*# sourceMappingURL=Teleport.vue.map */",map:{version:3,sources:["/Users/shodan/Projects/vue2-teleport/src/Teleport.vue","Teleport.vue"],names:[],mappings:"AAuJA;EACA,kBAAA;EACA,aAAA;ACtJA;;AAEA,uCAAuC",file:"Teleport.vue",sourcesContent:["<template>\n <div :class=\"classes\">\n <slot/>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'teleport',\n props: {\n to: {\n type: String,\n required: true,\n },\n where: {\n type: String,\n default: 'after',\n },\n disabled: Boolean,\n },\n data() {\n return {\n nodes: [],\n waiting: false,\n observer: null,\n parent: null,\n };\n },\n watch: {\n to: 'maybeMove',\n where: 'maybeMove',\n disabled(value) {\n if (value) {\n this.disable();\n this.teardownObserver();\n } else {\n this.bootObserver();\n this.move();\n }\n },\n },\n mounted() {\n // Store a reference to the nodes\n this.nodes = Array.from(this.$el.childNodes);\n\n if (!this.disabled) {\n this.bootObserver();\n }\n\n // Move slot content to target\n this.maybeMove();\n },\n beforeDestroy() {\n // Move back\n this.disable();\n\n // Stop observing\n this.teardownObserver();\n },\n computed: {\n classes() {\n if (this.disabled) {\n return ['teleporter'];\n }\n\n return ['teleporter', 'hidden'];\n },\n },\n methods: {\n maybeMove() {\n if (!this.disabled) {\n this.move();\n }\n },\n move() {\n this.waiting = false;\n\n this.parent = document.querySelector(this.to);\n\n if (!this.parent) {\n this.disable();\n\n this.waiting = true;\n\n return;\n }\n\n if (this.where === 'before') {\n this.parent.prepend(this.getFragment());\n } else {\n this.parent.appendChild(this.getFragment());\n }\n },\n disable() {\n this.$el.appendChild(this.getFragment());\n this.parent = null;\n },\n // Using a fragment is faster because it'll trigger only a single reflow\n // See https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment\n getFragment() {\n const fragment = document.createDocumentFragment();\n\n this.nodes.forEach(node => fragment.appendChild(node));\n\n return fragment;\n },\n onMutations(mutations) {\n // Makes sure the move operation is only done once\n let shouldMove = false;\n\n for (let i = 0; i < mutations.length; i++) {\n const mutation = mutations[i];\n const filteredAddedNodes = Array.from(mutation.addedNodes).filter(node => !this.nodes.includes(node));\n\n if (Array.from(mutation.removedNodes).includes(this.parent)) {\n this.disable();\n this.waiting = !this.disabled;\n } else if (this.waiting && filteredAddedNodes.length > 0) {\n shouldMove = true;\n }\n }\n\n if (shouldMove) {\n this.move();\n }\n },\n bootObserver() {\n if (this.observer) {\n return;\n }\n\n this.observer = new MutationObserver(mutations => this.onMutations(mutations));\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n attributes: false,\n characterData: false,\n });\n },\n teardownObserver() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n },\n },\n};\n<\/script>\n\n<style scoped lang=\"scss\">\n.hidden {\n visibility: hidden;\n display: none;\n}\n</style>\n",".hidden {\n visibility: hidden;\n display: none;\n}\n\n/*# sourceMappingURL=Teleport.vue.map */"]},media:void 0})},d="data-v-d4e6e290",h=void 0,v=!1,m=n({render:c,staticRenderFns:f},p,u,d,v,h,!1,a,void 0,void 0);function g(e){g.installed||(g.installed=!0,e.component("Teleport",m))}var y={install:g},b=null;"undefined"!==typeof window?b=window.Vue:"undefined"!==typeof e&&(b=e.Vue),b&&b.use(y),t["a"]=m}).call(this,r("c8ba"))},b0f1:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("d115");e.exports=function(e,t,r){var a=r||n.select(e).selectAll("g.ohlclayer").selectAll("g.trace");a.style("opacity",(function(e){return e[0].trace.opacity})),a.each((function(e){var t=e[0].trace;n.select(this).selectAll("path").each((function(e){if(!e.empty){var r=t[e.dir].line;n.select(this).style("fill","none").call(o.stroke,r.color).call(i.dashLine,r.dash,r.width).style("opacity",t.selectedpoints&&!e.selected?.3:1)}}))}))}},b113:function(e,t,r){"use strict";const n=r("be00"),i=r("0103"),o=r("7b1c"),a=r("b7d1"),s=r("320c"),l=r("37cd"),{float32:u,fract32:c}=r("1d19");e.exports=p;const f=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function p(e,t){if("function"===typeof e?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let r,p,d,h,v,m,g=e._gl,y={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},b=[];return h=e.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),p=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),d=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),v=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),m=e.buffer({usage:"static",type:"float",data:f}),_(t),r=e({vert:"\n\t\tprecision highp float;\n\n\t\tattribute vec2 position, positionFract;\n\t\tattribute vec4 error;\n\t\tattribute vec4 color;\n\n\t\tattribute vec2 direction, lineOffset, capOffset;\n\n\t\tuniform vec4 viewport;\n\t\tuniform float lineWidth, capSize;\n\t\tuniform vec2 scale, scaleFract, translate, translateFract;\n\n\t\tvarying vec4 fragColor;\n\n\t\tvoid main() {\n\t\t\tfragColor = color / 255.;\n\n\t\t\tvec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;\n\n\t\t\tvec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;\n\n\t\t\tvec2 position = position + dxy;\n\n\t\t\tvec2 pos = (position + translate) * scale\n\t\t\t\t+ (positionFract + translateFract) * scale\n\t\t\t\t+ (position + translate) * scaleFract\n\t\t\t\t+ (positionFract + translateFract) * scaleFract;\n\n\t\t\tpos += pixelOffset / viewport.zw;\n\n\t\t\tgl_Position = vec4(pos * 2. - 1., 0, 1);\n\t\t}\n\t\t",frag:"\n\t\tprecision highp float;\n\n\t\tvarying vec4 fragColor;\n\n\t\tuniform float opacity;\n\n\t\tvoid main() {\n\t\t\tgl_FragColor = fragColor;\n\t\t\tgl_FragColor.a *= opacity;\n\t\t}\n\t\t",uniforms:{range:e.prop("range"),lineWidth:e.prop("lineWidth"),capSize:e.prop("capSize"),opacity:e.prop("opacity"),scale:e.prop("scale"),translate:e.prop("translate"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),viewport:(e,t)=>[t.viewport.x,t.viewport.y,e.viewportWidth,e.viewportHeight]},attributes:{color:{buffer:h,offset:(e,t)=>4*t.offset,divisor:1},position:{buffer:p,offset:(e,t)=>8*t.offset,divisor:1},positionFract:{buffer:d,offset:(e,t)=>8*t.offset,divisor:1},error:{buffer:v,offset:(e,t)=>16*t.offset,divisor:1},direction:{buffer:m,stride:24,offset:0},lineOffset:{buffer:m,stride:24,offset:8},capOffset:{buffer:m,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:!1,instances:e.prop("count"),count:f.length}),s(x,{update:_,draw:A,destroy:E,regl:e,gl:g,canvas:g.canvas,groups:b}),x;function x(e){e?_(e):null===e&&E(),A()}function A(t){if("number"===typeof t)return w(t);t&&!Array.isArray(t)&&(t=[t]),e._refresh(),b.forEach((e,r)=>{e&&(t&&(t[r]?e.draw=!0:e.draw=!1),e.draw?w(r):e.draw=!0)})}function w(e){"number"===typeof e&&(e=b[e]),null!=e&&e&&e.count&&e.color&&e.opacity&&e.positions&&e.positions.length>1&&(e.scaleRatio=[e.scale[0]*e.viewport.width,e.scale[1]*e.viewport.height],r(e),e.after&&e.after(e))}function _(e){if(!e)return;null!=e.length?"number"===typeof e[0]&&(e=[{positions:e}]):Array.isArray(e)||(e=[e]);let t=0,r=0;if(x.groups=b=e.map((e,u)=>{let f=b[u];return e?("function"===typeof e?e={after:e}:"number"===typeof e[0]&&(e={positions:e}),e=a(e,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),f||(b[u]=f={id:u,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},e=s({},y,e)),o(f,e,[{lineWidth:e=>.5*+e,capSize:e=>.5*+e,opacity:parseFloat,errors:e=>(e=l(e),r+=e.length,e),positions:(e,r)=>(e=l(e,"float64"),r.count=Math.floor(e.length/2),r.bounds=n(e,2),r.offset=t,t+=r.count,e)},{color:(e,t)=>{let r=t.count;if(e||(e="transparent"),!Array.isArray(e)||"number"===typeof e[0]){let t=e;e=Array(r);for(let n=0;n<r;n++)e[n]=t}if(e.length<r)throw Error("Not enough colors");let n=new Uint8Array(4*r);for(let o=0;o<r;o++){let t=i(e[o],"uint8");n.set(t,4*o)}return n},range:(e,t,r)=>{let n=t.bounds;return e||(e=n),t.scale=[1/(e[2]-e[0]),1/(e[3]-e[1])],t.translate=[-e[0],-e[1]],t.scaleFract=c(t.scale),t.translateFract=c(t.translate),e},viewport:e=>{let t;return Array.isArray(e)?t={x:e[0],y:e[1],width:e[2]-e[0],height:e[3]-e[1]}:e?(t={x:e.x||e.left||0,y:e.y||e.top||0},e.right?t.width=e.right-t.x:t.width=e.w||e.width||0,e.bottom?t.height=e.bottom-t.y:t.height=e.h||e.height||0):t={x:0,y:0,width:g.drawingBufferWidth,height:g.drawingBufferHeight},t}}]),f):f}),t||r){let e=b.reduce((e,t,r)=>e+(t?t.count:0),0),t=new Float64Array(2*e),r=new Uint8Array(4*e),n=new Float32Array(4*e);b.forEach((e,i)=>{if(!e)return;let{positions:o,count:a,offset:s,color:l,errors:u}=e;a&&(r.set(l,4*s),n.set(u,4*s),t.set(o,2*s))}),p(u(t)),d(c(t)),h(r),v(n)}}function E(){p.destroy(),d.destroy(),h.destroy(),v.destroy(),m.destroy()}}},b185:function(e,t,r){"use strict";e.exports=r("14cf")()?Array.from:r("8fe5")},b19b:function(e,t,r){"use strict";e.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},b1a4:function(e,t,r){"use strict";t.pointsAccessorFunction=function(e,t){for(var r,n,i=0;i<e.length;i++){if(r=e[i],r===t)break;r._indexToPoints&&!1!==r.enabled&&(n=r._indexToPoints)}var o=n?function(e){return n[e]}:function(e){return[e]};return o}},b1a8:function(e,t,r){"use strict";var n=r("fc26"),i=r("119e"),o=r("ad62").getSubplotData,a=r("0804"),s=r("45be"),l=a.axesNames;function u(e,t,r,i){var s=o(i.fullData,"geo",i.id),u=s.map((function(e){return e._expandedIndex})),c=r("resolution"),f=r("scope"),p=a.scopeDefaults[f],d=r("projection.type",p.projType),h=t._isAlbersUsa="albers usa"===d;h&&(f=t.scope="usa");var v=t._isScoped="world"!==f,m=t._isConic=-1!==d.indexOf("conic"),g=t._isClipped=!!a.lonaxisSpan[d];if(!1===e.visible){var y=n.extendDeep({},t._template);y.showcoastlines=!1,y.showcountries=!1,y.showframe=!1,y.showlakes=!1,y.showland=!1,y.showocean=!1,y.showrivers=!1,y.showsubunits=!1,y.lonaxis&&(y.lonaxis.showgrid=!1),y.lataxis&&(y.lataxis.showgrid=!1),t._template=y}for(var b,x=r("visible"),A=0;A<l.length;A++){var w,_=l[A],E=[30,10][A];if(v)w=p[_+"Range"];else{var k=a[_+"Span"],T=(k[d]||k["*"])/2,C=r("projection.rotation."+_.substr(0,3),p.projRotate[A]);w=[C-T,C+T]}var S=r(_+".range",w);r(_+".tick0"),r(_+".dtick",E),b=r(_+".showgrid",!!x&&void 0),b&&(r(_+".gridcolor"),r(_+".gridwidth")),t[_]._ax={type:"linear",_id:_.slice(0,3),_traceIndices:u,setScale:n.identity,c2l:n.identity,r2l:n.identity,autorange:!0,range:S.slice(),_m:1,_input:{}}}var O=t.lonaxis.range,M=t.lataxis.range,P=O[0],B=O[1];P>0&&B<0&&(B+=360);var L,D,I,j=(P+B)/2;if(!h){var R=v?p.projRotate:[j,0,0];L=r("projection.rotation.lon",R[0]),r("projection.rotation.lat",R[1]),r("projection.rotation.roll",R[2]),b=r("showcoastlines",!v&&x),b&&(r("coastlinecolor"),r("coastlinewidth")),b=r("showocean",!!x&&void 0),b&&r("oceancolor")}if(h?(D=-96.6,I=38.7):(D=v?j:L,I=(M[0]+M[1])/2),r("center.lon",D),r("center.lat",I),m){var F=p.projParallels||[0,60];r("projection.parallels",F)}r("projection.scale"),b=r("showland",!!x&&void 0),b&&r("landcolor"),b=r("showlakes",!!x&&void 0),b&&r("lakecolor"),b=r("showrivers",!!x&&void 0),b&&(r("rivercolor"),r("riverwidth")),b=r("showcountries",v&&"usa"!==f&&x),b&&(r("countrycolor"),r("countrywidth")),("usa"===f||"north america"===f&&50===c)&&(r("showsubunits",x),r("subunitcolor"),r("subunitwidth")),v||(b=r("showframe",x),b&&(r("framecolor"),r("framewidth"))),r("bgcolor");var N=r("fitbounds");N&&(delete t.projection.scale,v?(delete t.center.lon,delete t.center.lat):g?(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon,delete t.projection.rotation.lat,delete t.lonaxis.range,delete t.lataxis.range):(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon))}e.exports=function(e,t,r){i(e,t,r,{type:"geo",attributes:s,handleDefaults:u,fullData:r,partition:"y"})}},b1c6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={DefaultEditor:!0,EditorControls:!0,EDITOR_ACTIONS:!0};Object.defineProperty(t,"DefaultEditor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"EditorControls",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"EDITOR_ACTIONS",{enumerable:!0,get:function(){return s.EDITOR_ACTIONS}}),t.default=void 0;var i=f(r("303f")),o=f(r("a794")),a=f(r("8bcf")),s=r("e419"),l=r("4578");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=r("c85e");Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=r("b07b");function f(e){return e&&e.__esModule?e:{default:e}}Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var p=i.default;t.default=p},b1c9:function(e,t){function r(e){var t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],f=e[10],p=e[11],d=e[12],h=e[13],v=e[14],m=e[15],g=t*a-r*o,y=t*s-n*o,b=t*l-i*o,x=r*s-n*a,A=r*l-i*a,w=n*l-i*s,_=u*h-c*d,E=u*v-f*d,k=u*m-p*d,T=c*v-f*h,C=c*m-p*h,S=f*m-p*v;return g*S-y*C+b*T+x*k-A*E+w*_}e.exports=r},b1ca:function(e,t){function r(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e}e.exports=r},b1db:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("ab5b"),o=l(i),a=r("d7bc"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){for(var e=this.props,t=e.classNames,r=e.firstDayOfWeek,n=e.showWeekNumbers,i=e.weekdaysLong,a=e.weekdaysShort,s=e.locale,l=e.localeUtils,u=e.weekdayElement,c=[],f=0;f<7;f+=1){var p=(f+r)%7,d={key:f,className:t.weekday,weekday:p,weekdaysLong:i,weekdaysShort:a,localeUtils:l,locale:s},h=o.default.isValidElement(u)?o.default.cloneElement(u,d):o.default.createElement(u,d);c.push(h)}return o.default.createElement("div",{className:t.weekdays,role:"rowgroup"},o.default.createElement("div",{className:t.weekdaysRow,role:"row"},n&&o.default.createElement("div",{className:t.weekday}),c))}}]),t}(i.Component);p.propTypes={classNames:s.default.shape({weekday:s.default.string.isRequired,weekdays:s.default.string.isRequired,weekdaysRow:s.default.string.isRequired}).isRequired,firstDayOfWeek:s.default.number.isRequired,weekdaysLong:s.default.arrayOf(s.default.string),weekdaysShort:s.default.arrayOf(s.default.string),showWeekNumbers:s.default.bool,locale:s.default.string.isRequired,localeUtils:s.default.object.isRequired,weekdayElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(o.default.Component)])},t.default=p},b1e5:function(e,t,r){var n=r("a994"),i=1,o=Object.prototype,a=o.hasOwnProperty;function s(e,t,r,o,s,l){var u=r&i,c=n(e),f=c.length,p=n(t),d=p.length;if(f!=d&&!u)return!1;var h=f;while(h--){var v=c[h];if(!(u?v in t:a.call(t,v)))return!1}var m=l.get(e),g=l.get(t);if(m&&g)return m==t&&g==e;var y=!0;l.set(e,t),l.set(t,e);var b=u;while(++h<f){v=c[h];var x=e[v],A=t[v];if(o)var w=u?o(A,x,v,t,e,l):o(x,A,v,e,t,l);if(!(void 0===w?x===A||s(x,A,r,o,l):w)){y=!1;break}b||(b="constructor"==v)}if(y&&!b){var _=e.constructor,E=t.constructor;_==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof E&&E instanceof E||(y=!1)}return l["delete"](e),l["delete"](t),y}e.exports=s},b205:function(e,t,r){"use strict";var n=r("c1a7"),i=r("1ddb");function o(e){this.bindVertexArrayOES=e.bindVertexArray.bind(e),this.createVertexArrayOES=e.createVertexArray.bind(e),this.deleteVertexArrayOES=e.deleteVertexArray.bind(e)}function a(e,t,r,a){var s,l=e.createVertexArray?new o(e):e.getExtension("OES_vertex_array_object");return s=l?n(e,l):i(e),s.update(t,r,a),s}e.exports=a},b205c:function(e,t,r){"use strict";e.exports={eventDataKeys:["percentInitial","percentPrevious","percentTotal"]}},b207:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,3H21V5H3V3M9,7H21V9H9V7M3,11H21V13H3V11M9,15H21V17H9V15M3,19H21V21H3V19Z"}))};e.exports=s},b218:function(e,t){var r=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}e.exports=n},b289:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 20 20"},e),o.default.createElement("path",{d:"M3.42 5.38h2.5v12.06h-2.5zM6.45 5.38H8.7v2.97H6.45zM11.93 2.57h2.16v9.69h-2.16zM9.16 8.12h2.2v4.13h-2.2zM14.67 2.57h2.35v14.86h-2.35zM5.92 5.38h.52v.22h-.52z"}),o.default.createElement("path",{d:"M8.7 8.12h.52v.22H8.7zM11.27 12.03h.78v.22h-.78zM14.09 2.57h.78v.22h-.78z"}))};t.default=u},b2bb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n){var i=n.clientWidth,o=n.clientHeight,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),u=s-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(u<0)c=359;else if(u>o)c=0;else{var f=-100*u/o+100;c=360*f/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p=void 0;if(l<0)p=0;else if(l>i)p=359;else{var d=100*l/i;p=360*d/100}if(r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null}},b2dd:function(e,t,r){var n=r("0004"),i=r("eaff");function o(e){for(var t=Array.isArray(e)?e:n(e),r=0;r<t.length;r++){var o=t[r];if("preprocessor"===o.type){var a=o.data.match(/\#define\s+SHADER_NAME(_B64)?\s+(.+)$/);if(a&&a[2]){var s=a[1],l=a[2];return(s?i(l):l).trim()}}}}e.exports=o},b319:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"}))};e.exports=s},b326:function(e,t,r){"use strict";var n=20;e.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:n,SYMBOL_STROKE:n/20,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},b332:function(e,t){function r(e,t){var r={identity:t},n=e.valueOf;return Object.defineProperty(e,"valueOf",{value:function(e){return e!==t?n.apply(this,arguments):r},writable:!0}),r}e.exports=r},b336:function(e,t,r){e.exports=o;var n=r("7bbc"),i=r("21d9");function o(e,t){return i(n(e,t))}},b34d:function(e,t,r){"use strict";var n=r("e440"),i=r("52d8"),o=i.CIRCLE_SIDES,a=i.SQRT2,s=r("ac33"),l=s.p2r,u=s.r2p,c=[0,3,4,5,6,1,2],f=[0,3,4,1,2];function p(e,t){return Math.abs(e-t)<=1e-6}function d(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}t.writePaths=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n<t;n++)for(var i=e[n].length,o=0;o<i;o++){var a=e[n][o][0];if("Z"===a)r+="Z";else for(var s=e[n][o].length,l=0;l<s;l++){var u=l;"Q"===a||"S"===a?u=f[l]:"C"===a&&(u=c[l]),r+=e[n][o][u],l>0&&l<s-1&&(r+=",")}}return r},t.readPaths=function(e,t,r,i){var a,s,c,f=n(e),p=[],d=-1,h=function(){d++,p[d]=[]},v=0,m=0,g=function(){s=v,c=m};g();for(var y=0;y<f.length;y++){var b,x,A,w,_=[],E=f[y][0],k=E;switch(E){case"M":h(),v=+f[y][1],m=+f[y][2],_.push([k,v,m]),g();break;case"Q":case"S":b=+f[y][1],A=+f[y][2],v=+f[y][3],m=+f[y][4],_.push([k,v,m,b,A]);break;case"C":b=+f[y][1],A=+f[y][2],x=+f[y][3],w=+f[y][4],v=+f[y][5],m=+f[y][6],_.push([k,v,m,b,A,x,w]);break;case"T":case"L":v=+f[y][1],m=+f[y][2],_.push([k,v,m]);break;case"H":k="L",v=+f[y][1],_.push([k,v,m]);break;case"V":k="L",m=+f[y][1],_.push([k,v,m]);break;case"A":k="L";var T=+f[y][1],C=+f[y][2];+f[y][4]||(T=-T,C=-C);var S=v-T,O=m;for(a=1;a<=o/2;a++){var M=2*Math.PI*a/o;_.push([k,S+T*Math.cos(M),O+C*Math.sin(M)])}break;case"Z":v===s&&m===c||(v=s,m=c,_.push([k,v,m]));break}for(var P=(r||{}).domain,B=t._fullLayout._size,L=r&&"pixel"===r.xsizemode,D=r&&"pixel"===r.ysizemode,I=!1===i,j=0;j<_.length;j++){for(a=0;a+2<7;a+=2){var R=_[j][a+1],F=_[j][a+2];void 0!==R&&void 0!==F&&(v=R,m=F,r&&(r.xaxis&&r.xaxis.p2r?(I&&(R-=r.xaxis._offset),R=L?u(r.xaxis,r.xanchor)+R:l(r.xaxis,R)):(I&&(R-=B.l),P?R=P.x[0]+R/B.w:R/=B.w),r.yaxis&&r.yaxis.p2r?(I&&(F-=r.yaxis._offset),F=D?u(r.yaxis,r.yanchor)-F:l(r.yaxis,F)):(I&&(F-=B.t),F=P?P.y[1]-F/B.h:1-F/B.h)),_[j][a+1]=R,_[j][a+2]=F)}p[d].push(_[j].slice())}}return p},t.pointsShapeRectangle=function(e){var t=e.length;if(5!==t)return!1;for(var r=1;r<3;r++){var n=e[0][r]-e[1][r],i=e[3][r]-e[2][r];if(!p(n,i))return!1;var o=e[0][r]-e[3][r],a=e[1][r]-e[2][r];if(!p(o,a))return!1}return!(!p(e[0][1],e[1][1])&&!p(e[0][1],e[3][1]))&&!!(d(e[0],e[1])*d(e[0],e[3]))},t.pointsShapeEllipse=function(e){var t=e.length;if(t!==o+1)return!1;t=o;for(var r=0;r<t;r++){var n=(2*t-r)%t,i=(t/2+n)%t,a=(t/2+r)%t;if(!p(d(e[r],e[a]),d(e[n],e[i])))return!1}return!0},t.handleEllipse=function(e,r,n){if(!e)return[r,n];var i=t.ellipseOver({x0:r[0],y0:r[1],x1:n[0],y1:n[1]}),s=(i.x1+i.x0)/2,l=(i.y1+i.y0)/2,u=(i.x1-i.x0)/2,c=(i.y1-i.y0)/2;u||(u=c/=a),c||(c=u/=a);for(var f=[],p=0;p<o;p++){var d=2*p*Math.PI/o;f.push([s+u*Math.cos(d),l+c*Math.sin(d)])}return f},t.ellipseOver=function(e){var t=e.x0,r=e.y0,n=e.x1,i=e.y1,o=n-t,s=i-r;t-=o,r-=s;var l=(t+n)/2,u=(r+i)/2,c=a;return o*=c,s*=c,{x0:l-o,y0:u-s,x1:l+o,y1:u+s}}},b353:function(e,t,r){"use strict";var n=r("bb71");t.name="sunburst",t.plot=function(e,r,i,o){n.plotBasePlot(t.name,e,r,i,o)},t.clean=function(e,r,i,o){n.cleanBasePlot(t.name,e,r,i,o)}},b380:function(e,t,r){"use strict";var n=r("1126");e.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}},b3bc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{d:"M40.616 19.3a16.387 16.387 0 0 0-1.352-3.904 9.836 9.836 0 0 0-4.225-4.015c-6.17-3.152-13.563-4.731-20.021-1.298a23.665 23.665 0 0 0-4.74 3.47 14.357 14.357 0 0 0-3.28 3.934c-1.636 3.205-.982 6.997-.015 10.433a7.81 7.81 0 0 0 1.083 2.555 8.344 8.344 0 0 0 2.63 2.1c2.611 1.526 5.352 2.845 8.089 4.161a13.223 13.223 0 0 0 2.59 1.028 11.867 11.867 0 0 0 3.048.229 8.678 8.678 0 0 0 3.538-.623 8.95 8.95 0 0 0 2.162-1.622l6.115-5.645c2.223-2.053 4.584-4.37 4.83-7.288a10.951 10.951 0 0 0-.452-3.515zm-5.174 2.942c-.29 1.988-1.825 3.679-3.153 4.984a88.579 88.579 0 0 1-3.648 3.367 5.915 5.915 0 0 1-1.32.94 5.617 5.617 0 0 1-2.098.423 7.835 7.835 0 0 1-1.807-.076 9.038 9.038 0 0 1-1.8-.557 31.794 31.794 0 0 1-5.487-2.889 7.104 7.104 0 0 1-1.758-1.487q-.114-.146-.212-.3a5.426 5.426 0 0 1-.622-1.396 11.172 11.172 0 0 1-.476-3.496 6.775 6.775 0 0 1 .752-2.988 9.108 9.108 0 0 1 2.07-2.44 13.848 13.848 0 0 1 3.042-2.08 11.145 11.145 0 0 1 1.363-.556c3.693-1.236 7.762-.478 11.257 1.23a7.12 7.12 0 0 1 2.765 2.381 6.918 6.918 0 0 1 .995 2.566 6.94 6.94 0 0 1 .137 2.374z",fill:"#25fdfc",stroke:"#1d9bfb",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M34.31 17.302a7.12 7.12 0 0 0-2.765-2.382c-3.495-1.709-7.564-2.466-11.257-1.23a11.145 11.145 0 0 0-1.363.556 13.848 13.848 0 0 0-3.043 2.081 9.108 9.108 0 0 0-2.07 2.44 6.775 6.775 0 0 0-.75 2.987 11.172 11.172 0 0 0 .475 3.496 5.426 5.426 0 0 0 .622 1.397q.099.153.212.3a7.104 7.104 0 0 0 1.758 1.486 31.794 31.794 0 0 0 5.486 2.889 9.038 9.038 0 0 0 1.801.558 7.835 7.835 0 0 0 1.807.075 5.617 5.617 0 0 0 2.099-.423 5.915 5.915 0 0 0 1.319-.94 88.299 88.299 0 0 0 3.648-3.366c1.328-1.306 2.863-2.996 3.153-4.985a6.94 6.94 0 0 0-.137-2.373 6.918 6.918 0 0 0-.995-2.566z",fill:"#25fdfc",stroke:"#1d9bfb",opacity:".25",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M25.457 25.996c-1.787.083-3.494-1.142-4.914-2.724a2.032 2.032 0 0 1-.452-.69 2.44 2.44 0 0 1 .028-1.4 3.985 3.985 0 0 1 1.368-2.08 4.888 4.888 0 0 1 1.922-.854 6.99 6.99 0 0 1 5.948.96c1.604 1.233-.197 4.086-1.018 5.142a3.975 3.975 0 0 1-2.882 1.646z",fill:"#fff",stroke:"#1d9bfb",strokeMiterlimit:"10",strokeWidth:"2"}))};t.default=u},b3ca:function(e,t,r){"use strict";var n=r("0984"),i=r("904e"),o=n.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return o&&e.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(e){return o?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:i};e.exports=a},b3f5:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("ab5b")),o=l(r("d7bc")),a=l(r("99fb")),s=r("dccc");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var A=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"render",value:function(){var e=this.props,t=e.currentStyle,r=e.linkIsSelected,n=e.styles,o=e.onToggle,l=function(e,t){return t===s.LINK?r:"function"===typeof e.has?e.has(t):Boolean(e.value)};return i.default.createElement("div",{className:"rich-text-editor__controls"},n.map((function(e){var r=e.label,n=e.value;return i.default.createElement(a.default,{key:n,active:l(t,n),label:r,onToggle:o,value:n})})))}}]),r}(i.Component);A.propTypes={onToggle:o.default.func.isRequired,styles:o.default.arrayOf(o.default.shape({label:o.default.element.isRequired,value:o.default.string.isRequired})).isRequired,currentStyle:o.default.object,linkIsSelected:o.default.bool};var w=A;t.default=w},b42a:function(e,t,r){var n=r("ae14");e.exports=function(e){return n[e]}},b43b:function(e,t,r){"use strict";var n=r("1385"),i=r("b778"),o=r("ae13"),a=r("dc75").sorterAsc,s=r("371e");t.containerArrayMatch=r("a7de");var l=t.isAddVal=function(e){return"add"===e||n(e)},u=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,r,n,c){var f=t.astr,p=s.getComponentMethod(f,"supplyLayoutDefaults"),d=s.getComponentMethod(f,"draw"),h=s.getComponentMethod(f,"drawOne"),v=n.replot||n.recalc||p===i||d===i,m=e.layout,g=e._fullLayout;if(r[""]){Object.keys(r).length>1&&o.warn("Full array edits are incompatible with other edits",f);var y=r[""][""];if(u(y))t.set(null);else{if(!Array.isArray(y))return o.warn("Unrecognized full array edit value",f,y),!0;t.set(y)}return!v&&(p(m,g),d(e),!0)}var b,x,A,w,_,E,k,T,C=Object.keys(r).map(Number).sort(a),S=t.get(),O=S||[],M=c(g,f).get(),P=[],B=-1,L=O.length;for(b=0;b<C.length;b++)if(A=C[b],w=r[A],_=Object.keys(w),E=w[""],k=l(E),A<0||A>O.length-(k?0:1))o.warn("index out of range",f,A);else if(void 0!==E)_.length>1&&o.warn("Insertion & removal are incompatible with edits to the same index.",f,A),u(E)?P.push(A):k?("add"===E&&(E={}),O.splice(A,0,E),M&&M.splice(A,0,{})):o.warn("Unrecognized full object edit value",f,A,E),-1===B&&(B=A);else for(x=0;x<_.length;x++)T=f+"["+A+"].",c(O[A],_[x],T).set(w[_[x]]);for(b=P.length-1;b>=0;b--)O.splice(P[b],1),M&&M.splice(P[b],1);if(O.length?S||t.set(O):t.set(null),v)return!1;if(p(m,g),h!==i){var D;if(-1===B)D=C;else{for(L=Math.max(O.length,L),D=[],b=0;b<C.length;b++){if(A=C[b],A>=B)break;D.push(A)}for(b=B;b<L;b++)D.push(b)}for(b=0;b<D.length;b++)h(e,D[b])}else d(e);return!0}},b44d:function(e,t,r){"use strict";var n=r("9ed4"),i=n("./shaders/fragment.glsl");e.exports={lineVert:n("./shaders/line-vertex.glsl"),lineFrag:i,textVert:n("./shaders/text-vertex.glsl"),textFrag:i,gridVert:n("./shaders/grid-vertex.glsl"),gridFrag:i,boxVert:n("./shaders/box-vertex.glsl"),tickVert:n("./shaders/tick-vertex.glsl")}},b482:function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},b4a1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 17.993999481201172 16"},e),o.default.createElement("path",{d:"M2.998 1.019V1L.006 4.008 3 7h15V1.019H2.998zm0 7.988v-.015L.006 11.994 3 15h15V9l-15.002.007z"}))};t.default=u},b4a5:function(e,t,r){"use strict";function n(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function i(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function o(){return{width:window.innerWidth||n(),height:window.innerHeight||i()}}o.withoutScrollbars=function(){return{width:n(),height:i()}},e.exports=o},b4b0:function(e,t,r){var n=r("8d74"),i=r("1a8c"),o=r("ffd6"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):s.test(e)?a:+e}e.exports=f},b4c0:function(e,t,r){var n=r("cb5a");function i(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}e.exports=i},b4c7:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("83d1");function a(e,t,r){var a=r||n.select(e).selectAll("g.trace.boxes");a.style("opacity",(function(e){return e[0].trace.opacity})),a.each((function(t){var r=n.select(this),a=t[0].trace,s=a.line.width;function l(e,t,r,n){e.style("stroke-width",t+"px").call(i.stroke,r).call(i.fill,n)}var u=r.selectAll("path.box");if("candlestick"===a.type)u.each((function(e){if(!e.empty){var t=n.select(this),r=a[e.dir];l(t,r.line.width,r.line.color,r.fillcolor),t.style("opacity",a.selectedpoints&&!e.selected?.3:1)}}));else{l(u,s,a.line.color,a.fillcolor),r.selectAll("path.mean").style({"stroke-width":s,"stroke-dasharray":2*s+"px,"+s+"px"}).call(i.stroke,a.line.color);var c=r.selectAll("path.point");o.pointStyle(c,a,e)}}))}function s(e,t,r){var n=t[0].trace,i=r.selectAll("path.point");n.selectedpoints?o.selectedPointStyle(i,n):o.pointStyle(i,n,e)}e.exports={style:a,styleOnSelect:s}},b4fd:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cursorHasLink=s,t.getEntityByKey=l,t.getEntityKeyAt=u,t.handleKeyCommand=c,t.insertSoftNewline=f,t.toggleInlineStyle=p,t.toggleLink=d,t.toggleMutuallyExclusiveStyles=h;var n=r("bfcd"),i=r("7f23"),o=r("dccc");function a(e,t){return!t.isCollapsed()&&s(e,t)}function s(e,t){var r=l(u(e,t));return Boolean(r&&r.get("type")===o.LINK)}function l(e){return e?n.Entity.get(e):null}function u(e,t){if(!t)return null;var r=t.getStartKey(),n=t.getStartOffset(),i=e.getCurrentContent(),o=i.getBlockForKey(r);return o.getEntityAt(n)}function c(e,t){switch(t){case"split-block":return f(e);case"bold":return p(e,o.BOLD);case"italic":return p(e,o.ITALIC);default:return!1}}function f(e){var t=e,r=t.getCurrentInlineStyle();t=r.reduce((function(e,t){return n.RichUtils.toggleInlineStyle(e,t)}),t);var o=t.getSelection(),a=o.getStartOffset(),s=o.getEndOffset();if(s-a!==0){var l=(0,i.removeRange)(t.getCurrentContent(),o,"back");t=n.EditorState.push(t,l,"backspace-character")}return n.RichUtils.insertSoftNewline(t)}function p(e,t){if(t===o.LINK)return d(e);var r=h(e,t);return n.RichUtils.toggleInlineStyle(r,t)}function d(e){var t=e.getSelection();if(a(e,t))return n.RichUtils.toggleLink(e,t,null);var r=n.Entity.create(o.LINK,"MUTABLE",{url:""});return n.RichUtils.toggleLink(e,t,r)}function h(e,t){var r=e.getCurrentInlineStyle();return t===o.SUBSCRIPT&&r.includes(o.SUPERSCRIPT)?n.RichUtils.toggleInlineStyle(e,o.SUPERSCRIPT):t===o.SUPERSCRIPT&&r.includes(o.SUBSCRIPT)?n.RichUtils.toggleInlineStyle(e,o.SUBSCRIPT):e}},b50d:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M15,9H5V5H15M12,19C10.34,19 9,17.66 9,16C9,14.34 10.34,13 12,13C13.66,13 15,14.34 15,16C15,17.66 13.66,19 12,19M17,3H5C3.89,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V7L17,3Z"}))};e.exports=s},b530:function(e,t,r){e.exports=r("40ce")({args:["array",{offset:[1],array:0},"scalar","scalar","index"],pre:{body:"{}",args:[],thisVars:[],localVars:[]},post:{body:"{}",args:[],thisVars:[],localVars:[]},body:{body:"{\n var _inline_1_da = _inline_1_arg0_ - _inline_1_arg3_\n var _inline_1_db = _inline_1_arg1_ - _inline_1_arg3_\n if((_inline_1_da >= 0) !== (_inline_1_db >= 0)) {\n _inline_1_arg2_.push(_inline_1_arg4_[0] + 0.5 + 0.5 * (_inline_1_da + _inline_1_db) / (_inline_1_da - _inline_1_db))\n }\n }",args:[{name:"_inline_1_arg0_",lvalue:!1,rvalue:!0,count:1},{name:"_inline_1_arg1_",lvalue:!1,rvalue:!0,count:1},{name:"_inline_1_arg2_",lvalue:!1,rvalue:!0,count:1},{name:"_inline_1_arg3_",lvalue:!1,rvalue:!0,count:2},{name:"_inline_1_arg4_",lvalue:!1,rvalue:!0,count:1}],thisVars:[],localVars:["_inline_1_da","_inline_1_db"]},funcName:"zeroCrossings"})},b539:function(e,t,r){"use strict";var n=r("0cec").setGroupPositions;e.exports=function(e,t){var r,i,o=e._fullLayout,a=e._fullData,s=e.calcdata,l=t.xaxis,u=t.yaxis,c=[],f=[],p=[];for(i=0;i<a.length;i++){var d=a[i];!0===d.visible&&d.xaxis===l._id&&d.yaxis===u._id&&"waterfall"===d.type&&(r=s[i],"h"===d.orientation?p.push(r):f.push(r),c.push(r))}var h={mode:o.waterfallmode,norm:o.waterfallnorm,gap:o.waterfallgap,groupgap:o.waterfallgroupgap};for(n(e,l,u,f,h),n(e,u,l,p,h),i=0;i<c.length;i++){r=c[i];for(var v=0;v<r.length;v++){var m=r[v];!1===m.isSum&&(m.s0+=0===v?0:r[v-1].s),v+1<r.length&&(r[v].nextP0=r[v+1].p0,r[v].nextS0=r[v+1].s0)}}}},b575:function(e,t,r){var n,i,o,a,s,l,u,c,f=r("da84"),p=r("06cf").f,d=r("c6b6"),h=r("2cf4").set,v=r("1cdc"),m=f.MutationObserver||f.WebKitMutationObserver,g=f.process,y=f.Promise,b="process"==d(g),x=p(f,"queueMicrotask"),A=x&&x.value;A||(n=function(){var e,t;b&&(e=g.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},b?a=function(){g.nextTick(n)}:m&&!v?(s=!0,l=document.createTextNode(""),new m(n).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),c=u.then,a=function(){c.call(u,n)}):a=function(){h.call(f,n)}),e.exports=A||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},b5a1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M.004 1v14h14V1h-14zM11 9H3V7h8v2z"}))};t.default=u},b5a7:function(e,t,r){var n=r("0b07"),i=r("2b3e"),o=n(i,"DataView");e.exports=o},b5bb:function(e,t,r){var n=r("20314"),i=r("044b"),o="undefined"!==typeof Float64Array;function a(e,t){return e[0]-t[0]}function s(){var e,t=this.stride,r=new Array(t.length);for(e=0;e<r.length;++e)r[e]=[Math.abs(t[e]),e];r.sort(a);var n=new Array(r.length);for(e=0;e<n.length;++e)n[e]=r[e][1];return n}function l(e,t){var r=["View",t,"d",e].join("");t<0&&(r="View_Nil"+e);var i="generic"===e;if(-1===t){var o="function "+r+"(a){this.data=a;};var proto="+r+".prototype;proto.dtype='"+e+"';proto.index=function(){return -1};proto.size=0;proto.dimension=-1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function(){return new "+r+"(this.data);};proto.get=proto.set=function(){};proto.pick=function(){return null};return function construct_"+r+"(a){return new "+r+"(a);}",a=new Function(o);return a()}if(0===t){o="function "+r+"(a,d) {this.data = a;this.offset = d};var proto="+r+".prototype;proto.dtype='"+e+"';proto.index=function(){return this.offset};proto.dimension=0;proto.size=1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function "+r+"_copy() {return new "+r+"(this.data,this.offset)};proto.pick=function "+r+"_pick(){return TrivialArray(this.data);};proto.valueOf=proto.get=function "+r+"_get(){return "+(i?"this.data.get(this.offset)":"this.data[this.offset]")+"};proto.set=function "+r+"_set(v){return "+(i?"this.data.set(this.offset,v)":"this.data[this.offset]=v")+"};return function construct_"+r+"(a,b,c,d){return new "+r+"(a,d)}",a=new Function("TrivialArray",o);return a(c[e][0])}o=["'use strict'"];var l=n(t),u=l.map((function(e){return"i"+e})),f="this.offset+"+l.map((function(e){return"this.stride["+e+"]*i"+e})).join("+"),p=l.map((function(e){return"b"+e})).join(","),d=l.map((function(e){return"c"+e})).join(",");o.push("function "+r+"(a,"+p+","+d+",d){this.data=a","this.shape=["+p+"]","this.stride=["+d+"]","this.offset=d|0}","var proto="+r+".prototype","proto.dtype='"+e+"'","proto.dimension="+t),o.push("Object.defineProperty(proto,'size',{get:function "+r+"_size(){return "+l.map((function(e){return"this.shape["+e+"]"})).join("*"),"}})"),1===t?o.push("proto.order=[0]"):(o.push("Object.defineProperty(proto,'order',{get:"),t<4?(o.push("function "+r+"_order(){"),2===t?o.push("return (Math.abs(this.stride[0])>Math.abs(this.stride[1]))?[1,0]:[0,1]}})"):3===t&&o.push("var s0=Math.abs(this.stride[0]),s1=Math.abs(this.stride[1]),s2=Math.abs(this.stride[2]);if(s0>s1){if(s1>s2){return [2,1,0];}else if(s0>s2){return [1,2,0];}else{return [1,0,2];}}else if(s0>s2){return [2,0,1];}else if(s2>s1){return [0,1,2];}else{return [0,2,1];}}})")):o.push("ORDER})")),o.push("proto.set=function "+r+"_set("+u.join(",")+",v){"),i?o.push("return this.data.set("+f+",v)}"):o.push("return this.data["+f+"]=v}"),o.push("proto.get=function "+r+"_get("+u.join(",")+"){"),i?o.push("return this.data.get("+f+")}"):o.push("return this.data["+f+"]}"),o.push("proto.index=function "+r+"_index(",u.join(),"){return "+f+"}"),o.push("proto.hi=function "+r+"_hi("+u.join(",")+"){return new "+r+"(this.data,"+l.map((function(e){return["(typeof i",e,"!=='number'||i",e,"<0)?this.shape[",e,"]:i",e,"|0"].join("")})).join(",")+","+l.map((function(e){return"this.stride["+e+"]"})).join(",")+",this.offset)}");var h=l.map((function(e){return"a"+e+"=this.shape["+e+"]"})),v=l.map((function(e){return"c"+e+"=this.stride["+e+"]"}));o.push("proto.lo=function "+r+"_lo("+u.join(",")+"){var b=this.offset,d=0,"+h.join(",")+","+v.join(","));for(var m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'&&i"+m+">=0){d=i"+m+"|0;b+=c"+m+"*d;a"+m+"-=d}");o.push("return new "+r+"(this.data,"+l.map((function(e){return"a"+e})).join(",")+","+l.map((function(e){return"c"+e})).join(",")+",b)}"),o.push("proto.step=function "+r+"_step("+u.join(",")+"){var "+l.map((function(e){return"a"+e+"=this.shape["+e+"]"})).join(",")+","+l.map((function(e){return"b"+e+"=this.stride["+e+"]"})).join(",")+",c=this.offset,d=0,ceil=Math.ceil");for(m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'){d=i"+m+"|0;if(d<0){c+=b"+m+"*(a"+m+"-1);a"+m+"=ceil(-a"+m+"/d)}else{a"+m+"=ceil(a"+m+"/d)}b"+m+"*=d}");o.push("return new "+r+"(this.data,"+l.map((function(e){return"a"+e})).join(",")+","+l.map((function(e){return"b"+e})).join(",")+",c)}");var g=new Array(t),y=new Array(t);for(m=0;m<t;++m)g[m]="a[i"+m+"]",y[m]="b[i"+m+"]";o.push("proto.transpose=function "+r+"_transpose("+u+"){"+u.map((function(e,t){return e+"=("+e+"===undefined?"+t+":"+e+"|0)"})).join(";"),"var a=this.shape,b=this.stride;return new "+r+"(this.data,"+g.join(",")+","+y.join(",")+",this.offset)}"),o.push("proto.pick=function "+r+"_pick("+u+"){var a=[],b=[],c=this.offset");for(m=0;m<t;++m)o.push("if(typeof i"+m+"==='number'&&i"+m+">=0){c=(c+this.stride["+m+"]*i"+m+")|0}else{a.push(this.shape["+m+"]);b.push(this.stride["+m+"])}");o.push("var ctor=CTOR_LIST[a.length+1];return ctor(this.data,a,b,c)}"),o.push("return function construct_"+r+"(data,shape,stride,offset){return new "+r+"(data,"+l.map((function(e){return"shape["+e+"]"})).join(",")+","+l.map((function(e){return"stride["+e+"]"})).join(",")+",offset)}");a=new Function("CTOR_LIST","ORDER",o.join("\n"));return a(c[e],s)}function u(e){if(i(e))return"buffer";if(o)switch(Object.prototype.toString.call(e)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(e)?"array":"generic"}var c={float32:[],float64:[],int8:[],int16:[],int32:[],uint8:[],uint16:[],uint32:[],array:[],uint8_clamped:[],bigint64:[],biguint64:[],buffer:[],generic:[]};function f(e,t,r,n){if(void 0===e){var i=c.array[0];return i([])}"number"===typeof e&&(e=[e]),void 0===t&&(t=[e.length]);var o=t.length;if(void 0===r){r=new Array(o);for(var a=o-1,s=1;a>=0;--a)r[a]=s,s*=t[a]}if(void 0===n){n=0;for(a=0;a<o;++a)r[a]<0&&(n-=(t[a]-1)*r[a])}var f=u(e),p=c[f];while(p.length<=o+1)p.push(l(f,p.length-1));i=p[o+1];return i(e,t,r,n)}e.exports=f},b5e2:function(e,t,r){"use strict";var n=r("371e").traceIs,i=r("0b77");function o(e,t){if("-"===e.type){var r,o=e._id,u=o.charAt(0);-1!==o.indexOf("scene")&&(o=u);var c=a(t,o,u);if(c)if("histogram"!==c.type||u!=={v:"y",h:"x"}[c.orientation||"v"]){var f=u+"calendar",p=c[f],d={noMultiCategory:!n(c,"cartesian")||n(c,"noMultiCategory")};if("box"===c.type&&c._hasPreCompStats&&u==={h:"x",v:"y"}[c.orientation||"v"]&&(d.noMultiCategory=!0),d.autotypenumbers=e.autotypenumbers,l(c,u)){var h=s(c),v=[];for(r=0;r<t.length;r++){var m=t[r];n(m,"box-violin")&&(m[u+"axis"]||u)===o&&(void 0!==m[h]?v.push(m[h][0]):void 0!==m.name?v.push(m.name):v.push("text"),m[f]!==p&&(p=void 0))}e.type=i(v,p,d)}else if("splom"===c.type){var g=c.dimensions,y=g[c._axesDim[o]];y.visible&&(e.type=i(y.values,p,d))}else e.type=i(c[u]||[c[u+"0"]],p,d)}else e.type="linear"}}function a(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];if("splom"===i.type&&i._length>0&&(i["_"+r+"axes"]||{})[t])return i;if((i[r+"axis"]||r)===t){if(l(i,r))return i;if((i[r]||[]).length||i[r+"0"])return i}}}function s(e){return{v:"x",h:"y"}[e.orientation||"v"]}function l(e,t){var r=s(e),i=n(e,"box-violin"),o=n(e._fullInput||{},"candlestick");return i&&!o&&t===r&&void 0===e[r]&&void 0===e[r+"0"]}e.exports=function(e,t,r,n){r("autotypenumbers",n.autotypenumbersDflt);var i=r("type",(n.splomStash||{}).type);"-"===i&&(o(t,n.data),"-"===t.type?t.type="linear":e.type=t.type)}},b5e3:function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("2c8d"),a=r("fc26"),s=a.nestedProperty,l=r("8741"),u=r("c6b6b"),c=r("371e"),f=r("6921"),p=r("bb71"),d=r("5506"),h=r("0642"),v=r("83d1"),m=r("d115"),g=r("1aea").initInteractions,y=r("73c9"),b=r("0379"),x=r("1876").clearSelect,A=r("3ff5").dfltConfig,w=r("b43b"),_=r("c497"),E=r("a392"),k=r("cb34"),T=r("d301").AX_NAME_PATTERN,C=0,S=5;function O(e,r,i,o){var s;if(e=a.getGraphDiv(e),l.init(e),a.isPlainObject(r)){var u=r;r=u.data,i=u.layout,o=u.config,s=u.frames}var f=l.triggerHandler(e,"plotly_beforeplot",[r,i,o]);if(!1===f)return Promise.reject();function d(){if(s)return t.addFrames(e,s)}r||i||a.isPlotDiv(e)||a.warn("Calling Plotly.plot as if redrawing but this container doesn't yet have a plot.",e),D(e,o),i||(i={}),n.select(e).classed("js-plotly-plot",!0),v.makeTester(),Array.isArray(e._promises)||(e._promises=[]);var m=0===(e.data||[]).length&&Array.isArray(r);Array.isArray(r)&&(_.cleanData(r),m?e.data=r:e.data.push.apply(e.data,r),e.empty=!1),e.layout&&!m||(e.layout=_.cleanLayout(i)),p.supplyDefaults(e);var y=e._fullLayout,b=y._has("cartesian");if(!y._has("polar")&&r&&r[0]&&r[0].r)return a.log("Legacy polar charts are deprecated!"),I(e,r,i);y._replotting=!0,(m||y._shouldCreateBgLayer)&&(Be(e),y._shouldCreateBgLayer&&delete y._shouldCreateBgLayer),e.framework!==Be&&(e.framework=Be,Be(e)),v.initGradients(e),m&&h.saveShowSpikeInitial(e);var x=!e.calcdata||e.calcdata.length!==(e._fullData||[]).length;x&&p.doCalcdata(e);for(var A=0;A<e.calcdata.length;A++)e.calcdata[A][0].trace=e._fullData[A];e._context.responsive?e._responsiveChartHandler||(e._responsiveChartHandler=function(){a.isHidden(e)||p.resize(e)},window.addEventListener("resize",e._responsiveChartHandler)):a.clearResponsive(e);var w=a.extendFlat({},y._size),k=0;function T(){for(var t=y._basePlotModules,r=0;r<t.length;r++)t[r].drawFramework&&t[r].drawFramework(e);if(!y._glcanvas&&y._has("gl")&&(y._glcanvas=y._glcontainer.selectAll(".gl-canvas").data([{key:"contextLayer",context:!0,pick:!1},{key:"focusLayer",context:!1,pick:!1},{key:"pickLayer",context:!1,pick:!0}],(function(e){return e.key})),y._glcanvas.enter().append("canvas").attr("class",(function(e){return"gl-canvas gl-canvas-"+e.key.replace("Layer","")})).style({position:"absolute",top:0,left:0,overflow:"visible","pointer-events":"none"})),y._glcanvas){y._glcanvas.attr("width",y.width).attr("height",y.height);var n=y._glcanvas.data()[0].regl;if(n&&(Math.floor(y.width)!==n._gl.drawingBufferWidth||Math.floor(y.height)!==n._gl.drawingBufferHeight)){var i="WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.";if(!k)return a.log(i+" Clearing graph and plotting again."),p.cleanPlot([],{},e._fullData,y),p.supplyDefaults(e),y=e._fullLayout,p.doCalcdata(e),k++,T();a.error(i)}}return"h"===y.modebar.orientation?y._modebardiv.style("height",null).style("width","100%"):y._modebardiv.style("width",null).style("height",y.height+"px"),p.previousPromises(e)}function C(){if(p.clearAutoMarginIds(e),E.drawMarginPushers(e),h.allowAutoMargin(e),y._has("pie"))for(var t=e._fullData,r=0;r<t.length;r++){var n=t[r];"pie"===n.type&&n.automargin&&p.allowAutoMargin(e,"pie."+n.uid+".automargin")}return p.doAutoMargin(e),p.previousPromises(e)}function S(){if(p.didMarginChange(w,y._size))return a.syncOrAsync([C,E.layoutStyles],e)}function O(){if(x)return a.syncOrAsync([c.getComponentMethod("shapes","calcAutorange"),c.getComponentMethod("annotations","calcAutorange"),P],e);P()}function P(){e._transitioning||(E.doAutoRangeAndConstraints(e),m&&h.saveRangeInitial(e),c.getComponentMethod("rangeslider","calcAutorange")(e))}function B(){return h.draw(e,m?"":"redraw")}var L=[p.previousPromises,d,T,C,S];function j(e){e._fullLayout._insideTickLabelsAutorange&&m&&h.saveRangeInitial(e,!0)}b&&L.push(O),L.push(E.layoutStyles),b&&L.push(B,(function(e){e._fullLayout._insideTickLabelsAutorange&&ie(e,e._fullLayout._insideTickLabelsAutorange).then((function(){e._fullLayout._insideTickLabelsAutorange=void 0}))})),L.push(E.drawData,E.finalDraw,g,p.addLinks,p.rehover,p.redrag,p.doAutoMargin,j,p.previousPromises);var R=a.syncOrAsync(L,e);return R&&R.then||(R=Promise.resolve()),R.then((function(){return M(e),e}))}function M(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function P(e){return a.extendFlat(A,e)}function B(e,t){try{e._fullLayout._paper.style("background",t)}catch(r){a.error(r)}}function L(e,t){var r=m.combine(t,"white");B(e,r)}function D(e,t){if(!e._context){e._context=a.extendDeep({},A);var r=n.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var i,s,l,u=e._context;if(t){for(s=Object.keys(t),i=0;i<s.length;i++)l=s[i],"editable"!==l&&"edits"!==l&&l in u&&("setBackground"===l&&"opaque"===t[l]?u[l]=L:u[l]=t[l]);t.plot3dPixelRatio&&!u.plotGlPixelRatio&&(u.plotGlPixelRatio=u.plot3dPixelRatio);var c=t.editable;if(void 0!==c)for(u.editable=c,s=Object.keys(u.edits),i=0;i<s.length;i++)u.edits[s[i]]=c;if(t.edits)for(s=Object.keys(t.edits),i=0;i<s.length;i++)l=s[i],l in u.edits&&(u.edits[l]=t.edits[l]);u._exportedPlot=t._exportedPlot}u.staticPlot&&(u.editable=!1,u.edits={},u.autosizable=!1,u.scrollZoom=!1,u.doubleClick=!1,u.showTips=!1,u.showLink=!1,u.displayModeBar=!1),"hover"!==u.displayModeBar||o||(u.displayModeBar=!0),"transparent"!==u.setBackground&&"function"===typeof u.setBackground||(u.setBackground=B),u._hasZeroHeight=u._hasZeroHeight||0===e.clientHeight,u._hasZeroWidth=u._hasZeroWidth||0===e.clientWidth;var f=u.scrollZoom,p=u._scrollZoom={};if(!0===f)p.cartesian=1,p.gl3d=1,p.geo=1,p.mapbox=1;else if("string"===typeof f){var d=f.split("+");for(i=0;i<d.length;i++)p[d[i]]=1}else!1!==f&&(p.gl3d=1,p.geo=1,p.mapbox=1)}function I(e,t,r){var i=n.select(e).selectAll(".plot-container").data([0]);i.enter().insert("div",":first-child").classed("plot-container plotly",!0);var o=i.selectAll(".svg-container").data([0]);o.enter().append("div").classed("svg-container",!0).style("position","relative"),o.html(""),t&&(e.data=t),r&&(e.layout=r),d.manager.fillLayout(e),o.style({width:e._fullLayout.width+"px",height:e._fullLayout.height+"px"}),e.framework=d.manager.framework(e),e.framework({data:e.data,layout:e.layout},o.node()),e.framework.setUndoPoint();var s=e.framework.svg(),l=1,u=e._fullLayout.title?e._fullLayout.title.text:"";""!==u&&u||(l=0);var c=function(){this.call(b.convertToTspans,e)},f=s.select(".title-group text").call(c);if(e._context.edits.titleText){var h=a._(e,"Click to enter Plot title");u&&u!==h||(l=.2,f.attr({"data-unformatted":h}).text(h).style({opacity:l}).on("mouseover.opacity",(function(){n.select(this).transition().duration(100).style("opacity",1)})).on("mouseout.opacity",(function(){n.select(this).transition().duration(1e3).style("opacity",0)})));var v=function(){this.call(b.makeEditable,{gd:e}).on("edit",(function(t){e.framework({layout:{title:{text:t}}}),this.text(t).call(c),this.call(v)})).on("cancel",(function(){var e=this.attr("data-unformatted");this.text(e).call(c)}))};f.call(v)}return e._context.setBackground(e,e._fullLayout.paper_bgcolor),p.addLinks(e),Promise.resolve()}function j(e){if(e=a.getGraphDiv(e),!a.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e);return _.cleanData(e.data),_.cleanLayout(e.layout),e.calcdata=void 0,t.plot(e).then((function(){return e.emit("plotly_redraw"),e}))}function R(e,r,n,i){return e=a.getGraphDiv(e),p.cleanPlot([],{},e._fullData||[],e._fullLayout||{}),p.purge(e),t.plot(e,r,n,i)}function F(e,t){var r,n,i=t+1,o=[];for(r=0;r<e.length;r++)n=e[r],n<0?o.push(i+n):o.push(n);return o}function N(e,t,r){var n,i;for(n=0;n<t.length;n++){if(i=t[n],i!==parseInt(i,10))throw new Error("all values in "+r+" must be integers");if(i>=e.data.length||i<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(i,n+1)>-1||i>=0&&t.indexOf(-e.data.length+i)>-1||i<0&&t.indexOf(e.data.length+i)>-1)throw new Error("each index in "+r+" must be unique.")}}function z(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if("undefined"===typeof t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),N(e,t,"currentIndices"),"undefined"===typeof r||Array.isArray(r)||(r=[r]),"undefined"!==typeof r&&N(e,r,"newIndices"),"undefined"!==typeof r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function U(e,t,r){var n,i;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if("undefined"===typeof t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n<t.length;n++)if(i=t[n],"object"!==typeof i||Array.isArray(i)||null===i)throw new Error("all values in traces array must be non-array objects");if("undefined"===typeof r||Array.isArray(r)||(r=[r]),"undefined"!==typeof r&&r.length!==t.length)throw new Error("if indices is specified, traces.length must equal indices.length")}function H(e,t,r,n){var i=a.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!a.isPlainObject(t))throw new Error("update must be a key:value object");if("undefined"===typeof r)throw new Error("indices must be an integer or array of integers");for(var o in N(e,r,"indices"),t){if(!Array.isArray(t[o])||t[o].length!==r.length)throw new Error("attribute "+o+" must be an array of length equal to indices array length");if(i&&(!(o in n)||!Array.isArray(n[o])||n[o].length!==t[o].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function V(e,t,r,n){var o,l,u,c,f,p=a.isPlainObject(n),d=[];for(var h in Array.isArray(r)||(r=[r]),r=F(r,e.data.length-1),t)for(var v=0;v<r.length;v++){if(o=e.data[r[v]],u=s(o,h),l=u.get(),c=t[h][v],!a.isArrayOrTypedArray(c))throw new Error("attribute: "+h+" index: "+v+" must be an array");if(!a.isArrayOrTypedArray(l))throw new Error("cannot extend missing or non-array attribute: "+h);if(l.constructor!==c.constructor)throw new Error("cannot extend array with an array of a different type: "+h);f=p?n[h][v]:n,i(f)||(f=-1),d.push({prop:u,target:l,insert:c,maxp:Math.floor(f)})}return d}function Q(e,t,r,n,i){H(e,t,r,n);for(var o=V(e,t,r,n),a={},s={},l=0;l<o.length;l++){var u=o[l].prop,c=o[l].maxp,f=i(o[l].target,o[l].insert,c);u.set(f[0]),Array.isArray(a[u.astr])||(a[u.astr]=[]),a[u.astr].push(f[1]),Array.isArray(s[u.astr])||(s[u.astr]=[]),s[u.astr].push(o[l].target.length)}return{update:a,maxPoints:s}}function W(e,t){var r=new e.constructor(e.length+t.length);return r.set(e),r.set(t,e.length),r}function K(e,r,n,i){function o(e,t,r){var n,i;if(a.isTypedArray(e))if(r<0){var o=new e.constructor(0),s=W(e,t);r<0?(n=s,i=o):(n=o,i=s)}else if(n=new e.constructor(r),i=new e.constructor(e.length+t.length-r),r===t.length)n.set(t),i.set(e);else if(r<t.length){var l=t.length-r;n.set(t.subarray(l)),i.set(e),i.set(t.subarray(0,l),e.length)}else{var u=r-t.length,c=e.length-u;n.set(e.subarray(c)),n.set(t,u),i.set(e.subarray(0,c))}else n=e.concat(t),i=r>=0&&r<n.length?n.splice(0,n.length-r):[];return[n,i]}e=a.getGraphDiv(e);var s=Q(e,r,n,i,o),l=t.redraw(e),c=[e,s.update,n,s.maxPoints];return u.add(e,t.prependTraces,c,K,arguments),l}function q(e,r,n,i){function o(e,t,r){var n,i;if(a.isTypedArray(e))if(r<=0){var o=new e.constructor(0),s=W(t,e);r<0?(n=s,i=o):(n=o,i=s)}else if(n=new e.constructor(r),i=new e.constructor(e.length+t.length-r),r===t.length)n.set(t),i.set(e);else if(r<t.length){var l=t.length-r;n.set(t.subarray(0,l)),i.set(t.subarray(l)),i.set(e,l)}else{var u=r-t.length;n.set(t),n.set(e.subarray(0,u),t.length),i.set(e.subarray(u))}else n=t.concat(e),i=r>=0&&r<n.length?n.splice(r,n.length):[];return[n,i]}e=a.getGraphDiv(e);var s=Q(e,r,n,i,o),l=t.redraw(e),c=[e,s.update,n,s.maxPoints];return u.add(e,t.extendTraces,c,q,arguments),l}function G(e,r,n){e=a.getGraphDiv(e);var i,o,s=[],l=t.deleteTraces,c=G,f=[e,s],p=[e,r];for(U(e,r,n),Array.isArray(r)||(r=[r]),r=r.map((function(e){return a.extendFlat({},e)})),_.cleanData(r),i=0;i<r.length;i++)e.data.push(r[i]);for(i=0;i<r.length;i++)s.push(-r.length+i);if("undefined"===typeof n)return o=t.redraw(e),u.add(e,l,f,c,p),o;Array.isArray(n)||(n=[n]);try{z(e,s,n)}catch(d){throw e.data.splice(e.data.length-r.length,r.length),d}return u.startSequence(e),u.add(e,l,f,c,p),o=t.moveTraces(e,s,n),u.stopSequence(e),o}function $(e,r){e=a.getGraphDiv(e);var n,i,o=[],s=t.addTraces,l=$,c=[e,o,r],f=[e,r];if("undefined"===typeof r)throw new Error("indices must be an integer or array of integers.");for(Array.isArray(r)||(r=[r]),N(e,r,"indices"),r=F(r,e.data.length-1),r.sort(a.sorterDes),n=0;n<r.length;n+=1)i=e.data.splice(r[n],1)[0],o.push(i);var p=t.redraw(e);return u.add(e,s,c,l,f),p}function Y(e,r,n){e=a.getGraphDiv(e);var i,o=[],s=[],l=Y,c=Y,f=[e,n,r],p=[e,r,n];if(z(e,r,n),r=Array.isArray(r)?r:[r],"undefined"===typeof n)for(n=[],i=0;i<r.length;i++)n.push(-r.length+i);for(n=Array.isArray(n)?n:[n],r=F(r,e.data.length-1),n=F(n,e.data.length-1),i=0;i<e.data.length;i++)-1===r.indexOf(i)&&o.push(e.data[i]);for(i=0;i<r.length;i++)s.push({newIndex:n[i],trace:e.data[r[i]]});for(s.sort((function(e,t){return e.newIndex-t.newIndex})),i=0;i<s.length;i+=1)o.splice(s[i].newIndex,0,s[i].trace);e.data=o;var d=t.redraw(e);return u.add(e,l,f,c,p),d}function X(e,r,n,i){e=a.getGraphDiv(e),_.clearPromiseQueue(e);var o={};if("string"===typeof r)o[r]=n;else{if(!a.isPlainObject(r))return a.warn("Restyle fail.",r,n,i),Promise.reject();o=a.extendFlat({},r),void 0===i&&(i=n)}Object.keys(o).length&&(e.changed=!0);var s=_.coerceTraceIndices(e,i),l=re(e,o,s),c=l.flags;c.calc&&(e.calcdata=void 0),c.clearAxisTypes&&_.clearAxisTypes(e,s,{});var f=[];c.fullReplot?f.push(t.plot):(f.push(p.previousPromises),p.supplyDefaults(e),c.markerSize&&(p.doCalcdata(e),ae(f)),c.style&&f.push(E.doTraceStyle),c.colorbars&&f.push(E.doColorBars),f.push(M)),f.push(p.rehover,p.redrag),u.add(e,X,[e,l.undoit,l.traces],X,[e,l.redoit,l.traces]);var d=a.syncOrAsync(f,e);return d&&d.then||(d=Promise.resolve()),d.then((function(){return e.emit("plotly_restyle",l.eventData),e}))}function Z(e){return void 0===e?null:e}function J(e,t){return t?function(t,r,n){var i=s(t,r),o=i.set;return i.set=function(t){var a=(n||"")+r;ee(a,i.get(),t,e),o(t)},i}:s}function ee(e,t,r,n){if(Array.isArray(t)||Array.isArray(r))for(var i=Array.isArray(t)?t:[],o=Array.isArray(r)?r:[],s=Math.max(i.length,o.length),l=0;l<s;l++)ee(e+"["+l+"]",i[l],o[l],n);else if(a.isPlainObject(t)||a.isPlainObject(r)){var u=a.isPlainObject(t)?t:{},c=a.isPlainObject(r)?r:{},f=a.extendFlat({},u,c);for(var p in f)ee(e+"."+p,u[p],c[p],n)}else void 0===n[e]&&(n[e]=Z(t))}function te(e,t,r){for(var n in r){var i=s(e,n);ee(n,i.get(),r[n],t)}}function re(e,t,r){var n,i=e._fullLayout,o=e._fullData,l=e.data,u=i._guiEditing,d=J(i._preGUI,u),v=a.extendDeepAll({},t);ne(t);var m,g=k.traceFlags(),y={},b={};function x(){return r.map((function(){}))}function A(e){var t=h.id2name(e);-1===m.indexOf(t)&&m.push(t)}function w(e){return"LAYOUT"+e+".autorange"}function E(e){return"LAYOUT"+e+".range"}function T(e){for(var t=e;t<o.length;t++)if(o[t]._input===l[e])return o[t]}function C(n,o,a){if(Array.isArray(n))n.forEach((function(e){C(e,o,a)}));else if(!(n in t)&&!_.hasParent(t,n)){var s;if("LAYOUT"===n.substr(0,6))s=d(e.layout,n.replace("LAYOUT",""));else{var c=r[a],f=i._tracePreGUI[T(c)._fullInput.uid];s=J(f,u)(l[c],n)}n in b||(b[n]=x()),void 0===b[n][a]&&(b[n][a]=Z(s.get())),void 0!==o&&s.set(o)}}function S(e){return function(t){return o[t][e]}}function O(e){return function(t,n){return!1===t?o[r[n]][e]:null}}for(var M in t){if(_.hasParent(t,M))throw new Error("cannot set "+M+" and a parent attribute simultaneously");var P,B,L,D,I,j,R=t[M];if("autobinx"!==M&&"autobiny"!==M||(M=M.charAt(M.length-1)+"bins",R=Array.isArray(R)?R.map(O(M)):!1===R?r.map(S(M)):null),y[M]=R,"LAYOUT"!==M.substr(0,6)){for(b[M]=x(),n=0;n<r.length;n++){P=l[r[n]],B=T(r[n]);var F=i._tracePreGUI[B._fullInput.uid];if(L=J(F,u)(P,M),D=L.get(),I=Array.isArray(R)?R[n%R.length]:R,void 0!==I){var N=L.parts[L.parts.length-1],z=M.substr(0,M.length-N.length-1),U=z?z+".":"",H=z?s(B,z).get():B;if(j=f.getTraceValObject(B,L.parts),j&&j.impliedEdits&&null!==I)for(var V in j.impliedEdits)C(a.relativeAttr(M,V),j.impliedEdits[V],n);else if("thicknessmode"!==N&&"lenmode"!==N||D===I||"fraction"!==I&&"pixels"!==I||!H){if("type"===M&&("pie"===I!==("pie"===D)||"funnelarea"===I!==("funnelarea"===D))){var Q="x",W="y";"bar"!==I&&"bar"!==D||"h"!==P.orientation||(Q="y",W="x"),a.swapAttrs(P,["?","?src"],"labels",Q),a.swapAttrs(P,["d?","?0"],"label",Q),a.swapAttrs(P,["?","?src"],"values",W),"pie"===D||"funnelarea"===D?(s(P,"marker.color").set(s(P,"marker.colors").get()),i._pielayer.selectAll("g.trace").remove()):c.traceIs(P,"cartesian")&&s(P,"marker.colors").set(s(P,"marker.color").get())}}else{var K=i._size,q=H.orient,G="top"===q||"bottom"===q;if("thicknessmode"===N){var $=G?K.h:K.w;C(U+"thickness",H.thickness*("fraction"===I?1/$:$),n)}else{var Y=G?K.w:K.h;C(U+"len",H.len*("fraction"===I?1/Y:Y),n)}}b[M][n]=Z(D);var X=["swapxy","swapxyaxes","orientation","orientationaxes"];if(-1!==X.indexOf(M)){if("orientation"===M){L.set(I);var ee=P.x&&!P.y?"h":"v";if((L.get()||ee)===B.orientation)continue}else"orientationaxes"===M&&(P.orientation={v:"h",h:"v"}[B.orientation]);_.swapXYData(P),g.calc=g.clearAxisTypes=!0}else-1!==p.dataArrayContainers.indexOf(L.parts[0])?(_.manageArrayContainers(L,I,b),g.calc=!0):(j?j.arrayOk&&!c.traceIs(B,"regl")&&(a.isArrayOrTypedArray(I)||a.isArrayOrTypedArray(D))?g.calc=!0:k.update(g,j):g.calc=!0,L.set(I))}}if(-1!==["swapxyaxes","orientationaxes"].indexOf(M)&&h.swap(e,r),"orientationaxes"===M){var te=s(e.layout,"hovermode"),re=te.get();"x"===re?te.set("y"):"y"===re?te.set("x"):"x unified"===re?te.set("y unified"):"y unified"===re&&te.set("x unified")}if(-1!==["orientation","type"].indexOf(M)){for(m=[],n=0;n<r.length;n++){var ie=l[r[n]];c.traceIs(ie,"cartesian")&&(A(ie.xaxis||"x"),A(ie.yaxis||"y"))}C(m.map(w),!0,0),C(m.map(E),[0,1],0)}}else L=d(e.layout,M.replace("LAYOUT","")),b[M]=[Z(L.get())],L.set(Array.isArray(R)?R[0]:R),g.calc=!0}return(g.calc||g.plot)&&(g.fullReplot=!0),{flags:g,undoit:b,redoit:y,traces:r,eventData:a.extendDeepNoArrays([],[v,r])}}function ne(e){var t,r,n,i=a.counterRegex("axis",".title",!1,!1),o=/colorbar\.title$/,s=Object.keys(e);for(t=0;t<s.length;t++)r=s[t],n=e[r],"title"!==r&&!i.test(r)&&!o.test(r)||"string"!==typeof n&&"number"!==typeof n?r.indexOf("titlefont")>-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function ie(e,t,r){if(e=a.getGraphDiv(e),_.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"===typeof t)n[t]=r;else{if(!a.isPlainObject(t))return a.warn("Relayout fail.",t,r),Promise.reject();n=a.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var i=ce(e,n),o=i.flags;o.calc&&(e.calcdata=void 0);var s=[p.previousPromises];o.layoutReplot?s.push(E.layoutReplot):Object.keys(n).length&&(oe(e,o,i)||p.supplyDefaults(e),o.legend&&s.push(E.doLegend),o.layoutstyle&&s.push(E.layoutStyles),o.axrange&&ae(s,i.rangesAltered),o.ticks&&s.push(E.doTicksRelayout),o.modebar&&s.push(E.doModeBar),o.camera&&s.push(E.doCamera),o.colorbars&&s.push(E.doColorBars),s.push(M)),s.push(p.rehover,p.redrag),u.add(e,ie,[e,i.undoit],ie,[e,i.redoit]);var l=a.syncOrAsync(s,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",i.eventData),e}))}function oe(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var i in t)if("axrange"!==i&&t[i])return!1;for(var o in r.rangesAltered){var a=h.id2name(o),s=e.layout[a],l=n[a];if(l.autorange=s.autorange,s.range&&(l.range=s.range.slice()),l.cleanRange(),l._matchGroup)for(var u in l._matchGroup)if(u!==o){var c=n[h.id2name(u)];c.autorange=l.autorange,c.range=l.range.slice(),c._input.range=l.range.slice()}}return!0}function ae(e,t){var r=t?function(e){var r=[],n=!0;for(var i in t){var o=h.getFromId(e,i);if(r.push(i),-1!==(o.ticklabelposition||"").indexOf("inside")&&o._anchorAxis&&r.push(o._anchorAxis._id),o._matchGroup)for(var a in o._matchGroup)t[a]||r.push(a);o.automargin&&(n=!1)}return h.draw(e,r,{skipTitle:n})}:function(e){return h.draw(e,"redraw")};e.push(x,E.doAutoRangeAndConstraints,r,E.drawData,E.finalDraw)}var se=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,le=/^[xyz]axis[0-9]*\.autorange$/,ue=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ce(e,t){var r,n,i,o=e.layout,l=e._fullLayout,u=l._guiEditing,p=J(l._preGUI,u),d=Object.keys(t),v=h.list(e),m=a.extendDeepAll({},t),g={};for(ne(t),d=Object.keys(t),n=0;n<d.length;n++)if(0===d[n].indexOf("allaxes")){for(i=0;i<v.length;i++){var y=v[i]._id.substr(1),b=-1!==y.indexOf("scene")?y+".":"",x=d[n].replace("allaxes",b+v[i]._name);t[x]||(t[x]=t[d[n]])}delete t[d[n]]}var A=k.layoutFlags(),E={},C={};function S(e,r){if(Array.isArray(e))e.forEach((function(e){S(e,r)}));else if(!(e in t)&&!_.hasParent(t,e)){var n=p(o,e);e in C||(C[e]=Z(n.get())),void 0!==r&&n.set(r)}}var O,M={};function P(e){var t=h.name2id(e.split(".")[0]);return M[t]=1,t}for(var B in t){if(_.hasParent(t,B))throw new Error("cannot set "+B+" and a parent attribute simultaneously");var L=p(o,B),D=t[B],I=L.parts.length,j=I-1;while(j>0&&"string"!==typeof L.parts[j])j--;var R=L.parts[j],F=L.parts[j-1]+"."+R,N=L.parts.slice(0,j).join("."),z=s(e.layout,N).get(),U=s(l,N).get(),H=L.get();if(void 0!==D){E[B]=D,C[B]="reverse"===R?D:Z(H);var V=f.getLayoutValObject(l,L.parts);if(V&&V.impliedEdits&&null!==D)for(var Q in V.impliedEdits)S(a.relativeAttr(B,Q),V.impliedEdits[Q]);if(-1!==["width","height"].indexOf(B))if(D){S("autosize",null);var W="height"===B?"width":"height";S(W,l[W])}else l[B]=e._initialAutoSize[B];else if("autosize"===B)S("width",D?null:l.width),S("height",D?null:l.height);else if(F.match(se))P(F),s(l,N+"._inputRange").set(null);else if(F.match(le)){P(F),s(l,N+"._inputRange").set(null);var K=s(l,N).get();K._inputDomain&&(K._input.domain=K._inputDomain.slice())}else F.match(ue)&&s(l,N+"._inputDomain").set(null);if("type"===R){O=z;var q="linear"===U.type&&"log"===D,G="log"===U.type&&"linear"===D;if(q||G){if(O&&O.range)if(U.autorange)q&&(O.range=O.range[1]>O.range[0]?[1,2]:[2,1]);else{var $=O.range[0],Y=O.range[1];q?($<=0&&Y<=0&&S(N+".autorange",!0),$<=0?$=Y/1e6:Y<=0&&(Y=$/1e6),S(N+".range[0]",Math.log($)/Math.LN10),S(N+".range[1]",Math.log(Y)/Math.LN10)):(S(N+".range[0]",Math.pow(10,$)),S(N+".range[1]",Math.pow(10,Y)))}else S(N+".autorange",!0);Array.isArray(l._subplots.polar)&&l._subplots.polar.length&&l[L.parts[0]]&&"radialaxis"===L.parts[1]&&delete l[L.parts[0]]._subplot.viewInitial["radialaxis.range"],c.getComponentMethod("annotations","convertCoords")(e,U,D,S),c.getComponentMethod("images","convertCoords")(e,U,D,S)}else S(N+".autorange",!0),S(N+".range",null);s(l,N+"._inputRange").set(null)}else if(R.match(T)){var X=s(l,B).get(),ee=(D||{}).type;ee&&"-"!==ee||(ee="linear"),c.getComponentMethod("annotations","convertCoords")(e,X,ee,S),c.getComponentMethod("images","convertCoords")(e,X,ee,S)}var te=w.containerArrayMatch(B);if(te){r=te.array,n=te.index;var re=te.property,ie=V||{editType:"calc"};""!==n&&""===re&&(w.isAddVal(D)?C[B]=null:w.isRemoveVal(D)?C[B]=(s(o,r).get()||[])[n]:a.warn("unrecognized full object value",t)),k.update(A,ie),g[r]||(g[r]={});var oe=g[r][n];oe||(oe=g[r][n]={}),oe[re]=D,delete t[B]}else"reverse"===R?(z.range?z.range.reverse():(S(N+".autorange",!0),z.range=[1,0]),U.autorange?A.calc=!0:A.plot=!0):(l._has("scatter-like")&&l._has("regl")&&"dragmode"===B&&("lasso"===D||"select"===D)&&"lasso"!==H&&"select"!==H||l._has("gl2d")?A.plot=!0:V?k.update(A,V):A.calc=!0,L.set(D))}}for(r in g){var ae=w.applyContainerArrayChanges(e,p(o,r),g[r],A,p);ae||(A.plot=!0)}for(var ce in M){O=h.getFromId(e,ce);var pe=O&&O._constraintGroup;if(pe)for(var de in A.calc=!0,pe)M[de]||(h.getFromId(e,de)._constraintShrinkable=!0)}return(fe(e)||t.height||t.width)&&(A.plot=!0),(A.plot||A.calc)&&(A.layoutReplot=!0),{flags:A,rangesAltered:M,undoit:C,redoit:E,eventData:m}}function fe(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&p.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function pe(e,r,n,i){if(e=a.getGraphDiv(e),_.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);a.isPlainObject(r)||(r={}),a.isPlainObject(n)||(n={}),Object.keys(r).length&&(e.changed=!0),Object.keys(n).length&&(e.changed=!0);var o=_.coerceTraceIndices(e,i),s=re(e,a.extendFlat({},r),o),l=s.flags,c=ce(e,a.extendFlat({},n)),f=c.flags;(l.calc||f.calc)&&(e.calcdata=void 0),l.clearAxisTypes&&_.clearAxisTypes(e,o,n);var d=[];f.layoutReplot?d.push(E.layoutReplot):l.fullReplot?d.push(t.plot):(d.push(p.previousPromises),oe(e,f,c)||p.supplyDefaults(e),l.style&&d.push(E.doTraceStyle),(l.colorbars||f.colorbars)&&d.push(E.doColorBars),f.legend&&d.push(E.doLegend),f.layoutstyle&&d.push(E.layoutStyles),f.axrange&&ae(d,c.rangesAltered),f.ticks&&d.push(E.doTicksRelayout),f.modebar&&d.push(E.doModeBar),f.camera&&d.push(E.doCamera),d.push(M)),d.push(p.rehover,p.redrag),u.add(e,pe,[e,s.undoit,c.undoit,s.traces],pe,[e,s.redoit,c.redoit,s.traces]);var h=a.syncOrAsync(d,e);return h&&h.then||(h=Promise.resolve(e)),h.then((function(){return e.emit("plotly_update",{data:s.eventData,layout:c.eventData}),e}))}function de(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var he=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],ve=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=e.match(n.pattern);if(i)return{head:i[1],attr:n.attr}}}function ge(e,t){var r=s(t,e).get();if(void 0!==r)return r;var n=e.split(".");n.pop();while(n.length>1)if(n.pop(),r=s(t,n.join(".")+".uirevision").get(),void 0!==r)return r;return t.uirevision}function ye(e,t){for(var r=0;r<t.length;r++)if(t[r]._fullInput.uid===e)return r;return-1}function be(e,t,r){for(var n=0;n<t.length;n++)if(t[n].uid===e)return n;return!t[r]||t[r].uid?-1:r}function xe(e,t){var r=a.isPlainObject(e),n=Array.isArray(e);return r||n?(r&&a.isPlainObject(t)||n&&Array.isArray(t))&&JSON.stringify(e)===JSON.stringify(t):e===t}function Ae(e,t,r,n){var i,o,l,u,c,f,p,d,h=n._preGUI,v=[],m={};for(i in h){if(c=me(i,he),c){if(o=c.attr||c.head+".uirevision",l=s(n,o).get(),u=l&&ge(o,t),u&&u===l&&(f=h[i],null===f&&(f=void 0),p=s(t,i),d=p.get(),xe(d,f))){void 0===d&&"autorange"===i.substr(i.length-9)&&v.push(i.substr(0,i.length-10)),p.set(Z(s(n,i).get()));continue}}else a.warn("unrecognized GUI edit: "+i);delete h[i],"range["===i.substr(i.length-8,6)&&(m[i.substr(0,i.length-9)]=1)}for(var g=0;g<v.length;g++){var y=v[g];if(m[y]){var b=s(t,y).get();b&&delete b.autorange}}var x=n._tracePreGUI;for(var A in x){var w,_=x[A],E=null;for(i in _){if(!E){var k=ye(A,r);if(k<0){delete x[A];break}var T=r[k];w=T._fullInput;var C=be(A,e,w.index);if(C<0){delete x[A];break}E=e[C]}if(c=me(i,ve),c){if(c.attr?(l=s(n,c.attr).get(),u=l&&ge(c.attr,t)):(l=w.uirevision,u=E.uirevision,void 0===u&&(u=t.uirevision)),u&&u===l&&(f=_[i],null===f&&(f=void 0),p=s(E,i),d=p.get(),xe(d,f))){p.set(Z(s(w,i).get()));continue}}else a.warn("unrecognized GUI edit: "+i+" in trace uid "+A);delete _[i]}}}function we(e,r,n,i){var o,s;function l(){return t.addFrames(e,o)}e=a.getGraphDiv(e),_.clearPromiseQueue(e);var u=e._fullData,f=e._fullLayout;if(a.isPlotDiv(e)&&u&&f){if(a.isPlainObject(r)){var d=r;r=d.data,n=d.layout,i=d.config,o=d.frames}var h=!1;if(i){var v=a.extendDeep({},e._context);e._context=void 0,D(e,i),h=Te(v,e._context)}e.data=r||[],_.cleanData(e.data),e.layout=n||{},_.cleanLayout(e.layout),Ae(e.data,e.layout,u,f),p.supplyDefaults(e,{skipUpdateCalc:!0});var m=e._fullData,g=e._fullLayout,y=void 0===g.datarevision,b=g.transition,x=Ee(e,f,g,y,b),A=x.newDataRevision,w=_e(e,u,m,y,b,A);if(fe(e)&&(x.layoutReplot=!0),w.calc||x.calc){e.calcdata=void 0;for(var k=Object.getOwnPropertyNames(g),T=0;T<k.length;T++){var C=k[T],S=C.substring(0,5);if("xaxis"===S||"yaxis"===S){var O=g[C]._emptyCategories;O&&O()}}}else p.supplyDefaultsUpdateCalc(e.calcdata,m);var P=[];if(o&&(e._transitionData={},p.createTransitionData(e),P.push(l)),g.transition&&!h&&(w.anim||x.anim))x.ticks&&P.push(E.doTicksRelayout),p.doCalcdata(e),E.doAutoRangeAndConstraints(e),P.push((function(){return p.transitionFromReact(e,w,x,f)}));else if(w.fullReplot||x.layoutReplot||h)e._fullLayout._skipDefaults=!0,P.push(t.plot);else{for(var B in x.arrays){var L=x.arrays[B];if(L.length){var I=c.getComponentMethod(B,"drawOne");if(I!==a.noop)for(var j=0;j<L.length;j++)I(e,L[j]);else{var R=c.getComponentMethod(B,"draw");if(R===a.noop)throw new Error("cannot draw components: "+B);R(e)}}}P.push(p.previousPromises),w.style&&P.push(E.doTraceStyle),(w.colorbars||x.colorbars)&&P.push(E.doColorBars),x.legend&&P.push(E.doLegend),x.layoutstyle&&P.push(E.layoutStyles),x.axrange&&ae(P),x.ticks&&P.push(E.doTicksRelayout),x.modebar&&P.push(E.doModeBar),x.camera&&P.push(E.doCamera),P.push(M)}P.push(p.rehover,p.redrag),s=a.syncOrAsync(P,e),s&&s.then||(s=Promise.resolve(e))}else s=t.newPlot(e,r,n,i);return s.then((function(){return e.emit("plotly_react",{data:r,layout:n}),e}))}function _e(e,t,r,n,i,o){var a=t.length===r.length;if(!i&&!a)return{fullReplot:!0,calc:!0};var s,l,u=k.traceFlags();function c(e){var t=f.getTraceValObject(l,e);return!l._module.animatable&&t.anim&&(t.anim=!1),t}u.arrays={},u.nChanges=0,u.nChangesAnim=0;var d={getValObject:c,flags:u,immutable:n,transition:i,newDataRevision:o,gd:e},h={};for(s=0;s<t.length;s++)if(r[s]){if(l=r[s]._fullInput,p.hasMakesDataTransform(l)&&(l=r[s]),h[l.uid])continue;h[l.uid]=1,ke(t[s]._fullInput,l,[],d)}return(u.calc||u.plot)&&(u.fullReplot=!0),i&&u.nChanges&&u.nChangesAnim&&(u.anim=u.nChanges===u.nChangesAnim&&a?"all":"some"),u}function Ee(e,t,r,n,i){var o=k.layoutFlags();function a(e){return f.getLayoutValObject(r,e)}o.arrays={},o.rangesAltered={},o.nChanges=0,o.nChangesAnim=0;var s={getValObject:a,flags:o,immutable:n,transition:i,gd:e};return ke(t,r,[],s),(o.plot||o.calc)&&(o.layoutReplot=!0),i&&o.nChanges&&o.nChangesAnim&&(o.anim=o.nChanges===o.nChangesAnim?"all":"some"),o}function ke(e,t,r,n){var i,o,l,u=n.getValObject,c=n.flags,f=n.immutable,p=n.inArray,d=n.arrayIndex;function h(){var e=i.editType;p&&-1!==e.indexOf("arraydraw")?a.pushUnique(c.arrays[p],d):(k.update(c,i),"none"!==e&&c.nChanges++,n.transition&&i.anim&&c.nChangesAnim++,(se.test(l)||le.test(l))&&(c.rangesAltered[r[0]]=1),ue.test(l)&&s(t,"_inputDomain").set(null),"datarevision"===o&&(c.newDataRevision=1))}function v(e){return"data_array"===e.valType||e.arrayOk}for(o in e){if(c.calc&&!n.transition)return;var m=e[o],g=t[o],y=r.concat(o);if(l=y.join("."),"_"!==o.charAt(0)&&"function"!==typeof m&&m!==g){if(("tick0"===o||"dtick"===o)&&"geo"!==r[0]){var b=t.tickmode;if("auto"===b||"array"===b||!b)continue}if(("range"!==o||!t.autorange)&&("zmin"!==o&&"zmax"!==o||"contourcarpet"!==t.type)&&(i=u(y),i&&(!i._compareAsJSON||JSON.stringify(m)!==JSON.stringify(g)))){var x,A=i.valType,w=v(i),_=Array.isArray(m),E=Array.isArray(g);if(_&&E){var T="_input_"+o,C=e[T],S=t[T];if(Array.isArray(C)&&C===S)continue}if(void 0===g)w&&_?c.calc=!0:h();else if(i._isLinkedToArray){var O=[],M=!1;p||(c.arrays[o]=O);var P=Math.min(m.length,g.length),B=Math.max(m.length,g.length);if(P!==B){if("arraydraw"!==i.editType){h();continue}M=!0}for(x=0;x<P;x++)ke(m[x],g[x],y.concat(x),a.extendFlat({inArray:o,arrayIndex:x},n));if(M)for(x=P;x<B;x++)O.push(x)}else!A&&a.isPlainObject(m)?ke(m,g,y,n):w?_&&E?(f&&(c.calc=!0),(f||n.newDataRevision)&&h()):_!==E?c.calc=!0:h():_&&E&&m.length===g.length&&String(m)===String(g)||h()}}}for(o in t)if(!(o in e)&&"_"!==o.charAt(0)&&"function"!==typeof t[o]){if(i=u(r.concat(o)),v(i)&&Array.isArray(t[o]))return void(c.calc=!0);h()}}function Te(e,t){var r;for(r in e)if("_"!==r.charAt(0)){var n=e[r],i=t[r];if(n!==i)if(a.isPlainObject(n)&&a.isPlainObject(i)){if(Te(n,i))return!0}else{if(!Array.isArray(n)||!Array.isArray(i))return!0;if(n.length!==i.length)return!0;for(var o=0;o<n.length;o++)if(n[o]!==i[o]){if(!a.isPlainObject(n[o])||!a.isPlainObject(i[o]))return!0;if(Te(n[o],i[o]))return!0}}}}function Ce(e,t,r){if(e=a.getGraphDiv(e),!a.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/");var n=e._transitionData;n._frameQueue||(n._frameQueue=[]),r=p.supplyAnimationDefaults(r);var i=r.transition,o=r.frame;function s(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function l(e){return Array.isArray(o)?e>=o.length?o[0]:o[e]:o}function u(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(o,c){function f(){if(0!==n._frameQueue.length){while(n._frameQueue.length){var t=n._frameQueue.pop();t.onInterrupt&&t.onInterrupt()}e.emit("plotly_animationinterrupted",[])}}function d(t){if(0!==t.length){for(var i=0;i<t.length;i++){var a;a="byname"===t[i].type?p.computeFrame(e,t[i].name):t[i].data;var f=l(i),d=s(i);d.duration=Math.min(d.duration,f.duration);var h={frame:a,name:t[i].name,frameOpts:f,transitionOpts:d};i===t.length-1&&(h.onComplete=u(o,2),h.onInterrupt=c),n._frameQueue.push(h)}"immediate"===r.mode&&(n._lastFrameAt=-1/0),n._animationRaf||m()}}function h(){e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function v(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,p.transition(e,t.frame.data,t.frame.layout,_.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else h()}function m(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&v()};t()}var g,y,b=0;function x(e){return Array.isArray(i)?b>=i.length?e.transitionOpts=i[b]:e.transitionOpts=i[0]:e.transitionOpts=i,b++,e}var A=[],w=void 0===t||null===t,E=Array.isArray(t),k=!w&&!E&&a.isPlainObject(t);if(k)A.push({type:"object",data:x(a.extendFlat({},t))});else if(w||-1!==["string","number"].indexOf(typeof t))for(g=0;g<n._frames.length;g++)y=n._frames[g],y&&(w||String(y.group)===String(t))&&A.push({type:"byname",name:String(y.name),data:x({name:y.name})});else if(E)for(g=0;g<t.length;g++){var T=t[g];-1!==["number","string"].indexOf(typeof T)?(T=String(T),A.push({type:"byname",name:T,data:x({name:T})})):a.isPlainObject(T)&&A.push({type:"object",data:x(a.extendFlat({},T))})}for(g=0;g<A.length;g++)if(y=A[g],"byname"===y.type&&!n._frameHash[y.data.name])return a.warn('animate failure: frame not found: "'+y.data.name+'"'),void c();-1!==["next","immediate"].indexOf(r.mode)&&f(),"reverse"===r.direction&&A.reverse();var C=e._fullLayout._currentFrame;if(C&&r.fromcurrent){var S=-1;for(g=0;g<A.length;g++)if(y=A[g],"byname"===y.type&&y.name===C){S=g;break}if(S>0&&S<A.length-1){var O=[];for(g=0;g<A.length;g++)y=A[g],("byname"!==A[g].type||g>S)&&O.push(y);A=O}}A.length>0?d(A):(e.emit("plotly_animated"),o())}))}function Se(e,t,r){if(e=a.getGraphDiv(e),null===t||void 0===t)return Promise.resolve();if(!a.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var n,i,o,s,l=e._transitionData._frames,c=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var f=l.length+2*t.length,d=[],h={};for(n=t.length-1;n>=0;n--)if(a.isPlainObject(t[n])){var v=t[n].name,m=(c[v]||h[v]||{}).name,g=t[n].name,y=c[m]||h[m];m&&g&&"number"===typeof g&&y&&C<S&&(C++,a.warn('addFrames: overwriting frame "'+(c[m]||h[m]).name+'" with a frame whose name of type "number" also equates to "'+m+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),C===S&&a.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),h[v]={name:v},d.push({frame:p.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:f+n})}d.sort((function(e,t){return e.index>t.index?-1:e.index<t.index?1:0}));var b=[],x=[],A=l.length;for(n=d.length-1;n>=0;n--){if(i=d[n].frame,"number"===typeof i.name&&a.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!i.name)while(c[i.name="frame "+e._transitionData._counter++]);if(c[i.name]){for(o=0;o<l.length;o++)if((l[o]||{}).name===i.name)break;b.push({type:"replace",index:o,value:i}),x.unshift({type:"replace",index:o,value:l[o]})}else s=Math.max(0,Math.min(d[n].index,A)),b.push({type:"insert",index:s,value:i}),x.unshift({type:"delete",index:s}),A++}var w=p.modifyFrames,_=p.modifyFrames,E=[e,x],k=[e,b];return u&&u.add(e,w,E,_,k),p.modifyFrames(e,b)}function Oe(e,t){if(e=a.getGraphDiv(e),!a.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e);var r,n,i=e._transitionData._frames,o=[],s=[];if(!t)for(t=[],r=0;r<i.length;r++)t.push(r);for(t=t.slice(),t.sort(),r=t.length-1;r>=0;r--)n=t[r],o.push({type:"delete",index:n}),s.unshift({type:"insert",index:n,value:i[n]});var l=p.modifyFrames,c=p.modifyFrames,f=[e,s],d=[e,o];return u&&u.add(e,l,f,c,d),p.modifyFrames(e,o)}function Me(e){e=a.getGraphDiv(e);var t=e._fullLayout||{},r=e._fullData||[];return p.cleanPlot([],{},r,t),p.purge(e),l.purge(e),t._container&&t._container.remove(),delete e._context,e}function Pe(e){var t=e._fullLayout,r=e.getBoundingClientRect();if(!a.equalDomRects(r,t._lastBBox)){var n=t._invTransform=a.inverseTransformMatrix(a.getFullTransformMatrix(e));t._invScaleX=Math.sqrt(n[0][0]*n[0][0]+n[0][1]*n[0][1]+n[0][2]*n[0][2]),t._invScaleY=Math.sqrt(n[1][0]*n[1][0]+n[1][1]*n[1][1]+n[1][2]*n[1][2]),t._lastBBox=r}}function Be(e){var t=n.select(e),r=e._fullLayout;if(r._calcInverseTransform=Pe,r._calcInverseTransform(e),r._container=t.selectAll(".plot-container").data([0]),r._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),r._paperdiv=r._container.selectAll(".svg-container").data([0]),r._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),r._glcontainer=r._paperdiv.selectAll(".gl-container").data([{}]),r._glcontainer.enter().append("div").classed("gl-container",!0),r._paperdiv.selectAll(".main-svg").remove(),r._paperdiv.select(".modebar-container").remove(),r._paper=r._paperdiv.insert("svg",":first-child").classed("main-svg",!0),r._toppaper=r._paperdiv.append("svg").classed("main-svg",!0),r._modebardiv=r._paperdiv.append("div"),delete r._modeBar,r._hoverpaper=r._paperdiv.append("svg").classed("main-svg",!0),!r._uid){var i={};n.selectAll("defs").each((function(){this.id&&(i[this.id.split("-")[1]]=1)})),r._uid=a.randstr(i)}r._paperdiv.selectAll(".main-svg").attr(y.svgAttrs),r._defs=r._paper.append("defs").attr("id","defs-"+r._uid),r._clips=r._defs.append("g").classed("clips",!0),r._topdefs=r._toppaper.append("defs").attr("id","topdefs-"+r._uid),r._topclips=r._topdefs.append("g").classed("clips",!0),r._bgLayer=r._paper.append("g").classed("bglayer",!0),r._draggers=r._paper.append("g").classed("draglayer",!0);var o=r._paper.append("g").classed("layer-below",!0);r._imageLowerLayer=o.append("g").classed("imagelayer",!0),r._shapeLowerLayer=o.append("g").classed("shapelayer",!0),r._cartesianlayer=r._paper.append("g").classed("cartesianlayer",!0),r._polarlayer=r._paper.append("g").classed("polarlayer",!0),r._ternarylayer=r._paper.append("g").classed("ternarylayer",!0),r._geolayer=r._paper.append("g").classed("geolayer",!0),r._funnelarealayer=r._paper.append("g").classed("funnelarealayer",!0),r._pielayer=r._paper.append("g").classed("pielayer",!0),r._treemaplayer=r._paper.append("g").classed("treemaplayer",!0),r._sunburstlayer=r._paper.append("g").classed("sunburstlayer",!0),r._indicatorlayer=r._toppaper.append("g").classed("indicatorlayer",!0),r._glimages=r._paper.append("g").classed("glimages",!0);var s=r._toppaper.append("g").classed("layer-above",!0);r._imageUpperLayer=s.append("g").classed("imagelayer",!0),r._shapeUpperLayer=s.append("g").classed("shapelayer",!0),r._infolayer=r._toppaper.append("g").classed("infolayer",!0),r._menulayer=r._toppaper.append("g").classed("menulayer",!0),r._zoomlayer=r._toppaper.append("g").classed("zoomlayer",!0),r._hoverlayer=r._hoverpaper.append("g").classed("hoverlayer",!0),r._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),e.emit("plotly_framework")}t.animate=Ce,t.addFrames=Se,t.deleteFrames=Oe,t.addTraces=G,t.deleteTraces=$,t.extendTraces=K,t.moveTraces=Y,t.prependTraces=q,t.newPlot=R,t.plot=O,t.purge=Me,t.react=we,t.redraw=j,t.relayout=ie,t.restyle=X,t.setPlotConfig=P,t.update=pe,t._guiRelayout=de(ie),t._guiRestyle=de(X),t._guiUpdate=de(pe),t._storeDirectGUIEdit=te},b5e4:function(e,t,r){"use strict";var n="1.10.1",i={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:'<a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap</a>',tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:'<a href="https://carto.com/" target="_blank">© CARTO</a>',tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:'<a href="https://carto.com/" target="_blank">© CARTO</a>',tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>.',tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},o=Object.keys(i);e.exports={requiredVersion:n,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:i,styleValuesNonMapbox:o,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@"+n+"."].join("\n"),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.plot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join("\n"),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",o.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join("\n"),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join("\n"),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":'content: ""; cursor: pointer; position: absolute; background-image: url(\'data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E\'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;',"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":'display:block; width: 21px; height: 21px; background-image: url(\'data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E\')'}}},b61a:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8,3C6.9,3 6,3.9 6,5V9C6,10.1 5.1,11 4,11H3V13H4C5.1,13 6,13.9 6,15V19C6,20.1 6.9,21 8,21H10V19H8V14C8,12.9 7.1,12 6,12C7.1,12 8,11.1 8,10V5H10V3M16,3C17.1,3 18,3.9 18,5V9C18,10.1 18.9,11 20,11H21V13H20C18.9,13 18,13.9 18,15V19C18,20.1 17.1,21 16,21H14V19H16V14C16,12.9 16.9,12 18,12C16.9,12 16,11.1 16,10V5H14V3H16Z"}))};e.exports=s},b622:function(e,t,r){var n=r("da84"),i=r("5692"),o=r("5135"),a=r("90e3"),s=r("4930"),l=r("fdbf"),u=i("wks"),c=n.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},b639:function(e,t,r){"use strict";(function(e){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <http://feross.org>
|
||
* @license MIT
|
||
*/
|
||
var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?m(e,t,r,n):"string"===typeof t?h(e,t,r):g(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t,r,n){return f(t),t<=0?l(e,t):void 0!==r?"string"===typeof n?l(e,t).fill(r,n):l(e,t).fill(r):l(e,t)}function d(e,t){if(f(t),e=l(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function h(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|x(t,r);e=l(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=l(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function m(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function g(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=l(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function x(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(e).length;default:if(n)return Y(e).length;t=(""+t).toLowerCase(),n=!0}}function A(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return R(this,t,r);case"utf8":case"utf-8":return B(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return P(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function w(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function _(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):E(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function E(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var f=!0,p=0;p<l;p++)if(u(e,o+p)!==u(t,p)){f=!1;break}if(f)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function T(e,t,r,n){return ee(Y(t,e.length-r),e,r,n)}function C(e,t,r,n){return ee(X(t),e,r,n)}function S(e,t,r,n){return C(e,t,r,n)}function O(e,t,r,n){return ee(J(t),e,r,n)}function M(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function P(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function B(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return D(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return p(null,e,t,r)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=x,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)w(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?B(this,0,e):A.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r),f=0;f<s;++f)if(l[f]!==c[f]){o=l[f],a=c[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function D(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}function I(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function R(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=$(e[o]);return i}function F(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function H(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function V(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Q(e,t,r,n,o){return o||V(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function W(e,t,r,n,o){return o||V(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return Q(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return Q(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return W(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return W(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:Y(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var K=/[^+\/0-9A-Za-z-_]/g;function q(e){if(e=G(e).replace(K,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function G(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function $(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function X(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function Z(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function J(e){return n.toByteArray(q(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("7515")),i=a(r("ab5b")),o=a(r("d7bc"));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var f=function(e,t){return i.default.createElement(n.default,c({},e,{options:t.fontOptions.map((function(e){var t=e.value,r=e.label;return{label:i.default.createElement("span",{style:{fontFamily:t}},r),value:t}}))}))};f.propTypes=l({},n.default.propTypes),f.defaultProps={clearable:!1},f.contextTypes={fontOptions:o.default.array};var p=f;t.default=p},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("a691"),o=r("408a"),a=r("1148"),s=r("d039"),l=1..toFixed,u=Math.floor,c=function(e,t,r){return 0===t?r:t%2===1?c(e,t-1,r*e):c(e*e,t/2,r)},f=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},p=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}));n({target:"Number",proto:!0,forced:p},{toFixed:function(e){var t,r,n,s,l=o(this),p=i(e),d=[0,0,0,0,0,0],h="",v="0",m=function(e,t){var r=-1,n=t;while(++r<6)n+=e*d[r],d[r]=n%1e7,n=u(n/1e7)},g=function(e){var t=6,r=0;while(--t>=0)r+=d[t],d[t]=u(r/e),r=r%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*c(2,69,1))-69,r=t<0?l*c(2,-t,1):l/c(2,t,1),r*=4503599627370496,t=52-t,t>0){m(0,r),n=p;while(n>=7)m(1e7,0),n-=7;m(c(10,n,1),0),n=t-1;while(n>=23)g(1<<23),n-=23;g(1<<n),m(1,1),g(2),v=y()}else m(0,r),m(1<<-t,0),v=y()+a.call("0",p);return p>0?(s=v.length,v=h+(s<=p?"0."+a.call("0",p-s)+v:v.slice(0,s-p)+"."+v.slice(s-p))):v=h+v,v}})},b68b:function(e,t,r){"use strict";var n=r("ec20").dot,i=r("e806").BADNUM,o=e.exports={};o.tester=function(e){var t,r=e.slice(),n=r[0][0],o=n,a=r[0][1],s=a;for(r.push(r[0]),t=1;t<r.length;t++)n=Math.min(n,r[t][0]),o=Math.max(o,r[t][0]),a=Math.min(a,r[t][1]),s=Math.max(s,r[t][1]);var l,u=!1;function c(e,t){var r=e[0],u=e[1];return!(r===i||r<n||r>o||u===i||u<a||u>s)&&(!t||!l(e))}function f(e,t){var l=e[0],u=e[1];if(l===i||l<n||l>o||u===i||u<a||u>s)return!1;var c,f,p,d,h,v=r.length,m=r[0][0],g=r[0][1],y=0;for(c=1;c<v;c++)if(f=m,p=g,m=r[c][0],g=r[c][1],d=Math.min(f,m),!(l<d||l>Math.max(f,m)||u>Math.max(p,g)))if(u<Math.min(p,g))l!==d&&y++;else{if(h=m===f?u:p+(l-f)*(g-p)/(m-f),u===h)return 1!==c||!t;u<=h&&l!==d&&y++}return y%2===1}5===r.length&&(r[0][0]===r[1][0]?r[2][0]===r[3][0]&&r[0][1]===r[3][1]&&r[1][1]===r[2][1]&&(u=!0,l=function(e){return e[0]===r[0][0]}):r[0][1]===r[1][1]&&r[2][1]===r[3][1]&&r[0][0]===r[3][0]&&r[1][0]===r[2][0]&&(u=!0,l=function(e){return e[1]===r[0][1]}));var p=!0,d=r[0];for(t=1;t<r.length;t++)if(d[0]!==r[t][0]||d[1]!==r[t][1]){p=!1;break}return{xmin:n,xmax:o,ymin:a,ymax:s,pts:r,contains:u?c:f,isRect:u,degenerate:p}},o.isSegmentBent=function(e,t,r,i){var o,a,s,l=e[t],u=[e[r][0]-l[0],e[r][1]-l[1]],c=n(u,u),f=Math.sqrt(c),p=[-u[1]/f,u[0]/f];for(o=t+1;o<r;o++)if(a=[e[o][0]-l[0],e[o][1]-l[1]],s=n(a,u),s<0||s>c||Math.abs(n(a,p))>i)return!0;return!1},o.filter=function(e,t){var r=[e[0]],n=0,i=0;function a(a){e.push(a);var s=r.length,l=n;r.splice(i+1);for(var u=l+1;u<e.length;u++)(u===e.length-1||o.isSegmentBent(e,l,u+1,t))&&(r.push(e[u]),r.length<s-2&&(n=u,i=r.length-1),l=u)}if(e.length>1){var s=e.pop();a(s)}return{addPt:a,raw:e,filtered:r}}},b6de:function(e,t,r){"use strict";var n=r("bb71");t.name="treemap",t.plot=function(e,r,i,o){n.plotBasePlot(t.name,e,r,i,o)},t.clean=function(e,r,i,o){n.cleanBasePlot(t.name,e,r,i,o)}},b6e2:function(e,t,r){"use strict";var n=r("dec3"),i=r("8cb4"),o=r("0c45"),a=r("f1df");function s(e){var t=a(e,(function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=t.getAnchorKey(),a=t.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(e,s?i.getUTF16Length(s,0):1)}),"forward");if(t===e.getCurrentContent())return e;var r=e.getSelection();return n.push(e,t.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}e.exports=s},b6f7:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("4183"),a=r("6b50");e.exports=function(e,t,r,s){function l(r,n){return i.coerce(e,t,a,r,n)}function u(e){var t=e.map((function(e){var t=l(e);return t&&i.isArrayOrTypedArray(t)?t:null}));return t.every((function(e){return e&&e.length===t[0].length}))&&t}var c=u(["x","y","z"]);if(c)if(u(["i","j","k"]),(!t.i||t.j&&t.k)&&(!t.j||t.k&&t.i)&&(!t.k||t.i&&t.j)){var f=n.getComponentMethod("calendars","handleTraceDefaults");f(e,t,["x","y","z"],s),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach((function(e){l(e)}));var p=l("contour.show");p&&(l("contour.color"),l("contour.width")),"intensity"in e?(l("intensity"),l("intensitymode"),o(e,t,s,l,{prefix:"",cLetter:"c"})):(t.showscale=!1,"facecolor"in e?l("facecolor"):"vertexcolor"in e?l("vertexcolor"):l("color",r)),l("text"),l("hovertext"),l("hovertemplate"),t._length=null}else t.visible=!1;else t.visible=!1}},b727:function(e,t,r){var n=r("0366"),i=r("44ad"),o=r("7b0b"),a=r("50c4"),s=r("65f0"),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,f=6==e,p=5==e||f;return function(d,h,v,m){for(var g,y,b=o(d),x=i(b),A=n(h,v,3),w=a(x.length),_=0,E=m||s,k=t?E(d,w):r?E(d,0):void 0;w>_;_++)if((p||_ in x)&&(g=x[_],y=A(g,_,b),e))if(t)k[_]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:l.call(k,g)}else if(c)return!1;return f?-1:u||c?c:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},b73f:function(e,t){function r(e,t,r,n){var i=r[0],o=r[1],a=t[0]-i,s=t[1]-o,l=Math.sin(n),u=Math.cos(n);return e[0]=i+a*u-s*l,e[1]=o+a*l+s*u,e[2]=t[2],e}e.exports=r},b74c:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedColorscalePicker=void 0;var i=p(r("eff1")),o=p(r("5174")),a=p(r("d7bc")),s=f(r("ab5b")),l=r("4578"),u=r("e419");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(){var e;return g(this,r),e=t.call(this),e.onUpdate=e.onUpdate.bind(E(e)),e}return b(r,[{key:"onUpdate",value:function(e,t){Array.isArray(e)&&(this.props.updatePlot(e.map((function(t,r){var n=r/(e.length-1);return 0===r&&(n=0),[n,t]})),t),this.context.onUpdate({type:u.EDITOR_ACTIONS.UPDATE_TRACES,payload:{update:{autocolorscale:!1},traceIndexes:[this.props.fullContainer.index]}}))}},{key:"render",value:function(){var e=this.props.fullValue,t=Array.isArray(e)?e.map((function(e){return e[1]})):null;return s.default.createElement(o.default,m({},this.props,{fieldContainerClassName:"field__colorscale"}),s.default.createElement(i.default,{selected:t,onColorscaleChange:this.onUpdate,initialCategory:this.props.initialCategory,disableCategorySwitch:this.props.disableCategorySwitch}))}}]),r}(s.Component);t.UnconnectedColorscalePicker=C,C.propTypes=h({labelWidth:a.default.number,fullValue:a.default.any,fullContainer:a.default.object,updatePlot:a.default.func,initialCategory:a.default.string},o.default.propTypes),C.contextTypes={container:a.default.object,graphDiv:a.default.object,onUpdate:a.default.func},C.displayName="UnconnectedColorscalePicker";var S=(0,l.connectToContainer)(C);t.default=S},b760:function(e,t,r){var n=r("872a"),i=r("9638");function o(e,t,r){(void 0!==r&&!i(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}e.exports=o},b778:function(e,t,r){"use strict";e.exports=function(){}},b791:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("c258"),a=r("83d1"),s=r("2169").makeBlank,l=r("0919");function u(e){var t=e[0].trace,r=!0===t.visible&&0!==t._length,a={layout:{visibility:"none"},paint:{}},u={layout:{visibility:"none"},paint:{}},f=t._opts={fill:a,line:u,geojson:s()};if(!r)return f;var p=l.extractTraceFeature(e);if(!p)return f;var d,h,v,m=o.makeColorScaleFuncFromTrace(t),g=t.marker,y=g.line||{};i.isArrayOrTypedArray(g.opacity)&&(d=function(e){var t=e.mo;return n(t)?+i.constrain(t,0,1):0}),i.isArrayOrTypedArray(y.color)&&(h=function(e){return e.mlc}),i.isArrayOrTypedArray(y.width)&&(v=function(e){return e.mlw});for(var b=0;b<e.length;b++){var x=e[b],A=x.fOut;if(A){var w=A.properties;w.fc=m(x.z),d&&(w.mo=d(x)),h&&(w.mlc=h(x)),v&&(w.mlw=v(x)),x.ct=w.ct,x._polygons=l.feature2polygons(A)}}var _=d?{type:"identity",property:"mo"}:g.opacity;return i.extendFlat(a.paint,{"fill-color":{type:"identity",property:"fc"},"fill-opacity":_}),i.extendFlat(u.paint,{"line-color":h?{type:"identity",property:"mlc"}:y.color,"line-width":v?{type:"identity",property:"mlw"}:y.width,"line-opacity":_}),a.layout.visibility="visible",u.layout.visibility="visible",f.geojson={type:"FeatureCollection",features:p},c(e),f}function c(e){var t,r=e[0].trace,n=r._opts;if(r.selectedpoints){for(var o=a.makeSelectedPointStyleFns(r),s=0;s<e.length;s++){var l=e[s];l.fOut&&(l.fOut.properties.mo2=o.selectedOpacityFn(l))}t={type:"identity",property:"mo2"}}else t=i.isArrayOrTypedArray(r.marker.opacity)?{type:"identity",property:"mo"}:r.marker.opacity;return i.extendFlat(n.fill.paint,{"fill-opacity":t}),i.extendFlat(n.line.paint,{"line-opacity":t}),n}e.exports={convert:u,convertOnSelect:c}},b7b8:function(e,t,r){"use strict";var n=r("d798"),i=r("9092").extendFlat,o=r("cb34").overrideAll,a=["Legacy polar charts are deprecated!","Please switch to *polar* subplots."].join(" "),s=i({},n.domain,{description:["Polar chart subplots are not supported yet.","This key has currently no effect."].join(" ")});function l(e,t){var r={showline:{valType:"boolean",role:"style",description:[a,"Determines whether or not the line bounding this",e,"axis","will be shown on the figure."].join(" ")},showticklabels:{valType:"boolean",role:"style",description:[a,"Determines whether or not the",e,"axis ticks","will feature tick labels."].join(" ")},tickorientation:{valType:"enumerated",values:["horizontal","vertical"],role:"style",description:[a,"Sets the orientation (from the paper perspective)","of the",e,"axis tick labels."].join(" ")},ticklen:{valType:"number",min:0,role:"style",description:[a,"Sets the length of the tick lines on this",e,"axis."].join(" ")},tickcolor:{valType:"color",role:"style",description:[a,"Sets the color of the tick lines on this",e,"axis."].join(" ")},ticksuffix:{valType:"string",role:"style",description:[a,"Sets the length of the tick lines on this",e,"axis."].join(" ")},endpadding:{valType:"number",role:"style",description:a},visible:{valType:"boolean",role:"info",description:[a,"Determines whether or not this axis will be visible."].join(" ")}};return i({},t,r)}e.exports=o({radialaxis:l("radial",{range:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:[a,"Defines the start and end point of this radial axis."].join(" ")},domain:s,orientation:{valType:"number",role:"style",description:[a,"Sets the orientation (an angle with respect to the origin)","of the radial axis."].join(" ")}}),angularaxis:l("angular",{range:{valType:"info_array",role:"info",items:[{valType:"number",dflt:0},{valType:"number",dflt:360}],description:[a,"Defines the start and end point of this angular axis."].join(" ")},domain:s}),layout:{direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"info",description:[a,"Sets the direction corresponding to positive angles","in legacy polar charts."].join(" ")},orientation:{valType:"angle",role:"info",description:[a,"Rotates the entire polar by the given angle","in legacy polar charts."].join(" ")}}},"plot","nested")},b7b84:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z"}))};e.exports=s},b7bb:function(e,t,r){"use strict";e.exports=r("0591")},b7d1:function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,a={};if("string"===typeof t&&(t=i(t)),Array.isArray(t)){var s={};for(o=0;o<t.length;o++)s[t[o]]=!0;t=s}for(n in t)t[n]=i(t[n]);var l={};for(n in t){var u=t[n];if(Array.isArray(u))for(o=0;o<u.length;o++){var c=u[o];if(r&&(l[c]=!0),c in e){if(a[n]=e[c],r)for(var f=o;f<u.length;f++)l[u[f]]=!0;break}}else n in e&&(t[n]&&(a[n]=e[n]),r&&(l[n]=!0))}if(r)for(n in e)l[n]||(a[n]=e[n]);return a};var n={};function i(e){return n[e]?n[e]:("string"===typeof e&&(e=n[e]=e.split(/\s*,\s*|\s+/)),e)}},b7d6:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}))};e.exports=s},b7e7:function(e,t,r){"use strict";e.exports=r("4f94")},b7f7:function(e,t,r){"use strict";e.exports={attributes:r("3044"),supplyDefaults:r("eb12"),colorbar:r("a5e1"),calc:r("0adf"),plot:r("f6d3"),style:r("ee6b"),moduleType:"trace",name:"contourcarpet",basePlotModule:r("91cd"),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{hrName:"contour_carpet",description:["Plots contours on either the first carpet axis or the","carpet axis with a matching `carpet` attribute. Data `z`","is interpreted as matching that of the corresponding carpet","axis."].join(" ")}}},b7f8:function(e,t,r){"use strict";e.exports=d;var n=r("b5bb"),i=r("cea5"),o=r("1d4c"),a=r("e9dc");function s(e){for(var t=e.length,r=0,n=0;n<t;++n)r=0|Math.max(r,e[n].length);return r-1}function l(e,t){for(var r=e.length,n=i.mallocUint8(r),o=0;o<r;++o)n[o]=e[o]<t|0;return n}function u(e,t){for(var r=e.length,a=t*(t+1)/2*r|0,s=i.mallocUint32(2*a),l=0,u=0;u<r;++u)for(var c=e[u],f=(t=c.length,0);f<t;++f)for(var p=0;p<f;++p){var d=c[p],h=c[f];s[l++]=0|Math.min(d,h),s[l++]=0|Math.max(d,h)}var v=l/2|0;o(n(s,[v,2]));var m=2;for(u=2;u<l;u+=2)s[u-2]===s[u]&&s[u-1]===s[u+1]||(s[m++]=s[u],s[m++]=s[u+1]);return n(s,[m/2|0,2])}function c(e,t,r,o){for(var a=e.data,s=e.shape[0],l=i.mallocDouble(s),u=0,c=0;c<s;++c){var f=a[2*c],p=a[2*c+1];if(r[f]!==r[p]){var d=t[f],h=t[p];a[2*u]=f,a[2*u+1]=p,l[u++]=(h-o)/(h-d)}}return e.shape[0]=u,n(l,[u])}function f(e,t){var r=i.mallocInt32(2*t),n=e.shape[0],o=e.data;r[0]=0;for(var a=0,s=0;s<n;++s){var l=o[2*s];if(l!==a){r[2*a+1]=s;while(++a<l)r[2*a]=s,r[2*a+1]=s;r[2*a]=s}}r[2*a+1]=n;while(++a<t)r[2*a]=r[2*a+1]=n;return r}function p(e){for(var t=0|e.shape[0],r=e.data,n=new Array(t),i=0;i<t;++i)n[i]=[r[2*i],r[2*i+1]];return n}function d(e,t,r,n){r=r||0,"undefined"===typeof n&&(n=s(e));var o=e.length;if(0===o||n<1)return{cells:[],vertexIds:[],vertexWeights:[]};var d=l(t,+r),h=u(e,n),v=c(h,t,d,+r),m=f(h,0|t.length),g=a(n)(e,h.data,m,d),y=p(h),b=[].slice.call(v.data,0,v.shape[0]);return i.free(d),i.free(h.data),i.free(v.data),i.free(m),{cells:g,vertexIds:y,vertexWeights:b}}},b80f:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"}))};e.exports=s},b82b:function(e,t,r){"use strict";var n=r("a9a1"),i=r("c05e");function o(e,t){for(var r=[0,0,0,0],n=0;n<4;++n)for(var i=0;i<4;++i)r[i]+=e[4*n+i]*t[n];return r}function a(e,t,r,n,i){for(var a=o(n,o(r,o(t,[e[0],e[1],e[2],1]))),s=0;s<3;++s)a[s]/=a[3];return[.5*i[0]*(1+a[0]),.5*i[1]*(1-a[1])]}function s(e,t){if(2===e.length){for(var r=0,o=0,a=0;a<2;++a)r+=Math.pow(t[a]-e[0][a],2),o+=Math.pow(t[a]-e[1][a],2);return r=Math.sqrt(r),o=Math.sqrt(o),r+o<1e-6?[1,0]:[o/(r+o),r/(o+r)]}if(3===e.length){var s=[0,0];return i(e[0],e[1],e[2],t,s),n(e,s)}return[]}function l(e,t){for(var r=[0,0,0],n=0;n<e.length;++n)for(var i=e[n],o=t[n],a=0;a<3;++a)r[a]+=o*i[a];return r}function u(e,t,r,n,i,o){if(1===e.length)return[0,e[0].slice()];for(var u=new Array(e.length),c=0;c<e.length;++c)u[c]=a(e[c],r,n,i,o);var f=0,p=1/0;for(c=0;c<u.length;++c){for(var d=0,h=0;h<2;++h)d+=Math.pow(u[c][h]-t[h],2);d<p&&(p=d,f=c)}var v=s(u,t),m=0;for(c=0;c<3;++c){if(v[c]<-.001||v[c]>1.0001)return null;m+=v[c]}return Math.abs(m-1)>.001?null:[f,l(e,v),v]}e.exports=u},b830:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M4,2C2.89,2 2,2.89 2,4V14H4V4H14V2H4M8,6C6.89,6 6,6.89 6,8V18H8V8H18V6H8M12,10C10.89,10 10,10.89 10,12V20C10,21.11 10.89,22 12,22H20C21.11,22 22,21.11 22,20V12C22,10.89 21.11,10 20,10H12Z"}))};e.exports=s},b83d:function(e,t,r){"use strict";var n="d",i="ax",o="vv",a="fp",s="es",l="rs",u="re",c="rb",f="ri",p="rp",d="bs",h="be",v="bb",m="bi",g="bp",y="rv",b="Q",x=[n,i,o,l,u,c,f,d,h,v,m];function A(e,t,r){var a="bruteForce"+(e?"Red":"Blue")+(t?"Flip":"")+(r?"Full":""),A=["function ",a,"(",x.join(),"){","var ",s,"=2*",n,";"],w="for(var i="+l+","+p+"="+s+"*"+l+";i<"+u+";++i,"+p+"+="+s+"){var x0="+c+"["+i+"+"+p+"],x1="+c+"["+i+"+"+p+"+"+n+"],xi="+f+"[i];",_="for(var j="+d+","+g+"="+s+"*"+d+";j<"+h+";++j,"+g+"+="+s+"){var y0="+v+"["+i+"+"+g+"],"+(r?"y1="+v+"["+i+"+"+g+"+"+n+"],":"")+"yi="+m+"[j];";return e?A.push(w,b,":",_):A.push(_,b,":",w),r?A.push("if(y1<x0||x1<y0)continue;"):t?A.push("if(y0<=x0||x1<y0)continue;"):A.push("if(y0<x0||x1<y0)continue;"),A.push("for(var k="+i+"+1;k<"+n+";++k){var r0="+c+"[k+"+p+"],r1="+c+"[k+"+n+"+"+p+"],b0="+v+"[k+"+g+"],b1="+v+"[k+"+n+"+"+g+"];if(r1<b0||b1<r0)continue "+b+";}var "+y+"="+o+"("),t?A.push("yi,xi"):A.push("xi,yi"),A.push(");if("+y+"!==void 0)return "+y+";}}}"),{name:a,code:A.join("")}}function w(e){var t="bruteForce"+(e?"Full":"Partial"),r=[],n=x.slice();e||n.splice(3,0,a);var i=["function "+t+"("+n.join()+"){"];function o(t,n){var o=A(t,n,e);r.push(o.code),i.push("return "+o.name+"("+x.join()+");")}i.push("if("+u+"-"+l+">"+h+"-"+d+"){"),e?(o(!0,!1),i.push("}else{"),o(!1,!1)):(i.push("if("+a+"){"),o(!0,!0),i.push("}else{"),o(!0,!1),i.push("}}else{if("+a+"){"),o(!1,!0),i.push("}else{"),o(!1,!1),i.push("}")),i.push("}}return "+t);var s=r.join("")+i.join(""),c=new Function(s);return c()}t.partial=w(!1),t.full=w(!0)},b882:function(e,t,r){e.exports=i;var n=r("cf8b")();function i(e,t,r,i,o,a){var s,l;for(t||(t=3),r||(r=0),l=i?Math.min(i*t+r,e.length):e.length,s=r;s<l;s+=t)n[0]=e[s],n[1]=e[s+1],n[2]=e[s+2],o(n,n,a),e[s]=n[0],e[s+1]=n[1],e[s+2]=n[2];return e}},b8ae:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(r("ab5b")),o=n(r("8bc8")),a=n(r("2b0e")),s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},d=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},h=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},v=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m="vuera-internal-component-name",g=function(e,t){return e("vuera-internal-react-wrapper",{props:{component:function(){return i.createElement("div",null,t)}}})},y=function(e){function t(e){l(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.currentVueComponent=e.component;var n=r.createVueInstance,i=r;return r.createVueInstance=function(e,t,r){n(e,i,t,r)},r}return p(t,e),u(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.component,r=d(e,["component"]);this.currentVueComponent!==t&&this.updateVueComponent(this.props.component,t),Object.assign(this.vueInstance.$data,r)}},{key:"componentWillUnmount",value:function(){this.vueInstance.$destroy()}},{key:"createVueInstance",value:function(e,t){var r,n=t.props,i=n.component,o=n.on,s=d(n,["component","on"]);t.vueInstance=new a(f({el:e,data:s},S.vueInstanceOptions,{render:function(e){return e(m,{props:this.$data,on:o},[g(e,this.children)])},components:(r={},c(r,m,i),c(r,"vuera-internal-react-wrapper",x),r)}))}},{key:"updateVueComponent",value:function(e,t){this.currentVueComponent=t,this.vueInstance.$options.components[m]=t,this.vueInstance.$forceUpdate()}},{key:"render",value:function(){return i.createElement("div",{ref:this.createVueInstance})}}]),t}(i.Component),b=function(e){var t,r;return r=t=function(t){function r(e){l(this,r);var t=h(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.state=f({},e),t}return p(r,t),u(r,[{key:"wrapVueChildren",value:function(e){return{render:function(t){return t("div",e)}}}},{key:"render",value:function(){var t=this.state,r=t.children,n=(t[""],d(t,["children",""])),o=this.wrapVueChildren(r);return i.createElement(e,n,r&&i.createElement(y,{component:o}))}}]),r}(i.Component),t.displayName="ReactInVue"+(e.displayName||e.name||"Component"),r},x={props:["component","passedProps"],render:function(e){return e("div",{ref:"react"})},methods:{mountReactComponent:function(e){var t=this,r=b(e),n=void 0!==this.$slots.default?{children:this.$slots.default}:{};o.render(i.createElement(r,f({},this.$props.passedProps,this.$attrs,this.$listeners,n,{ref:function(e){return t.reactComponentRef=e}})),this.$refs.react)}},mounted:function(){this.mountReactComponent(this.$props.component)},beforeDestroy:function(){o.unmountComponentAtNode(this.$refs.react)},updated:function(){void 0!==this.$slots.default?this.reactComponentRef.setState({children:this.$slots.default}):this.reactComponentRef.setState({children:null})},inheritAttrs:!1,watch:{$attrs:{handler:function(){this.reactComponentRef.setState(f({},this.$attrs))},deep:!0},"$props.component":{handler:function(e){this.mountReactComponent(e)}},$listeners:{handler:function(){this.reactComponentRef.setState(f({},this.$listeners))},deep:!0},"$props.passedProps":{handler:function(){this.reactComponentRef.setState(f({},this.$props.passedProps))},deep:!0}}};function A(e){return!("object"===("undefined"===typeof e?"undefined":s(e))&&!w(e))&&!("function"===typeof e&&e.prototype&&(e.prototype.constructor.super&&e.prototype.constructor.super.isVue||e.prototype instanceof a))}function w(e){return e.$$typeof&&"Symbol(react.forward_ref)"===e.$$typeof.toString()}function _(e){return{components:{ReactWrapper:x},props:["passedProps"],inheritAttrs:!1,render:function(t){return t("react-wrapper",{props:{component:e,passedProps:this.$props.passedProps},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}}}var E={install:function(e,t){var r=e.config.optionMergeStrategies.components;e.config.optionMergeStrategies.components=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=r.apply(void 0,[e].concat(n)),a=o?Object.entries(o).reduce((function(e,t){var r=v(t,2),n=r[0],i=r[1];return f({},e,c({},n,A(i)?_(i):i))}),{}):o;return Object.assign(o,a)},e.prototype.constructor.isVue=!0}};function k(e){return A(e)?e:function(t){return i.createElement(y,f({},t,{component:e}))}}function T(e,t,r){return A(e)?i.createElement(e,t,r):i.createElement(y,Object.assign({component:e},t),r)}function C(){return{vueInstanceOptions:{}}}var S=C();t.ReactWrapper=x,t.VueWrapper=y,t.__vueraReactResolver=T,t.VuePlugin=E,t.VueInReact=k,t.ReactInVue=_,t.config=S},b8b2:function(e,t,r){"use strict";var n=r("f118"),i=r("0642"),o=r("83d1");e.exports=function(e,t,r,a){var s,l,u,c=r[0][0].carpet,f={xaxis:i.getFromId(e,c.xaxis||"x"),yaxis:i.getFromId(e,c.yaxis||"y"),plot:t.plot};for(n(e,f,r,a),s=0;s<r.length;s++)l=r[s][0].trace,u=a.selectAll("g.trace"+l.uid+" .js-line"),o.setClipUrl(u,r[s][0].carpet._clipPathId,e)}},b8c0:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("6a77"),a=r("0681"),s=r("e806").BADNUM;function l(e,t,r){var n=Math.min(t,r/1.349);return 1.059*n*Math.pow(e,-.2)}function u(e,t,r){var i=t.max-t.min;if(!i)return e.bandwidth?e.bandwidth:0;if(e.bandwidth)return Math.max(e.bandwidth,i/1e4);var o=r.length,a=n.stdev(r,o-1,t.mean);return Math.max(l(o,a,t.q3-t.q1),i/100)}function c(e,t,r,n){var o,a=e.spanmode,l=e.span||[],u=[t.min,t.max],c=[t.min-2*n,t.max+2*n];function f(n){var i=l[n],o="multicategory"===r.type?r.r2c(i):r.d2c(i,0,e[t.valLetter+"calendar"]);return o===s?c[n]:o}o="soft"===a?c:"hard"===a?u:[f(0),f(1)];var p={type:"linear",range:o};return i.setConvert(p),p.cleanRange(),o}e.exports=function(e,t){var r=o(e,t);if(r[0].t.empty)return r;for(var s=e._fullLayout,l=i.getFromId(e,t["h"===t.orientation?"xaxis":"yaxis"]),f=1/0,p=-1/0,d=0,h=0,v=0;v<r.length;v++){var m=r[v],g=m.pts.map(a.extractVal),y=m.bandwidth=u(t,m,g),b=m.span=c(t,m,l,y);if(m.min===m.max&&0===y)b=m.span=[m.min,m.max],m.density=[{v:1,t:b[0]}],m.bandwidth=y,d=Math.max(d,1);else{var x=b[1]-b[0],A=Math.ceil(x/(y/3)),w=x/A;if(!isFinite(w)||!isFinite(A))return n.error("Something went wrong with computing the violin span"),r[0].t.empty=!0,r;var _=a.makeKDE(m,t,g);m.density=new Array(A);for(var E=0,k=b[0];k<b[1]+w/2;E++,k+=w){var T=_(k);m.density[E]={v:T,t:k},d=Math.max(d,T)}}h=Math.max(h,g.length),f=Math.min(f,b[0]),p=Math.max(p,b[1])}var C=i.findExtremes(l,[f,p],{padded:!0});if(t._extremes[l._id]=C,t.width)r[0].t.maxKDE=d;else{var S=s._violinScaleGroupStats,O=t.scalegroup,M=S[O];M?(M.maxKDE=Math.max(M.maxKDE,d),M.maxCount=Math.max(M.maxCount,h)):S[O]={maxKDE:d,maxCount:h}}return r[0].t.labels.kde=n._(e,"kde:"),r}},b8ca:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.traceTypeToAxisType=a,t.axisIdToAxisName=s,t.getAxisTitle=u,t.getSubplotTitle=f;var n=r("e419"),i=r("4578");function o(e){var t=[];return e&&e._subplots&&Object.keys(e._subplots).filter((function(t){return"cartesian"!==t&&0!==e._subplots[t].length})).forEach((function(r){e._subplots[r].forEach((function(n){["xaxis","yaxis"].includes(r)?(n=n.length>1?n.slice(0,1)+"axis"+n.slice(1):n+"axis",e[n]._subplot=n,e[n]._axisGroup=r,t.push(e[n])):Object.keys(e[n]).filter((function(e){return e.includes("axis")})).forEach((function(i){e[n][i]._subplot=n,e[n][i]._axisGroup=r,e[n][i]._name||(e[n][i]._name=i),t.push(e[n][i])}))}))})),t}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e||(e="scatter");var r=null,i=n.TRACE_TO_AXIS;return t&&(Object.assign(i,n.TRACE_TO_AXIS,{scene:n.TRACE_TO_AXIS.gl3d}),delete i.gl3d),Object.keys(i).forEach((function(t){i[t].includes(e)&&(r=t)})),r||null}function s(e){return e.charAt(0)+"axis"+e.slice(1)}function l(e){var t=e._subplot?e._subplot.split(e._axisGroup):[];return t[1]?Number(t[1]):e._name.split("axis")[1]}function u(e){var t=(0,i.capitalize)(e._name.split("axis")[0]),r=l(e)||1;return e._input&&e._input.title?(0,i.striptags)("".concat(t,": ").concat(e._input.title.text)):(0,i.striptags)("".concat(t," ").concat(r))}function c(e,t){return Number(e.split(t)[1])}function f(e,t,r){var i=(0,n.subplotName)(t,r),o=c(e,n.SUBPLOT_TO_ATTR[t].layout)||"";return"".concat(i," ").concat(o)}},b8ce:function(e,t,r){"use strict";e.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},b905:function(e,t,r){"use strict";e.exports=r("fb34")},b91d:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("9903")),o=f(r("201b")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=(0,l.connectSliderToLayout)(i.default),_=function(e){v(r,e);var t=g(r);function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"render",value:function(){var e=this.context,t=e.layout.sliders,r=void 0===t?[]:t,n=e.localize,i=this.props.children,a=r.length>0&&r.map((function(e,t){return s.default.createElement(w,{key:t,sliderIndex:t,name:n("Slider")+" ".concat(t+1)},i)}));return s.default.createElement(o.default,null,a||null)}}]),r}(s.Component);_.contextTypes={layout:a.default.object,localize:a.default.func},_.propTypes={children:a.default.node};var E=_;t.default=E},b924:function(e,t){function r(e,t,r){var n=[];return e.forEach((function(e){var i=(e.myFill.above?8:0)+(e.myFill.below?4:0)+(e.otherFill&&e.otherFill.above?2:0)+(e.otherFill&&e.otherFill.below?1:0);0!==t[i]&&n.push({id:r?r.segmentId():-1,start:e.start,end:e.end,myFill:{above:1===t[i],below:2===t[i]},otherFill:null})})),r&&r.selected(n),n}var n={union:function(e,t){return r(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return r(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return r(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return r(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return r(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}};e.exports=n},b94e:function(e,t,r){"use strict";var n=r("4c69");e.exports=s;var i=a("in",document.body);function o(e,t){var r=n(getComputedStyle(e).getPropertyValue(t));return r[0]*s(r[1],e)}function a(e,t){var r=document.createElement("div");r.style["height"]="128"+e,t.appendChild(r);var n=o(r,"height")/128;return t.removeChild(r),n}function s(e,t){if(!e)return null;switch(t=t||document.body,e=(e+""||"px").trim().toLowerCase(),t!==window&&t!==document||(t=document.body),e){case"%":return t.clientHeight/100;case"ch":case"ex":return a(e,t);case"em":return o(t,"font-size");case"rem":return o(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return i;case"cm":return i/2.54;case"mm":return i/25.4;case"pt":return i/72;case"pc":return i/6;case"px":return 1}var r=n(e);if(!isNaN(r[0])&&r[1]){var l=s(r[1],t);return"number"===typeof l?r[0]*l:null}return null}},b964:function(e,t,r){"use strict";e.exports={attributes:r("74b4"),supplyDefaults:r("67f2"),colorbar:r("f3cf"),formatLabels:r("0316"),calc:r("824b"),plot:r("ac37"),hoverPoints:r("83c1"),eventData:r("f8f6"),selectPoints:r("1bef"),styleOnSelect:function(e,t){if(t){var r=t[0].trace;r._glTrace.update(t)}},moduleType:"trace",name:"scattermapbox",basePlotModule:r("860b"),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{hrName:"scatter_mapbox",description:["The data visualized as scatter point, lines or marker symbols","on a Mapbox GL geographic map","is provided by longitude/latitude pairs in `lon` and `lat`."].join(" ")}}},b96d:function(e,t,r){"use strict";function n(e,t){return a(e)||l(e,t)||u(e,t)||p()}function i(e){return o(e)||s(e)||u(e)||f()}function o(e){if(Array.isArray(e))return c(e)}function a(e){if(Array.isArray(e))return e}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function u(e,t){if(e){if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(){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 p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=r("0103"),h=r("be00"),v=r("35e5"),m=r("09cf"),g=r("320c"),y=r("9773"),b=r("b7d1"),x=r("7b1c"),A=r("37cd"),w=r("375c"),_=r("1d19"),E=r("3de2"),k=T;function T(e,t){var r=this;if(!(this instanceof T))return new T(e,t);"function"===typeof e?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n,i=e._gl,o=[],a={},s=[],l=[null],u=[null],c=255,f=100;this.tooManyColors=w,n=e.texture({data:new Uint8Array(4*c),width:c,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),g(this,{regl:e,gl:i,groups:s,markerCache:u,markerTextures:l,palette:o,paletteIds:a,paletteTexture:n,maxColors:c,maxSize:f,canvas:i.canvas}),this.update(t);var p={uniforms:{constPointSize:!!t.constPointSize,pixelRatio:e.context("pixelRatio"),palette:n,paletteSize:function(e,t){return[r.tooManyColors?0:c,n.height]},scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translate:e.prop("translate"),translateFract:e.prop("translateFract"),opacity:e.prop("opacity"),marker:e.prop("markerTexture")},attributes:{x:function(e,t){return t.xAttr||{buffer:t.positionBuffer,stride:8,offset:0}},y:function(e,t){return t.yAttr||{buffer:t.positionBuffer,stride:8,offset:4}},xFract:function(e,t){return t.xAttr?{constant:[0,0]}:{buffer:t.positionFractBuffer,stride:8,offset:0}},yFract:function(e,t){return t.yAttr?{constant:[0,0]}:{buffer:t.positionFractBuffer,stride:8,offset:4}},size:function(e,t){return t.size.length?{buffer:t.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(255*t.size/r.maxSize)]}},borderSize:function(e,t){return t.borderSize.length?{buffer:t.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(255*t.borderSize/r.maxSize)]}},colorId:function(e,t){return t.color.length?{buffer:t.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?o.slice(4*t.color,4*t.color+4):[t.color]}},borderColorId:function(e,t){return t.borderColor.length?{buffer:t.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?o.slice(4*t.borderColor,4*t.borderColor+4):[t.borderColor]}},isActive:function(e,t){return!0===t.activation?{constant:[1]}:t.activation?t.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:e.prop("elements"),count:e.prop("count"),offset:e.prop("offset"),primitive:"points"},d=g({},p);d.frag=y(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragWidth, fragBorderColorLevel, fragColorLevel;\n\nuniform sampler2D marker;\nuniform float opacity;\n\nfloat smoothStep(float x, float y) {\n return 1.0 / (1.0 + exp(50.0*(x - y)));\n}\n\nvoid main() {\n float dist = texture2D(marker, gl_PointCoord).r, delta = fragWidth;\n\n // max-distance alpha\n if (dist < 0.003) discard;\n\n // null-border case\n if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {\n float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);\n gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);\n }\n else {\n float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);\n float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);\n\n vec4 color = fragBorderColor;\n color.a *= borderColorAmt;\n color = mix(color, fragColor, colorAmt);\n color.a *= opacity;\n\n gl_FragColor = color;\n }\n\n}\n"]),d.vert=y(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform vec2 scale, scaleFract, translate, translateFract, paletteSize;\nuniform float pixelRatio;\nuniform bool constPointSize;\nuniform sampler2D palette;\n\nconst float maxSize = 100.;\nconst float borderLevel = .5;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(palette,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = 2. * size * pointSizeScale;\n fragPointSize = size * pixelRatio;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragColor = color;\n fragBorderColor = borderColor;\n fragWidth = 1. / gl_PointSize;\n\n fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);\n fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);\n}"]),this.drawMarker=e(d);var h=g({},p);h.frag=y(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor, fragBorderColor;\n\nuniform float opacity;\nvarying float fragBorderRadius, fragWidth;\n\nfloat smoothStep(float edge0, float edge1, float x) {\n\tfloat t;\n\tt = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);\n\treturn t * t * (3.0 - 2.0 * t);\n}\n\nvoid main() {\n\tfloat radius, alpha = 1.0, delta = fragWidth;\n\n\tradius = length(2.0 * gl_PointCoord.xy - 1.0);\n\n\tif (radius > 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n"]),h.vert=y(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform vec2 scale, scaleFract, translate, translateFract;\nuniform float pixelRatio;\nuniform bool constPointSize;\nuniform sampler2D palette;\nuniform vec2 paletteSize;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(palette,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = (size + borderSize) * pointSizeScale;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n fragColor = color;\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n fragWidth = 1. / gl_PointSize;\n}\n"]),w&&(h.frag=h.frag.replace("smoothstep","smoothStep"),d.frag=d.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(h)}T.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},T.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},T.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(1===r.length&&Array.isArray(r[0])&&(null===r[0][0]||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var o=0;o<r.length;o++)this.drawItem(o,r[o]);else i.forEach((function(t,r){e.drawItem(r)}));return this},T.prototype.drawItem=function(e,t){var r=this.groups,n=r[e];if("number"===typeof t&&(e=t,n=r[t],t=null),n&&n.count&&n.opacity){n.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,n,t));for(var o=[],a=1;a<n.activation.length;a++)n.activation[a]&&(!0===n.activation[a]||n.activation[a].data.length)&&o.push.apply(o,i(this.getMarkerDrawOptions(a,n,t)));o.length&&this.drawMarker(o)}},T.prototype.getMarkerDrawOptions=function(e,t,r){var i=t.range,o=t.tree,a=t.viewport,s=t.activation,l=t.selectionBuffer,u=t.count;this.regl;if(!o)return r?[g({},t,{markerTexture:this.markerTextures[e],activation:s[e],count:r.length,elements:r,offset:0})]:[g({},t,{markerTexture:this.markerTextures[e],activation:s[e],offset:0})];var c=[],f=o.range(i,{lod:!0,px:[(i[2]-i[0])/a.width,(i[3]-i[1])/a.height]});if(r){for(var p=s[e],d=p.data,h=new Uint8Array(u),v=0;v<r.length;v++){var m=r[v];h[m]=d?d[m]:1}l.subdata(h)}for(var y=f.length;y--;){var b=n(f[y],2),x=b[0],A=b[1];c.push(g({},t,{markerTexture:this.markerTextures[e],activation:r?l:s[e],offset:x,count:A-x}))}return c},T.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length){1===r.length&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,o=this.gl,a=this.regl,s=this.maxSize,l=this.maxColors,u=this.palette;this.groups=i=r.map((function(t,r){var n=i[r];if(void 0===t)return n;null===t?t={positions:null}:"function"===typeof t?t={ondraw:t}:"number"===typeof t[0]&&(t={positions:t}),t=b(t,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),null===t.positions&&(t.positions=[]),null!=t.tooManyColors&&(e.tooManyColors=t.tooManyColors),n||(i[r]=n={id:r,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:a.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:a.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},t=g({},T.defaults,t)),t.positions&&!("marker"in t)&&(t.marker=n.marker,delete n.marker),t.marker&&!("positions"in t)&&(t.positions=n.positions,delete n.positions);var c=0,f=0;if(x(n,t,[{snap:!0,size:function(e,t){return null==e&&(e=T.defaults.size),c+=e&&e.length?1:0,e},borderSize:function(e,t){return null==e&&(e=T.defaults.borderSize),c+=e&&e.length?1:0,e},opacity:parseFloat,color:function(t,r){return null==t&&(t=T.defaults.color),t=e.updateColor(t),f++,t},borderColor:function(t,r){return null==t&&(t=T.defaults.borderColor),t=e.updateColor(t),f++,t},bounds:function(e,t,r){return"range"in r||(r.range=null),e},positions:function(e,t,r){var n=t.snap,i=t.positionBuffer,o=t.positionFractBuffer,s=t.selectionBuffer;if(e.x||e.y)return e.x.length?t.xAttr={buffer:a.buffer(e.x),offset:0,stride:4,count:e.x.length}:t.xAttr={buffer:e.x.buffer,offset:4*e.x.offset||0,stride:4*(e.x.stride||1),count:e.x.count},e.y.length?t.yAttr={buffer:a.buffer(e.y),offset:0,stride:4,count:e.y.length}:t.yAttr={buffer:e.y.buffer,offset:4*e.y.offset||0,stride:4*(e.y.stride||1),count:e.y.count},t.count=Math.max(t.xAttr.count,t.yAttr.count),e;e=A(e,"float64");var l=t.count=Math.floor(e.length/2),u=t.bounds=l?h(e,2):null;if(r.range||t.range||(delete t.range,r.range=u),r.marker||t.marker||(delete t.marker,r.marker=null),n&&(!0===n||l>n)?t.tree=m(e,{bounds:u}):n&&n.length&&(t.tree=n),t.tree){var c={primitive:"points",usage:"static",data:t.tree,type:"uint32"};t.elements?t.elements(c):t.elements=a.elements(c)}return i({data:_.float(e),usage:"dynamic"}),o({data:_.fract(e),usage:"dynamic"}),s({data:new Uint8Array(l),type:"uint8",usage:"stream"}),e}},{marker:function(t,r,n){var i=r.activation;if(i.forEach((function(e){return e&&e.destroy&&e.destroy()})),i.length=0,t&&"number"!==typeof t[0]){for(var o=[],s=0,l=Math.min(t.length,r.count);s<l;s++){var u=e.addMarker(t[s]);o[u]||(o[u]=new Uint8Array(r.count)),o[u][s]=1}for(var c=0;c<o.length;c++)if(o[c]){var f={data:o[c],type:"uint8",usage:"static"};i[c]?i[c](f):i[c]=a.buffer(f),i[c].data=o[c]}}else{var p=e.addMarker(t);i[p]=!0}return t},range:function(e,t,r){var n=t.bounds;if(n)return e||(e=n),t.scale=[1/(e[2]-e[0]),1/(e[3]-e[1])],t.translate=[-e[0],-e[1]],t.scaleFract=_.fract(t.scale),t.translateFract=_.fract(t.translate),e},viewport:function(e){var t=E(e||[o.drawingBufferWidth,o.drawingBufferHeight]);return t}}]),c){var p=n,d=p.count,v=p.size,y=p.borderSize,w=p.sizeBuffer,k=new Uint8Array(2*d);if(v.length||y.length)for(var C=0;C<d;C++)k[2*C]=Math.round(255*(null==v[C]?v:v[C])/s),k[2*C+1]=Math.round(255*(null==y[C]?y:y[C])/s);w({data:k,usage:"dynamic"})}if(f){var S,O=n,M=O.count,P=O.color,B=O.borderColor,L=O.colorBuffer;if(e.tooManyColors){if(P.length||B.length){S=new Uint8Array(8*M);for(var D=0;D<M;D++){var I=P[D];S[8*D]=u[4*I],S[8*D+1]=u[4*I+1],S[8*D+2]=u[4*I+2],S[8*D+3]=u[4*I+3];var j=B[D];S[8*D+4]=u[4*j],S[8*D+5]=u[4*j+1],S[8*D+6]=u[4*j+2],S[8*D+7]=u[4*j+3]}}}else if(P.length||B.length){S=new Uint8Array(4*M+2);for(var R=0;R<M;R++)null!=P[R]&&(S[4*R]=P[R]%l,S[4*R+1]=Math.floor(P[R]/l)),null!=B[R]&&(S[4*R+2]=B[R]%l,S[4*R+3]=Math.floor(B[R]/l))}L({data:S||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return n}))}},T.prototype.addMarker=function(e){var t,r=this.markerTextures,n=this.regl,i=this.markerCache,o=null==e?0:i.indexOf(e);if(o>=0)return o;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)t=e;else{t=new Uint8Array(e.length);for(var a=0,s=e.length;a<s;a++)t[a]=255*e[a]}var l=Math.floor(Math.sqrt(t.length));return o=r.length,i.push(e),r.push(n.texture({channels:1,data:t,radius:l,mag:"linear",min:"linear"})),o},T.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if("number"===typeof e[0]){var o=[];if(Array.isArray(e))for(var a=0;a<e.length;a+=4)o.push(e.slice(a,a+4));else for(var s=0;s<e.length;s+=4)o.push(e.subarray(s,s+4));e=o}for(var l=0;l<e.length;l++){var u=e[l];u=d(u,"uint8");var c=v(u,!1);if(null==t[c]){var f=r.length;t[c]=Math.floor(f/4),r[f]=u[0],r[f+1]=u[1],r[f+2]=u[2],r[f+3]=u[3]}i[l]=t[c]}return!this.tooManyColors&&r.length>4*n&&(this.tooManyColors=!0),this.updatePalette(r),1===i.length?i[0]:i},T.prototype.updatePalette=function(e){if(!this.tooManyColors){var t=this.maxColors,r=this.paletteTexture,n=Math.ceil(.25*e.length/t);if(n>1){e=e.slice();for(var i=.25*e.length%t;i<n*t;i++)e.push(0,0,0,0)}r.height<n&&r.resize(t,n),r.subimage({width:Math.min(.25*e.length,t),height:n,data:e},0,0)}},T.prototype.destroy=function(){return this.groups.forEach((function(e){e.sizeBuffer.destroy(),e.positionBuffer.destroy(),e.positionFractBuffer.destroy(),e.colorBuffer.destroy(),e.activation.forEach((function(e){return e&&e.destroy&&e.destroy()})),e.selectionBuffer.destroy(),e.elements&&e.elements.destroy()})),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach((function(e){return e&&e.destroy&&e.destroy()})),this};var C=r("320c"),S=function(e,t){var r=new k(e,t),n=r.render.bind(r);return C(n,{render:n,update:r.update.bind(r),draw:r.draw.bind(r),destroy:r.destroy.bind(r),regl:r.regl,gl:r.gl,canvas:r.gl.canvas,groups:r.groups,markers:r.markerCache,palette:r.palette}),n};e.exports=S},b993:function(e,t,r){"use strict";e.exports=a;var n=r("dea6"),i=null,o=null;function a(e,t){return"object"===typeof t&&null!==t||(t={}),n(e,t.canvas||i,t.context||o,t)}"undefined"!==typeof document&&(i=document.createElement("canvas"),i.width=8192,i.height=1024,o=i.getContext("2d"))},b9b6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",stroke:"#dfe8f3",d:"M5.5 6H41v35.5H5.5zM5.5 11.2H41M5.5 16.4H41M5.5 21.1H41M5.5 26.3H41M5.5 31.4H41M5.5 36.6H41M10.7 41.4V6M15.8 41.5V6M20.5 41.5V6M25.7 41.5V6M30.9 41.5V6M36 41.5V6",strokeMiterlimit:"10",strokeWidth:".25"}),o.default.createElement("path",{d:"M0 0h46v46H0z",fill:"none"}),o.default.createElement("path",{d:"M31.5 28.3l-2.3 3.5-4.6 1.2-2.3-2.3h-3.5l-6.2 1.2-3.5-2.3L13 25v-3.5h5.2l4.2 3 4.5-3 9.2 6.9c0-.1-4.6-.1-4.6-.1z",fill:"#25fdfc",stroke:"#fff",strokeMiterlimit:"10"}),o.default.createElement("path",{d:"M36.1 28.3l-9.2-6.9-4.5 3-4.2-3H13l-2.9-1.7v-2.3L9 16.2l-1.2 1.2-1.2-1.2v-4.6H9l2.3-1.2h2.3l3.5 2.3h3.5l4.6-2.3 3.5 3.5-3.5 3.5H31V15h3.5v1.2l1.2 1.2 1.2-1.2 3.5 3.5v3.5h-4v5.1zm-9.8 7.4l-1.2 1.2H24l.6-4-2.3-2.3h-3.5l-6.2 1.2 7.9 4V38l3.5 2.3h2.3l1.2-1.2v-2.3z",fill:"#25fdfc",stroke:"#fff",strokeMiterlimit:"10"}),o.default.createElement("circle",{cx:"36.9",cy:"20.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"22.4",cy:"20.4",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"10.9",cy:"14.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"15.9",cy:"24.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"13.9",cy:"28.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"25.9",cy:"27.4",r:"3",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"13.9",cy:"17.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"20.9",cy:"26.4",r:"1",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"23.9",cy:"14.4",r:"1.5",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"30.9",cy:"20.4",r:"1",fill:"#1d9bfb"}))};t.default=u},b9b6f:function(e,t,r){"use strict";var n=r("8bc8"),i=n.unstable_flushControlled;e.exports=i},b9c5:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var i=u(r("ab5b")),o=s(r("d7bc")),a=r("4578");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}function h(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function A(e){var t=function(t){h(n,t);var r=m(n);function n(e,t){var i;return f(this,n),i=r.call(this,e,t),i.updateSubplot=i.updateSubplot.bind(y(i)),i.setLocals(e,t),i}return d(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.xaxis,n=e.yaxis,i=e.traceIndexes,o=t.container,s=t.fullContainer,l=t.data;this.container={xaxis:o[r],yaxis:o[n]},this.fullContainer={xaxis:s[r],yaxis:s[n]};var u=i.length>0?l[i[0]]:{},c=(0,a.getFullTrace)(e,t);u&&c&&(this.icon=(0,a.renderTraceIcon)((0,a.plotlyTraceToCustomTrace)(u)),this.name=c.name)}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject(t.replace("xaxis",e.props.xaxis).replace("yaxis",e.props.yaxis)):null},updateContainer:this.updateSubplot,deleteContainer:this.deleteSubplot,container:this.container,fullContainer:this.fullContainer}}},{key:"updateSubplot",value:function(e){var t={};for(var r in e){var n=r.replace("xaxis",this.props.xaxis).replace("yaxis",this.props.yaxis);t[n]=e[r]}this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,c({name:this.name,icon:this.icon},this.props))}}]),n}(i.Component);t.displayName="SubplotConnected".concat((0,a.getDisplayName)(e)),t.propTypes={xaxis:o.default.string.isRequired,yaxis:o.default.string.isRequired},t.contextTypes={container:o.default.object,fullContainer:o.default.object,data:o.default.array,fullData:o.default.array,onUpdate:o.default.func,updateContainer:o.default.func,getValObject:o.default.func},t.childContextTypes={updateContainer:o.default.func,deleteContainer:o.default.func,container:o.default.object,fullContainer:o.default.object,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},b9e1:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("f2e4"),a=r("24be"),s=r("2e94"),l=r("4f35"),u=r("3c55"),c=(r("aae4"),r("84ca")),f=r("4e55"),p=r("6cd7"),d=r("4424"),h=r("ac96"),v=r("7301"),m=r("24f7"),g=r("d8db"),y=v("draft_tree_data_support"),b=m.List,x=m.Map,A=m.OrderedMap,w=function(e,t){var r=e.key,n=e.type,i=e.data,o=e.text,a=e.depth,s={text:o,depth:a||0,type:n||"unstyled",key:r||h(),data:x(i),characterList:_(e,t)};return s},_=function(e,t){var r=e.text,i=e.entityRanges,o=e.inlineStyleRanges,a=i||[],s=o||[];return f(d(r,s),p(r,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return n({},e,{key:t[e.key]})}))))},E=function(e){return n({},e,{key:e.key||h()})},k=function(e,t,r){var i=t.map((function(e){return n({},e,{parentRef:r})}));return e.concat(i.reverse())},T=function(e,t){return e.map(E).reduce((function(r,i,o){Array.isArray(i.children)||g(!1);var s=i.children.map(E),l=new a(n({},w(i,t),{prevSibling:0===o?null:e[o-1].key,nextSibling:o===e.length-1?null:e[o+1].key,children:b(s.map((function(e){return e.key})))}));r=r.set(l.getKey(),l);var u=k([],s,l);while(u.length>0){var c=u.pop(),f=c.parentRef,p=f.getChildKeys(),d=p.indexOf(c.key),h=Array.isArray(c.children);if(!h){h||g(!1);break}var v=c.children.map(E),m=new a(n({},w(c,t),{parent:f.getKey(),children:b(v.map((function(e){return e.key}))),prevSibling:0===d?null:p.get(d-1),nextSibling:d===p.size-1?null:p.get(d+1)}));r=r.set(m.getKey(),m),u=k(u,v,m)}return r}),A())},C=function(e,t){return A(e.map((function(e){var r=new o(w(e,t));return[r.getKey(),r]})))},S=function(e,t){var r=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),n=y&&!r?u.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!y)return C(r?u.fromRawTreeStateToRawState(e).blocks:n,t);var i=T(n,t);return i},O=function(e){var t=e.entityMap,r={};return Object.keys(t).forEach((function(e){var n=t[e],i=n.type,o=n.mutability,a=n.data;r[e]=l.__create(i,o,a||{})})),r},M=function(e){Array.isArray(e.blocks)||g(!1);var t=O(e),r=S(e,t),n=r.isEmpty()?new c:c.createEmpty(r.first().getKey());return new s({blockMap:r,entityMap:t,selectionBefore:n,selectionAfter:n})};e.exports=M},b9ee:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},ba3b:function(e,t,r){"use strict";var n=r("dec3");function i(e){var t=e.getSelection(),r=t.getStartKey();return n.set(e,{selection:t.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}e.exports=i},ba4b:function(e,t,r){"use strict";var n,i=Object.create;r("9df0")()||(n=r("e19c")),e.exports=function(){var e,t,r;return n?1!==n.level?i:(e={},t={},r={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach((function(e){t[e]="__proto__"!==e?r:{configurable:!0,enumerable:!1,writable:!0,value:void 0}})),Object.defineProperties(e,t),Object.defineProperty(n,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:e}),function(t,r){return i(null===t?e:t,r)}):i}()},ba61:function(e,t,r){"use strict";var n=r("7c4a"),i={object:!0,symbol:!0};e.exports=function(){var e,t=n.Symbol;if("function"!==typeof t)return!1;e=t("test symbol");try{String(e)}catch(r){return!1}return!!i[typeof t.iterator]&&(!!i[typeof t.toPrimitive]&&!!i[typeof t.toStringTag])}},ba9f:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z"}))};e.exports=s},baab:function(e,t,r){"use strict";var n=r("aa48"),i=r("b5bb"),o=r("a33a").d2,a=r("2d0e"),s=r("0c3a"),l=r("fc26").isArrayOrTypedArray,u=r("765f").parseColorScale,c=r("f977"),f=r("c258").extractOpts;function p(e,t,r){this.scene=e,this.uid=r,this.surface=t,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var d=p.prototype;function h(e){var t=e[0].rgb,r=e[e.length-1].rgb;return t[0]===r[0]&&t[1]===r[1]&&t[2]===r[2]&&t[3]===r[3]}d.getXat=function(e,t,r,n){var i=l(this.data.x)?l(this.data.x[0])?this.data.x[t][e]:this.data.x[e]:e;return void 0===r?i:n.d2l(i,0,r)},d.getYat=function(e,t,r,n){var i=l(this.data.y)?l(this.data.y[0])?this.data.y[t][e]:this.data.y[t]:t;return void 0===r?i:n.d2l(i,0,r)},d.getZat=function(e,t,r,n){var i=this.data.z[t][e];return null===i&&this.data.connectgaps&&this.data._interpolatedZ&&(i=this.data._interpolatedZ[t][e]),void 0===r?i:n.d2l(i,0,r)},d.handlePick=function(e){if(e.object===this.surface){var t=(e.data.index[0]-1)/this.dataScaleX-1,r=(e.data.index[1]-1)/this.dataScaleY-1,n=Math.max(Math.min(Math.round(t),this.data.z[0].length-1),0),i=Math.max(Math.min(Math.round(r),this.data._ylength-1),0);e.index=[n,i],e.traceCoordinate=[this.getXat(n,i),this.getYat(n,i),this.getZat(n,i)],e.dataCoordinate=[this.getXat(n,i,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(n,i,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(n,i,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var o=0;o<3;o++){var a=e.dataCoordinate[o];null!==a&&void 0!==a&&(e.dataCoordinate[o]*=this.scene.dataScale[o])}var s=this.data.hovertext||this.data.text;return Array.isArray(s)&&s[i]&&void 0!==s[i][n]?e.textLabel=s[i][n]:e.textLabel=s||"",e.data.dataCoordinate=e.dataCoordinate.slice(),this.surface.highlight(e.data),this.scene.glplot.spikes.position=e.dataCoordinate,!0}};var v=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function m(e,t){if(e<t)return 0;var r=0;while(0===Math.floor(e%t))e/=t,r++;return r}function g(e){for(var t=[],r=0;r<v.length;r++){var n=v[r];t.push(m(e,n))}return t}function y(e){for(var t=g(e),r=e,n=0;n<v.length;n++)if(t[n]>0){r=v[n];break}return r}function b(e,t){if(!(e<1||t<1)){for(var r=g(e),n=g(t),i=1,o=0;o<v.length;o++)i*=Math.pow(v[o],Math.max(r[o],n[o]));return i}}function x(e){if(0!==e.length){for(var t=1,r=0;r<e.length;r++)t=b(t,e[r]);return t}}d.calcXnums=function(e){var t,r=[];for(t=1;t<e;t++){var n=this.getXat(t-1,0),i=this.getXat(t,0);r[t-1]=i!==n&&void 0!==n&&null!==n&&void 0!==i&&null!==i?Math.abs(i-n):0}var o=0;for(t=1;t<e;t++)o+=r[t-1];for(t=1;t<e;t++)0===r[t-1]?r[t-1]=1:r[t-1]=Math.round(o/r[t-1]);return r},d.calcYnums=function(e){var t,r=[];for(t=1;t<e;t++){var n=this.getYat(0,t-1),i=this.getYat(0,t);r[t-1]=i!==n&&void 0!==n&&null!==n&&void 0!==i&&null!==i?Math.abs(i-n):0}var o=0;for(t=1;t<e;t++)o+=r[t-1];for(t=1;t<e;t++)0===r[t-1]?r[t-1]=1:r[t-1]=Math.round(o/r[t-1]);return r};var A=[1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260],w=A[9],_=A[13];function E(e,t,r){var n=r[8]+r[2]*t[0]+r[5]*t[1];return e[0]=(r[6]+r[0]*t[0]+r[3]*t[1])/n,e[1]=(r[7]+r[1]*t[0]+r[4]*t[1])/n,e}function k(e,t,r){return T(e,t,E,r),e}function T(e,t,r,n){for(var i=[0,0],a=e.shape[0],s=e.shape[1],l=0;l<a;l++)for(var u=0;u<s;u++)r(i,[l,u],n),e.set(l,u,o(t,i[0],i[1]));return e}function C(e,t){for(var r=!1,n=0;n<e.length;n++)if(t===e[n]){r=!0;break}!1===r&&e.push(t)}function S(e,t){var r=e.glplot.gl,i=n({gl:r}),o=new p(e,i,t.uid);return i._trace=o,o.update(t),e.glplot.add(i),o}d.estimateScale=function(e,t){var r=0===t?this.calcXnums(e):this.calcYnums(e),n=1+x(r);while(n<w)n*=2;while(n>_)n--,n/=y(n),n++,n<w&&(n=_);var i=Math.round(n/e);return i>1?i:1},d.refineCoords=function(e){for(var t=this.dataScaleX,r=this.dataScaleY,n=e[0].shape[0],o=e[0].shape[1],a=0|Math.floor(e[0].shape[0]*t+1),s=0|Math.floor(e[0].shape[1]*r+1),l=1+n+1,u=1+o+1,c=i(new Float32Array(l*u),[l,u]),f=[1/t,0,0,0,1/r,0,0,0,1],p=0;p<e.length;++p){this.surface.padField(c,e[p]);var d=i(new Float32Array(a*s),[a,s]);k(d,c,f),e[p]=d}},d.setContourLevels=function(){var e,t,r,n=[[],[],[]],i=[!1,!1,!1],o=!1;for(e=0;e<3;++e)if(this.showContour[e]&&(o=!0,this.contourSize[e]>0&&null!==this.contourStart[e]&&null!==this.contourEnd[e]&&this.contourEnd[e]>this.contourStart[e]))for(i[e]=!0,t=this.contourStart[e];t<this.contourEnd[e];t+=this.contourSize[e])r=t*this.scene.dataScale[e],C(n[e],r);if(o){var a=[[],[],[]];for(e=0;e<3;++e)this.showContour[e]&&(a[e]=i[e]?n[e]:this.scene.contourLevels[e]);this.surface.update({levels:a})}},d.update=function(e){var t,r,n,o,l=this.scene,p=l.fullSceneLayout,d=this.surface,v=u(e),m=l.dataScale,g=e.z[0].length,y=e._ylength,b=l.contourLevels;this.data=e;var x=[];for(t=0;t<3;t++)for(x[t]=[],r=0;r<g;r++)x[t][r]=[];for(r=0;r<g;r++)for(n=0;n<y;n++)x[0][r][n]=this.getXat(r,n,e.xcalendar,p.xaxis),x[1][r][n]=this.getYat(r,n,e.ycalendar,p.yaxis),x[2][r][n]=this.getZat(r,n,e.zcalendar,p.zaxis);if(e.connectgaps)for(e._emptypoints=s(x[2]),a(x[2],e._emptypoints),e._interpolatedZ=[],r=0;r<g;r++)for(e._interpolatedZ[r]=[],n=0;n<y;n++)e._interpolatedZ[r][n]=x[2][r][n];for(t=0;t<3;t++)for(r=0;r<g;r++)for(n=0;n<y;n++)o=x[t][r][n],null===o||void 0===o?x[t][r][n]=NaN:o=x[t][r][n]*=m[t];for(t=0;t<3;t++)for(r=0;r<g;r++)for(n=0;n<y;n++)o=x[t][r][n],null!==o&&void 0!==o&&(this.minValues[t]>o&&(this.minValues[t]=o),this.maxValues[t]<o&&(this.maxValues[t]=o));for(t=0;t<3;t++)this.objectOffset[t]=.5*(this.minValues[t]+this.maxValues[t]);for(t=0;t<3;t++)for(r=0;r<g;r++)for(n=0;n<y;n++)o=x[t][r][n],null!==o&&void 0!==o&&(x[t][r][n]-=this.objectOffset[t]);var A=[i(new Float32Array(g*y),[g,y]),i(new Float32Array(g*y),[g,y]),i(new Float32Array(g*y),[g,y])];for(t=0;t<3;t++)for(r=0;r<g;r++)for(n=0;n<y;n++)A[t].set(r,n,x[t][r][n]);x=[];var w={colormap:v,levels:[[],[],[]],showContour:[!0,!0,!0],showSurface:!e.hidesurface,contourProject:[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],contourWidth:[1,1,1],contourColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],contourTint:[1,1,1],dynamicColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],dynamicWidth:[1,1,1],dynamicTint:[1,1,1],opacityscale:e.opacityscale,opacity:e.opacity},E=f(e);if(w.intensityBounds=[E.min,E.max],e.surfacecolor){var k=i(new Float32Array(g*y),[g,y]);for(r=0;r<g;r++)for(n=0;n<y;n++)k.set(r,n,e.surfacecolor[n][r]);A.push(k)}else w.intensityBounds[0]*=m[2],w.intensityBounds[1]*=m[2];(_<A[0].shape[0]||_<A[0].shape[1])&&(this.refineData=!1),!0===this.refineData&&(this.dataScaleX=this.estimateScale(A[0].shape[0],0),this.dataScaleY=this.estimateScale(A[0].shape[1],1),1===this.dataScaleX&&1===this.dataScaleY||this.refineCoords(A)),e.surfacecolor&&(w.intensity=A.pop());var T=[!0,!0,!0],C=["x","y","z"];for(t=0;t<3;++t){var S=e.contours[C[t]];T[t]=S.highlight,w.showContour[t]=S.show||S.highlight,w.showContour[t]&&(w.contourProject[t]=[S.project.x,S.project.y,S.project.z],S.show?(this.showContour[t]=!0,w.levels[t]=b[t],d.highlightColor[t]=w.contourColor[t]=c(S.color),S.usecolormap?d.highlightTint[t]=w.contourTint[t]=0:d.highlightTint[t]=w.contourTint[t]=1,w.contourWidth[t]=S.width,this.contourStart[t]=S.start,this.contourEnd[t]=S.end,this.contourSize[t]=S.size):(this.showContour[t]=!1,this.contourStart[t]=null,this.contourEnd[t]=null,this.contourSize[t]=0),S.highlight&&(w.dynamicColor[t]=c(S.highlightcolor),w.dynamicWidth[t]=S.highlightwidth))}h(v)&&(w.vertexColor=!0),w.objectOffset=this.objectOffset,w.coords=A,d.update(w),d.visible=e.visible,d.enableDynamic=T,d.enableHighlight=T,d.snapToData=!0,"lighting"in e&&(d.ambientLight=e.lighting.ambient,d.diffuseLight=e.lighting.diffuse,d.specularLight=e.lighting.specular,d.roughness=e.lighting.roughness,d.fresnel=e.lighting.fresnel),"lightposition"in e&&(d.lightPosition=[e.lightposition.x,e.lightposition.y,e.lightposition.z])},d.dispose=function(){this.scene.glplot.remove(this.surface),this.surface.dispose()},e.exports=S},badf:function(e,t,r){var n=r("642a"),i=r("1838"),o=r("cd9d"),a=r("6747"),s=r("f9ce");function l(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}e.exports=l},bae5:function(e,t,r){"use strict";var n=r("fc26"),i=r("371e"),o=r("0642"),a=r("b1a4").pointsAccessorFunction,s=r("6c77"),l=s.COMPARISON_OPS,u=s.INTERVAL_OPS,c=s.SET_OPS;function f(e,t,r){var n=e.operation,i=e.value,o=Array.isArray(i);function a(e){return-1!==e.indexOf(n)}var s,f=function(r){return t(r,0,e.valuecalendar)},p=function(e){return t(e,0,r)};switch(a(l)?s=f(o?i[0]:i):a(u)?s=o?[f(i[0]),f(i[1])]:[f(i),f(i)]:a(c)&&(s=o?i.map(f):[f(i)]),n){case"=":return function(e){return p(e)===s};case"!=":return function(e){return p(e)!==s};case"<":return function(e){return p(e)<s};case"<=":return function(e){return p(e)<=s};case">":return function(e){return p(e)>s};case">=":return function(e){return p(e)>=s};case"[]":return function(e){var t=p(e);return t>=s[0]&&t<=s[1]};case"()":return function(e){var t=p(e);return t>s[0]&&t<s[1]};case"[)":return function(e){var t=p(e);return t>=s[0]&&t<s[1]};case"(]":return function(e){var t=p(e);return t>s[0]&&t<=s[1]};case"][":return function(e){var t=p(e);return t<=s[0]||t>=s[1]};case")(":return function(e){var t=p(e);return t<s[0]||t>s[1]};case"](":return function(e){var t=p(e);return t<=s[0]||t>s[1]};case")[":return function(e){var t=p(e);return t<s[0]||t>=s[1]};case"{}":return function(e){return-1!==s.indexOf(p(e))};case"}{":return function(e){return-1===s.indexOf(p(e))}}}t.moduleType="transform",t.name="filter",t.attributes={enabled:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether this filter transform is enabled or disabled."].join(" ")},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",role:"info",editType:"calc",description:["Sets the filter target by which the filter is applied.","If a string, `target` is assumed to be a reference to a data array","in the parent trace object.","To filter about nested variables, use *.* to access them.","For example, set `target` to *marker.color* to filter","about the marker color array.","If an array, `target` is then the data array by which the filter is applied."].join(" ")},operation:{valType:"enumerated",values:[].concat(l).concat(u).concat(c),dflt:"=",role:"info",editType:"calc",description:["Sets the filter operation.","*=* keeps items equal to `value`","*!=* keeps items not equal to `value`","*<* keeps items less than `value`","*<=* keeps items less than or equal to `value`","*>* keeps items greater than `value`","*>=* keeps items greater than or equal to `value`","*[]* keeps items inside `value[0]` to `value[1]` including both bounds","*()* keeps items inside `value[0]` to `value[1]` excluding both bounds","*[)* keeps items inside `value[0]` to `value[1]` including `value[0]` but excluding `value[1]","*(]* keeps items inside `value[0]` to `value[1]` excluding `value[0]` but including `value[1]","*][* keeps items outside `value[0]` to `value[1]` and equal to both bounds","*)(* keeps items outside `value[0]` to `value[1]`","*](* keeps items outside `value[0]` to `value[1]` and equal to `value[0]`","*)[* keeps items outside `value[0]` to `value[1]` and equal to `value[1]`","*{}* keeps items present in a set of values","*}{* keeps items not present in a set of values"].join(" ")},value:{valType:"any",dflt:0,role:"info",editType:"calc",description:["Sets the value or values by which to filter.","Values are expected to be in the same type as the data linked","to `target`.","When `operation` is set to one of","the comparison values ("+l+")","`value` is expected to be a number or a string.","When `operation` is set to one of the interval values","("+u+")","`value` is expected to be 2-item array where the first item","is the lower bound and the second item is the upper bound.","When `operation`, is set to one of the set values","("+c+")","`value` is expected to be an array with as many items as","the desired set elements."].join(" ")},preservegaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps in data arrays produced by the filter operation","are preserved.","Setting this to *true* might be useful when plotting a line chart","with `connectgaps` set to *false*."].join(" ")},editType:"calc"},t.supplyDefaults=function(e){var r={};function o(i,o){return n.coerce(e,r,t.attributes,i,o)}var a=o("enabled");if(a){var s=o("target");if(n.isArrayOrTypedArray(s)&&0===s.length)return r.enabled=!1,r;o("preservegaps"),o("operation"),o("value");var l=i.getComponentMethod("calendars","handleDefaults");l(e,r,"valuecalendar",null),l(e,r,"targetcalendar",null)}return r},t.calcTransform=function(e,t,r){if(r.enabled){var i=n.getTargetArray(t,r);if(i){var s=r.target,l=i.length;t._length&&(l=Math.min(l,t._length));var u=r.targetcalendar,c=t._arrayAttrs,p=r.preservegaps;if("string"===typeof s){var d=n.nestedProperty(t,s+"calendar").get();d&&(u=d)}var h,v,m=o.getDataToCoordFunc(e,t,s,i),g=f(r,m,u),y={},b={},x=0;p?(h=function(e){y[e.astr]=n.extendDeep([],e.get()),e.set(new Array(l))},v=function(e,t){var r=y[e.astr][t];e.get()[t]=r}):(h=function(e){y[e.astr]=n.extendDeep([],e.get()),e.set([])},v=function(e,t){var r=y[e.astr][t];e.get().push(r)}),E(h);for(var A=a(t.transforms,r),w=0;w<l;w++){var _=g(i[w]);_?(E(v,w),b[x++]=A(w)):p&&x++}r._indexToPoints=b,t._length=x}}function E(e,r){for(var i=0;i<c.length;i++){var o=n.nestedProperty(t,c[i]);e(o,r)}}}},bae6:function(e,t,r){"use strict";e.exports=r("a297")()?Math.sign:r("ef7a")},baec:function(e,t,r){"use strict";var n=r("6e58"),i=r("0edd"),o=r("0642"),a=r("fc26"),s=a.strRotate,l=a.strTranslate,u=r("0379"),c=r("83d1"),f=r("c258"),p=r("0a3e"),d=p.keyFun,h=p.repeat,v=p.unwrap,m=r("2ee6"),g=r("f7a4"),y=r("1db7"),b=r("3af0");function x(e,t,r){return a.aggNums(e,null,t,r)}function A(e,t){return _(x(Math.min,e,t),x(Math.max,e,t))}function w(e){var t=e.range;return t?_(t[0],t[1]):A(e.values,e._length)}function _(e,t){return!isNaN(e)&&isFinite(e)||(e=0),!isNaN(t)&&isFinite(t)||(t=0),e===t&&(0===e?(e-=1,t+=1):(e*=.9,t*=1.1)),[e,t]}function E(e,t){return t?function(r,n){var i=t[n];return null===i||void 0===i?e(r):i}:e}function k(e,t,r,i,o){var a=w(r);return i?n.scale.ordinal().domain(i.map(E(n.format(r.tickformat),o))).range(i.map((function(r){var n=(r-a[0])/(a[1]-a[0]);return e-t+n*(2*t-e)}))):n.scale.linear().domain(a).range([e-t,t])}function T(e,t){return n.scale.linear().range([t,e-t])}function C(e,t){return n.scale.linear().domain(w(e)).range([t,1-t])}function S(e){if(e.tickvals){var t=w(e);return n.scale.ordinal().domain(e.tickvals).range(e.tickvals.map((function(e){return(e-t[0])/(t[1]-t[0])})))}}function O(e){var t=e.map((function(e){return e[0]})),r=e.map((function(e){var t=i(e[1]);return n.rgb("rgb("+t[0]+","+t[1]+","+t[2]+")")})),o=function(e){return function(t){return t[e]}},a="rgb".split("").map((function(e){return n.scale.linear().clamp(!0).domain(t).range(r.map(o(e)))}));return function(e){return a.map((function(t){return t(e)}))}}function M(e){return e.dimensions.some((function(e){return e.brush.filterSpecified}))}function P(e,t,r){var o=v(t),s=o.trace,l=m.convertTypedArray(o.lineColor),u=s.line,c={color:i(g.deselectedLineColor)},p=f.extractOpts(u),d=p.reversescale?f.flipScale(o.cscale):o.cscale,h=s.domain,y=s.dimensions,b=e.width,x=s.labelangle,A=s.labelside,_=s.labelfont,E=s.tickfont,k=s.rangefont,T=a.extendDeepNoArrays({},u,{color:l.map(n.scale.linear().domain(w({values:l,range:[p.min,p.max],_length:s._length}))),blockLineCount:g.blockLineCount,canvasOverdrag:g.overdrag*g.canvasPixelRatio}),C=Math.floor(b*(h.x[1]-h.x[0])),S=Math.floor(e.height*(h.y[1]-h.y[0])),M=e.margin||{l:80,r:80,t:100,b:80},P=C,B=S;return{key:r,colCount:y.filter(m.isVisible).length,dimensions:y,tickDistance:g.tickDistance,unitToColor:O(d),lines:T,deselectedLines:c,labelAngle:x,labelSide:A,labelFont:_,tickFont:E,rangeFont:k,layoutWidth:b,layoutHeight:e.height,domain:h,translateX:h.x[0]*b,translateY:e.height-h.y[1]*e.height,pad:M,canvasWidth:P*g.canvasPixelRatio+2*T.canvasOverdrag,canvasHeight:B*g.canvasPixelRatio,width:P,height:B,canvasPixelRatio:g.canvasPixelRatio}}function B(e,t,r){var i=r.width,o=r.height,s=r.dimensions,l=r.canvasPixelRatio,u=function(e){return i*e/Math.max(1,r.colCount-1)},c=g.verticalPadding/o,f=T(o,g.verticalPadding),p={key:r.key,xScale:u,model:r,inBrushDrag:!1},d={};return p.dimensions=s.filter(m.isVisible).map((function(i,s){var h=C(i,c),v=d[i.label];d[i.label]=(v||0)+1;var b=i.label+(v?"__"+v:""),x=i.constraintrange,A=x&&x.length;A&&!Array.isArray(x[0])&&(x=[x]);var w=A?x.map((function(e){return e.map(h)})):[[-1/0,1/0]],_=function(){var t=p;t.focusLayer&&t.focusLayer.render(t.panels,!0);var r=M(t);!e.contextShown()&&r?(t.contextLayer&&t.contextLayer.render(t.panels,!0),e.contextShown(!0)):e.contextShown()&&!r&&(t.contextLayer&&t.contextLayer.render(t.panels,!0,!0),e.contextShown(!1))},E=i.values;E.length>i._length&&(E=E.slice(0,i._length));var T,O=i.tickvals;function P(e,t){return{val:e,text:T[t]}}function B(e,t){return e.val-t.val}if(Array.isArray(O)&&O.length){T=i.ticktext,Array.isArray(T)&&T.length?T.length>O.length?T=T.slice(0,O.length):O.length>T.length&&(O=O.slice(0,T.length)):T=O.map(n.format(i.tickformat));for(var L=1;L<O.length;L++)if(O[L]<O[L-1]){for(var D=O.map(P).sort(B),I=0;I<O.length;I++)O[I]=D[I].val,T[I]=D[I].text;break}}else O=void 0;return E=m.convertTypedArray(E),{key:b,label:i.label,tickFormat:i.tickformat,tickvals:O,ticktext:T,ordinal:m.isOrdinal(i),multiselect:i.multiselect,xIndex:s,crossfilterDimensionIndex:s,visibleIndex:i._index,height:o,values:E,paddedUnitValues:E.map(h),unitTickvals:O&&O.map(h),xScale:u,x:u(s),canvasX:u(s)*l,unitToPaddedPx:f,domainScale:k(o,g.verticalPadding,i,O,T),ordinalScale:S(i),parent:p,model:r,brush:y.makeBrush(e,A,w,(function(){e.linePickActive(!1)}),_,(function(r){if(p.focusLayer.render(p.panels,!0),p.pickLayer&&p.pickLayer.render(p.panels,!0),e.linePickActive(!0),t&&t.filterChanged){var n=h.invert,o=r.map((function(e){return e.map(n).sort(a.sorterAsc)})).sort((function(e,t){return e[0]-t[0]}));t.filterChanged(p.key,i._index,o)}}))}})),p}function L(e){e.classed(g.cn.axisExtentText,!0).attr("text-anchor","middle").style("cursor","default")}function D(){var e=!0,t=!1;return{linePickActive:function(t){return arguments.length?e=!!t:e},contextShown:function(e){return arguments.length?t=!!e:t}}}function I(e,t){var r="top"===t?1:-1,n=e*Math.PI/180,i=Math.sin(n),o=Math.cos(n);return{dir:r,dx:i,dy:o,degrees:e}}function j(e,t){for(var r=t.panels||(t.panels=[]),n=e.data(),i=0;i<n.length-1;i++){var o=r[i]||(r[i]={}),a=n[i],s=n[i+1];o.dim0=a,o.dim1=s,o.canvasX=a.canvasX,o.panelSizeX=s.canvasX-a.canvasX,o.panelSizeY=t.model.canvasHeight,o.y=0,o.canvasY=0}}function R(e){for(var t=0;t<e.length;t++)for(var r=0;r<e[t].length;r++)for(var n=e[t][r].trace,i=n.dimensions,a=0;a<i.length;a++){var s=i[a].values,l=i[a]._ax;l&&(l.range?l.range=_(l.range[0],l.range[1]):l.range=A(s,n._length),l.dtick||(l.dtick=.01*(Math.abs(l.range[1]-l.range[0])||1)),l.tickformat=i[a].tickformat,o.calcTicks(l),l.cleanRange())}}function F(e,t){return o.tickText(e._ax,t,!1).text}function N(e,t){if(e.ordinal)return"";var r=e.domainScale.domain(),n=r[t?r.length-1:0];return F(e.model.dimensions[e.visibleIndex],n)}e.exports=function(e,t,r,i){var o=e._fullLayout,f=o._toppaper,p=o._glcontainer;R(t);var x=D(),A=t.filter((function(e){return v(e).trace.visible})).map(P.bind(0,r)).map(B.bind(0,x,i));p.each((function(e,t){return a.extendFlat(e,A[t])}));var w=p.selectAll(".gl-canvas").each((function(e){e.viewModel=A[0],e.model=e.viewModel?e.viewModel.model:null})),_=null,E=w.filter((function(e){return e.pick}));E.style("pointer-events","auto").on("mousemove",(function(e){if(x.linePickActive()&&e.lineLayer&&i&&i.hover){var t=n.event,r=this.width,o=this.height,a=n.mouse(this),s=a[0],l=a[1];if(s<0||l<0||s>=r||l>=o)return;var u=e.lineLayer.readPixel(s,o-1-l),c=0!==u[3],f=c?u[2]+256*(u[1]+256*u[0]):null,p={x:s,y:l,clientX:t.clientX,clientY:t.clientY,dataIndex:e.model.key,curveNumber:f};f!==_&&(c?i.hover(p):i.unhover&&i.unhover(p),_=f)}})),w.style("opacity",(function(e){return e.pick?0:1})),f.style("background","rgba(255, 255, 255, 0)");var k=f.selectAll("."+g.cn.parcoords).data(A,d);k.exit().remove(),k.enter().append("g").classed(g.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),k.attr("transform",(function(e){return l(e.model.translateX,e.model.translateY)}));var T=k.selectAll("."+g.cn.parcoordsControlView).data(h,d);T.enter().append("g").classed(g.cn.parcoordsControlView,!0),T.attr("transform",(function(e){return l(e.model.pad.l,e.model.pad.t)}));var C=T.selectAll("."+g.cn.yAxis).data((function(e){return e.dimensions}),d);C.enter().append("g").classed(g.cn.yAxis,!0),T.each((function(e){j(C,e)})),w.each((function(e){if(e.viewModel){!e.lineLayer||i?e.lineLayer=b(this,e):e.lineLayer.update(e),(e.key||0===e.key)&&(e.viewModel[e.key]=e.lineLayer);var t=!e.context||i;e.lineLayer.render(e.viewModel.panels,t)}})),C.attr("transform",(function(e){return l(e.xScale(e.xIndex),0)})),C.call(n.behavior.drag().origin((function(e){return e})).on("drag",(function(e){var t=e.parent;x.linePickActive(!1),e.x=Math.max(-g.overdrag,Math.min(e.model.width+g.overdrag,n.event.x)),e.canvasX=e.x*e.model.canvasPixelRatio,C.sort((function(e,t){return e.x-t.x})).each((function(t,r){t.xIndex=r,t.x=e===t?t.x:t.xScale(t.xIndex),t.canvasX=t.x*t.model.canvasPixelRatio})),j(C,t),C.filter((function(t){return 0!==Math.abs(e.xIndex-t.xIndex)})).attr("transform",(function(e){return l(e.xScale(e.xIndex),0)})),n.select(this).attr("transform",l(e.x,0)),C.each((function(r,n,i){i===e.parent.key&&(t.dimensions[n]=r)})),t.contextLayer&&t.contextLayer.render(t.panels,!1,!M(t)),t.focusLayer.render&&t.focusLayer.render(t.panels)})).on("dragend",(function(e){var t=e.parent;e.x=e.xScale(e.xIndex),e.canvasX=e.x*e.model.canvasPixelRatio,j(C,t),n.select(this).attr("transform",(function(e){return l(e.x,0)})),t.contextLayer&&t.contextLayer.render(t.panels,!1,!M(t)),t.focusLayer&&t.focusLayer.render(t.panels),t.pickLayer&&t.pickLayer.render(t.panels,!0),x.linePickActive(!0),i&&i.axesMoved&&i.axesMoved(t.key,t.dimensions.map((function(e){return e.crossfilterDimensionIndex})))}))),C.exit().remove();var S=C.selectAll("."+g.cn.axisOverlays).data(h,d);S.enter().append("g").classed(g.cn.axisOverlays,!0),S.selectAll("."+g.cn.axis).remove();var O=S.selectAll("."+g.cn.axis).data(h,d);O.enter().append("g").classed(g.cn.axis,!0),O.each((function(e){var t=e.model.height/e.model.tickDistance,r=e.domainScale,i=r.domain();n.select(this).call(n.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(t,e.tickFormat).tickValues(e.ordinal?i:null).tickFormat((function(t){return m.isOrdinal(e)?t:F(e.model.dimensions[e.visibleIndex],t)})).scale(r)),c.font(O.selectAll("text"),e.model.tickFont)})),O.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),O.selectAll("text").style("text-shadow","1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff").style("cursor","default");var z=S.selectAll("."+g.cn.axisHeading).data(h,d);z.enter().append("g").classed(g.cn.axisHeading,!0);var U=z.selectAll("."+g.cn.axisTitle).data(h,d);U.enter().append("text").classed(g.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events","auto"),U.text((function(e){return e.label})).each((function(t){var r=n.select(this);c.font(r,t.model.labelFont),u.convertToTspans(r,e)})).attr("transform",(function(e){var t=I(e.model.labelAngle,e.model.labelSide),r=g.axisTitleOffset;return(t.dir>0?"":l(0,2*r+e.model.height))+s(t.degrees)+l(-r*t.dx,-r*t.dy)})).attr("text-anchor",(function(e){var t=I(e.model.labelAngle,e.model.labelSide),r=Math.abs(t.dx),n=Math.abs(t.dy);return 2*r>n?t.dir*t.dx<0?"start":"end":"middle"}));var H=S.selectAll("."+g.cn.axisExtent).data(h,d);H.enter().append("g").classed(g.cn.axisExtent,!0);var V=H.selectAll("."+g.cn.axisExtentTop).data(h,d);V.enter().append("g").classed(g.cn.axisExtentTop,!0),V.attr("transform",l(0,-g.axisExtentOffset));var Q=V.selectAll("."+g.cn.axisExtentTopText).data(h,d);Q.enter().append("text").classed(g.cn.axisExtentTopText,!0).call(L),Q.text((function(e){return N(e,!0)})).each((function(e){c.font(n.select(this),e.model.rangeFont)}));var W=H.selectAll("."+g.cn.axisExtentBottom).data(h,d);W.enter().append("g").classed(g.cn.axisExtentBottom,!0),W.attr("transform",(function(e){return l(0,e.model.height+g.axisExtentOffset)}));var K=W.selectAll("."+g.cn.axisExtentBottomText).data(h,d);K.enter().append("text").classed(g.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(L),K.text((function(e){return N(e,!1)})).each((function(e){c.font(n.select(this),e.model.rangeFont)})),y.ensureAxisBrush(S)}},baf5:function(e,t,r){"use strict";e.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},bb12:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z"}))};e.exports=s},bb14:function(e,t,r){"use strict";var n=r("fc26"),i=n._,o=r("0642"),a=r("8797"),s=r("e806").BADNUM;function l(e,t){var r=o.getFromId(e,t.xaxis),i=o.getFromId(e,t.yaxis),a=f(e,r,t),s=t._minDiff;t._minDiff=null;var l=t._origX;t._origX=null;var p=t._xcalc;t._xcalc=null;var d=c(e,t,l,p,i,u);return t._extremes[r._id]=o.findExtremes(r,p,{vpad:s/2}),d.length?(n.extendFlat(d[0].t,{wHover:s/2,tickLen:a}),d):[{t:{empty:!0}}]}function u(e,t,r,n){return{o:e,h:t,l:r,c:n}}function c(e,t,r,a,l,u){for(var c=l.makeCalcdata(t,"open"),f=l.makeCalcdata(t,"high"),p=l.makeCalcdata(t,"low"),d=l.makeCalcdata(t,"close"),h=Array.isArray(t.text),v=Array.isArray(t.hovertext),m=!0,g=null,y=!!t.xperiodalignment,b=[],x=0;x<a.length;x++){var A=a[x],w=c[x],_=f[x],E=p[x],k=d[x];if(A!==s&&w!==s&&_!==s&&E!==s&&k!==s){k===w?null!==g&&k!==g&&(m=k>g):m=k>w,g=k;var T=u(w,_,E,k);T.pos=A,T.yc=(w+k)/2,T.i=x,T.dir=m?"increasing":"decreasing",T.x=T.pos,T.y=[E,_],y&&(T.orig_p=r[x]),h&&(T.tx=t.text[x]),v&&(T.htx=t.hovertext[x]),b.push(T)}else b.push({pos:A,empty:!0})}return t._extremes[l._id]=o.findExtremes(l,n.concat(p,f),{padded:!0}),b.length&&(b[0].t={labels:{open:i(e,"open:")+" ",high:i(e,"high:")+" ",low:i(e,"low:")+" ",close:i(e,"close:")+" "}}),b}function f(e,t,r){var i=r._minDiff;if(!i){var o,s=e._fullData,l=[];for(i=1/0,o=0;o<s.length;o++){var u=s[o];if("ohlc"===u.type&&!0===u.visible&&u.xaxis===t._id){l.push(u);var c=t.makeCalcdata(u,"x");u._origX=c;var f=a(r,t,"x",c);u._xcalc=f;var p=n.distinctVals(f).minDiff;p&&isFinite(p)&&(i=Math.min(i,p))}}for(i===1/0&&(i=1),o=0;o<l.length;o++)l[o]._minDiff=i}return i*r.tickwidth}e.exports={calc:l,calcCommon:c}},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bb4a:function(e,t,r){"use strict";var n=r("a935"),i=r("9845"),o=r("d301"),a=r("a651").templatedArray,s=r("445c");function l(e){return["In order for absolute positioning of the arrow to work, *a"+e+"ref* must be exactly the same as *"+e+"ref*, otherwise *a"+e+"ref* will revert to *pixel* (explained next).","For relative positioning, *a"+e+"ref* can be set to *pixel*,","in which case the *a"+e+"* value is specified in pixels","relative to *"+e+"*.","Absolute positioning is useful","for trendline annotations which should continue to indicate","the correct trend when zoomed. Relative positioning is useful","for specifying the text offset for an annotated point."].join(" ")}function u(e,t,r){return["Sets the",e,"component of the arrow tail about the arrow head.","If `a"+e+"ref` is `pixel`, a positive (negative)","component corresponds to an arrow pointing","from",r,"to",t,"("+t,"to",r+").","If `a"+e+"ref` is not `pixel` and is exactly the same as `"+e+"ref`,","this is an absolute value on that axis,","like `"+e+"`, specified in the same coordinates as `"+e+"ref`."].join(" ")}e.exports=a("annotation",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this annotation is visible."].join(" ")},text:{valType:"string",role:"info",editType:"calc+arraydraw",description:["Sets the text associated with this annotation.","Plotly uses a subset of HTML tags to do things like","newline (<br>), bold (<b></b>), italics (<i></i>),","hyperlinks (<a href='...'></a>). Tags <em>, <sup>, <sub>","<span> are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:i({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use <br> to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more <br> HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:n.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:n.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:[u("x","left","right")].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:[u("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",s.axisRefDescription("ax","left","right"),l("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",s.axisRefDescription("ay","bottom","top"),l("y")].join(" ")},xref:{valType:"enumerated",values:["paper",o.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.",s.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",o.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.",s.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:i({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})},bb5b:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("e5ac"),a=r("1729"),s=r("bb4a");function l(e,t,r){function o(r,i){return n.coerce(e,t,s,r,i)}var l=o("visible"),u=o("clicktoshow");if(l||u){a(e,t,r,o);for(var c=t.showarrow,f=["x","y"],p=[-10,-30],d={_fullLayout:r},h=0;h<2;h++){var v=f[h],m=i.coerceRef(e,t,d,v,"","paper");if("paper"!==m){var g=i.getFromId(d,m);g._annIndices.push(t._index)}if(i.coercePosition(t,d,o,m,v,.5),c){var y="a"+v,b=i.coerceRef(e,t,d,y,"pixel",["pixel","paper"]);"pixel"!==b&&b!==m&&(b=t[y]="pixel");var x="pixel"===b?p[h]:.4;i.coercePosition(t,d,o,b,y,x)}o(v+"anchor"),o(v+"shift")}if(n.noneOrAll(e,t,["x","y"]),c&&n.noneOrAll(e,t,["ax","ay"]),u){var A=o("xclick"),w=o("yclick");t._xclick=void 0===A?t.x:i.cleanPosition(A,d,t.xref),t._yclick=void 0===w?t.y:i.cleanPosition(w,d,t.yref)}}}e.exports=function(e,t){o(e,t,{name:"annotations",handleItemDefaults:l})}},bb68:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z"}))};e.exports=s},bb71:function(e,t,r){"use strict";var n=r("6e58"),i=r("70e1").timeFormatLocale,o=r("19b2"),a=r("371e"),s=r("6921"),l=r("a651"),u=r("fc26"),c=r("d115"),f=r("e806").BADNUM,p=r("3c1c"),d=r("e947").clearSelect,h=r("5b68"),v=r("a9cb"),m=r("ad62").getModuleCalcData,g=u.relinkPrivateKeys,y=u._,b=e.exports={};u.extendFlat(b,a),b.attributes=r("a876"),b.attributes.type.values=b.allTypes,b.fontAttrs=r("9845"),b.layoutAttributes=r("a685"),b.fontWeight="normal";var x=b.transformsRegistry,A=r("469b");function w(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){b.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),i=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+i})}}b.executeAPICommand=A.executeAPICommand,b.computeAPICommandBindings=A.computeAPICommandBindings,b.manageCommandObserver=A.manageCommandObserver,b.hasSimpleAPICommandBindings=A.hasSimpleAPICommandBindings,b.redrawText=function(e){e=u.getGraphDiv(e);var t=e._fullLayout||{},r=t._has&&t._has("polar"),n=!r&&e.data&&e.data[0]&&e.data[0].r;if(!n)return new Promise((function(t){setTimeout((function(){a.getComponentMethod("annotations","draw")(e),a.getComponentMethod("legend","draw")(e),a.getComponentMethod("colorbar","draw")(e),t(b.previousPromises(e))}),300)}))},b.resize=function(e){var t;e=u.getGraphDiv(e);var r=new Promise((function(r,n){e&&!u.isHidden(e)||n(new Error("Resize must be passed a displayed plot div element.")),e._redrawTimer&&clearTimeout(e._redrawTimer),e._resolveResize&&(t=e._resolveResize),e._resolveResize=r,e._redrawTimer=setTimeout((function(){if(!e.layout||e.layout.width&&e.layout.height||u.isHidden(e))r(e);else{delete e.layout.width,delete e.layout.height;var t=e.changed;e.autoplay=!0,a.call("relayout",e,{autosize:!0}).then((function(){e.changed=t,e._resolveResize===r&&(delete e._resolveResize,r(e))}))}}),100)}));return t&&t(r),r},b.previousPromises=function(e){if((e._promises||[]).length)return Promise.all(e._promises).then((function(){e._promises=[]}))},b.addLinks=function(e){if(e._context.showLink||e._context.showSources){var t=e._fullLayout,r=u.ensureSingle(t._paper,"text","js-plot-link-container",(function(e){e.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:c.defaultLine,"pointer-events":"all"}).each((function(){var e=n.select(this);e.append("tspan").classed("js-link-to-tool",!0),e.append("tspan").classed("js-link-spacer",!0),e.append("tspan").classed("js-sourcelinks",!0)}))})),i=r.node(),o={y:t._paper.attr("height")-9};document.body.contains(i)&&i.getComputedTextLength()>=t.width-20?(o["text-anchor"]="start",o.x=5):(o["text-anchor"]="end",o.x=t._paper.attr("width")-7),r.attr(o);var a=r.select(".js-link-to-tool"),s=r.select(".js-link-spacer"),l=r.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&w(e,a),s.text(a.text()&&l.text()?" - ":"")}},b.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var r=n.select(e).append("div").attr("id","hiddenform").style("display","none"),i=r.append("form").attr({action:t+"/external",method:"post",target:"_blank"}),o=i.append("input").attr({type:"text",name:"data"});return o.node().value=b.graphJson(e,!1,"keepdata"),i.node().submit(),r.remove(),e.emit("plotly_afterexport"),!1}};var _=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],E=["year","month","dayMonth","dayMonthYear"];function k(e,t){var r,n,i=t.length,o=[];for(r=0;r<e.length;r++){var a=e[r]._fullInput;a!==n&&o.push(a),n=a}var s=o.length,l=new Array(i),c={};function f(e,t){l[t]=e,c[e]=1}function p(e,t){if(e&&"string"===typeof e&&!c[e])return f(e,t),!0}for(r=0;r<i;r++){var d=t[r].uid;"number"===typeof d&&(d=String(d)),p(d,r)||(r<s&&p(o[r].uid,r)||f(u.randstr(c),r))}return l}function T(){var e,t,r=a.collectableSubplotTypes,n={};if(!r){r=[];var i=a.subplotsRegistry;for(var o in i){var s=i[o],l=s.attr;if(l&&(r.push(o),Array.isArray(l)))for(t=0;t<l.length;t++)u.pushUnique(r,l[t])}}for(e=0;e<r.length;e++)n[r[e]]=[];return n}function C(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,i={};function o(e){for(var r=!0,o=0;o<t.length;o++){var a=t[o];i[a]||(e[a]?i[a]=e[a]:r=!1)}r&&(n=!0)}for(var s=0;s<2;s++){for(var l=e._context.locales,u=0;u<2;u++){var c=(l[r]||{}).format;if(c&&(o(c),n))break;l=a.localeRegistry}var f=r.split("-")[0];if(n||f===r)break;r=f}return n||o(a.localeRegistry.en.format),i}function S(e,t){return e.decimal=t.charAt(0),e.thousands=t.charAt(1),{numberFormat:n.locale(e).numberFormat,timeFormat:i(e).utcFormat}}function O(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var i=0;i<e.length;i++){var o=e[i];o.meta?n[o.index]=o._meta={meta:o.meta}:t.meta&&(o._meta={meta:t.meta}),t.meta&&(o._meta.layout={meta:t.meta})}n.length&&(r||(r=t._meta={}),r.data=n)}function M(e,t){var r={_fullLayout:t},n="x"===e._id.charAt(0),i=e._mainAxis._anchorAxis,o="",a="",s="";if(i&&(s=i._mainAxis._id,o=n?e._id+s:s+e._id),!o||!t._plots[o]){o="";for(var l=e._counterAxes,u=0;u<l.length;u++){var c=l[u],f=n?e._id+c:c+e._id;a||(a=f);var d=p.getFromId(r,c);if(s&&d.overlaying===s){o=f;break}}}return o||a}function P(e){var t=e.transforms;if(Array.isArray(t)&&t.length)for(var r=0;r<t.length;r++){var n=t[r],i=n._module||x[n.type];if(i&&i.makesData)return!0}return!1}function B(e,t,r,n){for(var i=e.transforms,o=[e],a=0;a<i.length;a++){var s=i[a],l=x[s.type];l&&l.transform&&(o=l.transform(o,{transform:s,fullTrace:e,fullData:t,layout:r,fullLayout:n,transformIndex:a}))}return o}function L(e){return"string"===typeof e&&"px"===e.substr(e.length-2)&&parseFloat(e)}function D(e){var t=e.margin;if(!e._size){var r=e._size={l:Math.round(t.l),r:Math.round(t.r),t:Math.round(t.t),b:Math.round(t.b),p:Math.round(t.pad)};r.w=Math.round(e.width)-r.l-r.r,r.h=Math.round(e.height)-r.t-r.b}e._pushmargin||(e._pushmargin={}),e._pushmarginIds||(e._pushmarginIds={})}b.supplyDefaults=function(e,t){var r=t&&t.skipUpdateCalc,n=e._fullLayout||{};if(n._skipDefaults)delete n._skipDefaults;else{var i,o=e._fullLayout={},s=e.layout||{},l=e._fullData||[],c=e._fullData=[],f=e.data||[],p=e.calcdata||[],h=e._context||{};e._transitionData||b.createTransitionData(e),o._dfltTitle={plot:y(e,"Click to enter Plot title"),x:y(e,"Click to enter X axis title"),y:y(e,"Click to enter Y axis title"),colorbar:y(e,"Click to enter Colorscale title"),annotation:y(e,"new text")},o._traceWord=y(e,"trace");var v=C(e,_);if(o._mapboxAccessToken=h.mapboxAccessToken,n._initialAutoSizeIsDone){var m=n.width,x=n.height;b.supplyLayoutGlobalDefaults(s,o,v),s.width||(o.width=m),s.height||(o.height=x),b.sanitizeMargins(o)}else{b.supplyLayoutGlobalDefaults(s,o,v);var A=!s.width||!s.height,w=o.autosize,M=h.autosizable,P=A&&(w||M);P?b.plotAutoSize(e,s,o):A&&b.sanitizeMargins(o),!w&&A&&(s.width=o.width,s.height=o.height)}o._d3locale=S(v,o.separators),o._extraFormat=C(e,E),o._initialAutoSizeIsDone=!0,o._dataLength=f.length,o._modules=[],o._visibleModules=[],o._basePlotModules=[];var B=o._subplots=T(),L=o._splomAxes={x:{},y:{}},I=o._splomSubplots={};o._splomGridDflt={},o._scatterStackOpts={},o._firstScatter={},o._alignmentOpts={},o._colorAxes={},o._requestRangeslider={},o._traceUids=k(l,f),o._globalTransforms=(e._context||{}).globalTransforms,b.supplyDataDefaults(f,c,s,o);var j=Object.keys(L.x),R=Object.keys(L.y);if(j.length>1&&R.length>1){for(a.getComponentMethod("grid","sizeDefaults")(s,o),i=0;i<j.length;i++)u.pushUnique(B.xaxis,j[i]);for(i=0;i<R.length;i++)u.pushUnique(B.yaxis,R[i]);for(var F in I)u.pushUnique(B.cartesian,F)}if(o._has=b._hasPlotType.bind(o),l.length===c.length)for(i=0;i<c.length;i++)g(c[i],l[i]);b.supplyLayoutModuleDefaults(s,o,c,e._transitionData);var N=o._visibleModules,z=[];for(i=0;i<N.length;i++){var U=N[i].crossTraceDefaults;U&&u.pushUnique(z,U)}for(i=0;i<z.length;i++)z[i](c,o);o._hasOnlyLargeSploms=1===o._basePlotModules.length&&"splom"===o._basePlotModules[0].name&&j.length>15&&R.length>15&&0===o.shapes.length&&0===o.images.length,o._hasCartesian=o._has("cartesian"),o._hasGeo=o._has("geo"),o._hasGL3D=o._has("gl3d"),o._hasGL2D=o._has("gl2d"),o._hasTernary=o._has("ternary"),o._hasPie=o._has("pie"),b.linkSubplots(c,o,l,n),b.cleanPlot(c,o,l,n);var H=!(!n._has||!n._has("gl2d")),V=!(!o._has||!o._has("gl2d")),Q=!(!n._has||!n._has("cartesian")),W=!(!o._has||!o._has("cartesian")),K=Q||H,q=W||V;K&&!q?n._bgLayer.remove():q&&!K&&(o._shouldCreateBgLayer=!0),n._zoomlayer&&!e._dragging&&d({_fullLayout:n}),O(c,o),g(o,n),a.getComponentMethod("colorscale","crossTraceDefaults")(c,o),o._preGUI||(o._preGUI={}),o._tracePreGUI||(o._tracePreGUI={});var G,$=o._tracePreGUI,Y={};for(G in $)Y[G]="old";for(i=0;i<c.length;i++)G=c[i]._fullInput.uid,Y[G]||($[G]={}),Y[G]="new";for(G in Y)"old"===Y[G]&&delete $[G];D(o),a.getComponentMethod("rangeslider","makeData")(o),r||p.length!==c.length||b.supplyDefaultsUpdateCalc(p,c)}},b.supplyDefaultsUpdateCalc=function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=(e[r]||[])[0];if(i&&i.trace){var o=i.trace;if(o._hasCalcTransform){var a,s,l,c=o._arrayAttrs;for(a=0;a<c.length;a++)s=c[a],l=u.nestedProperty(o,s).get().slice(),u.nestedProperty(n,s).set(l)}i.trace=n}}},b.createTransitionData=function(e){e._transitionData||(e._transitionData={}),e._transitionData._frames||(e._transitionData._frames=[]),e._transitionData._frameHash||(e._transitionData._frameHash={}),e._transitionData._counter||(e._transitionData._counter=0),e._transitionData._interruptCallbacks||(e._transitionData._interruptCallbacks=[])},b._hasPlotType=function(e){var t,r=this._basePlotModules||[];for(t=0;t<r.length;t++)if(r[t].name===e)return!0;var n=this._modules||[];for(t=0;t<n.length;t++){var i=n[t].name;if(i===e)return!0;var o=a.modules[i];if(o&&o.categories[e])return!0}return!1},b.cleanPlot=function(e,t,r,n){var i,o,a=n._basePlotModules||[];for(i=0;i<a.length;i++){var s=a[i];s.clean&&s.clean(e,t,r,n)}var l=n._has&&n._has("gl"),u=t._has&&t._has("gl");l&&!u&&void 0!==n._glcontainer&&(n._glcontainer.selectAll(".gl-canvas").remove(),n._glcontainer.selectAll(".no-webgl").remove(),n._glcanvas=null);var c=!!n._infolayer;e:for(i=0;i<r.length;i++){var f=r[i],p=f.uid;for(o=0;o<e.length;o++){var d=e[o];if(p===d.uid)continue e}c&&n._infolayer.select(".cb"+p).remove()}},b.linkSubplots=function(e,t,r,n){var i,o,s=n._plots||{},l=t._plots={},c=t._subplots,f={_fullData:e,_fullLayout:t},d=c.cartesian.concat(c.gl2d||[]);for(i=0;i<d.length;i++){var h,v=d[i],m=s[v],g=p.getFromId(f,v,"x"),y=p.getFromId(f,v,"y");for(m?h=l[v]=m:(h=l[v]={},h.id=v),g._counterAxes.push(y._id),y._counterAxes.push(g._id),g._subplotsWith.push(v),y._subplotsWith.push(v),h.xaxis=g,h.yaxis=y,h._hasClipOnAxisFalse=!1,o=0;o<e.length;o++){var b=e[o];if(b.xaxis===h.xaxis._id&&b.yaxis===h.yaxis._id&&!1===b.cliponaxis){h._hasClipOnAxisFalse=!0;break}}}var x,A=p.list(f,null,!0);for(i=0;i<A.length;i++){x=A[i];var w=null;x.overlaying&&(w=p.getFromId(f,x.overlaying),w&&w.overlaying&&(x.overlaying=!1,w=null)),x._mainAxis=w||x,w&&(x.domain=w.domain.slice()),x._anchorAxis="free"===x.anchor?null:p.getFromId(f,x.anchor)}for(i=0;i<A.length;i++)if(x=A[i],x._counterAxes.sort(p.idSort),x._subplotsWith.sort(u.subplotSort),x._mainSubplot=M(x,t),x._counterAxes.length&&(x.spikemode&&-1!==x.spikemode.indexOf("across")||x.automargin&&x.mirror&&"free"!==x.anchor||a.getComponentMethod("rangeslider","isVisible")(x))){var _=1,E=0;for(o=0;o<x._counterAxes.length;o++){var k=p.getFromId(f,x._counterAxes[o]);_=Math.min(_,k.domain[0]),E=Math.max(E,k.domain[1])}_<E&&(x._counterDomainMin=_,x._counterDomainMax=E)}},b.clearExpandedTraceDefaultColors=function(e){var t,r,n;function i(e,n,i,o){r[o]=n,r.length=o+1,"color"===e.valType&&void 0===e.dflt&&t.push(r.join("."))}for(r=[],t=e._module._colorAttrs,t||(e._module._colorAttrs=t=[],s.crawl(e._module.attributes,i)),n=0;n<t.length;n++){var o=u.nestedProperty(e,"_input."+t[n]);o.get()||u.nestedProperty(e,t[n]).set(null)}},b.supplyDataDefaults=function(e,t,r,n){var i,o,s,c=n._modules,f=n._visibleModules,p=n._basePlotModules,d=0,h=0;function v(e){t.push(e);var r=e._module;r&&(u.pushUnique(c,r),!0===e.visible&&u.pushUnique(f,r),u.pushUnique(p,e._module.basePlotModule),d++,!1!==e._input.visible&&h++)}n._transformModules=[];var m={},y=[],x=(r.template||{}).data||{},A=l.traceTemplater(x);for(i=0;i<e.length;i++){if(s=e[i],o=A.newTrace(s),o.uid=n._traceUids[i],b.supplyTraceDefaults(s,o,h,n,i),o.index=i,o._input=s,o._expandedIndex=d,o.transforms&&o.transforms.length)for(var w=!1!==s.visible&&!1===o.visible,_=B(o,t,r,n),E=0;E<_.length;E++){var k=_[E],T={_template:o._template,type:o.type,uid:o.uid+E};w&&!1===k.visible&&delete k.visible,b.supplyTraceDefaults(k,T,d,n,i),g(T,k),T.index=i,T._input=s,T._fullInput=o,T._expandedIndex=d,T._expandedInput=k,v(T)}else o._fullInput=o,o._expandedInput=o,v(o);a.traceIs(o,"carpetAxis")&&(m[o.carpet]=o),a.traceIs(o,"carpetDependent")&&y.push(i)}for(i=0;i<y.length;i++)if(o=t[y[i]],o.visible){var C=m[o.carpet];o._carpet=C,C&&C.visible?(o.xaxis=C.xaxis,o.yaxis=C.yaxis):o.visible=!1}},b.supplyAnimationDefaults=function(e){var t;e=e||{};var r={};function n(t,n){return u.coerce(e||{},r,h,t,n)}if(n("mode"),n("direction"),n("fromcurrent"),Array.isArray(e.frame))for(r.frame=[],t=0;t<e.frame.length;t++)r.frame[t]=b.supplyAnimationFrameDefaults(e.frame[t]||{});else r.frame=b.supplyAnimationFrameDefaults(e.frame||{});if(Array.isArray(e.transition))for(r.transition=[],t=0;t<e.transition.length;t++)r.transition[t]=b.supplyAnimationTransitionDefaults(e.transition[t]||{});else r.transition=b.supplyAnimationTransitionDefaults(e.transition||{});return r},b.supplyAnimationFrameDefaults=function(e){var t={};function r(r,n){return u.coerce(e||{},t,h.frame,r,n)}return r("duration"),r("redraw"),t},b.supplyAnimationTransitionDefaults=function(e){var t={};function r(r,n){return u.coerce(e||{},t,h.transition,r,n)}return r("duration"),r("easing"),t},b.supplyFrameDefaults=function(e){var t={};function r(r,n){return u.coerce(e,t,v,r,n)}return r("group"),r("name"),r("traces"),r("baseframe"),r("data"),r("layout"),t},b.supplyTraceDefaults=function(e,t,r,n,i){var o,s=n.colorway||c.defaults,l=s[r%s.length];function f(r,n){return u.coerce(e,t,b.attributes,r,n)}var p=f("visible");f("type"),f("name",n._traceWord+" "+i),f("uirevision",n.uirevision);var d=b.getModule(t);if(t._module=d,d){var h=d.basePlotModule,v=h.attr,m=h.attributes;if(v&&m){var g=n._subplots,y="";if(p||"gl2d"!==h.name){if(Array.isArray(v))for(o=0;o<v.length;o++){var x=v[o],A=u.coerce(e,t,m,x);g[x]&&u.pushUnique(g[x],A),y+=A}else y=u.coerce(e,t,m,v);g[h.name]&&u.pushUnique(g[h.name],y)}}}return p&&(f("customdata"),f("ids"),f("meta"),a.traceIs(t,"showLegend")?(u.coerce(e,t,d.attributes.showlegend?d.attributes:b.attributes,"showlegend"),f("legendgroup"),t._dfltShowLegend=!0):t._dfltShowLegend=!1,d&&d.supplyDefaults(e,t,l,n),a.traceIs(t,"noOpacity")||f("opacity"),a.traceIs(t,"notLegendIsolatable")&&(t.visible=!!t.visible),a.traceIs(t,"noHover")||(t.hovertemplate||u.coerceHoverinfo(e,t,n),"parcats"!==t.type&&a.getComponentMethod("fx","supplyDefaults")(e,t,l,n)),d&&d.selectPoints&&f("selectedpoints"),b.supplyTransformDefaults(e,t,n)),t},b.hasMakesDataTransform=P,b.supplyTransformDefaults=function(e,t,r){if(t._length||P(e)){var n=r._globalTransforms||[],i=r._transformModules||[];if(Array.isArray(e.transforms)||0!==n.length)for(var o=e.transforms||[],a=n.concat(o),s=t.transforms=[],l=0;l<a.length;l++){var c,f=a[l],p=f.type,d=x[p],h=!(f._module&&f._module===d),v=d&&"function"===typeof d.transform;d||u.warn("Unrecognized transform type "+p+"."),d&&d.supplyDefaults&&(h||v)?(c=d.supplyDefaults(f,t,r,e),c.type=p,c._module=d,u.pushUnique(i,d)):c=u.extendFlat({},f),s.push(c)}}},b.supplyLayoutGlobalDefaults=function(e,t,r){function n(r,n){return u.coerce(e,t,b.layoutAttributes,r,n)}var i=e.template;u.isPlainObject(i)&&(t.template=i,t._template=i.layout,t._dataTemplate=i.data),n("autotypenumbers");var o=u.coerceFont(n,"font");n("title.text",t._dfltTitle.plot),u.coerceFont(n,"title.font",{family:o.family,size:Math.round(1.4*o.size),color:o.color}),n("title.xref"),n("title.yref"),n("title.x"),n("title.y"),n("title.xanchor"),n("title.yanchor"),n("title.pad.t"),n("title.pad.r"),n("title.pad.b"),n("title.pad.l");var s=n("uniformtext.mode");s&&n("uniformtext.minsize"),n("autosize",!(e.width&&e.height)),n("width"),n("height"),n("margin.l"),n("margin.r"),n("margin.t"),n("margin.b"),n("margin.pad"),n("margin.autoexpand"),e.width&&e.height&&b.sanitizeMargins(t),a.getComponentMethod("grid","sizeDefaults")(e,t),n("paper_bgcolor"),n("separators",r.decimal+r.thousands),n("hidesources"),n("colorway"),n("datarevision");var l=n("uirevision");n("editrevision",l),n("selectionrevision",l),n("modebar.orientation"),n("modebar.bgcolor",c.addOpacity(t.paper_bgcolor,.5));var f=c.contrast(c.rgb(t.modebar.bgcolor));n("modebar.color",c.addOpacity(f,.3)),n("modebar.activecolor",c.addOpacity(f,.7)),n("modebar.uirevision",l),a.getComponentMethod("shapes","supplyDrawNewShapeDefaults")(e,t,n),n("meta"),u.isPlainObject(e.transition)&&(n("transition.duration"),n("transition.easing"),n("transition.ordering")),a.getComponentMethod("calendars","handleDefaults")(e,t,"calendar"),a.getComponentMethod("fx","supplyLayoutGlobalDefaults")(e,t,n)},b.plotAutoSize=function(e,t,r){var n,i,a=e._context||{},s=a.frameMargins,l=u.isPlotDiv(e);if(l&&e.emit("plotly_autosize"),a.fillFrame)n=window.innerWidth,i=window.innerHeight,document.body.style.overflow="hidden";else{var c=l?window.getComputedStyle(e):{};if(n=L(c.width)||L(c.maxWidth)||r.width,i=L(c.height)||L(c.maxHeight)||r.height,o(s)&&s>0){var f=1-2*s;n=Math.round(f*n),i=Math.round(f*i)}}var p=b.layoutAttributes.width.min,d=b.layoutAttributes.height.min;n<p&&(n=p),i<d&&(i=d);var h=!t.width&&Math.abs(r.width-n)>1,v=!t.height&&Math.abs(r.height-i)>1;(v||h)&&(h&&(r.width=n),v&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),b.sanitizeMargins(r)},b.supplyLayoutModuleDefaults=function(e,t,r,n){var i,o,s,l=a.componentsRegistry,c=t._basePlotModules,f=a.subplotsRegistry.cartesian;for(i in l)s=l[i],s.includeBasePlot&&s.includeBasePlot(e,t);for(var p in c.length||c.push(f),t._has("cartesian")&&(a.getComponentMethod("grid","contentDefaults")(e,t),f.finalizeSubplots(e,t)),t._subplots)t._subplots[p].sort(u.subplotSort);for(o=0;o<c.length;o++)s=c[o],s.supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r);var d=t._modules;for(o=0;o<d.length;o++)s=d[o],s.supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r);var h=t._transformModules;for(o=0;o<h.length;o++)s=h[o],s.supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r,n);for(i in l)s=l[i],s.supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r)},b.purge=function(e){var t=e._fullLayout||{};void 0!==t._glcontainer&&(t._glcontainer.selectAll(".gl-canvas").remove(),t._glcontainer.remove(),t._glcanvas=null),t._modeBar&&t._modeBar.destroy(),e._transitionData&&(e._transitionData._interruptCallbacks&&(e._transitionData._interruptCallbacks.length=0),e._transitionData._animationRaf&&window.cancelAnimationFrame(e._transitionData._animationRaf)),u.clearThrottle(),u.clearResponsive(e),delete e.data,delete e.layout,delete e._fullData,delete e._fullLayout,delete e.calcdata,delete e.framework,delete e.empty,delete e.fid,delete e.undoqueue,delete e.undonum,delete e.autoplay,delete e.changed,delete e._promises,delete e._redrawTimer,delete e._hmlumcount,delete e._hmpixcount,delete e._transitionData,delete e._transitioning,delete e._initialAutoSize,delete e._transitioningWithDuration,delete e._dragging,delete e._dragged,delete e._dragdata,delete e._hoverdata,delete e._snapshotInProgress,delete e._editing,delete e._mouseDownTime,delete e._legendMouseDownTime,e.removeAllListeners&&e.removeAllListeners()},b.style=function(e){var t,r=e._fullLayout._visibleModules,n=[];for(t=0;t<r.length;t++){var i=r[t];i.style&&u.pushUnique(n,i.style)}for(t=0;t<n.length;t++)n[t](e)},b.sanitizeMargins=function(e){if(e&&e.margin){var t,r=e.width,n=e.height,i=e.margin,o=r-(i.l+i.r),a=n-(i.t+i.b);o<0&&(t=(r-1)/(i.l+i.r),i.l=Math.floor(t*i.l),i.r=Math.floor(t*i.r)),a<0&&(t=(n-1)/(i.t+i.b),i.t=Math.floor(t*i.t),i.b=Math.floor(t*i.b))}},b.clearAutoMarginIds=function(e){e._fullLayout._pushmarginIds={}},b.allowAutoMargin=function(e,t){e._fullLayout._pushmarginIds[t]=1};var I=2,j=2,R=64,F=64;function N(e){for(var t=p.list(e,"",!0),r=0;r<t.length;r++){var n=t[r],i=n._hideOutOfRangeInsideTickLabels;i&&i()}}b.autoMargin=function(e,t,r){var n=e._fullLayout,i=n.width,o=n.height,a=n.margin,s=u.constrain(i-a.l-a.r,I,R),l=u.constrain(o-a.t-a.b,j,F),c=Math.max(0,i-s),f=Math.max(0,o-l),p=n._pushmargin,d=n._pushmarginIds;if(!1!==a.autoexpand){if(r){var h=r.pad;if(void 0===h&&(h=Math.min(12,a.l,a.r,a.t,a.b)),c){var v=(r.l+r.r)/c;v>1&&(r.l/=v,r.r/=v)}if(f){var m=(r.t+r.b)/f;m>1&&(r.t/=m,r.b/=m)}var g=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,x=void 0!==r.yt?r.yt:r.y,A=void 0!==r.yb?r.yb:r.y;p[t]={l:{val:g,size:r.l+h},r:{val:y,size:r.r+h},b:{val:A,size:r.b+h},t:{val:x,size:r.t+h}},d[t]=1}else delete p[t],delete d[t];if(!n._replotting)return b.doAutoMargin(e)}},b.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),D(t);var i=t._size,s=t.margin,l=u.extendFlat({},i),c=s.l,f=s.r,p=s.t,d=s.b,h=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in h)v[m]||delete h[m];for(var g in h.base={l:{val:0,size:c},r:{val:1,size:f},t:{val:1,size:p},b:{val:0,size:d}},h){var y=h[g].l||{},x=h[g].b||{},A=y.val,w=y.size,_=x.val,E=x.size;for(var k in h){if(o(w)&&h[k].r){var T=h[k].r.val,C=h[k].r.size;if(T>A){var S=(w*T+(C-r)*A)/(T-A),O=(C*(1-A)+(w-r)*(1-T))/(T-A);S+O>c+f&&(c=S,f=O)}}if(o(E)&&h[k].t){var M=h[k].t.val,P=h[k].t.size;if(M>_){var B=(E*M+(P-n)*_)/(M-_),L=(P*(1-_)+(E-n)*(1-M))/(M-_);B+L>d+p&&(d=B,p=L)}}}}}var z=u.constrain(r-s.l-s.r,I,R),U=u.constrain(n-s.t-s.b,j,F),H=Math.max(0,r-z),V=Math.max(0,n-U);if(H){var Q=(c+f)/H;Q>1&&(c/=Q,f/=Q)}if(V){var W=(d+p)/V;W>1&&(d/=W,p/=W)}if(i.l=Math.round(c),i.r=Math.round(f),i.t=Math.round(p),i.b=Math.round(d),i.p=Math.round(s.pad),i.w=Math.round(r)-i.l-i.r,i.h=Math.round(n)-i.t-i.b,!t._replotting&&b.didMarginChange(l,i)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var K=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount<K)return a.call("plot",e);t._size=l,u.warn("Too many auto-margin redraws.")}N(e)};var z=["l","r","t","b","p","w","h"];function U(e,t,r){var n=!1;function i(e){var t=Promise.resolve();if(!e)return t;while(e.length)t=t.then(e.shift());return t}function o(e){if(e)while(e.length)e.shift()}function s(){return e.emit("plotly_transitioning",[]),new Promise((function(i){e._transitioning=!0,t.duration>0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return a.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var o=0,s=0;function u(){return o++,function(){s++,n||s!==o||l(i)}}r.runFn(u),setTimeout(u())}))}function l(t){if(e._transitionData)return o(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return a.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)}function c(){if(e._transitionData)return e._transitioning=!1,i(e._transitionData._interruptCallbacks)}var f=[b.previousPromises,c,r.prepareFn,b.rehover,s],p=u.syncOrAsync(f,e);return p&&p.then||(p=Promise.resolve()),p.then((function(){return e}))}b.didMarginChange=function(e,t){for(var r=0;r<z.length;r++){var n=z[r],i=e[n],a=t[n];if(!o(i)||Math.abs(a-i)>1)return!0}return!1},b.graphJson=function(e,t,r,n,i,o){(i&&t&&!e._fullData||i&&!t&&!e._fullLayout)&&b.supplyDefaults(e);var a=i?e._fullData:e.data,s=i?e._fullLayout:e.layout,l=(e._transitionData||{})._frames;function c(e,t){if("function"===typeof e)return t?"_function_":null;if(u.isPlainObject(e)){var n,i={};return Object.keys(e).sort().forEach((function(o){if(-1===["_","["].indexOf(o.charAt(0)))if("function"!==typeof e[o]){if("keepdata"===r){if("src"===o.substr(o.length-3))return}else if("keepstream"===r){if(n=e[o+"src"],"string"===typeof n&&n.indexOf(":")>0&&!u.isPlainObject(e.stream))return}else if("keepall"!==r&&(n=e[o+"src"],"string"===typeof n&&n.indexOf(":")>0))return;i[o]=c(e[o],t)}else t&&(i[o]="_function")})),i}return Array.isArray(e)?e.map((function(e){return c(e,t)})):u.isTypedArray(e)?u.simpleMap(e,u.identity):u.isJSDate(e)?u.ms2DateTimeLocal(+e):e}var f={data:(a||[]).map((function(e){var r=c(e);return t&&delete r.fit,r}))};if(!t&&(f.layout=c(s),i)){var p=s._size;f.layout.computed={margin:{b:p.b,l:p.l,r:p.r,t:p.t}}}return e.framework&&e.framework.isPolar&&(f=e.framework.getConfig()),l&&(f.frames=c(l)),o&&(f.config=c(e._context,!0)),"object"===n?f:JSON.stringify(f)},b.modifyFrames=function(e,t){var r,n,i,o=e._transitionData._frames,a=e._transitionData._frameHash;for(r=0;r<t.length;r++)switch(n=t[r],n.type){case"replace":i=n.value;var s=(o[n.index]||{}).name,l=i.name;o[n.index]=a[l]=i,l!==s&&(delete a[s],a[l]=i);break;case"insert":i=n.value,a[i.name]=i,o.splice(n.index,0,i);break;case"delete":i=o[n.index],delete a[i.name],o.splice(n.index,1);break}return Promise.resolve()},b.computeFrame=function(e,t){var r,n,i,o,a=e._transitionData._frameHash;if(!t)throw new Error("computeFrame must be given a string frame name");var s=a[t.toString()];if(!s)return!1;var l=[s],u=[s.name];while(s.baseframe&&(s=a[s.baseframe.toString()])){if(-1!==u.indexOf(s.name))break;l.push(s),u.push(s.name)}var c={};while(s=l.pop())if(s.layout&&(c.layout=b.extendLayout(c.layout,s.layout)),s.data){if(c.data||(c.data=[]),n=s.traces,!n)for(n=[],r=0;r<s.data.length;r++)n[r]=r;for(c.traces||(c.traces=[]),r=0;r<s.data.length;r++)i=n[r],void 0!==i&&null!==i&&(o=c.traces.indexOf(i),-1===o&&(o=c.data.length,c.traces[o]=i),c.data[o]=b.extendTrace(c.data[o],s.data[r]))}return c},b.recomputeFrameHash=function(e){for(var t=e._transitionData._frameHash={},r=e._transitionData._frames,n=0;n<r.length;n++){var i=r[n];i&&i.name&&(t[i.name]=i)}},b.extendObjectWithContainers=function(e,t,r){var n,i,o,a,s,l,c,f,p=u.extendDeepNoArrays({},t||{}),d=u.expandObjectPaths(p),h={};if(r&&r.length)for(o=0;o<r.length;o++)n=u.nestedProperty(d,r[o]),i=n.get(),void 0===i?u.nestedProperty(h,r[o]).set(null):(n.set(null),u.nestedProperty(h,r[o]).set(i));if(e=u.extendDeepNoArrays(e||{},d),r&&r.length)for(o=0;o<r.length;o++)if(s=u.nestedProperty(h,r[o]),c=s.get(),c){for(l=u.nestedProperty(e,r[o]),f=l.get(),Array.isArray(f)||(f=[],l.set(f)),a=0;a<c.length;a++){var v=c[a];f[a]=null===v?null:b.extendObjectWithContainers(f[a],v)}l.set(f)}return e},b.dataArrayContainers=["transforms","dimensions"],b.layoutArrayContainers=a.layoutArrayContainers,b.extendTrace=function(e,t){return b.extendObjectWithContainers(e,t,b.dataArrayContainers)},b.extendLayout=function(e,t){return b.extendObjectWithContainers(e,t,b.layoutArrayContainers)},b.transition=function(e,t,r,n,i,o){var a={redraw:i.redraw},s={},l=[];return a.prepareFn=function(){for(var i=Array.isArray(t)?t.length:0,o=n.slice(0,i),a=0;a<o.length;a++){var c=o[a],f=e._fullData[c],p=f._module;if(p){if(p.animatable){var d=p.basePlotModule.name;s[d]||(s[d]=[]),s[d].push(c)}e.data[o[a]]=b.extendTrace(e.data[o[a]],t[a])}}var h=u.expandObjectPaths(u.extendDeepNoArrays({},r)),v=/^[xy]axis[0-9]*$/;for(var m in h)v.test(m)&&delete h[m].range;b.extendLayout(e.layout,h),delete e.calcdata,b.supplyDefaults(e),b.doCalcdata(e);var g=u.expandObjectPaths(r);if(g){var y=e._fullLayout._plots;for(var x in y){var A=y[x],w=A.xaxis,_=A.yaxis,E=w.range.slice(),k=_.range.slice(),T=null,C=null,S=null,O=null;Array.isArray(g[w._name+".range"])?T=g[w._name+".range"].slice():Array.isArray((g[w._name]||{}).range)&&(T=g[w._name].range.slice()),Array.isArray(g[_._name+".range"])?C=g[_._name+".range"].slice():Array.isArray((g[_._name]||{}).range)&&(C=g[_._name].range.slice()),E&&T&&(w.r2l(E[0])!==w.r2l(T[0])||w.r2l(E[1])!==w.r2l(T[1]))&&(S={xr0:E,xr1:T}),k&&C&&(_.r2l(k[0])!==_.r2l(C[0])||_.r2l(k[1])!==_.r2l(C[1]))&&(O={yr0:k,yr1:C}),(S||O)&&l.push(u.extendFlat({plotinfo:A},S,O))}}return Promise.resolve()},a.runFn=function(t){var n,i,a=e._fullLayout._basePlotModules,c=l.length;if(r)for(i=0;i<a.length;i++)a[i].transitionAxes&&a[i].transitionAxes(e,l,o,t);for(var f in c?(n=u.extendFlat({},o),n.duration=0,delete s.cartesian):n=o,s){var p=s[f],d=e._fullData[p[0]]._module;d.basePlotModule.plot(e,p,n,t)}},U(e,o,a)},b.transitionFromReact=function(e,t,r,n){var i=e._fullLayout,o=i.transition,a={},s=[];return a.prepareFn=function(){var e=i._plots;for(var o in a.redraw=!1,"some"===t.anim&&(a.redraw=!0),"some"===r.anim&&(a.redraw=!0),e){var l=e[o],c=l.xaxis,f=l.yaxis,p=n[c._name].range.slice(),d=n[f._name].range.slice(),h=c.range.slice(),v=f.range.slice();c.setScale(),f.setScale();var m=null,g=null;c.r2l(p[0])===c.r2l(h[0])&&c.r2l(p[1])===c.r2l(h[1])||(m={xr0:p,xr1:h}),f.r2l(d[0])===f.r2l(v[0])&&f.r2l(d[1])===f.r2l(v[1])||(g={yr0:d,yr1:v}),(m||g)&&s.push(u.extendFlat({plotinfo:l},m,g))}return Promise.resolve()},a.runFn=function(r){for(var n,i,a,l=e._fullData,c=e._fullLayout,f=c._basePlotModules,p=[],d=0;d<l.length;d++)p.push(d);function h(){for(var t=0;t<f.length;t++)f[t].transitionAxes&&f[t].transitionAxes(e,s,n,r)}function v(){for(var t=0;t<f.length;t++)f[t].plot(e,a,i,r)}s.length&&t.anim?"traces first"===o.ordering?(n=u.extendFlat({},o,{duration:0}),a=p,i=o,setTimeout(h,o.duration),v()):(n=o,a=null,i=u.extendFlat({},o,{duration:0}),setTimeout(v,n.duration),h()):s.length?(n=o,h()):t.anim&&(a=p,i=o,v())},U(e,o,a)},b.doCalcdata=function(e,t){var r,n,i,o,l=p.list(e),u=e._fullData,c=e._fullLayout,d=new Array(u.length),h=(e.calcdata||[]).slice();for(e.calcdata=d,c._numBoxes=0,c._numViolins=0,c._violinScaleGroupStats={},e._hmpixcount=0,e._hmlumcount=0,c._piecolormap={},c._sunburstcolormap={},c._treemapcolormap={},c._funnelareacolormap={},i=0;i<u.length;i++)Array.isArray(t)&&-1===t.indexOf(i)&&(d[i]=h[i]);for(i=0;i<u.length;i++)r=u[i],r._arrayAttrs=s.findArrayAttributes(r),r._extremes={};var v=c._subplots.polar||[];for(i=0;i<v.length;i++)l.push(c[v[i]].radialaxis,c[v[i]].angularaxis);for(var m in c._colorAxes){var g=c[m];!1!==g.cauto&&(delete g.cmin,delete g.cmax)}var y=!1;function b(t){if(r=u[t],n=r._module,!0===r.visible&&r.transforms){if(n&&n.calc){var i=n.calc(e,r);i[0]&&i[0].t&&i[0].t._scene&&delete i[0].t._scene.dirty}for(o=0;o<r.transforms.length;o++){var a=r.transforms[o];n=x[a.type],n&&n.calcTransform&&(r._hasCalcTransform=!0,y=!0,n.calcTransform(e,r,a))}}}function A(t,i){if(r=u[t],n=r._module,!!n.isContainer===i){var a=[];if(!0===r.visible&&0!==r._length){delete r._indexToPoints;var s=r.transforms||[];for(o=s.length-1;o>=0;o--)if(s[o].enabled){r._indexToPoints=s[o]._indexToPoints;break}n&&n.calc&&(a=n.calc(e,r))}Array.isArray(a)&&a[0]||(a=[{x:f,y:f}]),a[0].t||(a[0].t={}),a[0].trace=r,d[t]=a}}for(Q(l,u,c),i=0;i<u.length;i++)A(i,!0);for(i=0;i<u.length;i++)b(i);for(y&&Q(l,u,c),i=0;i<u.length;i++)A(i,!0);for(i=0;i<u.length;i++)A(i,!1);W(e);var w=V(l,e);if(w.length){for(c._numBoxes=0,c._numViolins=0,i=0;i<w.length;i++)A(w[i],!0);for(i=0;i<w.length;i++)A(w[i],!1);W(e)}a.getComponentMethod("fx","calc")(e),a.getComponentMethod("errorbars","calc")(e)};var H=/(total|sum|min|max|mean|median) (ascending|descending)/;function V(e,t){var r,n,i,o,s,l=[];function c(e,r,n){var i=r._id.charAt(0);if("histogram2dcontour"===e){var o=r._counterAxes[0],a=p.getFromId(t,o),s="x"===i||"x"===o&&"category"===a.type,l="y"===i||"y"===o&&"category"===a.type;return function(e,t){return 0===e||0===t||s&&e===n[t].length-1||l&&t===n.length-1?-1:("y"===i?t:e)-1}}return function(e,t){return"y"===i?t:e}}var f={min:function(e){return u.aggNums(Math.min,null,e)},max:function(e){return u.aggNums(Math.max,null,e)},sum:function(e){return u.aggNums((function(e,t){return e+t}),null,e)},total:function(e){return u.aggNums((function(e,t){return e+t}),null,e)},mean:function(e){return u.mean(e)},median:function(e){return u.median(e)}};for(r=0;r<e.length;r++){var d=e[r];if("category"===d.type){var h=d.categoryorder.match(H);if(h){var v=h[1],m=h[2],g=d._id.charAt(0),y="x"===g,b=[];for(n=0;n<d._categories.length;n++)b.push([d._categories[n],[]]);for(n=0;n<d._traceIndices.length;n++){var x=d._traceIndices[n],A=t._fullData[x];if(!0===A.visible){var w=A.type;a.traceIs(A,"histogram")&&(delete A._xautoBinFinished,delete A._yautoBinFinished);var _="splom"===w,E="scattergl"===w,k=t.calcdata[x];for(i=0;i<k.length;i++){var T,C,S=k[i];if(_){var O=A._axesDim[d._id];if(!y){var M=A._diag[O][0];M&&(d=t._fullLayout[p.id2name(M)])}var P=S.trace.dimensions[O].values;for(o=0;o<P.length;o++)for(T=d._categoriesMap[P[o]],s=0;s<S.trace.dimensions.length;s++)if(s!==O){var B=S.trace.dimensions[s];b[T][1].push(B.values[o])}}else if(E){for(o=0;o<S.t.x.length;o++)y?(T=S.t.x[o],C=S.t.y[o]):(T=S.t.y[o],C=S.t.x[o]),b[T][1].push(C);S.t&&S.t._scene&&delete S.t._scene.dirty}else if(S.hasOwnProperty("z")){C=S.z;var L=c(A.type,d,C);for(o=0;o<C.length;o++)for(s=0;s<C[o].length;s++)T=L(s,o),T+1&&b[T][1].push(C[o][s])}else for(T=S.p,void 0===T&&(T=S[g]),C=S.s,void 0===C&&(C=S.v),void 0===C&&(C=y?S.y:S.x),Array.isArray(C)||(C=void 0===C?[]:[C]),o=0;o<C.length;o++)b[T][1].push(C[o])}}}d._categoriesValue=b;var D=[];for(n=0;n<b.length;n++)D.push([b[n][0],f[v](b[n][1])]);D.sort((function(e,t){return e[1]-t[1]})),d._categoriesAggregatedValue=D,d._initialCategories=D.map((function(e){return e[0]})),"descending"===m&&d._initialCategories.reverse(),l=l.concat(d.sortByInitialCategories())}}}return l}function Q(e,t,r){var n={};function i(e){e.clearCalc(),"multicategory"===e.type&&e.setupMultiCategory(t),n[e._id]=1}u.simpleMap(e,i);for(var o=r._axisMatchGroups||[],a=0;a<o.length;a++)for(var s in o[a])n[s]||i(r[p.id2name(s)])}function W(e){var t,r,n,i=e._fullLayout,o=i._visibleModules,a={};for(r=0;r<o.length;r++){var s=o[r],l=s.crossTraceCalc;if(l){var c=s.basePlotModule.name;a[c]?u.pushUnique(a[c],l):a[c]=[l]}}for(n in a){var f=a[n],p=i._subplots[n];if(Array.isArray(p))for(t=0;t<p.length;t++){var d=p[t],h="cartesian"===n?i._plots[d]:i[d];for(r=0;r<f.length;r++)f[r](e,h,d)}else for(r=0;r<f.length;r++)f[r](e)}}b.rehover=function(e){e._fullLayout._rehover&&e._fullLayout._rehover()},b.redrag=function(e){e._fullLayout._redrag&&e._fullLayout._redrag()},b.generalUpdatePerTraceModule=function(e,t,r,n){var i,o=t.traceHash,a={};for(i=0;i<r.length;i++){var s=r[i],l=s[0].trace;l.visible&&(a[l.type]=a[l.type]||[],a[l.type].push(s))}for(var c in o)if(!a[c]){var f=o[c][0],p=f[0].trace;p.visible=!1,a[c]=[f]}for(var d in a){var h=a[d],v=h[0][0].trace._module;v.plot(e,t,u.filterVisible(h),n)}t.traceHash=a},b.plotBasePlot=function(e,t,r,n,i){var o=a.getModule(e),s=m(t.calcdata,o)[0];o.plot(t,s,n,i)},b.cleanBasePlot=function(e,t,r,n,i){var o=i._has&&i._has(e),a=r._has&&r._has(e);o&&!a&&i["_"+e+"layer"].selectAll("g.trace").remove()}},bb86:function(e,t,r){"use strict";var n=r("fc26"),i=r("2093"),o=r("927d");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,o,r,i)}i(e,t,r)}},bb88:function(e,t,r){"use strict";var n,i,o=r("04a4"),a=o.createCamera,s=o.createScene,l=r("6ceb"),u=r("1477"),c=r("371e"),f=r("fc26"),p=f.preserveDrawingBuffer(),d=r("0642"),h=r("a5c4"),v=r("f977"),m=r("609c"),g=r("f98d"),y=r("76fe1"),b=r("33ae"),x=r("019a");function A(e,t){var r=document.createElement("div"),n=e.container;this.graphDiv=e.graphDiv;var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.style.position="absolute",i.style.top=i.style.left="0px",i.style.width=i.style.height="100%",i.style["z-index"]=20,i.style["pointer-events"]="none",r.appendChild(i),this.svgContainer=i,r.id=e.id,r.style.position="absolute",r.style.top=r.style.left="0px",r.style.width=r.style.height="100%",n.appendChild(r),this.fullLayout=t,this.id=e.id||"scene",this.fullSceneLayout=t[this.id],this.plotArgs=[[],{},{}],this.axesOptions=y(t,t[this.id]),this.spikeOptions=b(t[this.id]),this.container=r,this.staticMode=!!e.staticPlot,this.pixelRatio=this.pixelRatio||e.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=c.getComponentMethod("annotations3d","convert"),this.drawAnnotations=c.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var w=A.prototype;w.prepareOptions=function(){var e=this,t={canvas:e.canvas,gl:e.gl,glOptions:{preserveDrawingBuffer:p,premultipliedAlpha:!0,antialias:!0},container:e.container,axes:e.axesOptions,spikes:e.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:e.camera,pixelRatio:e.pixelRatio};if(e.staticMode){if(!i&&(n=document.createElement("canvas"),i=l({canvas:n,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!i))throw new Error("error creating static canvas/context for image server");t.gl=i,t.canvas=n}return t};var _=!0;w.tryCreatePlot=function(){var e=this,t=e.prepareOptions(),r=!0;try{e.glplot=s(t)}catch(n){if(e.staticMode||!_||p)r=!1;else{f.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{p=t.glOptions.preserveDrawingBuffer=!0,e.glplot=s(t)}catch(n){p=t.glOptions.preserveDrawingBuffer=!1,r=!1}}}return _=!1,r},w.initializeGLCamera=function(){var e=this,t=e.fullSceneLayout.camera,r="orthographic"===t.projection.type;e.camera=a(e.container,{center:[t.center.x,t.center.y,t.center.z],eye:[t.eye.x,t.eye.y,t.eye.z],up:[t.up.x,t.up.y,t.up.z],_ortho:r,zoomMin:.01,zoomMax:100,mode:"orbit"})},w.initializeGLPlot=function(){var e=this;e.initializeGLCamera();var t=e.tryCreatePlot();if(!t)return m(e);e.traces={},e.make4thDimension();var r=e.graphDiv,n=r.layout,i=function(){var t={};return e.isCameraChanged(n)&&(t[e.id+".camera"]=e.getCamera()),e.isAspectChanged(n)&&(t[e.id+".aspectratio"]=e.glplot.getAspectratio(),"manual"!==n[e.id].aspectmode&&(e.fullSceneLayout.aspectmode=n[e.id].aspectmode=t[e.id+".aspectmode"]="manual")),t},o=function(e){if(!1!==e.fullSceneLayout.dragmode){var t=i();e.saveLayout(n),e.graphDiv.emit("plotly_relayout",t)}};return e.glplot.canvas&&(e.glplot.canvas.addEventListener("mouseup",(function(){o(e)})),e.glplot.canvas.addEventListener("wheel",(function(t){if(r._context._scrollZoom.gl3d){if(e.camera._ortho){var n=t.deltaX>t.deltaY?1.1:1/1.1,i=e.glplot.getAspectratio();e.glplot.setAspectratio({x:n*i.x,y:n*i.y,z:n*i.z})}o(e)}}),!!u&&{passive:!1}),e.glplot.canvas.addEventListener("mousemove",(function(){if(!1!==e.fullSceneLayout.dragmode&&0!==e.camera.mouseListener.buttons){var t=i();e.graphDiv.emit("plotly_relayouting",t)}})),e.staticMode||e.glplot.canvas.addEventListener("webglcontextlost",(function(t){r&&r.emit&&r.emit("plotly_webglcontextlost",{event:t,layer:e.id})}),!1)),e.glplot.oncontextloss=function(){e.recoverContext()},e.glplot.onrender=function(){e.render()},!0},w.render=function(){var e,t=this,r=t.graphDiv,n=t.svgContainer,i=t.container.getBoundingClientRect();r._fullLayout._calcInverseTransform(r);var o=r._fullLayout._invScaleX,a=r._fullLayout._invScaleY,s=i.width*o,l=i.height*a;n.setAttributeNS(null,"viewBox","0 0 "+s+" "+l),n.setAttributeNS(null,"width",s),n.setAttributeNS(null,"height",l),x(t),t.glplot.axes.update(t.axesOptions);for(var u,c=Object.keys(t.traces),p=null,v=t.glplot.selection,m=0;m<c.length;++m)e=t.traces[c[m]],"skip"!==e.data.hoverinfo&&e.handlePick(v)&&(p=e),e.setContourLevels&&e.setContourLevels();function y(e,r){var n=t.fullSceneLayout[e];return d.tickText(n,n.d2l(r),"hover").text}if(null!==p){var b=g(t.glplot.cameraParams,v.dataCoordinate);e=p.data;var A,w=r._fullData[e.index],_=v.index,E={xLabel:y("xaxis",v.traceCoordinate[0]),yLabel:y("yaxis",v.traceCoordinate[1]),zLabel:y("zaxis",v.traceCoordinate[2])},k=h.castHoverinfo(w,t.fullLayout,_),T=(k||"").split("+"),C=k&&"all"===k;w.hovertemplate||C||(-1===T.indexOf("x")&&(E.xLabel=void 0),-1===T.indexOf("y")&&(E.yLabel=void 0),-1===T.indexOf("z")&&(E.zLabel=void 0),-1===T.indexOf("text")&&(v.textLabel=void 0),-1===T.indexOf("name")&&(p.name=void 0));var S=[];"cone"===e.type||"streamtube"===e.type?(E.uLabel=y("xaxis",v.traceCoordinate[3]),(C||-1!==T.indexOf("u"))&&S.push("u: "+E.uLabel),E.vLabel=y("yaxis",v.traceCoordinate[4]),(C||-1!==T.indexOf("v"))&&S.push("v: "+E.vLabel),E.wLabel=y("zaxis",v.traceCoordinate[5]),(C||-1!==T.indexOf("w"))&&S.push("w: "+E.wLabel),E.normLabel=v.traceCoordinate[6].toPrecision(3),(C||-1!==T.indexOf("norm"))&&S.push("norm: "+E.normLabel),"streamtube"===e.type&&(E.divergenceLabel=v.traceCoordinate[7].toPrecision(3),(C||-1!==T.indexOf("divergence"))&&S.push("divergence: "+E.divergenceLabel)),v.textLabel&&S.push(v.textLabel),A=S.join("<br>")):"isosurface"===e.type||"volume"===e.type?(E.valueLabel=d.tickText(t._mockAxis,t._mockAxis.d2l(v.traceCoordinate[3]),"hover").text,S.push("value: "+E.valueLabel),v.textLabel&&S.push(v.textLabel),A=S.join("<br>")):A=v.textLabel;var O={x:v.traceCoordinate[0],y:v.traceCoordinate[1],z:v.traceCoordinate[2],data:w._input,fullData:w,curveNumber:w.index,pointNumber:_};h.appendArrayPointValue(O,w,_),e._module.eventData&&(O=w._module.eventData(O,v,w,{},_));var M={points:[O]};t.fullSceneLayout.hovermode&&h.loneHover({trace:w,x:(.5+.5*b[0]/b[3])*s,y:(.5-.5*b[1]/b[3])*l,xLabel:E.xLabel,yLabel:E.yLabel,zLabel:E.zLabel,text:A,name:p.name,color:h.castHoverOption(w,_,"bgcolor")||p.color,borderColor:h.castHoverOption(w,_,"bordercolor"),fontFamily:h.castHoverOption(w,_,"font.family"),fontSize:h.castHoverOption(w,_,"font.size"),fontColor:h.castHoverOption(w,_,"font.color"),nameLength:h.castHoverOption(w,_,"namelength"),textAlign:h.castHoverOption(w,_,"align"),hovertemplate:f.castOption(w,_,"hovertemplate"),hovertemplateLabels:f.extendFlat({},O,E),eventData:[O]},{container:n,gd:r}),v.buttons&&v.distance<5?r.emit("plotly_click",M):r.emit("plotly_hover",M),u=M}else h.loneUnhover(n),r.emit("plotly_unhover",u);t.drawAnnotations(t)},w.recoverContext=function(){var e=this;e.glplot.dispose();var t=function(){e.glplot.gl.isContextLost()?requestAnimationFrame(t):e.initializeGLPlot()?e.plot.apply(e,e.plotArgs):f.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(t)};var E=["xaxis","yaxis","zaxis"];function k(e,t,r){for(var n=e.fullSceneLayout,i=0;i<3;i++){var o=E[i],a=o.charAt(0),s=n[o],l=t[a],u=t[a+"calendar"],c=t["_"+a+"length"];if(f.isArrayOrTypedArray(l))for(var p,d=0;d<(c||l.length);d++)if(f.isArrayOrTypedArray(l[d]))for(var h=0;h<l[d].length;++h)p=s.d2l(l[d][h],0,u),!isNaN(p)&&isFinite(p)&&(r[0][i]=Math.min(r[0][i],p),r[1][i]=Math.max(r[1][i],p));else p=s.d2l(l[d],0,u),!isNaN(p)&&isFinite(p)&&(r[0][i]=Math.min(r[0][i],p),r[1][i]=Math.max(r[1][i],p));else r[0][i]=Math.min(r[0][i],0),r[1][i]=Math.max(r[1][i],c-1)}}function T(e,t){for(var r=e.fullSceneLayout,n=r.annotations||[],i=0;i<3;i++)for(var o=E[i],a=o.charAt(0),s=r[o],l=0;l<n.length;l++){var u=n[l];if(u.visible){var c=s.r2l(u[a]);!isNaN(c)&&isFinite(c)&&(t[0][i]=Math.min(t[0][i],c),t[1][i]=Math.max(t[1][i],c))}}}function C(e){return[[e.eye.x,e.eye.y,e.eye.z],[e.center.x,e.center.y,e.center.z],[e.up.x,e.up.y,e.up.z]]}function S(e){return{up:{x:e.up[0],y:e.up[1],z:e.up[2]},center:{x:e.center[0],y:e.center[1],z:e.center[2]},eye:{x:e.eye[0],y:e.eye[1],z:e.eye[2]},projection:{type:!0===e._ortho?"orthographic":"perspective"}}}function O(e,t,r){for(var n=0,i=r-1;n<i;++n,--i)for(var o=0;o<t;++o)for(var a=0;a<4;++a){var s=4*(t*n+o)+a,l=4*(t*i+o)+a,u=e[s];e[s]=e[l],e[l]=u}}function M(e,t,r){for(var n=0;n<r;++n)for(var i=0;i<t;++i){var o=4*(t*n+i),a=e[o+3];if(a>0)for(var s=255/a,l=0;l<3;++l)e[o+l]=Math.min(s*e[o+l],255)}}w.plot=function(e,t,r){var n=this;if(n.plotArgs=[e,t,r],!n.glplot.contextLost){var i,o,a,s,l,u,c=t[n.id],f=r[n.id];n.fullLayout=t,n.fullSceneLayout=c,n.axesOptions.merge(t,c),n.spikeOptions.merge(c),n.setViewport(c),n.updateFx(c.dragmode,c.hovermode),n.camera.enableWheel=n.graphDiv._context._scrollZoom.gl3d,n.glplot.setClearColor(v(c.bgcolor)),n.setConvert(l),e?Array.isArray(e)||(e=[e]):e=[];var p=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(a=0;a<e.length;++a)i=e[a],!0===i.visible&&0!==i._length&&k(this,i,p);T(this,p);var d=[1,1,1];for(s=0;s<3;++s)p[1][s]===p[0][s]?d[s]=1:d[s]=1/(p[1][s]-p[0][s]);for(n.dataScale=d,n.convertAnnotations(this),a=0;a<e.length;++a)i=e[a],!0===i.visible&&0!==i._length&&(o=n.traces[i.uid],o?o.data.type===i.type?o.update(i):(o.dispose(),o=i._module.plot(this,i),n.traces[i.uid]=o):(o=i._module.plot(this,i),n.traces[i.uid]=o),o.name=i.name);var h=Object.keys(n.traces);e:for(a=0;a<h.length;++a){for(s=0;s<e.length;++s)if(e[s].uid===h[a]&&!0===e[s].visible&&0!==e[s]._length)continue e;o=n.traces[h[a]],o.dispose(),delete n.traces[h[a]]}n.glplot.objects.sort((function(e,t){return e._trace.data.index-t._trace.data.index}));var m,g=[[0,0,0],[0,0,0]],y=[],b={};for(a=0;a<3;++a){if(l=c[E[a]],u=l.type,u in b?(b[u].acc*=d[a],b[u].count+=1):b[u]={acc:d[a],count:1},l.autorange){g[0][a]=1/0,g[1][a]=-1/0;var x=n.glplot.objects,A=n.fullSceneLayout.annotations||[],w=l._name.charAt(0);for(s=0;s<x.length;s++){var _=x[s],C=_.bounds,S=_._trace.data._pad||0;"ErrorBars"===_.constructor.name&&l._lowerLogErrorBound?g[0][a]=Math.min(g[0][a],l._lowerLogErrorBound):g[0][a]=Math.min(g[0][a],C[0][a]/d[a]-S),g[1][a]=Math.max(g[1][a],C[1][a]/d[a]+S)}for(s=0;s<A.length;s++){var O=A[s];if(O.visible){var M=l.r2l(O[w]);g[0][a]=Math.min(g[0][a],M),g[1][a]=Math.max(g[1][a],M)}}if("rangemode"in l&&"tozero"===l.rangemode&&(g[0][a]=Math.min(g[0][a],0),g[1][a]=Math.max(g[1][a],0)),g[0][a]>g[1][a])g[0][a]=-1,g[1][a]=1;else{var P=g[1][a]-g[0][a];g[0][a]-=P/32,g[1][a]+=P/32}if("reversed"===l.autorange){var B=g[0][a];g[0][a]=g[1][a],g[1][a]=B}}else{var L=l.range;g[0][a]=l.r2l(L[0]),g[1][a]=l.r2l(L[1])}g[0][a]===g[1][a]&&(g[0][a]-=1,g[1][a]+=1),y[a]=g[1][a]-g[0][a],n.glplot.setBounds(a,{min:g[0][a]*d[a],max:g[1][a]*d[a]})}var D=c.aspectmode;if("cube"===D)m=[1,1,1];else if("manual"===D){var I=c.aspectratio;m=[I.x,I.y,I.z]}else{if("auto"!==D&&"data"!==D)throw new Error("scene.js aspectRatio was not one of the enumerated types");var j=[1,1,1];for(a=0;a<3;++a){l=c[E[a]],u=l.type;var R=b[u];j[a]=Math.pow(R.acc,1/R.count)/d[a]}m="data"===D||Math.max.apply(null,j)/Math.min.apply(null,j)<=4?j:[1,1,1]}c.aspectratio.x=f.aspectratio.x=m[0],c.aspectratio.y=f.aspectratio.y=m[1],c.aspectratio.z=f.aspectratio.z=m[2],n.glplot.setAspectratio(c.aspectratio),n.viewInitial.aspectratio||(n.viewInitial.aspectratio={x:c.aspectratio.x,y:c.aspectratio.y,z:c.aspectratio.z}),n.viewInitial.aspectmode||(n.viewInitial.aspectmode=c.aspectmode);var F=c.domain||null,N=t._size||null;if(F&&N){var z=n.container.style;z.position="absolute",z.left=N.l+F.x[0]*N.w+"px",z.top=N.t+(1-F.y[1])*N.h+"px",z.width=N.w*(F.x[1]-F.x[0])+"px",z.height=N.h*(F.y[1]-F.y[0])+"px"}n.glplot.redraw()}},w.destroy=function(){var e=this;e.glplot&&(e.camera.mouseListener.enabled=!1,e.container.removeEventListener("wheel",e.camera.wheelListener),e.camera=null,e.glplot.dispose(),e.container.parentNode.removeChild(e.container),e.glplot=null)},w.getCamera=function(){var e=this;return e.camera.view.recalcMatrix(e.camera.view.lastT()),S(e.camera)},w.setViewport=function(e){var t=this,r=e.camera;t.camera.lookAt.apply(this,C(r)),t.glplot.setAspectratio(e.aspectratio);var n="orthographic"===r.projection.type,i=t.camera._ortho;n!==i&&(t.glplot.redraw(),t.glplot.clearRGBA(),t.glplot.dispose(),t.initializeGLPlot())},w.isCameraChanged=function(e){var t=this,r=t.getCamera(),n=f.nestedProperty(e,t.id+".camera"),i=n.get();function o(e,t,r,n){var i=["up","center","eye"],o=["x","y","z"];return t[i[r]]&&e[i[r]][o[n]]===t[i[r]][o[n]]}var a=!1;if(void 0===i)a=!0;else{for(var s=0;s<3;s++)for(var l=0;l<3;l++)if(!o(r,i,s,l)){a=!0;break}(!i.projection||r.projection&&r.projection.type!==i.projection.type)&&(a=!0)}return a},w.isAspectChanged=function(e){var t=this,r=t.glplot.getAspectratio(),n=f.nestedProperty(e,t.id+".aspectratio"),i=n.get();return void 0===i||i.x!==r.x||i.y!==r.y||i.z!==r.z},w.saveLayout=function(e){var t,r,n,i,o,a,s=this,l=s.fullLayout,u=s.isCameraChanged(e),p=s.isAspectChanged(e),d=u||p;if(d){var h={};if(u&&(t=s.getCamera(),r=f.nestedProperty(e,s.id+".camera"),n=r.get(),h[s.id+".camera"]=n),p&&(i=s.glplot.getAspectratio(),o=f.nestedProperty(e,s.id+".aspectratio"),a=o.get(),h[s.id+".aspectratio"]=a),c.call("_storeDirectGUIEdit",e,l._preGUI,h),u){r.set(t);var v=f.nestedProperty(l,s.id+".camera");v.set(t)}if(p){o.set(i);var m=f.nestedProperty(l,s.id+".aspectratio");m.set(i),s.glplot.redraw()}}return d},w.updateFx=function(e,t){var r=this,n=r.camera;if(n)if("orbit"===e)n.mode="orbit",n.keyBindingMode="rotate";else if("turntable"===e){n.up=[0,0,1],n.mode="turntable",n.keyBindingMode="rotate";var i=r.graphDiv,o=i._fullLayout,a=r.fullSceneLayout.camera,s=a.up.x,l=a.up.y,u=a.up.z;if(u/Math.sqrt(s*s+l*l+u*u)<.999){var p=r.id+".camera.up",d={x:0,y:0,z:1},h={};h[p]=d;var v=i.layout;c.call("_storeDirectGUIEdit",v,o._preGUI,h),a.up=d,f.nestedProperty(v,p).set(d)}}else n.keyBindingMode=e;r.fullSceneLayout.hovermode=t},w.toImage=function(e){var t=this;e||(e="png"),t.staticMode&&t.container.appendChild(n),t.glplot.redraw();var r=t.glplot.gl,i=r.drawingBufferWidth,o=r.drawingBufferHeight;r.bindFramebuffer(r.FRAMEBUFFER,null);var a=new Uint8Array(i*o*4);r.readPixels(0,0,i,o,r.RGBA,r.UNSIGNED_BYTE,a),O(a,i,o),M(a,i,o);var s=document.createElement("canvas");s.width=i,s.height=o;var l,u=s.getContext("2d"),c=u.createImageData(i,o);switch(c.data.set(a),u.putImageData(c,0,0),e){case"jpeg":l=s.toDataURL("image/jpeg");break;case"webp":l=s.toDataURL("image/webp");break;default:l=s.toDataURL("image/png")}return t.staticMode&&t.container.removeChild(n),l},w.setConvert=function(){for(var e=this,t=0;t<3;t++){var r=e.fullSceneLayout[E[t]];d.setConvert(r,e.fullLayout),r.setScale=f.noop}},w.make4thDimension=function(){var e=this,t=e.graphDiv,r=t._fullLayout;e._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},d.setConvert(e._mockAxis,r)},e.exports=A},bba6:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M22.7,19L13.6,9.9C14.5,7.6 14,4.9 12.1,3C10.1,1 7.1,0.6 4.7,1.7L9,6L6,9L1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1C4.8,14 7.5,14.5 9.8,13.6L18.9,22.7C19.3,23.1 19.9,23.1 20.3,22.7L22.6,20.4C23.1,20 23.1,19.3 22.7,19Z"}))};e.exports=s},bbc0:function(e,t,r){var n=r("6044"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(n){var r=t[e];return r===i?void 0:r}return a.call(t,e)?t[e]:void 0}e.exports=s},bbce:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16,17V14H9V10H16V7L21,12L16,17M14,2C15.1,2 16,2.9 16,4V6H14V4H5V20H14V18H16V20C16,21.1 15.1,22 14,22H5C3.9,22 3,21.1 3,20V4C3,2.9 3.9,2 5,2H14Z"}))};e.exports=s},bbf7:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedColorPicker=void 0;var i=f(r("4bc5")),o=f(r("5174")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(e,n){var i;return v(this,r),i=t.call(this,e,n),i.state={empty:!i.props.fullValue&&i.props.handleEmpty},i}return g(r,[{key:"render",value:function(){var e=this;return this.state.empty?s.default.createElement(o.default,this.props,s.default.createElement("div",{className:"js-test-info"},"This color is computed from other parts of the figure but you can"," ",s.default.createElement("a",{onClick:function(){e.setState({empty:!1}),e.props.updatePlot(e.props.defaultColor)}},"override it"),".")):s.default.createElement(o.default,this.props,s.default.createElement(i.default,{selectedColor:this.props.fullValue,onColorChange:this.props.updatePlot}))}}]),r}(s.Component);t.UnconnectedColorPicker=k,k.propTypes=d({fullValue:a.default.any,updatePlot:a.default.func,handleEmpty:a.default.bool,defaultColor:a.default.string},o.default.propTypes),k.displayName="UnconnectedColorPicker";var T=(0,l.connectToContainer)(k);t.default=T},bc17:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return c})),r.d(t,"d",(function(){return f})),r.d(t,"e",(function(){return p}));var n=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},i=function(e){return 1===e.length&&(e=o(e)),{left:function(t,r,n,i){null==n&&(n=0),null==i&&(i=t.length);while(n<i){var o=n+i>>>1;e(t[o],r)<0?n=o+1:i=o}return n},right:function(t,r,n,i){null==n&&(n=0),null==i&&(i=t.length);while(n<i){var o=n+i>>>1;e(t[o],r)>0?i=o:n=o+1}return n}}};function o(e){return function(t,r){return n(e(t),r)}}var a=i(n);a.right,a.left;var s=function(e){return null===e?NaN:+e},l=Array.prototype;l.slice,l.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var u=function(e,t){var r,n,i=e.length,o=-1;if(null==t){while(++o<i)if(null!=(r=e[o])&&r>=r){n=r;while(++o<i)null!=(r=e[o])&&r>n&&(n=r)}}else while(++o<i)if(null!=(r=t(e[o],o,e))&&r>=r){n=r;while(++o<i)null!=(r=t(e[o],o,e))&&r>n&&(n=r)}return n},c=function(e,t){var r,n=e.length,i=n,o=-1,a=0;if(null==t)while(++o<n)isNaN(r=s(e[o]))?--i:a+=r;else while(++o<n)isNaN(r=s(t(e[o],o,e)))?--i:a+=r;if(i)return a/i},f=function(e,t){var r,n,i=e.length,o=-1;if(null==t){while(++o<i)if(null!=(r=e[o])&&r>=r){n=r;while(++o<i)null!=(r=e[o])&&n>r&&(n=r)}}else while(++o<i)if(null!=(r=t(e[o],o,e))&&r>=r){n=r;while(++o<i)null!=(r=t(e[o],o,e))&&n>r&&(n=r)}return n},p=function(e,t){var r,n=e.length,i=-1,o=0;if(null==t)while(++i<n)(r=+e[i])&&(o+=r);else while(++i<n)(r=+t(e[i],i,e))&&(o+=r);return o}},bc62:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M16 3.875c-5.813 0-11.75 1.688-11.75 4.813 0 .75.313 1.438.875 1.938l8.188 15.813c.5 1 1.563 1.625 2.688 1.625s2.188-.625 2.688-1.625l8.188-15.813c.563-.5.875-1.188.875-1.938 0-3.125-5.938-4.813-11.75-4.813zm0 2.25c5.813 0 9 1.563 9.438 2.438L25 9.376c-1.063.813-4.125 1.938-9 1.938s-7.938-1.125-9-1.938l-.438-.813C7 7.688 10.187 6.125 16 6.125zm.688 19.313c-.125.25-.375.438-.688.438s-.563-.188-.688-.438L8.624 12.5c2.375.688 4.875 1.063 7.375 1.063s5-.375 7.375-1.063z"}))};t.default=u},bc6b:function(e,t,r){"use strict";e.exports=function(e){return e.end+e.size/1e6}},bc74:function(e,t,r){"use strict";var n=r("fc26"),i=r("cba1");e.exports=function(e,t,r){function o(r,o){return n.coerce(e,t,i,r,o)}o("x"),o("y"),o("xbounds"),o("ybounds"),e.xy&&e.xy instanceof Float32Array&&(t.xy=e.xy),e.indices&&e.indices instanceof Int32Array&&(t.indices=e.indices),o("text"),o("marker.color",r),o("marker.opacity"),o("marker.blend"),o("marker.sizemin"),o("marker.sizemax"),o("marker.border.color",r),o("marker.border.arearatio"),t._length=null}},bc7f:function(e,t,r){"use strict";var n=r("6e58"),i=r("c258"),o=r("bc6b");e.exports=function(e){var t=e.contours,r=t.start,a=o(t),s=t.size||1,l=Math.floor((a-r)/s)+1,u="lines"===t.coloring?0:1,c=i.extractOpts(e);isFinite(s)||(s=1,l=1);var f,p,d=c.reversescale?i.flipScale(c.colorscale):c.colorscale,h=d.length,v=new Array(h),m=new Array(h);if("heatmap"===t.coloring){var g=c.min,y=c.max;for(p=0;p<h;p++)f=d[p],v[p]=f[0]*(y-g)+g,m[p]=f[1];var b=n.extent([g,y,t.start,t.start+s*(l-1)]),x=b[g<y?0:1],A=b[g<y?1:0];x!==g&&(v.splice(0,0,x),m.splice(0,0,m[0])),A!==y&&(v.push(A),m.push(m[m.length-1]))}else for(p=0;p<h;p++)f=d[p],v[p]=(f[0]*(l+u-1)-u/2)*s+r,m[p]=f[1];return i.makeColorScaleFunc({domain:v,range:m},{noNumericCheck:!0})}},bcca:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21,11L14,4V8C7,9 4,14 3,19C5.5,15.5 9,13.9 14,13.9V18L21,11Z"}))};e.exports=s},bcd9:function(e,t,r){"use strict";var n=r("66cb").mix,i=r("fc26"),o=r("a651"),a=r("bf38"),s=r("b5e2"),l=r("7118"),u=["xaxis","yaxis","zaxis"],c=13600/187;e.exports=function(e,t,r){var f,p;function d(e,t){return i.coerce(f,p,a,e,t)}for(var h=0;h<u.length;h++){var v=u[h];f=e[v]||{},p=o.newContainer(t,v),p._id=v[0]+r.scene,p._name=v,s(f,p,d,r),l(f,p,d,{font:r.font,letter:v[0],data:r.data,showGrid:!0,noTickson:!0,noTicklabelmode:!0,noTicklabelposition:!0,bgColor:r.bgColor,calendar:r.calendar},r.fullLayout),d("gridcolor",n(p.color,r.bgColor,c).toRgbString()),d("title.text",v[0]),p.setScale=i.noop,d("showspikes")&&(d("spikesides"),d("spikethickness"),d("spikecolor",p.color)),d("showaxeslabels"),d("showbackground")&&d("backgroundcolor")}}},bce9:function(e,t,r){"use strict";(function(e){var n=r("4cec"),i=r("ab5b"),o=r.n(i),a=r("1b2b"),s=r.n(a),l=r("2c23"),u=r("e944"),c=r("f6e8"),f=r("da6a"),p=r.n(f);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},v=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(n["typeOf"])(e)},m=Object.freeze([]),g=Object.freeze({});function y(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function x(e){return e&&"string"==typeof e.styledComponentId}var A="undefined"!=typeof e&&(Object({NODE_ENV:"production",BASE_URL:""}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",BASE_URL:""}).SC_ATTR)||"data-styled",w="undefined"!=typeof window&&"HTMLElement"in window,_=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof e&&void 0!==Object({NODE_ENV:"production",BASE_URL:""}).REACT_APP_SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",BASE_URL:""}).REACT_APP_SC_DISABLE_SPEEDY?"false"!==Object({NODE_ENV:"production",BASE_URL:""}).REACT_APP_SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",BASE_URL:""}).REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof e&&void 0!==Object({NODE_ENV:"production",BASE_URL:""}).SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",BASE_URL:""}).SC_DISABLE_SPEEDY&&("false"!==Object({NODE_ENV:"production",BASE_URL:""}).SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",BASE_URL:""}).SC_DISABLE_SPEEDY));function E(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var k=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),T=new Map,C=new Map,S=1,O=function(e){if(T.has(e))return T.get(e);for(;C.has(S);)S++;var t=S++;return T.set(e,t),C.set(t,e),t},M=function(e){return C.get(e)},P=function(e,t){T.set(e,t),C.set(t,e)},B="style["+A+'][data-styled-version="5.2.1"]',L=new RegExp("^"+A+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},I=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var s=a.match(L);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(P(u,l),D(e,u,s[3]),e.getTag().insertRules(l,n)),n.length=0}else n.push(a)}}},j=function(){return r.nc},R=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(A))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(A,"active"),n.setAttribute("data-styled-version","5.2.1");var a=j();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},F=function(){function e(e){var t=this.element=R(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),N=function(){function e(e){var t=this.element=R(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),z=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=w,H={isServer:!w,useCSSOMInjection:!_},V=function(){function e(e,t,r){void 0===e&&(e=g),void 0===t&&(t={}),this.options=d({},H,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&w&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(B),r=0,n=t.length;r<n;r++){var i=t[r];i&&"active"!==i.getAttribute(A)&&(I(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return O(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(d({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,i=t.target,e=r?new z(i):n?new F(i):new N(i),new k(e)));var e,t,r,n,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(O(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(O(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(O(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++){var o=M(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(void 0!==a&&0!==s.length){var l=A+".g"+i+'[id="'+o+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),n+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),Q=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=W(t%52)+r;return(W(t%52)+r).replace(Q,"$1-$2")}var q=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},G=function(e){return q(5381,e)};function $(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(y(r)&&!x(r))return!1}return!0}var Y=G("5.2.1"),X=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&$(e),this.componentId=t,this.baseHash=q(Y,t),this.baseStyle=r,V.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var o=ve(this.rules,e,t,r).join(""),a=K(q(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=q(this.baseHash,r.hash),c="",f=0;f<l;f++){var p=this.rules[f];if("string"==typeof p)c+=p;else if(p){var d=ve(p,e,t,r),h=Array.isArray(d)?d.join(""):d;u=q(u,h+f),c+=h}}if(c){var v=K(u>>>0);if(!t.hasNameForId(n,v)){var m=r(c,"."+v,void 0,n);t.insertRules(n,v,m)}i.push(v)}}return i.join(" ")},e}(),Z=/^\s*\/\/.*$/gm,J=[":","[",".","#"];function ee(e){var t,r,n,i,o=void 0===e?g:e,a=o.options,s=void 0===a?g:a,u=o.plugins,c=void 0===u?m:u,f=new l["a"](s),p=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,l,u,c,f){switch(r){case 1:if(0===c&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){p.push(e)})),h=function(e,n,o){return 0===n&&J.includes(o[r.length])||o.match(i)?e:"."+t};function v(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Z,""),u=o&&a?a+" "+o+" { "+l+" }":l;return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),f(a||!o?"":o,u)}return f.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},d,function(e){if(-2===e){var t=p;return p=[],t}}])),v.hash=c.length?c.reduce((function(e,t){return t.name||E(15),q(e,t.name)}),5381).toString():"",v}var te=o.a.createContext(),re=(te.Consumer,o.a.createContext()),ne=(re.Consumer,new V),ie=ee();function oe(){return Object(i["useContext"])(te)||ne}function ae(){return Object(i["useContext"])(re)||ie}function se(e){var t=Object(i["useState"])(e.stylisPlugins),r=t[0],n=t[1],a=oe(),l=Object(i["useMemo"])((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=Object(i["useMemo"])((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return Object(i["useEffect"])((function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),o.a.createElement(te.Provider,{value:l},o.a.createElement(re.Provider,{value:u},e.children))}var le=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ie);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return E(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ie),this.name+e.hash},e}(),ue=/([A-Z])/,ce=/([A-Z])/g,fe=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function de(e){return ue.test(e)?e.replace(ce,pe).replace(fe,"-ms-"):e}var he=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=ve(e[a],t,r,n))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(he(e))return"";if(x(e))return"."+e.styledComponentId;if(y(e)){if("function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return e;var l=e(t);return ve(l,t,r,n)}var c;return e instanceof le?r?(e.inject(r,n),e.getName(n)):e:v(e)?function e(t,r){var n,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!he(t[a])&&(v(t[a])?o.push.apply(o,e(t[a],a)):y(t[a])?o.push(de(a)+":",t[a],";"):o.push(de(a)+": "+(n=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in u["a"]?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString()}function me(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return y(e)||v(e)?ve(h(m,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:ve(h(e,r))}new Set;var ge=function(e,t,r){return void 0===r&&(r=g),e.theme!==r.theme&&e.theme||t||r.theme},ye=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,be=/(^-|-$)/g;function xe(e){return e.replace(ye,"-").replace(be,"")}var Ae=function(e){return K(G(e)>>>0)};function we(e){return"string"==typeof e&&!0}var _e=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ee=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ke(e,t,r){var n=e[r];_e(t)&&_e(n)?Te(n,t):e[r]=t}function Te(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if(_e(a))for(var s in a)Ee(s)&&ke(e,a[s],s)}return e}var Ce=o.a.createContext();Ce.Consumer;var Se={};function Oe(e,t,r){var n=x(e),a=!we(e),s=t.attrs,l=void 0===s?m:s,u=t.componentId,f=void 0===u?function(e,t){var r="string"!=typeof e?"sc":xe(e);Se[r]=(Se[r]||0)+1;var n=r+"-"+Ae("5.2.1"+r+Se[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):u,h=t.displayName,v=void 0===h?function(e){return we(e)?"styled."+e:"Styled("+b(e)+")"}(e):h,A=t.displayName&&t.componentId?xe(t.displayName)+"-"+t.componentId:t.componentId||f,w=n&&e.attrs?Array.prototype.concat(e.attrs,l).filter(Boolean):l,_=t.shouldForwardProp;n&&e.shouldForwardProp&&(_=t.shouldForwardProp?function(r,n){return e.shouldForwardProp(r,n)&&t.shouldForwardProp(r,n)}:e.shouldForwardProp);var E,k=new X(r,A,n?e.componentStyle:void 0),T=k.isStatic&&0===l.length,C=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,f=e.styledComponentId,p=e.target,h=function(e,t,r){void 0===e&&(e=g);var n=d({},t,{theme:e}),i={};return r.forEach((function(e){var t,r,o,a=e;for(t in y(a)&&(a=a(n)),a)n[t]=i[t]="className"===t?(r=i[t],o=a[t],r&&o?r+" "+o:r||o):a[t]})),[n,i]}(ge(t,Object(i["useContext"])(Ce),s)||g,t,o),v=h[0],m=h[1],b=function(e,t,r,n){var i=oe(),o=ae(),a=t?e.generateAndInjectStyles(g,i,o):e.generateAndInjectStyles(r,i,o);return a}(a,n,v),x=r,A=m.$as||t.$as||m.as||t.as||p,w=we(A),_=m!==t?d({},t,{},m):t,E={};for(var k in _)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?E.as=_[k]:(u?u(k,c["a"]):!w||Object(c["a"])(k))&&(E[k]=_[k]));return t.style&&m.style!==t.style&&(E.style=d({},t.style,{},m.style)),E.className=Array.prototype.concat(l,f,b!==f?b:null,t.className,m.className).filter(Boolean).join(" "),E.ref=x,Object(i["createElement"])(A,E)}(E,e,t,T)};return C.displayName=v,(E=o.a.forwardRef(C)).attrs=w,E.componentStyle=k,E.displayName=v,E.shouldForwardProp=_,E.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):m,E.styledComponentId=A,E.target=n?e.target:e,E.withComponent=function(e){var n=t.componentId,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(we(e)?e:xe(b(e)));return Oe(e,d({},i,{attrs:w,componentId:o}),r)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Te({},e.defaultProps,t):t}}),E.toString=function(){return"."+E.styledComponentId},a&&p()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Me=function(e){return function e(t,r,i){if(void 0===i&&(i=g),!Object(n["isValidElementType"])(r))return E(1,String(r));var o=function(){return t(r,i,me.apply(void 0,arguments))};return o.withConfig=function(n){return e(t,r,d({},i,{},n))},o.attrs=function(n){return e(t,r,d({},i,{attrs:Array.prototype.concat(i.attrs,n).filter(Boolean)}))},o}(Oe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Me[e]=Me(e)}));(function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=$(e),V.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,r,n){var i=n(ve(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&V.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}})();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=j();return"<style "+[r&&'nonce="'+r+'"',A+'="true"','data-styled-version="5.2.1"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?E(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return E(2);var r=((t={})[A]="",t["data-styled-version"]="5.2.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=j();return n&&(r.nonce=n),[o.a.createElement("style",d({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?E(2):o.a.createElement(se,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return E(3)}})();t["a"]=Me}).call(this,r("4362"))},bd1c:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M23,11H21V9H19V11H17V13H19V15H21V13H23M8,11V13.4H12C11.8,14.4 10.8,16.4 8,16.4C5.6,16.4 3.7,14.4 3.7,12C3.7,9.6 5.6,7.6 8,7.6C9.4,7.6 10.3,8.2 10.8,8.7L12.7,6.9C11.5,5.7 9.9,5 8,5C4.1,5 1,8.1 1,12C1,15.9 4.1,19 8,19C12,19 14.7,16.2 14.7,12.2C14.7,11.7 14.7,11.4 14.6,11H8Z"}))};e.exports=s},bd2e:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("ad54")),o=f(r("9903")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.options;return r.length&&t?s.default.createElement(o.default,this.props,1===r.length?null:s.default.createElement(i.default,{axesOptions:r}),t):null}}]),r}(s.Component);w.propTypes={children:a.default.any,options:a.default.array},w.plotly_editor_traits={foldable:!0};var _=(0,l.connectAxesToLayout)(w);t.default=_},bd31:function(e,t,r){var n={identity:r("fec5"),translate:r("6f51"),multiply:r("1417"),create:r("dcc8"),scale:r("9ca2"),fromRotationTranslation:r("e034")},i=(n.create(),n.create());e.exports=function(e,t,r,o,a,s){return n.identity(e),n.fromRotationTranslation(e,s,t),e[3]=a[0],e[7]=a[1],e[11]=a[2],e[15]=a[3],n.identity(i),0!==o[2]&&(i[9]=o[2],n.multiply(e,e,i)),0!==o[1]&&(i[9]=0,i[8]=o[1],n.multiply(e,e,i)),0!==o[0]&&(i[8]=0,i[4]=o[0],n.multiply(e,e,i)),n.scale(e,e,r),e}},bd75:function(e,t,r){"use strict";e.exports=r("3b80")},bd8c:function(e,t,r){"use strict";var n=r("9452");function i(e,t,r,i){var o=t,a=e.getCharacterList();while(o<r)a=a.set(o,n.applyEntity(a.get(o),i)),o++;return e.set("characterList",a)}e.exports=i},bd9b:function(e,t,r){"use strict";var n=r("8a6e"),i=r("c20e"),o=r("94d5").texttemplateAttrs;e.exports={mode:n.mode,r:n.r,theta:n.theta,r0:n.r0,dr:n.dr,theta0:n.theta0,dtheta:n.dtheta,thetaunit:n.thetaunit,text:n.text,texttemplate:o({editType:"plot"},{keys:["r","theta","text"]}),hovertext:n.hovertext,hovertemplate:n.hovertemplate,line:i.line,connectgaps:i.connectgaps,marker:i.marker,fill:i.fill,fillcolor:i.fillcolor,textposition:i.textposition,textfont:i.textfont,hoverinfo:n.hoverinfo,selected:n.selected,unselected:n.unselected}},bdc3:function(e,t,r){"use strict";var n=r("485e"),i=r("dec3"),o=r("9168"),a=r("f1df");function s(e){var t=a(e,(function(e){var t=e.getSelection(),r=t.getStartOffset();if(0===r)return o(e,1);var i=t.getStartKey(),a=e.getCurrentContent(),s=a.getBlockForKey(i).getText().slice(0,r),l=n.getBackward(s);return o(e,l.length||1)}),"backward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}e.exports=s},be00:function(e,t,r){"use strict";function n(e,t){if(!e||null==e.length)throw Error("Argument should be an array");t=null==t?1:Math.floor(t);for(var r=Array(2*t),n=0;n<t;n++){for(var i=-1/0,o=1/0,a=n,s=e.length;a<s;a+=t)e[a]>i&&(i=e[a]),e[a]<o&&(o=e[a]);r[n]=o,r[t+n]=i}return r}e.exports=n},be24:function(e,t,r){"use strict";
|
||
/** @license React v16.13.1
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var n=r("320c"),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,m="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||y}function A(){}function w(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},A.prototype=x.prototype;var _=w.prototype=new A;_.constructor=w,n(_,x.prototype),_.isPureReactComponent=!0;var E={current:null},k=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var n,i={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,n)&&!T.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)void 0===i[n]&&(i[n]=l[n]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:E.current}}function S(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}function M(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}var P=/\/+/g,B=[];function L(e,t,r,n){if(B.length){var i=B.pop();return i.result=e,i.keyPrefix=t,i.func=r,i.context=n,i.count=0,i}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function D(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>B.length&&B.push(e)}function I(e,t,r,n){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return r(n,e,""===t?"."+R(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){i=e[l];var u=t+R(i,l);s+=I(i,u,r,n)}else if(null===e||"object"!==typeof e?u=null:(u=m&&e[m]||e["@@iterator"],u="function"===typeof u?u:null),"function"===typeof u)for(e=u.call(e),l=0;!(i=e.next()).done;)i=i.value,u=t+R(i,l++),s+=I(i,u,r,n);else if("object"===i)throw r=""+e,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return s}function j(e,t,r){return null==e?0:I(e,"",t,r)}function R(e,t){return"object"===typeof e&&null!==e&&null!=e.key?M(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,r){var n=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?z(e,n,r,(function(e){return e})):null!=e&&(O(e)&&(e=S(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function z(e,t,r,n,i){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),t=L(t,o,n,i),j(e,N,t),D(t)}var U={current:null};function H(){var e=U.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return z(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;t=L(null,null,t,r),j(e,F,t),D(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return z(e,t,null,(function(e){return e})),t},only:function(e){if(!O(e))throw Error(g(143));return e}},t.Component=x,t.Fragment=s,t.Profiler=u,t.PureComponent=w,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error(g(267,e));var i=n({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!T.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return H().useCallback(e,t)},t.useContext=function(e,t){return H().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return H().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return H().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return H().useLayoutEffect(e,t)},t.useMemo=function(e,t){return H().useMemo(e,t)},t.useReducer=function(e,t,r){return H().useReducer(e,t,r)},t.useRef=function(e){return H().useRef(e)},t.useState=function(e){return H().useState(e)},t.version="16.13.1"},be2a:function(e,t,r){"use strict";var n=r("f4e9"),i=r("94d5").hovertemplateAttrs,o=r("6b50"),a=r("a876"),s=r("9092").extendFlat,l={x:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:"Sets the x coordinates of the vector field."},y:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:"Sets the y coordinates of the vector field."},z:{valType:"data_array",role:"info",editType:"calc+clearAxisTypes",description:"Sets the z coordinates of the vector field."},u:{valType:"data_array",editType:"calc",description:"Sets the x components of the vector field."},v:{valType:"data_array",editType:"calc",description:"Sets the y components of the vector field."},w:{valType:"data_array",editType:"calc",description:"Sets the z components of the vector field."},starts:{x:{valType:"data_array",editType:"calc",description:["Sets the x components of the starting position of the streamtubes"].join(" ")},y:{valType:"data_array",editType:"calc",description:["Sets the y components of the starting position of the streamtubes"].join(" ")},z:{valType:"data_array",editType:"calc",description:["Sets the z components of the starting position of the streamtubes"].join(" ")},editType:"calc"},maxdisplayed:{valType:"integer",min:0,dflt:1e3,role:"info",editType:"calc",description:["The maximum number of displayed segments in a streamtube."].join(" ")},sizeref:{valType:"number",role:"info",editType:"calc",min:0,dflt:1,description:["The scaling factor for the streamtubes.","The default is 1, which avoids two max divergence tubes from touching","at adjacent starting positions."].join(" ")},text:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Sets a text element associated with this trace.","If trace `hoverinfo` contains a *text* flag,","this text element will be seen in all hover labels.","Note that streamtube traces do not support array `text` values."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",editType:"calc",description:"Same as `text`."},hovertemplate:i({editType:"calc"},{keys:["tubex","tubey","tubez","tubeu","tubev","tubew","norm","divergence"]}),showlegend:s({},a.showlegend,{dflt:!1})};s(l,n("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var u=["opacity","lightposition","lighting"];u.forEach((function(e){l[e]=o[e]})),l.hoverinfo=s({},a.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","divergence","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,e.exports=l},be62:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=m(r("9903")),o=m(r("201b")),a=m(r("e78b")),s=m(r("d7bc")),l=v(r("ab5b")),u=r("e419"),c=r("4578"),f=r("1935"),p=r("3366"),d=r("a36d");function h(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=(0,c.connectTraceToPlot)(i.default),S=function(e){x(r,e);var t=w(r);function r(e,n){var i;return g(this,r),i=t.call(this,e,n),i.setLocals(e,n),i}return b(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=this,n=e.canGroup?t.fullData:t.data,i=this.props.traceFilterCondition||function(){return!0};this.filteredTracesDataIndexes=[],this.filteredTraces=[],n&&n.length&&t.fullData.length&&(this.filteredTraces=n.filter((function(n,o){var a=e.canGroup?n:t.fullData.filter((function(e){return e.index===o}))[0];if(a){var s=t.data[a.index];if(i(s,a))return r.filteredTracesDataIndexes.push(a.index),!0}return!1})))}},{key:"renderGroupedTraceFolds",value:function(){var e=this;if(!this.filteredTraces.length||this.filteredTraces.length<=1)return null;var t=this.context.localize,r={},n={};return this.filteredTraces.forEach((function(e){var t=(0,c.plotlyTraceToCustomTrace)(e);r[t]||(r[t]=[]),n[t]||(n[t]=[]),r[t].push(e.index),n[t].push(e._expandedIndex)})),Object.keys(n).map((function(i,o){return l.default.createElement(C,{key:o,traceIndexes:r[i],name:(0,p.traceTypes)(t).find((function(e){return e.value===i})).label,fullDataArrayPosition:n[i]},e.props.children)}))}},{key:"renderUngroupedTraceFolds",value:function(){var e=this;return this.filteredTraces.length?this.filteredTraces.map((function(t,r){return l.default.createElement(C,{key:r,traceIndexes:[t.index],canDelete:e.props.canAdd,fullDataArrayPosition:[t._expandedIndex]},e.props.children)})):null}},{key:"renderTraceFolds",value:function(){var e=this;return this.filteredTraces.length?this.filteredTraces.map((function(t,r){return l.default.createElement(C,{key:r,traceIndexes:[e.filteredTracesDataIndexes[r]],canDelete:e.props.canAdd},e.props.children)})):null}},{key:"renderTracePanelHelp",value:function(){var e=this.context.localize;return l.default.createElement(d.PanelMessage,{heading:e("Trace your data.")},l.default.createElement("p",null,e("Traces of various types like bar and line are the building blocks of your figure.")),l.default.createElement("p",null,e("You can add as many as you like, mixing and matching types and arranging them into subplots.")),l.default.createElement("p",null,e("Click on the + button above to add a trace.")))}},{key:"render",value:function(){var e=this.props,t=e.canAdd,r=e.canGroup,n=e.canReorder,i=this.context.localize;if(t){var s={label:i("Trace"),handler:function(e){var t=e.onUpdate;t&&t({type:u.EDITOR_ACTIONS.ADD_TRACE})}},c=this.renderTraceFolds();return l.default.createElement(a.default,{addAction:s,canReorder:n},c||this.renderTracePanelHelp())}if(r){if(1===this.filteredTraces.length)return l.default.createElement(o.default,null,this.renderUngroupedTraceFolds());if(this.filteredTraces.length>1)return l.default.createElement(o.default,{noPadding:!0},l.default.createElement(f.Tabs,null,l.default.createElement(f.TabList,null,l.default.createElement(f.Tab,null,i("Individually")),l.default.createElement(f.Tab,null,i("By Type"))),l.default.createElement(f.TabPanel,null,l.default.createElement(a.default,null,this.renderUngroupedTraceFolds())),l.default.createElement(f.TabPanel,null,l.default.createElement(a.default,null,this.renderGroupedTraceFolds()))))}return l.default.createElement(o.default,null,this.renderTraceFolds())}}]),r}(l.Component);S.contextTypes={fullData:s.default.array,data:s.default.array,localize:s.default.func},S.propTypes={canAdd:s.default.bool,canGroup:s.default.bool,canReorder:s.default.bool,children:s.default.node,traceFilterCondition:s.default.func};var O=S;t.default=O},be64:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("371e"),a=Math.PI/180,s=180/Math.PI,l={cursor:"pointer"},u={cursor:"auto"};function c(e,t){var r,n=e.projection;return r=t._isScoped?d:t._isClipped?v:h,r(e,n)}function f(e,t){return n.behavior.zoom().translate(t.translate()).scale(t.scale())}function p(e,t,r){var n=e.id,a=e.graphDiv,s=a.layout,l=s[n],u=a._fullLayout,c=u[n],f={},p={};function d(e,t){f[n+"."+e]=i.nestedProperty(l,e).get(),o.call("_storeDirectGUIEdit",s,u._preGUI,f);var r=i.nestedProperty(c,e);r.get()!==t&&(r.set(t),i.nestedProperty(l,e).set(t),p[n+"."+e]=t)}r(d),d("projection.scale",t.scale()/e.fitScale),d("fitbounds",!1),a.emit("plotly_relayout",p)}function d(e,t){var r=f(e,t);function i(){n.select(this).style(l)}function o(){t.scale(n.event.scale).translate(n.event.translate),e.render();var r=t.invert(e.midPt);e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.center.lon":r[0],"geo.center.lat":r[1]})}function a(r){var n=t.invert(e.midPt);r("center.lon",n[0]),r("center.lat",n[1])}function s(){n.select(this).style(u),p(e,t,a)}return r.on("zoomstart",i).on("zoom",o).on("zoomend",s),r}function h(e,t){var r,i,o,a,s,c,d,h,v,m=f(e,t),g=2;function y(e){return t.invert(e)}function b(e){var r=y(e);if(!r)return!0;var n=t(r);return Math.abs(n[0]-e[0])>g||Math.abs(n[1]-e[1])>g}function x(){n.select(this).style(l),r=n.mouse(this),i=t.rotate(),o=t.translate(),a=i,s=y(r)}function A(){if(c=n.mouse(this),b(r))return m.scale(t.scale()),void m.translate(t.translate());t.scale(n.event.scale),t.translate([o[0],n.event.translate[1]]),s?y(c)&&(h=y(c),d=[a[0]+(h[0]-s[0]),i[1],i[2]],t.rotate(d),a=d):(r=c,s=y(r)),v=!0,e.render();var l=t.rotate(),u=t.invert(e.midPt);e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.center.lon":u[0],"geo.center.lat":u[1],"geo.projection.rotation.lon":-l[0]})}function w(){n.select(this).style(u),v&&p(e,t,_)}function _(r){var n=t.rotate(),i=t.invert(e.midPt);r("projection.rotation.lon",-n[0]),r("center.lon",i[0]),r("center.lat",i[1])}return m.on("zoomstart",x).on("zoom",A).on("zoomend",w),m}function v(e,t){var r,i={r:t.rotate(),k:t.scale()},o=f(e,t),a=S(o,"zoomstart","zoom","zoomend"),s=0,c=o.on;function d(e){s++||e({type:"zoomstart"})}function h(e){e({type:"zoom"})}function v(e){--s||e({type:"zoomend"})}function A(e){var r=t.rotate();e("projection.rotation.lon",-r[0]),e("projection.rotation.lat",-r[1])}return o.on("zoomstart",(function(){n.select(this).style(l);var e=n.mouse(this),s=t.rotate(),u=s,f=t.translate(),p=g(s);r=m(t,e),c.call(o,"zoom",(function(){var o=n.mouse(this);if(t.scale(i.k=n.event.scale),r){if(m(t,o)){t.rotate(s).translate(f);var l=m(t,o),c=b(r,l),d=E(y(p,c)),v=i.r=x(d,r,u);isFinite(v[0])&&isFinite(v[1])&&isFinite(v[2])||(v=u),t.rotate(v),u=v}}else e=o,r=m(t,e);h(a.of(this,arguments))})),d(a.of(this,arguments))})).on("zoomend",(function(){n.select(this).style(u),c.call(o,"zoom",null),v(a.of(this,arguments)),p(e,t,A)})).on("zoom.redraw",(function(){e.render();var r=t.rotate();e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.projection.rotation.lon":-r[0],"geo.projection.rotation.lat":-r[1]})})),n.rebind(o,a,"on")}function m(e,t){var r=e.invert(t);return r&&isFinite(r[0])&&isFinite(r[1])&&k(r)}function g(e){var t=.5*e[0]*a,r=.5*e[1]*a,n=.5*e[2]*a,i=Math.sin(t),o=Math.cos(t),s=Math.sin(r),l=Math.cos(r),u=Math.sin(n),c=Math.cos(n);return[o*l*c+i*s*u,i*l*c-o*s*u,o*s*c+i*l*u,o*l*u-i*s*c]}function y(e,t){var r=e[0],n=e[1],i=e[2],o=e[3],a=t[0],s=t[1],l=t[2],u=t[3];return[r*a-n*s-i*l-o*u,r*s+n*a+i*u-o*l,r*l-n*u+i*a+o*s,r*u+n*l-i*s+o*a]}function b(e,t){if(e&&t){var r=C(e,t),n=Math.sqrt(T(r,r)),i=.5*Math.acos(Math.max(-1,Math.min(1,T(e,t)))),o=Math.sin(i)/n;return n&&[Math.cos(i),r[2]*o,-r[1]*o,r[0]*o]}}function x(e,t,r){var n=_(t,2,e[0]);n=_(n,1,e[1]),n=_(n,0,e[2]-r[2]);var i,o,a=t[0],l=t[1],u=t[2],c=n[0],f=n[1],p=n[2],d=Math.atan2(l,a)*s,h=Math.sqrt(a*a+l*l);Math.abs(f)>h?(o=(f>0?90:-90)-d,i=0):(o=Math.asin(f/h)*s-d,i=Math.sqrt(h*h-f*f));var v=180-o-2*d,m=(Math.atan2(p,c)-Math.atan2(u,i))*s,g=(Math.atan2(p,c)-Math.atan2(u,-i))*s,y=A(r[0],r[1],o,m),b=A(r[0],r[1],v,g);return y<=b?[o,m,r[2]]:[v,g,r[2]]}function A(e,t,r,n){var i=w(r-e),o=w(n-t);return Math.sqrt(i*i+o*o)}function w(e){return(e%360+540)%360-180}function _(e,t,r){var n=r*a,i=e.slice(),o=0===t?1:0,s=2===t?1:2,l=Math.cos(n),u=Math.sin(n);return i[o]=e[o]*l-e[s]*u,i[s]=e[s]*l+e[o]*u,i}function E(e){return[Math.atan2(2*(e[0]*e[1]+e[2]*e[3]),1-2*(e[1]*e[1]+e[2]*e[2]))*s,Math.asin(Math.max(-1,Math.min(1,2*(e[0]*e[2]-e[3]*e[1]))))*s,Math.atan2(2*(e[0]*e[3]+e[1]*e[2]),1-2*(e[2]*e[2]+e[3]*e[3]))*s]}function k(e){var t=e[0]*a,r=e[1]*a,n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function T(e,t){for(var r=0,n=0,i=e.length;n<i;++n)r+=e[n]*t[n];return r}function C(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function S(e){var t=0,r=arguments.length,i=[];while(++t<r)i.push(arguments[t]);var o=n.dispatch.apply(null,i);return o.of=function(t,r){return function(i){var a;try{a=i.sourceEvent=n.event,i.target=e,n.event=i,o[i.type].apply(t,r)}finally{n.event=a}}},o}e.exports=c},be77:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,3H21V5H3V3M3,7H15V9H3V7M3,11H21V13H3V11M3,15H15V17H3V15M3,19H21V21H3V19Z"}))};e.exports=s},be7d:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("eff1")),o=f(r("5174")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(e){var n;return v(this,r),n=t.call(this,e),n.onUpdate=n.onUpdate.bind(w(n)),n}return g(r,[{key:"onUpdate",value:function(e,t){if(Array.isArray(e)){var r=this.context.graphDiv.calcdata[0].length+1,n=(0,l.adjustColorscale)(e,r,t,{repeat:!0});this.props.updatePlot(n)}}},{key:"render",value:function(){var e=this.props.fullValue,t=Array.isArray(e)?e:null;return s.default.createElement(o.default,this.props,s.default.createElement(i.default,{selected:t,onColorscaleChange:this.onUpdate,initialCategory:"categorical"}))}}]),r}(s.Component);k.propTypes=d({fullValue:a.default.any,updatePlot:a.default.func},o.default.propTypes),k.contextTypes={container:a.default.object,graphDiv:a.default.object},k.displayName="UnconnectedPieColorscalePicker";var T=(0,l.connectToContainer)(k,{modifyPlotProps:function(e,t,r){t&&t.container&&t.graphDiv&&(!r.fullValue||Array.isArray(r.fullValue)&&!r.fullValue.length)&&t.graphDiv.calcdata&&(r.fullValue=t.graphDiv.calcdata[0].map((function(e){return e.color}))),t.traceIndexes.length>1&&(r.isVisible=!1)}});t.default=T},becc:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}function a(e,t){return e-t*Math.floor(e/t)}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);return this._leapYear(t.year())},_leapYear:function(e){return e=e<0?e+1:e,a(7*e+1,19)<7},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),this._leapYear(e.year?e.year():e)?13:12},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);return e=t.year(),this.toJD(-1===e?1:e+1,7,1)-this.toJD(e,7,1)},daysInMonth:function(e,t){return e.year&&(t=e.month(),e=e.year()),this._validate(e,t,this.minDay,n.local.invalidMonth),12===t&&this.leapYear(e)||8===t&&5===a(this.daysInYear(e),10)?30:9===t&&3===a(this.daysInYear(e),10)?29:this.daysPerMonth[t-1]},weekDay:function(e,t,r){return 6!==this.dayOfWeek(e,t,r)},extraInfo:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return{yearType:(this.leapYear(i)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(i)%10-3]}},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);e=i.year(),t=i.month(),r=i.day();var o=e<=0?e+1:e,a=this.jdEpoch+this._delay1(o)+this._delay2(o)+r+1;if(t<7){for(var s=7;s<=this.monthsInYear(e);s++)a+=this.daysInMonth(e,s);for(s=1;s<t;s++)a+=this.daysInMonth(e,s)}else for(s=7;s<t;s++)a+=this.daysInMonth(e,s);return a},_delay1:function(e){var t=Math.floor((235*e-234)/19),r=12084+13753*t,n=29*t+Math.floor(r/25920);return a(3*(n+1),7)<3&&n++,n},_delay2:function(e){var t=this._delay1(e-1),r=this._delay1(e),n=this._delay1(e+1);return n-r===356?2:r-t===382?1:0},fromJD:function(e){e=Math.floor(e)+.5;var t=Math.floor(98496*(e-this.jdEpoch)/35975351)-1;while(e>=this.toJD(-1===t?1:t+1,7,1))t++;var r=e<this.toJD(t,1,1)?7:1;while(e>this.toJD(t,r,this.daysInMonth(t,r)))r++;var n=e-this.toJD(t,r,1)+1;return this.newDate(t,r,n)}}),n.calendars.hebrew=o},bee2:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return i}))},bf14:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"cone",basePlotModule:r("134c"),categories:["gl3d","showLegend"],attributes:r("24fd"),supplyDefaults:r("e00d"),colorbar:{min:"cmin",max:"cmax"},calc:r("e2d7"),plot:r("a5fa"),eventData:function(e,t){return e.norm=t.traceCoordinate[6],e},meta:{description:["Use cone traces to visualize vector fields.","","Specify a vector field using 6 1D arrays,","3 position arrays `x`, `y` and `z`","and 3 vector component arrays `u`, `v`, `w`.","The cones are drawn exactly at the positions given","by `x`, `y` and `z`."].join(" ")}}},bf2a:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},bf38:function(e,t,r){"use strict";var n=r("d115"),i=r("d798"),o=r("9092").extendFlat,a=r("cb34").overrideAll;e.exports=a({visible:i.visible,showspikes:{valType:"boolean",role:"info",dflt:!0,description:["Sets whether or not spikes starting from","data points to this axis' wall are shown on hover."].join(" ")},spikesides:{valType:"boolean",role:"info",dflt:!0,description:["Sets whether or not spikes extending from the","projection data points to this axis' wall boundaries","are shown on hover."].join(" ")},spikethickness:{valType:"number",role:"style",min:0,dflt:2,description:"Sets the thickness (in px) of the spikes."},spikecolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color of the spikes."},showbackground:{valType:"boolean",role:"info",dflt:!1,description:["Sets whether or not this axis' wall","has a background color."].join(" ")},backgroundcolor:{valType:"color",role:"style",dflt:"rgba(204, 204, 204, 0.5)",description:"Sets the background color of this axis' wall."},showaxeslabels:{valType:"boolean",role:"info",dflt:!0,description:"Sets whether or not this axis is labeled"},color:i.color,categoryorder:i.categoryorder,categoryarray:i.categoryarray,title:{text:i.title.text,font:i.title.font},type:o({},i.type,{values:["-","linear","log","date","category"]}),autotypenumbers:i.autotypenumbers,autorange:i.autorange,rangemode:i.rangemode,range:o({},i.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],anim:!1}),tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,mirror:i.mirror,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,showticklabels:i.showticklabels,tickfont:i.tickfont,tickangle:i.tickangle,tickprefix:i.tickprefix,showtickprefix:i.showtickprefix,ticksuffix:i.ticksuffix,showticksuffix:i.showticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickformat:i.tickformat,tickformatstops:i.tickformatstops,hoverformat:i.hoverformat,showline:i.showline,linecolor:i.linecolor,linewidth:i.linewidth,showgrid:i.showgrid,gridcolor:o({},i.gridcolor,{dflt:"rgb(204, 204, 204)"}),gridwidth:i.gridwidth,zeroline:i.zeroline,zerolinecolor:i.zerolinecolor,zerolinewidth:i.zerolinewidth,_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}},"plot","from-root")},bf66:function(e,t){function r(e,t){var r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return r*r+n*n+i*i+o*o}e.exports=r},bfb6:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("0379"),s=r("c8b8"),l=r("da8c").styleOne,u=r("23cc"),c=r("fb56"),f=r("6962"),p=r("e17d").formatSliceLabel,d=!1;e.exports=function(e,t,r,h,v){var m=v.width,g=v.height,y=v.viewX,b=v.viewY,x=v.pathSlice,A=v.toMoveInsideSlice,w=v.strTransform,_=v.hasTransition,E=v.handleSlicesExit,k=v.makeUpdateSliceInterpolator,T=v.makeUpdateTextInterpolator,C=v.prevEntry,S={},O=e._fullLayout,M=t[0],P=M.trace,B=-1!==P.textposition.indexOf("left"),L=-1!==P.textposition.indexOf("right"),D=-1!==P.textposition.indexOf("bottom"),I=!D&&!P.marker.pad.t||D&&!P.marker.pad.b,j=s(r,[m,g],{packing:P.tiling.packing,squarifyratio:P.tiling.squarifyratio,flipX:P.tiling.flip.indexOf("x")>-1,flipY:P.tiling.flip.indexOf("y")>-1,pad:{inner:P.tiling.pad,top:P.marker.pad.t,left:P.marker.pad.l,right:P.marker.pad.r,bottom:P.marker.pad.b}}),R=j.descendants(),F=1/0,N=-1/0;R.forEach((function(e){var t=e.depth;t>=P._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(F=Math.min(F,t),N=Math.max(N,t))})),h=h.data(R,c.getPtId),P._maxVisibleLayers=isFinite(N)?N-F+1:0,h.enter().append("g").classed("slice",!0),E(h,d,S,[m,g],x),h.order();var z=null;if(_&&C){var U=c.getPtId(C);h.each((function(e){null===z&&c.getPtId(e)===U&&(z={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var H=function(){return z||{x0:0,x1:m,y0:0,y1:g}},V=h;return _&&(V=V.transition().each("end",(function(){var t=n.select(this);c.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),V.each((function(s){var h=c.isHeader(s,P);s._hoverX=y(s.x1-P.marker.pad.r),s._hoverY=b(D?s.y1-P.marker.pad.b/2:s.y0+P.marker.pad.t/2);var v=n.select(this),E=i.ensureSingle(v,"path","surface",(function(e){e.style("pointer-events","all")}));_?E.transition().attrTween("d",(function(e){var t=k(e,d,H(),[m,g]);return function(e){return x(t(e))}})):E.attr("d",x),v.call(f,r,e,t,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,e,{isTransitioning:e._transitioning}),E.call(l,s,P,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=h?I?"":c.getPtLabel(s)||"":p(s,r,P,t,O)||"";var C=i.ensureSingle(v,"g","slicetext"),S=i.ensureSingle(C,"text","",(function(e){e.attr("data-notex",1)})),M=i.ensureUniformFontSize(e,c.determineTextFont(P,s,O.font));S.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",L?"end":B||h?"start":"middle").call(o.font,M).call(a.convertToTspans,e),s.textBB=o.bBox(S.node()),s.transform=A(s,{fontSize:M.size,isHeader:h}),s.transform.fontSize=M.size,_?S.transition().attrTween("transform",(function(e){var t=T(e,d,H(),[m,g]);return function(e){return w(t(e))}})):S.attr("transform",w(s))})),z}},bfc4:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}))};e.exports=s},bfcd:function(e,t,r){"use strict";var n=r("7f24"),i=r("61e5"),o=r("9452"),a=r("f389"),s=r("f2e4"),l=r("2e94"),u=r("ac05"),c=r("d134"),f=r("eadc"),p=r("0ed8"),d=r("4f35"),h=r("7f23"),v=r("aa79"),m=r("dec3"),g=r("b3ca"),y=r("ecfb"),b=r("371e3"),x=r("84ca"),A=r("ff2f"),w=r("b9e1"),_=r("ac96"),E=r("0320"),k=r("cf13"),T=r("d6aa"),C={Editor:f,EditorBlock:p,EditorState:m,CompositeDecorator:a,Entity:d,EntityInstance:v,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:l,RawDraftContentState:y,SelectionState:x,AtomicBlockUtils:n,KeyBindingUtil:g,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:c,convertFromHTML:T,convertFromRaw:w,convertToRaw:A,genKey:_,getDefaultKeyBinding:E,getVisibleSelectionRect:k};e.exports=C},c005:function(e,t,r){"use strict";e.exports={percent:function(e,t){for(var r=e.length,n=100/t,i=0;i<r;i++)e[i]*=n},probability:function(e,t){for(var r=e.length,n=0;n<r;n++)e[n]/=t},density:function(e,t,r,n){var i=e.length;n=n||1;for(var o=0;o<i;o++)e[o]*=r[o]*n},"probability density":function(e,t,r,n){var i=e.length;n&&(t/=n);for(var o=0;o<i;o++)e[o]*=r[o]/t}}},c01c:function(e,t,r){"use strict";e.exports=i;var n=+(Math.pow(2,27)+1);function i(e,t,r){var i=e*t,o=n*e,a=o-e,s=o-a,l=e-s,u=n*t,c=u-t,f=u-c,p=t-f,d=i-s*f,h=d-l*f,v=h-s*p,m=l*p-v;return r?(r[0]=m,r[1]=i,r):[m,i]}},c029:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"scatterpolargl",basePlotModule:r("c07c"),categories:["gl","regl","polar","symbols","showLegend","scatter-like"],attributes:r("bd9b"),supplyDefaults:r("60d4"),colorbar:r("f3cf"),formatLabels:r("5e46"),calc:r("0af2"),plot:r("8e56"),hoverPoints:r("02e4").hoverPoints,selectPoints:r("f177"),meta:{hrName:"scatter_polar_gl",description:["The scatterpolargl trace type encompasses line charts, scatter charts, and bubble charts","in polar coordinates using the WebGL plotting engine.","The data visualized as scatter point or lines is set in","`r` (radial) and `theta` (angular) coordinates","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c057:function(e,t,r){"use strict";function n(e){var t="RIFF"===e.toString("ascii",0,4),r="WEBP"===e.toString("ascii",8,12),n="VP8"===e.toString("ascii",12,15);return t&&r&&n}function i(e){var t=e.toString("ascii",12,16);if(e=e.slice(20,30),"VP8X"===t){var r=e[0],n=0===(192&r),i=0===(1&r);return!(!n||!i)&&o(e)}if("VP8 "===t&&47!==e[0])return s(e);var l=e.toString("hex",3,6);return"VP8L"===t&&"9d012a"!==l&&a(e)}function o(e){return{width:1+e.readUIntLE(4,3),height:1+e.readUIntLE(7,3)}}function a(e){return{width:1+((63&e[2])<<8|e[1]),height:1+((15&e[4])<<10|e[3]<<2|(192&e[2])>>6)}}function s(e){return{width:16383&e.readInt16LE(6),height:16383&e.readInt16LE(8)}}e.exports={detect:n,calculate:i}},c05e:function(e,t,r){"use strict";var n=new Float64Array(4),i=new Float64Array(4),o=new Float64Array(4);function a(e,t,r,a,s){n.length<a.length&&(n=new Float64Array(a.length),i=new Float64Array(a.length),o=new Float64Array(a.length));for(var l=0;l<a.length;++l)n[l]=e[l]-a[l],i[l]=t[l]-e[l],o[l]=r[l]-e[l];var u=0,c=0,f=0,p=0,d=0,h=0;for(l=0;l<a.length;++l){var v=i[l],m=o[l],g=n[l];u+=v*v,c+=v*m,f+=m*m,p+=g*v,d+=g*m,h+=g*g}var y,b,x,A,w,_=Math.abs(u*f-c*c),E=c*d-f*p,k=c*p-u*d;if(E+k<=_)if(E<0)k<0&&p<0?(k=0,-p>=u?(E=1,y=u+2*p+h):(E=-p/u,y=p*E+h)):(E=0,d>=0?(k=0,y=h):-d>=f?(k=1,y=f+2*d+h):(k=-d/f,y=d*k+h));else if(k<0)k=0,p>=0?(E=0,y=h):-p>=u?(E=1,y=u+2*p+h):(E=-p/u,y=p*E+h);else{var T=1/_;E*=T,k*=T,y=E*(u*E+c*k+2*p)+k*(c*E+f*k+2*d)+h}else E<0?(b=c+p,x=f+d,x>b?(A=x-b,w=u-2*c+f,A>=w?(E=1,k=0,y=u+2*p+h):(E=A/w,k=1-E,y=E*(u*E+c*k+2*p)+k*(c*E+f*k+2*d)+h)):(E=0,x<=0?(k=1,y=f+2*d+h):d>=0?(k=0,y=h):(k=-d/f,y=d*k+h))):k<0?(b=c+d,x=u+p,x>b?(A=x-b,w=u-2*c+f,A>=w?(k=1,E=0,y=f+2*d+h):(k=A/w,E=1-k,y=E*(u*E+c*k+2*p)+k*(c*E+f*k+2*d)+h)):(k=0,x<=0?(E=1,y=u+2*p+h):p>=0?(E=0,y=h):(E=-p/u,y=p*E+h))):(A=f+d-c-p,A<=0?(E=0,k=1,y=f+2*d+h):(w=u-2*c+f,A>=w?(E=1,k=0,y=u+2*p+h):(E=A/w,k=1-E,y=E*(u*E+c*k+2*p)+k*(c*E+f*k+2*d)+h)));var C=1-E-k;for(l=0;l<a.length;++l)s[l]=C*e[l]+E*t[l]+k*r[l];return y<0?0:y}e.exports=a},c05f:function(e,t,r){var n=r("7b97"),i=r("1310");function o(e,t,r,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:n(e,t,r,a,o,s))}e.exports=o},c07c:function(e,t,r){"use strict";var n=r("ad62").getSubplotCalcData,i=r("fc26").counterRegex,o=r("59ce"),a=r("f510"),s=a.attr,l=a.name,u=i(l),c={};function f(e){for(var t=e._fullLayout,r=e.calcdata,i=t._subplots[l],a=0;a<i.length;a++){var s=i[a],u=n(r,l,s),c=t[s]._subplot;c||(c=o(e,s),t[s]._subplot=c),c.plot(u,t,e._promises)}}function p(e,t,r,n){for(var i=n._subplots[l]||[],o=n._has&&n._has("gl"),a=t._has&&t._has("gl"),s=o&&!a,u=0;u<i.length;u++){var c=i[u],f=n[c]._subplot;if(!t[c]&&f)for(var p in f.framework.remove(),f.layers["radial-axis-title"].remove(),f.clipPaths)f.clipPaths[p].remove();s&&f._scene&&(f._scene.destroy(),f._scene=null)}}c[s]={valType:"subplotid",role:"info",dflt:l,editType:"calc",description:["Sets a reference between this trace's data coordinates and","a polar subplot.","If *polar* (the default value), the data refer to `layout.polar`.","If *polar2*, the data refer to `layout.polar2`, and so on."].join(" ")},e.exports={attr:s,name:l,idRoot:l,idRegex:u,attrRegex:u,attributes:c,layoutAttributes:r("ddde"),supplyLayoutDefaults:r("122d"),plot:f,clean:p,toSVG:r("91cd").toSVG}},c08e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("defs",null,o.default.createElement("linearGradient",{id:"a",x1:"23.445",y1:"12.605",x2:"23.445",y2:"28.002",gradientUnits:"userSpaceOnUse"},o.default.createElement("stop",{offset:"0",stopColor:"#1d9cfc"}),o.default.createElement("stop",{offset:"1",stopColor:"#25fdfc"}))),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#1d9bfb",d:"M23.511 23.571l.005-15.302L37 14.295v15.75l-13.489-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#1d9bfb",d:"M23.511 23.571L9.516 30.045l13.929 6.319L37 30.045l-13.489-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#1d9bfb",d:"M9.516 30.045v-15.75l13.999-6.026-.004 15.302-13.995 6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{d:"M16.565 29.746c1.795-.942 3.07-4.294 3.07-9.292a3.81 3.81 0 1 1 7.62 0c0 4.998 1.275 8.35 3.07 9.292",stroke:"#1d9bfb",fill:"url(#a)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))};t.default=u},c098:function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t=null==t?r:t,!!t&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}e.exports=i},c0a6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 25.25v6.125h32v-10.25h-1.813L20.124 25l-7.313-6.688zm0-8.312v4.5l12.813-6.813 7.25 6.813 9.938-3.813h2v-16l-9.813 10.688-8.313-8.875z"}))};t.default=u},c0af:function(e,t,r){"use strict";var n=r("6e58"),i=r("bb71"),o=r("a5c4"),a=r("d115"),s=r("83d1"),l=r("fc26"),u=l.strScale,c=l.strTranslate,f=r("0379"),p=r("93a6"),d=p.recordMinTextSize,h=p.clearMinTextSize,v=r("1a5e").TEXTPAD,m=r("59e0"),g=r("8898"),y=r("fc26").isValidTextValue;function b(e,t){var r=e._fullLayout,o=r._size;h("pie",r),E(t,e),z(t,o);var a=l.makeTraceGroups(r._pielayer,t,"trace").each((function(t){var a=n.select(this),p=t[0],h=p.trace;H(t),a.attr("stroke-linejoin","round"),a.each((function(){var v=n.select(this).selectAll("g.slice").data(t);v.enter().append("g").classed("slice",!0),v.exit().remove();var g=[[[],[]],[[],[]]],y=!1;v.each((function(i,o){if(i.hidden)n.select(this).selectAll("path,g").remove();else{i.pointNumber=i.i,i.curveNumber=h.index,g[i.pxmid[1]<0?0:1][i.pxmid[0]<0?0:1].push(i);var a=p.cx,u=p.cy,c=n.select(this),v=c.selectAll("path.surface").data([i]);if(v.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),c.call(A,e,t),h.pull){var b=+m.castOption(h.pull,i.pts)||0;b>0&&(a+=b*i.pxmid[0],u+=b*i.pxmid[1])}i.cxFinal=a,i.cyFinal=u;var x=h.hole;if(i.v===p.vTotal){var E="M"+(a+i.px0[0])+","+(u+i.px0[1])+M(i.px0,i.pxmid,!0,1)+M(i.pxmid,i.px0,!0,1)+"Z";x?v.attr("d","M"+(a+x*i.px0[0])+","+(u+x*i.px0[1])+M(i.px0,i.pxmid,!1,x)+M(i.pxmid,i.px0,!1,x)+"Z"+E):v.attr("d",E)}else{var T=M(i.px0,i.px1,!0,1);if(x){var C=1-x;v.attr("d","M"+(a+x*i.px1[0])+","+(u+x*i.px1[1])+M(i.px1,i.px0,!1,x)+"l"+C*i.px0[0]+","+C*i.px0[1]+T+"Z")}else v.attr("d","M"+a+","+u+"l"+i.px0[0]+","+i.px0[1]+T+"Z")}Q(e,i,p);var S=m.castOption(h.textposition,i.pts),O=c.selectAll("g.slicetext").data(i.text&&"none"!==S?[0]:[]);O.enter().append("g").classed("slicetext",!0),O.exit().remove(),O.each((function(){var c=l.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),v=l.ensureUniformFontSize(e,"outside"===S?w(h,i,r.font):_(h,i,r.font));c.text(i.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,v).call(f.convertToTspans,e);var m,g=s.bBox(c.node());if("outside"===S)m=L(g,i);else if(m=k(g,i,p),"auto"===S&&m.scale<1){var b=l.ensureUniformFontSize(e,h.outsidetextfont);c.call(s.font,b),g=s.bBox(c.node()),m=L(g,i)}var x=m.textPosAngle,A=void 0===x?i.pxmid:V(p.r,x);if(m.targetX=a+A[0]*m.rCenter+(m.x||0),m.targetY=u+A[1]*m.rCenter+(m.y||0),W(m,g),m.outside){var E=m.targetY;i.yLabelMin=E-g.height/2,i.yLabelMid=E,i.yLabelMax=E+g.height/2,i.labelExtraX=0,i.labelExtraY=0,y=!0}m.fontSize=v.size,d(h.type,m,r),t[o].transform=m,c.attr("transform",l.getTextTransform(m))}))}function M(e,t,r,n){var o=n*(t[0]-e[0]),a=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+i.largeArc+(r?" 1 ":" 0 ")+o+","+a}}));var b=n.select(this).selectAll("g.titletext").data(h.title.text?[0]:[]);if(b.enter().append("g").classed("titletext",!0),b.exit().remove(),b.each((function(){var t,r=l.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),i=h.title.text;h._meta&&(i=l.templateString(i,h._meta)),r.text(i).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,h.title.font).call(f.convertToTspans,e),t="middle center"===h.title.position?D(p):I(p,o),r.attr("transform",c(t.x,t.y)+u(Math.min(1,t.scale))+c(t.tx,t.ty))})),y&&N(g,h),x(v,h),y&&h.automargin){var E=s.bBox(a.node()),T=h.domain,C=o.w*(T.x[1]-T.x[0]),S=o.h*(T.y[1]-T.y[0]),O=(.5*C-p.r)/o.w,M=(.5*S-p.r)/o.h;i.autoMargin(e,"pie."+h.uid+".automargin",{xl:T.x[0]-O,xr:T.x[1]+O,yb:T.y[0]-M,yt:T.y[1]+M,l:Math.max(p.cx-p.r-E.left,0),r:Math.max(E.right-(p.cx+p.r),0),b:Math.max(E.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-E.top,0),pad:5})}}))}));setTimeout((function(){a.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)}function x(e,t){e.each((function(e){var r=n.select(this);if(e.labelExtraX||e.labelExtraY){var i=r.select("g.slicetext text");e.transform.targetX+=e.labelExtraX,e.transform.targetY+=e.labelExtraY,i.attr("transform",l.getTextTransform(e.transform));var o=e.cxFinal+e.pxmid[0],s=e.cyFinal+e.pxmid[1],u="M"+o+","+s,c=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var f=e.labelExtraX*e.pxmid[1]/e.pxmid[0],p=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);Math.abs(f)>Math.abs(p)?u+="l"+p*e.pxmid[0]/e.pxmid[1]+","+p+"H"+(o+e.labelExtraX+c):u+="l"+e.labelExtraX+","+f+"v"+(p-f)+"h"+c}else u+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;l.ensureSingle(r,"path","textline").call(a.stroke,t.outsidetextfont.color).attr({"stroke-width":Math.min(2,t.outsidetextfont.size/8),d:u,fill:"none"})}else r.select("path.textline").remove()}))}function A(e,t,r){var i=r[0],a=i.trace,s=i.cx,u=i.cy;"_hasHoverLabel"in a||(a._hasHoverLabel=!1),"_hasHoverEvent"in a||(a._hasHoverEvent=!1),e.on("mouseover",(function(e){var r=t._fullLayout,c=t._fullData[a.index];if(!t._dragging&&!1!==r.hovermode){var f=c.hoverinfo;if(Array.isArray(f)&&(f=o.castHoverinfo({hoverinfo:[m.castOption(f,e.pts)],_module:a._module},r,0)),"all"===f&&(f="label+text+value+percent+name"),c.hovertemplate||"none"!==f&&"skip"!==f&&f){var p=e.rInscribed||0,d=s+e.pxmid[0]*(1-p),h=u+e.pxmid[1]*(1-p),v=r.separators,y=[];if(f&&-1!==f.indexOf("label")&&y.push(e.label),e.text=m.castOption(c.hovertext||c.text,e.pts),f&&-1!==f.indexOf("text")){var b=e.text;l.isValidTextValue(b)&&y.push(b)}e.value=e.v,e.valueLabel=m.formatPieValue(e.v,v),f&&-1!==f.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/i.vTotal,e.percentLabel=m.formatPiePercent(e.percent,v),f&&-1!==f.indexOf("percent")&&y.push(e.percentLabel);var x=c.hoverlabel,A=x.font;o.loneHover({trace:a,x0:d-p*i.r,x1:d+p*i.r,y:h,text:y.join("<br>"),name:c.hovertemplate||-1!==f.indexOf("name")?c.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:m.castOption(x.bgcolor,e.pts)||e.color,borderColor:m.castOption(x.bordercolor,e.pts),fontFamily:m.castOption(A.family,e.pts),fontSize:m.castOption(A.size,e.pts),fontColor:m.castOption(A.color,e.pts),nameLength:m.castOption(x.namelength,e.pts),textAlign:m.castOption(x.align,e.pts),hovertemplate:m.castOption(c.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[g(e,c)]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:t}),a._hasHoverLabel=!0}a._hasHoverEvent=!0,t.emit("plotly_hover",{points:[g(e,c)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,i=t._fullData[a.index],s=n.select(this).datum();a._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[g(s,i)],event:n.event}),a._hasHoverEvent=!1),a._hasHoverLabel&&(o.loneUnhover(r._hoverlayer.node()),a._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,i=t._fullData[a.index];t._dragging||!1===r.hovermode||(t._hoverdata=[g(e,i)],o.click(t,n.event))}))}function w(e,t,r){var n=m.castOption(e.outsidetextfont.color,t.pts)||m.castOption(e.textfont.color,t.pts)||r.color,i=m.castOption(e.outsidetextfont.family,t.pts)||m.castOption(e.textfont.family,t.pts)||r.family,o=m.castOption(e.outsidetextfont.size,t.pts)||m.castOption(e.textfont.size,t.pts)||r.size;return{color:n,family:i,size:o}}function _(e,t,r){var n=m.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=m.castOption(e._input.textfont.color,t.pts));var i=m.castOption(e.insidetextfont.family,t.pts)||m.castOption(e.textfont.family,t.pts)||r.family,o=m.castOption(e.insidetextfont.size,t.pts)||m.castOption(e.textfont.size,t.pts)||r.size;return{color:n||a.contrast(t.color),family:i,size:o}}function E(e,t){for(var r,n,i=0;i<e.length;i++)if(r=e[i][0],n=r.trace,n.title.text){var o=n.title.text;n._meta&&(o=l.templateString(o,n._meta));var a=s.tester.append("text").attr("data-notex",1).text(o).call(s.font,n.title.font).call(f.convertToTspans,t),u=s.bBox(a.node(),!0);r.titleBox={width:u.width,height:u.height},a.remove()}}function k(e,t,r){var n=r.r||t.rpx1,i=t.rInscribed,o=t.startangle===t.stopangle;if(o)return{rCenter:1-i,scale:0,rotate:0,textPosAngle:0};var a,s=t.ring,l=1===s&&Math.abs(t.startangle-t.stopangle)===2*Math.PI,u=t.halfangle,c=t.midangle,f=r.trace.insidetextorientation,p="horizontal"===f,d="tangential"===f,h="radial"===f,v="auto"===f,m=[];if(!v){var g,y=function(r,i){if(T(t,r)){var o=Math.abs(r-t.startangle),l=Math.abs(r-t.stopangle),u=o<l?o:l;a="tan"===i?S(e,n,s,u,0):C(e,n,s,u,Math.PI/2),a.textPosAngle=r,m.push(a)}};if(p||d){for(g=4;g>=-4;g-=2)y(Math.PI*g,"tan");for(g=4;g>=-4;g-=2)y(Math.PI*(g+1),"tan")}if(p||h){for(g=4;g>=-4;g-=2)y(Math.PI*(g+1.5),"rad");for(g=4;g>=-4;g-=2)y(Math.PI*(g+.5),"rad")}}if(l||v||p){var b=Math.sqrt(e.width*e.width+e.height*e.height);if(a={scale:i*n*2/b,rCenter:1-i,rotate:0},a.textPosAngle=(t.startangle+t.stopangle)/2,a.scale>=1)return a;m.push(a)}(v||h)&&(a=C(e,n,s,u,c),a.textPosAngle=(t.startangle+t.stopangle)/2,m.push(a)),(v||d)&&(a=S(e,n,s,u,c),a.textPosAngle=(t.startangle+t.stopangle)/2,m.push(a));for(var x=0,A=0,w=0;w<m.length;w++){var _=m[w].scale;if(A<_&&(A=_,x=w),!v&&A>=1)break}return m[x]}function T(e,t){var r=e.startangle,n=e.stopangle;return r>t&&t>n||r<t&&t<n}function C(e,t,r,n,i){t=Math.max(0,t-2*v);var o=e.width/e.height,a=P(o,n,t,r);return{scale:2*a/e.height,rCenter:O(o,a/t),rotate:M(i)}}function S(e,t,r,n,i){t=Math.max(0,t-2*v);var o=e.height/e.width,a=P(o,n,t,r);return{scale:2*a/e.width,rCenter:O(o,a/t),rotate:M(i+Math.PI/2)}}function O(e,t){return Math.cos(t)-e*t}function M(e){return(180/Math.PI*e+720)%180-90}function P(e,t,r,n){var i=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(i*i+.5)+i),n/(Math.sqrt(e*e+n/2)+e))}function B(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function L(e,t){var r=t.pxmid[0],n=t.pxmid[1],i=e.width/2,o=e.height/2;return r<0&&(i*=-1),n<0&&(o*=-1),{scale:1,rCenter:1,rotate:0,x:i+Math.abs(o)*(i>0?1:-1)/2,y:o/(1+r*r/(n*n)),outside:!0}}function D(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}function I(e,t){var r,n=1,i=1,o=e.trace,a={x:e.cx,y:e.cy},s={tx:0,ty:0};s.ty+=o.title.font.size,r=F(o),-1!==o.title.position.indexOf("top")?(a.y-=(1+r)*e.r,s.ty-=e.titleBox.height):-1!==o.title.position.indexOf("bottom")&&(a.y+=(1+r)*e.r);var l=j(e.r,e.trace.aspectratio),u=t.w*(o.domain.x[1]-o.domain.x[0])/2;return-1!==o.title.position.indexOf("left")?(u+=l,a.x-=(1+r)*l,s.tx+=e.titleBox.width/2):-1!==o.title.position.indexOf("center")?u*=2:-1!==o.title.position.indexOf("right")&&(u+=l,a.x+=(1+r)*l,s.tx-=e.titleBox.width/2),n=u/e.titleBox.width,i=R(e,t)/e.titleBox.height,{x:a.x,y:a.y,scale:Math.min(n,i),tx:s.tx,ty:s.ty}}function j(e,t){return e/(void 0===t?1:t)}function R(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function F(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;t<e.pull.length;t++)e.pull[t]>r&&(r=e.pull[t]);return r}function N(e,t){var r,n,i,o,a,s,l,u,c,f,p,d,h;function v(e,t){return e.pxmid[1]-t.pxmid[1]}function g(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var i,u,c,p,d,h,v=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),g=n?e.yLabelMin:e.yLabelMax,y=n?e.yLabelMax:e.yLabelMin,b=e.cyFinal+a(e.px0[1],e.px1[1]),x=v-g;if(x*l>0&&(e.labelExtraY=x),Array.isArray(t.pull))for(u=0;u<f.length;u++)c=f[u],c===e||(m.castOption(t.pull,e.pts)||0)>=(m.castOption(t.pull,c.pts)||0)||((e.pxmid[1]-c.pxmid[1])*l>0?(p=c.cyFinal+a(c.px0[1],c.px1[1]),x=p-g-e.labelExtraY,x*l>0&&(e.labelExtraY+=x)):(y+e.labelExtraY-b)*l>0&&(i=3*s*Math.abs(u-f.indexOf(e)),d=c.cxFinal+o(c.px0[0],c.px1[0]),h=d+i-(e.cxFinal+e.pxmid[0])-e.labelExtraX,h*s>0&&(e.labelExtraX+=h)))}for(n=0;n<2;n++)for(i=n?v:g,a=n?Math.max:Math.min,l=n?1:-1,r=0;r<2;r++){for(o=r?Math.max:Math.min,s=r?1:-1,u=e[n][r],u.sort(i),c=e[1-n][r],f=c.concat(u),d=[],p=0;p<u.length;p++)void 0!==u[p].yLabelMid&&d.push(u[p]);for(h=!1,p=0;n&&p<c.length;p++)if(void 0!==c[p].yLabelMid){h=c[p];break}for(p=0;p<d.length;p++){var b=p&&d[p-1];h&&!p&&(b=h),y(d[p],b)}}}function z(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n][0],o=i.trace,a=o.domain,s=t.w*(a.x[1]-a.x[0]),l=t.h*(a.y[1]-a.y[0]);o.title.text&&"middle center"!==o.title.position&&(l-=R(i,t));var u=s/2,c=l/2;"funnelarea"!==o.type||o.scalegroup||(c/=o.aspectratio),i.r=Math.min(u,c)/(1+F(o)),i.cx=t.l+t.w*(o.domain.x[1]+o.domain.x[0])/2,i.cy=t.t+t.h*(1-o.domain.y[0])-l/2,o.title.text&&-1!==o.title.position.indexOf("bottom")&&(i.cy-=R(i,t)),o.scalegroup&&-1===r.indexOf(o.scalegroup)&&r.push(o.scalegroup)}U(e,r)}function U(e,t){for(var r,n,i,o=0;o<t.length;o++){var a=1/0,s=t[o];for(n=0;n<e.length;n++)if(r=e[n][0],i=r.trace,i.scalegroup===s){var l;if("pie"===i.type)l=r.r*r.r;else if("funnelarea"===i.type){var u,c;i.aspectratio>1?(u=r.r,c=u/i.aspectratio):(c=r.r,u=c*i.aspectratio),u*=(1+i.baseratio)/2,l=u*c}a=Math.min(a,l/r.vTotal)}for(n=0;n<e.length;n++)if(r=e[n][0],i=r.trace,i.scalegroup===s){var f=a*r.vTotal;"funnelarea"===i.type&&(f/=(1+i.baseratio)/2,f/=i.aspectratio),r.r=Math.sqrt(f)}}}function H(e){var t,r,n,i=e[0],o=i.r,a=i.trace,s=m.getRotationAngle(a.rotation),l=2*Math.PI/i.vTotal,u="px0",c="px1";if("counterclockwise"===a.direction){for(t=0;t<e.length;t++)if(!e[t].hidden)break;if(t===e.length)return;s+=l*e[t].v,l*=-1,u="px1",c="px0"}for(n=V(o,s),t=0;t<e.length;t++)r=e[t],r.hidden||(r[u]=n,r.startangle=s,s+=l*r.v/2,r.pxmid=V(o,s),r.midangle=s,s+=l*r.v/2,n=V(o,s),r.stopangle=s,r[c]=n,r.largeArc=r.v>i.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/i.vTotal,.5),r.ring=1-a.hole,r.rInscribed=B(r,i))}function V(e,t){return[e*Math.sin(t),-e*Math.cos(t)]}function Q(e,t,r){var n=e._fullLayout,i=r.trace,o=i.texttemplate,a=i.textinfo;if(!o&&a&&"none"!==a){var s,u=a.split("+"),c=function(e){return-1!==u.indexOf(e)},f=c("label"),p=c("text"),d=c("value"),h=c("percent"),v=n.separators;if(s=f?[t.label]:[],p){var g=m.getFirstFilled(i.text,t.pts);y(g)&&s.push(g)}d&&s.push(m.formatPieValue(t.v,v)),h&&s.push(m.formatPiePercent(t.v/r.vTotal,v)),t.text=s.join("<br>")}function b(e){return{label:e.label,value:e.v,valueLabel:m.formatPieValue(e.v,n.separators),percent:e.v/r.vTotal,percentLabel:m.formatPiePercent(e.v/r.vTotal,n.separators),color:e.color,text:e.text,customdata:l.castOption(i,e.i,"customdata")}}if(o){var x=l.castOption(i,t.i,"texttemplate");if(x){var A=b(t),w=m.getFirstFilled(i.text,t.pts);(y(w)||""===w)&&(A.text=w),t.text=l.texttemplateString(x,A,e._fullLayout._d3locale,A,i._meta||{})}else t.text=""}}function W(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),i=Math.sin(r),o=(t.left+t.right)/2,a=(t.top+t.bottom)/2;e.textX=o*n-a*i,e.textY=o*i+a*n,e.noCenter=!0}e.exports={plot:b,formatSliceLabel:Q,transformInsideText:k,determineInsideTextFont:_,positionTitleOutside:I,prerenderTitles:E,layoutAreas:z,attachFxHandlers:A,computeTransform:W}},c0e9:function(e,t,r){
|
||
/*!
|
||
* html2canvas 1.1.4 <https://html2canvas.hertzen.com>
|
||
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
||
* Released under MIT License
|
||
*/
|
||
(function(t,r){e.exports=r()})(0,(function(){"use strict";
|
||
/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};function t(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function n(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(Nt){o(Nt)}}function s(e){try{l(n["throw"](e))}catch(Nt){o(Nt)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(Nt){o=[6,Nt],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function o(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||t)}for(var a=function(){function e(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return e.prototype.add=function(t,r,n,i){return new e(this.left+t,this.top+r,this.width+n,this.height+i)},e.fromClientRect=function(t){return new e(t.left,t.top,t.width,t.height)},e}(),s=function(e){return a.fromClientRect(e.getBoundingClientRect())},l=function(e){var t=e.body,r=e.documentElement;if(!t||!r)throw new Error("Unable to get document size");var n=Math.max(Math.max(t.scrollWidth,r.scrollWidth),Math.max(t.offsetWidth,r.offsetWidth),Math.max(t.clientWidth,r.clientWidth)),i=Math.max(Math.max(t.scrollHeight,r.scrollHeight),Math.max(t.offsetHeight,r.offsetHeight),Math.max(t.clientHeight,r.clientHeight));return new a(0,0,n,i)},u=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320===(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";var n=[],i=-1,o="";while(++i<r){var a=e[i];a<=65535?n.push(a):(a-=65536,n.push(55296+(a>>10),a%1024+56320)),(i+1===r||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),d=0;d<f.length;d++)p[f.charCodeAt(d)]=d;var h,v=function(e){var t,r,n,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<s;t+=4)r=p[e.charCodeAt(t)],n=p[e.charCodeAt(t+1)],i=p[e.charCodeAt(t+2)],o=p[e.charCodeAt(t+3)],c[l++]=r<<2|n>>4,c[l++]=(15&n)<<4|i>>2,c[l++]=(3&i)<<6|63&o;return u},m=function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r.push(e[n+1]<<8|e[n]);return r},g=function(e){for(var t=e.length,r=[],n=0;n<t;n+=4)r.push(e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]);return r},y=5,b=11,x=2,A=b-y,w=65536>>y,_=1<<y,E=_-1,k=1024>>y,T=w+k,C=T,S=32,O=C+S,M=65536>>b,P=1<<A,B=P-1,L=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},D=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},I=function(e){var t=v(e),r=Array.isArray(t)?g(t):new Uint32Array(t),n=Array.isArray(t)?m(t):new Uint16Array(t),i=24,o=L(n,i/2,r[4]/2),a=2===r[5]?L(n,(i+r[4])/2):D(r,Math.ceil((i+r[4])/4));return new j(r[0],r[1],r[2],r[3],o,a)},j=function(){function e(e,t,r,n,i,o){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>y],t=(t<<x)+(e&E),this.data[t];if(e<=65535)return t=this.index[w+(e-55296>>y)],t=(t<<x)+(e&E),this.data[t];if(e<this.highStart)return t=O-M+(e>>b),t=this.index[t],t+=e>>y&B,t=this.index[t],t=(t<<x)+(e&E),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),R="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",F=50,N=1,z=2,U=3,H=4,V=5,Q=7,W=8,K=9,q=10,G=11,$=12,Y=13,X=14,Z=15,J=16,ee=17,te=18,re=19,ne=20,ie=21,oe=22,ae=23,se=24,le=25,ue=26,ce=27,fe=28,pe=29,de=30,he=31,ve=32,me=33,ge=34,ye=35,be=36,xe=37,Ae=38,we=39,_e=40,Ee=41,ke=42,Te=43,Ce="!",Se="×",Oe="÷",Me=I(R),Pe=[de,be],Be=[N,z,U,V],Le=[q,W],De=[ce,ue],Ie=Be.concat(Le),je=[Ae,we,_e,ge,ye],Re=[Z,Y],Fe=function(e,t){void 0===t&&(t="strict");var r=[],n=[],i=[];return e.forEach((function(e,o){var a=Me.get(e);if(a>F?(i.push(!0),a-=F):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return n.push(o),r.push(J);if(a===H||a===G){if(0===o)return n.push(o),r.push(de);var s=r[o-1];return-1===Ie.indexOf(s)?(n.push(n[o-1]),r.push(s)):(n.push(o),r.push(de))}return n.push(o),a===he?r.push("strict"===t?ie:xe):a===ke||a===pe?r.push(de):a===Te?e>=131072&&e<=196605||e>=196608&&e<=262141?r.push(xe):r.push(de):void r.push(a)})),[n,r,i]},Ne=function(e,t,r,n){var i=n[r];if(Array.isArray(e)?-1!==e.indexOf(i):e===i){var o=r;while(o<=n.length){o++;var a=n[o];if(a===t)return!0;if(a!==q)break}}if(i===q){o=r;while(o>0){o--;var s=n[o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s){var l=r;while(l<=n.length){l++;a=n[l];if(a===t)return!0;if(a!==q)break}}if(s!==q)break}}return!1},ze=function(e,t){var r=e;while(r>=0){var n=t[r];if(n!==q)return n;r--}return 0},Ue=function(e,t,r,n,i){if(0===r[n])return Se;var o=n-1;if(Array.isArray(i)&&!0===i[o])return Se;var a=o-1,s=o+1,l=t[o],u=a>=0?t[a]:0,c=t[s];if(l===z&&c===U)return Se;if(-1!==Be.indexOf(l))return Ce;if(-1!==Be.indexOf(c))return Se;if(-1!==Le.indexOf(c))return Se;if(ze(o,t)===W)return Oe;if(Me.get(e[o])===G&&(c===xe||c===ve||c===me))return Se;if(l===Q||c===Q)return Se;if(l===K)return Se;if(-1===[q,Y,Z].indexOf(l)&&c===K)return Se;if(-1!==[ee,te,re,se,fe].indexOf(c))return Se;if(ze(o,t)===oe)return Se;if(Ne(ae,oe,o,t))return Se;if(Ne([ee,te],ie,o,t))return Se;if(Ne($,$,o,t))return Se;if(l===q)return Oe;if(l===ae||c===ae)return Se;if(c===J||l===J)return Oe;if(-1!==[Y,Z,ie].indexOf(c)||l===X)return Se;if(u===be&&-1!==Re.indexOf(l))return Se;if(l===fe&&c===be)return Se;if(c===ne&&-1!==Pe.concat(ne,re,le,xe,ve,me).indexOf(l))return Se;if(-1!==Pe.indexOf(c)&&l===le||-1!==Pe.indexOf(l)&&c===le)return Se;if(l===ce&&-1!==[xe,ve,me].indexOf(c)||-1!==[xe,ve,me].indexOf(l)&&c===ue)return Se;if(-1!==Pe.indexOf(l)&&-1!==De.indexOf(c)||-1!==De.indexOf(l)&&-1!==Pe.indexOf(c))return Se;if(-1!==[ce,ue].indexOf(l)&&(c===le||-1!==[oe,Z].indexOf(c)&&t[s+1]===le)||-1!==[oe,Z].indexOf(l)&&c===le||l===le&&-1!==[le,fe,se].indexOf(c))return Se;if(-1!==[le,fe,se,ee,te].indexOf(c)){var f=o;while(f>=0){var p=t[f];if(p===le)return Se;if(-1===[fe,se].indexOf(p))break;f--}}if(-1!==[ce,ue].indexOf(c)){f=-1!==[ee,te].indexOf(l)?a:o;while(f>=0){p=t[f];if(p===le)return Se;if(-1===[fe,se].indexOf(p))break;f--}}if(Ae===l&&-1!==[Ae,we,ge,ye].indexOf(c)||-1!==[we,ge].indexOf(l)&&-1!==[we,_e].indexOf(c)||-1!==[_e,ye].indexOf(l)&&c===_e)return Se;if(-1!==je.indexOf(l)&&-1!==[ne,ue].indexOf(c)||-1!==je.indexOf(c)&&l===ce)return Se;if(-1!==Pe.indexOf(l)&&-1!==Pe.indexOf(c))return Se;if(l===se&&-1!==Pe.indexOf(c))return Se;if(-1!==Pe.concat(le).indexOf(l)&&c===oe||-1!==Pe.concat(le).indexOf(c)&&l===te)return Se;if(l===Ee&&c===Ee){var d=r[o],h=1;while(d>0){if(d--,t[d]!==Ee)break;h++}if(h%2!==0)return Se}return l===ve&&c===me?Se:Oe},He=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var r=Fe(e,t.lineBreak),n=r[0],i=r[1],o=r[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(e){return-1!==[le,de,ke].indexOf(e)?xe:e})));var a="keep-all"===t.wordBreak?o.map((function(t,r){return t&&e[r]>=19968&&e[r]<=40959})):void 0;return[n,i,a]},Ve=function(){function e(e,t,r,n){this.codePoints=e,this.required=t===Ce,this.start=r,this.end=n}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Qe=function(e,t){var r=u(e),n=He(r,t),i=n[0],o=n[1],a=n[2],s=r.length,l=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};var e=Se;while(c<s&&(e=Ue(r,o,i,++c,a))===Se);if(e!==Se||c===s){var t=new Ve(r,e,l,c);return l=c,{value:t,done:!1}}return{done:!0,value:null}}}};(function(e){e[e["STRING_TOKEN"]=0]="STRING_TOKEN",e[e["BAD_STRING_TOKEN"]=1]="BAD_STRING_TOKEN",e[e["LEFT_PARENTHESIS_TOKEN"]=2]="LEFT_PARENTHESIS_TOKEN",e[e["RIGHT_PARENTHESIS_TOKEN"]=3]="RIGHT_PARENTHESIS_TOKEN",e[e["COMMA_TOKEN"]=4]="COMMA_TOKEN",e[e["HASH_TOKEN"]=5]="HASH_TOKEN",e[e["DELIM_TOKEN"]=6]="DELIM_TOKEN",e[e["AT_KEYWORD_TOKEN"]=7]="AT_KEYWORD_TOKEN",e[e["PREFIX_MATCH_TOKEN"]=8]="PREFIX_MATCH_TOKEN",e[e["DASH_MATCH_TOKEN"]=9]="DASH_MATCH_TOKEN",e[e["INCLUDE_MATCH_TOKEN"]=10]="INCLUDE_MATCH_TOKEN",e[e["LEFT_CURLY_BRACKET_TOKEN"]=11]="LEFT_CURLY_BRACKET_TOKEN",e[e["RIGHT_CURLY_BRACKET_TOKEN"]=12]="RIGHT_CURLY_BRACKET_TOKEN",e[e["SUFFIX_MATCH_TOKEN"]=13]="SUFFIX_MATCH_TOKEN",e[e["SUBSTRING_MATCH_TOKEN"]=14]="SUBSTRING_MATCH_TOKEN",e[e["DIMENSION_TOKEN"]=15]="DIMENSION_TOKEN",e[e["PERCENTAGE_TOKEN"]=16]="PERCENTAGE_TOKEN",e[e["NUMBER_TOKEN"]=17]="NUMBER_TOKEN",e[e["FUNCTION"]=18]="FUNCTION",e[e["FUNCTION_TOKEN"]=19]="FUNCTION_TOKEN",e[e["IDENT_TOKEN"]=20]="IDENT_TOKEN",e[e["COLUMN_TOKEN"]=21]="COLUMN_TOKEN",e[e["URL_TOKEN"]=22]="URL_TOKEN",e[e["BAD_URL_TOKEN"]=23]="BAD_URL_TOKEN",e[e["CDC_TOKEN"]=24]="CDC_TOKEN",e[e["CDO_TOKEN"]=25]="CDO_TOKEN",e[e["COLON_TOKEN"]=26]="COLON_TOKEN",e[e["SEMICOLON_TOKEN"]=27]="SEMICOLON_TOKEN",e[e["LEFT_SQUARE_BRACKET_TOKEN"]=28]="LEFT_SQUARE_BRACKET_TOKEN",e[e["RIGHT_SQUARE_BRACKET_TOKEN"]=29]="RIGHT_SQUARE_BRACKET_TOKEN",e[e["UNICODE_RANGE_TOKEN"]=30]="UNICODE_RANGE_TOKEN",e[e["WHITESPACE_TOKEN"]=31]="WHITESPACE_TOKEN",e[e["EOF_TOKEN"]=32]="EOF_TOKEN"})(h||(h={}));var We=1,Ke=2,qe=4,Ge=8,$e=10,Ye=47,Xe=92,Ze=9,Je=32,et=34,tt=61,rt=35,nt=36,it=37,ot=39,at=40,st=41,lt=95,ut=45,ct=33,ft=60,pt=62,dt=64,ht=91,vt=93,mt=61,gt=123,yt=63,bt=125,xt=124,At=126,wt=128,_t=65533,Et=42,kt=43,Tt=44,Ct=58,St=59,Ot=46,Mt=0,Pt=8,Bt=11,Lt=14,Dt=31,It=127,jt=-1,Rt=48,Ft=97,Nt=101,zt=102,Ut=117,Ht=122,Vt=65,Qt=69,Wt=70,Kt=85,qt=90,Gt=function(e){return e>=Rt&&e<=57},$t=function(e){return e>=55296&&e<=57343},Yt=function(e){return Gt(e)||e>=Vt&&e<=Wt||e>=Ft&&e<=zt},Xt=function(e){return e>=Ft&&e<=Ht},Zt=function(e){return e>=Vt&&e<=qt},Jt=function(e){return Xt(e)||Zt(e)},er=function(e){return e>=wt},tr=function(e){return e===$e||e===Ze||e===Je},rr=function(e){return Jt(e)||er(e)||e===lt},nr=function(e){return rr(e)||Gt(e)||e===ut},ir=function(e){return e>=Mt&&e<=Pt||e===Bt||e>=Lt&&e<=Dt||e===It},or=function(e,t){return e===Xe&&t!==$e},ar=function(e,t,r){return e===ut?rr(t)||or(t,r):!!rr(e)||!(e!==Xe||!or(e,t))},sr=function(e,t,r){return e===kt||e===ut?!!Gt(t)||t===Ot&&Gt(r):Gt(e===Ot?t:e)},lr=function(e){var t=0,r=1;e[t]!==kt&&e[t]!==ut||(e[t]===ut&&(r=-1),t++);var n=[];while(Gt(e[t]))n.push(e[t++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;e[t]===Ot&&t++;var o=[];while(Gt(e[t]))o.push(e[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;e[t]!==Qt&&e[t]!==Nt||t++;var l=1;e[t]!==kt&&e[t]!==ut||(e[t]===ut&&(l=-1),t++);var u=[];while(Gt(e[t]))u.push(e[t++]);var f=u.length?parseInt(c.apply(void 0,u),10):0;return r*(i+s*Math.pow(10,-a))*Math.pow(10,l*f)},ur={type:h.LEFT_PARENTHESIS_TOKEN},cr={type:h.RIGHT_PARENTHESIS_TOKEN},fr={type:h.COMMA_TOKEN},pr={type:h.SUFFIX_MATCH_TOKEN},dr={type:h.PREFIX_MATCH_TOKEN},hr={type:h.COLUMN_TOKEN},vr={type:h.DASH_MATCH_TOKEN},mr={type:h.INCLUDE_MATCH_TOKEN},gr={type:h.LEFT_CURLY_BRACKET_TOKEN},yr={type:h.RIGHT_CURLY_BRACKET_TOKEN},br={type:h.SUBSTRING_MATCH_TOKEN},xr={type:h.BAD_URL_TOKEN},Ar={type:h.BAD_STRING_TOKEN},wr={type:h.CDO_TOKEN},_r={type:h.CDC_TOKEN},Er={type:h.COLON_TOKEN},kr={type:h.SEMICOLON_TOKEN},Tr={type:h.LEFT_SQUARE_BRACKET_TOKEN},Cr={type:h.RIGHT_SQUARE_BRACKET_TOKEN},Sr={type:h.WHITESPACE_TOKEN},Or={type:h.EOF_TOKEN},Mr=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(u(e))},e.prototype.read=function(){var e=[],t=this.consumeToken();while(t!==Or)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case et:return this.consumeStringToken(et);case rt:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(nr(t)||or(r,n)){var i=ar(t,r,n)?Ke:We,o=this.consumeName();return{type:h.HASH_TOKEN,value:o,flags:i}}break;case nt:if(this.peekCodePoint(0)===tt)return this.consumeCodePoint(),pr;break;case ot:return this.consumeStringToken(ot);case at:return ur;case st:return cr;case Et:if(this.peekCodePoint(0)===tt)return this.consumeCodePoint(),br;break;case kt:if(sr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Tt:return fr;case ut:var a=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(sr(a,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(ar(a,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===ut&&l===pt)return this.consumeCodePoint(),this.consumeCodePoint(),_r;break;case Ot:if(sr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ye:if(this.peekCodePoint(0)===Et){this.consumeCodePoint();while(1){var u=this.consumeCodePoint();if(u===Et&&(u=this.consumeCodePoint(),u===Ye))return this.consumeToken();if(u===jt)return this.consumeToken()}}break;case Ct:return Er;case St:return kr;case ft:if(this.peekCodePoint(0)===ct&&this.peekCodePoint(1)===ut&&this.peekCodePoint(2)===ut)return this.consumeCodePoint(),this.consumeCodePoint(),wr;break;case dt:var f=this.peekCodePoint(0),p=this.peekCodePoint(1),d=this.peekCodePoint(2);if(ar(f,p,d)){o=this.consumeName();return{type:h.AT_KEYWORD_TOKEN,value:o}}break;case ht:return Tr;case Xe:if(or(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case vt:return Cr;case mt:if(this.peekCodePoint(0)===tt)return this.consumeCodePoint(),dr;break;case gt:return gr;case bt:return yr;case Ut:case Kt:var v=this.peekCodePoint(0),m=this.peekCodePoint(1);return v!==kt||!Yt(m)&&m!==yt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case xt:if(this.peekCodePoint(0)===tt)return this.consumeCodePoint(),vr;if(this.peekCodePoint(0)===xt)return this.consumeCodePoint(),hr;break;case At:if(this.peekCodePoint(0)===tt)return this.consumeCodePoint(),mr;break;case jt:return Or}return tr(e)?(this.consumeWhiteSpace(),Sr):Gt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):rr(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){var e=[],t=this.consumeCodePoint();while(Yt(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var r=!1;while(t===yt&&e.length<6)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(c.apply(void 0,e.map((function(e){return e===yt?Rt:e}))),16),i=parseInt(c.apply(void 0,e.map((function(e){return e===yt?Wt:e}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:n,end:i}}var o=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===ut&&Yt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(Yt(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();i=parseInt(c.apply(void 0,a),16);return{type:h.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:h.UNICODE_RANGE_TOKEN,start:o,end:o}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===at?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===at?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:e}):{type:h.IDENT_TOKEN,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===jt)return{type:h.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===ot||t===et){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===jt||this.peekCodePoint(0)===st)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:r.value}):(this.consumeBadUrlRemnants(),xr)}while(1){var n=this.consumeCodePoint();if(n===jt||n===st)return{type:h.URL_TOKEN,value:c.apply(void 0,e)};if(tr(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===jt||this.peekCodePoint(0)===st?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),xr);if(n===et||n===ot||n===at||ir(n))return this.consumeBadUrlRemnants(),xr;if(n===Xe){if(!or(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),xr;e.push(this.consumeEscapedCodePoint())}else e.push(n)}},e.prototype.consumeWhiteSpace=function(){while(tr(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(e===st||e===jt)return;or(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t=6e4,r="";while(e>0){var n=Math.min(t,e);r+=c.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},e.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===jt||void 0===n||n===e)return t+=this.consumeStringSlice(r),{type:h.STRING_TOKEN,value:t};if(n===$e)return this._value.splice(0,r),Ar;if(n===Xe){var i=this._value[r+1];i!==jt&&void 0!==i&&(i===$e?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):or(n,i)&&(t+=this.consumeStringSlice(r),t+=c(this.consumeEscapedCodePoint()),r=-1))}r++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=qe,r=this.peekCodePoint(0);r!==kt&&r!==ut||e.push(this.consumeCodePoint());while(Gt(this.peekCodePoint(0)))e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Ot&&Gt(n)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ge;while(Gt(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===Qt||r===Nt)&&((n===kt||n===ut)&&Gt(i)||Gt(n))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ge;while(Gt(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[lr(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(ar(n,i,o)){var a=this.consumeName();return{type:h.DIMENSION_TOKEN,number:t,flags:r,unit:a}}return n===it?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:t,flags:r}):{type:h.NUMBER_TOKEN,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Yt(e)){var t=c(e);while(Yt(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());tr(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return 0===r||$t(r)||r>1114111?_t:r}return e===jt?_t:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(nr(t))e+=c(t);else{if(!or(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Pr=function(){function e(e){this._tokens=e}return e.create=function(t){var r=new Mr;return r.write(t),new e(r.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){var e=this.consumeToken();while(e.type===h.WHITESPACE_TOKEN)e=this.consumeToken();if(e.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(e.type===h.WHITESPACE_TOKEN);if(e.type===h.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){var e=[];while(1){var t=this.consumeComponentValue();if(t.type===h.EOF_TOKEN)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(e.type);case h.FUNCTION_TOKEN:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){var t={type:e,values:[]},r=this.consumeToken();while(1){if(r.type===h.EOF_TOKEN||zr(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:h.FUNCTION};while(1){var r=this.consumeToken();if(r.type===h.EOF_TOKEN||r.type===h.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?Or:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Br=function(e){return e.type===h.DIMENSION_TOKEN},Lr=function(e){return e.type===h.NUMBER_TOKEN},Dr=function(e){return e.type===h.IDENT_TOKEN},Ir=function(e){return e.type===h.STRING_TOKEN},jr=function(e,t){return Dr(e)&&e.value===t},Rr=function(e){return e.type!==h.WHITESPACE_TOKEN},Fr=function(e){return e.type!==h.WHITESPACE_TOKEN&&e.type!==h.COMMA_TOKEN},Nr=function(e){var t=[],r=[];return e.forEach((function(e){if(e.type===h.COMMA_TOKEN){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(r),void(r=[])}e.type!==h.WHITESPACE_TOKEN&&r.push(e)})),r.length&&t.push(r),t},zr=function(e,t){return t===h.LEFT_CURLY_BRACKET_TOKEN&&e.type===h.RIGHT_CURLY_BRACKET_TOKEN||(t===h.LEFT_SQUARE_BRACKET_TOKEN&&e.type===h.RIGHT_SQUARE_BRACKET_TOKEN||t===h.LEFT_PARENTHESIS_TOKEN&&e.type===h.RIGHT_PARENTHESIS_TOKEN)},Ur=function(e){return e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN},Hr=function(e){return e.type===h.PERCENTAGE_TOKEN||Ur(e)},Vr=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Qr={type:h.NUMBER_TOKEN,number:0,flags:qe},Wr={type:h.PERCENTAGE_TOKEN,number:50,flags:qe},Kr={type:h.PERCENTAGE_TOKEN,number:100,flags:qe},qr=function(e,t,r){var n=e[0],i=e[1];return[Gr(n,t),Gr("undefined"!==typeof i?i:n,r)]},Gr=function(e,t){if(e.type===h.PERCENTAGE_TOKEN)return e.number/100*t;if(Br(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},$r="deg",Yr="grad",Xr="rad",Zr="turn",Jr={name:"angle",parse:function(e){if(e.type===h.DIMENSION_TOKEN)switch(e.unit){case $r:return Math.PI*e.number/180;case Yr:return Math.PI/200*e.number;case Xr:return e.number;case Zr:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},en=function(e){return e.type===h.DIMENSION_TOKEN&&(e.unit===$r||e.unit===Yr||e.unit===Xr||e.unit===Zr)},tn=function(e){var t=e.filter(Dr).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Qr,Qr];case"to top":case"bottom":return rn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Qr,Kr];case"to right":case"left":return rn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Kr,Kr];case"to bottom":case"top":return rn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Kr,Qr];case"to left":case"right":return rn(270)}return 0},rn=function(e){return Math.PI*e/180},nn={name:"color",parse:function(e){if(e.type===h.FUNCTION){var t=hn[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(e.values)}if(e.type===h.HASH_TOKEN){if(3===e.value.length){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return sn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===e.value.length){r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);var o=e.value.substring(3,4);return sn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return sn(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(8===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),o=e.value.substring(6,8);return sn(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(o,16)/255)}}if(e.type===h.IDENT_TOKEN){var a=vn[e.value.toUpperCase()];if("undefined"!==typeof a)return a}return vn.TRANSPARENT}},on=function(e){return 0===(255&e)},an=function(e){var t=255&e,r=255&e>>8,n=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+n+","+r+","+t/255+")":"rgb("+i+","+n+","+r+")"},sn=function(e,t,r,n){return(e<<24|t<<16|r<<8|Math.round(255*n)<<0)>>>0},ln=function(e,t){if(e.type===h.NUMBER_TOKEN)return e.number;if(e.type===h.PERCENTAGE_TOKEN){var r=3===t?1:255;return 3===t?e.number/100*r:Math.round(e.number/100*r)}return 0},un=function(e){var t=e.filter(Fr);if(3===t.length){var r=t.map(ln),n=r[0],i=r[1],o=r[2];return sn(n,i,o,1)}if(4===t.length){var a=t.map(ln),s=(n=a[0],i=a[1],o=a[2],a[3]);return sn(n,i,o,s)}return 0};function cn(e,t,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(t-e)*r*6+e:r<.5?t:r<2/3?6*(t-e)*(2/3-r)+e:e}var fn,pn,dn=function(e){var t=e.filter(Fr),r=t[0],n=t[1],i=t[2],o=t[3],a=(r.type===h.NUMBER_TOKEN?rn(r.number):Jr.parse(r))/(2*Math.PI),s=Hr(n)?n.number/100:0,l=Hr(i)?i.number/100:0,u="undefined"!==typeof o&&Hr(o)?Gr(o,1):1;if(0===s)return sn(255*l,255*l,255*l,1);var c=l<=.5?l*(s+1):l+s-l*s,f=2*l-c,p=cn(f,c,a+1/3),d=cn(f,c,a),v=cn(f,c,a-1/3);return sn(255*p,255*d,255*v,u)},hn={hsl:dn,hsla:dn,rgb:un,rgba:un},vn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(e){e[e["VALUE"]=0]="VALUE",e[e["LIST"]=1]="LIST",e[e["IDENT_VALUE"]=2]="IDENT_VALUE",e[e["TYPE_VALUE"]=3]="TYPE_VALUE",e[e["TOKEN_VALUE"]=4]="TOKEN_VALUE"})(fn||(fn={})),function(e){e[e["BORDER_BOX"]=0]="BORDER_BOX",e[e["PADDING_BOX"]=1]="PADDING_BOX",e[e["CONTENT_BOX"]=2]="CONTENT_BOX"}(pn||(pn={}));var mn,gn={name:"background-clip",initialValue:"border-box",prefix:!1,type:fn.LIST,parse:function(e){return e.map((function(e){if(Dr(e))switch(e.value){case"padding-box":return pn.PADDING_BOX;case"content-box":return pn.CONTENT_BOX}return pn.BORDER_BOX}))}},yn={name:"background-color",initialValue:"transparent",prefix:!1,type:fn.TYPE_VALUE,format:"color"},bn=function(e){var t=nn.parse(e[0]),r=e[1];return r&&Hr(r)?{color:t,stop:r}:{color:t,stop:null}},xn=function(e,t){var r=e[0],n=e[e.length-1];null===r.stop&&(r.stop=Qr),null===n.stop&&(n.stop=Kr);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=Gr(s,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}var u=null;for(a=0;a<i.length;a++){var c=i[a];if(null===c)null===u&&(u=a);else if(null!==u){for(var f=a-u,p=i[u-1],d=(c-p)/(f+1),h=1;h<=f;h++)i[u+h-1]=d*h;u=null}}return e.map((function(e,r){var n=e.color;return{color:n,stop:Math.max(Math.min(1,i[r]/t),0)}}))},An=function(e,t,r){var n=t/2,i=r/2,o=Gr(e[0],t)-n,a=i-Gr(e[1],r);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)},wn=function(e,t,r){var n="number"===typeof e?e:An(e,t,r),i=Math.abs(t*Math.sin(n))+Math.abs(r*Math.cos(n)),o=t/2,a=r/2,s=i/2,l=Math.sin(n-Math.PI/2)*s,u=Math.cos(n-Math.PI/2)*s;return[i,o-u,o+u,a-l,a+l]},_n=function(e,t){return Math.sqrt(e*e+t*t)},En=function(e,t,r,n,i){var o=[[0,0],[0,t],[e,0],[e,t]];return o.reduce((function(e,t){var o=t[0],a=t[1],s=_n(r-o,n-a);return(i?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},kn=function(e,t,r,n,i){var o=0,a=0;switch(e.size){case ai.CLOSEST_SIDE:e.shape===oi.CIRCLE?o=a=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-i)):e.shape===oi.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-n)),a=Math.min(Math.abs(r),Math.abs(r-i)));break;case ai.CLOSEST_CORNER:if(e.shape===oi.CIRCLE)o=a=Math.min(_n(t,r),_n(t,r-i),_n(t-n,r),_n(t-n,r-i));else if(e.shape===oi.ELLIPSE){var s=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(t),Math.abs(t-n)),l=En(n,i,t,r,!0),u=l[0],c=l[1];o=_n(u-t,(c-r)/s),a=s*o}break;case ai.FARTHEST_SIDE:e.shape===oi.CIRCLE?o=a=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-i)):e.shape===oi.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-n)),a=Math.max(Math.abs(r),Math.abs(r-i)));break;case ai.FARTHEST_CORNER:if(e.shape===oi.CIRCLE)o=a=Math.max(_n(t,r),_n(t,r-i),_n(t-n,r),_n(t-n,r-i));else if(e.shape===oi.ELLIPSE){s=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(t),Math.abs(t-n));var f=En(n,i,t,r,!1);u=f[0],c=f[1];o=_n(u-t,(c-r)/s),a=s*o}break}return Array.isArray(e.size)&&(o=Gr(e.size[0],n),a=2===e.size.length?Gr(e.size[1],i):o),[o,a]},Tn=function(e){var t=rn(180),r=[];return Nr(e).forEach((function(e,n){if(0===n){var i=e[0];if(i.type===h.IDENT_TOKEN&&"to"===i.value)return void(t=tn(e));if(en(i))return void(t=Jr.parse(i))}var o=bn(e);r.push(o)})),{angle:t,stops:r,type:mn.LINEAR_GRADIENT}},Cn=function(e){var t=rn(180),r=[];return Nr(e).forEach((function(e,n){if(0===n){var i=e[0];if(i.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=tn(e));if(en(i))return void(t=(Jr.parse(i)+rn(270))%rn(360))}var o=bn(e);r.push(o)})),{angle:t,stops:r,type:mn.LINEAR_GRADIENT}},Sn=function(e){var t=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height=t+"px",n.style.display="block",e.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),o=Math.round(i.height);if(e.body.removeChild(n),o===t)return!0}}return!1},On=function(){return"undefined"!==typeof(new Image).crossOrigin},Mn=function(){return"string"===typeof(new XMLHttpRequest).responseType},Pn=function(e){var t=new Image,r=e.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(t,0,0),r.toDataURL()}catch(Nt){return!1}return!0},Bn=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Ln=function(e){var t=e.createElement("canvas"),r=100;t.width=r,t.height=r;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,o=t.toDataURL();i.src=o;var a=Dn(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),In(a).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var a=e.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=r+"px",Bn(i)?In(Dn(r,r,0,0,a)):Promise.reject(!1)})).then((function(e){return n.drawImage(e,0,0),Bn(n.getImageData(0,0,r,r).data)})).catch((function(){return!1}))},Dn=function(e,t,r,n,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",r.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},In=function(e){return new Promise((function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},jn={get SUPPORT_RANGE_BOUNDS(){var e=Sn(document);return Object.defineProperty(jn,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=Pn(document);return Object.defineProperty(jn,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Ln(document):Promise.resolve(!1);return Object.defineProperty(jn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=On();return Object.defineProperty(jn,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Mn();return Object.defineProperty(jn,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(jn,"SUPPORT_CORS_XHR",{value:e}),e}},Rn=function(){function e(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.create=function(t){e.instances[t.id]=new e(t)},e.destroy=function(t){delete e.instances[t]},e.getInstance=function(t){var r=e.instances[t];if("undefined"===typeof r)throw new Error("No logger instance found with id "+t);return r},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,o([this.id,this.getTime()+"ms"],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),Fn=function(){function e(){}return e.create=function(t,r){return e._caches[t]=new Nn(t,r)},e.destroy=function(t){delete e._caches[t]},e.open=function(t){var r=e._caches[t];if("undefined"!==typeof r)return r;throw new Error('Cache with key "'+t+'" not found')},e.getOrigin=function(t){var r=e._link;return r?(r.href=t,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e.getInstance=function(){var t=e._current;if(null===t)throw new Error("No cache instance attached");return t},e.attachInstance=function(t){e._current=t},e.detachInstance=function(){e._current=null},e._caches={},e._origin="about:blank",e._current=null,e}(),Nn=function(){function e(e,t){this.id=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Kn(e)||Vn(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,a=this;return i(this,(function(i){switch(i.label){case 0:return t=Fn.isSameOrigin(e),r=!Qn(e)&&!0===this._options.useCORS&&jn.SUPPORT_CORS_IMAGES&&!t,n=!Qn(e)&&!t&&!Kn(e)&&"string"===typeof this._options.proxy&&jn.SUPPORT_CORS_XHR&&!r,t||!1!==this._options.allowTaint||Qn(e)||Kn(e)||n||r?(o=e,n?[4,this.proxy(o)]:[3,2]):[2];case 1:o=i.sent(),i.label=2;case 2:return Rn.getInstance(this.id).debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,(Wn(o)||r)&&(n.crossOrigin="anonymous"),n.src=o,!0===n.complete&&setTimeout((function(){return e(n)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise((function(i,o){var a=jn.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return i(e.result)}),!1),e.addEventListener("error",(function(e){return o(e)}),!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=o;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var u=t._options.imageTimeout;s.timeout=u,s.ontimeout=function(){return o("Timed out ("+u+"ms) proxying "+n)}}s.send()}))},e}(),zn=/^data:image\/svg\+xml/i,Un=/^data:image\/.*;base64,/i,Hn=/^data:image\/.*/i,Vn=function(e){return jn.SUPPORT_SVG_DRAWING||!qn(e)},Qn=function(e){return Hn.test(e)},Wn=function(e){return Un.test(e)},Kn=function(e){return"blob"===e.substr(0,4)},qn=function(e){return"svg"===e.substr(-3).toLowerCase()||zn.test(e)},Gn=function(e){var t=rn(180),r=[],n=mn.LINEAR_GRADIENT,i=oi.CIRCLE,o=ai.FARTHEST_CORNER,a=[];return Nr(e).forEach((function(e,t){var i=e[0];if(0===t){if(Dr(i)&&"linear"===i.value)return void(n=mn.LINEAR_GRADIENT);if(Dr(i)&&"radial"===i.value)return void(n=mn.RADIAL_GRADIENT)}if(i.type===h.FUNCTION)if("from"===i.name){var o=nn.parse(i.values[0]);r.push({stop:Qr,color:o})}else if("to"===i.name){o=nn.parse(i.values[0]);r.push({stop:Kr,color:o})}else if("color-stop"===i.name){var a=i.values.filter(Fr);if(2===a.length){o=nn.parse(a[1]);var s=a[0];Lr(s)&&r.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}})),n===mn.LINEAR_GRADIENT?{angle:(t+rn(180))%rn(360),stops:r,type:n}:{size:o,shape:i,stops:r,position:a,type:n}},$n="closest-side",Yn="farthest-side",Xn="closest-corner",Zn="farthest-corner",Jn="circle",ei="ellipse",ti="cover",ri="contain",ni=function(e){var t=oi.CIRCLE,r=ai.FARTHEST_CORNER,n=[],i=[];return Nr(e).forEach((function(e,o){var a=!0;if(0===o){var s=!1;a=e.reduce((function(e,n){if(s)if(Dr(n))switch(n.value){case"center":return i.push(Wr),e;case"top":case"left":return i.push(Qr),e;case"right":case"bottom":return i.push(Kr),e}else(Hr(n)||Ur(n))&&i.push(n);else if(Dr(n))switch(n.value){case Jn:return t=oi.CIRCLE,!1;case ei:return t=oi.ELLIPSE,!1;case"at":return s=!0,!1;case $n:return r=ai.CLOSEST_SIDE,!1;case ti:case Yn:return r=ai.FARTHEST_SIDE,!1;case ri:case Xn:return r=ai.CLOSEST_CORNER,!1;case Zn:return r=ai.FARTHEST_CORNER,!1}else if(Ur(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return e}),a)}if(a){var l=bn(e);n.push(l)}})),{size:r,shape:t,stops:n,position:i,type:mn.RADIAL_GRADIENT}},ii=function(e){var t=oi.CIRCLE,r=ai.FARTHEST_CORNER,n=[],i=[];return Nr(e).forEach((function(e,o){var a=!0;if(0===o?a=e.reduce((function(e,t){if(Dr(t))switch(t.value){case"center":return i.push(Wr),!1;case"top":case"left":return i.push(Qr),!1;case"right":case"bottom":return i.push(Kr),!1}else if(Hr(t)||Ur(t))return i.push(t),!1;return e}),a):1===o&&(a=e.reduce((function(e,n){if(Dr(n))switch(n.value){case Jn:return t=oi.CIRCLE,!1;case ei:return t=oi.ELLIPSE,!1;case ri:case $n:return r=ai.CLOSEST_SIDE,!1;case Yn:return r=ai.FARTHEST_SIDE,!1;case Xn:return r=ai.CLOSEST_CORNER,!1;case ti:case Zn:return r=ai.FARTHEST_CORNER,!1}else if(Ur(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return e}),a)),a){var s=bn(e);n.push(s)}})),{size:r,shape:t,stops:n,position:i,type:mn.RADIAL_GRADIENT}};(function(e){e[e["URL"]=0]="URL",e[e["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",e[e["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT"})(mn||(mn={}));var oi,ai,si=function(e){return e.type===mn.LINEAR_GRADIENT},li=function(e){return e.type===mn.RADIAL_GRADIENT};(function(e){e[e["CIRCLE"]=0]="CIRCLE",e[e["ELLIPSE"]=1]="ELLIPSE"})(oi||(oi={})),function(e){e[e["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",e[e["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",e[e["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",e[e["FARTHEST_CORNER"]=3]="FARTHEST_CORNER"}(ai||(ai={}));var ui={name:"image",parse:function(e){if(e.type===h.URL_TOKEN){var t={url:e.value,type:mn.URL};return Fn.getInstance().addImage(e.value),t}if(e.type===h.FUNCTION){var r=pi[e.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(e.values)}throw new Error("Unsupported image type")}};function ci(e){return e.type!==h.FUNCTION||!!pi[e.name]}var fi,pi={"linear-gradient":Tn,"-moz-linear-gradient":Cn,"-ms-linear-gradient":Cn,"-o-linear-gradient":Cn,"-webkit-linear-gradient":Cn,"radial-gradient":ni,"-moz-radial-gradient":ii,"-ms-radial-gradient":ii,"-o-radial-gradient":ii,"-webkit-radial-gradient":ii,"-webkit-gradient":Gn},di={name:"background-image",initialValue:"none",type:fn.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e.filter((function(e){return Fr(e)&&ci(e)})).map(ui.parse)}},hi={name:"background-origin",initialValue:"border-box",prefix:!1,type:fn.LIST,parse:function(e){return e.map((function(e){if(Dr(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},vi={name:"background-position",initialValue:"0% 0%",type:fn.LIST,prefix:!1,parse:function(e){return Nr(e).map((function(e){return e.filter(Hr)})).map(Vr)}};(function(e){e[e["REPEAT"]=0]="REPEAT",e[e["NO_REPEAT"]=1]="NO_REPEAT",e[e["REPEAT_X"]=2]="REPEAT_X",e[e["REPEAT_Y"]=3]="REPEAT_Y"})(fi||(fi={}));var mi,gi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:fn.LIST,parse:function(e){return Nr(e).map((function(e){return e.filter(Dr).map((function(e){return e.value})).join(" ")})).map(yi)}},yi=function(e){switch(e){case"no-repeat":return fi.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fi.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fi.REPEAT_Y;case"repeat":default:return fi.REPEAT}};(function(e){e["AUTO"]="auto",e["CONTAIN"]="contain",e["COVER"]="cover"})(mi||(mi={}));var bi,xi={name:"background-size",initialValue:"0",prefix:!1,type:fn.LIST,parse:function(e){return Nr(e).map((function(e){return e.filter(Ai)}))}},Ai=function(e){return Dr(e)||Hr(e)},wi=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:fn.TYPE_VALUE,format:"color"}},_i=wi("top"),Ei=wi("right"),ki=wi("bottom"),Ti=wi("left"),Ci=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:fn.LIST,parse:function(e){return Vr(e.filter(Hr))}}},Si=Ci("top-left"),Oi=Ci("top-right"),Mi=Ci("bottom-right"),Pi=Ci("bottom-left");(function(e){e[e["NONE"]=0]="NONE",e[e["SOLID"]=1]="SOLID",e[e["DASHED"]=2]="DASHED",e[e["DOTTED"]=3]="DOTTED",e[e["DOUBLE"]=4]="DOUBLE"})(bi||(bi={}));var Bi,Li=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"none":return bi.NONE;case"dashed":return bi.DASHED;case"dotted":return bi.DOTTED;case"double":return bi.DOUBLE}return bi.SOLID}}},Di=Li("top"),Ii=Li("right"),ji=Li("bottom"),Ri=Li("left"),Fi=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:fn.VALUE,prefix:!1,parse:function(e){return Br(e)?e.number:0}}},Ni=Fi("top"),zi=Fi("right"),Ui=Fi("bottom"),Hi=Fi("left"),Vi={name:"color",initialValue:"transparent",prefix:!1,type:fn.TYPE_VALUE,format:"color"},Qi={name:"display",initialValue:"inline-block",prefix:!1,type:fn.LIST,parse:function(e){return e.filter(Dr).reduce((function(e,t){return e|Wi(t.value)}),0)}},Wi=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};(function(e){e[e["NONE"]=0]="NONE",e[e["LEFT"]=1]="LEFT",e[e["RIGHT"]=2]="RIGHT",e[e["INLINE_START"]=3]="INLINE_START",e[e["INLINE_END"]=4]="INLINE_END"})(Bi||(Bi={}));var Ki,qi={name:"float",initialValue:"none",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"left":return Bi.LEFT;case"right":return Bi.RIGHT;case"inline-start":return Bi.INLINE_START;case"inline-end":return Bi.INLINE_END}return Bi.NONE}},Gi={name:"letter-spacing",initialValue:"0",prefix:!1,type:fn.VALUE,parse:function(e){return e.type===h.IDENT_TOKEN&&"normal"===e.value?0:e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN?e.number:0}};(function(e){e["NORMAL"]="normal",e["STRICT"]="strict"})(Ki||(Ki={}));var $i,Yi={name:"line-break",initialValue:"normal",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"strict":return Ki.STRICT;case"normal":default:return Ki.NORMAL}}},Xi={name:"line-height",initialValue:"normal",prefix:!1,type:fn.TOKEN_VALUE},Zi=function(e,t){return Dr(e)&&"normal"===e.value?1.2*t:e.type===h.NUMBER_TOKEN?t*e.number:Hr(e)?Gr(e,t):t},Ji={name:"list-style-image",initialValue:"none",type:fn.VALUE,prefix:!1,parse:function(e){return e.type===h.IDENT_TOKEN&&"none"===e.value?null:ui.parse(e)}};(function(e){e[e["INSIDE"]=0]="INSIDE",e[e["OUTSIDE"]=1]="OUTSIDE"})($i||($i={}));var eo,to={name:"list-style-position",initialValue:"outside",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"inside":return $i.INSIDE;case"outside":default:return $i.OUTSIDE}}};(function(e){e[e["NONE"]=-1]="NONE",e[e["DISC"]=0]="DISC",e[e["CIRCLE"]=1]="CIRCLE",e[e["SQUARE"]=2]="SQUARE",e[e["DECIMAL"]=3]="DECIMAL",e[e["CJK_DECIMAL"]=4]="CJK_DECIMAL",e[e["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",e[e["LOWER_ROMAN"]=6]="LOWER_ROMAN",e[e["UPPER_ROMAN"]=7]="UPPER_ROMAN",e[e["LOWER_GREEK"]=8]="LOWER_GREEK",e[e["LOWER_ALPHA"]=9]="LOWER_ALPHA",e[e["UPPER_ALPHA"]=10]="UPPER_ALPHA",e[e["ARABIC_INDIC"]=11]="ARABIC_INDIC",e[e["ARMENIAN"]=12]="ARMENIAN",e[e["BENGALI"]=13]="BENGALI",e[e["CAMBODIAN"]=14]="CAMBODIAN",e[e["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",e[e["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",e[e["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",e[e["DEVANAGARI"]=18]="DEVANAGARI",e[e["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",e[e["GEORGIAN"]=20]="GEORGIAN",e[e["GUJARATI"]=21]="GUJARATI",e[e["GURMUKHI"]=22]="GURMUKHI",e[e["HEBREW"]=22]="HEBREW",e[e["HIRAGANA"]=23]="HIRAGANA",e[e["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",e[e["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",e[e["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",e[e["KANNADA"]=27]="KANNADA",e[e["KATAKANA"]=28]="KATAKANA",e[e["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",e[e["KHMER"]=30]="KHMER",e[e["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",e[e["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",e[e["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",e[e["LAO"]=34]="LAO",e[e["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",e[e["MALAYALAM"]=36]="MALAYALAM",e[e["MONGOLIAN"]=37]="MONGOLIAN",e[e["MYANMAR"]=38]="MYANMAR",e[e["ORIYA"]=39]="ORIYA",e[e["PERSIAN"]=40]="PERSIAN",e[e["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",e[e["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",e[e["TAMIL"]=43]="TAMIL",e[e["TELUGU"]=44]="TELUGU",e[e["THAI"]=45]="THAI",e[e["TIBETAN"]=46]="TIBETAN",e[e["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",e[e["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",e[e["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",e[e["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",e[e["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED"})(eo||(eo={}));var ro,no={name:"list-style-type",initialValue:"none",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"disc":return eo.DISC;case"circle":return eo.CIRCLE;case"square":return eo.SQUARE;case"decimal":return eo.DECIMAL;case"cjk-decimal":return eo.CJK_DECIMAL;case"decimal-leading-zero":return eo.DECIMAL_LEADING_ZERO;case"lower-roman":return eo.LOWER_ROMAN;case"upper-roman":return eo.UPPER_ROMAN;case"lower-greek":return eo.LOWER_GREEK;case"lower-alpha":return eo.LOWER_ALPHA;case"upper-alpha":return eo.UPPER_ALPHA;case"arabic-indic":return eo.ARABIC_INDIC;case"armenian":return eo.ARMENIAN;case"bengali":return eo.BENGALI;case"cambodian":return eo.CAMBODIAN;case"cjk-earthly-branch":return eo.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return eo.CJK_HEAVENLY_STEM;case"cjk-ideographic":return eo.CJK_IDEOGRAPHIC;case"devanagari":return eo.DEVANAGARI;case"ethiopic-numeric":return eo.ETHIOPIC_NUMERIC;case"georgian":return eo.GEORGIAN;case"gujarati":return eo.GUJARATI;case"gurmukhi":return eo.GURMUKHI;case"hebrew":return eo.HEBREW;case"hiragana":return eo.HIRAGANA;case"hiragana-iroha":return eo.HIRAGANA_IROHA;case"japanese-formal":return eo.JAPANESE_FORMAL;case"japanese-informal":return eo.JAPANESE_INFORMAL;case"kannada":return eo.KANNADA;case"katakana":return eo.KATAKANA;case"katakana-iroha":return eo.KATAKANA_IROHA;case"khmer":return eo.KHMER;case"korean-hangul-formal":return eo.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return eo.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return eo.KOREAN_HANJA_INFORMAL;case"lao":return eo.LAO;case"lower-armenian":return eo.LOWER_ARMENIAN;case"malayalam":return eo.MALAYALAM;case"mongolian":return eo.MONGOLIAN;case"myanmar":return eo.MYANMAR;case"oriya":return eo.ORIYA;case"persian":return eo.PERSIAN;case"simp-chinese-formal":return eo.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return eo.SIMP_CHINESE_INFORMAL;case"tamil":return eo.TAMIL;case"telugu":return eo.TELUGU;case"thai":return eo.THAI;case"tibetan":return eo.TIBETAN;case"trad-chinese-formal":return eo.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return eo.TRAD_CHINESE_INFORMAL;case"upper-armenian":return eo.UPPER_ARMENIAN;case"disclosure-open":return eo.DISCLOSURE_OPEN;case"disclosure-closed":return eo.DISCLOSURE_CLOSED;case"none":default:return eo.NONE}}},io=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:fn.TOKEN_VALUE}},oo=io("top"),ao=io("right"),so=io("bottom"),lo=io("left");(function(e){e[e["VISIBLE"]=0]="VISIBLE",e[e["HIDDEN"]=1]="HIDDEN",e[e["SCROLL"]=2]="SCROLL",e[e["AUTO"]=3]="AUTO"})(ro||(ro={}));var uo,co={name:"overflow",initialValue:"visible",prefix:!1,type:fn.LIST,parse:function(e){return e.filter(Dr).map((function(e){switch(e.value){case"hidden":return ro.HIDDEN;case"scroll":return ro.SCROLL;case"auto":return ro.AUTO;case"visible":default:return ro.VISIBLE}}))}};(function(e){e["NORMAL"]="normal",e["BREAK_WORD"]="break-word"})(uo||(uo={}));var fo,po={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"break-word":return uo.BREAK_WORD;case"normal":default:return uo.NORMAL}}},ho=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:fn.TYPE_VALUE,format:"length-percentage"}},vo=ho("top"),mo=ho("right"),go=ho("bottom"),yo=ho("left");(function(e){e[e["LEFT"]=0]="LEFT",e[e["CENTER"]=1]="CENTER",e[e["RIGHT"]=2]="RIGHT"})(fo||(fo={}));var bo,xo={name:"text-align",initialValue:"left",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"right":return fo.RIGHT;case"center":case"justify":return fo.CENTER;case"left":default:return fo.LEFT}}};(function(e){e[e["STATIC"]=0]="STATIC",e[e["RELATIVE"]=1]="RELATIVE",e[e["ABSOLUTE"]=2]="ABSOLUTE",e[e["FIXED"]=3]="FIXED",e[e["STICKY"]=4]="STICKY"})(bo||(bo={}));var Ao,wo={name:"position",initialValue:"static",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"relative":return bo.RELATIVE;case"absolute":return bo.ABSOLUTE;case"fixed":return bo.FIXED;case"sticky":return bo.STICKY}return bo.STATIC}},_o={name:"text-shadow",initialValue:"none",type:fn.LIST,prefix:!1,parse:function(e){return 1===e.length&&jr(e[0],"none")?[]:Nr(e).map((function(e){for(var t={color:vn.TRANSPARENT,offsetX:Qr,offsetY:Qr,blur:Qr},r=0,n=0;n<e.length;n++){var i=e[n];Ur(i)?(0===r?t.offsetX=i:1===r?t.offsetY=i:t.blur=i,r++):t.color=nn.parse(i)}return t}))}};(function(e){e[e["NONE"]=0]="NONE",e[e["LOWERCASE"]=1]="LOWERCASE",e[e["UPPERCASE"]=2]="UPPERCASE",e[e["CAPITALIZE"]=3]="CAPITALIZE"})(Ao||(Ao={}));var Eo,ko={name:"text-transform",initialValue:"none",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"uppercase":return Ao.UPPERCASE;case"lowercase":return Ao.LOWERCASE;case"capitalize":return Ao.CAPITALIZE}return Ao.NONE}},To={name:"transform",initialValue:"none",prefix:!0,type:fn.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN&&"none"===e.value)return null;if(e.type===h.FUNCTION){var t=Oo[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Co=function(e){var t=e.filter((function(e){return e.type===h.NUMBER_TOKEN})).map((function(e){return e.number}));return 6===t.length?t:null},So=function(e){var t=e.filter((function(e){return e.type===h.NUMBER_TOKEN})).map((function(e){return e.number})),r=t[0],n=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[r,n,i,o,a,s]:null},Oo={matrix:Co,matrix3d:So},Mo={type:h.PERCENTAGE_TOKEN,number:50,flags:qe},Po=[Mo,Mo],Bo={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:fn.LIST,parse:function(e){var t=e.filter(Hr);return 2!==t.length?Po:[t[0],t[1]]}};(function(e){e[e["VISIBLE"]=0]="VISIBLE",e[e["HIDDEN"]=1]="HIDDEN",e[e["COLLAPSE"]=2]="COLLAPSE"})(Eo||(Eo={}));var Lo,Do={name:"visible",initialValue:"none",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"hidden":return Eo.HIDDEN;case"collapse":return Eo.COLLAPSE;case"visible":default:return Eo.VISIBLE}}};(function(e){e["NORMAL"]="normal",e["BREAK_ALL"]="break-all",e["KEEP_ALL"]="keep-all"})(Lo||(Lo={}));var Io,jo={name:"word-break",initialValue:"normal",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"break-all":return Lo.BREAK_ALL;case"keep-all":return Lo.KEEP_ALL;case"normal":default:return Lo.NORMAL}}},Ro={name:"z-index",initialValue:"auto",prefix:!1,type:fn.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN)return{auto:!0,order:0};if(Lr(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Fo={name:"opacity",initialValue:"1",type:fn.VALUE,prefix:!1,parse:function(e){return Lr(e)?e.number:1}},No={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:fn.TYPE_VALUE,format:"color"},zo={name:"text-decoration-line",initialValue:"none",prefix:!1,type:fn.LIST,parse:function(e){return e.filter(Dr).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},Uo={name:"font-family",initialValue:"",prefix:!1,type:fn.LIST,parse:function(e){var t=[],r=[];return e.forEach((function(e){switch(e.type){case h.IDENT_TOKEN:case h.STRING_TOKEN:t.push(e.value);break;case h.NUMBER_TOKEN:t.push(e.number.toString());break;case h.COMMA_TOKEN:r.push(t.join(" ")),t.length=0;break}})),t.length&&r.push(t.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},Ho={name:"font-size",initialValue:"0",prefix:!1,type:fn.TYPE_VALUE,format:"length"},Vo={name:"font-weight",initialValue:"normal",type:fn.VALUE,prefix:!1,parse:function(e){if(Lr(e))return e.number;if(Dr(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Qo={name:"font-variant",initialValue:"none",type:fn.LIST,prefix:!1,parse:function(e){return e.filter(Dr).map((function(e){return e.value}))}};(function(e){e["NORMAL"]="normal",e["ITALIC"]="italic",e["OBLIQUE"]="oblique"})(Io||(Io={}));var Wo,Ko={name:"font-style",initialValue:"normal",prefix:!1,type:fn.IDENT_VALUE,parse:function(e){switch(e){case"oblique":return Io.OBLIQUE;case"italic":return Io.ITALIC;case"normal":default:return Io.NORMAL}}},qo=function(e,t){return 0!==(e&t)},Go={name:"content",initialValue:"none",type:fn.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e}},$o={name:"counter-increment",initialValue:"none",prefix:!0,type:fn.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;for(var r=[],n=e.filter(Rr),i=0;i<n.length;i++){var o=n[i],a=n[i+1];if(o.type===h.IDENT_TOKEN){var s=a&&Lr(a)?a.number:1;r.push({counter:o.value,increment:s})}}return r}},Yo={name:"counter-reset",initialValue:"none",prefix:!0,type:fn.LIST,parse:function(e){if(0===e.length)return[];for(var t=[],r=e.filter(Rr),n=0;n<r.length;n++){var i=r[n],o=r[n+1];if(Dr(i)&&"none"!==i.value){var a=o&&Lr(o)?o.number:0;t.push({counter:i.value,reset:a})}}return t}},Xo={name:"quotes",initialValue:"none",prefix:!0,type:fn.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;var r=[],n=e.filter(Ir);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var o=n[i].value,a=n[i+1].value;r.push({open:o,close:a})}return r}},Zo=function(e,t,r){if(!e)return"";var n=e[Math.min(t,e.length-1)];return n?r?n.open:n.close:""},Jo={name:"box-shadow",initialValue:"none",type:fn.LIST,prefix:!1,parse:function(e){return 1===e.length&&jr(e[0],"none")?[]:Nr(e).map((function(e){for(var t={color:255,offsetX:Qr,offsetY:Qr,blur:Qr,spread:Qr,inset:!1},r=0,n=0;n<e.length;n++){var i=e[n];jr(i,"inset")?t.inset=!0:Ur(i)?(0===r?t.offsetX=i:1===r?t.offsetY=i:2===r?t.blur=i:t.spread=i,r++):t.color=nn.parse(i)}return t}))}};(function(e){e[e["FILL"]=0]="FILL",e[e["STROKE"]=1]="STROKE",e[e["MARKERS"]=2]="MARKERS"})(Wo||(Wo={}));var ea,ta={name:"paint-order",initialValue:"normal",prefix:!1,type:fn.LIST,parse:function(e){var t=[Wo.FILL,Wo.STROKE,Wo.MARKERS],r=[];return e.filter(Dr).forEach((function(e){switch(e.value){case"stroke":r.push(Wo.STROKE);break;case"fill":r.push(Wo.FILL);break;case"markers":r.push(Wo.MARKERS);break}})),t.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}},ra={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:fn.TYPE_VALUE,format:"color"},na={name:"-webkit-text-stroke-width",initialValue:"0",type:fn.VALUE,prefix:!1,parse:function(e){return Br(e)?e.number:0}},ia=function(){function e(e){var t,r;this.backgroundClip=sa(gn,e.backgroundClip),this.backgroundColor=sa(yn,e.backgroundColor),this.backgroundImage=sa(di,e.backgroundImage),this.backgroundOrigin=sa(hi,e.backgroundOrigin),this.backgroundPosition=sa(vi,e.backgroundPosition),this.backgroundRepeat=sa(gi,e.backgroundRepeat),this.backgroundSize=sa(xi,e.backgroundSize),this.borderTopColor=sa(_i,e.borderTopColor),this.borderRightColor=sa(Ei,e.borderRightColor),this.borderBottomColor=sa(ki,e.borderBottomColor),this.borderLeftColor=sa(Ti,e.borderLeftColor),this.borderTopLeftRadius=sa(Si,e.borderTopLeftRadius),this.borderTopRightRadius=sa(Oi,e.borderTopRightRadius),this.borderBottomRightRadius=sa(Mi,e.borderBottomRightRadius),this.borderBottomLeftRadius=sa(Pi,e.borderBottomLeftRadius),this.borderTopStyle=sa(Di,e.borderTopStyle),this.borderRightStyle=sa(Ii,e.borderRightStyle),this.borderBottomStyle=sa(ji,e.borderBottomStyle),this.borderLeftStyle=sa(Ri,e.borderLeftStyle),this.borderTopWidth=sa(Ni,e.borderTopWidth),this.borderRightWidth=sa(zi,e.borderRightWidth),this.borderBottomWidth=sa(Ui,e.borderBottomWidth),this.borderLeftWidth=sa(Hi,e.borderLeftWidth),this.boxShadow=sa(Jo,e.boxShadow),this.color=sa(Vi,e.color),this.display=sa(Qi,e.display),this.float=sa(qi,e.cssFloat),this.fontFamily=sa(Uo,e.fontFamily),this.fontSize=sa(Ho,e.fontSize),this.fontStyle=sa(Ko,e.fontStyle),this.fontVariant=sa(Qo,e.fontVariant),this.fontWeight=sa(Vo,e.fontWeight),this.letterSpacing=sa(Gi,e.letterSpacing),this.lineBreak=sa(Yi,e.lineBreak),this.lineHeight=sa(Xi,e.lineHeight),this.listStyleImage=sa(Ji,e.listStyleImage),this.listStylePosition=sa(to,e.listStylePosition),this.listStyleType=sa(no,e.listStyleType),this.marginTop=sa(oo,e.marginTop),this.marginRight=sa(ao,e.marginRight),this.marginBottom=sa(so,e.marginBottom),this.marginLeft=sa(lo,e.marginLeft),this.opacity=sa(Fo,e.opacity);var n=sa(co,e.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=sa(po,e.overflowWrap),this.paddingTop=sa(vo,e.paddingTop),this.paddingRight=sa(mo,e.paddingRight),this.paddingBottom=sa(go,e.paddingBottom),this.paddingLeft=sa(yo,e.paddingLeft),this.paintOrder=sa(ta,e.paintOrder),this.position=sa(wo,e.position),this.textAlign=sa(xo,e.textAlign),this.textDecorationColor=sa(No,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=sa(zo,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=sa(_o,e.textShadow),this.textTransform=sa(ko,e.textTransform),this.transform=sa(To,e.transform),this.transformOrigin=sa(Bo,e.transformOrigin),this.visibility=sa(Do,e.visibility),this.webkitTextStrokeColor=sa(ra,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=sa(na,e.webkitTextStrokeWidth),this.wordBreak=sa(jo,e.wordBreak),this.zIndex=sa(Ro,e.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Eo.VISIBLE},e.prototype.isTransparent=function(){return on(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return this.position!==bo.STATIC},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==Bi.NONE},e.prototype.isInlineLevel=function(){return qo(this.display,4)||qo(this.display,33554432)||qo(this.display,268435456)||qo(this.display,536870912)||qo(this.display,67108864)||qo(this.display,134217728)},e}(),oa=function(){function e(e){this.content=sa(Go,e.content),this.quotes=sa(Xo,e.quotes)}return e}(),aa=function(){function e(e){this.counterIncrement=sa($o,e.counterIncrement),this.counterReset=sa(Yo,e.counterReset)}return e}(),sa=function(e,t){var r=new Mr,n=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;r.write(n);var i=new Pr(r.read());switch(e.type){case fn.IDENT_VALUE:var o=i.parseComponentValue();return e.parse(Dr(o)?o.value:e.initialValue);case fn.VALUE:return e.parse(i.parseComponentValue());case fn.LIST:return e.parse(i.parseComponentValues());case fn.TOKEN_VALUE:return i.parseComponentValue();case fn.TYPE_VALUE:switch(e.format){case"angle":return Jr.parse(i.parseComponentValue());case"color":return nn.parse(i.parseComponentValue());case"image":return ui.parse(i.parseComponentValue());case"length":var a=i.parseComponentValue();return Ur(a)?a:Qr;case"length-percentage":var s=i.parseComponentValue();return Hr(s)?s:Qr}break}},la=function(){function e(e){this.styles=new ia(window.getComputedStyle(e,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&Ka(e)&&(e.style.transform="none"),this.bounds=s(e),this.flags=0}return e}(),ua=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),ca=function(e,t,r){var n=da(e,t),i=[],o=0;return n.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(jn.SUPPORT_RANGE_BOUNDS)i.push(new ua(e,pa(r,o,e.length)));else{var n=r.splitText(e.length);i.push(new ua(e,fa(r))),r=n}else jn.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));o+=e.length})),i},fa=function(e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=s(r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return new a(0,0,0,0)},pa=function(e,t,r){var n=e.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(e,t),i.setEnd(e,t+r),a.fromClientRect(i.getBoundingClientRect())},da=function(e,t){return 0!==t.letterSpacing?u(e).map((function(e){return c(e)})):va(e,t)},ha=[32,160,4961,65792,65793,4153,4241],va=function(e,t){var r,n=Qe(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===uo.BREAK_WORD?"break-word":t.wordBreak}),i=[],o=function(){if(r.value){var e=r.value.slice(),t=u(e),n="";t.forEach((function(e){-1===ha.indexOf(e)?n+=c(e):(n.length&&i.push(n),i.push(c(e)),n="")})),n.length&&i.push(n)}};while(!(r=n.next()).done)o();return i},ma=function(){function e(e,t){this.text=ga(e.data,t.textTransform),this.textBounds=ca(this.text,t,e)}return e}(),ga=function(e,t){switch(t){case Ao.LOWERCASE:return e.toLowerCase();case Ao.CAPITALIZE:return e.replace(ya,ba);case Ao.UPPERCASE:return e.toUpperCase();default:return e}},ya=/(^|\s|:|-|\(|\))([a-z])/g,ba=function(e,t,r){return e.length>0?t+r.toUpperCase():e},xa=function(e){function r(t){var r=e.call(this,t)||this;return r.src=t.currentSrc||t.src,r.intrinsicWidth=t.naturalWidth,r.intrinsicHeight=t.naturalHeight,Fn.getInstance().addImage(r.src),r}return t(r,e),r}(la),Aa=function(e){function r(t){var r=e.call(this,t)||this;return r.canvas=t,r.intrinsicWidth=t.width,r.intrinsicHeight=t.height,r}return t(r,e),r}(la),wa=function(e){function r(t){var r=e.call(this,t)||this,n=new XMLSerializer,i=s(t);return t.setAttribute("width",i.width+"px"),t.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),r.intrinsicWidth=t.width.baseVal.value,r.intrinsicHeight=t.height.baseVal.value,Fn.getInstance().addImage(r.svg),r}return t(r,e),r}(la),_a=function(e){function r(t){var r=e.call(this,t)||this;return r.value=t.value,r}return t(r,e),r}(la),Ea=function(e){function r(t){var r=e.call(this,t)||this;return r.start=t.start,r.reversed="boolean"===typeof t.reversed&&!0===t.reversed,r}return t(r,e),r}(la),ka=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Ta=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],Ca=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Sa=function(e){var t=e.type===Pa?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t},Oa="checkbox",Ma="radio",Pa="password",Ba=707406591,La=function(e){function r(t){var r=e.call(this,t)||this;switch(r.type=t.type.toLowerCase(),r.checked=t.checked,r.value=Sa(t),r.type!==Oa&&r.type!==Ma||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=bi.SOLID,r.styles.backgroundClip=[pn.BORDER_BOX],r.styles.backgroundOrigin=[0],r.bounds=Ca(r.bounds)),r.type){case Oa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=ka;break;case Ma:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Ta;break}return r}return t(r,e),r}(la),Da=function(e){function r(t){var r=e.call(this,t)||this,n=t.options[t.selectedIndex||0];return r.value=n&&n.text||"",r}return t(r,e),r}(la),Ia=function(e){function r(t){var r=e.call(this,t)||this;return r.value=t.value,r}return t(r,e),r}(la),ja=function(e){return nn.parse(Pr.create(e).parseComponentValue())},Ra=function(e){function r(t){var r=e.call(this,t)||this;r.src=t.src,r.width=parseInt(t.width,10)||0,r.height=parseInt(t.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){r.tree=Ua(t.contentWindow.document.documentElement);var n=t.contentWindow.document.documentElement?ja(getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):vn.TRANSPARENT,i=t.contentWindow.document.body?ja(getComputedStyle(t.contentWindow.document.body).backgroundColor):vn.TRANSPARENT;r.backgroundColor=on(n)?on(i)?r.styles.backgroundColor:i:n}}catch(Nt){}return r}return t(r,e),r}(la),Fa=["OL","UL","MENU"],Na=function(e,t,r){for(var n=e.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,Qa(n)&&n.data.trim().length>0)t.textNodes.push(new ma(n,t.styles));else if(Wa(n))if(ss(n)&&n.assignedNodes)n.assignedNodes().forEach((function(e){return Na(e,t,r)}));else{var o=za(n);o.styles.isVisible()&&(Ha(n,o,r)?o.flags|=4:Va(o.styles)&&(o.flags|=2),-1!==Fa.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),n.slot,n.shadowRoot?Na(n.shadowRoot,o,r):os(n)||Za(n)||as(n)||Na(n,o,r))}},za=function(e){return ts(e)?new xa(e):es(e)?new Aa(e):Za(e)?new wa(e):Ga(e)?new _a(e):$a(e)?new Ea(e):Ya(e)?new La(e):as(e)?new Da(e):os(e)?new Ia(e):rs(e)?new Ra(e):new la(e)},Ua=function(e){var t=za(e);return t.flags|=4,Na(e,t,t),t},Ha=function(e,t,r){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Ja(e)&&r.styles.isTransparent()},Va=function(e){return e.isPositioned()||e.isFloating()},Qa=function(e){return e.nodeType===Node.TEXT_NODE},Wa=function(e){return e.nodeType===Node.ELEMENT_NODE},Ka=function(e){return Wa(e)&&"undefined"!==typeof e.style&&!qa(e)},qa=function(e){return"object"===typeof e.className},Ga=function(e){return"LI"===e.tagName},$a=function(e){return"OL"===e.tagName},Ya=function(e){return"INPUT"===e.tagName},Xa=function(e){return"HTML"===e.tagName},Za=function(e){return"svg"===e.tagName},Ja=function(e){return"BODY"===e.tagName},es=function(e){return"CANVAS"===e.tagName},ts=function(e){return"IMG"===e.tagName},rs=function(e){return"IFRAME"===e.tagName},ns=function(e){return"STYLE"===e.tagName},is=function(e){return"SCRIPT"===e.tagName},os=function(e){return"TEXTAREA"===e.tagName},as=function(e){return"SELECT"===e.tagName},ss=function(e){return"SLOT"===e.tagName},ls=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;null!==r&&r.forEach((function(e){var r=t.counters[e.counter];r&&0!==e.increment&&(i=!1,r[Math.max(0,r.length-1)]+=e.increment)}));var o=[];return i&&n.forEach((function(e){var r=t.counters[e.counter];o.push(e.counter),r||(r=t.counters[e.counter]=[]),r.push(e.reset)})),o},e}(),us={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},cs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},fs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ps={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ds=function(e,t,r,n,i,o){return e<t||e>r?Ts(e,i,o.length>0):n.integers.reduce((function(t,r,i){while(e>=r)e-=r,t+=n.values[i];return t}),"")+o},hs=function(e,t,r,n){var i="";do{r||e--,i=n(e)+i,e/=t}while(e*t>=t);return i},vs=function(e,t,r,n,i){var o=r-t+1;return(e<0?"-":"")+(hs(Math.abs(e),o,n,(function(e){return c(Math.floor(e%o)+t)}))+i)},ms=function(e,t,r){void 0===r&&(r=". ");var n=t.length;return hs(Math.abs(e),n,!1,(function(e){return t[Math.floor(e%n)]}))+r},gs=1,ys=2,bs=4,xs=8,As=function(e,t,r,n,i,o){if(e<-9999||e>9999)return Ts(e,eo.CJK_DECIMAL,i.length>0);var a=Math.abs(e),s=i;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var u=a%10;0===u&&qo(o,gs)&&""!==s?s=t[u]+s:u>1||1===u&&0===l||1===u&&1===l&&qo(o,ys)||1===u&&1===l&&qo(o,bs)&&e>100||1===u&&l>1&&qo(o,xs)?s=t[u]+(l>0?r[l-1]:"")+s:1===u&&l>0&&(s=r[l-1]+s),a=Math.floor(a/10)}return(e<0?n:"")+s},ws="十百千萬",_s="拾佰仟萬",Es="マイナス",ks="마이너스",Ts=function(e,t,r){var n=r?". ":"",i=r?"、":"",o=r?", ":"",a=r?" ":"";switch(t){case eo.DISC:return"•"+a;case eo.CIRCLE:return"◦"+a;case eo.SQUARE:return"◾"+a;case eo.DECIMAL_LEADING_ZERO:var s=vs(e,48,57,!0,n);return s.length<4?"0"+s:s;case eo.CJK_DECIMAL:return ms(e,"〇一二三四五六七八九",i);case eo.LOWER_ROMAN:return ds(e,1,3999,us,eo.DECIMAL,n).toLowerCase();case eo.UPPER_ROMAN:return ds(e,1,3999,us,eo.DECIMAL,n);case eo.LOWER_GREEK:return vs(e,945,969,!1,n);case eo.LOWER_ALPHA:return vs(e,97,122,!1,n);case eo.UPPER_ALPHA:return vs(e,65,90,!1,n);case eo.ARABIC_INDIC:return vs(e,1632,1641,!0,n);case eo.ARMENIAN:case eo.UPPER_ARMENIAN:return ds(e,1,9999,cs,eo.DECIMAL,n);case eo.LOWER_ARMENIAN:return ds(e,1,9999,cs,eo.DECIMAL,n).toLowerCase();case eo.BENGALI:return vs(e,2534,2543,!0,n);case eo.CAMBODIAN:case eo.KHMER:return vs(e,6112,6121,!0,n);case eo.CJK_EARTHLY_BRANCH:return ms(e,"子丑寅卯辰巳午未申酉戌亥",i);case eo.CJK_HEAVENLY_STEM:return ms(e,"甲乙丙丁戊己庚辛壬癸",i);case eo.CJK_IDEOGRAPHIC:case eo.TRAD_CHINESE_INFORMAL:return As(e,"零一二三四五六七八九",ws,"負",i,ys|bs|xs);case eo.TRAD_CHINESE_FORMAL:return As(e,"零壹貳參肆伍陸柒捌玖",_s,"負",i,gs|ys|bs|xs);case eo.SIMP_CHINESE_INFORMAL:return As(e,"零一二三四五六七八九",ws,"负",i,ys|bs|xs);case eo.SIMP_CHINESE_FORMAL:return As(e,"零壹贰叁肆伍陆柒捌玖",_s,"负",i,gs|ys|bs|xs);case eo.JAPANESE_INFORMAL:return As(e,"〇一二三四五六七八九","十百千万",Es,i,0);case eo.JAPANESE_FORMAL:return As(e,"零壱弐参四伍六七八九","拾百千万",Es,i,gs|ys|bs);case eo.KOREAN_HANGUL_FORMAL:return As(e,"영일이삼사오육칠팔구","십백천만",ks,o,gs|ys|bs);case eo.KOREAN_HANJA_INFORMAL:return As(e,"零一二三四五六七八九","十百千萬",ks,o,0);case eo.KOREAN_HANJA_FORMAL:return As(e,"零壹貳參四五六七八九","拾百千",ks,o,gs|ys|bs);case eo.DEVANAGARI:return vs(e,2406,2415,!0,n);case eo.GEORGIAN:return ds(e,1,19999,ps,eo.DECIMAL,n);case eo.GUJARATI:return vs(e,2790,2799,!0,n);case eo.GURMUKHI:return vs(e,2662,2671,!0,n);case eo.HEBREW:return ds(e,1,10999,fs,eo.DECIMAL,n);case eo.HIRAGANA:return ms(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case eo.HIRAGANA_IROHA:return ms(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case eo.KANNADA:return vs(e,3302,3311,!0,n);case eo.KATAKANA:return ms(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case eo.KATAKANA_IROHA:return ms(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case eo.LAO:return vs(e,3792,3801,!0,n);case eo.MONGOLIAN:return vs(e,6160,6169,!0,n);case eo.MYANMAR:return vs(e,4160,4169,!0,n);case eo.ORIYA:return vs(e,2918,2927,!0,n);case eo.PERSIAN:return vs(e,1776,1785,!0,n);case eo.TAMIL:return vs(e,3046,3055,!0,n);case eo.TELUGU:return vs(e,3174,3183,!0,n);case eo.THAI:return vs(e,3664,3673,!0,n);case eo.TIBETAN:return vs(e,3872,3881,!0,n);case eo.DECIMAL:default:return vs(e,48,57,!0,n)}},Cs="data-html2canvas-ignore",Ss=function(){function e(e,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new ls,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement)}return e.prototype.toIFrame=function(e,t){var r=this,o=Ms(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=o.contentWindow,u=l.document,c=Ls(o).then((function(){return n(r,void 0,void 0,(function(){var e,r;return i(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(Fs),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(u.documentElement.style.top=-t.top+"px",u.documentElement.style.left=-t.left+"px",u.documentElement.style.position="absolute")),e=this.options.onclone,r=this.clonedReferenceElement,"undefined"===typeof r?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Bs(u)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(u,r)})).then((function(){return o}))]:[2,o]}}))}))}));return u.open(),u.write(js(document.doctype)+"<html></html>"),Rs(this.referenceElement.ownerDocument,a,s),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},e.prototype.createElementClone=function(e){if(es(e))return this.createCanvasClone(e);if(ns(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ts(t)&&"lazy"===t.loading&&(t.loading="eager"),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(Nt){if(Rn.getInstance(this.options.id).error("Unable to access cssRules property",Nt),"SecurityError"!==Nt.name)throw Nt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){if(this.options.inlineImages&&e.ownerDocument){var t=e.ownerDocument.createElement("img");try{return t.src=e.toDataURL(),t}catch(Nt){Rn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var n=e.getContext("2d"),i=r.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,e.width,e.height),0,0):i.drawImage(e,0,0)),r}catch(Nt){}return r},e.prototype.cloneNode=function(e){if(Qa(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var t=e.ownerDocument.defaultView;if(t&&Wa(e)&&(Ka(e)||qa(e))){var r=this.createElementClone(e),n=t.getComputedStyle(e),i=t.getComputedStyle(e,":before"),o=t.getComputedStyle(e,":after");this.referenceElement===e&&Ka(r)&&(this.clonedReferenceElement=r),Ja(r)&&Qs(r);for(var a=this.counters.parse(new aa(n)),s=this.resolvePseudoContent(e,r,i,ea.BEFORE),l=e.firstChild;l;l=l.nextSibling)Wa(l)&&(is(l)||l.hasAttribute(Cs)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(l))||this.options.copyStyles&&Wa(l)&&ns(l)||r.appendChild(this.cloneNode(l));s&&r.insertBefore(s,r.firstChild);var u=this.resolvePseudoContent(e,r,o,ea.AFTER);return u&&r.appendChild(u),this.counters.pop(a),n&&(this.options.copyStyles||qa(e))&&!rs(e)&&Is(n,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(os(e)||as(e))&&(os(r)||as(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var o=r.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==r.display){this.counters.parse(new aa(r));var s=new oa(r),l=a.createElement("html2canvaspseudoelement");Is(r,l),s.content.forEach((function(t){if(t.type===h.STRING_TOKEN)l.appendChild(a.createTextNode(t.value));else if(t.type===h.URL_TOKEN){var r=a.createElement("img");r.src=t.value,r.style.opacity="1",l.appendChild(r)}else if(t.type===h.FUNCTION){if("attr"===t.name){var n=t.values.filter(Dr);n.length&&l.appendChild(a.createTextNode(e.getAttribute(n[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Fr),u=o[0],c=o[1];if(u&&Dr(u)){var f=i.counters.getCounterValue(u.value),p=c&&Dr(c)?no.parse(c.value):eo.DECIMAL;l.appendChild(a.createTextNode(Ts(f,p,!1)))}}else if("counters"===t.name){var d=t.values.filter(Fr),v=(u=d[0],d[1]);c=d[2];if(u&&Dr(u)){var m=i.counters.getCounterValues(u.value),g=c&&Dr(c)?no.parse(c.value):eo.DECIMAL,y=v&&v.type===h.STRING_TOKEN?v.value:"",b=m.map((function(e){return Ts(e,g,!1)})).join(y);l.appendChild(a.createTextNode(b))}}}else if(t.type===h.IDENT_TOKEN)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(Zo(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(Zo(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}})),l.className=Us+" "+Hs;var u=n===ea.BEFORE?" "+Us:" "+Hs;return qa(t)?t.className.baseValue+=u:t.className+=u,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(function(e){e[e["BEFORE"]=0]="BEFORE",e[e["AFTER"]=1]="AFTER"})(ea||(ea={}));var Os,Ms=function(e,t){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute(Cs,"true"),e.body.appendChild(r),r},Ps=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},Bs=function(e){return Promise.all([].slice.call(e.images,0).map(Ps))},Ls=function(e){return new Promise((function(t,r){var n=e.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=e.onload=function(){n.onload=e.onload=null;var r=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(r),t(e))}),50)}}))},Ds=["all","d","content"],Is=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e.item(r);-1===Ds.indexOf(n)&&t.style.setProperty(n,e.getPropertyValue(n))}return t},js=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},Rs=function(e,t,r){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,r)},Fs=function(e){var t=e[0],r=e[1],n=e[2];t.scrollLeft=r,t.scrollTop=n},Ns=":before",zs=":after",Us="___html2canvas___pseudoelement_before",Hs="___html2canvas___pseudoelement_after",Vs='{\n content: "" !important;\n display: none !important;\n}',Qs=function(e){Ws(e,"."+Us+Ns+Vs+"\n ."+Hs+zs+Vs)},Ws=function(e,t){var r=e.ownerDocument;if(r){var n=r.createElement("style");n.textContent=t,e.appendChild(n)}};(function(e){e[e["VECTOR"]=0]="VECTOR",e[e["BEZIER_CURVE"]=1]="BEZIER_CURVE"})(Os||(Os={}));var Ks,qs=function(e,t){return e.length===t.length&&e.some((function(e,r){return e===t[r]}))},Gs=function(e,t,r,n,i){return e.map((function(e,o){switch(o){case 0:return e.add(t,r);case 1:return e.add(t+n,r);case 2:return e.add(t+n,r+i);case 3:return e.add(t,r+i)}return e}))},$s=function(){function e(e,t){this.type=Os.VECTOR,this.x=e,this.y=t}return e.prototype.add=function(t,r){return new e(this.x+t,this.y+r)},e}(),Ys=function(e,t,r){return new $s(e.x+(t.x-e.x)*r,e.y+(t.y-e.y)*r)},Xs=function(){function e(e,t,r,n){this.type=Os.BEZIER_CURVE,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return e.prototype.subdivide=function(t,r){var n=Ys(this.start,this.startControl,t),i=Ys(this.startControl,this.endControl,t),o=Ys(this.endControl,this.end,t),a=Ys(n,i,t),s=Ys(i,o,t),l=Ys(a,s,t);return r?new e(this.start,n,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,r){return new e(this.start.add(t,r),this.startControl.add(t,r),this.endControl.add(t,r),this.end.add(t,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Zs=function(e){return e.type===Os.BEZIER_CURVE},Js=function(){function e(e){var t=e.styles,r=e.bounds,n=qr(t.borderTopLeftRadius,r.width,r.height),i=n[0],o=n[1],a=qr(t.borderTopRightRadius,r.width,r.height),s=a[0],l=a[1],u=qr(t.borderBottomRightRadius,r.width,r.height),c=u[0],f=u[1],p=qr(t.borderBottomLeftRadius,r.width,r.height),d=p[0],h=p[1],v=[];v.push((i+s)/r.width),v.push((d+c)/r.width),v.push((o+h)/r.height),v.push((l+f)/r.height);var m=Math.max.apply(Math,v);m>1&&(i/=m,o/=m,s/=m,l/=m,c/=m,f/=m,d/=m,h/=m);var g=r.width-s,y=r.height-f,b=r.width-c,x=r.height-h,A=t.borderTopWidth,w=t.borderRightWidth,_=t.borderBottomWidth,E=t.borderLeftWidth,k=Gr(t.paddingTop,e.bounds.width),T=Gr(t.paddingRight,e.bounds.width),C=Gr(t.paddingBottom,e.bounds.width),S=Gr(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?el(r.left+E/3,r.top+A/3,i-E/3,o-A/3,Ks.TOP_LEFT):new $s(r.left+E/3,r.top+A/3),this.topRightBorderDoubleOuterBox=i>0||o>0?el(r.left+g,r.top+A/3,s-w/3,l-A/3,Ks.TOP_RIGHT):new $s(r.left+r.width-w/3,r.top+A/3),this.bottomRightBorderDoubleOuterBox=c>0||f>0?el(r.left+b,r.top+y,c-w/3,f-_/3,Ks.BOTTOM_RIGHT):new $s(r.left+r.width-w/3,r.top+r.height-_/3),this.bottomLeftBorderDoubleOuterBox=d>0||h>0?el(r.left+E/3,r.top+x,d-E/3,h-_/3,Ks.BOTTOM_LEFT):new $s(r.left+E/3,r.top+r.height-_/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?el(r.left+2*E/3,r.top+2*A/3,i-2*E/3,o-2*A/3,Ks.TOP_LEFT):new $s(r.left+2*E/3,r.top+2*A/3),this.topRightBorderDoubleInnerBox=i>0||o>0?el(r.left+g,r.top+2*A/3,s-2*w/3,l-2*A/3,Ks.TOP_RIGHT):new $s(r.left+r.width-2*w/3,r.top+2*A/3),this.bottomRightBorderDoubleInnerBox=c>0||f>0?el(r.left+b,r.top+y,c-2*w/3,f-2*_/3,Ks.BOTTOM_RIGHT):new $s(r.left+r.width-2*w/3,r.top+r.height-2*_/3),this.bottomLeftBorderDoubleInnerBox=d>0||h>0?el(r.left+2*E/3,r.top+x,d-2*E/3,h-2*_/3,Ks.BOTTOM_LEFT):new $s(r.left+2*E/3,r.top+r.height-2*_/3),this.topLeftBorderStroke=i>0||o>0?el(r.left+E/2,r.top+A/2,i-E/2,o-A/2,Ks.TOP_LEFT):new $s(r.left+E/2,r.top+A/2),this.topRightBorderStroke=i>0||o>0?el(r.left+g,r.top+A/2,s-w/2,l-A/2,Ks.TOP_RIGHT):new $s(r.left+r.width-w/2,r.top+A/2),this.bottomRightBorderStroke=c>0||f>0?el(r.left+b,r.top+y,c-w/2,f-_/2,Ks.BOTTOM_RIGHT):new $s(r.left+r.width-w/2,r.top+r.height-_/2),this.bottomLeftBorderStroke=d>0||h>0?el(r.left+E/2,r.top+x,d-E/2,h-_/2,Ks.BOTTOM_LEFT):new $s(r.left+E/2,r.top+r.height-_/2),this.topLeftBorderBox=i>0||o>0?el(r.left,r.top,i,o,Ks.TOP_LEFT):new $s(r.left,r.top),this.topRightBorderBox=s>0||l>0?el(r.left+g,r.top,s,l,Ks.TOP_RIGHT):new $s(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||f>0?el(r.left+b,r.top+y,c,f,Ks.BOTTOM_RIGHT):new $s(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=d>0||h>0?el(r.left,r.top+x,d,h,Ks.BOTTOM_LEFT):new $s(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||o>0?el(r.left+E,r.top+A,Math.max(0,i-E),Math.max(0,o-A),Ks.TOP_LEFT):new $s(r.left+E,r.top+A),this.topRightPaddingBox=s>0||l>0?el(r.left+Math.min(g,r.width-w),r.top+A,g>r.width+w?0:Math.max(0,s-w),Math.max(0,l-A),Ks.TOP_RIGHT):new $s(r.left+r.width-w,r.top+A),this.bottomRightPaddingBox=c>0||f>0?el(r.left+Math.min(b,r.width-E),r.top+Math.min(y,r.height-_),Math.max(0,c-w),Math.max(0,f-_),Ks.BOTTOM_RIGHT):new $s(r.left+r.width-w,r.top+r.height-_),this.bottomLeftPaddingBox=d>0||h>0?el(r.left+E,r.top+Math.min(x,r.height-_),Math.max(0,d-E),Math.max(0,h-_),Ks.BOTTOM_LEFT):new $s(r.left+E,r.top+r.height-_),this.topLeftContentBox=i>0||o>0?el(r.left+E+S,r.top+A+k,Math.max(0,i-(E+S)),Math.max(0,o-(A+k)),Ks.TOP_LEFT):new $s(r.left+E+S,r.top+A+k),this.topRightContentBox=s>0||l>0?el(r.left+Math.min(g,r.width+E+S),r.top+A+k,g>r.width+E+S?0:s-E+S,l-(A+k),Ks.TOP_RIGHT):new $s(r.left+r.width-(w+T),r.top+A+k),this.bottomRightContentBox=c>0||f>0?el(r.left+Math.min(b,r.width-(E+S)),r.top+Math.min(y,r.height+A+k),Math.max(0,c-(w+T)),f-(_+C),Ks.BOTTOM_RIGHT):new $s(r.left+r.width-(w+T),r.top+r.height-(_+C)),this.bottomLeftContentBox=d>0||h>0?el(r.left+E+S,r.top+x,Math.max(0,d-(E+S)),h-(_+C),Ks.BOTTOM_LEFT):new $s(r.left+E+S,r.top+r.height-(_+C))}return e}();(function(e){e[e["TOP_LEFT"]=0]="TOP_LEFT",e[e["TOP_RIGHT"]=1]="TOP_RIGHT",e[e["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",e[e["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Ks||(Ks={}));var el=function(e,t,r,n,i){var o=(Math.sqrt(2)-1)/3*4,a=r*o,s=n*o,l=e+r,u=t+n;switch(i){case Ks.TOP_LEFT:return new Xs(new $s(e,u),new $s(e,u-s),new $s(l-a,t),new $s(l,t));case Ks.TOP_RIGHT:return new Xs(new $s(e,t),new $s(e+a,t),new $s(l,u-s),new $s(l,u));case Ks.BOTTOM_RIGHT:return new Xs(new $s(l,t),new $s(l,t+s),new $s(e+a,u),new $s(e,u));case Ks.BOTTOM_LEFT:default:return new Xs(new $s(l,u),new $s(l-a,u),new $s(e,t+s),new $s(e,t))}},tl=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},rl=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},nl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},il=function(){function e(e,t,r){this.type=0,this.target=6,this.offsetX=e,this.offsetY=t,this.matrix=r}return e}(),ol=function(){function e(e,t){this.type=1,this.target=t,this.path=e}return e}(),al=function(){function e(e){this.type=2,this.target=6,this.opacity=e}return e}(),sl=function(e){return 0===e.type},ll=function(e){return 1===e.type},ul=function(e){return 2===e.type},cl=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),fl=function(){function e(e,t){if(this.container=e,this.effects=t.slice(0),this.curves=new Js(e),e.styles.opacity<1&&this.effects.push(new al(e.styles.opacity)),null!==e.styles.transform){var r=e.bounds.left+e.styles.transformOrigin[0].number,n=e.bounds.top+e.styles.transformOrigin[1].number,i=e.styles.transform;this.effects.push(new il(r,n,i))}if(e.styles.overflowX!==ro.VISIBLE){var o=tl(this.curves),a=nl(this.curves);qs(o,a)?this.effects.push(new ol(o,6)):(this.effects.push(new ol(o,2)),this.effects.push(new ol(a,4)))}}return e.prototype.getParentEffects=function(){var e=this.effects.slice(0);if(this.container.styles.overflowX!==ro.VISIBLE){var t=tl(this.curves),r=nl(this.curves);qs(t,r)||e.push(new ol(r,6))}return e},e}(),pl=function(e,t,r,n){e.container.elements.forEach((function(i){var o=qo(i.flags,4),a=qo(i.flags,2),s=new fl(i,e.getParentEffects());qo(i.styles.display,2048)&&n.push(s);var l=qo(i.flags,8)?[]:n;if(o||a){var u=o||i.styles.isPositioned()?r:t,c=new cl(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var f=i.styles.zIndex.order;if(f<0){var p=0;u.negativeZIndex.some((function(e,t){return f>e.element.container.styles.zIndex.order?(p=t,!1):p>0})),u.negativeZIndex.splice(p,0,c)}else if(f>0){var d=0;u.positiveZIndex.some((function(e,t){return f>=e.element.container.styles.zIndex.order?(d=t+1,!1):d>0})),u.positiveZIndex.splice(d,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);pl(s,c,o?c:r,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),pl(s,t,r,l);qo(i.flags,8)&&dl(i,l)}))},dl=function(e,t){for(var r=e instanceof Ea?e.start:1,n=e instanceof Ea&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof _a&&"number"===typeof o.container.value&&0!==o.container.value&&(r=o.container.value),o.listValue=Ts(r,o.container.styles.listStyleType,!0),r+=n?-1:1}},hl=function(e){var t=new fl(e,[]),r=new cl(t),n=[];return pl(t,r,r,n),dl(t.container,n),r},vl=function(e,t){switch(t){case 0:return xl(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return xl(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return xl(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return xl(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},ml=function(e,t){switch(t){case 0:return xl(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return xl(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return xl(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return xl(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},gl=function(e,t){switch(t){case 0:return xl(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return xl(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return xl(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return xl(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},yl=function(e,t){switch(t){case 0:return bl(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return bl(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return bl(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return bl(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},bl=function(e,t){var r=[];return Zs(e)?r.push(e.subdivide(.5,!1)):r.push(e),Zs(t)?r.push(t.subdivide(.5,!0)):r.push(t),r},xl=function(e,t,r,n){var i=[];return Zs(e)?i.push(e.subdivide(.5,!1)):i.push(e),Zs(r)?i.push(r.subdivide(.5,!0)):i.push(r),Zs(n)?i.push(n.subdivide(.5,!0).reverse()):i.push(n),Zs(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},Al=function(e){var t=e.bounds,r=e.styles;return t.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wl=function(e){var t=e.styles,r=e.bounds,n=Gr(t.paddingLeft,r.width),i=Gr(t.paddingRight,r.width),o=Gr(t.paddingTop,r.width),a=Gr(t.paddingBottom,r.width);return r.add(n+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+n+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},_l=function(e,t){return 0===e?t.bounds:2===e?wl(t):Al(t)},El=function(e,t){return e===pn.BORDER_BOX?t.bounds:e===pn.CONTENT_BOX?wl(t):Al(t)},kl=function(e,t,r){var n=_l(Ol(e.styles.backgroundOrigin,t),e),i=El(Ol(e.styles.backgroundClip,t),e),o=Sl(Ol(e.styles.backgroundSize,t),r,n),a=o[0],s=o[1],l=qr(Ol(e.styles.backgroundPosition,t),n.width-a,n.height-s),u=Ml(Ol(e.styles.backgroundRepeat,t),l,o,n,i),c=Math.round(n.left+l[0]),f=Math.round(n.top+l[1]);return[u,c,f,a,s]},Tl=function(e){return Dr(e)&&e.value===mi.AUTO},Cl=function(e){return"number"===typeof e},Sl=function(e,t,r){var n=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Hr(a)&&s&&Hr(s))return[Gr(a,r.width),Gr(s,r.height)];var l=Cl(o);if(Dr(a)&&(a.value===mi.CONTAIN||a.value===mi.COVER)){if(Cl(o)){var u=r.width/r.height;return u<o!==(a.value===mi.COVER)?[r.width,r.width/o]:[r.height*o,r.height]}return[r.width,r.height]}var c=Cl(n),f=Cl(i),p=c||f;if(Tl(a)&&(!s||Tl(s))){if(c&&f)return[n,i];if(!l&&!p)return[r.width,r.height];if(p&&l){var d=c?n:i*o,h=f?i:n/o;return[d,h]}var v=c?n:r.width,m=f?i:r.height;return[v,m]}if(l){var g=0,y=0;return Hr(a)?g=Gr(a,r.width):Hr(s)&&(y=Gr(s,r.height)),Tl(a)?g=y*o:s&&!Tl(s)||(y=g/o),[g,y]}var b=null,x=null;if(Hr(a)?b=Gr(a,r.width):s&&Hr(s)&&(x=Gr(s,r.height)),null===b||s&&!Tl(s)||(x=c&&f?b/n*i:r.height),null!==x&&Tl(a)&&(b=c&&f?x/i*n:r.width),null!==b&&null!==x)return[b,x];throw new Error("Unable to calculate background-size for element")},Ol=function(e,t){var r=e[t];return"undefined"===typeof r?e[0]:r},Ml=function(e,t,r,n,i){var o=t[0],a=t[1],s=r[0],l=r[1];switch(e){case fi.REPEAT_X:return[new $s(Math.round(n.left),Math.round(n.top+a)),new $s(Math.round(n.left+n.width),Math.round(n.top+a)),new $s(Math.round(n.left+n.width),Math.round(l+n.top+a)),new $s(Math.round(n.left),Math.round(l+n.top+a))];case fi.REPEAT_Y:return[new $s(Math.round(n.left+o),Math.round(n.top)),new $s(Math.round(n.left+o+s),Math.round(n.top)),new $s(Math.round(n.left+o+s),Math.round(n.height+n.top)),new $s(Math.round(n.left+o),Math.round(n.height+n.top))];case fi.NO_REPEAT:return[new $s(Math.round(n.left+o),Math.round(n.top+a)),new $s(Math.round(n.left+o+s),Math.round(n.top+a)),new $s(Math.round(n.left+o+s),Math.round(n.top+a+l)),new $s(Math.round(n.left+o),Math.round(n.top+a+l))];default:return[new $s(Math.round(i.left),Math.round(i.top)),new $s(Math.round(i.left+i.width),Math.round(i.top)),new $s(Math.round(i.left+i.width),Math.round(i.height+i.top)),new $s(Math.round(i.left),Math.round(i.height+i.top))]}},Pl="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Bl="Hidden Text",Ll=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",o.appendChild(r),n.src=Pl,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Bl)),r.appendChild(i),r.appendChild(n);var a=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Bl)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var r=e+" "+t;return"undefined"===typeof this._data[r]&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},e}(),Dl=1e4,Il=function(){function e(e){this._activeEffects=[],this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px"),this.fontMetrics=new Ll(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],Rn.getInstance(e.id).debug("Canvas renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.applyEffects=function(e,t){var r=this;while(this._activeEffects.length)this.popEffect();e.filter((function(e){return qo(e.target,t)})).forEach((function(e){return r.applyEffect(e)}))},e.prototype.applyEffect=function(e){this.ctx.save(),ul(e)&&(this.ctx.globalAlpha=e.opacity),sl(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),ll(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=e.element.container.styles,t.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},e.prototype.renderNode=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},e.prototype.renderTextWithLetterSpacing=function(e,t,r){var n=this;if(0===t)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var i=u(e.text).map((function(e){return c(e)}));i.reduce((function(t,i){return n.ctx.fillText(i,t,e.bounds.top+r),t+n.ctx.measureText(i).width}),e.bounds.left)}},e.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),r=e.fontFamily.join(", "),n=Br(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,n,r].join(" "),r,n]},e.prototype.renderTextNode=function(e,t){return n(this,void 0,void 0,(function(){var r,n,o,a,s,l,u,c,f=this;return i(this,(function(i){return r=this.createFontStyle(t),n=r[0],o=r[1],a=r[2],this.ctx.font=n,this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(o,a),l=s.baseline,u=s.middle,c=t.paintOrder,e.textBounds.forEach((function(e){c.forEach((function(r){switch(r){case Wo.FILL:f.ctx.fillStyle=an(t.color),f.renderTextWithLetterSpacing(e,t.letterSpacing,l);var n=t.textShadow;n.length&&e.text.trim().length&&(n.slice(0).reverse().forEach((function(r){f.ctx.shadowColor=an(r.color),f.ctx.shadowOffsetX=r.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=r.offsetY.number*f.options.scale,f.ctx.shadowBlur=r.blur.number,f.renderTextWithLetterSpacing(e,t.letterSpacing,l)})),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),t.textDecorationLine.length&&(f.ctx.fillStyle=an(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:f.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:f.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:f.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+u),e.bounds.width,1);break}})));break;case Wo.STROKE:t.webkitTextStrokeWidth&&e.text.trim().length&&(f.ctx.strokeStyle=an(t.webkitTextStrokeColor),f.ctx.lineWidth=t.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}}))})),[2]}))}))},e.prototype.renderReplacedElement=function(e,t,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var n=wl(e),i=nl(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,(function(){var r,n,o,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),r=t.container,n=t.curves,o=r.styles,s=0,l=r.textNodes,i.label=1;case 1:return s<l.length?(u=l[s],[4,this.renderTextNode(u,o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof xa))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.options.cache.match(r.src)];case 6:return b=i.sent(),this.renderReplacedElement(r,n,b),[3,8];case 7:return i.sent(),Rn.getInstance(this.options.id).error("Error loading image "+r.src),[3,8];case 8:if(r instanceof Aa&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof wa))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.options.cache.match(r.svg)];case 10:return b=i.sent(),this.renderReplacedElement(r,n,b),[3,12];case 11:return i.sent(),Rn.getInstance(this.options.id).error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Ra&&r.tree?(c=new e({id:this.options.id,scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:r.width,height:r.height,cache:this.options.cache,windowWidth:r.width,windowHeight:r.height}),[4,c.render(r.tree)]):[3,14];case 13:f=i.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),i.label=14;case 14:if(r instanceof La&&(p=Math.min(r.bounds.width,r.bounds.height),r.type===Oa?r.checked&&(this.ctx.save(),this.path([new $s(r.bounds.left+.39363*p,r.bounds.top+.79*p),new $s(r.bounds.left+.16*p,r.bounds.top+.5549*p),new $s(r.bounds.left+.27347*p,r.bounds.top+.44071*p),new $s(r.bounds.left+.39694*p,r.bounds.top+.5649*p),new $s(r.bounds.left+.72983*p,r.bounds.top+.23*p),new $s(r.bounds.left+.84*p,r.bounds.top+.34085*p),new $s(r.bounds.left+.39363*p,r.bounds.top+.79*p)]),this.ctx.fillStyle=an(Ba),this.ctx.fill(),this.ctx.restore()):r.type===Ma&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+p/2,r.bounds.top+p/2,p/4,0,2*Math.PI,!0),this.ctx.fillStyle=an(Ba),this.ctx.fill(),this.ctx.restore())),jl(r)&&r.value.length){switch(d=this.createFontStyle(o),A=d[0],h=d[1],v=this.fontMetrics.getMetrics(A,h).baseline,this.ctx.font=A,this.ctx.fillStyle=an(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Fl(r.styles.textAlign),w=wl(r),m=0,r.styles.textAlign){case fo.CENTER:m+=w.width/2;break;case fo.RIGHT:m+=w.width;break}g=w.add(m,0,0,-w.height/2+1),this.ctx.save(),this.path([new $s(w.left,w.top),new $s(w.left+w.width,w.top),new $s(w.left+w.width,w.top+w.height),new $s(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new ua(r.value,g),o.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!qo(r.styles.display,2048))return[3,20];if(null===r.styles.listStyleImage)return[3,19];if(y=r.styles.listStyleImage,y.type!==mn.URL)return[3,18];b=void 0,x=y.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.options.cache.match(x)];case 16:return b=i.sent(),this.ctx.drawImage(b,r.bounds.left-(b.width+10),r.bounds.top),[3,18];case 17:return i.sent(),Rn.getInstance(this.options.id).error("Error loading list-style-image "+x),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==eo.NONE&&(A=this.createFontStyle(o)[0],this.ctx.font=A,this.ctx.fillStyle=an(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new a(r.bounds.left,r.bounds.top+Gr(r.styles.paddingTop,r.bounds.width),r.bounds.width,Zi(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new ua(t.listValue,w),o.letterSpacing,Zi(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},e.prototype.renderStackContent=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,a,s,l,u,c,f,p,d,h,v,m;return i(this,(function(i){switch(i.label){case 0:return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,r=e.negativeZIndex,i.label=2;case 2:return t<r.length?(m=r[t],[4,this.renderStack(m)]):[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),n=0,o=e.nonInlineLevel,i.label=7;case 7:return n<o.length?(m=o[n],[4,this.renderNode(m)]):[3,10];case 8:i.sent(),i.label=9;case 9:return n++,[3,7];case 10:a=0,s=e.nonPositionedFloats,i.label=11;case 11:return a<s.length?(m=s[a],[4,this.renderStack(m)]):[3,14];case 12:i.sent(),i.label=13;case 13:return a++,[3,11];case 14:l=0,u=e.nonPositionedInlineLevel,i.label=15;case 15:return l<u.length?(m=u[l],[4,this.renderStack(m)]):[3,18];case 16:i.sent(),i.label=17;case 17:return l++,[3,15];case 18:c=0,f=e.inlineLevel,i.label=19;case 19:return c<f.length?(m=f[c],[4,this.renderNode(m)]):[3,22];case 20:i.sent(),i.label=21;case 21:return c++,[3,19];case 22:p=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return p<d.length?(m=d[p],[4,this.renderStack(m)]):[3,26];case 24:i.sent(),i.label=25;case 25:return p++,[3,23];case 26:h=0,v=e.positiveZIndex,i.label=27;case 27:return h<v.length?(m=v[h],[4,this.renderStack(m)]):[3,30];case 28:i.sent(),i.label=29;case 29:return h++,[3,27];case 30:return[2]}}))}))},e.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},e.prototype.formatPath=function(e){var t=this;e.forEach((function(e,r){var n=Zs(e)?e.start:e;0===r?t.ctx.moveTo(n.x,n.y):t.ctx.lineTo(n.x,n.y),Zs(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},e.prototype.renderRepeat=function(e,t,r,n){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(r,n),this.ctx.fill(),this.ctx.translate(-r,-n)},e.prototype.resizeImage=function(e,t,r){var n;if(e.width===t&&e.height===r)return e;var i=null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document,o=i.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,r);var a=o.getContext("2d");return a.drawImage(e,0,0,e.width,e.height,0,0,t,r),o},e.prototype.renderBackgroundImage=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,a,s;return i(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,r=function(r){var o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C,S,O,M,P,B,L,D,I;return i(this,(function(i){switch(i.label){case 0:if(r.type!==mn.URL)return[3,5];o=void 0,a=r.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,n.options.cache.match(a)];case 2:return o=i.sent(),[3,4];case 3:return i.sent(),Rn.getInstance(n.options.id).error("Error loading background-image "+a),[3,4];case 4:return o&&(s=kl(e,t,[o.width,o.height,o.width/o.height]),x=s[0],T=s[1],C=s[2],_=s[3],E=s[4],y=n.ctx.createPattern(n.resizeImage(o,_,E),"repeat"),n.renderRepeat(x,y,T,C)),[3,6];case 5:si(r)?(l=kl(e,t,[null,null,null]),x=l[0],T=l[1],C=l[2],_=l[3],E=l[4],u=wn(r.angle,_,E),c=u[0],f=u[1],p=u[2],d=u[3],h=u[4],v=document.createElement("canvas"),v.width=_,v.height=E,m=v.getContext("2d"),g=m.createLinearGradient(f,d,p,h),xn(r.stops,c).forEach((function(e){return g.addColorStop(e.stop,an(e.color))})),m.fillStyle=g,m.fillRect(0,0,_,E),_>0&&E>0&&(y=n.ctx.createPattern(v,"repeat"),n.renderRepeat(x,y,T,C))):li(r)&&(b=kl(e,t,[null,null,null]),x=b[0],A=b[1],w=b[2],_=b[3],E=b[4],k=0===r.position.length?[Wr]:r.position,T=Gr(k[0],_),C=Gr(k[k.length-1],E),S=kn(r,T,C,_,E),O=S[0],M=S[1],O>0&&O>0&&(P=n.ctx.createRadialGradient(A+T,w+C,0,A+T,w+C,O),xn(r.stops,2*O).forEach((function(e){return P.addColorStop(e.stop,an(e.color))})),n.path(x),n.ctx.fillStyle=P,O!==M?(B=e.bounds.left+.5*e.bounds.width,L=e.bounds.top+.5*e.bounds.height,D=M/O,I=1/D,n.ctx.save(),n.ctx.translate(B,L),n.ctx.transform(1,0,0,D,0,0),n.ctx.translate(-B,-L),n.ctx.fillRect(A,I*(w-L)+L,_,E*I),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,o=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o<a.length?(s=a[o],[5,r(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2]}}))}))},e.prototype.renderSolidBorder=function(e,t,r){return n(this,void 0,void 0,(function(){return i(this,(function(n){return this.path(vl(r,t)),this.ctx.fillStyle=an(e),this.ctx.fill(),[2]}))}))},e.prototype.renderDoubleBorder=function(e,t,r,o){return n(this,void 0,void 0,(function(){var n,a;return i(this,(function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,r,o)]:[3,2];case 1:return i.sent(),[2];case 2:return n=ml(o,r),this.path(n),this.ctx.fillStyle=an(e),this.ctx.fill(),a=gl(o,r),this.path(a),this.ctx.fill(),[2]}}))}))},e.prototype.renderNodeBackgroundAndBorders=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,a,s,l,u,c=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(e.effects,2),t=e.container.styles,r=!on(t.backgroundColor)||t.backgroundImage.length,n=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],o=Rl(Ol(t.backgroundClip,0),e.curves),r||t.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),on(t.backgroundColor)||(this.ctx.fillStyle=an(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){c.ctx.save();var r=tl(e.curves),n=t.inset?0:Dl,i=Gs(r,-n+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(c.path(r),c.ctx.clip(),c.mask(i)):(c.mask(r),c.ctx.clip(),c.path(i)),c.ctx.shadowOffsetX=t.offsetX.number+n,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=an(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?an(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),i.label=2;case 2:a=0,s=0,l=n,i.label=3;case 3:return s<l.length?(u=l[s],u.style!==bi.NONE&&!on(u.color)&&u.width>0?u.style!==bi.DASHED?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,a,e.curves,bi.DASHED)]:[3,11]):[3,13];case 4:return i.sent(),[3,11];case 5:return u.style!==bi.DOTTED?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,a,e.curves,bi.DOTTED)];case 6:return i.sent(),[3,11];case 7:return u.style!==bi.DOUBLE?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,a,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,a,e.curves)];case 10:i.sent(),i.label=11;case 11:a++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(e,t,r,o,a){return n(this,void 0,void 0,(function(){var n,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A;return i(this,(function(i){return this.ctx.save(),n=yl(o,r),s=vl(o,r),a===bi.DASHED&&(this.path(s),this.ctx.clip()),Zs(s[0])?(l=s[0].start.x,u=s[0].start.y):(l=s[0].x,u=s[0].y),Zs(s[1])?(c=s[1].end.x,f=s[1].end.y):(c=s[1].x,f=s[1].y),p=0===r||2===r?Math.abs(l-c):Math.abs(u-f),this.ctx.beginPath(),a===bi.DOTTED?this.formatPath(n):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,h=t<3?2*t:t,a===bi.DOTTED&&(d=t,h=t),v=!0,p<=2*d?v=!1:p<=2*d+h?(m=p/(2*d+h),d*=m,h*=m):(g=Math.floor((p+h)/(d+h)),y=(p-g*d)/(g-1),b=(p-(g+1)*d)/g,h=b<=0||Math.abs(h-y)<Math.abs(h-b)?y:b),v&&(a===bi.DOTTED?this.ctx.setLineDash([0,d+h]):this.ctx.setLineDash([d,h])),a===bi.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=an(e),this.ctx.stroke(),this.ctx.setLineDash([]),a===bi.DASHED&&(Zs(s[0])&&(x=s[3],A=s[0],this.ctx.beginPath(),this.formatPath([new $s(x.end.x,x.end.y),new $s(A.start.x,A.start.y)]),this.ctx.stroke()),Zs(s[1])&&(x=s[1],A=s[2],this.ctx.beginPath(),this.formatPath([new $s(x.end.x,x.end.y),new $s(A.start.x,A.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},e.prototype.render=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=an(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),t=hl(e),[4,this.renderStack(t)];case 1:return r.sent(),this.applyEffects([],2),[2,this.canvas]}}))}))},e}(),jl=function(e){return e instanceof Ia||(e instanceof Da||e instanceof La&&e.type!==Ma&&e.type!==Oa)},Rl=function(e,t){switch(e){case pn.BORDER_BOX:return tl(t);case pn.CONTENT_BOX:return rl(t);case pn.PADDING_BOX:default:return nl(t)}},Fl=function(e){switch(e){case fo.CENTER:return"center";case fo.RIGHT:return"right";case fo.LEFT:default:return"left"}},Nl=function(){function e(e){this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),Rn.getInstance(e.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.render=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return t=Dn(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,e),[4,zl(t)];case 1:return r=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=an(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},e}(),zl=function(e){return new Promise((function(t,r){var n=new Image;n.onload=function(){t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Ul=function(e){return nn.parse(Pr.create(e).parseComponentValue())},Hl=function(e,t){return void 0===t&&(t={}),Ql(e,t)};"undefined"!==typeof window&&Fn.setContext(window);var Vl=1,Ql=function(e,t){return n(void 0,void 0,void 0,(function(){var n,o,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C,S,O,M,P;return i(this,(function(i){switch(i.label){case 0:if(!e||"object"!==typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(n=e.ownerDocument,!n)throw new Error("Element is not attached to a Document");if(o=n.defaultView,!o)throw new Error("Document is not attached to a Window");return u="#"+Vl++,c=Ja(e)||Xa(e)?l(n):s(e),f=c.width,p=c.height,d=c.left,h=c.top,v={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},m=r(r({},v),t),g={backgroundColor:"#ffffff",cache:t.cache?t.cache:Fn.create(u,m),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:o.devicePixelRatio||1,windowWidth:o.innerWidth,windowHeight:o.innerHeight,scrollX:o.pageXOffset,scrollY:o.pageYOffset,x:d,y:h,width:Math.ceil(f),height:Math.ceil(p),id:u},y=r(r(r({},g),m),t),b=new a(y.scrollX,y.scrollY,y.windowWidth,y.windowHeight),Rn.create({id:u,enabled:y.logging}),Rn.getInstance(u).debug("Starting document clone"),x=new Ss(e,{id:u,onclone:y.onclone,ignoreElements:y.ignoreElements,inlineImages:y.foreignObjectRendering,copyStyles:y.foreignObjectRendering}),A=x.clonedReferenceElement,A?[4,x.toIFrame(n,b)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return w=i.sent(),_=n.documentElement?Ul(getComputedStyle(n.documentElement).backgroundColor):vn.TRANSPARENT,E=n.body?Ul(getComputedStyle(n.body).backgroundColor):vn.TRANSPARENT,k=t.backgroundColor,T="string"===typeof k?Ul(k):null===k?vn.TRANSPARENT:4294967295,C=e===n.documentElement?on(_)?on(E)?T:E:_:T,S={id:u,cache:y.cache,canvas:y.canvas,backgroundColor:C,scale:y.scale,x:y.x,y:y.y,scrollX:y.scrollX,scrollY:y.scrollY,width:y.width,height:y.height,windowWidth:y.windowWidth,windowHeight:y.windowHeight},y.foreignObjectRendering?(Rn.getInstance(u).debug("Document cloned, using foreign object rendering"),P=new Nl(S),[4,P.render(A)]):[3,3];case 2:return O=i.sent(),[3,5];case 3:return Rn.getInstance(u).debug("Document cloned, using computed rendering"),Fn.attachInstance(y.cache),Rn.getInstance(u).debug("Starting DOM parsing"),M=Ua(A),Fn.detachInstance(),C===M.styles.backgroundColor&&(M.styles.backgroundColor=vn.TRANSPARENT),Rn.getInstance(u).debug("Starting renderer"),P=new Il(S),[4,P.render(M)];case 4:O=i.sent(),i.label=5;case 5:return!0===y.removeContainer&&(Ss.destroy(w)||Rn.getInstance(u).error("Cannot detach cloned iframe as it is not in the DOM anymore")),Rn.getInstance(u).debug("Finished rendering"),Rn.destroy(u),Fn.destroy(u),[2,O]}}))}))};return Hl}))},c107:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Nepali",jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(e){return this.daysInYear(e)!==this.daysPerYear},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);if(e=t.year(),"undefined"===typeof this.NEPALI_CALENDAR_DATA[e])return this.daysPerYear;for(var r=0,i=this.minMonth;i<=12;i++)r+=this.NEPALI_CALENDAR_DATA[e][i];return r},daysInMonth:function(e,t){return e.year&&(t=e.month(),e=e.year()),this._validate(e,t,this.minDay,n.local.invalidMonth),"undefined"===typeof this.NEPALI_CALENDAR_DATA[e]?this.daysPerMonth[t-1]:this.NEPALI_CALENDAR_DATA[e][t]},weekDay:function(e,t,r){return 6!==this.dayOfWeek(e,t,r)},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);e=i.year(),t=i.month(),r=i.day();var o=n.instance(),a=0,s=t,l=e;this._createMissingCalendarData(e);var u=e-(s>9||9===s&&r>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);9!==t&&(a=r,s--);while(9!==s)s<=0&&(s=12,l--),a+=this.NEPALI_CALENDAR_DATA[l][s],s--;return 9===t?(a+=r-this.NEPALI_CALENDAR_DATA[l][0],a<0&&(a+=o.daysInYear(u))):a+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],o.newDate(u,1,1).add(a,"d").toJD()},fromJD:function(e){var t=n.instance(),r=t.fromJD(e),i=r.year(),o=r.dayOfYear(),a=i+56;this._createMissingCalendarData(a);var s=9,l=this.NEPALI_CALENDAR_DATA[a][0],u=this.NEPALI_CALENDAR_DATA[a][s]-l+1;while(o>u)s++,s>12&&(s=1,a++),u+=this.NEPALI_CALENDAR_DATA[a][s];var c=this.NEPALI_CALENDAR_DATA[a][s]-(u-o);return this.newDate(a,s,c)},_createMissingCalendarData:function(e){var t=this.daysPerMonth.slice(0);t.unshift(17);for(var r=e-1;r<e+2;r++)"undefined"===typeof this.NEPALI_CALENDAR_DATA[r]&&(this.NEPALI_CALENDAR_DATA[r]=t)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),n.calendars.nepali=o},c14d:function(e,t){var r={create:function(){var e={root:{root:!0,next:null},exists:function(t){return null!==t&&t!==e.root},isEmpty:function(){return null===e.root.next},getHead:function(){return e.root.next},insertBefore:function(t,r){var n=e.root,i=e.root.next;while(null!==i){if(r(i))return t.prev=i.prev,t.next=i,i.prev.next=t,void(i.prev=t);n=i,i=i.next}n.next=t,t.prev=n,t.next=null},findTransition:function(t){var r=e.root,n=e.root.next;while(null!==n){if(t(n))break;r=n,n=n.next}return{before:r===e.root?null:r,after:n,insert:function(e){return e.prev=r,e.next=n,r.next=e,null!==n&&(n.prev=e),e}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}};e.exports=r},c17d:function(e,t,r){"use strict";e.exports=r("c4e0")},c185:function(e,t,r){"use strict";var n=r("1c29"),i=r("28dd"),o=n("./lineVert.glsl"),a=n("./lineFrag.glsl");t.line=function(e){return i(e,o,a,null,[{name:"position",type:"vec3"}])};var s=n("./textVert.glsl"),l=n("./textFrag.glsl");t.text=function(e){return i(e,s,l,null,[{name:"position",type:"vec3"}])};var u=n("./backgroundVert.glsl"),c=n("./backgroundFrag.glsl");t.bg=function(e){return i(e,u,c,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},c1a7:function(e,t,r){"use strict";var n=r("8c75");function i(e,t,r,n,i,o){this.location=e,this.dimension=t,this.a=r,this.b=n,this.c=i,this.d=o}function o(e,t,r){this.gl=e,this._ext=t,this.handle=r,this._attribs=[],this._useElements=!1,this._elementsType=e.UNSIGNED_SHORT}function a(e,t){return new o(e,t,t.createVertexArrayOES())}i.prototype.bind=function(e){switch(this.dimension){case 1:e.vertexAttrib1f(this.location,this.a);break;case 2:e.vertexAttrib2f(this.location,this.a,this.b);break;case 3:e.vertexAttrib3f(this.location,this.a,this.b,this.c);break;case 4:e.vertexAttrib4f(this.location,this.a,this.b,this.c,this.d);break}},o.prototype.bind=function(){this._ext.bindVertexArrayOES(this.handle);for(var e=0;e<this._attribs.length;++e)this._attribs[e].bind(this.gl)},o.prototype.unbind=function(){this._ext.bindVertexArrayOES(null)},o.prototype.dispose=function(){this._ext.deleteVertexArrayOES(this.handle)},o.prototype.update=function(e,t,r){if(this.bind(),n(this.gl,t,e),this.unbind(),this._attribs.length=0,e)for(var o=0;o<e.length;++o){var a=e[o];"number"===typeof a?this._attribs.push(new i(o,1,a)):Array.isArray(a)&&this._attribs.push(new i(o,a.length,a[0],a[1],a[2],a[3]))}this._useElements=!!t,this._elementsType=r||this.gl.UNSIGNED_SHORT},o.prototype.draw=function(e,t,r){r=r||0;var n=this.gl;this._useElements?n.drawElements(e,t,this._elementsType,r):n.drawArrays(e,r,t)},e.exports=a},c1c9:function(e,t,r){var n=r("a454"),i=r("f3c1"),o=i(n);e.exports=o},c1d8:function(e,t,r){"use strict";var n=r("106b"),i=r("09bd");e.exports=function(e,t){var r=[{x:!1,y:!1,trace:t,t:{}}];return n(r,t),i(e,t),r}},c1e1:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("9903")),o=r("ca44"),a=r("a36d"),s=p(r("d7bc")),l=f(r("ab5b")),u=r("4578");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=(0,u.connectAnnotationToLayout)(i.default),k=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return m(r,[{key:"render",value:function(){var e=this.context,t=e.layout,r=t.annotations,n=void 0===r?[]:r,i=t.meta,s=void 0===i?[]:i,c=e.localize,f=this.props,p=f.canAdd,h=f.children,v=f.canReorder,m=n.length&&n.map((function(e,t){return l.default.createElement(E,{key:t,annotationIndex:t,name:(0,u.getParsedTemplateString)(e.text,{meta:s}),canDelete:p},h)})),g={label:c("Annotation"),handler:function(e){var t,r=e.layout,n=e.updateContainer;t=Array.isArray(r.annotations)?r.annotations.length:0;var i="annotations[".concat(t,"]"),o={text:c("new text")};n&&n(d({},i,o))}};return l.default.createElement(o.LayoutPanel,{addAction:p?g:null,canReorder:v},m||l.default.createElement(a.PanelMessage,{heading:c("Call out your data.")},l.default.createElement("p",null,c("Annotations are text and arrows you can use to point out specific parts of your figure.")),l.default.createElement("p",null,c("Click on the + button above to add an annotation."))))}}]),r}(l.Component);k.contextTypes={layout:s.default.object,localize:s.default.func},k.propTypes={children:s.default.node,canAdd:s.default.bool,canReorder:s.default.bool};var T=k;t.default=T},c20e:function(e,t,r){"use strict";var n=r("a876"),i=r("107c"),o=r("f4e9"),a=r("9092").extendFlat,s=r("cb34").overrideAll,l=r("b326").DASHES,u=i.line,c=i.marker,f=c.line,p=e.exports=s({x:i.x,x0:i.x0,dx:i.dx,y:i.y,y0:i.y0,dy:i.dy,xperiod:i.xperiod,yperiod:i.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:i.xperiodalignment,yperiodalignment:i.yperiodalignment,text:i.text,hovertext:i.hovertext,textposition:i.textposition,textfont:i.textfont,mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",description:["Determines the drawing mode for this scatter trace."].join(" ")},line:{color:u.color,width:u.width,shape:{valType:"enumerated",values:["linear","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","The values correspond to step-wise line shapes."].join(" ")},dash:{valType:"enumerated",values:Object.keys(l),dflt:"solid",role:"style",description:"Sets the style of the lines."}},marker:a({},o("marker"),{symbol:c.symbol,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,opacity:c.opacity,colorbar:c.colorbar,line:a({},o("marker.line"),{width:f.width})}),connectgaps:i.connectgaps,fill:a({},i.fill,{dflt:"none"}),fillcolor:i.fillcolor,selected:{marker:i.selected.marker,textfont:i.selected.textfont},unselected:{marker:i.unselected.marker,textfont:i.unselected.textfont},opacity:n.opacity},"calc","nested");p.x.editType=p.y.editType=p.x0.editType=p.y0.editType="calc+clearAxisTypes",p.hovertemplate=i.hovertemplate,p.texttemplate=i.texttemplate},c243:function(e,t,r){"use strict";var n=r("b7d1"),i=r("1c4d").isSize,o=h(r("fe73")),a=h(r("6dd0")),s=h(r("7a189")),l=h(r("489b")),u=h(r("cbc3")),c={normal:1,"small-caps":1},f={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},p={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"};function d(e,t){if(e&&!t[e]&&!o[e])throw Error("Unknown keyword `"+e+"`");return e}function h(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}e.exports=function(e){if(e=n(e,{style:"style fontstyle fontStyle font-style slope distinction",variant:"variant font-variant fontVariant fontvariant var capitalization",weight:"weight w font-weight fontWeight fontweight",stretch:"stretch font-stretch fontStretch fontstretch width",size:"size s font-size fontSize fontsize height em emSize",lineHeight:"lh line-height lineHeight lineheight leading",family:"font family fontFamily font-family fontfamily type typeface face",system:"system reserved default global"}),e.system)return e.system&&d(e.system,a),e.system;if(d(e.style,l),d(e.variant,c),d(e.weight,s),d(e.stretch,u),null==e.size&&(e.size=p.size),"number"===typeof e.size&&(e.size+="px"),!i)throw Error("Bad size value `"+e.size+"`");e.family||(e.family=p.family),Array.isArray(e.family)&&(e.family.length||(e.family=[p.family]),e.family=e.family.map((function(e){return f[e]?e:'"'+e+'"'})).join(", "));var t=[];return t.push(e.style),e.variant!==e.style&&t.push(e.variant),e.weight!==e.variant&&e.weight!==e.style&&t.push(e.weight),e.stretch!==e.weight&&e.stretch!==e.variant&&e.stretch!==e.style&&t.push(e.stretch),t.push(e.size+(null==e.lineHeight||"normal"===e.lineHeight||e.lineHeight+""==="1"?"":"/"+e.lineHeight)),t.push(e.family),t.filter(Boolean).join(" ")}},c258:function(e,t,r){"use strict";var n=r("4852"),i=r("215c");e.exports={moduleType:"component",name:"colorscale",attributes:r("f4e9"),layoutAttributes:r("0dd7"),supplyLayoutDefaults:r("739b"),handleDefaults:r("4183"),crossTraceDefaults:r("1db7e"),calc:r("3aa8"),scales:n.scales,defaultScale:n.defaultScale,getScale:n.get,isValidScale:n.isValid,hasColorscale:i.hasColorscale,extractOpts:i.extractOpts,extractScale:i.extractScale,flipScale:i.flipScale,makeColorScaleFunc:i.makeColorScaleFunc,makeColorScaleFuncFromTrace:i.makeColorScaleFuncFromTrace}},c29d:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[3]*n+r[7]*i+r[11]*o+r[15];return a=a||1,e[0]=(r[0]*n+r[4]*i+r[8]*o+r[12])/a,e[1]=(r[1]*n+r[5]*i+r[9]*o+r[13])/a,e[2]=(r[2]*n+r[6]*i+r[10]*o+r[14])/a,e}e.exports=r},c2b6:function(e,t,r){var n=r("f8af"),i=r("5d89"),o=r("6f6c"),a=r("a2db"),s=r("c8fe"),l="[object Boolean]",u="[object Date]",c="[object Map]",f="[object Number]",p="[object RegExp]",d="[object Set]",h="[object String]",v="[object Symbol]",m="[object ArrayBuffer]",g="[object DataView]",y="[object Float32Array]",b="[object Float64Array]",x="[object Int8Array]",A="[object Int16Array]",w="[object Int32Array]",_="[object Uint8Array]",E="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]";function C(e,t,r){var C=e.constructor;switch(t){case m:return n(e);case l:case u:return new C(+e);case g:return i(e,r);case y:case b:case x:case A:case w:case _:case E:case k:case T:return s(e,r);case c:return new C;case f:case h:return new C(e);case p:return o(e);case d:return new C;case v:return a(e)}}e.exports=C},c2c0:function(e,t){var r=function(){if("object"===typeof self&&self)return self;if("object"===typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()},c2e7:function(e,t){function r(e){var t=0,r=0,n=0,i=0;return e.map((function(e){e=e.slice();var o=e[0],a=o.toUpperCase();if(o!=a)switch(e[0]=a,o){case"a":e[6]+=n,e[7]+=i;break;case"v":e[1]+=i;break;case"h":e[1]+=n;break;default:for(var s=1;s<e.length;)e[s++]+=n,e[s++]+=i}switch(a){case"Z":n=t,i=r;break;case"H":n=e[1];break;case"V":i=e[1];break;case"M":n=t=e[1],i=r=e[2];break;default:n=e[e.length-2],i=e[e.length-1]}return e}))}e.exports=r},c2ef:function(e,t,r){"use strict";var n=r("c01c"),i=r("a026"),o=r("0dd1"),a=r("2dd9"),s=6;function l(e,t){for(var r=new Array(e.length-1),n=1;n<e.length;++n)for(var i=r[n-1]=new Array(e.length-1),o=0,a=0;o<e.length;++o)o!==t&&(i[a++]=e[n][o]);return r}function u(e){for(var t=new Array(e),r=0;r<e;++r){t[r]=new Array(e);for(var n=0;n<e;++n)t[r][n]=["m[",r,"][",n,"]"].join("")}return t}function c(e){return 1&e?"-":""}function f(e){if(1===e.length)return e[0];if(2===e.length)return["sum(",e[0],",",e[1],")"].join("");var t=e.length>>1;return["sum(",f(e.slice(0,t)),",",f(e.slice(t)),")"].join("")}function p(e){if(2===e.length)return["sum(prod(",e[0][0],",",e[1][1],"),prod(-",e[0][1],",",e[1][0],"))"].join("");for(var t=[],r=0;r<e.length;++r)t.push(["scale(",p(l(e,r)),",",c(r),e[0][r],")"].join(""));return f(t)}function d(e){var t=new Function("sum","scale","prod","compress",["function robustDeterminant",e,"(m){return compress(",p(u(e)),")};return robustDeterminant",e].join(""));return t(i,o,n,a)}var h=[function(){return[0]},function(e){return[e[0][0]]}];function v(){while(h.length<s)h.push(d(h.length));for(var t=[],r=["function robustDeterminant(m){switch(m.length){"],n=0;n<s;++n)t.push("det"+n),r.push("case ",n,":return det",n,"(m);");r.push("}var det=CACHE[m.length];if(!det)det=CACHE[m.length]=gen(m.length);return det(m);}return robustDeterminant"),t.push("CACHE","gen",r.join(""));var i=Function.apply(void 0,t);e.exports=i.apply(void 0,h.concat([h,d]));for(n=0;n<h.length;++n)e.exports[n]=h[n]}v()},c30c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32.375 7.625c-.125 0-.125.125-.25 0v-.313h-.25c0-.375-.25-.625-.25-1.063-.188 0-.313 0-.313-.125l-.25.25c-.125 0 0-.125-.125-.125-.25.438-.375.938-.25 1.375-.125.125-.125.375-.125.5h-.313c0 .125 0 .25-.125.25-.375.188-.813.313-1.188.313-.125 0-.375 0-.563.125-.125.125-.25.375-.375.5s-.25.125-.25.313c.125.125.125.25.125.375-.438.688-1.063.375-1.625.688 0 .125.125.25.125.375-.5.688-1.188 1.063-1.813 1.5-.188 0-.438-.188-.563-.313 0-.25.25-.5.375-.625 0-.438-.125-.813-.375-1.063l-.375.375c-.188 0-.188-.125-.188-.25.438-.125.188-.813.313-.938-.125 0-.125-.125-.125-.125-.438 0-.688-.438-.938 0 0 .125.125 0 .125.125-.125 0-.125 0-.25.125 0 .25.125.375-.188.375 0-.125.188-.25 0-.375-.25.375-.375.938-.375 1.438.375.438.25 1.063-.125 1.5l-.125.125c-.813-.688-.313-2.125-.125-2.938-.188.25-.313.375-.563.563.25-.563.375-.938.563-1.25.25 0 .625-.125.938-.25h.75c-.125 0-.25-.125-.125-.375h-.375v-.313c-.438.188-.938.313-1.375.313 0-.313-.25-.313-.5-.313h-.125c.125-.25.125-.375.375-.5-.25 0-.5.125-.625.375-.313.125-.563.313-.813.438 0-.125-.313 0-.313-.125 0 0 .188-.188.188-.313-.313.125-.438.125-.688.125.25-.25.375-.375.688-.625.25-.125.5-.313.625-.438-.25 0-.5 0-.625-.125-.188.125-.438.125-.563 0l-.125-.125c-.25-.125-.563-.125-.938-.125-.125-.125-.25-.125-.563-.125-.125-.125 0-.563-.25-.563-.125 0 0 .313-.125.313-4.813 0-9.625-.563-14.25-1.875.125.625.125.938.125 1.188-.125 0-.25-.125-.125-.25-.125 0-.125 0-.25.125-.313-.125-.563-.313-.813-.438-.125.438 0 .813.125 1.25h-.125s0 .125.125.125c-.125.125-.25.25 0 .375-.125 0-.125.125-.125.125-.438.813-.688 1.625-1.188 2.25 0 .188 0 .438-.188.563 0 .563-.125 1.063-.375 1.438.375.313 0 .813.125 1.125.125.125.25.375.25.625 0 .125 0 .438.188.438-.188.25 0 .625.25.75 0 .188-.125.188-.125.313 0 .5.5.75.5 1.313v.563c.438.125.813.375 1.188.625v.125c.438.125.688.563.563 1.063.375.188.938.313 1.438.313 0 .125-.125 0-.125.125.563.25 1.063.625 1.625 1.063.813.375 1.563.5 2.5.688 0-.188 0-.313.188-.438.375.125.75.125 1.063.125.25.438.5.688.75.938.313.125.438.438.438.688.25.375.5.688.938.813.125-.313.375-.563.625-.688.688 0 1.375.688 1.375 1.313.25.125.25.563.5.688-.125.938.938 1.188 1.5 1.313-.125-.5-.125-1.063 0-1.438.625-.438 1.313-.813 1.875-1.188.625-.313 1.313-.313 2-.125 0-.313-.313 0-.313-.188.313-.25.438.188.688.188v.125c.125.125.25.125.375.125.188-.125.188-.125.313-.125.125.125-.125.125 0 .125.125-.125.25-.25.25-.438 0 .188.5.438.5.188-.125 0-.25-.188-.5-.313.125 0 .25-.25.125-.375-.125.125-.125.125-.25.125.125-.375.5-.375 1.063-.375 0 0 0-.313.125-.313s.125.313 0 .313c.563-.438 1.313-.313 1.875.25.25 0 .5-.125.688-.438.625 0 .5.563 1.063.563.25.25 0 .938.25 1.188v-.25h.125c0 .125-.125.25-.125.25.125.25.375.563.5.688l.188-.125c.125.125.125.25.125.375.25 0 .5.25.5.563.125-.125.25-.125.563-.125 0 .25-.438.25-.438.5.313-.125.438-.375.563-.688-.125 0 0 .188-.125.188.125-.813-.125-1.625-.563-2.313 0 0 .125 0 .125-.125-.625-.5-1.063-1.563-.75-2.5.125-.188.25-.438.25-.563.25-.125.5-.375.625-.688 0-.375.188-.625.563-.625h.125c0-.813.938-.563.938-1.063-.125.125-.25.125-.375 0 .125.125.25-.125.125-.313.125.188.375 0 .5-.125v-.125h-.25c.125 0 .25 0 .25-.125-.125-.25-.25-.563-.375-.813h-.25c.125-.125-.125-.25-.125-.375h.125a.657.657 0 0 0-.313-.563c.188 0 0-.125.188-.125-.313-.125-.313-.813 0-.938-.188.125.125.25-.188.563.188 0 0 0 .188.25.125.125.25.125.25.25v-.25c.375.125 0 .688.25.938.25-.563.25-.938.25-1.5-.25-.125-.375-.25-.375-.5.125.25.25.375.375.375v.125c.438-.375.563-.75.438-1.313h-.125c.125 0 0-.125.125-.125v-.125c.375-.438.938-.688 1.438-.938 0-.125 0-.125.125-.25 0 .125 0 .125-.125.25.125-.125.25-.25.563-.25 0-.125 0-.313-.313-.313.188.188.188.188.188.313-.313.25-.438-.438-.688-.313 0-.375 0-.75.125-1.188.25 0 .375-.125.563-.25v-.375s.125 0 .125.125-.125 0-.125.125c.25-.125.375-.25.375-.438 0 .188 0 .188.125.188s-.125-.188-.125-.313c.25.125.813-.375.375-.625zM5.313 13.313h2.688v2.688H5.313zm0-4h2.688v2.688H5.313zm-4 0h2.688v2.688H1.313zm0 4h2.688v2.688H1.313zm12 4h2.688v2.688h-2.688zm4-8h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm-4-8h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm8 0h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm4-4h2.688v2.688h-2.688zm-16-4h2.688v2.688H9.313zm0 4h2.688v2.688H9.313zm0 4h2.688v2.688H9.313z"}))};t.default=u},c342:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18C2,19.1 2.9,20 4,20H20C21.1,20 22,19.1 22,18V6C22,4.89 21.1,4 20,4Z"}))};e.exports=s},c351:function(e,t,r){"use strict";var n=r("e9bd"),i=r("1a94"),o=r("692b"),a=r("8a50"),s=Array.isArray,l=Function.prototype.call,u=Array.prototype.some;e.exports=function(e,t){var r,c,f,p,d,h,v,m,g=arguments[2];if(s(e)||n(e)?r="array":o(e)?r="string":e=a(e),i(t),f=function(){p=!0},"array"!==r){if("string"!==r){c=e.next();while(!c.done){if(l.call(t,g,c.value,f),p)return;c=e.next()}}else for(h=e.length,d=0;d<h;++d)if(v=e[d],d+1<h&&(m=v.charCodeAt(0),m>=55296&&m<=56319&&(v+=e[++d])),l.call(t,g,v,f),p)break}else u.call(e,(function(e){return l.call(t,g,e,f),p}))}},c3a9:function(e,t){function r(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],e}e.exports=r},c3de:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("b1a4").pointsAccessorFunction,a=r("e806").BADNUM;function s(e,t,r,n){var i,o=new Array(n),a=new Array(n);for(i=0;i<n;i++)o[i]={v:t[i],i:i};for(o.sort(l(e,r)),i=0;i<n;i++)a[i]=o[i].i;return a}function l(e,t){switch(e.order){case"ascending":return function(e,r){var n=t(e.v),i=t(r.v);return n===a?1:i===a?-1:n-i};case"descending":return function(e,r){var n=t(e.v),i=t(r.v);return n===a?1:i===a?-1:i-n}}}t.moduleType="transform",t.name="sort",t.attributes={enabled:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether this sort transform is enabled or disabled."].join(" ")},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",role:"info",editType:"calc",description:["Sets the target by which the sort transform is applied.","If a string, *target* is assumed to be a reference to a data array","in the parent trace object.","To sort about nested variables, use *.* to access them.","For example, set `target` to *marker.size* to sort","about the marker size array.","If an array, *target* is then the data array by which","the sort transform is applied."].join(" ")},order:{valType:"enumerated",values:["ascending","descending"],dflt:"ascending",role:"info",editType:"calc",description:["Sets the sort transform order."].join(" ")},editType:"calc"},t.supplyDefaults=function(e){var r={};function i(i,o){return n.coerce(e,r,t.attributes,i,o)}var o=i("enabled");return o&&(i("target"),i("order")),r},t.calcTransform=function(e,t,r){if(r.enabled){var a=n.getTargetArray(t,r);if(a){var l=r.target,u=a.length;t._length&&(u=Math.min(u,t._length));var c,f,p=t._arrayAttrs,d=i.getDataToCoordFunc(e,t,l,a),h=s(r,a,d,u),v=o(t.transforms,r),m={};for(c=0;c<p.length;c++){var g=n.nestedProperty(t,p[c]),y=g.get(),b=new Array(u);for(f=0;f<u;f++)b[f]=y[h[f]];g.set(b)}for(f=0;f<u;f++)m[f]=v(h[f]);r._indexToPoints=m,t._length=u}}}},c3e7:function(e,t,r){"use strict";var n=r("1d9e"),i=r("b5e4").traceLayerPrefix;function o(e,t){this.type="densitymapbox",this.subplot=e,this.uid=t,this.sourceId="source-"+t,this.layerList=[["heatmap",i+t+"-heatmap"]],this.below=null}var a=o.prototype;a.update=function(e){var t=this.subplot,r=this.layerList,i=n(e),o=t.belowLookup["trace-"+this.uid];t.map.getSource(this.sourceId).setData(i.geojson),o!==this.below&&(this._removeLayers(),this._addLayers(i,o),this.below=o);for(var a=0;a<r.length;a++){var s=r[a],l=s[0],u=s[1],c=i[l];t.setOptions(u,"setLayoutProperty",c.layout),"visible"===c.layout.visibility&&t.setOptions(u,"setPaintProperty",c.paint)}},a._addLayers=function(e,t){for(var r=this.subplot,n=this.layerList,i=this.sourceId,o=0;o<n.length;o++){var a=n[o],s=a[0],l=e[s];r.addLayer({type:s,id:a[1],source:i,layout:l.layout,paint:l.paint},t)}},a._removeLayers=function(){for(var e=this.subplot.map,t=this.layerList,r=t.length-1;r>=0;r--)e.removeLayer(t[r][1])},a.dispose=function(){var e=this.subplot.map;this._removeLayers(),e.removeSource(this.sourceId)},e.exports=function(e,t){var r=t[0].trace,i=new o(e,r.uid),a=i.sourceId,s=n(t),l=i.below=e.belowLookup["trace-"+r.uid];return e.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,l),i}},c3fc:function(e,t,r){var n=r("42a2"),i=r("1310"),o="[object Set]";function a(e){return i(e)&&n(e)==o}e.exports=a},c400:function(e,t,r){"use strict";var n=e.exports={},i=r("0804").locationmodeToLayer,o=r("d217").feature;n.getTopojsonName=function(e){return[e.scope.replace(/ /g,"-"),"_",e.resolution.toString(),"m"].join("")},n.getTopojsonPath=function(e,t){return e+t+".json"},n.getTopojsonFeatures=function(e,t){var r=i[e.locationmode],n=t.objects[r];return o(t,n).features}},c430:function(e,t){e.exports=!1},c436:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M18,15H16V17H18M18,11H16V13H18M20,19H12V17H14V15H12V13H14V11H12V9H20M10,7H8V5H10M10,11H8V9H10M10,15H8V13H10M10,19H8V17H10M6,7H4V5H6M6,11H4V9H6M6,15H4V13H6M6,19H4V17H6M12,7V3H2V21H22V7H12Z"}))};e.exports=s},c437:function(e,t,r){"use strict";var n=r("6e58");e.exports=function(e){n.select(e).selectAll(".hm image").style("opacity",(function(e){return e.trace.opacity}))}},c449:function(e,t,r){(function(t){for(var n=r("6d08"),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,f=0,p=[],d=1e3/60;s=function(e){if(0===p.length){var t=n(),r=Math.max(0,d-(t-c));c=r+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return p.push({handle:++f,callback:e,cancelled:!1}),f},l=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,r("c8ba"))},c451:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("52e8").stylePoints;e.exports=function(e){var t=n.select(e).selectAll("g.trace.violins");t.style("opacity",(function(e){return e[0].trace.opacity})),t.each((function(t){var r=t[0].trace,a=n.select(this),s=r.box||{},l=s.line||{},u=r.meanline||{},c=u.width;a.selectAll("path.violin").style("stroke-width",r.line.width+"px").call(i.stroke,r.line.color).call(i.fill,r.fillcolor),a.selectAll("path.box").style("stroke-width",l.width+"px").call(i.stroke,l.color).call(i.fill,s.fillcolor);var f={"stroke-width":c+"px","stroke-dasharray":2*c+"px,"+c+"px"};a.selectAll("path.mean").style(f).call(i.stroke,u.color),a.selectAll("path.meanline").style(f).call(i.stroke,u.color),o(a,r,e)}))}},c497:function(e,t,r){"use strict";var n=r("19b2"),i=r("5928"),o=r("371e"),a=r("fc26"),s=r("bb71"),l=r("3c1c"),u=r("d115"),c=l.cleanId,f=l.getFromTrace,p=o.traceIs;function d(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=c(r,n,!0))}function h(e){function t(t,r){var n=e[t],i=e.title&&e.title[r];n&&!i&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!==typeof e.title&&"number"!==typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function v(e){if(!a.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"===typeof t||"number"===typeof t)&&String(t)}function m(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var i,o=Math.min(e.length,t.length);for(i=0;i<o;i++)if(e.charAt(i)!==t.charAt(i))break;var a=e.substr(0,i);return a.trim()}function g(e){var t="middle",r="center";return"string"===typeof e&&(-1!==e.indexOf("top")?t="top":-1!==e.indexOf("bottom")&&(t="bottom"),-1!==e.indexOf("left")?r="left":-1!==e.indexOf("right")&&(r="right")),t+" "+r}function y(e,t){return t in e&&"object"===typeof e[t]&&0===Object.keys(e[t]).length}t.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&a.log("Clearing previous rejected promises from queue."),e._promises=[]},t.cleanLayout=function(e){var r,n;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var o=(s.subplotsRegistry.cartesian||{}).attrRegex,l=(s.subplotsRegistry.polar||{}).attrRegex,f=(s.subplotsRegistry.ternary||{}).attrRegex,p=(s.subplotsRegistry.gl3d||{}).attrRegex,v=Object.keys(e);for(r=0;r<v.length;r++){var m=v[r];if(o&&o.test(m)){var g=e[m];g.anchor&&"free"!==g.anchor&&(g.anchor=c(g.anchor)),g.overlaying&&(g.overlaying=c(g.overlaying)),g.type||(g.isdate?g.type="date":g.islog?g.type="log":!1===g.isdate&&!1===g.islog&&(g.type="linear")),"withzero"!==g.autorange&&"tozero"!==g.autorange||(g.autorange=!0,g.rangemode="tozero"),delete g.islog,delete g.isdate,delete g.categories,y(g,"domain")&&delete g.domain,void 0!==g.autotick&&(void 0===g.tickmode&&(g.tickmode=g.autotick?"auto":"linear"),delete g.autotick),h(g)}else if(l&&l.test(m)){var b=e[m];h(b.radialaxis)}else if(f&&f.test(m)){var x=e[m];h(x.aaxis),h(x.baxis),h(x.caxis)}else if(p&&p.test(m)){var A=e[m],w=A.cameraposition;if(Array.isArray(w)&&4===w[0].length){var _=w[0],E=w[1],k=w[2],T=i([],_),C=[];for(n=0;n<3;++n)C[n]=E[n]+k*T[2+4*n];A.camera={eye:{x:C[0],y:C[1],z:C[2]},center:{x:E[0],y:E[1],z:E[2]},up:{x:0,y:0,z:1}},delete A.cameraposition}h(A.xaxis),h(A.yaxis),h(A.zaxis)}}var S=Array.isArray(e.annotations)?e.annotations.length:0;for(r=0;r<S;r++){var O=e.annotations[r];a.isPlainObject(O)&&(O.ref&&("paper"===O.ref?(O.xref="paper",O.yref="paper"):"data"===O.ref&&(O.xref="x",O.yref="y"),delete O.ref),d(O,"xref"),d(O,"yref"))}var M=Array.isArray(e.shapes)?e.shapes.length:0;for(r=0;r<M;r++){var P=e.shapes[r];a.isPlainObject(P)&&(d(P,"xref"),d(P,"yref"))}var B=Array.isArray(e.images)?e.images.length:0;for(r=0;r<B;r++){var L=e.images[r];a.isPlainObject(L)&&(d(L,"xref"),d(L,"yref"))}var D=e.legend;return D&&(D.x>3?(D.x=1.02,D.xanchor="left"):D.x<-2&&(D.x=-.02,D.xanchor="right"),D.y>3?(D.y=1.02,D.yanchor="bottom"):D.y<-2&&(D.y=-.02,D.yanchor="top")),h(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),u.clean(e),e.template&&e.template.layout&&t.cleanLayout(e.template.layout),e},t.cleanData=function(e){for(var r=0;r<e.length;r++){var n,i=e[r];if("histogramy"===i.type&&"xbins"in i&&!("ybins"in i)&&(i.ybins=i.xbins,delete i.xbins),i.error_y&&"opacity"in i.error_y){var l=u.defaults,f=i.error_y.color||(p(i,"bar")?u.defaultLine:l[r%l.length]);i.error_y.color=u.addOpacity(u.rgb(f),u.opacity(f)*i.error_y.opacity),delete i.error_y.opacity}if("bardir"in i&&("h"!==i.bardir||!p(i,"bar")&&"histogram"!==i.type.substr(0,9)||(i.orientation="h",t.swapXYData(i)),delete i.bardir),"histogramy"===i.type&&t.swapXYData(i),"histogramx"!==i.type&&"histogramy"!==i.type||(i.type="histogram"),"scl"in i&&!("colorscale"in i)&&(i.colorscale=i.scl,delete i.scl),"reversescl"in i&&!("reversescale"in i)&&(i.reversescale=i.reversescl,delete i.reversescl),i.xaxis&&(i.xaxis=c(i.xaxis,"x")),i.yaxis&&(i.yaxis=c(i.yaxis,"y")),p(i,"gl3d")&&i.scene&&(i.scene=s.subplotsRegistry.gl3d.cleanId(i.scene)),!p(i,"pie-like")&&!p(i,"bar-like"))if(Array.isArray(i.textposition))for(n=0;n<i.textposition.length;n++)i.textposition[n]=g(i.textposition[n]);else i.textposition&&(i.textposition=g(i.textposition));var d=o.getModule(i);if(d&&d.colorbar){var b=d.colorbar.container,x=b?i[b]:i;x&&x.colorscale&&("YIGnBu"===x.colorscale&&(x.colorscale="YlGnBu"),"YIOrRd"===x.colorscale&&(x.colorscale="YlOrRd"))}if("surface"===i.type&&a.isPlainObject(i.contours)){var A=["x","y","z"];for(n=0;n<A.length;n++){var w=i.contours[A[n]];a.isPlainObject(w)&&(w.highlightColor&&(w.highlightcolor=w.highlightColor,delete w.highlightColor),w.highlightWidth&&(w.highlightwidth=w.highlightWidth,delete w.highlightWidth))}}if("candlestick"===i.type||"ohlc"===i.type){var _=!1!==(i.increasing||{}).showlegend,E=!1!==(i.decreasing||{}).showlegend,k=v(i.increasing),T=v(i.decreasing);if(!1!==k&&!1!==T){var C=m(k,T,_,E);C&&(i.name=C)}else!k&&!T||i.name||(i.name=k||T)}if(Array.isArray(i.transforms)){var S=i.transforms;for(n=0;n<S.length;n++){var O=S[n];if(a.isPlainObject(O))switch(O.type){case"filter":O.filtersrc&&(O.target=O.filtersrc,delete O.filtersrc),O.calendar&&(O.valuecalendar||(O.valuecalendar=O.calendar),delete O.calendar);break;case"groupby":if(O.styles=O.styles||O.style,O.styles&&!Array.isArray(O.styles)){var M=O.styles,P=Object.keys(M);O.styles=[];for(var B=0;B<P.length;B++)O.styles.push({target:P[B],value:M[P[B]]})}break}}}y(i,"line")&&delete i.line,"marker"in i&&(y(i.marker,"line")&&delete i.marker.line,y(i,"marker")&&delete i.marker),u.clean(i),i.autobinx&&(delete i.autobinx,delete i.xbins),i.autobiny&&(delete i.autobiny,delete i.ybins),h(i),i.colorbar&&h(i.colorbar),i.marker&&i.marker.colorbar&&h(i.marker.colorbar),i.line&&i.line.colorbar&&h(i.line.colorbar),i.aaxis&&h(i.aaxis),i.baxis&&h(i.baxis)}},t.swapXYData=function(e){var t;if(a.swapAttrs(e,["?","?0","d?","?bins","nbins?","autobin?","?src","error_?"]),Array.isArray(e.z)&&Array.isArray(e.z[0])&&(e.transpose?delete e.transpose:e.transpose=!0),e.error_x&&e.error_y){var r=e.error_y,n="copy_ystyle"in r?r.copy_ystyle:!(r.color||r.thickness||r.width);a.swapAttrs(e,["error_?.copy_ystyle"]),n&&a.swapAttrs(e,["error_?.color","error_?.thickness","error_?.width"])}if("string"===typeof e.hoverinfo){var i=e.hoverinfo.split("+");for(t=0;t<i.length;t++)"x"===i[t]?i[t]="y":"y"===i[t]&&(i[t]="x");e.hoverinfo=i.join("+")}},t.coerceTraceIndices=function(e,t){if(n(t))return[t];if(!Array.isArray(t)||!t.length)return e.data.map((function(e,t){return t}));if(Array.isArray(t)){for(var r=[],i=0;i<t.length;i++)a.isIndex(t[i],e.data.length)?r.push(t[i]):a.warn("trace index (",t[i],") is not a number or is out of bounds");return r}return t},t.manageArrayContainers=function(e,t,r){var i=e.obj,o=e.parts,s=o.length,l=o[s-1],u=n(l);if(u&&null===t){var c=o.slice(0,s-1).join("."),f=a.nestedProperty(i,c).get();f.splice(l,1)}else u&&void 0===e.get()?(void 0===e.get()&&(r[e.astr]=null),e.set(t)):e.set(t)};var b=/(\.[^\[\]\.]+|\[[^\[\]\.]+\])$/;function x(e){var t=e.search(b);if(t>0)return e.substr(0,t)}t.hasParent=function(e,t){var r=x(t);while(r){if(r in e)return!0;r=x(r)}return!1};var A=["x","y","z"];t.clearAxisTypes=function(e,t,r){for(var n=0;n<t.length;n++)for(var i=e._fullData[n],o=0;o<3;o++){var s=f(e,i,A[o]);if(s&&"log"!==s.type){var l=s._name,u=s._id.substr(1);if("scene"===u.substr(0,5)){if(void 0!==r[u])continue;l=u+"."+l}var c=l+".type";void 0===r[l]&&void 0===r[c]&&a.nestedProperty(e.layout,c).set(null)}}}},c4c0:function(e,t,r){"use strict";(function(t){var n=r("3e8f"),i=r("df7c"),o=r("78b4"),a=r("a2c0"),s=524288;function l(e,t){var r=a(e,t);if(r in o){var n=o[r].calculate(e,t);if(!1!==n)return n.type=r,n}throw new TypeError("unsupported file type: "+r+" (file: "+t+")")}function u(e,r){n.open(e,"r",(function(i,o){if(i)return r(i);n.fstat(o,(function(i,a){if(i)return r(i);var l=a.size;if(l<=0)return r(new Error("File size is not greater than 0 —— "+e));var u=Math.min(l,s),c=t.alloc(u);n.read(o,c,0,u,0,(function(e){if(e)return r(e);n.close(o,(function(e){r(e,c)}))}))}))}))}function c(e){var r=n.openSync(e,"r"),i=n.fstatSync(r).size,o=Math.min(i,s),a=t.alloc(o);return n.readSync(r,a,0,o,0),n.closeSync(r),a}e.exports=function(e,r){if(t.isBuffer(e))return l(e);if("string"!==typeof e)throw new TypeError("invalid invocation");var n=i.resolve(e);if("function"!==typeof r){var o=c(n);return l(o,n)}u(n,(function(e,t){if(e)return r(e);var i;try{i=l(t,n)}catch(o){e=o}r(e,i)}))},e.exports.types=Object.keys(o)}).call(this,r("b639").Buffer)},c4c7:function(e,t,r){"use strict";var n=r("fc26");t.getSubplot=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},t.isTraceInSubplots=function(e,r){if("splom"===e.type){for(var n=e.xaxes||[],i=e.yaxes||[],o=0;o<n.length;o++)for(var a=0;a<i.length;a++)if(-1!==r.indexOf(n[o]+i[a]))return!0;return!1}return-1!==r.indexOf(t.getSubplot(e))},t.flat=function(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)r[n]=t;return r},t.p2c=function(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)r[n]=e[n].p2c(t);return r},t.getDistanceFunction=function(e,r,n,i){return"closest"===e?i||t.quadrature(r,n):"x"===e.charAt(0)?r:n},t.getClosest=function(e,t,r){if(!1!==r.index)r.index>=0&&r.index<e.length?r.distance=0:r.index=!1;else for(var n=0;n<e.length;n++){var i=t(e[n]);i<=r.distance&&(r.index=n,r.distance=i)}return r},t.inbox=function(e,t,r){return e*t<0||0===e?r:1/0},t.quadrature=function(e,t){return function(r){var n=e(r),i=t(r);return Math.sqrt(n*n+i*i)}},t.makeEventData=function(e,r,n){var i="index"in e?e.index:e.pointNumber,o={data:r._input,fullData:r,curveNumber:r.index,pointNumber:i};if(r._indexToPoints){var a=r._indexToPoints[i];1===a.length?o.pointIndex=a[0]:o.pointIndices=a}else o.pointIndex=i;return r._module.eventData?o=r._module.eventData(o,e,r,n,i):("xVal"in e?o.x=e.xVal:"x"in e&&(o.x=e.x),"yVal"in e?o.y=e.yVal:"y"in e&&(o.y=e.y),e.xa&&(o.xaxis=e.xa),e.ya&&(o.yaxis=e.ya),void 0!==e.zLabelVal&&(o.z=e.zLabelVal)),t.appendArrayPointValue(o,r,i),o},t.appendArrayPointValue=function(e,t,r){var i=t._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],u=o(l);if(void 0===e[u]){var c=n.nestedProperty(t,l).get(),f=a(c,r);void 0!==f&&(e[u]=f)}}},t.appendArrayMultiPointValues=function(e,t,r){var i=t._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],u=o(l);if(void 0===e[u]){for(var c=n.nestedProperty(t,l).get(),f=new Array(r.length),p=0;p<r.length;p++)f[p]=a(c,r[p]);e[u]=f}}};var i={ids:"id",locations:"location",labels:"label",values:"value","marker.colors":"color",parents:"parent"};function o(e){return i[e]||e}function a(e,t){return Array.isArray(t)?Array.isArray(e)&&Array.isArray(e[t[0]])?e[t[0]][t[1]]:void 0:e[t]}var s={x:!0,y:!0},l={"x unified":!0,"y unified":!0};t.isUnifiedHover=function(e){return"string"===typeof e&&!!l[e]},t.isXYhover=function(e){return"string"===typeof e&&!!s[e]}},c4e0:function(e,t,r){"use strict";t.version=r("5b41").version,r("1368").polyfill(),r("046b"),r("76b2")();for(var n=r("371e"),i=t.register=n.register,o=r("442f"),a=Object.keys(o),s=0;s<a.length;s++){var l=a[s];"_"!==l.charAt(0)&&(t[l]=o[l]),i({moduleType:"apiMethod",name:l,fn:o[l]})}i(r("5e8f")),i([r("9778"),r("a5c4"),r("70f9"),r("c9bc"),r("3273"),r("7c9f"),r("cd19"),r("eeb3"),r("1c0b8"),r("04ad"),r("79746"),r("7eee"),r("c258"),r("fcb2")]),i([r("1ea6"),r("1e03")]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(i(window.PlotlyLocales),delete window.PlotlyLocales),t.Icons=r("7559"),t.Plots=r("bb71"),t.Fx=r("a5c4"),t.Snapshot=r("ca67"),t.PlotSchema=r("6921"),t.Queue=r("c6b6b"),t.d3=r("6e58")},c4f4:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("e5ac"),a=r("1729"),s=r("14b6");function l(e,t,r,o){function l(r,i){return n.coerce(e,t,s,r,i)}function u(e){var n=e+"axis",o={_fullLayout:{}};return o._fullLayout[n]=r[n],i.coercePosition(t,o,l,e,e,.5)}var c=l("visible");c&&(a(e,t,o.fullLayout,l),u("x"),u("y"),u("z"),n.noneOrAll(e,t,["x","y","z"]),t.xref="x",t.yref="y",t.zref="z",l("xanchor"),l("yanchor"),l("xshift"),l("yshift"),t.showarrow&&(t.axref="pixel",t.ayref="pixel",l("ax",-10),l("ay",-30),n.noneOrAll(e,t,["ax","ay"])))}e.exports=function(e,t,r){o(e,t,{name:"annotations",handleItemDefaults:l,fullLayout:r.fullLayout})}},c535:function(e,t,r){"use strict";var n=r("cea5"),i=32;function o(e){switch(e){case"uint8":return[n.mallocUint8,n.freeUint8];case"uint16":return[n.mallocUint16,n.freeUint16];case"uint32":return[n.mallocUint32,n.freeUint32];case"int8":return[n.mallocInt8,n.freeInt8];case"int16":return[n.mallocInt16,n.freeInt16];case"int32":return[n.mallocInt32,n.freeInt32];case"float32":return[n.mallocFloat,n.freeFloat];case"float64":return[n.mallocDouble,n.freeDouble];default:return null}}function a(e){for(var t=[],r=0;r<e;++r)t.push("s"+r);for(r=0;r<e;++r)t.push("n"+r);for(r=1;r<e;++r)t.push("d"+r);for(r=1;r<e;++r)t.push("e"+r);for(r=1;r<e;++r)t.push("f"+r);return t}function s(e,t){var r=["'use strict'"],n=["ndarrayInsertionSort",e.join("d"),t].join(""),i=["left","right","data","offset"].concat(a(e.length)),s=o(t),l=["i,j,cptr,ptr=left*s0+offset"];if(e.length>1){for(var u=[],c=1;c<e.length;++c)l.push("i"+c),u.push("n"+c);s?l.push("scratch=malloc("+u.join("*")+")"):l.push("scratch=new Array("+u.join("*")+")"),l.push("dptr","sptr","a","b")}else l.push("scratch");function f(e){return"generic"===t?["data.get(",e,")"].join(""):["data[",e,"]"].join("")}function p(e,r){return"generic"===t?["data.set(",e,",",r,")"].join(""):["data[",e,"]=",r].join("")}if(r.push(["function ",n,"(",i.join(","),"){var ",l.join(",")].join(""),"for(i=left+1;i<=right;++i){","j=i;ptr+=s0","cptr=ptr"),e.length>1){r.push("dptr=0;sptr=ptr");for(c=e.length-1;c>=0;--c){var d=e[c];0!==d&&r.push(["for(i",d,"=0;i",d,"<n",d,";++i",d,"){"].join(""))}r.push("scratch[dptr++]=",f("sptr"));for(c=0;c<e.length;++c){d=e[c];0!==d&&r.push("sptr+=d"+d,"}")}r.push("__g:while(j--\x3eleft){","dptr=0","sptr=cptr-s0");for(c=1;c<e.length;++c)1===c&&r.push("__l:"),r.push(["for(i",c,"=0;i",c,"<n",c,";++i",c,"){"].join(""));r.push(["a=",f("sptr"),"\nb=scratch[dptr]\nif(a<b){break __g}\nif(a>b){break __l}"].join(""));for(c=e.length-1;c>=1;--c)r.push("sptr+=e"+c,"dptr+=f"+c,"}");r.push("dptr=cptr;sptr=cptr-s0");for(c=e.length-1;c>=0;--c){d=e[c];0!==d&&r.push(["for(i",d,"=0;i",d,"<n",d,";++i",d,"){"].join(""))}r.push(p("dptr",f("sptr")));for(c=0;c<e.length;++c){d=e[c];0!==d&&r.push(["dptr+=d",d,";sptr+=d",d].join(""),"}")}r.push("cptr-=s0\n}"),r.push("dptr=cptr;sptr=0");for(c=e.length-1;c>=0;--c){d=e[c];0!==d&&r.push(["for(i",d,"=0;i",d,"<n",d,";++i",d,"){"].join(""))}r.push(p("dptr","scratch[sptr++]"));for(c=0;c<e.length;++c){d=e[c];0!==d&&r.push("dptr+=d"+d,"}")}}else r.push("scratch="+f("ptr"),"while((j--\x3eleft)&&("+f("cptr-s0")+">scratch)){",p("cptr",f("cptr-s0")),"cptr-=s0","}",p("cptr","scratch"));if(r.push("}"),e.length>1&&s&&r.push("free(scratch)"),r.push("} return "+n),s){var h=new Function("malloc","free",r.join("\n"));return h(s[0],s[1])}h=new Function(r.join("\n"));return h()}function l(e,t,r){var n=["'use strict'"],s=["ndarrayQuickSort",e.join("d"),t].join(""),l=["left","right","data","offset"].concat(a(e.length)),u=o(t),c=0;n.push(["function ",s,"(",l.join(","),"){"].join(""));var f=["sixth=((right-left+1)/6)|0","index1=left+sixth","index5=right-sixth","index3=(left+right)>>1","index2=index3-sixth","index4=index3+sixth","el1=index1","el2=index2","el3=index3","el4=index4","el5=index5","less=left+1","great=right-1","pivots_are_equal=true","tmp","tmp0","x","y","z","k","ptr0","ptr1","ptr2","comp_pivot1=0","comp_pivot2=0","comp=0"];if(e.length>1){for(var p=[],d=1;d<e.length;++d)p.push("n"+d),f.push("i"+d);for(d=0;d<8;++d)f.push("b_ptr"+d);f.push("ptr3","ptr4","ptr5","ptr6","ptr7","pivot_ptr","ptr_shift","elementSize="+p.join("*")),u?f.push("pivot1=malloc(elementSize)","pivot2=malloc(elementSize)"):f.push("pivot1=new Array(elementSize),pivot2=new Array(elementSize)")}else f.push("pivot1","pivot2");function h(e){return["(offset+",e,"*s0)"].join("")}function v(e){return"generic"===t?["data.get(",e,")"].join(""):["data[",e,"]"].join("")}function m(e,r){return"generic"===t?["data.set(",e,",",r,")"].join(""):["data[",e,"]=",r].join("")}function g(t,r,i){if(1===t.length)n.push("ptr0="+h(t[0]));else for(var o=0;o<t.length;++o)n.push(["b_ptr",o,"=s0*",t[o]].join(""));r&&n.push("pivot_ptr=0"),n.push("ptr_shift=offset");for(o=e.length-1;o>=0;--o){var a=e[o];0!==a&&n.push(["for(i",a,"=0;i",a,"<n",a,";++i",a,"){"].join(""))}if(t.length>1)for(o=0;o<t.length;++o)n.push(["ptr",o,"=b_ptr",o,"+ptr_shift"].join(""));n.push(i),r&&n.push("++pivot_ptr");for(o=0;o<e.length;++o){a=e[o];0!==a&&(t.length>1?n.push("ptr_shift+=d"+a):n.push("ptr0+=d"+a),n.push("}"))}}function y(t,r,i,o){if(1===r.length)n.push("ptr0="+h(r[0]));else{for(var a=0;a<r.length;++a)n.push(["b_ptr",a,"=s0*",r[a]].join(""));n.push("ptr_shift=offset")}i&&n.push("pivot_ptr=0"),t&&n.push(t+":");for(a=1;a<e.length;++a)n.push(["for(i",a,"=0;i",a,"<n",a,";++i",a,"){"].join(""));if(r.length>1)for(a=0;a<r.length;++a)n.push(["ptr",a,"=b_ptr",a,"+ptr_shift"].join(""));n.push(o);for(a=e.length-1;a>=1;--a)i&&n.push("pivot_ptr+=f"+a),r.length>1?n.push("ptr_shift+=e"+a):n.push("ptr0+=e"+a),n.push("}")}function b(){e.length>1&&u&&n.push("free(pivot1)","free(pivot2)")}function x(t,r){var i="el"+t,o="el"+r;if(e.length>1){var a="__l"+ ++c;y(a,[i,o],!1,["comp=",v("ptr0"),"-",v("ptr1"),"\n","if(comp>0){tmp0=",i,";",i,"=",o,";",o,"=tmp0;break ",a,"}\n","if(comp<0){break ",a,"}"].join(""))}else n.push(["if(",v(h(i)),">",v(h(o)),"){tmp0=",i,";",i,"=",o,";",o,"=tmp0}"].join(""))}function A(t,r){e.length>1?g([t,r],!1,m("ptr0",v("ptr1"))):n.push(m(h(t),v(h(r))))}function w(t,r,i){if(e.length>1){var o="__l"+ ++c;y(o,[r],!0,[t,"=",v("ptr0"),"-pivot",i,"[pivot_ptr]\n","if(",t,"!==0){break ",o,"}"].join(""))}else n.push([t,"=",v(h(r)),"-pivot",i].join(""))}function _(t,r){e.length>1?g([t,r],!1,["tmp=",v("ptr0"),"\n",m("ptr0",v("ptr1")),"\n",m("ptr1","tmp")].join("")):n.push(["ptr0=",h(t),"\n","ptr1=",h(r),"\n","tmp=",v("ptr0"),"\n",m("ptr0",v("ptr1")),"\n",m("ptr1","tmp")].join(""))}function E(t,r,i){e.length>1?(g([t,r,i],!1,["tmp=",v("ptr0"),"\n",m("ptr0",v("ptr1")),"\n",m("ptr1",v("ptr2")),"\n",m("ptr2","tmp")].join("")),n.push("++"+r,"--"+i)):n.push(["ptr0=",h(t),"\n","ptr1=",h(r),"\n","ptr2=",h(i),"\n","++",r,"\n","--",i,"\n","tmp=",v("ptr0"),"\n",m("ptr0",v("ptr1")),"\n",m("ptr1",v("ptr2")),"\n",m("ptr2","tmp")].join(""))}function k(e,t){_(e,t),n.push("--"+t)}function T(t,r,i){e.length>1?g([t,r],!0,[m("ptr0",v("ptr1")),"\n",m("ptr1",["pivot",i,"[pivot_ptr]"].join(""))].join("")):n.push(m(h(t),v(h(r))),m(h(r),"pivot"+i))}function C(t,r){n.push(["if((",r,"-",t,")<=",i,"){\n","insertionSort(",t,",",r,",data,offset,",a(e.length).join(","),")\n","}else{\n",s,"(",t,",",r,",data,offset,",a(e.length).join(","),")\n","}"].join(""))}function S(t,r,i){e.length>1?(n.push(["__l",++c,":while(true){"].join("")),g([t],!0,["if(",v("ptr0"),"!==pivot",r,"[pivot_ptr]){break __l",c,"}"].join("")),n.push(i,"}")):n.push(["while(",v(h(t)),"===pivot",r,"){",i,"}"].join(""))}if(n.push("var "+f.join(",")),x(1,2),x(4,5),x(1,3),x(2,3),x(1,4),x(3,4),x(2,5),x(2,3),x(4,5),e.length>1?g(["el1","el2","el3","el4","el5","index1","index3","index5"],!0,["pivot1[pivot_ptr]=",v("ptr1"),"\n","pivot2[pivot_ptr]=",v("ptr3"),"\n","pivots_are_equal=pivots_are_equal&&(pivot1[pivot_ptr]===pivot2[pivot_ptr])\n","x=",v("ptr0"),"\n","y=",v("ptr2"),"\n","z=",v("ptr4"),"\n",m("ptr5","x"),"\n",m("ptr6","y"),"\n",m("ptr7","z")].join("")):n.push(["pivot1=",v(h("el2")),"\n","pivot2=",v(h("el4")),"\n","pivots_are_equal=pivot1===pivot2\n","x=",v(h("el1")),"\n","y=",v(h("el3")),"\n","z=",v(h("el5")),"\n",m(h("index1"),"x"),"\n",m(h("index3"),"y"),"\n",m(h("index5"),"z")].join("")),A("index2","left"),A("index4","right"),n.push("if(pivots_are_equal){"),n.push("for(k=less;k<=great;++k){"),w("comp","k",1),n.push("if(comp===0){continue}"),n.push("if(comp<0){"),n.push("if(k!==less){"),_("k","less"),n.push("}"),n.push("++less"),n.push("}else{"),n.push("while(true){"),w("comp","great",1),n.push("if(comp>0){"),n.push("great--"),n.push("}else if(comp<0){"),E("k","less","great"),n.push("break"),n.push("}else{"),k("k","great"),n.push("break"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),n.push("}else{"),n.push("for(k=less;k<=great;++k){"),w("comp_pivot1","k",1),n.push("if(comp_pivot1<0){"),n.push("if(k!==less){"),_("k","less"),n.push("}"),n.push("++less"),n.push("}else{"),w("comp_pivot2","k",2),n.push("if(comp_pivot2>0){"),n.push("while(true){"),w("comp","great",2),n.push("if(comp>0){"),n.push("if(--great<k){break}"),n.push("continue"),n.push("}else{"),w("comp","great",1),n.push("if(comp<0){"),E("k","less","great"),n.push("}else{"),k("k","great"),n.push("}"),n.push("break"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),T("left","(less-1)",1),T("right","(great+1)",2),C("left","(less-2)"),C("(great+2)","right"),n.push("if(pivots_are_equal){"),b(),n.push("return"),n.push("}"),n.push("if(less<index1&&great>index5){"),S("less",1,"++less"),S("great",2,"--great"),n.push("for(k=less;k<=great;++k){"),w("comp_pivot1","k",1),n.push("if(comp_pivot1===0){"),n.push("if(k!==less){"),_("k","less"),n.push("}"),n.push("++less"),n.push("}else{"),w("comp_pivot2","k",2),n.push("if(comp_pivot2===0){"),n.push("while(true){"),w("comp","great",2),n.push("if(comp===0){"),n.push("if(--great<k){break}"),n.push("continue"),n.push("}else{"),w("comp","great",1),n.push("if(comp<0){"),E("k","less","great"),n.push("}else{"),k("k","great"),n.push("}"),n.push("break"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),n.push("}"),b(),C("less","great"),n.push("}return "+s),e.length>1&&u){var O=new Function("insertionSort","malloc","free",n.join("\n"));return O(r,u[0],u[1])}O=new Function("insertionSort",n.join("\n"));return O(r)}function u(e,t){var r=["'use strict'"],n=["ndarraySortWrapper",e.join("d"),t].join(""),o=["array"];r.push(["function ",n,"(",o.join(","),"){"].join(""));for(var u=["data=array.data,offset=array.offset|0,shape=array.shape,stride=array.stride"],c=0;c<e.length;++c)u.push(["s",c,"=stride[",c,"]|0,n",c,"=shape[",c,"]|0"].join(""));var f=new Array(e.length),p=[];for(c=0;c<e.length;++c){var d=e[c];0!==d&&(0===p.length?f[d]="1":f[d]=p.join("*"),p.push("n"+d))}var h=-1,v=-1;for(c=0;c<e.length;++c){var m=e[c];0!==m&&(h>0?u.push(["d",m,"=s",m,"-d",h,"*n",h].join("")):u.push(["d",m,"=s",m].join("")),h=m);d=e.length-1-c;0!==d&&(v>0?u.push(["e",d,"=s",d,"-e",v,"*n",v,",f",d,"=",f[d],"-f",v,"*n",v].join("")):u.push(["e",d,"=s",d,",f",d,"=",f[d]].join("")),v=d)}r.push("var "+u.join(","));var g=["0","n0-1","data","offset"].concat(a(e.length));r.push(["if(n0<=",i,"){","insertionSort(",g.join(","),")}else{","quickSort(",g.join(","),")}"].join("")),r.push("}return "+n);var y=new Function("insertionSort","quickSort",r.join("\n")),b=s(e,t),x=l(e,t,b);return y(b,x)}e.exports=u},c584:function(e,t){function r(e,t){return e.has(t)}e.exports=r},c586:function(e,t,r){"use strict";e.exports=i;var n=r("175e");function i(e,t){var r=e.length;if("number"!==typeof t){t=0;for(var i=0;i<r;++i){var o=e[i];t=Math.max(t,o[0],o[1])}t=1+(0|t)}t|=0;var a=new Array(t);for(i=0;i<t;++i)a[i]=[];for(i=0;i<r;++i){o=e[i];a[o[0]].push(o[1]),a[o[1]].push(o[0])}for(var s=0;s<t;++s)n(a[s],(function(e,t){return e-t}));return a}},c5af:function(e,t,r){"use strict";function n(e,t,r,n,i){var o=["function ",e,"(a,l,h,",n.join(","),"){",i?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];return i?t.indexOf("c")<0?o.push(";if(x===y){return m}else if(x<=y){"):o.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):o.push(";if(",t,"){i=m;"),r?o.push("l=m+1}else{h=m-1}"):o.push("h=m-1}else{l=m+1}"),o.push("}"),i?o.push("return -1};"):o.push("return i};"),o.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],i),n("P","c(x,y)"+e+"0",t,["y","c"],i),"function dispatchBsearch",r,"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},c5f4:function(e,t,r){"use strict";var n=r("bae6"),i=Math.abs,o=Math.floor;e.exports=function(e){return isNaN(e)?0:(e=Number(e),0!==e&&isFinite(e)?n(e)*o(i(e)):e)}},c5fc:function(e,t,r){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;n(r("d7bc"));function n(e){return e&&e.__esModule?e:{default:e}}var i=null;t.timeoutsShape=i;var o=null;t.classNamesShape=o},c612:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var i=f(r("ab5b")),o=u(r("d7bc")),a=u(r("74d6")),s=r("976e"),l=r("4578");function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function _(e,t,r){var n=r.localize,i=e;t.axisFilter&&(i=e.filter(t.axisFilter));for(var o=[],a=0;a<i.length;a++){var s=i[a],u=(0,l.capitalize)(s._name.split("axis")[0]),c=(!s._subplot||s._subplot.includes("xaxis")||s._subplot.includes("yaxis")?s._subplot:s._subplot+"."+s._name).trim();o[a]={label:u,value:c,axisGroup:s._axisGroup,title:(0,l.getAxisTitle)(s)}}return o.length>1?[{label:n("All"),value:"allaxes"}].concat(o):o}function E(e){var t=function(t){m(n,t);var r=y(n);function n(e,t){var i;d(this,n),i=r.call(this,e,t),i.axes=(0,l.getAllAxes)(t.fullContainer),i.axesOptions=_(i.axes,e,t);var o=null;return 1===i.axesOptions.length&&(o=i.axesOptions[0].value),i.axesOptions.length>1&&(o=i.axesOptions[1].value),i.state={axesTarget:o},i.axesTargetHandler=i.axesTargetHandler.bind(x(i)),i.updateContainer=i.updateContainer.bind(x(i)),i.setLocals(e,i.state,t),i}return v(n,[{key:"componentWillUpdate",value:function(e,t,r){this.axes=(0,l.getAllAxes)(r.fullContainer),this.axesOptions=_(this.axes,e,r),this.setLocals(e,t,r)}},{key:"setLocals",value:function(e,t,r){var n=r.container,i=r.fullContainer,o=t.axesTarget;if("allaxes"===o){var l=(0,s.deepCopyPublic)(this.axes[0]);this.axes.slice(1).forEach((function(e){return Object.keys(e).forEach((function(t){return(0,s.setMultiValuedContainer)(l,(0,s.deepCopyPublic)(e),t,{searchArrays:!0})}))})),this.fullContainer=l,this.defaultContainer=this.axes[0],this.container={}}else o&&(this.fullContainer=(0,a.default)(i,o).get(),this.container=this.container=(0,a.default)(n,o).get()||{})}},{key:"getChildContext",value:function(){var e=this;return{getValObject:function(t){return e.context.getValObject?e.context.getValObject("".concat(e.state.axesTarget,".").concat(t)):null},axesOptions:this.axesOptions,axesTarget:this.state.axesTarget,axesTargetHandler:this.axesTargetHandler,container:this.container,defaultContainer:this.defaultContainer,fullContainer:this.fullContainer,updateContainer:this.updateContainer}}},{key:"axesTargetHandler",value:function(e){this.setState({axesTarget:e})}},{key:"updateContainer",value:function(e){var t={},r=this.state.axesTarget,n=this.axes;"allaxes"!==r&&(n=[this.fullContainer]);for(var i=Object.keys(e),o=0;o<i.length;o++)for(var a=0;a<n.length;a++){var s=n[a]._subplot,l=n[a]._name;!s||s.includes("xaxis")||s.includes("yaxis")||(l="".concat(s,".").concat(l));var u="".concat(l,".").concat(i[o]);t[u]=e[i[o]]}this.context.updateContainer(t)}},{key:"render",value:function(){return i.default.createElement(e,p({},this.props,{options:this.axesOptions}))}}]),n}(i.Component);t.displayName="AxesConnected".concat((0,l.getDisplayName)(e)),t.contextTypes={container:o.default.object.isRequired,fullContainer:o.default.object.isRequired,updateContainer:o.default.func,localize:o.default.func,getValObject:o.default.func},t.childContextTypes={axesOptions:o.default.array,axesTarget:o.default.string,axesTargetHandler:o.default.func,container:o.default.object,defaultContainer:o.default.object,fullContainer:o.default.object,updateContainer:o.default.func,getValObject:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},c63d:function(e,t,r){"use strict";var n=r("402e"),i=r("f977"),o=r("ce56").findExtremes,a=r("feed");function s(e,t){this.scene=e,this.uid=t,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=n(e.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var l=s.prototype;function u(e,t){var r=new s(e,t.uid);return r.update(t),r}l.handlePick=function(e){var t=this.idToIndex[e.pointId];return{trace:this,dataCoord:e.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*t],this.pickXYData[2*t+1]]:[this.pickXData[t],this.pickYData[t]],textLabel:Array.isArray(this.textLabels)?this.textLabels[t]:this.textLabels,color:this.color,name:this.name,pointIndex:t,hoverinfo:this.hoverinfo}},l.update=function(e){this.index=e.index,this.textLabels=e.text,this.name=e.name,this.hoverinfo=e.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(e),this.color=a(e,{})},l.updateFast=function(e){var t,r,n,a,s,l,u=this.xData=this.pickXData=e.x,c=this.yData=this.pickYData=e.y,f=this.pickXYData=e.xy,p=e.xbounds&&e.ybounds,d=e.indices,h=this.bounds;if(f){if(n=f,t=f.length>>>1,p)h[0]=e.xbounds[0],h[2]=e.xbounds[1],h[1]=e.ybounds[0],h[3]=e.ybounds[1];else for(l=0;l<t;l++)a=n[2*l],s=n[2*l+1],a<h[0]&&(h[0]=a),a>h[2]&&(h[2]=a),s<h[1]&&(h[1]=s),s>h[3]&&(h[3]=s);if(d)r=d;else for(r=new Int32Array(t),l=0;l<t;l++)r[l]=l}else for(t=u.length,n=new Float32Array(2*t),r=new Int32Array(t),l=0;l<t;l++)a=u[l],s=c[l],r[l]=l,n[2*l]=a,n[2*l+1]=s,a<h[0]&&(h[0]=a),a>h[2]&&(h[2]=a),s<h[1]&&(h[1]=s),s>h[3]&&(h[3]=s);this.idToIndex=r,this.pointcloudOptions.idToIndex=r,this.pointcloudOptions.positions=n;var v=i(e.marker.color),m=i(e.marker.border.color),g=e.opacity*e.marker.opacity;v[3]*=g,this.pointcloudOptions.color=v;var y=e.marker.blend;if(null===y){var b=100;y=u.length<b||c.length<b}this.pointcloudOptions.blend=y,m[3]*=g,this.pointcloudOptions.borderColor=m;var x=e.marker.sizemin,A=Math.max(e.marker.sizemax,e.marker.sizemin);this.pointcloudOptions.sizeMin=x,this.pointcloudOptions.sizeMax=A,this.pointcloudOptions.areaRatio=e.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var w=this.scene.xaxis,_=this.scene.yaxis,E=A/2||.5;e._extremes[w._id]=o(w,[h[0],h[2]],{ppad:E}),e._extremes[_._id]=o(_,[h[1],h[3]],{ppad:E})},l.dispose=function(){this.pointcloud.dispose()},e.exports=u},c641:function(e,t,r){e.exports=r("6cd4")},c642:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))};e.exports=s},c687:function(e,t,r){"use strict";var n=r("0984"),i=r("d8db"),o=n.isBrowser("IE <= 9");function a(e){var t,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&(t=document.implementation.createHTMLDocument("foo"),t.documentElement||i(!1),t.documentElement.innerHTML=e,r=t.getElementsByTagName("body")[0]),r}e.exports=a},c6a9:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M7.313 12.063c-.688-.688-1.25-1.25-1.25-2.375V5.813c0-.375-.25-.688-.625-.688s-.625.313-.625.688v3.875c0 1.125-.625 1.688-1.375 2.375-.813.75-1.813 1.688-1.813 3.688 0 2.188 1 3.188 1.875 3.938.688.688 1.313 1.188 1.313 2.438v3.813c0 .375.25.688.625.688s.625-.313.625-.688v-3.813c0-1.25.563-1.75 1.25-2.438.875-.813 1.813-1.813 1.813-3.938 0-2-1-2.938-1.813-3.688zm-2.125 5.5c-.875 0-1.563-.688-1.563-1.5 0-.875.75-1.563 1.563-1.563s1.563.688 1.563 1.563c0 .813-.688 1.5-1.563 1.5zm12.687.375c-.75-.688-1.25-1.063-1.25-1.875v-3.25c0-.375-.25-.688-.625-.688s-.625.313-.625.688v3.25c0 .813-.438 1.188-1.25 1.875-.875.625-1.875 1.5-1.875 3.188 0 1.938 1 2.75 1.875 3.438.688.563 1.188 1 1.188 1.938v3.188c0 .375.25.688.625.688.438 0 .688-.313.688-.688v-3.188c0-.938.5-1.375 1.25-1.938.813-.688 1.875-1.5 1.875-3.438 0-1.75-1-2.563-1.875-3.188zm-1.687 4.812a1.548 1.548 0 0 1-1.563-1.563c0-.813.75-1.5 1.563-1.5.875 0 1.563.688 1.563 1.5 0 .875-.688 1.563-1.563 1.563zM28.563 9.688c-.75-.813-1.375-1.438-1.375-2.813V2.312c0-.375-.25-.688-.625-.688s-.625.313-.625.688v4.563c0 1.375-.563 2-1.313 2.813-.813.938-1.75 1.938-1.75 4.188 0 2.438.938 3.563 1.813 4.438.75.813 1.25 1.438 1.25 2.938v4.5c0 .375.25.688.625.688.438 0 .688-.313.688-.688v-4.5c0-1.5.625-2.125 1.375-2.938.813-.938 1.75-2 1.75-4.438 0-2.25-.938-3.313-1.813-4.188zM26.875 15.5c-.875 0-1.563-.688-1.563-1.5 0-.875.688-1.563 1.563-1.563.813 0 1.5.688 1.5 1.563 0 .813-.688 1.5-1.5 1.5z"}))};t.default=u},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6b6b:function(e,t,r){"use strict";var n=r("fc26"),i=r("3ff5").dfltConfig;function o(e,t){for(var r,i=[],o=0;o<t.length;o++)r=t[o],i[o]=r===e?r:"object"===typeof r?Array.isArray(r)?n.extendDeep([],r):n.extendDeepAll({},r):r;return i}var a={add:function(e,t,r,n,o){var a,s;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},s=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(a={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(s,e.undoQueue.queue.length-s,a),e.undoQueue.index+=1):a=e.undoQueue.queue[s-1],e.undoQueue.beginSequence=!1,a&&(a.undo.calls.unshift(t),a.undo.args.unshift(r),a.redo.calls.push(n),a.redo.args.push(o)),e.undoQueue.queue.length>i.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r<t.undo.calls.length;r++)a.plotDo(e,t.undo.calls[r],t.undo.args[r]);e.undoQueue.inSequence=!1,e.autoplay=!1}},redo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.redo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index>=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r<t.redo.calls.length;r++)a.plotDo(e,t.redo.calls[r],t.redo.args[r]);e.undoQueue.inSequence=!1,e.autoplay=!1,e.undoQueue.index++}},plotDo:function(e,t,r){e.autoplay=!0,r=o(e,r),t.apply(null,r)}};e.exports=a},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c6e8:function(e,t,r){"use strict";e.exports=a;var n=r("26cf"),i=r("7c67"),o=r("69f1");function a(e){if(e<0)return[];if(0===e)return[[0]];for(var t=0|Math.round(o(e+1)),r=[],a=0;a<t;++a){for(var s=n.unrank(e,a),l=[0],u=0,c=0;c<s.length;++c)u+=1<<s[c],l.push(u);i(s)<1&&(l[0]=u,l[e]=0),r.push(l)}return r}},c6eb:function(e,t,r){"use strict";(function(e){var n=r("5ea3"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&n["a"].process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();t["a"]=l}).call(this,r("dd40")(e))},c715:function(e,t,r){"use strict";var n=r("9845"),i=r("dfb3"),o=r("d798"),a=r("cb34").overrideAll,s=r("78df").FORMAT_LINK,l=r("78df").TIME_FORMAT_LINK;e.exports={color:{valType:"color",role:"style",editType:"calc",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},smoothing:{valType:"number",dflt:1,min:0,max:1.3,role:"info",editType:"calc"},title:{text:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"calc",description:["Sets this axis' title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),offset:{valType:"number",role:"info",dflt:10,editType:"calc",description:["An additional amount by which to offset the title from the tick","labels, given in pixels.","Note that this used to be set","by the now deprecated `titleoffset` attribute."].join(" ")},editType:"calc"},type:{valType:"enumerated",values:["-","linear","date","category"],dflt:"-",role:"info",editType:"calc",description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:o.autotypenumbers,autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"style",editType:"calc",description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"style",editType:"calc",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data."].join(" ")},range:{valType:"info_array",role:"info",editType:"calc",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},cheatertype:{valType:"enumerated",values:["index","value"],dflt:"value",role:"info",editType:"calc"},tickmode:{valType:"enumerated",values:["linear","array"],dflt:"array",role:"info",editType:"calc"},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"calc",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tickvals:{valType:"data_array",editType:"calc",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"calc",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},showticklabels:{valType:"enumerated",values:["start","end","both","none"],dflt:"start",role:"style",editType:"calc",description:["Determines whether axis labels are drawn on the low side,","the high side, both, or neither side of the axis."].join(" ")},tickfont:n({editType:"calc",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"calc",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"calc",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"calc",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"calc",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"calc",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"calc",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"calc",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"calc",description:["Hide SI prefix for 10^n if |n| is below this number"].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"calc",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"calc",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",l,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:a(o.tickformatstops,"calc","from-root"),categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},labelpadding:{valType:"integer",role:"style",dflt:10,editType:"calc",description:"Extra padding between label and the axis"},labelprefix:{valType:"string",role:"style",editType:"calc",description:"Sets a axis label prefix."},labelsuffix:{valType:"string",dflt:"",role:"style",editType:"calc",description:"Sets a axis label suffix."},showline:{valType:"boolean",dflt:!1,role:"style",editType:"calc",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"calc",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc",description:"Sets the width (in px) of the axis line."},gridcolor:{valType:"color",role:"style",editType:"calc",description:"Sets the axis line color."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},minorgridcount:{valType:"integer",min:0,dflt:0,role:"info",editType:"calc",description:"Sets the number of minor grid ticks per major grid tick"},minorgridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc",description:"Sets the width (in px) of the grid lines."},minorgridcolor:{valType:"color",dflt:i.lightLine,role:"style",editType:"calc",description:"Sets the color of the grid lines."},startline:{valType:"boolean",role:"style",editType:"calc",description:["Determines whether or not a line is drawn at along the starting value","of this axis.","If *true*, the start line is drawn on top of the grid lines."].join(" ")},startlinecolor:{valType:"color",role:"style",editType:"calc",description:"Sets the line color of the start line."},startlinewidth:{valType:"number",dflt:1,role:"style",editType:"calc",description:"Sets the width (in px) of the start line."},endline:{valType:"boolean",role:"style",editType:"calc",description:["Determines whether or not a line is drawn at along the final value","of this axis.","If *true*, the end line is drawn on top of the grid lines."].join(" ")},endlinewidth:{valType:"number",dflt:1,role:"style",editType:"calc",description:"Sets the width (in px) of the end line."},endlinecolor:{valType:"color",role:"style",editType:"calc",description:"Sets the line color of the end line."},tick0:{valType:"number",min:0,dflt:0,role:"info",editType:"calc",description:"The starting index of grid lines along the axis"},dtick:{valType:"number",min:0,dflt:1,role:"info",editType:"calc",description:"The stride between grid lines along the axis"},arraytick0:{valType:"integer",min:0,dflt:0,role:"info",editType:"calc",description:"The starting index of grid lines along the axis"},arraydtick:{valType:"integer",min:1,dflt:1,role:"info",editType:"calc",description:"The stride between grid lines along the axis"},_deprecated:{title:{valType:"string",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:n({editType:"calc",description:"Deprecated in favor of `title.font`."}),titleoffset:{valType:"number",role:"info",dflt:10,editType:"calc",description:"Deprecated in favor of `title.offset`."}},editType:"calc"}},c740:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").findIndex,o=r("44d2"),a=r("ae40"),s="findIndex",l=!0,u=a(s);s in[]&&Array(1)[s]((function(){l=!1})),n({target:"Array",proto:!0,forced:l||!u},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},c751:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,17C13.1,17 14,16.1 14,15C14,13.89 13.1,13 12,13C10.9,13 10,13.9 10,15C10,16.1 10.9,17 12,17M18,8C19.1,8 20,8.9 20,10V20C20,21.1 19.1,22 18,22H6C4.9,22 4,21.1 4,20V10C4,8.89 4.9,8 6,8H7V6C7,3.24 9.24,1 12,1C14.76,1 17,3.24 17,6V8H18M12,3C10.34,3 9,4.34 9,6V8H15V6C15,4.34 13.66,3 12,3Z"}))};e.exports=s},c791:function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("fc26"),a=r("0379"),s=r("d115"),l=r("83d1"),u=r("371e"),c=r("0642").tickText,f=r("93a6"),p=f.recordMinTextSize,d=f.clearMinTextSize,h=r("2df3"),v=r("6833"),m=r("1a5e"),g=r("fb5a"),y=g.text,b=g.textposition,x=r("c4c7").appendArrayPointValue,A=m.TEXTPAD;function w(e){return e.id}function _(e){if(e.ids)return w}function E(e,t){return e<t?1:-1}function k(e,t,r,n){var i=[],o=[],a=n?t:r,s=n?r:t;return i[0]=a.c2p(e.s0,!0),o[0]=s.c2p(e.p0,!0),i[1]=a.c2p(e.s1,!0),o[1]=s.c2p(e.p1,!0),n?[i,o]:[o,i]}function T(e,t,r,n){var i;return!t.uniformtext.mode&&C(r)?(n&&(i=n()),e.transition().duration(r.duration).ease(r.easing).each("end",(function(){i&&i()})).each("interrupt",(function(){i&&i()}))):e}function C(e){return e&&e.duration>0}function S(e,t,r,a,c,f){var p=t.xaxis,h=t.yaxis,m=e._fullLayout;c||(c={mode:m.barmode,norm:m.barmode,gap:m.bargap,groupgap:m.bargroupgap},d("bar",m));var g=o.makeTraceGroups(a,r,"trace bars").each((function(r){var a=n.select(this),u=r[0].trace,d="waterfall"===u.type,g="funnel"===u.type,y="bar"===u.type,b=y||g,x=0;d&&u.connector.visible&&"between"===u.connector.mode&&(x=u.connector.line.width/2);var A="h"===u.orientation,w=C(c),S=o.ensureSingle(a,"g","points"),M=_(u),P=S.selectAll("g.point").data(o.identity,M);P.enter().append("g").classed("point",!0),P.exit().remove(),P.each((function(a,d){var g,y,_=n.select(this),C=k(a,p,h,A),S=C[0][0],M=C[0][1],P=C[1][0],B=C[1][1],L=0===(A?M-S:B-P);if(L&&b&&v.getLineWidth(u,a)&&(L=!1),L||(L=!i(S)||!i(M)||!i(P)||!i(B)),a.isBlank=L,L&&(A?M=S:B=P),x&&!L&&(A?(S-=E(S,M)*x,M+=E(S,M)*x):(P-=E(P,B)*x,B+=E(P,B)*x)),"waterfall"===u.type){if(!L){var D=u[a.dir].marker;g=D.line.width,y=D.color}}else g=v.getLineWidth(u,a),y=a.mc||u.marker.color;function I(e){var t=n.round(g/2%1,2);return 0===c.gap&&0===c.groupgap?n.round(Math.round(e)-t,2):e}function j(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?I(e):e>t?Math.ceil(e):Math.floor(e)}if(!e._context.staticPlot){var R=s.opacity(y),F=R<1||g>.01?I:j;S=F(S,M,A),M=F(M,S,A),P=F(P,B,!A),B=F(B,P,!A)}var N=T(o.ensureSingle(_,"path"),m,c,f);if(N.style("vector-effect","non-scaling-stroke").attr("d",isNaN((M-S)*(B-P))||L&&e._context.staticPlot?"M0,0Z":"M"+S+","+P+"V"+B+"H"+M+"V"+P+"Z").call(l.setClipUrl,t.layerClipId,e),!m.uniformtext.mode&&w){var z=l.makePointStyleFns(u);l.singlePointStyle(a,N,u,z,e)}O(e,t,_,r,d,S,M,P,B,c,f),t.layerClipId&&l.hideOutsideRangePoint(a,_.select("text"),p,h,u.xcalendar,u.ycalendar)}));var B=!1===u.cliponaxis;l.setClipUrl(a,B?null:t.layerClipId,e)}));u.getComponentMethod("errorbars","plot")(e,g,t,c)}function O(e,t,r,n,i,s,u,c,f,d,v){var m,g=t.xaxis,y=t.yaxis,b=e._fullLayout;function x(t,r,n){var i=o.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+m,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(a.convertToTspans,e);return i}var w=n[0].trace,_="h"===w.orientation,E=D(b,n,i,g,y);m=I(w,i);var k="stack"===d.mode||"relative"===d.mode,C=n[i],S=!k||C._outmost;if(E&&"none"!==m&&(!C.isBlank&&s!==u&&c!==f||"auto"!==m&&"inside"!==m)){var O=b.font,M=h.getBarColor(n[i],w),P=h.getInsideTextFont(w,i,O,M),j=h.getOutsideTextFont(w,i,O),R=r.datum();_?"log"===g.type&&R.s0<=0&&(s=g.range[0]<g.range[1]?0:g._length):"log"===y.type&&R.s0<=0&&(c=y.range[0]<y.range[1]?y._length:0);var F,N,z,U,H,V=Math.abs(u-s)-2*A,Q=Math.abs(f-c)-2*A;if("outside"===m&&(S||C.hasB||(m="inside")),"auto"===m)if(S){m="inside",H=o.ensureUniformFontSize(e,P),F=x(r,E,H),N=l.bBox(F.node()),z=N.width,U=N.height;var W=z>0&&U>0,K=z<=V&&U<=Q,q=z<=Q&&U<=V,G=_?V>=z*(Q/U):Q>=U*(V/z);W&&(K||q||G)?m="inside":(m="outside",F.remove(),F=null)}else m="inside";if(!F){H=o.ensureUniformFontSize(e,"outside"===m?j:P),F=x(r,E,H);var $=F.attr("transform");if(F.attr("transform",""),N=l.bBox(F.node()),z=N.width,U=N.height,F.attr("transform",$),z<=0||U<=0)return void F.remove()}var Y,X,Z=w.textangle;"outside"===m?(X="both"===w.constraintext||"outside"===w.constraintext,Y=L(s,u,c,f,N,{isHorizontal:_,constrained:X,angle:Z})):(X="both"===w.constraintext||"inside"===w.constraintext,Y=B(s,u,c,f,N,{isHorizontal:_,constrained:X,angle:Z,anchor:w.insidetextanchor})),Y.fontSize=H.size,p(w.type,Y,b),C.transform=Y,T(F,b,d,v).attr("transform",o.getTextTransform(Y))}else r.select("text").remove()}function M(e){return"auto"===e?0:e}function P(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),i=Math.abs(Math.cos(r));return{x:e.width*i+e.height*n,y:e.width*n+e.height*i}}function B(e,t,r,n,i,o){var a=!!o.isHorizontal,s=!!o.constrained,l=o.angle||0,u=o.anchor||"end",c="end"===u,f="start"===u,p=o.leftToRight||0,d=(p+1)/2,h=1-d,v=i.width,m=i.height,g=Math.abs(t-e),y=Math.abs(n-r),b=g>2*A&&y>2*A?A:0;g-=2*b,y-=2*b;var x=M(l);"auto"!==l||v<=g&&m<=y||!(v>g||m>y)||(v>y||m>g)&&v<m===g<y||(x+=90);var w=P(i,x),_=1;s&&(_=Math.min(1,g/w.x,y/w.y));var k=i.left*h+i.right*d,T=(i.top+i.bottom)/2,C=(e+A)*h+(t-A)*d,S=(r+n)/2,O=0,B=0;if(f||c){var L=(a?w.x:w.y)/2,D=a?E(e,t):E(r,n);a?f?(C=e+D*b,O=-D*L):(C=t-D*b,O=D*L):f?(S=r+D*b,B=-D*L):(S=n-D*b,B=D*L)}return{textX:k,textY:T,targetX:C,targetY:S,anchorX:O,anchorY:B,scale:_,rotate:x}}function L(e,t,r,n,i,o){var a,s=!!o.isHorizontal,l=!!o.constrained,u=o.angle||0,c=i.width,f=i.height,p=Math.abs(t-e),d=Math.abs(n-r);a=s?d>2*A?A:0:p>2*A?A:0;var h=1;l&&(h=s?Math.min(1,d/f):Math.min(1,p/c));var v=M(u),m=P(i,v),g=(s?m.x:m.y)/2,y=(i.left+i.right)/2,b=(i.top+i.bottom)/2,x=(e+t)/2,w=(r+n)/2,_=0,k=0,T=s?E(t,e):E(r,n);return s?(x=t-T*a,_=T*g):(w=n+T*a,k=-T*g),{textX:y,textY:b,targetX:x,targetY:w,anchorX:_,anchorY:k,scale:h,rotate:v}}function D(e,t,r,n,i){var o,a=t[0].trace,s=a.texttemplate;return o=s?j(e,t,r,n,i):a.textinfo?R(t,r,n,i):v.getValue(a.text,r),v.coerceString(y,o)}function I(e,t){var r=v.getValue(e.textposition,t);return v.coerceEnumerated(b,r)}function j(e,t,r,n,i){var a=t[0].trace,s=o.castOption(a,r,"texttemplate");if(!s)return"";var l,u,f,p,d="waterfall"===a.type,h="funnel"===a.type;function v(e){return c(u,e,!0).text}function m(e){return c(p,+e,!0).text}"h"===a.orientation?(l="y",u=i,f="x",p=n):(l="x",u=n,f="y",p=i);var g=t[r],y={};y.label=g.p,y.labelLabel=y[l+"Label"]=v(g.p);var b=o.castOption(a,g.i,"text");(0===b||b)&&(y.text=b),y.value=g.s,y.valueLabel=y[f+"Label"]=m(g.s);var A={};x(A,a,g.i),d&&(y.delta=+g.rawS||g.s,y.deltaLabel=m(y.delta),y.final=g.v,y.finalLabel=m(y.final),y.initial=y.final-y.delta,y.initialLabel=m(y.initial)),h&&(y.value=g.s,y.valueLabel=m(y.value),y.percentInitial=g.begR,y.percentInitialLabel=o.formatPercent(g.begR),y.percentPrevious=g.difR,y.percentPreviousLabel=o.formatPercent(g.difR),y.percentTotal=g.sumR,y.percenTotalLabel=o.formatPercent(g.sumR));var w=o.castOption(a,g.i,"customdata");return w&&(y.customdata=w),o.texttemplateString(s,y,e._d3locale,A,y,a._meta||{})}function R(e,t,r,n){var i=e[0].trace,a="h"===i.orientation,s="waterfall"===i.type,l="funnel"===i.type;function u(e){var t=a?n:r;return c(t,e,!0).text}function f(e){var t=a?r:n;return c(t,+e,!0).text}var p,d=i.textinfo,h=e[t],v=d.split("+"),m=[],g=function(e){return-1!==v.indexOf(e)};if(g("label")&&m.push(u(e[t].p)),g("text")&&(p=o.castOption(i,h.i,"text"),(0===p||p)&&m.push(p)),s){var y=+h.rawS||h.s,b=h.v,x=b-y;g("initial")&&m.push(f(x)),g("delta")&&m.push(f(y)),g("final")&&m.push(f(b))}if(l){g("value")&&m.push(f(h.s));var A=0;g("percent initial")&&A++,g("percent previous")&&A++,g("percent total")&&A++;var w=A>1;g("percent initial")&&(p=o.formatPercent(h.begR),w&&(p+=" of initial"),m.push(p)),g("percent previous")&&(p=o.formatPercent(h.difR),w&&(p+=" of previous"),m.push(p)),g("percent total")&&(p=o.formatPercent(h.sumR),w&&(p+=" of total"),m.push(p))}return m.join("<br>")}e.exports={plot:S,toMoveInsideBar:B}},c799:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M16,10H14V7H10V10H8L12,14M19,15H15C15,16.66 13.66,18 12,18C10.34,18 9,16.66 9,15H5V5H19M19,3H5C3.89,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3Z"}))};e.exports=s},c7c2:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"treemap",basePlotModule:r("b6de"),categories:[],animatable:!0,attributes:r("97d1"),layoutAttributes:r("3e8e"),supplyDefaults:r("2a27"),supplyLayoutDefaults:r("4aa8"),calc:r("fc7b").calc,crossTraceCalc:r("fc7b").crossTraceCalc,plot:r("57da"),style:r("da8c").style,colorbar:r("f3cf"),meta:{description:["Visualize hierarchal data from leaves (and/or outer branches) towards root","with rectangles. The treemap sectors are determined by the entries in","*labels* or *ids* and in *parents*."].join(" ")}}},c7db:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedDualNumericFraction=void 0;var i=p(r("5174")),o=p(r("d8d0")),a=p(r("d7bc")),s=f(r("ab5b")),l=r("4578"),u=p(r("74d6"));function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(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)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function A(e){var t=E();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var T=function(e){b(r,e);var t=A(r);function r(e,n){var i;return m(this,r),i=t.call(this,e,n),i.updatePlot=i.updatePlot.bind(_(i)),i.updatePlot2=i.updatePlot2.bind(_(i)),i}return y(r,[{key:"updatePlot",value:function(e){this.props.updatePlot(this.props.percentage?e/100:e)}},{key:"updatePlot2",value:function(e){this.props.updateContainer(v({},this.props.attr2,this.props.percentage?e/100:e))}},{key:"render",value:function(){var e,t,r=this.props,n=r.percentage,a=r.multiValued,l=r.attr2,c=r.step,f=r.min,p=r.max,d=n?Math.round(100*this.props.fullValue):this.props.fullValue,h=(0,u.default)(this.context.fullContainer,l).get();return n&&(h=Math.round(100*h)),a&&(e=d,t=h,d="",h=""),s.default.createElement(i.default,this.props,s.default.createElement("div",{className:"numeric-input__wrapper"},s.default.createElement(o.default,{value:d,defaultValue:this.props.defaultValue,placeholder:e,step:c,min:f,max:p,onChange:this.updatePlot,onUpdate:this.updatePlot,showArrows:!this.props.hideArrows,showSlider:!1}),s.default.createElement(o.default,{value:h,defaultValue:this.props.defaultValue,placeholder:t,step:c,min:f,max:p,onChange:this.updatePlot2,onUpdate:this.updatePlot2,showArrows:!this.props.hideArrows,showSlider:!1})))}}]),r}(s.Component);t.UnconnectedDualNumericFraction=T,T.propTypes=h({defaultValue:a.default.any,fullValue:a.default.any,min:a.default.number,max:a.default.number,multiValued:a.default.bool,hideArrows:a.default.bool,showSlider:a.default.bool,step:a.default.number,updatePlot:a.default.func,attr2:a.default.any,percentage:a.default.bool},i.default.propTypes),T.contextTypes={fullContainer:a.default.object},T.displayName="UnconnectedDualNumericFraction";var C=(0,l.connectToContainer)(T);t.default=C},c808:function(e,t,r){e.exports=r("40ce")({args:["array","scalar","index"],pre:{body:"{}",args:[],thisVars:[],localVars:[]},body:{body:"{\nvar _inline_1_v=_inline_1_arg1_,_inline_1_i\nfor(_inline_1_i=0;_inline_1_i<_inline_1_arg2_.length-1;++_inline_1_i) {\n_inline_1_v=_inline_1_v[_inline_1_arg2_[_inline_1_i]]\n}\n_inline_1_arg0_=_inline_1_v[_inline_1_arg2_[_inline_1_arg2_.length-1]]\n}",args:[{name:"_inline_1_arg0_",lvalue:!0,rvalue:!1,count:1},{name:"_inline_1_arg1_",lvalue:!1,rvalue:!0,count:1},{name:"_inline_1_arg2_",lvalue:!1,rvalue:!0,count:4}],thisVars:[],localVars:["_inline_1_i","_inline_1_v"]},post:{body:"{}",args:[],thisVars:[],localVars:[]},funcName:"convert",blockSize:64})},c80f:function(e,t,r){"use strict";e.exports=r("7a7d")},c83e:function(e,t,r){"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}t.__esModule=!0,t.default=n,e.exports=t["default"]},c85e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={Button:!0,PanelMenuWrapper:!0};Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return i.Button}}),Object.defineProperty(t,"PanelMenuWrapper",{enumerable:!0,get:function(){return o.default}});var i=r("562c"),o=l(r("95e6")),a=r("39f0");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=r("4ded");function l(e){return e&&e.__esModule?e:{default:e}}Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},c869:function(e,t,r){var n=r("0b07"),i=r("2b3e"),o=n(i,"Set");e.exports=o},c879:function(e,t,r){"use strict";var n=r("19b2"),i=r("d7f3"),o=r("7092"),a=r("371e"),s=r("fc26"),l=r("83d1"),u=r("3c1c"),c=r("765f").formatColor,f=r("de81"),p=r("1978"),d=r("50da"),h=r("b326"),v=r("72a4").DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},g=r("c4c7").appendArrayPointValue;function y(e,t){var r,n={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0};if(!0!==t.visible)return n;if(f.hasText(t)&&(n.text=b(e,t),n.textSel=w(e,t,t.selected),n.textUnsel=w(e,t,t.unselected)),f.hasMarkers(t)&&(n.marker=x(t),n.markerSel=A(t,t.selected),n.markerUnsel=A(t,t.unselected),!t.unselected&&s.isArrayOrTypedArray(t.marker.opacity))){var i=t.marker.opacity;for(n.markerUnsel.opacity=new Array(i.length),r=0;r<i.length;r++)n.markerUnsel.opacity[r]=v*i[r]}if(f.hasLines(t)){n.line={overlay:!0,thickness:t.line.width,color:t.line.color,opacity:t.opacity};var o=(h.DASHES[t.line.dash]||[1]).slice();for(r=0;r<o.length;++r)o[r]*=t.line.width;n.line.dashes=o}return t.error_x&&t.error_x.visible&&(n.errorX=_(t,t.error_x)),t.error_y&&t.error_y.visible&&(n.errorY=_(t,t.error_y)),t.fill&&"none"!==t.fill&&(n.fill={closed:!0,fill:t.fillcolor,thickness:0}),n}function b(e,t){var r,i=e._fullLayout,o=t._length,a=t.textfont,l=t.textposition,u=Array.isArray(l)?l:[l],c=a.color,f=a.size,p=a.family,d={},h=t.texttemplate;if(h){d.text=[];var v=i._d3locale,m=Array.isArray(h),y=m?Math.min(h.length,o):o,b=m?function(e){return h[e]}:function(){return h};for(r=0;r<y;r++){var x={i:r},A=t._module.formatLabels(x,t,i),w={};g(w,t,r);var _=t._meta||{};d.text.push(s.texttemplateString(b(r),A,v,w,x,_))}}else Array.isArray(t.text)&&t.text.length<o?d.text=t.text.slice():d.text=t.text;if(Array.isArray(d.text))for(r=d.text.length;r<o;r++)d.text[r]="";for(d.opacity=t.opacity,d.font={},d.align=[],d.baseline=[],r=0;r<u.length;r++){var E=u[r].split(/\s+/);switch(E[1]){case"left":d.align.push("right");break;case"right":d.align.push("left");break;default:d.align.push(E[1])}switch(E[0]){case"top":d.baseline.push("bottom");break;case"bottom":d.baseline.push("top");break;default:d.baseline.push(E[0])}}if(Array.isArray(c))for(d.color=new Array(o),r=0;r<o;r++)d.color[r]=c[r];else d.color=c;if(s.isArrayOrTypedArray(f)||Array.isArray(p))for(d.font=new Array(o),r=0;r<o;r++){var k=d.font[r]={};k.size=s.isTypedArray(f)?f[r]:Array.isArray(f)?n(f[r])?f[r]:0:f,k.family=Array.isArray(p)?p[r]:p}else d.font={size:f,family:p};return d}function x(e){var t,r,n=e._length,i=e.marker,a={},l=s.isArrayOrTypedArray(i.symbol),u=s.isArrayOrTypedArray(i.color),f=s.isArrayOrTypedArray(i.line.color),h=s.isArrayOrTypedArray(i.opacity),v=s.isArrayOrTypedArray(i.size),m=s.isArrayOrTypedArray(i.line.width);if(l||(r=d.isOpenSymbol(i.symbol)),l||u||f||h){a.colors=new Array(n),a.borderColors=new Array(n);var g=c(i,i.opacity,n),y=c(i.line,i.opacity,n);if(!Array.isArray(y[0])){var b=y;for(y=Array(n),t=0;t<n;t++)y[t]=b}if(!Array.isArray(g[0])){var x=g;for(g=Array(n),t=0;t<n;t++)g[t]=x}for(a.colors=g,a.borderColors=y,t=0;t<n;t++){if(l){var A=i.symbol[t];r=d.isOpenSymbol(A)}r&&(y[t]=g[t].slice(),g[t]=g[t].slice(),g[t][3]=0)}a.opacity=e.opacity}else r?(a.color=o(i.color,"uint8"),a.color[3]=0,a.borderColor=o(i.color,"uint8")):(a.color=o(i.color,"uint8"),a.borderColor=o(i.line.color,"uint8")),a.opacity=e.opacity*i.opacity;if(l)for(a.markers=new Array(n),t=0;t<n;t++)a.markers[t]=O(i.symbol[t]);else a.marker=O(i.symbol);var w,_=p(e);if(v||m){var E,k=a.sizes=new Array(n),T=a.borderSizes=new Array(n),C=0;if(v){for(t=0;t<n;t++)k[t]=_(i.size[t]),C+=k[t];E=C/n}else for(w=_(i.size),t=0;t<n;t++)k[t]=w;if(m)for(t=0;t<n;t++)T[t]=i.line.width[t]/2;else for(w=i.line.width/2,t=0;t<n;t++)T[t]=w;a.sizeAvg=E}else a.size=_(i&&i.size||10),a.borderSizes=_(i.line.width);return a}function A(e,t){var r=e.marker,n={};return t?(t.marker&&t.marker.symbol?n=x(s.extendFlat({},r,t.marker)):t.marker&&(t.marker.size&&(n.size=t.marker.size/2),t.marker.color&&(n.colors=t.marker.color),void 0!==t.marker.opacity&&(n.opacity=t.marker.opacity)),n):n}function w(e,t,r){var n={};if(!r)return n;if(r.textfont){var i={opacity:1,text:t.text,texttemplate:t.texttemplate,textposition:t.textposition,textfont:s.extendFlat({},t.textfont)};r.textfont&&s.extendFlat(i.textfont,r.textfont),n=b(e,i)}return n}function _(e,t){var r={capSize:2*t.width,lineWidth:t.thickness,color:t.color};return t.copy_ystyle&&(r=e.error_y),r}var E=h.SYMBOL_SDF_SIZE,k=h.SYMBOL_SIZE,T=h.SYMBOL_STROKE,C={},S=l.symbolFuncs[0](.05*k);function O(e){if("circle"===e)return null;var t,r,n=l.symbolNumber(e),o=l.symbolFuncs[n%100],a=!!l.symbolNoDot[n%100],s=!!l.symbolNoFill[n%100],u=d.isDotSymbol(e);return C[e]?C[e]:(t=u&&!a?o(1.1*k)+S:o(k),r=i(t,{w:E,h:E,viewBox:[-k,-k,k,k],stroke:s?T:-T}),C[e]=r,r||null)}function M(e,t,r){var n,i,o=r.length,a=o/2;if(f.hasLines(t)&&a)if("hv"===t.line.shape){for(n=[],i=0;i<a-1;i++)isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN,NaN,NaN):(n.push(r[2*i],r[2*i+1]),isNaN(r[2*i+2])||isNaN(r[2*i+3])?n.push(NaN,NaN):n.push(r[2*i+2],r[2*i+1]));n.push(r[o-2],r[o-1])}else if("hvh"===t.line.shape){for(n=[],i=0;i<a-1;i++)if(isNaN(r[2*i])||isNaN(r[2*i+1])||isNaN(r[2*i+2])||isNaN(r[2*i+3]))isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+1]),n.push(NaN,NaN);else{var s=(r[2*i]+r[2*i+2])/2;n.push(r[2*i],r[2*i+1],s,r[2*i+1],s,r[2*i+3])}n.push(r[o-2],r[o-1])}else if("vhv"===t.line.shape){for(n=[],i=0;i<a-1;i++)if(isNaN(r[2*i])||isNaN(r[2*i+1])||isNaN(r[2*i+2])||isNaN(r[2*i+3]))isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+1]),n.push(NaN,NaN);else{var l=(r[2*i+1]+r[2*i+3])/2;n.push(r[2*i],r[2*i+1],r[2*i],l,r[2*i+2],l)}n.push(r[o-2],r[o-1])}else if("vh"===t.line.shape){for(n=[],i=0;i<a-1;i++)isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN,NaN,NaN):(n.push(r[2*i],r[2*i+1]),isNaN(r[2*i+2])||isNaN(r[2*i+3])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+3]));n.push(r[o-2],r[o-1])}else n=r;var u=!1;for(i=0;i<n.length;i++)if(isNaN(n[i])){u=!0;break}var c=u||n.length>h.TOO_MANY_POINTS||f.hasMarkers(t)?"rect":"round";if(u&&t.connectgaps){var p=n[0],d=n[1];for(i=0;i<n.length;i+=2)isNaN(n[i])||isNaN(n[i+1])?(n[i]=p,n[i+1]=d):(p=n[i],d=n[i+1])}return{join:c,positions:n}}function P(e,t,r,i,o){var s=a.getComponentMethod("errorbars","makeComputeError"),l=u.getFromId(e,t.xaxis),c=u.getFromId(e,t.yaxis),f=r.length/2,p={};function d(e,i){var o=i._id.charAt(0),a=t["error_"+o];if(a&&a.visible&&("linear"===i.type||"log"===i.type)){for(var l=s(a),u={x:0,y:1}[o],c={x:[0,1,2,3],y:[2,3,0,1]}[o],d=new Float64Array(4*f),h=1/0,v=-1/0,m=0,g=0;m<f;m++,g+=4){var y=e[m];if(n(y)){var b=r[2*m+u],x=l(y,m),A=x[0],w=x[1];if(n(A)&&n(w)){var _=y-A,E=y+w;d[g+c[0]]=b-i.c2l(_),d[g+c[1]]=i.c2l(E)-b,d[g+c[2]]=0,d[g+c[3]]=0,h=Math.min(h,y-A),v=Math.max(v,y+w)}}}p[o]={positions:r,errors:d,_bnds:[h,v]}}}return d(i,l),d(o,c),p}function B(e,t,r,n){var i,o=t._length,a={};if(f.hasMarkers(t)){var s=r.font,l=r.align,u=r.baseline;for(a.offset=new Array(o),i=0;i<o;i++){var c=n.sizes?n.sizes[i]:n.size,p=Array.isArray(s)?s[i].size:s.size,d=Array.isArray(l)?l.length>1?l[i]:l[0]:l,h=Array.isArray(u)?u.length>1?u[i]:u[0]:u,v=m[d],g=m[h],y=c?c/.8+1:0,b=-g*y-.5*g;a.offset[i]=[v*y/p,b/p]}}return a}e.exports={style:y,markerStyle:x,markerSelection:A,linePositions:M,errorBarPositions:P,textPosition:B}},c87c:function(e,t){var r=Object.prototype,n=r.hasOwnProperty;function i(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}e.exports=i},c8ac:function(e,t,r){"use strict";e.exports=b;var n=0,i=1;function o(e,t,r,n,i,o){this._color=e,this.key=t,this.value=r,this.left=n,this.right=i,this._count=o}function a(e){return new o(e._color,e.key,e.value,e.left,e.right,e._count)}function s(e,t){return new o(e,t.key,t.value,t.left,t.right,t._count)}function l(e){e._count=1+(e.left?e.left._count:0)+(e.right?e.right._count:0)}function u(e,t){this._compare=e,this.root=t}var c=u.prototype;function f(e,t){if(t.left){var r=f(e,t.left);if(r)return r}r=e(t.key,t.value);return r||(t.right?f(e,t.right):void 0)}function p(e,t,r,n){var i=t(e,n.key);if(i<=0){if(n.left){var o=p(e,t,r,n.left);if(o)return o}o=r(n.key,n.value);if(o)return o}if(n.right)return p(e,t,r,n.right)}function d(e,t,r,n,i){var o,a=r(e,i.key),s=r(t,i.key);if(a<=0){if(i.left&&(o=d(e,t,r,n,i.left),o))return o;if(s>0&&(o=n(i.key,i.value),o))return o}if(s>0&&i.right)return d(e,t,r,n,i.right)}function h(e,t){this.tree=e,this._stack=t}Object.defineProperty(c,"keys",{get:function(){var e=[];return this.forEach((function(t,r){e.push(t)})),e}}),Object.defineProperty(c,"values",{get:function(){var e=[];return this.forEach((function(t,r){e.push(r)})),e}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(e,t){var r=this._compare,a=this.root,c=[],f=[];while(a){var p=r(e,a.key);c.push(a),f.push(p),a=p<=0?a.left:a.right}c.push(new o(n,e,t,null,null,1));for(var d=c.length-2;d>=0;--d){a=c[d];f[d]<=0?c[d]=new o(a._color,a.key,a.value,c[d+1],a.right,a._count+1):c[d]=new o(a._color,a.key,a.value,a.left,c[d+1],a._count+1)}for(d=c.length-1;d>1;--d){var h=c[d-1];a=c[d];if(h._color===i||a._color===i)break;var v=c[d-2];if(v.left===h)if(h.left===a){var m=v.right;if(!m||m._color!==n){if(v._color=n,v.left=h.right,h._color=i,h.right=v,c[d-2]=h,c[d-1]=a,l(v),l(h),d>=3){var g=c[d-3];g.left===v?g.left=h:g.right=h}break}h._color=i,v.right=s(i,m),v._color=n,d-=1}else{m=v.right;if(!m||m._color!==n){if(h.right=a.left,v._color=n,v.left=a.right,a._color=i,a.left=h,a.right=v,c[d-2]=a,c[d-1]=h,l(v),l(h),l(a),d>=3){g=c[d-3];g.left===v?g.left=a:g.right=a}break}h._color=i,v.right=s(i,m),v._color=n,d-=1}else if(h.right===a){m=v.left;if(!m||m._color!==n){if(v._color=n,v.right=h.left,h._color=i,h.left=v,c[d-2]=h,c[d-1]=a,l(v),l(h),d>=3){g=c[d-3];g.right===v?g.right=h:g.left=h}break}h._color=i,v.left=s(i,m),v._color=n,d-=1}else{m=v.left;if(!m||m._color!==n){if(h.left=a.right,v._color=n,v.right=a.left,a._color=i,a.right=h,a.left=v,c[d-2]=a,c[d-1]=h,l(v),l(h),l(a),d>=3){g=c[d-3];g.right===v?g.right=a:g.left=a}break}h._color=i,v.left=s(i,m),v._color=n,d-=1}}return c[0]._color=i,new u(r,c[0])},c.forEach=function(e,t,r){if(this.root)switch(arguments.length){case 1:return f(e,this.root);case 2:return p(t,this._compare,e,this.root);case 3:if(this._compare(t,r)>=0)return;return d(t,r,this._compare,e,this.root)}},Object.defineProperty(c,"begin",{get:function(){var e=[],t=this.root;while(t)e.push(t),t=t.left;return new h(this,e)}}),Object.defineProperty(c,"end",{get:function(){var e=[],t=this.root;while(t)e.push(t),t=t.right;return new h(this,e)}}),c.at=function(e){if(e<0)return new h(this,[]);var t=this.root,r=[];while(1){if(r.push(t),t.left){if(e<t.left._count){t=t.left;continue}e-=t.left._count}if(!e)return new h(this,r);if(e-=1,!t.right)break;if(e>=t.right._count)break;t=t.right}return new h(this,[])},c.ge=function(e){var t=this._compare,r=this.root,n=[],i=0;while(r){var o=t(e,r.key);n.push(r),o<=0&&(i=n.length),r=o<=0?r.left:r.right}return n.length=i,new h(this,n)},c.gt=function(e){var t=this._compare,r=this.root,n=[],i=0;while(r){var o=t(e,r.key);n.push(r),o<0&&(i=n.length),r=o<0?r.left:r.right}return n.length=i,new h(this,n)},c.lt=function(e){var t=this._compare,r=this.root,n=[],i=0;while(r){var o=t(e,r.key);n.push(r),o>0&&(i=n.length),r=o<=0?r.left:r.right}return n.length=i,new h(this,n)},c.le=function(e){var t=this._compare,r=this.root,n=[],i=0;while(r){var o=t(e,r.key);n.push(r),o>=0&&(i=n.length),r=o<0?r.left:r.right}return n.length=i,new h(this,n)},c.find=function(e){var t=this._compare,r=this.root,n=[];while(r){var i=t(e,r.key);if(n.push(r),0===i)return new h(this,n);r=i<=0?r.left:r.right}return new h(this,[])},c.remove=function(e){var t=this.find(e);return t?t.remove():this},c.get=function(e){var t=this._compare,r=this.root;while(r){var n=t(e,r.key);if(0===n)return r.value;r=n<=0?r.left:r.right}};var v=h.prototype;function m(e,t){e.key=t.key,e.value=t.value,e.left=t.left,e.right=t.right,e._color=t._color,e._count=t._count}function g(e){for(var t,r,o,u,c=e.length-1;c>=0;--c){if(t=e[c],0===c)return void(t._color=i);if(r=e[c-1],r.left===t){if(o=r.right,o.right&&o.right._color===n){if(o=r.right=a(o),u=o.right=a(o.right),r.right=o.left,o.left=r,o.right=u,o._color=r._color,t._color=i,r._color=i,u._color=i,l(r),l(o),c>1){var f=e[c-2];f.left===r?f.left=o:f.right=o}return void(e[c-1]=o)}if(o.left&&o.left._color===n){if(o=r.right=a(o),u=o.left=a(o.left),r.right=u.left,o.left=u.right,u.left=r,u.right=o,u._color=r._color,r._color=i,o._color=i,t._color=i,l(r),l(o),l(u),c>1){f=e[c-2];f.left===r?f.left=u:f.right=u}return void(e[c-1]=u)}if(o._color===i){if(r._color===n)return r._color=i,void(r.right=s(n,o));r.right=s(n,o);continue}if(o=a(o),r.right=o.left,o.left=r,o._color=r._color,r._color=n,l(r),l(o),c>1){f=e[c-2];f.left===r?f.left=o:f.right=o}e[c-1]=o,e[c]=r,c+1<e.length?e[c+1]=t:e.push(t),c+=2}else{if(o=r.left,o.left&&o.left._color===n){if(o=r.left=a(o),u=o.left=a(o.left),r.left=o.right,o.right=r,o.left=u,o._color=r._color,t._color=i,r._color=i,u._color=i,l(r),l(o),c>1){f=e[c-2];f.right===r?f.right=o:f.left=o}return void(e[c-1]=o)}if(o.right&&o.right._color===n){if(o=r.left=a(o),u=o.right=a(o.right),r.left=u.right,o.right=u.left,u.right=r,u.left=o,u._color=r._color,r._color=i,o._color=i,t._color=i,l(r),l(o),l(u),c>1){f=e[c-2];f.right===r?f.right=u:f.left=u}return void(e[c-1]=u)}if(o._color===i){if(r._color===n)return r._color=i,void(r.left=s(n,o));r.left=s(n,o);continue}if(o=a(o),r.left=o.right,o.right=r,o._color=r._color,r._color=n,l(r),l(o),c>1){f=e[c-2];f.right===r?f.right=o:f.left=o}e[c-1]=o,e[c]=r,c+1<e.length?e[c+1]=t:e.push(t),c+=2}}}function y(e,t){return e<t?-1:e>t?1:0}function b(e){return new u(e||y,null)}Object.defineProperty(v,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(v,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),v.clone=function(){return new h(this.tree,this._stack.slice())},v.remove=function(){var e=this._stack;if(0===e.length)return this.tree;var t=new Array(e.length),r=e[e.length-1];t[t.length-1]=new o(r._color,r.key,r.value,r.left,r.right,r._count);for(var a=e.length-2;a>=0;--a){r=e[a];r.left===e[a+1]?t[a]=new o(r._color,r.key,r.value,t[a+1],r.right,r._count):t[a]=new o(r._color,r.key,r.value,r.left,t[a+1],r._count)}if(r=t[t.length-1],r.left&&r.right){var s=t.length;r=r.left;while(r.right)t.push(r),r=r.right;var l=t[s-1];t.push(new o(r._color,l.key,l.value,r.left,r.right,r._count)),t[s-1].key=r.key,t[s-1].value=r.value;for(a=t.length-2;a>=s;--a)r=t[a],t[a]=new o(r._color,r.key,r.value,r.left,t[a+1],r._count);t[s-1].left=t[s]}if(r=t[t.length-1],r._color===n){var c=t[t.length-2];c.left===r?c.left=null:c.right===r&&(c.right=null),t.pop();for(a=0;a<t.length;++a)t[a]._count--;return new u(this.tree._compare,t[0])}if(r.left||r.right){r.left?m(r,r.left):r.right&&m(r,r.right),r._color=i;for(a=0;a<t.length-1;++a)t[a]._count--;return new u(this.tree._compare,t[0])}if(1===t.length)return new u(this.tree._compare,null);for(a=0;a<t.length;++a)t[a]._count--;var f=t[t.length-2];return g(t),f.left===r?f.left=null:f.right=null,new u(this.tree._compare,t[0])},Object.defineProperty(v,"key",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(v,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(v,"index",{get:function(){var e=0,t=this._stack;if(0===t.length){var r=this.tree.root;return r?r._count:0}t[t.length-1].left&&(e=t[t.length-1].left._count);for(var n=t.length-2;n>=0;--n)t[n+1]===t[n].right&&(++e,t[n].left&&(e+=t[n].left._count));return e},enumerable:!0}),v.next=function(){var e=this._stack;if(0!==e.length){var t=e[e.length-1];if(t.right){t=t.right;while(t)e.push(t),t=t.left}else{e.pop();while(e.length>0&&e[e.length-1].right===t)t=e[e.length-1],e.pop()}}},Object.defineProperty(v,"hasNext",{get:function(){var e=this._stack;if(0===e.length)return!1;if(e[e.length-1].right)return!0;for(var t=e.length-1;t>0;--t)if(e[t-1].left===e[t])return!0;return!1}}),v.update=function(e){var t=this._stack;if(0===t.length)throw new Error("Can't update empty node!");var r=new Array(t.length),n=t[t.length-1];r[r.length-1]=new o(n._color,n.key,e,n.left,n.right,n._count);for(var i=t.length-2;i>=0;--i)n=t[i],n.left===t[i+1]?r[i]=new o(n._color,n.key,n.value,r[i+1],n.right,n._count):r[i]=new o(n._color,n.key,n.value,n.left,r[i+1],n._count);return new u(this.tree._compare,r[0])},v.prev=function(){var e=this._stack;if(0!==e.length){var t=e[e.length-1];if(t.left){t=t.left;while(t)e.push(t),t=t.right}else{e.pop();while(e.length>0&&e[e.length-1].left===t)t=e[e.length-1],e.pop()}}},Object.defineProperty(v,"hasPrev",{get:function(){var e=this._stack;if(0===e.length)return!1;if(e[e.length-1].left)return!0;for(var t=e.length-1;t>0;--t)if(e[t-1].right===e[t])return!0;return!1}})},c8b8:function(e,t,r){"use strict";var n=r("c947");function i(e,t){switch(e){case"squarify":return n.treemapSquarify.ratio(t);case"binary":return n.treemapBinary;case"dice":return n.treemapDice;case"slice":return n.treemapSlice;default:return n.treemapSliceDice}}function o(e,t,r){var n;r.swapXY&&(n=e.x0,e.x0=e.y0,e.y0=n,n=e.x1,e.x1=e.y1,e.y1=n),r.flipX&&(n=e.x0,e.x0=t[0]-e.x1,e.x1=t[0]-n),r.flipY&&(n=e.y0,e.y0=t[1]-e.y1,e.y1=t[1]-n);var i=e.children;if(i)for(var a=0;a<i.length;a++)o(i[a],t,r)}e.exports=function(e,t,r){var a,s=r.flipX,l=r.flipY,u="dice-slice"===r.packing,c=r.pad[l?"bottom":"top"],f=r.pad[s?"right":"left"],p=r.pad[s?"left":"right"],d=r.pad[l?"top":"bottom"];u&&(a=f,f=c,c=a,a=p,p=d,d=a);var h=n.treemap().tile(i(r.packing,r.squarifyratio)).paddingInner(r.pad.inner).paddingLeft(f).paddingRight(p).paddingTop(c).paddingBottom(d).size(u?[t[1],t[0]]:t)(e);return(u||s||l)&&o(h,t,{swapXY:u,flipX:s,flipY:l}),h}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("d039"),i=r("5899"),o="
";e.exports=function(e){return n((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c8e6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=h(o),s=r("fc55"),l=h(s),u=r("4c72"),c=d(u),f=r("36ad"),p=h(f);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=t.Alpha=function(e){function t(){var e,r,n,i;v(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r=n,n.handleChange=function(e){var t=c.calculateChange(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"===typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},i=r,m(n,i)}return g(t,e),i(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:n({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return a.default.createElement("div",{style:r.alpha},a.default.createElement("div",{style:r.checkboard},a.default.createElement(p.default,{renderers:this.props.renderers})),a.default.createElement("div",{style:r.gradient}),a.default.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("div",{style:r.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=y},c8f0:function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r("zsmooth");!1===n&&(r("xgap"),r("ygap")),r("zhoverformat")}},c8fe:function(e,t,r){var n=r("f8af");function i(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}e.exports=i},c947:function(e,t,r){"use strict";function n(e,t){return e.parent===t.parent?1:2}function i(e){return e.reduce(o,0)/e.length}function o(e,t){return e+t.x}function a(e){return 1+e.reduce(s,0)}function s(e,t){return Math.max(e,t.y)}function l(e){var t;while(t=e.children)e=t[0];return e}function u(e){var t;while(t=e.children)e=t[t.length-1];return e}r.r(t),r.d(t,"cluster",(function(){return c})),r.d(t,"hierarchy",(function(){return E})),r.d(t,"pack",(function(){return Z})),r.d(t,"packSiblings",(function(){return K})),r.d(t,"packEnclose",(function(){return B})),r.d(t,"partition",(function(){return ie})),r.d(t,"stratify",(function(){return ce})),r.d(t,"tree",(function(){return be})),r.d(t,"treemap",(function(){return Ee})),r.d(t,"treemapBinary",(function(){return ke})),r.d(t,"treemapDice",(function(){return ne})),r.d(t,"treemapSlice",(function(){return xe})),r.d(t,"treemapSliceDice",(function(){return Te})),r.d(t,"treemapSquarify",(function(){return _e})),r.d(t,"treemapResquarify",(function(){return Ce}));var c=function(){var e=n,t=1,r=1,o=!1;function s(n){var s,c=0;n.eachAfter((function(t){var r=t.children;r?(t.x=i(r),t.y=a(r)):(t.x=s?c+=e(t,s):0,t.y=0,s=t)}));var f=l(n),p=u(n),d=f.x-e(f,p)/2,h=p.x+e(p,f)/2;return n.eachAfter(o?function(e){e.x=(e.x-n.x)*t,e.y=(n.y-e.y)*r}:function(e){e.x=(e.x-d)/(h-d)*t,e.y=(1-(n.y?e.y/n.y:1))*r})}return s.separation=function(t){return arguments.length?(e=t,s):e},s.size=function(e){return arguments.length?(o=!1,t=+e[0],r=+e[1],s):o?null:[t,r]},s.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],r=+e[1],s):o?[t,r]:null},s};function f(e){var t=0,r=e.children,n=r&&r.length;if(n)while(--n>=0)t+=r[n].value;else t=1;e.value=t}var p=function(){return this.eachAfter(f)},d=function(e){var t,r,n,i,o=this,a=[o];do{t=a.reverse(),a=[];while(o=t.pop())if(e(o),r=o.children,r)for(n=0,i=r.length;n<i;++n)a.push(r[n])}while(a.length);return this},h=function(e){var t,r,n=this,i=[n];while(n=i.pop())if(e(n),t=n.children,t)for(r=t.length-1;r>=0;--r)i.push(t[r]);return this},v=function(e){var t,r,n,i=this,o=[i],a=[];while(i=o.pop())if(a.push(i),t=i.children,t)for(r=0,n=t.length;r<n;++r)o.push(t[r]);while(i=a.pop())e(i);return this},m=function(e){return this.eachAfter((function(t){var r=+e(t.data)||0,n=t.children,i=n&&n.length;while(--i>=0)r+=n[i].value;t.value=r}))},g=function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},y=function(e){var t=this,r=b(t,e),n=[t];while(t!==r)t=t.parent,n.push(t);var i=n.length;while(e!==r)n.splice(i,0,e),e=e.parent;return n};function b(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;e=r.pop(),t=n.pop();while(e===t)i=e,e=r.pop(),t=n.pop();return i}var x=function(){var e=this,t=[e];while(e=e.parent)t.push(e);return t},A=function(){var e=[];return this.each((function(t){e.push(t)})),e},w=function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},_=function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t};function E(e,t){var r,n,i,o,a,s=new O(e),l=+e.value&&(s.value=e.value),u=[s];null==t&&(t=T);while(r=u.pop())if(l&&(r.value=+r.data.value),(i=t(r.data))&&(a=i.length))for(r.children=new Array(a),o=a-1;o>=0;--o)u.push(n=r.children[o]=new O(i[o])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(S)}function k(){return E(this).eachBefore(C)}function T(e){return e.children}function C(e){e.data=e.data.data}function S(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function O(e){this.data=e,this.depth=this.height=0,this.parent=null}O.prototype=E.prototype={constructor:O,count:p,each:d,eachAfter:v,eachBefore:h,sum:m,sort:g,path:y,ancestors:x,descendants:A,leaves:w,links:_,copy:k};var M=Array.prototype.slice;function P(e){var t,r,n=e.length;while(n)r=Math.random()*n--|0,t=e[n],e[n]=e[r],e[r]=t;return e}var B=function(e){var t,r,n=0,i=(e=P(M.call(e))).length,o=[];while(n<i)t=e[n],r&&I(r,t)?++n:(r=R(o=L(o,t)),n=0);return r};function L(e,t){var r,n;if(j(t,e))return[t];for(r=0;r<e.length;++r)if(D(t,e[r])&&j(N(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(D(N(e[r],e[n]),t)&&D(N(e[r],t),e[n])&&D(N(e[n],t),e[r])&&j(z(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function D(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function I(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function j(e,t){for(var r=0;r<t.length;++r)if(!I(e,t[r]))return!1;return!0}function R(e){switch(e.length){case 1:return F(e[0]);case 2:return N(e[0],e[1]);case 3:return z(e[0],e[1],e[2])}}function F(e){return{x:e.x,y:e.y,r:e.r}}function N(e,t){var r=e.x,n=e.y,i=e.r,o=t.x,a=t.y,s=t.r,l=o-r,u=a-n,c=s-i,f=Math.sqrt(l*l+u*u);return{x:(r+o+l/f*c)/2,y:(n+a+u/f*c)/2,r:(f+i+s)/2}}function z(e,t,r){var n=e.x,i=e.y,o=e.r,a=t.x,s=t.y,l=t.r,u=r.x,c=r.y,f=r.r,p=n-a,d=n-u,h=i-s,v=i-c,m=l-o,g=f-o,y=n*n+i*i-o*o,b=y-a*a-s*s+l*l,x=y-u*u-c*c+f*f,A=d*h-p*v,w=(h*x-v*b)/(2*A)-n,_=(v*m-h*g)/A,E=(d*b-p*x)/(2*A)-i,k=(p*g-d*m)/A,T=_*_+k*k-1,C=2*(o+w*_+E*k),S=w*w+E*E-o*o,O=-(T?(C+Math.sqrt(C*C-4*T*S))/(2*T):S/C);return{x:n+w+_*O,y:i+E+k*O,r:O}}function U(e,t,r){var n,i,o,a,s=e.x-t.x,l=e.y-t.y,u=s*s+l*l;u?(i=t.r+r.r,i*=i,a=e.r+r.r,a*=a,i>a?(n=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-n*n)),r.x=e.x-n*s-o*l,r.y=e.y-n*l+o*s):(n=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-n*n)),r.x=t.x+n*s-o*l,r.y=t.y+n*l+o*s)):(r.x=t.x+r.r,r.y=t.y)}function H(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function V(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,o=(t.y*r.r+r.y*t.r)/n;return i*i+o*o}function Q(e){this._=e,this.next=null,this.previous=null}function W(e){if(!(i=e.length))return 0;var t,r,n,i,o,a,s,l,u,c,f;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;U(r,t,n=e[2]),t=new Q(t),r=new Q(r),n=new Q(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(s=3;s<i;++s){U(t._,r._,n=e[s]),n=new Q(n),l=r.next,u=t.previous,c=r._.r,f=t._.r;do{if(c<=f){if(H(l._,n._)){r=l,t.next=r,r.previous=t,--s;continue e}c+=l._.r,l=l.next}else{if(H(u._,n._)){t=u,t.next=r,r.previous=t,--s;continue e}f+=u._.r,u=u.previous}}while(l!==u.next);n.previous=t,n.next=r,t.next=r.previous=r=n,o=V(t);while((n=n.next)!==r)(a=V(n))<o&&(t=n,o=a);r=t.next}t=[r._],n=r;while((n=n.next)!==r)t.push(n._);for(n=B(t),s=0;s<i;++s)t=e[s],t.x-=n.x,t.y-=n.y;return n.r}var K=function(e){return W(e),e};function q(e){return null==e?null:G(e)}function G(e){if("function"!==typeof e)throw new Error;return e}function $(){return 0}var Y=function(e){return function(){return e}};function X(e){return Math.sqrt(e.value)}var Z=function(){var e=null,t=1,r=1,n=$;function i(i){return i.x=t/2,i.y=r/2,e?i.eachBefore(J(e)).eachAfter(ee(n,.5)).eachBefore(te(1)):i.eachBefore(J(X)).eachAfter(ee($,1)).eachAfter(ee(n,i.r/Math.min(t,r))).eachBefore(te(Math.min(t,r)/(2*i.r))),i}return i.radius=function(t){return arguments.length?(e=q(t),i):e},i.size=function(e){return arguments.length?(t=+e[0],r=+e[1],i):[t,r]},i.padding=function(e){return arguments.length?(n="function"===typeof e?e:Y(+e),i):n},i};function J(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function ee(e,t){return function(r){if(n=r.children){var n,i,o,a=n.length,s=e(r)*t||0;if(s)for(i=0;i<a;++i)n[i].r+=s;if(o=W(n),s)for(i=0;i<a;++i)n[i].r-=s;r.r=o+s}}}function te(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}var re=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},ne=function(e,t,r,n,i){var o,a=e.children,s=-1,l=a.length,u=e.value&&(n-t)/e.value;while(++s<l)o=a[s],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*u},ie=function(){var e=1,t=1,r=0,n=!1;function i(i){var a=i.height+1;return i.x0=i.y0=r,i.x1=e,i.y1=t/a,i.eachBefore(o(t,a)),n&&i.eachBefore(re),i}function o(e,t){return function(n){n.children&&ne(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var i=n.x0,o=n.y0,a=n.x1-r,s=n.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),n.x0=i,n.y0=o,n.x1=a,n.y1=s}}return i.round=function(e){return arguments.length?(n=!!e,i):n},i.size=function(r){return arguments.length?(e=+r[0],t=+r[1],i):[e,t]},i.padding=function(e){return arguments.length?(r=+e,i):r},i},oe="$",ae={depth:-1},se={};function le(e){return e.id}function ue(e){return e.parentId}var ce=function(){var e=le,t=ue;function r(r){var n,i,o,a,s,l,u,c=r.length,f=new Array(c),p={};for(i=0;i<c;++i)n=r[i],s=f[i]=new O(n),null!=(l=e(n,i,r))&&(l+="")&&(u=oe+(s.id=l),p[u]=u in p?se:s);for(i=0;i<c;++i)if(s=f[i],l=t(r[i],i,r),null!=l&&(l+="")){if(a=p[oe+l],!a)throw new Error("missing: "+l);if(a===se)throw new Error("ambiguous: "+l);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=ae,o.eachBefore((function(e){e.depth=e.parent.depth+1,--c})).eachBefore(S),o.parent=null,c>0)throw new Error("cycle");return o}return r.id=function(t){return arguments.length?(e=G(t),r):e},r.parentId=function(e){return arguments.length?(t=G(e),r):t},r};function fe(e,t){return e.parent===t.parent?1:2}function pe(e){var t=e.children;return t?t[0]:e.t}function de(e){var t=e.children;return t?t[t.length-1]:e.t}function he(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function ve(e){var t,r=0,n=0,i=e.children,o=i.length;while(--o>=0)t=i[o],t.z+=r,t.m+=r,r+=t.s+(n+=t.c)}function me(e,t,r){return e.a.parent===t.parent?e.a:r}function ge(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function ye(e){var t,r,n,i,o,a=new ge(e,0),s=[a];while(t=s.pop())if(n=t._.children)for(t.children=new Array(o=n.length),i=o-1;i>=0;--i)s.push(r=t.children[i]=new ge(n[i],i)),r.parent=t;return(a.parent=new ge(null,0)).children=[a],a}ge.prototype=Object.create(O.prototype);var be=function(){var e=fe,t=1,r=1,n=null;function i(i){var s=ye(i);if(s.eachAfter(o),s.parent.m=-s.z,s.eachBefore(a),n)i.eachBefore(l);else{var u=i,c=i,f=i;i.eachBefore((function(e){e.x<u.x&&(u=e),e.x>c.x&&(c=e),e.depth>f.depth&&(f=e)}));var p=u===c?1:e(u,c)/2,d=p-u.x,h=t/(c.x+p+d),v=r/(f.depth||1);i.eachBefore((function(e){e.x=(e.x+d)*h,e.y=e.depth*v}))}return i}function o(t){var r=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(r){ve(t);var o=(r[0].z+r[r.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+e(t._,i._));t.parent.A=s(t,i,t.parent.A||n[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(t,r,n){if(r){var i,o=t,a=t,s=r,l=o.parent.children[0],u=o.m,c=a.m,f=s.m,p=l.m;while(s=de(s),o=pe(o),s&&o)l=pe(l),a=de(a),a.a=t,i=s.z+f-o.z-u+e(s._,o._),i>0&&(he(me(s,t,n),t,i),u+=i,c+=i),f+=s.m,u+=o.m,p+=l.m,c+=a.m;s&&!de(a)&&(a.t=s,a.m+=f-c),o&&!pe(l)&&(l.t=o,l.m+=u-p,n=t)}return n}function l(e){e.x*=t,e.y=e.depth*r}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(n=!1,t=+e[0],r=+e[1],i):n?null:[t,r]},i.nodeSize=function(e){return arguments.length?(n=!0,t=+e[0],r=+e[1],i):n?[t,r]:null},i},xe=function(e,t,r,n,i){var o,a=e.children,s=-1,l=a.length,u=e.value&&(i-r)/e.value;while(++s<l)o=a[s],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*u},Ae=(1+Math.sqrt(5))/2;function we(e,t,r,n,i,o){var a,s,l,u,c,f,p,d,h,v,m,g=[],y=t.children,b=0,x=0,A=y.length,w=t.value;while(b<A){l=i-r,u=o-n;do{c=y[x++].value}while(!c&&x<A);for(f=p=c,v=Math.max(u/l,l/u)/(w*e),m=c*c*v,h=Math.max(p/m,m/f);x<A;++x){if(c+=s=y[x].value,s<f&&(f=s),s>p&&(p=s),m=c*c*v,d=Math.max(p/m,m/f),d>h){c-=s;break}h=d}g.push(a={value:c,dice:l<u,children:y.slice(b,x)}),a.dice?ne(a,r,n,i,w?n+=u*c/w:o):xe(a,r,n,w?r+=l*c/w:i,o),w-=c,b=x}return g}var _e=function e(t){function r(e,r,n,i,o){we(t,e,r,n,i,o)}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(Ae),Ee=function(){var e=_e,t=!1,r=1,n=1,i=[0],o=$,a=$,s=$,l=$,u=$;function c(e){return e.x0=e.y0=0,e.x1=r,e.y1=n,e.eachBefore(f),i=[0],t&&e.eachBefore(re),e}function f(t){var r=i[t.depth],n=t.x0+r,c=t.y0+r,f=t.x1-r,p=t.y1-r;f<n&&(n=f=(n+f)/2),p<c&&(c=p=(c+p)/2),t.x0=n,t.y0=c,t.x1=f,t.y1=p,t.children&&(r=i[t.depth+1]=o(t)/2,n+=u(t)-r,c+=a(t)-r,f-=s(t)-r,p-=l(t)-r,f<n&&(n=f=(n+f)/2),p<c&&(c=p=(c+p)/2),e(t,n,c,f,p))}return c.round=function(e){return arguments.length?(t=!!e,c):t},c.size=function(e){return arguments.length?(r=+e[0],n=+e[1],c):[r,n]},c.tile=function(t){return arguments.length?(e=G(t),c):e},c.padding=function(e){return arguments.length?c.paddingInner(e).paddingOuter(e):c.paddingInner()},c.paddingInner=function(e){return arguments.length?(o="function"===typeof e?e:Y(+e),c):o},c.paddingOuter=function(e){return arguments.length?c.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):c.paddingTop()},c.paddingTop=function(e){return arguments.length?(a="function"===typeof e?e:Y(+e),c):a},c.paddingRight=function(e){return arguments.length?(s="function"===typeof e?e:Y(+e),c):s},c.paddingBottom=function(e){return arguments.length?(l="function"===typeof e?e:Y(+e),c):l},c.paddingLeft=function(e){return arguments.length?(u="function"===typeof e?e:Y(+e),c):u},c},ke=function(e,t,r,n,i){var o,a,s=e.children,l=s.length,u=new Array(l+1);for(u[0]=a=o=0;o<l;++o)u[o+1]=a+=s[o].value;function c(e,t,r,n,i,o,a){if(e>=t-1){var l=s[e];return l.x0=n,l.y0=i,l.x1=o,void(l.y1=a)}var f=u[e],p=r/2+f,d=e+1,h=t-1;while(d<h){var v=d+h>>>1;u[v]<p?d=v+1:h=v}p-u[d-1]<u[d]-p&&e+1<d&&--d;var m=u[d]-f,g=r-m;if(o-n>a-i){var y=(n*g+o*m)/r;c(e,d,m,n,i,y,a),c(d,t,g,y,i,o,a)}else{var b=(i*g+a*m)/r;c(e,d,m,n,i,o,b),c(d,t,g,n,b,o,a)}}c(0,l,e.value,t,r,n,i)},Te=function(e,t,r,n,i){(1&e.depth?xe:ne)(e,t,r,n,i)},Ce=function e(t){function r(e,r,n,i,o){if((a=e._squarify)&&a.ratio===t){var a,s,l,u,c,f=-1,p=a.length,d=e.value;while(++f<p){for(s=a[f],l=s.children,u=s.value=0,c=l.length;u<c;++u)s.value+=l[u].value;s.dice?ne(s,r,n,i,n+=(o-n)*s.value/d):xe(s,r,n,r+=(i-r)*s.value/d,o),d-=s.value}}else e._squarify=a=we(t,e,r,n,i,o),a.ratio=t}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(Ae)},c953:function(e,t,r){"use strict";var n=r("0f37"),i="data-savedcursor",o="!!";e.exports=function(e,t){var r=e.attr(i);if(t){if(!r){for(var a=(e.attr("class")||"").split(" "),s=0;s<a.length;s++){var l=a[s];0===l.indexOf("cursor-")&&e.attr(i,l.substr(7)).classed(l,!1)}e.attr(i)||e.attr(i,o)}n(e,t)}else r&&(e.attr(i,null),r===o?n(e):n(e,r))}},c95a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function a(e,t){if(null==e)return t;var r=i(t,2),a=r[0],s=r[1],l=n({},a),u=[].concat(o(s)),c=!0,f=!1,p=void 0;try{for(var d,h=Object.keys(e)[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var v=d.value;if(a.hasOwnProperty(v)){var m=a[v];l[v]=n({},m,e[v])}else l[v]=e[v],u.push(v)}}catch(g){f=!0,p=g}finally{try{!c&&h.return&&h.return()}finally{if(f)throw p}}return[l,u]}t.default=a},c983:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("ab5b")),o=s(r("d7bc")),a=s(r("8014"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(e){var n,i;return c(this,r),n=t.call(this,e),i=null!==e.activeOption?e.activeOption:"",n.state={activeOption:n.parseFlags(i)},n.handleChange=n.handleChange.bind(g(n)),n}return p(r,[{key:"parseFlags",value:function(e){var t;return t="all"===e?this.props.options.map((function(e){return e.value})).join("+"):"none"===e?"":e,t}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({activeOption:this.parseFlags(e.activeOption)})}},{key:"handleChange",value:function(e){var t="";e.map((function(e){!0===e.checked&&(t+=e.value+"+")})),t=t.slice(0,-1),0===t.length&&(t="none"),this.setState({activeOption:t}),this.props.onChange(t)}},{key:"renderCheckedOption",value:function(){var e="string"===typeof this.state.activeOption?this.state.activeOption.split("+"):[this.state.activeOption],t=this.props.options,r=[];return t.map((function(t){var n;n=e.indexOf(t.value)>-1,r.push({label:t.label,value:t.value,checked:n})})),r}},{key:"render",value:function(){return i.default.createElement(a.default,{options:this.renderCheckedOption(),onChange:this.handleChange,className:this.props.className,orientation:this.props.orientation})}}]),r}(i.Component);x.propTypes={options:o.default.arrayOf(o.default.shape({value:o.default.any.isRequired,label:o.default.string.isRequired})).isRequired,activeOption:o.default.any,onChange:o.default.func,className:o.default.string,orientation:o.default.string};var A=x;t.default=A},c997:function(e,t,r){"use strict";e.exports=function(e,t){var r,n=e[0],i=n.z;switch(t.type){case"levels":var o=Math.min(i[0][0],i[0][1]);for(r=0;r<e.length;r++){var a=e[r];a.prefixBoundary=!a.edgepaths.length&&(o>a.level||a.starts.length&&o===a.level)}break;case"constraint":if(n.prefixBoundary=!1,n.edgepaths.length)return;var s=n.x.length,l=n.y.length,u=-1/0,c=1/0;for(r=0;r<l;r++)c=Math.min(c,i[r][0]),c=Math.min(c,i[r][s-1]),u=Math.max(u,i[r][0]),u=Math.max(u,i[r][s-1]);for(r=1;r<s-1;r++)c=Math.min(c,i[0][r]),c=Math.min(c,i[l-1][r]),u=Math.max(u,i[0][r]),u=Math.max(u,i[l-1][r]);var f,p,d=t.value;switch(t._operation){case">":d>u&&(n.prefixBoundary=!0);break;case"<":(d<c||n.starts.length&&d===c)&&(n.prefixBoundary=!0);break;case"[]":f=Math.min(d[0],d[1]),p=Math.max(d[0],d[1]),(p<c||f>u||n.starts.length&&p===c)&&(n.prefixBoundary=!0);break;case"][":f=Math.min(d[0],d[1]),p=Math.max(d[0],d[1]),f<c&&p>u&&(n.prefixBoundary=!0);break}break}}},c99f:function(e,t,r){"use strict";var n=r("fb5a"),i=r("107c").line,o=r("a876"),a=r("94d5").hovertemplateAttrs,s=r("94d5").texttemplateAttrs,l=r("b205c"),u=r("9092").extendFlat,c=r("d115");e.exports={x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,hovertext:n.hovertext,hovertemplate:a({},{keys:l.eventDataKeys}),hoverinfo:u({},o.hoverinfo,{flags:["name","x","y","text","percent initial","percent previous","percent total"]}),textinfo:{valType:"flaglist",flags:["label","text","percent initial","percent previous","percent total","value"],extras:["none"],role:"info",editType:"plot",arrayOk:!1,description:["Determines which trace information appear on the graph.","In the case of having multiple funnels, percentages & totals","are computed separately (per trace)."].join(" ")},texttemplate:s({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),text:n.text,textposition:u({},n.textposition,{dflt:"auto"}),insidetextanchor:u({},n.insidetextanchor,{dflt:"middle"}),textangle:u({},n.textangle,{dflt:0}),textfont:n.textfont,insidetextfont:n.insidetextfont,outsidetextfont:n.outsidetextfont,constraintext:n.constraintext,cliponaxis:n.cliponaxis,orientation:u({},n.orientation,{description:["Sets the orientation of the funnels.","With *v* (*h*), the value of the each bar spans","along the vertical (horizontal).","By default funnels are tend to be oriented horizontally;","unless only *y* array is presented or orientation is set to *v*.","Also regarding graphs including only 'horizontal' funnels,","*autorange* on the *y-axis* are set to *reversed*."].join(" ")}),offset:u({},n.offset,{arrayOk:!1}),width:u({},n.width,{arrayOk:!1}),marker:n.marker,connector:{fillcolor:{valType:"color",role:"style",editType:"style",description:["Sets the fill color."].join(" ")},line:{color:u({},i.color,{dflt:c.defaultLine}),width:u({},i.width,{dflt:0,editType:"plot"}),dash:i.dash,editType:"style"},visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if connector regions and lines are drawn."].join(" ")},editType:"plot"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup}},c9bc:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26");function o(e,t){var r=n.subplotsRegistry.gl3d;if(r)for(var o=r.attrRegex,a=Object.keys(e),s=0;s<a.length;s++){var l=a[s];o.test(l)&&(e[l].annotations||[]).length&&(i.pushUnique(t._basePlotModules,r),i.pushUnique(t._subplots.gl3d,l))}}e.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:r("14b6")}}},layoutAttributes:r("14b6"),handleDefaults:r("c4f4"),includeBasePlot:o,convert:r("de22"),draw:r("f422")}},c9c1:function(e,t,r){"use strict";var n=r("4ea4");t.__esModule=!0,t.default=o;var i=n(r("c83e"));function o(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}e.exports=t["default"]},c9ce:function(e,t,r){"use strict";var n=r("6e58"),i=r("f604"),o=r("a5c4"),a=r("d115"),s=r("fc26"),l=r("05d6").cn,u=s._;function c(e){return""!==e}function f(e,t){return e.filter((function(e){return e.key===t.traceId}))}function p(e,t){n.select(e).select("path").style("fill-opacity",t),n.select(e).select("rect").style("fill-opacity",t)}function d(e){n.select(e).select("text.name").style("fill","black")}function h(e){return function(t){return-1!==e.node.sourceLinks.indexOf(t.link)||-1!==e.node.targetLinks.indexOf(t.link)}}function v(e){return function(t){return-1!==t.node.sourceLinks.indexOf(e.link)||-1!==t.node.targetLinks.indexOf(e.link)}}function m(e,t,r){t&&r&&f(r,t).selectAll("."+l.sankeyLink).filter(h(t)).call(y.bind(0,t,r,!1))}function g(e,t,r){t&&r&&f(r,t).selectAll("."+l.sankeyLink).filter(h(t)).call(b.bind(0,t,r,!1))}function y(e,t,r,n){var i=n.datum().link.label;n.style("fill-opacity",(function(e){if(!e.link.concentrationscale)return.4})),i&&f(t,e).selectAll("."+l.sankeyLink).filter((function(e){return e.link.label===i})).style("fill-opacity",(function(e){if(!e.link.concentrationscale)return.4})),r&&f(t,e).selectAll("."+l.sankeyNode).filter(v(e)).call(m)}function b(e,t,r,n){var i=n.datum().link.label;n.style("fill-opacity",(function(e){return e.tinyColorAlpha})),i&&f(t,e).selectAll("."+l.sankeyLink).filter((function(e){return e.link.label===i})).style("fill-opacity",(function(e){return e.tinyColorAlpha})),r&&f(t,e).selectAll(l.sankeyNode).filter(v(e)).call(g)}function x(e,t){var r=e.hoverlabel||{},n=s.nestedProperty(r,t).get();return!Array.isArray(n)&&n}e.exports=function(e,t){for(var r=e._fullLayout,s=r._paper,f=r._size,h=0;h<e._fullData.length;h++)if(e._fullData[h].visible&&e._fullData[h].type===l.sankey&&!e._fullData[h]._viewInitial){var v=e._fullData[h].node;e._fullData[h]._viewInitial={node:{groups:v.groups.slice(),x:v.x.slice(),y:v.y.slice()}}}var A=function(t,r){var i=r.link;i.originalEvent=n.event,e._hoverdata=[i],o.click(e,{target:!0})},w=function(t,r,i){!1!==e._fullLayout.hovermode&&(n.select(t).call(y.bind(0,r,i,!0)),"skip"!==r.link.trace.link.hoverinfo&&(r.link.fullData=r.link.trace,e.emit("plotly_hover",{event:n.event,points:[r.link]})))},_=u(e,"source:")+" ",E=u(e,"target:")+" ",k=u(e,"concentration:")+" ",T=u(e,"incoming flow count:")+" ",C=u(e,"outgoing flow count:")+" ",S=function(t,i){if(!1!==e._fullLayout.hovermode){var s=i.link.trace.link;if("none"!==s.hoverinfo&&"skip"!==s.hoverinfo){for(var l=[],u=0,f=0;f<i.flow.links.length;f++){var h=i.flow.links[f];if("closest"!==e._fullLayout.hovermode||i.link.pointNumber===h.pointNumber){i.link.pointNumber===h.pointNumber&&(u=f),h.fullData=h.trace,s=i.link.trace.link;var v=y(h),m={valueLabel:n.format(i.valueFormat)(h.value)+i.valueSuffix};l.push({x:v[0],y:v[1],name:m.valueLabel,text:[h.label||"",_+h.source.label,E+h.target.label,h.concentrationscale?k+n.format("%0.2f")(h.flow.labelConcentration):""].filter(c).join("<br>"),color:x(s,"bgcolor")||a.addOpacity(h.color,1),borderColor:x(s,"bordercolor"),fontFamily:x(s,"font.family"),fontSize:x(s,"font.size"),fontColor:x(s,"font.color"),nameLength:x(s,"namelength"),textAlign:x(s,"align"),idealAlign:n.event.x<v[0]?"right":"left",hovertemplate:s.hovertemplate,hovertemplateLabels:m,eventData:[h]})}}var g=o.loneHover(l,{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:e,anchorIndex:u});g.each((function(){var e=this;i.link.concentrationscale||p(e,.65),d(e)}))}}function y(e){var t,r;e.circular?(t=(e.circularPathData.leftInnerExtent+e.circularPathData.rightInnerExtent)/2,r=e.circularPathData.verticalFullExtent):(t=(e.source.x1+e.target.x0)/2,r=(e.y0+e.y1)/2);var n=[t,r];return"v"===e.trace.orientation&&n.reverse(),n[0]+=i.parent.translateX,n[1]+=i.parent.translateY,n}},O=function(t,i,a){!1!==e._fullLayout.hovermode&&(n.select(t).call(b.bind(0,i,a,!0)),"skip"!==i.link.trace.link.hoverinfo&&(i.link.fullData=i.link.trace,e.emit("plotly_unhover",{event:n.event,points:[i.link]})),o.loneUnhover(r._hoverlayer.node()))},M=function(t,r,i){var a=r.node;a.originalEvent=n.event,e._hoverdata=[a],n.select(t).call(g,r,i),o.click(e,{target:!0})},P=function(t,r,i){!1!==e._fullLayout.hovermode&&(n.select(t).call(m,r,i),"skip"!==r.node.trace.node.hoverinfo&&(r.node.fullData=r.node.trace,e.emit("plotly_hover",{event:n.event,points:[r.node]})))},B=function(t,i){if(!1!==e._fullLayout.hovermode){var a=i.node.trace.node;if("none"!==a.hoverinfo&&"skip"!==a.hoverinfo){var s=n.select(t).select("."+l.nodeRect),u=e._fullLayout._paperdiv.node().getBoundingClientRect(),f=s.node().getBoundingClientRect(),h=f.left-2-u.left,v=f.right+2-u.left,m=f.top+f.height/4-u.top,g={valueLabel:n.format(i.valueFormat)(i.node.value)+i.valueSuffix};i.node.fullData=i.node.trace,e._fullLayout._calcInverseTransform(e);var y=e._fullLayout._invScaleX,b=e._fullLayout._invScaleY,A=o.loneHover({x0:y*h,x1:y*v,y:b*m,name:n.format(i.valueFormat)(i.node.value)+i.valueSuffix,text:[i.node.label,T+i.node.targetLinks.length,C+i.node.sourceLinks.length].filter(c).join("<br>"),color:x(a,"bgcolor")||i.tinyColorHue,borderColor:x(a,"bordercolor"),fontFamily:x(a,"font.family"),fontSize:x(a,"font.size"),fontColor:x(a,"font.color"),nameLength:x(a,"namelength"),textAlign:x(a,"align"),idealAlign:"left",hovertemplate:a.hovertemplate,hovertemplateLabels:g,eventData:[i.node]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:e});p(A,.85),d(A)}}},L=function(t,i,a){!1!==e._fullLayout.hovermode&&(n.select(t).call(g,i,a),"skip"!==i.node.trace.node.hoverinfo&&(i.node.fullData=i.node.trace,e.emit("plotly_unhover",{event:n.event,points:[i.node]})),o.loneUnhover(r._hoverlayer.node()))};i(e,s,t,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{linkEvents:{hover:w,follow:S,unhover:O,select:A},nodeEvents:{hover:P,follow:B,unhover:L,select:M}})}},c9eb:function(e,t,r){var n=r("1376");t.pointVertex=n("./shader/point-vertex.glsl"),t.pointFragment=n("./shader/point-fragment.glsl"),t.pickVertex=n("./shader/pick-vertex.glsl"),t.pickFragment=n("./shader/pick-fragment.glsl")},ca23:function(e,t,r){"use strict";e.exports=i;var n=r("92ba")[3];function i(e){var t=e.length;if(t<3){for(var r=new Array(t),i=0;i<t;++i)r[i]=i;return 2===t&&e[0][0]===e[1][0]&&e[0][1]===e[1][1]?[0]:r}var o=new Array(t);for(i=0;i<t;++i)o[i]=i;o.sort((function(t,r){var n=e[t][0]-e[r][0];return n||e[t][1]-e[r][1]}));var a=[o[0],o[1]],s=[o[0],o[1]];for(i=2;i<t;++i){var l=o[i],u=e[l],c=a.length;while(c>1&&n(e[a[c-2]],e[a[c-1]],u)<=0)c-=1,a.pop();a.push(l),c=s.length;while(c>1&&n(e[s[c-2]],e[s[c-1]],u)>=0)c-=1,s.pop();s.push(l)}r=new Array(s.length+a.length-2);for(var f=0,p=(i=0,a.length);i<p;++i)r[f++]=a[i];for(var d=s.length-2;d>0;--d)r[f++]=s[d];return r}},ca39:function(e,t,r){"use strict";e.exports=s;var n=r("0000"),i=r("7899");function o(e,t){for(var r=e.length,n=new Array(r),i=0;i<t.length;++i)n[i]=e[t[i]];var o=t.length;for(i=0;i<r;++i)t.indexOf(i)<0&&(n[o++]=e[i]);return n}function a(e,t){for(var r=e.length,n=t.length,i=0;i<r;++i)for(var o=e[i],a=0;a<o.length;++a){var s=o[a];if(s<n)o[a]=t[s];else{s-=n;for(var l=0;l<n;++l)s>=t[l]&&(s+=1);o[a]=s}}return e}function s(e,t){try{return n(e,!0)}catch(u){var r=i(e);if(r.length<=t)return[];var s=o(e,r),l=n(s,!0);return a(l,r)}}},ca44:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TraceTypeSection=t.LayoutSection=t.LayoutPanel=void 0;var n=l(r("ab5b")),i=l(r("e78b")),o=l(r("691e")),a=l(r("d7bc")),s=r("4578");function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,s.connectLayoutToPlot)(i.default);t.LayoutPanel=u;var c=(0,s.connectLayoutToPlot)(o.default);t.LayoutSection=c;var f=function(e,t){var r=t.fullContainer,i=t.fullData,a=e.mode,s=e.traceTypes,l="trace"===a&&r&&s.includes(r.type),u="layout"===a&&i&&i.some((function(e){return s.includes(e.type)}));return l||u?n.default.createElement(o.default,e):null};t.TraceTypeSection=f,f.contextTypes=s.containerConnectedContextTypes,f.propTypes={children:a.default.node,name:a.default.string,traceTypes:a.default.array,mode:a.default.string},f.defaultProps={traceTypes:[],mode:"layout"}},ca5d:function(e,t,r){"use strict";
|
||
/** @license React v16.13.1
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var n=r("ab5b"),i=r("320c"),o=r("4029");function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));function s(e,t,r,n,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var l=!1,u=null,c=!1,f=null,p={onError:function(e){l=!0,u=e}};function d(e,t,r,n,i,o,a,c,f){l=!1,u=null,s.apply(p,arguments)}function h(e,t,r,n,i,o,s,p,h){if(d.apply(this,arguments),l){if(!l)throw Error(a(198));var v=u;l=!1,u=null,c||(c=!0,f=v)}}var v=null,m=null,g=null;function y(e,t,r){var n=e.type||"unknown-event";e.currentTarget=g(r),h(n,t,void 0,e),e.currentTarget=null}var b=null,x={};function A(){if(b)for(var e in x){var t=x[e],r=b.indexOf(e);if(!(-1<r))throw Error(a(96,e));if(!_[r]){if(!t.extractEvents)throw Error(a(97,e));for(var n in _[r]=t,r=t.eventTypes,r){var i=void 0,o=r[n],s=t,l=n;if(E.hasOwnProperty(l))throw Error(a(99,l));E[l]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&w(u[i],s,l);i=!0}else o.registrationName?(w(o.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(a(98,n,e))}}}}function w(e,t,r){if(k[e])throw Error(a(100,e));k[e]=t,T[e]=t.eventTypes[r].dependencies}var _=[],E={},k={},T={};function C(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];if(!x.hasOwnProperty(t)||x[t]!==n){if(x[t])throw Error(a(102,t));x[t]=n,r=!0}}r&&A()}var S=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),O=null,M=null,P=null;function B(e){if(e=m(e)){if("function"!==typeof O)throw Error(a(280));var t=e.stateNode;t&&(t=v(t),O(e.stateNode,e.type,t))}}function L(e){M?P?P.push(e):P=[e]:M=e}function D(){if(M){var e=M,t=P;if(P=M=null,B(e),t)for(e=0;e<t.length;e++)B(t[e])}}function I(e,t){return e(t)}function j(e,t,r,n,i){return e(t,r,n,i)}function R(){}var F=I,N=!1,z=!1;function U(){null===M&&null===P||(R(),D())}function H(e,t,r){if(z)return e(t,r);z=!0;try{return F(e,t,r)}finally{z=!1,U()}}var V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Q=Object.prototype.hasOwnProperty,W={},K={};function q(e){return!!Q.call(K,e)||!Q.call(W,e)&&(V.test(e)?K[e]=!0:(W[e]=!0,!1))}function G(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),"data-"!==e&&"aria-"!==e));default:return!1}}function $(e,t,r,n){if(null===t||"undefined"===typeof t||G(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Y(e,t,r,n,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){X[e]=new Y(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];X[t]=new Y(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){X[e]=new Y(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){X[e]=new Y(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){X[e]=new Y(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){X[e]=new Y(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){X[e]=new Y(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){X[e]=new Y(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){X[e]=new Y(e,5,!1,e.toLowerCase(),null,!1)}));var Z=/[\-:]([a-z])/g;function J(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Z,J);X[t]=new Y(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Z,J);X[t]=new Y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Z,J);X[t]=new Y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){X[e]=new Y(e,1,!1,e.toLowerCase(),null,!1)})),X.xlinkHref=new Y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){X[e]=new Y(e,1,!1,e.toLowerCase(),null,!0)}));var ee=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(e,t,r,n){var i=X.hasOwnProperty(t)?X[t]:null,o=null!==i?0===i.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]));o||($(t,r,i,n)&&(r=null),n||null===i?q(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(i=i.type,r=3===i||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}ee.hasOwnProperty("ReactCurrentDispatcher")||(ee.ReactCurrentDispatcher={current:null}),ee.hasOwnProperty("ReactCurrentBatchConfig")||(ee.ReactCurrentBatchConfig={suspense:null});var re=/^(.*)[\\\/]/,ne="function"===typeof Symbol&&Symbol.for,ie=ne?Symbol.for("react.element"):60103,oe=ne?Symbol.for("react.portal"):60106,ae=ne?Symbol.for("react.fragment"):60107,se=ne?Symbol.for("react.strict_mode"):60108,le=ne?Symbol.for("react.profiler"):60114,ue=ne?Symbol.for("react.provider"):60109,ce=ne?Symbol.for("react.context"):60110,fe=ne?Symbol.for("react.concurrent_mode"):60111,pe=ne?Symbol.for("react.forward_ref"):60112,de=ne?Symbol.for("react.suspense"):60113,he=ne?Symbol.for("react.suspense_list"):60120,ve=ne?Symbol.for("react.memo"):60115,me=ne?Symbol.for("react.lazy"):60116,ge=ne?Symbol.for("react.block"):60121,ye="function"===typeof Symbol&&Symbol.iterator;function be(e){return null===e||"object"!==typeof e?null:(e=ye&&e[ye]||e["@@iterator"],"function"===typeof e?e:null)}function xe(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}function Ae(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case ae:return"Fragment";case oe:return"Portal";case le:return"Profiler";case se:return"StrictMode";case de:return"Suspense";case he:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ce:return"Context.Consumer";case ue:return"Context.Provider";case pe:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ve:return Ae(e.type);case ge:return Ae(e.render);case me:if(e=1===e._status?e._result:null)return Ae(e)}return null}function we(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break e;default:var n=e._debugOwner,i=e._debugSource,o=Ae(e.type);r=null,n&&(r=Ae(n.type)),n=o,o="",i?o=" (at "+i.fileName.replace(re,"")+":"+i.lineNumber+")":r&&(o=" (created by "+r+")"),r="\n in "+(n||"Unknown")+o}t+=r,e=e.return}while(e);return t}function _e(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ke(e){var t=Ee(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Te(e){e._valueTracker||(e._valueTracker=ke(e))}function Ce(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Ee(e)?e.checked?"true":"false":e.value),e=n,e!==r&&(t.setValue(e),!0)}function Se(e,t){var r=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Oe(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=_e(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Me(e,t){t=t.checked,null!=t&&te(e,"checked",t,!1)}function Pe(e,t){Me(e,t);var r=_e(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?Le(e,t.type,r):t.hasOwnProperty("defaultValue")&&Le(e,t.type,_e(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Be(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,""!==r&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function Le(e,t,r){"number"===t&&e.ownerDocument.activeElement===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function De(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function Ie(e,t){return e=i({children:void 0},t),(t=De(t.children))&&(e.children=t),e}function je(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+_e(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:_e(r)}}function Ne(e,t){var r=_e(t.value),n=_e(t.defaultValue);null!=r&&(r=""+r,r!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ze(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ue={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function He(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ve(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?He(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Qe,We=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction((function(){return e(t,r,n,i)}))}:e}((function(e,t){if(e.namespaceURI!==Ue.svg||"innerHTML"in e)e.innerHTML=t;else{for(Qe=Qe||document.createElement("div"),Qe.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Qe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ke(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}function qe(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Ge={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},$e={},Ye={};function Xe(e){if($e[e])return $e[e];if(!Ge[e])return e;var t,r=Ge[e];for(t in r)if(r.hasOwnProperty(t)&&t in Ye)return $e[e]=r[t];return e}S&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete Ge.animationend.animation,delete Ge.animationiteration.animation,delete Ge.animationstart.animation),"TransitionEvent"in window||delete Ge.transitionend.transition);var Ze=Xe("animationend"),Je=Xe("animationiteration"),et=Xe("animationstart"),tt=Xe("transitionend"),rt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nt=new("function"===typeof WeakMap?WeakMap:Map);function it(e){var t=nt.get(e);return void 0===t&&(t=new Map,nt.set(e,t)),t}function ot(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.effectTag)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function at(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function st(e){if(ot(e)!==e)throw Error(a(188))}function lt(e){var t=e.alternate;if(!t){if(t=ot(e),null===t)throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(n=i.return,null!==n){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return st(i),e;if(o===n)return st(i),t;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}function ut(e){if(e=lt(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ct(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ft(e,t,r){Array.isArray(e)?e.forEach(t,r):e&&t.call(r,e)}var pt=null;function dt(e){if(e){var t=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)y(e,t[n],r[n]);else t&&y(e,t,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ht(e){if(null!==e&&(pt=ct(pt,e)),e=pt,pt=null,e){if(ft(e,dt),pt)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function vt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function mt(e){if(!S)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t}var gt=[];function yt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>gt.length&>.push(e)}function bt(e,t,r,n){if(gt.length){var i=gt.pop();return i.topLevelType=e,i.eventSystemFlags=n,i.nativeEvent=t,i.targetInst=r,i}return{topLevelType:e,eventSystemFlags:n,nativeEvent:t,targetInst:r,ancestors:[]}}function xt(e){var t=e.targetInst,r=t;do{if(!r){e.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;t=r.tag,5!==t&&6!==t||e.ancestors.push(r),r=zr(n)}while(r);for(r=0;r<e.ancestors.length;r++){t=e.ancestors[r];var i=vt(e.nativeEvent);n=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===r&&(a|=64);for(var s=null,l=0;l<_.length;l++){var u=_[l];u&&(u=u.extractEvents(n,t,o,i,a))&&(s=ct(s,u))}ht(s)}}function At(e,t,r){if(!r.has(e)){switch(e){case"scroll":nr(t,"scroll",!0);break;case"focus":case"blur":nr(t,"focus",!0),nr(t,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":mt(e)&&nr(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===rt.indexOf(e)&&rr(e,t)}r.set(e,null)}}var wt,_t,Et,kt=!1,Tt=[],Ct=null,St=null,Ot=null,Mt=new Map,Pt=new Map,Bt=[],Lt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Dt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function It(e,t){var r=it(t);Lt.forEach((function(e){At(e,t,r)})),Dt.forEach((function(e){At(e,t,r)}))}function jt(e,t,r,n,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|r,nativeEvent:i,container:n}}function Rt(e,t){switch(e){case"focus":case"blur":Ct=null;break;case"dragenter":case"dragleave":St=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Ft(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e=jt(t,r,n,i,o),null!==t&&(t=Ur(t),null!==t&&_t(t)),e):(e.eventSystemFlags|=n,e)}function Nt(e,t,r,n,i){switch(t){case"focus":return Ct=Ft(Ct,e,t,r,n,i),!0;case"dragenter":return St=Ft(St,e,t,r,n,i),!0;case"mouseover":return Ot=Ft(Ot,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return Mt.set(o,Ft(Mt.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Pt.set(o,Ft(Pt.get(o)||null,e,t,r,n,i)),!0}return!1}function zt(e){var t=zr(e.target);if(null!==t){var r=ot(t);if(null!==r)if(t=r.tag,13===t){if(t=at(r),null!==t)return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){Et(r)}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Ut(e){if(null!==e.blockedOn)return!1;var t=sr(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var r=Ur(t);return null!==r&&_t(r),e.blockedOn=t,!1}return!0}function Ht(e,t,r){Ut(e)&&r.delete(t)}function Vt(){for(kt=!1;0<Tt.length;){var e=Tt[0];if(null!==e.blockedOn){e=Ur(e.blockedOn),null!==e&&wt(e);break}var t=sr(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:Tt.shift()}null!==Ct&&Ut(Ct)&&(Ct=null),null!==St&&Ut(St)&&(St=null),null!==Ot&&Ut(Ot)&&(Ot=null),Mt.forEach(Ht),Pt.forEach(Ht)}function Qt(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Vt)))}function Wt(e){function t(t){return Qt(t,e)}if(0<Tt.length){Qt(Tt[0],e);for(var r=1;r<Tt.length;r++){var n=Tt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==Ct&&Qt(Ct,e),null!==St&&Qt(St,e),null!==Ot&&Qt(Ot,e),Mt.forEach(t),Pt.forEach(t),r=0;r<Bt.length;r++)n=Bt[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Bt.length&&(r=Bt[0],null===r.blockedOn);)zt(r),null===r.blockedOn&&Bt.shift()}var Kt={},qt=new Map,Gt=new Map,$t=["abort","abort",Ze,"animationEnd",Je,"animationIteration",et,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",tt,"transitionEnd","waiting","waiting"];function Yt(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],eventPriority:t},Gt.set(n,t),qt.set(n,o),Kt[i]=o}}Yt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Yt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Yt($t,2);for(var Xt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Zt=0;Zt<Xt.length;Zt++)Gt.set(Xt[Zt],0);var Jt=o.unstable_UserBlockingPriority,er=o.unstable_runWithPriority,tr=!0;function rr(e,t){nr(t,e,!1)}function nr(e,t,r){var n=Gt.get(t);switch(void 0===n?2:n){case 0:n=ir.bind(null,t,1,e);break;case 1:n=or.bind(null,t,1,e);break;default:n=ar.bind(null,t,1,e)}r?e.addEventListener(t,n,!0):e.addEventListener(t,n,!1)}function ir(e,t,r,n){N||R();var i=ar,o=N;N=!0;try{j(i,e,t,r,n)}finally{(N=o)||U()}}function or(e,t,r,n){er(Jt,ar.bind(null,e,t,r,n))}function ar(e,t,r,n){if(tr)if(0<Tt.length&&-1<Lt.indexOf(e))e=jt(null,e,t,r,n),Tt.push(e);else{var i=sr(e,t,r,n);if(null===i)Rt(e,n);else if(-1<Lt.indexOf(e))e=jt(i,e,t,r,n),Tt.push(e);else if(!Nt(i,e,t,r,n)){Rt(e,n),e=bt(e,n,null,t);try{H(xt,e)}finally{yt(e)}}}}function sr(e,t,r,n){if(r=vt(n),r=zr(r),null!==r){var i=ot(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(r=at(i),null!==r)return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}e=bt(e,n,r,t);try{H(xt,e)}finally{yt(e)}return null}var lr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ur=["Webkit","ms","Moz","O"];function cr(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function fr(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=cr(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(lr).forEach((function(e){ur.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]}))}));var pr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dr(e,t){if(t){if(pr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function hr(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vr=Ue.html;function mr(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var r=it(e);t=T[t];for(var n=0;n<t.length;n++)At(t[n],e,r)}function gr(){}function yr(e){if(e=e||("undefined"!==typeof document?document:void 0),"undefined"===typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}function br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xr(e,t){var r,n=br(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=br(n)}}function Ar(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ar(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function wr(){for(var e=window,t=yr();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;e=t.contentWindow,t=yr(e.document)}return t}function _r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Er="$",kr="/$",Tr="$?",Cr="$!",Sr=null,Or=null;function Mr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Pr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Br="function"===typeof setTimeout?setTimeout:void 0,Lr="function"===typeof clearTimeout?clearTimeout:void 0;function Dr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Ir(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if(r===Er||r===Cr||r===Tr){if(0===t)return e;t--}else r===kr&&t++}e=e.previousSibling}return null}var jr=Math.random().toString(36).slice(2),Rr="__reactInternalInstance$"+jr,Fr="__reactEventHandlers$"+jr,Nr="__reactContainere$"+jr;function zr(e){var t=e[Rr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Nr]||r[Rr]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=Ir(e);null!==e;){if(r=e[Rr])return r;e=Ir(e)}return t}e=r,r=e.parentNode}return null}function Ur(e){return e=e[Rr]||e[Nr],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Hr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Vr(e){return e[Fr]||null}function Qr(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Wr(e,t){var r=e.stateNode;if(!r)return null;var n=v(r);if(!n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!==typeof r)throw Error(a(231,t,typeof r));return r}function Kr(e,t,r){(t=Wr(e,r.dispatchConfig.phasedRegistrationNames[t]))&&(r._dispatchListeners=ct(r._dispatchListeners,t),r._dispatchInstances=ct(r._dispatchInstances,e))}function qr(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,r=[];t;)r.push(t),t=Qr(t);for(t=r.length;0<t--;)Kr(r[t],"captured",e);for(t=0;t<r.length;t++)Kr(r[t],"bubbled",e)}}function Gr(e,t,r){e&&r&&r.dispatchConfig.registrationName&&(t=Wr(e,r.dispatchConfig.registrationName))&&(r._dispatchListeners=ct(r._dispatchListeners,t),r._dispatchInstances=ct(r._dispatchInstances,e))}function $r(e){e&&e.dispatchConfig.registrationName&&Gr(e._targetInst,null,e)}function Yr(e){ft(e,qr)}var Xr=null,Zr=null,Jr=null;function en(){if(Jr)return Jr;var e,t,r=Zr,n=r.length,i="value"in Xr?Xr.value:Xr.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return Jr=i.slice(e,1<t?1-t:void 0)}function tn(){return!0}function rn(){return!1}function nn(e,t,r,n){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=r,e=this.constructor.Interface,e)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(r):"target"===i?this.target=n:this[i]=r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?tn:rn,this.isPropagationStopped=rn,this}function on(e,t,r,n){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,r,n),i}return new this(e,t,r,n)}function an(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function sn(e){e.eventPool=[],e.getPooled=on,e.release=an}i(nn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tn)},persist:function(){this.isPersistent=tn},isPersistent:rn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rn,this._dispatchInstances=this._dispatchListeners=null}}),nn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},nn.extend=function(e){function t(){}function r(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var o=new t;return i(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=i({},n.Interface,e),r.extend=n.extend,sn(r),r},sn(nn);var ln=nn.extend({data:null}),un=nn.extend({data:null}),cn=[9,13,27,32],fn=S&&"CompositionEvent"in window,pn=null;S&&"documentMode"in document&&(pn=document.documentMode);var dn=S&&"TextEvent"in window&&!pn,hn=S&&(!fn||pn&&8<pn&&11>=pn),vn=String.fromCharCode(32),mn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},gn=!1;function yn(e,t){switch(e){case"keyup":return-1!==cn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function bn(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var xn=!1;function An(e,t){switch(e){case"compositionend":return bn(t);case"keypress":return 32!==t.which?null:(gn=!0,vn);case"textInput":return e=t.data,e===vn&&gn?null:e;default:return null}}function wn(e,t){if(xn)return"compositionend"===e||!fn&&yn(e,t)?(e=en(),Jr=Zr=Xr=null,xn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hn&&"ko"!==t.locale?null:t.data;default:return null}}var _n={eventTypes:mn,extractEvents:function(e,t,r,n){var i;if(fn)e:{switch(e){case"compositionstart":var o=mn.compositionStart;break e;case"compositionend":o=mn.compositionEnd;break e;case"compositionupdate":o=mn.compositionUpdate;break e}o=void 0}else xn?yn(e,r)&&(o=mn.compositionEnd):"keydown"===e&&229===r.keyCode&&(o=mn.compositionStart);return o?(hn&&"ko"!==r.locale&&(xn||o!==mn.compositionStart?o===mn.compositionEnd&&xn&&(i=en()):(Xr=n,Zr="value"in Xr?Xr.value:Xr.textContent,xn=!0)),o=ln.getPooled(o,t,r,n),i?o.data=i:(i=bn(r),null!==i&&(o.data=i)),Yr(o),i=o):i=null,(e=dn?An(e,r):wn(e,r))?(t=un.getPooled(mn.beforeInput,t,r,n),t.data=e,Yr(t)):t=null,null===i?t:null===t?i:[i,t]}},En={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!En[e.type]:"textarea"===t}var Tn={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Cn(e,t,r){return e=nn.getPooled(Tn.change,e,t,r),e.type="change",L(r),Yr(e),e}var Sn=null,On=null;function Mn(e){ht(e)}function Pn(e){var t=Hr(e);if(Ce(t))return e}function Bn(e,t){if("change"===e)return t}var Ln=!1;function Dn(){Sn&&(Sn.detachEvent("onpropertychange",In),On=Sn=null)}function In(e){if("value"===e.propertyName&&Pn(On))if(e=Cn(On,e,vt(e)),N)ht(e);else{N=!0;try{I(Mn,e)}finally{N=!1,U()}}}function jn(e,t,r){"focus"===e?(Dn(),Sn=t,On=r,Sn.attachEvent("onpropertychange",In)):"blur"===e&&Dn()}function Rn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Pn(On)}function Fn(e,t){if("click"===e)return Pn(t)}function Nn(e,t){if("input"===e||"change"===e)return Pn(t)}S&&(Ln=mt("input")&&(!document.documentMode||9<document.documentMode));var zn={eventTypes:Tn,_isInputEventSupported:Ln,extractEvents:function(e,t,r,n){var i=t?Hr(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=Bn;else if(kn(i))if(Ln)a=Nn;else{a=Rn;var s=jn}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Fn);if(a&&(a=a(e,t)))return Cn(a,r,n);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Le(i,"number",i.value)}},Un=nn.extend({view:null,detail:null}),Hn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Hn[e])&&!!t[e]}function Qn(){return Vn}var Wn=0,Kn=0,qn=!1,Gn=!1,$n=Un.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qn,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Wn;return Wn=e.screenX,qn?"mousemove"===e.type?e.screenX-t:0:(qn=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Kn;return Kn=e.screenY,Gn?"mousemove"===e.type?e.screenY-t:0:(Gn=!0,0)}}),Yn=$n.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xn={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zn={eventTypes:Xn,extractEvents:function(e,t,r,n,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0===(32&i)&&(r.relatedTarget||r.fromElement)||!a&&!o)return null;if(o=n.window===n?n:(o=n.ownerDocument)?o.defaultView||o.parentWindow:window,a){if(a=t,t=(t=r.relatedTarget||r.toElement)?zr(t):null,null!==t){var s=ot(t);(t!==s||5!==t.tag&&6!==t.tag)&&(t=null)}}else a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var l=$n,u=Xn.mouseLeave,c=Xn.mouseEnter,f="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=Yn,u=Xn.pointerLeave,c=Xn.pointerEnter,f="pointer");if(e=null==a?o:Hr(a),o=null==t?o:Hr(t),u=l.getPooled(u,a,r,n),u.type=f+"leave",u.target=e,u.relatedTarget=o,r=l.getPooled(c,t,r,n),r.type=f+"enter",r.target=o,r.relatedTarget=e,n=a,f=t,n&&f)e:{for(l=n,c=f,a=0,e=l;e;e=Qr(e))a++;for(e=0,t=c;t;t=Qr(t))e++;for(;0<a-e;)l=Qr(l),a--;for(;0<e-a;)c=Qr(c),e--;for(;a--;){if(l===c||l===c.alternate)break e;l=Qr(l),c=Qr(c)}l=null}else l=null;for(c=l,l=[];n&&n!==c;){if(a=n.alternate,null!==a&&a===c)break;l.push(n),n=Qr(n)}for(n=[];f&&f!==c;){if(a=f.alternate,null!==a&&a===c)break;n.push(f),f=Qr(f)}for(f=0;f<l.length;f++)Gr(l[f],"bubbled",u);for(f=n.length;0<f--;)Gr(n[f],"captured",r);return 0===(64&i)?[u]:[u,r]}};function Jn(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var ei="function"===typeof Object.is?Object.is:Jn,ti=Object.prototype.hasOwnProperty;function ri(e,t){if(ei(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!ti.call(t,r[n])||!ei(e[r[n]],t[r[n]]))return!1;return!0}var ni=S&&"documentMode"in document&&11>=document.documentMode,ii={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},oi=null,ai=null,si=null,li=!1;function ui(e,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return li||null==oi||oi!==yr(r)?null:(r=oi,"selectionStart"in r&&_r(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),si&&ri(si,r)?null:(si=r,e=nn.getPooled(ii.select,ai,e,t),e.type="select",e.target=oi,Yr(e),e))}var ci={eventTypes:ii,extractEvents:function(e,t,r,n,i,o){if(i=o||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument),!(o=!i)){e:{i=it(i),o=T.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Hr(t):window,e){case"focus":(kn(i)||"true"===i.contentEditable)&&(oi=i,ai=t,si=null);break;case"blur":si=ai=oi=null;break;case"mousedown":li=!0;break;case"contextmenu":case"mouseup":case"dragend":return li=!1,ui(r,n);case"selectionchange":if(ni)break;case"keydown":case"keyup":return ui(r,n)}return null}},fi=nn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),pi=nn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),di=Un.extend({relatedTarget:null});function hi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,0===e&&13===t&&(e=13)):e=t,10===e&&(e=13),32<=e||13===e?e:0}var vi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gi=Un.extend({key:function(e){if(e.key){var t=vi[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=hi(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?mi[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qn,charCode:function(e){return"keypress"===e.type?hi(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?hi(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),yi=$n.extend({dataTransfer:null}),bi=Un.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qn}),xi=nn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Ai=$n.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),wi={eventTypes:Kt,extractEvents:function(e,t,r,n){var i=qt.get(e);if(!i)return null;switch(e){case"keypress":if(0===hi(r))return null;case"keydown":case"keyup":e=gi;break;case"blur":case"focus":e=di;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=$n;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=yi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=bi;break;case Ze:case Je:case et:e=fi;break;case tt:e=xi;break;case"scroll":e=Un;break;case"wheel":e=Ai;break;case"copy":case"cut":case"paste":e=pi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Yn;break;default:e=nn}return t=e.getPooled(i,t,r,n),Yr(t),t}};if(b)throw Error(a(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),A();var _i=Ur;v=Vr,m=_i,g=Hr,C({SimpleEventPlugin:wi,EnterLeaveEventPlugin:Zn,ChangeEventPlugin:zn,SelectEventPlugin:ci,BeforeInputEventPlugin:_n});var Ei=[],ki=-1;function Ti(e){0>ki||(e.current=Ei[ki],Ei[ki]=null,ki--)}function Ci(e,t){ki++,Ei[ki]=e.current,e.current=t}var Si={},Oi={current:Si},Mi={current:!1},Pi=Si;function Bi(e,t){var r=e.type.contextTypes;if(!r)return Si;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Li(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Di(){Ti(Mi),Ti(Oi)}function Ii(e,t,r){if(Oi.current!==Si)throw Error(a(168));Ci(Oi,t),Ci(Mi,r)}function ji(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext(),n)if(!(o in e))throw Error(a(108,Ae(t)||"Unknown",o));return i({},r,{},n)}function Ri(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Si,Pi=Oi.current,Ci(Oi,e),Ci(Mi,Mi.current),!0}function Fi(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=ji(e,t,Pi),n.__reactInternalMemoizedMergedChildContext=e,Ti(Mi),Ti(Oi),Ci(Oi,e)):Ti(Mi),Ci(Mi,r)}var Ni=o.unstable_runWithPriority,zi=o.unstable_scheduleCallback,Ui=o.unstable_cancelCallback,Hi=o.unstable_requestPaint,Vi=o.unstable_now,Qi=o.unstable_getCurrentPriorityLevel,Wi=o.unstable_ImmediatePriority,Ki=o.unstable_UserBlockingPriority,qi=o.unstable_NormalPriority,Gi=o.unstable_LowPriority,$i=o.unstable_IdlePriority,Yi={},Xi=o.unstable_shouldYield,Zi=void 0!==Hi?Hi:function(){},Ji=null,eo=null,to=!1,ro=Vi(),no=1e4>ro?Vi:function(){return Vi()-ro};function io(){switch(Qi()){case Wi:return 99;case Ki:return 98;case qi:return 97;case Gi:return 96;case $i:return 95;default:throw Error(a(332))}}function oo(e){switch(e){case 99:return Wi;case 98:return Ki;case 97:return qi;case 96:return Gi;case 95:return $i;default:throw Error(a(332))}}function ao(e,t){return e=oo(e),Ni(e,t)}function so(e,t,r){return e=oo(e),zi(e,t,r)}function lo(e){return null===Ji?(Ji=[e],eo=zi(Wi,co)):Ji.push(e),Yi}function uo(){if(null!==eo){var e=eo;eo=null,Ui(e)}co()}function co(){if(!to&&null!==Ji){to=!0;var e=0;try{var t=Ji;ao(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Ji=null}catch(r){throw null!==Ji&&(Ji=Ji.slice(e+1)),zi(Wi,uo),r}finally{to=!1}}}function fo(e,t,r){return r/=10,1073741821-(1+((1073741821-e+t/10)/r|0))*r}function po(e,t){if(e&&e.defaultProps)for(var r in t=i({},t),e=e.defaultProps,e)void 0===t[r]&&(t[r]=e[r]);return t}var ho={current:null},vo=null,mo=null,go=null;function yo(){go=mo=vo=null}function bo(e){var t=ho.current;Ti(ho),e.type._context._currentValue=t}function xo(e,t){for(;null!==e;){var r=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}e=e.return}}function Ao(e,t){vo=e,go=mo=null,e=e.dependencies,null!==e&&null!==e.firstContext&&(e.expirationTime>=t&&(Ga=!0),e.firstContext=null)}function wo(e,t){if(go!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(go=e,t=1073741823),t={context:e,observedBits:t,next:null},null===mo){if(null===vo)throw Error(a(308));mo=t,vo.dependencies={expirationTime:0,firstContext:t,responders:null}}else mo=mo.next=t;return e._currentValue}var _o=!1;function Eo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ko(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function To(e,t){return e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null},e.next=e}function Co(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function So(e,t){var r=e.alternate;null!==r&&ko(r,e),e=e.updateQueue,r=e.baseQueue,null===r?(e.baseQueue=t.next=t,t.next=t):(t.next=r.next,r.next=t)}function Oo(e,t,r,n){var o=e.updateQueue;_o=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,l=e.alternate,null!==l&&(l=l.updateQueue,null!==l&&(l.baseQueue=s))}if(null!==a){l=a.next;var u=o.baseState,c=0,f=null,p=null,d=null;if(null!==l){var h=l;do{if(s=h.expirationTime,s<n){var v={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=v,f=u):d=d.next=v,s>c&&(c=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),jl(s,h.suspenseConfig);e:{var m=e,g=h;switch(s=t,v=r,g.tag){case 1:if(m=g.payload,"function"===typeof m){u=m.call(v,u,s);break e}u=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(m=g.payload,s="function"===typeof m?m.call(v,u,s):m,null===s||void 0===s)break e;u=i({},u,s);break e;case 2:_o=!0}}null!==h.callback&&(e.effectTag|=32,s=o.effects,null===s?o.effects=[h]:s.push(h))}if(h=h.next,null===h||h===l){if(s=o.shared.pending,null===s)break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===d?f=u:d.next=p,o.baseState=f,o.baseQueue=d,Rl(c),e.expirationTime=c,e.memoizedState=u}}function Mo(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=i,i=r,"function"!==typeof n)throw Error(a(191,n));n.call(i)}}}var Po=ee.ReactCurrentBatchConfig,Bo=(new n.Component).refs;function Lo(e,t,r,n){t=e.memoizedState,r=r(n,t),r=null===r||void 0===r?t:i({},t,r),e.memoizedState=r,0===e.expirationTime&&(e.updateQueue.baseState=r)}var Do={isMounted:function(e){return!!(e=e._reactInternalFiber)&&ot(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternalFiber;var n=wl(),i=Po.suspense;n=_l(n,e,i),i=To(n,i),i.payload=t,void 0!==r&&null!==r&&(i.callback=r),Co(e,i),El(e,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternalFiber;var n=wl(),i=Po.suspense;n=_l(n,e,i),i=To(n,i),i.tag=1,i.payload=t,void 0!==r&&null!==r&&(i.callback=r),Co(e,i),El(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var r=wl(),n=Po.suspense;r=_l(r,e,n),n=To(r,n),n.tag=2,void 0!==t&&null!==t&&(n.callback=t),Co(e,n),El(e,r)}};function Io(e,t,r,n,i,o,a){return e=e.stateNode,"function"===typeof e.shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ri(r,n)||!ri(i,o))}function jo(e,t,r){var n=!1,i=Si,o=t.contextType;return"object"===typeof o&&null!==o?o=wo(o):(i=Li(t)?Pi:Oi.current,n=t.contextTypes,o=(n=null!==n&&void 0!==n)?Bi(e,i):Si),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Do,e.stateNode=t,t._reactInternalFiber=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ro(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Do.enqueueReplaceState(t,t.state,null)}function Fo(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Bo,Eo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=wo(o):(o=Li(t)?Pi:Oi.current,i.context=Bi(e,o)),Oo(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,"function"===typeof o&&(Lo(e,t,o,r),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Do.enqueueReplaceState(i,i.state,null),Oo(e,r,i,n),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var No=Array.isArray;function zo(e,t,r){if(e=r.ref,null!==e&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){if(r=r._owner,r){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=n.refs;t===Bo&&(t=n.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function Uo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ho(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return e=ou(e,t),e.index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?(n=t.alternate,null!==n?(n=n.index,n<r?(t.effectTag=2,r):n):(t.effectTag=2,r)):r}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,r,n){return null===t||6!==t.tag?(t=lu(r,e.mode,n),t.return=e,t):(t=i(t,r),t.return=e,t)}function u(e,t,r,n){return null!==t&&t.elementType===r.type?(n=i(t,r.props),n.ref=zo(e,t,r),n.return=e,n):(n=au(r.type,r.key,r.props,null,e.mode,n),n.ref=zo(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=uu(r,e.mode,n),t.return=e,t):(t=i(t,r.children||[]),t.return=e,t)}function f(e,t,r,n,o){return null===t||7!==t.tag?(t=su(r,e.mode,n,o),t.return=e,t):(t=i(t,r),t.return=e,t)}function p(e,t,r){if("string"===typeof t||"number"===typeof t)return t=lu(""+t,e.mode,r),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ie:return r=au(t.type,t.key,t.props,null,e.mode,r),r.ref=zo(e,null,t),r.return=e,r;case oe:return t=uu(t,e.mode,r),t.return=e,t}if(No(t)||be(t))return t=su(t,e.mode,r,null),t.return=e,t;Uo(e,t)}return null}function d(e,t,r,n){var i=null!==t?t.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:l(e,t,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ie:return r.key===i?r.type===ae?f(e,t,r.props.children,n,i):u(e,t,r,n):null;case oe:return r.key===i?c(e,t,r,n):null}if(No(r)||be(r))return null!==i?null:f(e,t,r,n,null);Uo(e,r)}return null}function h(e,t,r,n,i){if("string"===typeof n||"number"===typeof n)return e=e.get(r)||null,l(t,e,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ie:return e=e.get(null===n.key?r:n.key)||null,n.type===ae?f(t,e,n.props.children,i,n.key):u(t,e,n,i);case oe:return e=e.get(null===n.key?r:n.key)||null,c(t,e,n,i)}if(No(n)||be(n))return e=e.get(r)||null,f(t,e,n,i,null);Uo(t,n)}return null}function v(i,a,s,l){for(var u=null,c=null,f=a,v=a=0,m=null;null!==f&&v<s.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=d(i,f,s[v],l);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(i,f),a=o(g,a,v),null===c?u=g:c.sibling=g,c=g,f=m}if(v===s.length)return r(i,f),u;if(null===f){for(;v<s.length;v++)f=p(i,s[v],l),null!==f&&(a=o(f,a,v),null===c?u=f:c.sibling=f,c=f);return u}for(f=n(i,f);v<s.length;v++)m=h(f,i,v,s[v],l),null!==m&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),u}function m(i,s,l,u){var c=be(l);if("function"!==typeof c)throw Error(a(150));if(l=c.call(l),null==l)throw Error(a(151));for(var f=c=null,v=s,m=s=0,g=null,y=l.next();null!==v&&!y.done;m++,y=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=d(i,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),s=o(b,s,m),null===f?c=b:f.sibling=b,f=b,v=g}if(y.done)return r(i,v),c;if(null===v){for(;!y.done;m++,y=l.next())y=p(i,y.value,u),null!==y&&(s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return c}for(v=n(i,v);!y.done;m++,y=l.next())y=h(v,i,m,y.value,u),null!==y&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(i,e)})),c}return function(e,n,o,l){var u="object"===typeof o&&null!==o&&o.type===ae&&null===o.key;u&&(o=o.props.children);var c="object"===typeof o&&null!==o;if(c)switch(o.$$typeof){case ie:e:{for(c=o.key,u=n;null!==u;){if(u.key===c){switch(u.tag){case 7:if(o.type===ae){r(e,u.sibling),n=i(u,o.props.children),n.return=e,e=n;break e}break;default:if(u.elementType===o.type){r(e,u.sibling),n=i(u,o.props),n.ref=zo(e,u,o),n.return=e,e=n;break e}}r(e,u);break}t(e,u),u=u.sibling}o.type===ae?(n=su(o.props.children,e.mode,l,o.key),n.return=e,e=n):(l=au(o.type,o.key,o.props,null,e.mode,l),l.ref=zo(e,n,o),l.return=e,e=l)}return s(e);case oe:e:{for(u=o.key;null!==n;){if(n.key===u){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(e,n.sibling),n=i(n,o.children||[]),n.return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}n=uu(o,e.mode,l),n.return=e,e=n}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(e,n.sibling),n=i(n,o),n.return=e,e=n):(r(e,n),n=lu(o,e.mode,l),n.return=e,e=n),s(e);if(No(o))return v(e,n,o,l);if(be(o))return m(e,n,o,l);if(c&&Uo(e,o),"undefined"===typeof o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return r(e,n)}}var Vo=Ho(!0),Qo=Ho(!1),Wo={},Ko={current:Wo},qo={current:Wo},Go={current:Wo};function $o(e){if(e===Wo)throw Error(a(174));return e}function Yo(e,t){switch(Ci(Go,t),Ci(qo,e),Ci(Ko,Wo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ve(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ve(t,e)}Ti(Ko),Ci(Ko,t)}function Xo(){Ti(Ko),Ti(qo),Ti(Go)}function Zo(e){$o(Go.current);var t=$o(Ko.current),r=Ve(t,e.type);t!==r&&(Ci(qo,e),Ci(Ko,r))}function Jo(e){qo.current===e&&(Ti(Ko),Ti(qo))}var ea={current:0};function ta(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(r=r.dehydrated,null===r||r.data===Tr||r.data===Cr))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ra(e,t){return{responder:e,props:t}}var na=ee.ReactCurrentDispatcher,ia=ee.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,la=null,ua=!1;function ca(){throw Error(a(321))}function fa(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ei(e[r],t[r]))return!1;return!0}function pa(e,t,r,n,i,o){if(oa=o,aa=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,na.current=null===e||null===e.memoizedState?Ia:ja,e=r(n,i),t.expirationTime===oa){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,la=sa=null,t.updateQueue=null,na.current=Ra,e=r(n,i)}while(t.expirationTime===oa)}if(na.current=Da,t=null!==sa&&null!==sa.next,oa=0,la=sa=aa=null,ua=!1,t)throw Error(a(300));return e}function da(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?aa.memoizedState=la=e:la=la.next=e,la}function ha(){if(null===sa){var e=aa.alternate;e=null!==e?e.memoizedState:null}else e=sa.next;var t=null===la?aa.memoizedState:la.next;if(null!==t)la=t,sa=e;else{if(null===e)throw Error(a(310));sa=e,e={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===la?aa.memoizedState=la=e:la=la.next=e}return la}function va(e,t){return"function"===typeof t?t(e):t}function ma(e){var t=ha(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=sa,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(c<oa){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=f,o=n):l=l.next=f,c>aa.expirationTime&&(aa.expirationTime=c,Rl(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),jl(c,u.suspenseConfig),n=u.eagerReducer===e?u.eagerState:e(n,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=n:l.next=s,ei(n,t.memoizedState)||(Ga=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ga(e){var t=ha(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);ei(o,t.memoizedState)||(Ga=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function ya(e){var t=da();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:va,lastRenderedState:e},e=e.dispatch=La.bind(null,aa,e),[t.memoizedState,e]}function ba(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=aa.updateQueue,null===t?(t={lastEffect:null},aa.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,null===r?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function xa(){return ha().memoizedState}function Aa(e,t,r,n){var i=da();aa.effectTag|=e,i.memoizedState=ba(1|t,r,void 0,void 0===n?null:n)}function wa(e,t,r,n){var i=ha();n=void 0===n?null:n;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==n&&fa(n,a.deps))return void ba(t,r,o,n)}aa.effectTag|=e,i.memoizedState=ba(1|t,r,o,n)}function _a(e,t){return Aa(516,4,e,t)}function Ea(e,t){return wa(516,4,e,t)}function ka(e,t){return wa(4,2,e,t)}function Ta(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,wa(4,2,Ta.bind(null,t,e),r)}function Sa(){}function Oa(e,t){return da().memoizedState=[e,void 0===t?null:t],e}function Ma(e,t){var r=ha();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&fa(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Pa(e,t){var r=ha();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&fa(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Ba(e,t,r){var n=io();ao(98>n?98:n,(function(){e(!0)})),ao(97<n?97:n,(function(){var n=ia.suspense;ia.suspense=void 0===t?null:t;try{e(!1),r()}finally{ia.suspense=n}}))}function La(e,t,r){var n=wl(),i=Po.suspense;n=_l(n,e,i),i={expirationTime:n,suspenseConfig:i,action:r,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===aa||null!==o&&o===aa)ua=!0,i.expirationTime=oa,aa.expirationTime=oa;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&(o=t.lastRenderedReducer,null!==o))try{var a=t.lastRenderedState,s=o(a,r);if(i.eagerReducer=o,i.eagerState=s,ei(s,a))return}catch(l){}El(e,n)}}var Da={readContext:wo,useCallback:ca,useContext:ca,useEffect:ca,useImperativeHandle:ca,useLayoutEffect:ca,useMemo:ca,useReducer:ca,useRef:ca,useState:ca,useDebugValue:ca,useResponder:ca,useDeferredValue:ca,useTransition:ca},Ia={readContext:wo,useCallback:Oa,useContext:wo,useEffect:_a,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,Aa(4,2,Ta.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Aa(4,2,e,t)},useMemo:function(e,t){var r=da();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=da();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=La.bind(null,aa,e),[n.memoizedState,e]},useRef:function(e){var t=da();return e={current:e},t.memoizedState=e},useState:ya,useDebugValue:Sa,useResponder:ra,useDeferredValue:function(e,t){var r=ya(e),n=r[0],i=r[1];return _a((function(){var r=ia.suspense;ia.suspense=void 0===t?null:t;try{i(e)}finally{ia.suspense=r}}),[e,t]),n},useTransition:function(e){var t=ya(!1),r=t[0];return t=t[1],[Oa(Ba.bind(null,t,e),[t,e]),r]}},ja={readContext:wo,useCallback:Ma,useContext:wo,useEffect:Ea,useImperativeHandle:Ca,useLayoutEffect:ka,useMemo:Pa,useReducer:ma,useRef:xa,useState:function(){return ma(va)},useDebugValue:Sa,useResponder:ra,useDeferredValue:function(e,t){var r=ma(va),n=r[0],i=r[1];return Ea((function(){var r=ia.suspense;ia.suspense=void 0===t?null:t;try{i(e)}finally{ia.suspense=r}}),[e,t]),n},useTransition:function(e){var t=ma(va),r=t[0];return t=t[1],[Ma(Ba.bind(null,t,e),[t,e]),r]}},Ra={readContext:wo,useCallback:Ma,useContext:wo,useEffect:Ea,useImperativeHandle:Ca,useLayoutEffect:ka,useMemo:Pa,useReducer:ga,useRef:xa,useState:function(){return ga(va)},useDebugValue:Sa,useResponder:ra,useDeferredValue:function(e,t){var r=ga(va),n=r[0],i=r[1];return Ea((function(){var r=ia.suspense;ia.suspense=void 0===t?null:t;try{i(e)}finally{ia.suspense=r}}),[e,t]),n},useTransition:function(e){var t=ga(va),r=t[0];return t=t[1],[Ma(Ba.bind(null,t,e),[t,e]),r]}},Fa=null,Na=null,za=!1;function Ua(e,t){var r=ru(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Ha(e,t){switch(e.tag){case 5:var r=e.type;return t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,null!==t&&(e.stateNode=t,!0);case 6:return t=""===e.pendingProps||3!==t.nodeType?null:t,null!==t&&(e.stateNode=t,!0);case 13:return!1;default:return!1}}function Va(e){if(za){var t=Na;if(t){var r=t;if(!Ha(e,t)){if(t=Dr(r.nextSibling),!t||!Ha(e,t))return e.effectTag=-1025&e.effectTag|2,za=!1,void(Fa=e);Ua(Fa,r)}Fa=e,Na=Dr(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,za=!1,Fa=e}}function Qa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fa=e}function Wa(e){if(e!==Fa)return!1;if(!za)return Qa(e),za=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Pr(t,e.memoizedProps))for(t=Na;t;)Ua(e,t),t=Dr(t.nextSibling);if(Qa(e),13===e.tag){if(e=e.memoizedState,e=null!==e?e.dehydrated:null,!e)throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if(r===kr){if(0===t){Na=Dr(e.nextSibling);break e}t--}else r!==Er&&r!==Cr&&r!==Tr||t++}e=e.nextSibling}Na=null}}else Na=Fa?Dr(e.stateNode.nextSibling):null;return!0}function Ka(){Na=Fa=null,za=!1}var qa=ee.ReactCurrentOwner,Ga=!1;function $a(e,t,r,n){t.child=null===e?Qo(t,null,r,n):Vo(t,e.child,r,n)}function Ya(e,t,r,n,i){r=r.render;var o=t.ref;return Ao(t,i),n=pa(e,t,r,n,o,i),null===e||Ga?(t.effectTag|=1,$a(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ds(e,t,i))}function Xa(e,t,r,n,i,o){if(null===e){var a=r.type;return"function"!==typeof a||nu(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?(e=au(r.type,null,n,null,t.mode,o),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Za(e,t,a,n,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,r=r.compare,r=null!==r?r:ri,r(i,n)&&e.ref===t.ref)?ds(e,t,o):(t.effectTag|=1,e=ou(a,n),e.ref=t.ref,e.return=t,t.child=e)}function Za(e,t,r,n,i,o){return null!==e&&ri(e.memoizedProps,n)&&e.ref===t.ref&&(Ga=!1,i<o)?(t.expirationTime=e.expirationTime,ds(e,t,o)):es(e,t,r,n,o)}function Ja(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.effectTag|=128)}function es(e,t,r,n,i){var o=Li(r)?Pi:Oi.current;return o=Bi(t,o),Ao(t,i),r=pa(e,t,r,n,o,i),null===e||Ga?(t.effectTag|=1,$a(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ds(e,t,i))}function ts(e,t,r,n,i){if(Li(r)){var o=!0;Ri(t)}else o=!1;if(Ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),jo(t,r,n),Fo(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=r.contextType;"object"===typeof u&&null!==u?u=wo(u):(u=Li(r)?Pi:Oi.current,u=Bi(t,u));var c=r.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||l!==u)&&Ro(t,a,n,u),_o=!1;var p=t.memoizedState;a.state=p,Oo(t,n,a,i),l=t.memoizedState,s!==n||p!==l||Mi.current||_o?("function"===typeof c&&(Lo(t,r,c,n),l=t.memoizedState),(s=_o||Io(t,r,s,n,p,l,u))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=u,n=s):("function"===typeof a.componentDidMount&&(t.effectTag|=4),n=!1)}else a=t.stateNode,ko(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:po(t.type,s),l=a.context,u=r.contextType,"object"===typeof u&&null!==u?u=wo(u):(u=Li(r)?Pi:Oi.current,u=Bi(t,u)),c=r.getDerivedStateFromProps,(f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||l!==u)&&Ro(t,a,n,u),_o=!1,l=t.memoizedState,a.state=l,Oo(t,n,a,i),p=t.memoizedState,s!==n||l!==p||Mi.current||_o?("function"===typeof c&&(Lo(t,r,c,n),p=t.memoizedState),(c=_o||Io(t,r,s,n,l,p,u))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,u)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=u,n=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),n=!1);return rs(e,t,r,n,o,i)}function rs(e,t,r,n,i,o){Ja(e,t);var a=0!==(64&t.effectTag);if(!n&&!a)return i&&Fi(t,r,!1),ds(e,t,o);n=t.stateNode,qa.current=t;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&a?(t.child=Vo(t,e.child,null,o),t.child=Vo(t,null,s,o)):$a(e,t,s,o),t.memoizedState=n.state,i&&Fi(t,r,!0),t.child}function ns(e){var t=e.stateNode;t.pendingContext?Ii(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ii(e,t.context,!1),Yo(e,t.containerInfo)}var is,os,as,ss,ls={dehydrated:null,retryTime:0};function us(e,t,r){var n,i=t.mode,o=t.pendingProps,a=ea.current,s=!1;if((n=0!==(64&t.effectTag))||(n=0!==(2&a)&&(null===e||null!==e.memoizedState)),n?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),Ci(ea,1&a),null===e){if(void 0!==o.fallback&&Va(t),s){if(s=o.fallback,o=su(null,i,0,null),o.return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return r=su(s,i,r,null),r.return=t,o.sibling=r,t.memoizedState=ls,t.child=o,r}return i=o.children,t.memoizedState=null,t.child=Qo(t,null,i,r)}if(null!==e.memoizedState){if(e=e.child,i=e.sibling,s){if(o=o.fallback,r=ou(e,e.pendingProps),r.return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child,s!==e.child))for(r.child=s;null!==s;)s.return=r,s=s.sibling;return i=ou(i,o),i.return=t,r.sibling=i,r.childExpirationTime=0,t.memoizedState=ls,t.child=r,i}return r=Vo(t,e.child,o.children,r),t.memoizedState=null,t.child=r}if(e=e.child,s){if(s=o.fallback,o=su(null,i,0,null),o.return=t,o.child=e,null!==e&&(e.return=o),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return r=su(s,i,r,null),r.return=t,o.sibling=r,r.effectTag|=2,o.childExpirationTime=0,t.memoizedState=ls,t.child=o,r}return t.memoizedState=null,t.child=Vo(t,e,o.children,r)}function cs(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t),xo(e.return,t)}function fs(e,t,r,n,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function ps(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if($a(e,t,n.children,r),n=ea.current,0!==(2&n))n=1&n|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&cs(e,r);else if(19===e.tag)cs(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ci(ea,n),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;null!==r;)e=r.alternate,null!==e&&null===ta(e)&&(i=r),r=r.sibling;r=i,null===r?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),fs(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(e=i.alternate,null!==e&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}fs(t,!0,r,null,o,t.lastEffect);break;case"together":fs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ds(e,t,r){null!==e&&(t.dependencies=e.dependencies);var n=t.expirationTime;if(0!==n&&Rl(n),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(e=t.child,r=ou(e,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,r=r.sibling=ou(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function hs(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function vs(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Li(t.type)&&Di(),null;case 3:return Xo(),Ti(Mi),Ti(Oi),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!Wa(t)||(t.effectTag|=4),os(t),null;case 5:Jo(t),r=$o(Go.current);var o=t.type;if(null!==e&&null!=t.stateNode)as(e,t,o,n,r),e.ref!==t.ref&&(t.effectTag|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=$o(Ko.current),Wa(t)){n=t.stateNode,o=t.type;var s=t.memoizedProps;switch(n[Rr]=t,n[Fr]=s,o){case"iframe":case"object":case"embed":rr("load",n);break;case"video":case"audio":for(e=0;e<rt.length;e++)rr(rt[e],n);break;case"source":rr("error",n);break;case"img":case"image":case"link":rr("error",n),rr("load",n);break;case"form":rr("reset",n),rr("submit",n);break;case"details":rr("toggle",n);break;case"input":Oe(n,s),rr("invalid",n),mr(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!s.multiple},rr("invalid",n),mr(r,"onChange");break;case"textarea":Fe(n,s),rr("invalid",n),mr(r,"onChange")}for(var l in dr(o,s),e=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"===typeof u?n.textContent!==u&&(e=["children",u]):"number"===typeof u&&n.textContent!==""+u&&(e=["children",""+u]):k.hasOwnProperty(l)&&null!=u&&mr(r,l)}switch(o){case"input":Te(n),Be(n,s,!0);break;case"textarea":Te(n),ze(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=gr)}r=e,t.updateQueue=r,null!==r&&(t.effectTag|=4)}else{switch(l=9===r.nodeType?r:r.ownerDocument,e===vr&&(e=He(o)),e===vr?"script"===o?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof n.is?e=l.createElement(o,{is:n.is}):(e=l.createElement(o),"select"===o&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,o),e[Rr]=t,e[Fr]=n,is(e,t,!1,!1),t.stateNode=e,l=hr(o,n),o){case"iframe":case"object":case"embed":rr("load",e),u=n;break;case"video":case"audio":for(u=0;u<rt.length;u++)rr(rt[u],e);u=n;break;case"source":rr("error",e),u=n;break;case"img":case"image":case"link":rr("error",e),rr("load",e),u=n;break;case"form":rr("reset",e),rr("submit",e),u=n;break;case"details":rr("toggle",e),u=n;break;case"input":Oe(e,n),u=Se(e,n),rr("invalid",e),mr(r,"onChange");break;case"option":u=Ie(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},u=i({},n,{value:void 0}),rr("invalid",e),mr(r,"onChange");break;case"textarea":Fe(e,n),u=Re(e,n),rr("invalid",e),mr(r,"onChange");break;default:u=n}dr(o,u);var c=u;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];"style"===s?fr(e,f):"dangerouslySetInnerHTML"===s?(f=f?f.__html:void 0,null!=f&&We(e,f)):"children"===s?"string"===typeof f?("textarea"!==o||""!==f)&&Ke(e,f):"number"===typeof f&&Ke(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(k.hasOwnProperty(s)?null!=f&&mr(r,s):null!=f&&te(e,s,f,l))}switch(o){case"input":Te(e),Be(e,n,!1);break;case"textarea":Te(e),ze(e);break;case"option":null!=n.value&&e.setAttribute("value",""+_e(n.value));break;case"select":e.multiple=!!n.multiple,r=n.value,null!=r?je(e,!!n.multiple,r,!1):null!=n.defaultValue&&je(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof u.onClick&&(e.onclick=gr)}Mr(o,n)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)ss(e,t,e.memoizedProps,n);else{if("string"!==typeof n&&null===t.stateNode)throw Error(a(166));r=$o(Go.current),$o(Ko.current),Wa(t)?(r=t.stateNode,n=t.memoizedProps,r[Rr]=t,r.nodeValue!==n&&(t.effectTag|=4)):(r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n),r[Rr]=t,t.stateNode=r)}return null;case 13:return Ti(ea),n=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=r,t):(r=null!==n,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wa(t):(o=e.memoizedState,n=null!==o,r||null===o||(o=e.child.sibling,null!==o&&(s=t.firstEffect,null!==s?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8))),r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&ea.current)?rl===Ks&&(rl=$s):(rl!==Ks&&rl!==$s||(rl=Ys),0!==sl&&null!==Js&&(pu(Js,tl),du(Js,sl)))),(r||n)&&(t.effectTag|=4),null);case 4:return Xo(),os(t),null;case 10:return bo(t),null;case 17:return Li(t.type)&&Di(),null;case 19:if(Ti(ea),n=t.memoizedState,null===n)return null;if(o=0!==(64&t.effectTag),s=n.rendering,null===s){if(o)hs(n,!1);else if(rl!==Ks||null!==e&&0!==(64&e.effectTag))for(s=t.child;null!==s;){if(e=ta(s),null!==e){for(t.effectTag|=64,hs(n,!1),o=e.updateQueue,null!==o&&(t.updateQueue=o,t.effectTag|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=t.child;null!==n;)o=n,s=r,o.effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,e=o.alternate,null===e?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),n=n.sibling;return Ci(ea,1&ea.current|2),t.child}s=s.sibling}}else{if(!o)if(e=ta(s),null!==e){if(t.effectTag|=64,o=!0,r=e.updateQueue,null!==r&&(t.updateQueue=r,t.effectTag|=4),hs(n,!0),null===n.tail&&"hidden"===n.tailMode&&!s.alternate)return t=t.lastEffect=n.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*no()-n.renderingStartTime>n.tailExpiration&&1<r&&(t.effectTag|=64,o=!0,hs(n,!1),t.expirationTime=t.childExpirationTime=r-1);n.isBackwards?(s.sibling=t.child,t.child=s):(r=n.last,null!==r?r.sibling=s:t.child=s,n.last=s)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=no()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=no(),r.sibling=null,t=ea.current,Ci(ea,o?1&t|2:1&t),r):null}throw Error(a(156,t.tag))}function ms(e){switch(e.tag){case 1:Li(e.type)&&Di();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Xo(),Ti(Mi),Ti(Oi),t=e.effectTag,0!==(64&t))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Jo(e),null;case 13:return Ti(ea),t=e.effectTag,4096&t?(e.effectTag=-4097&t|64,e):null;case 19:return Ti(ea),null;case 4:return Xo(),null;case 10:return bo(e),null;default:return null}}function gs(e,t){return{value:e,source:t,stack:we(t)}}is=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},os=function(){},as=function(e,t,r,n,o){var a=e.memoizedProps;if(a!==n){var s,l,u=t.stateNode;switch($o(Ko.current),e=null,r){case"input":a=Se(u,a),n=Se(u,n),e=[];break;case"option":a=Ie(u,a),n=Ie(u,n),e=[];break;case"select":a=i({},a,{value:void 0}),n=i({},n,{value:void 0}),e=[];break;case"textarea":a=Re(u,a),n=Re(u,n),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof n.onClick&&(u.onclick=gr)}for(s in dr(r,n),r=null,a)if(!n.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(l in u=a[s],u)u.hasOwnProperty(l)&&(r||(r={}),r[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(k.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in n){var c=n[s];if(u=null!=a?a[s]:void 0,n.hasOwnProperty(s)&&c!==u&&(null!=c||null!=u))if("style"===s)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(r||(r={}),r[l]=c[l])}else r||(e||(e=[]),e.push(s,r)),r=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(s,c)):"children"===s?u===c||"string"!==typeof c&&"number"!==typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(k.hasOwnProperty(s)?(null!=c&&mr(o,s),e||u===c||(e=[])):(e=e||[]).push(s,c))}r&&(e=e||[]).push("style",r),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},ss=function(e,t,r,n){r!==n&&(t.effectTag|=4)};var ys="function"===typeof WeakSet?WeakSet:Set;function bs(e,t){var r=t.source,n=t.stack;null===n&&null!==r&&(n=we(r)),null!==r&&Ae(r.type),t=t.value,null!==e&&1===e.tag&&Ae(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function xs(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(r){$l(e,r)}}function As(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(r){$l(e,r)}else t.current=null}function ws(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:po(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function _s(e,t){if(t=t.updateQueue,t=null!==t?t.lastEffect:null,null!==t){var r=t=t.next;do{if((r.tag&e)===e){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==t)}}function Es(e,t){if(t=t.updateQueue,t=null!==t?t.lastEffect:null,null!==t){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ks(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:return void Es(3,r);case 1:if(e=r.stateNode,4&r.effectTag)if(null===t)e.componentDidMount();else{var n=r.elementType===r.type?t.memoizedProps:po(r.type,t.memoizedProps);e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return t=r.updateQueue,void(null!==t&&Mo(r,t,e));case 3:if(t=r.updateQueue,null!==t){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}Mo(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.effectTag&&Mr(r.type,r.memoizedProps)&&e.focus());case 6:return;case 4:return;case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&Wt(r)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function Ts(e,t,r){switch("function"===typeof Jl&&Jl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,null!==e&&(e=e.lastEffect,null!==e)){var n=e.next;ao(97<r?97:r,(function(){var e=n;do{var r=e.destroy;if(void 0!==r){var i=t;try{r()}catch(o){$l(i,o)}}e=e.next}while(e!==n)}))}break;case 1:As(t),r=t.stateNode,"function"===typeof r.componentWillUnmount&&xs(t,r);break;case 5:As(t);break;case 4:Bs(e,t,r)}}function Cs(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&Cs(t)}function Ss(e){return 5===e.tag||3===e.tag||4===e.tag}function Os(e){e:{for(var t=e.return;null!==t;){if(Ss(t)){var r=t;break e}t=t.return}throw Error(a(160))}switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.effectTag&&(Ke(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||Ss(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}n?Ms(e,r,t):Ps(e,r,t)}function Ms(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,null!==r&&void 0!==r||null!==t.onclick||(t.onclick=gr));else if(4!==n&&(e=e.child,null!==e))for(Ms(e,t,r),e=e.sibling;null!==e;)Ms(e,t,r),e=e.sibling}function Ps(e,t,r){var n=e.tag,i=5===n||6===n;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&(e=e.child,null!==e))for(Ps(e,t,r),e=e.sibling;null!==e;)Ps(e,t,r),e=e.sibling}function Bs(e,t,r){for(var n,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(n=s.stateNode,s.tag){case 5:i=!1;break e;case 3:n=n.containerInfo,i=!0;break e;case 4:n=n.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,c=r,f=u;;)if(Ts(l,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===u)break e;for(;null===f.sibling;){if(null===f.return||f.return===u)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(l=n,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(Ts(e,o,r),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return,4===o.tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void _s(3,t);case 1:return;case 5:var r=t.stateNode;if(null!=r){var n=t.memoizedProps,i=null!==e?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(r[Fr]=n,"input"===e&&"radio"===n.type&&null!=n.name&&Me(r,n),hr(e,i),t=hr(e,n),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?fr(r,l):"dangerouslySetInnerHTML"===s?We(r,l):"children"===s?Ke(r,l):te(r,s,l,t)}switch(e){case"input":Pe(r,n);break;case"textarea":Ne(r,n);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,e=n.value,null!=e?je(r,!!n.multiple,e,!1):t!==!!n.multiple&&(null!=n.defaultValue?je(r,!!n.multiple,n.defaultValue,!0):je(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return t=t.stateNode,void(t.hydrate&&(t.hydrate=!1,Wt(t.containerInfo)));case 12:return;case 13:if(r=t,null===t.memoizedState?n=!1:(n=!0,r=t.child,ul=no()),null!==r)e:for(e=r;;){if(5===e.tag)o=e.stateNode,n?(o=o.style,"function"===typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(o=e.stateNode,i=e.memoizedProps.style,i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=cr("display",i));else if(6===e.tag)e.stateNode.nodeValue=n?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){o=e.child.sibling,o.return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===r)break;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void Ds(t);case 19:return void Ds(t);case 17:return}throw Error(a(163))}function Ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new ys),t.forEach((function(t){var n=Xl.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}var Is="function"===typeof WeakMap?WeakMap:Map;function js(e,t,r){r=To(r,null),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){pl||(pl=!0,dl=n),bs(e,t)},r}function Rs(e,t,r){r=To(r,null),r.tag=3;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var i=t.value;r.payload=function(){return bs(e,t),n(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===hl?hl=new Set([this]):hl.add(this),bs(e,t));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}var Fs,Ns=Math.ceil,zs=ee.ReactCurrentDispatcher,Us=ee.ReactCurrentOwner,Hs=0,Vs=8,Qs=16,Ws=32,Ks=0,qs=1,Gs=2,$s=3,Ys=4,Xs=5,Zs=Hs,Js=null,el=null,tl=0,rl=Ks,nl=null,il=1073741823,ol=1073741823,al=null,sl=0,ll=!1,ul=0,cl=500,fl=null,pl=!1,dl=null,hl=null,vl=!1,ml=null,gl=90,yl=null,bl=0,xl=null,Al=0;function wl(){return(Zs&(Qs|Ws))!==Hs?1073741821-(no()/10|0):0!==Al?Al:Al=1073741821-(no()/10|0)}function _l(e,t,r){if(t=t.mode,0===(2&t))return 1073741823;var n=io();if(0===(4&t))return 99===n?1073741823:1073741822;if((Zs&Qs)!==Hs)return tl;if(null!==r)e=fo(e,0|r.timeoutMs||5e3,250);else switch(n){case 99:e=1073741823;break;case 98:e=fo(e,150,100);break;case 97:case 96:e=fo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Js&&e===tl&&--e,e}function El(e,t){if(50<bl)throw bl=0,xl=null,Error(a(185));if(e=kl(e,t),null!==e){var r=io();1073741823===t?(Zs&Vs)!==Hs&&(Zs&(Qs|Ws))===Hs?Ol(e):(Cl(e),Zs===Hs&&uo()):Cl(e),(4&Zs)===Hs||98!==r&&99!==r||(null===yl?yl=new Map([[e,t]]):(r=yl.get(e),(void 0===r||r>t)&&yl.set(e,t)))}}function kl(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t);var n=e.return,i=null;if(null===n&&3===e.tag)i=e.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===n.return&&3===n.tag){i=n.stateNode;break}n=n.return}return null!==i&&(Js===i&&(Rl(t),rl===Ys&&pu(i,tl)),du(i,t)),i}function Tl(e){var t=e.lastExpiredTime;if(0!==t)return t;if(t=e.firstPendingTime,!fu(e,t))return t;var r=e.lastPingedTime;return e=e.nextKnownPendingLevel,e=r>e?r:e,2>=e&&t!==e?0:e}function Cl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=lo(Ol.bind(null,e));else{var t=Tl(e),r=e.callbackNode;if(0===t)null!==r&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var n=wl();if(1073741823===t?n=99:1===t||2===t?n=95:(n=10*(1073741821-t)-10*(1073741821-n),n=0>=n?99:250>=n?98:5250>=n?97:95),null!==r){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=n)return;r!==Yi&&Ui(r)}e.callbackExpirationTime=t,e.callbackPriority=n,t=1073741823===t?lo(Ol.bind(null,e)):so(n,Sl.bind(null,e),{timeout:10*(1073741821-t)-no()}),e.callbackNode=t}}}function Sl(e,t){if(Al=0,t)return t=wl(),hu(e,t),Cl(e),null;var r=Tl(e);if(0!==r){if(t=e.callbackNode,(Zs&(Qs|Ws))!==Hs)throw Error(a(327));if(Kl(),e===Js&&r===tl||Ll(e,r),null!==el){var n=Zs;Zs|=Qs;var i=Il();do{try{Nl();break}catch(l){Dl(e,l)}}while(1);if(yo(),Zs=n,zs.current=i,rl===qs)throw t=nl,Ll(e,r),pu(e,r),Cl(e),t;if(null===el)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,n=rl,Js=null,n){case Ks:case qs:throw Error(a(345));case Gs:hu(e,2<r?2:r);break;case $s:if(pu(e,r),n=e.lastSuspendedTime,r===n&&(e.nextKnownPendingLevel=Hl(i)),1073741823===il&&(i=ul+cl-no(),10<i)){if(ll){var o=e.lastPingedTime;if(0===o||o>=r){e.lastPingedTime=r,Ll(e,r);break}}if(o=Tl(e),0!==o&&o!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}e.timeoutHandle=Br(Vl.bind(null,e),i);break}Vl(e);break;case Ys:if(pu(e,r),n=e.lastSuspendedTime,r===n&&(e.nextKnownPendingLevel=Hl(i)),ll&&(i=e.lastPingedTime,0===i||i>=r)){e.lastPingedTime=r,Ll(e,r);break}if(i=Tl(e),0!==i&&i!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}if(1073741823!==ol?n=10*(1073741821-ol)-no():1073741823===il?n=0:(n=10*(1073741821-il)-5e3,i=no(),r=10*(1073741821-r)-i,n=i-n,0>n&&(n=0),n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ns(n/1960))-n,r<n&&(n=r)),10<n){e.timeoutHandle=Br(Vl.bind(null,e),n);break}Vl(e);break;case Xs:if(1073741823!==il&&null!==al){o=il;var s=al;if(n=0|s.busyMinDurationMs,0>=n?n=0:(i=0|s.busyDelayMs,o=no()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),n=o<=i?0:i+n-o),10<n){pu(e,r),e.timeoutHandle=Br(Vl.bind(null,e),n);break}}Vl(e);break;default:throw Error(a(329))}if(Cl(e),e.callbackNode===t)return Sl.bind(null,e)}}return null}function Ol(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Zs&(Qs|Ws))!==Hs)throw Error(a(327));if(Kl(),e===Js&&t===tl||Ll(e,t),null!==el){var r=Zs;Zs|=Qs;var n=Il();do{try{Fl();break}catch(i){Dl(e,i)}}while(1);if(yo(),Zs=r,zs.current=n,rl===qs)throw r=nl,Ll(e,t),pu(e,t),Cl(e),r;if(null!==el)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Js=null,Vl(e),Cl(e)}return null}function Ml(){if(null!==yl){var e=yl;yl=null,e.forEach((function(e,t){hu(t,e),Cl(t)})),uo()}}function Pl(e,t){var r=Zs;Zs|=1;try{return e(t)}finally{Zs=r,Zs===Hs&&uo()}}function Bl(e,t){var r=Zs;Zs&=-2,Zs|=Vs;try{return e(t)}finally{Zs=r,Zs===Hs&&uo()}}function Ll(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,Lr(r)),null!==el)for(r=el.return;null!==r;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,null!==n&&void 0!==n&&Di();break;case 3:Xo(),Ti(Mi),Ti(Oi);break;case 5:Jo(n);break;case 4:Xo();break;case 13:Ti(ea);break;case 19:Ti(ea);break;case 10:bo(n)}r=r.return}Js=e,el=ou(e.current,null),tl=t,rl=Ks,nl=null,ol=il=1073741823,al=null,sl=0,ll=!1}function Dl(e,t){do{try{if(yo(),na.current=Da,ua)for(var r=aa.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(oa=0,la=sa=aa=null,ua=!1,null===el||null===el.return)return rl=qs,nl=t,el=null;e:{var i=e,o=el.return,a=el,s=t;if(t=tl,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var l=s;if(0===(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!==(1&ea.current),f=o;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(p){var v=f.updateQueue;if(null===v){var m=new Set;m.add(l),f.updateQueue=m}else v.add(l);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=To(1073741823,null);g.tag=2,Co(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new Is,s=new Set,y.set(l,s)):(s=y.get(l),void 0===s&&(s=new Set,y.set(l,s))),!s.has(a)){s.add(a);var b=Yl.bind(null,i,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((Ae(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+we(a))}rl!==Xs&&(rl=Gs),s=gs(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t;var x=js(f,l,t);So(f,x);break e;case 1:l=s;var A=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof A.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===hl||!hl.has(w)))){f.effectTag|=4096,f.expirationTime=t;var _=Rs(f,l,t);So(f,_);break e}}f=f.return}while(null!==f)}el=Ul(el)}catch(E){t=E;continue}break}while(1)}function Il(){var e=zs.current;return zs.current=Da,null===e?Da:e}function jl(e,t){e<il&&2<e&&(il=e),null!==t&&e<ol&&2<e&&(ol=e,al=t)}function Rl(e){e>sl&&(sl=e)}function Fl(){for(;null!==el;)el=zl(el)}function Nl(){for(;null!==el&&!Xi();)el=zl(el)}function zl(e){var t=Fs(e.alternate,e,tl);return e.memoizedProps=e.pendingProps,null===t&&(t=Ul(e)),Us.current=null,t}function Ul(e){el=e;do{var t=el.alternate;if(e=el.return,0===(2048&el.effectTag)){if(t=vs(t,el,tl),1===tl||1!==el.childExpirationTime){for(var r=0,n=el.child;null!==n;){var i=n.expirationTime,o=n.childExpirationTime;i>r&&(r=i),o>r&&(r=o),n=n.sibling}el.childExpirationTime=r}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=el.firstEffect),null!==el.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=el.firstEffect),e.lastEffect=el.lastEffect),1<el.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=el:e.firstEffect=el,e.lastEffect=el))}else{if(t=ms(el),null!==t)return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(t=el.sibling,null!==t)return t;el=e}while(null!==el);return rl===Ks&&(rl=Xs),null}function Hl(e){var t=e.expirationTime;return e=e.childExpirationTime,t>e?t:e}function Vl(e){var t=io();return ao(99,Ql.bind(null,e,t)),null}function Ql(e,t){do{Kl()}while(null!==ml);if((Zs&(Qs|Ws))!==Hs)throw Error(a(327));var r=e.finishedWork,n=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,r===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Hl(r);if(e.firstPendingTime=i,n<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:n<=e.firstSuspendedTime&&(e.firstSuspendedTime=n-1),n<=e.lastPingedTime&&(e.lastPingedTime=0),n<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Js&&(el=Js=null,tl=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,i=r.firstEffect):i=r:i=r.firstEffect,null!==i){var o=Zs;Zs|=Ws,Us.current=null,Sr=tr;var s=wr();if(_r(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{l=(l=s.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var c=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{l.nodeType,f.nodeType}catch(T){l=null;break e}var p=0,d=-1,h=-1,v=0,m=0,g=s,y=null;t:for(;;){for(var b;;){if(g!==l||0!==c&&3!==g.nodeType||(d=p+c),g!==f||0!==u&&3!==g.nodeType||(h=p+u),3===g.nodeType&&(p+=g.nodeValue.length),null===(b=g.firstChild))break;y=g,g=b}for(;;){if(g===s)break t;if(y===l&&++v===c&&(d=p),y===f&&++m===u&&(h=p),null!==(b=g.nextSibling))break;g=y,y=g.parentNode}g=b}l=-1===d||-1===h?null:{start:d,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;Or={activeElementDetached:null,focusedElem:s,selectionRange:l},tr=!1,fl=i;do{try{Wl()}catch(T){if(null===fl)throw Error(a(330));$l(fl,T),fl=fl.nextEffect}}while(null!==fl);fl=i;do{try{for(s=e,l=t;null!==fl;){var x=fl.effectTag;if(16&x&&Ke(fl.stateNode,""),128&x){var A=fl.alternate;if(null!==A){var w=A.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&x){case 2:Os(fl),fl.effectTag&=-3;break;case 6:Os(fl),fl.effectTag&=-3,Ls(fl.alternate,fl);break;case 1024:fl.effectTag&=-1025;break;case 1028:fl.effectTag&=-1025,Ls(fl.alternate,fl);break;case 4:Ls(fl.alternate,fl);break;case 8:c=fl,Bs(s,c,l),Cs(c)}fl=fl.nextEffect}}catch(T){if(null===fl)throw Error(a(330));$l(fl,T),fl=fl.nextEffect}}while(null!==fl);if(w=Or,A=wr(),x=w.focusedElem,l=w.selectionRange,A!==x&&x&&x.ownerDocument&&Ar(x.ownerDocument.documentElement,x)){null!==l&&_r(x)&&(A=l.start,w=l.end,void 0===w&&(w=A),"selectionStart"in x?(x.selectionStart=A,x.selectionEnd=Math.min(w,x.value.length)):(w=(A=x.ownerDocument||document)&&A.defaultView||window,w.getSelection&&(w=w.getSelection(),c=x.textContent.length,s=Math.min(l.start,c),l=void 0===l.end?s:Math.min(l.end,c),!w.extend&&s>l&&(c=l,l=s,s=c),c=xr(x,s),f=xr(x,l),c&&f&&(1!==w.rangeCount||w.anchorNode!==c.node||w.anchorOffset!==c.offset||w.focusNode!==f.node||w.focusOffset!==f.offset)&&(A=A.createRange(),A.setStart(c.node,c.offset),w.removeAllRanges(),s>l?(w.addRange(A),w.extend(f.node,f.offset)):(A.setEnd(f.node,f.offset),w.addRange(A)))))),A=[];for(w=x;w=w.parentNode;)1===w.nodeType&&A.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<A.length;x++)w=A[x],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}tr=!!Sr,Or=Sr=null,e.current=r,fl=i;do{try{for(x=e;null!==fl;){var _=fl.effectTag;if(36&_&&ks(x,fl.alternate,fl),128&_){A=void 0;var E=fl.ref;if(null!==E){var k=fl.stateNode;switch(fl.tag){case 5:A=k;break;default:A=k}"function"===typeof E?E(A):E.current=A}}fl=fl.nextEffect}}catch(T){if(null===fl)throw Error(a(330));$l(fl,T),fl=fl.nextEffect}}while(null!==fl);fl=null,Zi(),Zs=o}else e.current=r;if(vl)vl=!1,ml=e,gl=t;else for(fl=i;null!==fl;)t=fl.nextEffect,fl.nextEffect=null,fl=t;if(t=e.firstPendingTime,0===t&&(hl=null),1073741823===t?e===xl?bl++:(bl=0,xl=e):bl=0,"function"===typeof Zl&&Zl(r.stateNode,n),Cl(e),pl)throw pl=!1,e=dl,dl=null,e;return(Zs&Vs)!==Hs||uo(),null}function Wl(){for(;null!==fl;){var e=fl.effectTag;0!==(256&e)&&ws(fl.alternate,fl),0===(512&e)||vl||(vl=!0,so(97,(function(){return Kl(),null}))),fl=fl.nextEffect}}function Kl(){if(90!==gl){var e=97<gl?97:gl;return gl=90,ao(e,ql)}}function ql(){if(null===ml)return!1;var e=ml;if(ml=null,(Zs&(Qs|Ws))!==Hs)throw Error(a(331));var t=Zs;for(Zs|=Ws,e=e.current.firstEffect;null!==e;){try{var r=e;if(0!==(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:_s(5,r),Es(5,r)}}catch(n){if(null===e)throw Error(a(330));$l(e,n)}r=e.nextEffect,e.nextEffect=null,e=r}return Zs=t,uo(),!0}function Gl(e,t,r){t=gs(r,t),t=js(e,t,1073741823),Co(e,t),e=kl(e,1073741823),null!==e&&Cl(e)}function $l(e,t){if(3===e.tag)Gl(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){Gl(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===hl||!hl.has(n))){e=gs(t,e),e=Rs(r,e,1073741823),Co(r,e),r=kl(r,1073741823),null!==r&&Cl(r);break}}r=r.return}}function Yl(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),Js===e&&tl===r?rl===Ys||rl===$s&&1073741823===il&&no()-ul<cl?Ll(e,tl):ll=!0:fu(e,r)&&(t=e.lastPingedTime,0!==t&&t<r||(e.lastPingedTime=r,Cl(e)))}function Xl(e,t){var r=e.stateNode;null!==r&&r.delete(t),t=0,0===t&&(t=wl(),t=_l(t,e,null)),e=kl(e,t),null!==e&&Cl(e)}Fs=function(e,t,r){var n=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Mi.current)Ga=!0;else{if(n<r){switch(Ga=!1,t.tag){case 3:ns(t),Ka();break;case 5:if(Zo(t),4&t.mode&&1!==r&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Li(t.type)&&Ri(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value,i=t.type._context,Ci(ho,i._currentValue),i._currentValue=n;break;case 13:if(null!==t.memoizedState)return n=t.child.childExpirationTime,0!==n&&n>=r?us(e,t,r):(Ci(ea,1&ea.current),t=ds(e,t,r),null!==t?t.sibling:null);Ci(ea,1&ea.current);break;case 19:if(n=t.childExpirationTime>=r,0!==(64&e.effectTag)){if(n)return ps(e,t,r);t.effectTag|=64}if(i=t.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Ci(ea,ea.current),!n)return null}return ds(e,t,r)}Ga=!1}}else Ga=!1;switch(t.expirationTime=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Bi(t,Oi.current),Ao(t,r),i=pa(null,t,n,e,i,r),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Li(n)){var o=!0;Ri(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Eo(t);var s=n.getDerivedStateFromProps;"function"===typeof s&&Lo(t,n,s,e),i.updater=Do,t.stateNode=i,i._reactInternalFiber=t,Fo(t,n,e,r),t=rs(null,t,n,!0,o,r)}else t.tag=0,$a(null,t,i,r),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,xe(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=iu(i),e=po(i,e),o){case 0:t=es(null,t,i,e,r);break e;case 1:t=ts(null,t,i,e,r);break e;case 11:t=Ya(null,t,i,e,r);break e;case 14:t=Xa(null,t,i,po(i.type,e),n,r);break e}throw Error(a(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:po(n,i),es(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:po(n,i),ts(e,t,n,i,r);case 3:if(ns(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,i=t.memoizedState,i=null!==i?i.element:null,ko(e,t),Oo(t,n,null,r),n=t.memoizedState.element,n===i)Ka(),t=ds(e,t,r);else{if((i=t.stateNode.hydrate)&&(Na=Dr(t.stateNode.containerInfo.firstChild),Fa=t,i=za=!0),i)for(r=Qo(t,null,n,r),t.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else $a(e,t,n,r),Ka();t=t.child}return t;case 5:return Zo(t),null===e&&Va(t),n=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Pr(n,i)?s=null:null!==o&&Pr(n,o)&&(t.effectTag|=16),Ja(e,t),4&t.mode&&1!==r&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):($a(e,t,s,r),t=t.child),t;case 6:return null===e&&Va(t),null;case 13:return us(e,t,r);case 4:return Yo(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Vo(t,null,n,r):$a(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:po(n,i),Ya(e,t,n,i,r);case 7:return $a(e,t,t.pendingProps,r),t.child;case 8:return $a(e,t,t.pendingProps.children,r),t.child;case 12:return $a(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(Ci(ho,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,o=ei(l,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(l,o):1073741823),0===o){if(s.children===i.children&&!Mi.current){t=ds(e,t,r);break e}}else for(l=t.child,null!==l&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===n&&0!==(c.observedBits&o)){1===l.tag&&(c=To(r,null),c.tag=2,Co(l,c)),l.expirationTime<r&&(l.expirationTime=r),c=l.alternate,null!==c&&c.expirationTime<r&&(c.expirationTime=r),xo(l.return,r),u.expirationTime<r&&(u.expirationTime=r);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(l=s.sibling,null!==l){l.return=s.return,s=l;break}s=s.return}l=s}$a(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,Ao(t,r),i=wo(i,o.unstable_observedBits),n=n(i),t.effectTag|=1,$a(e,t,n,r),t.child;case 14:return i=t.type,o=po(i,t.pendingProps),o=po(i.type,o),Xa(e,t,i,o,n,r);case 15:return Za(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:po(n,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Li(n)?(e=!0,Ri(t)):e=!1,Ao(t,r),jo(t,n,i),Fo(t,n,i,r),rs(null,t,n,!0,e,r);case 19:return ps(e,t,r)}throw Error(a(156,t.tag))};var Zl=null,Jl=null;function eu(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var r=t.inject(e);Zl=function(e){try{t.onCommitFiberRoot(r,e,void 0,64===(64&e.current.effectTag))}catch(n){}},Jl=function(e){try{t.onCommitFiberUnmount(r,e)}catch(n){}}}catch(n){}return!0}function tu(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function ru(e,t,r,n){return new tu(e,t,r,n)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function iu(e){if("function"===typeof e)return nu(e)?1:0;if(void 0!==e&&null!==e){if(e=e.$$typeof,e===pe)return 11;if(e===ve)return 14}return 2}function ou(e,t){var r=e.alternate;return null===r?(r=ru(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function au(e,t,r,n,i,o){var s=2;if(n=e,"function"===typeof e)nu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case ae:return su(r.children,i,o,t);case fe:s=8,i|=7;break;case se:s=8,i|=1;break;case le:return e=ru(12,r,t,8|i),e.elementType=le,e.type=le,e.expirationTime=o,e;case de:return e=ru(13,r,t,i),e.type=de,e.elementType=de,e.expirationTime=o,e;case he:return e=ru(19,r,t,i),e.elementType=he,e.expirationTime=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case ue:s=10;break e;case ce:s=9;break e;case pe:s=11;break e;case ve:s=14;break e;case me:s=16,n=null;break e;case ge:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return t=ru(s,r,t,i),t.elementType=e,t.type=n,t.expirationTime=o,t}function su(e,t,r,n){return e=ru(7,e,n,t),e.expirationTime=r,e}function lu(e,t,r){return e=ru(6,e,null,t),e.expirationTime=r,e}function uu(e,t,r){return t=ru(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cu(e,t,r){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function fu(e,t){var r=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==r&&r>=t&&e<=t}function pu(e,t){var r=e.firstSuspendedTime,n=e.lastSuspendedTime;r<t&&(e.firstSuspendedTime=t),(n>t||0===r)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function du(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var r=e.firstSuspendedTime;0!==r&&(t>=r?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function hu(e,t){var r=e.lastExpiredTime;(0===r||r>t)&&(e.lastExpiredTime=t)}function vu(e,t,r,n){var i=t.current,o=wl(),s=Po.suspense;o=_l(o,i,s);e:if(r){r=r._reactInternalFiber;t:{if(ot(r)!==r||1!==r.tag)throw Error(a(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Li(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===r.tag){var u=r.type;if(Li(u)){r=ji(r,u,l);break e}}r=l}else r=Si;return null===t.context?t.context=r:t.pendingContext=r,t=To(o,s),t.payload={element:e},n=void 0===n?null:n,null!==n&&(t.callback=n),Co(i,t),El(i,o),o}function mu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function gu(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function yu(e,t){gu(e,t),(e=e.alternate)&&gu(e,t)}function bu(e,t,r){r=null!=r&&!0===r.hydrate;var n=new cu(e,t,r),i=ru(3,null,null,2===t?7:1===t?3:0);n.current=i,i.stateNode=n,Eo(i),e[Nr]=n.current,r&&0!==t&&It(e,9===e.nodeType?e:e.ownerDocument),this._internalRoot=n}function xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Au(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new bu(e,0,t?{hydrate:!0}:void 0)}function wu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=mu(a);s.call(e)}}vu(t,a,e,i)}else{if(o=r._reactRootContainer=Au(r,n),a=o._internalRoot,"function"===typeof i){var l=i;i=function(){var e=mu(a);l.call(e)}}Bl((function(){vu(t,a,e,i)}))}return mu(a)}function _u(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oe,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function Eu(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!xu(t))throw Error(a(200));return _u(e,t,null,r)}bu.prototype.render=function(e){vu(e,this._internalRoot,null,null)},bu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;vu(null,e,null,(function(){t[Nr]=null}))},wt=function(e){if(13===e.tag){var t=fo(wl(),150,100);El(e,t),yu(e,t)}},_t=function(e){13===e.tag&&(El(e,3),yu(e,3))},Et=function(e){if(13===e.tag){var t=wl();t=_l(t,e,null),El(e,t),yu(e,t)}},O=function(e,t,r){switch(t){case"input":if(Pe(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Vr(n);if(!i)throw Error(a(90));Ce(n),Pe(n,i)}}}break;case"textarea":Ne(e,r);break;case"select":t=r.value,null!=t&&je(e,!!r.multiple,t,!1)}},I=Pl,j=function(e,t,r,n,i){var o=Zs;Zs|=4;try{return ao(98,e.bind(null,t,r,n,i))}finally{Zs=o,Zs===Hs&&uo()}},R=function(){(Zs&(1|Qs|Ws))===Hs&&(Ml(),Kl())},F=function(e,t){var r=Zs;Zs|=2;try{return e(t)}finally{Zs=r,Zs===Hs&&uo()}};var ku={Events:[Ur,Hr,Vr,C,E,Yr,function(e){ft(e,$r)},L,D,ar,ht,Kl,{current:!1}]};(function(e){var t=e.findFiberByHostInstance;eu(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ee.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ut(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:zr,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ku,t.createPortal=Eu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=ut(t),e=null===e?null:e.stateNode,e},t.flushSync=function(e,t){if((Zs&(Qs|Ws))!==Hs)throw Error(a(187));var r=Zs;Zs|=1;try{return ao(99,e.bind(null,t))}finally{Zs=r,uo()}},t.hydrate=function(e,t,r){if(!xu(t))throw Error(a(200));return wu(null,e,t,!0,r)},t.render=function(e,t,r){if(!xu(t))throw Error(a(200));return wu(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!xu(e))throw Error(a(40));return!!e._reactRootContainer&&(Bl((function(){wu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Nr]=null}))})),!0)},t.unstable_batchedUpdates=Pl,t.unstable_createPortal=function(e,t){return Eu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!xu(r))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return wu(e,t,r,!1,n)},t.version="16.13.1"},ca64:function(e,t,r){"use strict";var n=r("4efe"),i=r("e21b"),o=i.drawMode,a=r("371e"),s=r("52d8"),l=s.i000,u=s.i090,c=s.i180,f=s.i270,p=r("e947"),d=p.clearOutlineControllers,h=r("b34d"),v=h.pointsShapeRectangle,m=h.pointsShapeEllipse,g=h.writePaths,y=r("3b24");function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];e[r]=[];for(var i=0;i<n.length;i++){e[r][i]=[];for(var o=0;o<n[i].length;o++)e[r][i][o]=n[i][o]}}return e}e.exports=function e(t,r,i,s){s||(s=0);var p=i.gd;function h(){e(t,r,i,s++),m(t[0])&&x({redrawing:!0})}function x(e){i.isActiveShape=!1;var t=y(r,i);Object.keys(t).length&&a.call((e||{}).redrawing?"relayout":"_guiRelayout",p,t)}var A,w,_,E,k,T=i.isActiveShape,C=p._fullLayout,S=C._zoomlayer,O=i.dragmode,M=o(O);if(M?p._fullLayout._drawing=!0:p._fullLayout._activeShapeIndex>=0&&d(p),r.attr("d",g(t)),T&&!s){k=b([],t);var P=S.append("g").attr("class","outline-controllers");R(P),H()}function B(e){_=+e.srcElement.getAttribute("data-i"),E=+e.srcElement.getAttribute("data-j"),A[_][E].moveFn=L}function L(e,r){if(t.length){var n=k[_][E][1],i=k[_][E][2],o=t[_],a=o.length;if(v(o)){for(var s=0;s<a;s++)if(s!==E){var l=o[s];l[1]===o[E][1]&&(l[1]=n+e),l[2]===o[E][2]&&(l[2]=i+r)}if(o[E][1]=n+e,o[E][2]=i+r,!v(o))for(var u=0;u<a;u++)for(var c=0;c<o[u].length;c++)o[u][c]=k[_][u][c]}else o[E][1]=n+e,o[E][2]=i+r;h()}}function D(){x()}function I(){if(t.length&&t[_]&&t[_].length){for(var e=[],r=0;r<t[_].length;r++)r!==E&&e.push(t[_][r]);e.length>1&&(2!==e.length||"Z"!==e[1][0])&&(0===E&&(e[0][0]="M"),t[_]=e,h(),x())}}function j(e,r){if(2===e){_=+r.srcElement.getAttribute("data-i"),E=+r.srcElement.getAttribute("data-j");var n=t[_];v(n)||m(n)||I()}}function R(e){A=[];for(var r=0;r<t.length;r++){var i=t[r],o=v(i),a=!o&&m(i);A[r]=[];for(var s=0;s<i.length;s++)if("Z"!==i[s][0]&&(!a||s===l||s===u||s===c||s===f)){var d=i[s][1],h=i[s][2],g=e.append("circle").classed("cursor-grab",!0).attr("data-i",r).attr("data-j",s).attr("cx",d).attr("cy",h).attr("r",4).style({"mix-blend-mode":"luminosity",fill:"black",stroke:"white","stroke-width":1});A[r][s]={element:g.node(),gd:p,prepFn:B,doneFn:D,clickFn:j},n.init(A[r][s])}}}function F(e,r){if(t.length)for(var n=0;n<t.length;n++)for(var i=0;i<t[n].length;i++)for(var o=0;o+2<t[n][i].length;o+=2)t[n][i][o+1]=k[n][i][o+1]+e,t[n][i][o+2]=k[n][i][o+2]+r}function N(e,t){F(e,t),h()}function z(e){_=+e.srcElement.getAttribute("data-i"),_||(_=0),w[_].moveFn=N}function U(){x()}function H(){if(w=[],t.length){var e=0;w[e]={element:r[0][0],gd:p,prepFn:z,doneFn:U},n.init(w[e])}}}},ca67:function(e,t,r){"use strict";var n=r("4248"),i={getDelay:n.getDelay,getRedrawFunc:n.getRedrawFunc,clone:r("d18e"),toSVG:r("cb04"),svgToImg:r("4ebd"),toImage:r("ee92"),downloadImage:r("ad91")};e.exports=i},ca84:function(e,t,r){var n=r("5135"),i=r("fc6a"),o=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);while(t.length>l)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},ca92:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("fa10"),a=r("0681");e.exports=function(e,t,r,s,l){var u,c,f=e.cd,p=f[0].trace,d=p.hoveron,h=-1!==d.indexOf("violins"),v=-1!==d.indexOf("kde"),m=[];if(h||v){var g=o.hoverOnBoxes(e,t,r,s);if(v&&g.length>0){var y,b,x,A,w,_=e.xa,E=e.ya;"h"===p.orientation?(w=t,y="y",x=E,b="x",A=_):(w=r,y="x",x=_,b="y",A=E);var k=f[e.index];if(w>=k.span[0]&&w<=k.span[1]){var T=n.extendFlat({},e),C=A.c2p(w,!0),S=a.getKdeValue(k,p,w),O=a.getPositionOnKdePath(k,p,C),M=x._offset,P=x._length;T[y+"0"]=O[0],T[y+"1"]=O[1],T[b+"0"]=T[b+"1"]=C,T[b+"Label"]=b+": "+i.hoverLabelText(A,w)+", "+f[0].t.labels.kde+" "+S.toFixed(3),T.spikeDistance=g[0].spikeDistance;var B=y+"Spike";T[B]=g[0][B],g[0].spikeDistance=void 0,g[0][B]=void 0,T.hovertemplate=!1,m.push(T),c={stroke:e.color},c[y+"1"]=n.constrain(M+O[0],M,M+P),c[y+"2"]=n.constrain(M+O[1],M,M+P),c[b+"1"]=c[b+"2"]=A._offset+C}}h&&(m=m.concat(g))}-1!==d.indexOf("points")&&(u=o.hoverOnPoints(e,t,r));var L=l.selectAll(".violinline-"+p.uid).data(c?[0]:[]);return L.enter().append("line").classed("violinline-"+p.uid,!0).attr("stroke-width",1.5),L.exit().remove(),L.attr(c),"closest"===s?u?[u]:m:u?(m.push(u),m):m}},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,o=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cac1:function(e,t,r){e.exports=r("615d")},cae0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M27.625 32H5.812a.722.722 0 0 1-.75-.75V.75c0-.438.313-.75.75-.75h21.813c.438 0 .75.313.75.75v30.5c0 .438-.313.75-.75.75zM6.563 30.563h20.375V1.438H6.563zm.687-24.75H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.688.75-.688H7.25c.438 0 .75.25.75.688s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.375H4.375c-.438 0-.75-.313-.75-.75s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.75-.75.75zm0 4.312H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zm0 4.375H4.375c-.438 0-.75-.25-.75-.688s.313-.75.75-.75H7.25c.438 0 .75.313.75.75s-.313.688-.75.688zm5.813-6.125v-11h2.188l2.625 7.813c.313.75.438 1.313.625 1.625.125-.438.25-1 .563-1.75l2.625-7.688h1.875v11h-1.438v-9.313l-3.188 9.188H17.75l-3.188-9.313V21.5zm-3.625-2h2.063v2H9.438z"}))};t.default=u},caf7:function(e,t,r){"use strict";var n=r("551a"),i=r("765f").parseColorScale,o=r("f977"),a=r("c258").extractOpts,s=r("569b"),l=function(e,t){for(var r=t.length-1;r>0;r--){var n=Math.min(t[r],t[r-1]),i=Math.max(t[r],t[r-1]);if(i>n&&n<e&&e<=i)return{id:r,distRatio:(i-e)/(i-n)}}return{id:0,distRatio:0}};function u(e,t,r){this.scene=e,this.uid=r,this.mesh=t,this.name="",this.data=null,this.showContour=!1}var c=u.prototype;c.handlePick=function(e){if(e.object===this.mesh){var t=e.data.index,r=this.data._meshX[t],n=this.data._meshY[t],i=this.data._meshZ[t],o=this.data._Ys.length,a=this.data._Zs.length,s=l(r,this.data._Xs).id,u=l(n,this.data._Ys).id,c=l(i,this.data._Zs).id,f=e.index=c+a*u+a*o*s;e.traceCoordinate=[this.data._meshX[f],this.data._meshY[f],this.data._meshZ[f],this.data._value[f]];var p=this.data.hovertext||this.data.text;return Array.isArray(p)&&void 0!==p[f]?e.textLabel=p[f]:p&&(e.textLabel=p),!0}},c.update=function(e){var t=this.scene,r=t.fullSceneLayout;function n(e,t,r,n){return t.map((function(t){return e.d2l(t,0,n)*r}))}this.data=p(e);var l=s(n(r.xaxis,e._meshX,t.dataScale[0],e.xcalendar),n(r.yaxis,e._meshY,t.dataScale[1],e.ycalendar),n(r.zaxis,e._meshZ,t.dataScale[2],e.zcalendar)),u=s(e._meshI,e._meshJ,e._meshK),c={positions:l,cells:u,lightPosition:[e.lightposition.x,e.lightposition.y,e.lightposition.z],ambient:e.lighting.ambient,diffuse:e.lighting.diffuse,specular:e.lighting.specular,roughness:e.lighting.roughness,fresnel:e.lighting.fresnel,vertexNormalsEpsilon:e.lighting.vertexnormalsepsilon,faceNormalsEpsilon:e.lighting.facenormalsepsilon,opacity:e.opacity,contourEnable:e.contour.show,contourColor:o(e.contour.color).slice(0,3),contourWidth:e.contour.width,useFacetNormals:e.flatshading},f=a(e);c.vertexIntensity=e._meshIntensity,c.vertexIntensityBounds=[f.min,f.max],c.colormap=i(e),this.mesh.update(c)},c.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};var f=["xyz","xzy","yxz","yzx","zxy","zyx"];function p(e){e._meshI=[],e._meshJ=[],e._meshK=[];var t,r,n,i,o,a,s,u=e.surface.show,c=e.spaceframe.show,p=e.surface.fill,d=e.spaceframe.fill,h=!1,v=!1,m=0,g=e._Xs,y=e._Ys,b=e._Zs,x=g.length,A=y.length,w=b.length,_=f.indexOf(e._gridFill.replace(/-/g,"").replace(/\+/g,"")),E=function(e,t,r){switch(_){case 5:return r+w*t+w*A*e;case 4:return r+w*e+w*x*t;case 3:return t+A*r+A*w*e;case 2:return t+A*e+A*x*r;case 1:return e+x*r+x*w*t;default:return e+x*t+x*A*r}},k=e._minValues,T=e._maxValues,C=e._vMin,S=e._vMax;function O(e,t,s){for(var l=a.length,u=r;u<l;u++)if(e===n[u]&&t===i[u]&&s===o[u])return u;return-1}function M(){r=t}function P(){n=[],i=[],o=[],a=[],t=0,M()}function B(e,r,s,l){return n.push(e),i.push(r),o.push(s),a.push(l),t++,t-1}function L(t,r,n){return e._meshI.push(t),e._meshJ.push(r),e._meshK.push(n),m++,m-1}function D(e,t,r){for(var n=[],i=0;i<e.length;i++)n[i]=(e[i]+t[i]+r[i])/3;return n}function I(e,t,r){for(var n=[],i=0;i<e.length;i++)n[i]=e[i]*(1-r)+r*t[i];return n}function j(e){s=e}function R(e,t){var r=e[0],n=e[1],i=e[2],o=D(r,n,i),a=Math.sqrt(1-s),l=I(o,r,a),u=I(o,n,a),c=I(o,i,a),f=t[0],p=t[1],d=t[2];return{xyzv:[[r,n,u],[u,l,r],[n,i,c],[c,u,n],[i,r,l],[l,c,i]],abc:[[f,p,-1],[-1,-1,f],[p,d,-1],[-1,-1,p],[d,f,-1],[-1,-1,d]]}}function F(e,t){return"all"===e||null===e||e.indexOf(t)>-1}function N(e,t){return null===e?t:e}function z(e,t,r){M();var n=[t],i=[r];if(s>=1)n=[t],i=[r];else if(s>0){var o=R(t,r);n=o.xyzv,i=o.abc}for(var a=0;a<n.length;a++){t=n[a],r=i[a];for(var l=[],u=0;u<3;u++){var c=t[u][0],f=t[u][1],p=t[u][2],d=t[u][3],h=r[u]>-1?r[u]:O(c,f,p);l[u]=h>-1?h:B(c,f,p,N(e,d))}L(l[0],l[1],l[2])}}function U(e,t,r){var n=function(n,i,o){z(e,[t[n],t[i],t[o]],[r[n],r[i],r[o]])};n(0,1,2),n(2,3,0)}function H(e,t,r){var n=function(n,i,o){z(e,[t[n],t[i],t[o]],[r[n],r[i],r[o]])};n(0,1,2),n(3,0,1),n(2,3,0),n(1,2,3)}function V(e,t,r,n){var i=e[3];i<r&&(i=r),i>n&&(i=n);for(var o=(e[3]-i)/(e[3]-t[3]+1e-9),a=[],s=0;s<4;s++)a[s]=(1-o)*e[s]+o*t[s];return a}function Q(e,t,r){return e>=t&&e<=r}function W(e){var t=.001*(S-C);return e>=C-t&&e<=S+t}function K(t){for(var r=[],n=0;n<4;n++){var i=t[n];r.push([e._x[i],e._y[i],e._z[i],e._value[i]])}return r}var q=3;function G(e,t,r,n,i,o){o||(o=1),r=[-1,-1,-1];var a=!1,s=[Q(t[0][3],n,i),Q(t[1][3],n,i),Q(t[2][3],n,i)];if(!s[0]&&!s[1]&&!s[2])return!1;var l=function(e,t,r){return W(t[0][3])&&W(t[1][3])&&W(t[2][3])?(z(e,t,r),!0):o<q&&G(e,t,r,C,S,++o)};if(s[0]&&s[1]&&s[2])return l(e,t,r)||a;var u=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach((function(o){if(s[o[0]]&&s[o[1]]&&!s[o[2]]){var c=t[o[0]],f=t[o[1]],p=t[o[2]],d=V(p,c,n,i),h=V(p,f,n,i);a=l(e,[h,d,c],[-1,-1,r[o[0]]])||a,a=l(e,[c,f,h],[r[o[0]],r[o[1]],-1])||a,u=!0}})),u||[[0,1,2],[1,2,0],[2,0,1]].forEach((function(o){if(s[o[0]]&&!s[o[1]]&&!s[o[2]]){var c=t[o[0]],f=t[o[1]],p=t[o[2]],d=V(f,c,n,i),h=V(p,c,n,i);a=l(e,[h,d,c],[-1,-1,r[o[0]]])||a,u=!0}})),a}function $(e,t,r,n){var i=!1,o=K(t),a=[Q(o[0][3],r,n),Q(o[1][3],r,n),Q(o[2][3],r,n),Q(o[3][3],r,n)];if(!a[0]&&!a[1]&&!a[2]&&!a[3])return i;if(a[0]&&a[1]&&a[2]&&a[3])return v&&(i=H(e,o,t)||i),i;var s=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach((function(l){if(a[l[0]]&&a[l[1]]&&a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],f=o[l[2]],p=o[l[3]];if(v)i=z(e,[u,c,f],[t[l[0]],t[l[1]],t[l[2]]])||i;else{var d=V(p,u,r,n),h=V(p,c,r,n),m=V(p,f,r,n);i=z(null,[d,h,m],[-1,-1,-1])||i}s=!0}})),s?i:([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach((function(l){if(a[l[0]]&&a[l[1]]&&!a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],f=o[l[2]],p=o[l[3]],d=V(f,u,r,n),h=V(f,c,r,n),m=V(p,c,r,n),g=V(p,u,r,n);v?(i=z(e,[u,g,d],[t[l[0]],-1,-1])||i,i=z(e,[c,h,m],[t[l[1]],-1,-1])||i):i=U(null,[d,h,m,g],[-1,-1,-1,-1])||i,s=!0}})),s||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach((function(l){if(a[l[0]]&&!a[l[1]]&&!a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],f=o[l[2]],p=o[l[3]],d=V(c,u,r,n),h=V(f,u,r,n),m=V(p,u,r,n);v?(i=z(e,[u,d,h],[t[l[0]],-1,-1])||i,i=z(e,[u,h,m],[t[l[0]],-1,-1])||i,i=z(e,[u,m,d],[t[l[0]],-1,-1])||i):i=z(null,[d,h,m],[-1,-1,-1])||i,s=!0}})),i)}function Y(e,t,r,n,i,o,a,s,l,u,c){var f=!1;return h&&(F(e,"A")&&(f=$(null,[t,r,n,o],u,c)||f),F(e,"B")&&(f=$(null,[r,n,i,l],u,c)||f),F(e,"C")&&(f=$(null,[r,o,a,l],u,c)||f),F(e,"D")&&(f=$(null,[n,o,s,l],u,c)||f),F(e,"E")&&(f=$(null,[r,n,o,l],u,c)||f)),v&&(f=$(e,[r,n,o,l],u,c)||f),f}function X(e,t,r,n,i,o,a,s){return[!0===s[0]||G(e,K([t,r,n]),[t,r,n],o,a),!0===s[1]||G(e,K([n,i,t]),[n,i,t],o,a)]}function Z(e,t,r,n,i,o,a,s,l){return s?X(e,t,r,i,n,o,a,l):X(e,r,i,n,t,o,a,l)}function J(e,t,r,n,i,o,a){var s,l,u,c,f=!1,p=function(){f=G(e,[s,l,u],[-1,-1,-1],i,o)||f,f=G(e,[u,c,s],[-1,-1,-1],i,o)||f},d=a[0],h=a[1],v=a[2];return d&&(s=I(K([E(t,r-0,n-0)])[0],K([E(t-1,r-0,n-0)])[0],d),l=I(K([E(t,r-0,n-1)])[0],K([E(t-1,r-0,n-1)])[0],d),u=I(K([E(t,r-1,n-1)])[0],K([E(t-1,r-1,n-1)])[0],d),c=I(K([E(t,r-1,n-0)])[0],K([E(t-1,r-1,n-0)])[0],d),p()),h&&(s=I(K([E(t-0,r,n-0)])[0],K([E(t-0,r-1,n-0)])[0],h),l=I(K([E(t-0,r,n-1)])[0],K([E(t-0,r-1,n-1)])[0],h),u=I(K([E(t-1,r,n-1)])[0],K([E(t-1,r-1,n-1)])[0],h),c=I(K([E(t-1,r,n-0)])[0],K([E(t-1,r-1,n-0)])[0],h),p()),v&&(s=I(K([E(t-0,r-0,n)])[0],K([E(t-0,r-0,n-1)])[0],v),l=I(K([E(t-0,r-1,n)])[0],K([E(t-0,r-1,n-1)])[0],v),u=I(K([E(t-1,r-1,n)])[0],K([E(t-1,r-1,n-1)])[0],v),c=I(K([E(t-1,r-0,n)])[0],K([E(t-1,r-0,n-1)])[0],v),p()),f}function ee(e,t,r,n,i,o,a,s,l,u,c,f){var p=e;return f?(h&&"even"===e&&(p=null),Y(p,t,r,n,i,o,a,s,l,u,c)):(h&&"odd"===e&&(p=null),Y(p,l,s,a,o,i,n,r,t,u,c))}function te(e,t,r,n,i){for(var o=[],a=0,s=0;s<t.length;s++)for(var l=t[s],u=1;u<w;u++)for(var c=1;c<A;c++)o.push(Z(e,E(l,c-1,u-1),E(l,c-1,u),E(l,c,u-1),E(l,c,u),r,n,(l+c+u)%2,i&&i[a]?i[a]:[])),a++;return o}function re(e,t,r,n,i){for(var o=[],a=0,s=0;s<t.length;s++)for(var l=t[s],u=1;u<x;u++)for(var c=1;c<w;c++)o.push(Z(e,E(u-1,l,c-1),E(u,l,c-1),E(u-1,l,c),E(u,l,c),r,n,(u+l+c)%2,i&&i[a]?i[a]:[])),a++;return o}function ne(e,t,r,n,i){for(var o=[],a=0,s=0;s<t.length;s++)for(var l=t[s],u=1;u<A;u++)for(var c=1;c<x;c++)o.push(Z(e,E(c-1,u-1,l),E(c-1,u,l),E(c,u-1,l),E(c,u,l),r,n,(c+u+l)%2,i&&i[a]?i[a]:[])),a++;return o}function ie(e,t,r){for(var n=1;n<w;n++)for(var i=1;i<A;i++)for(var o=1;o<x;o++)ee(e,E(o-1,i-1,n-1),E(o-1,i-1,n),E(o-1,i,n-1),E(o-1,i,n),E(o,i-1,n-1),E(o,i-1,n),E(o,i,n-1),E(o,i,n),t,r,(o+i+n)%2)}function oe(e,t,r){v=!0,ie(e,t,r),v=!1}function ae(e,t,r){h=!0,ie(e,t,r),h=!1}function se(e,t,r,n,i,o){for(var a=[],s=0,l=0;l<t.length;l++)for(var u=t[l],c=1;c<w;c++)for(var f=1;f<A;f++)a.push(J(e,u,f,c,r,n,i[l],o&&o[s]?o[s]:[])),s++;return a}function le(e,t,r,n,i,o){for(var a=[],s=0,l=0;l<t.length;l++)for(var u=t[l],c=1;c<x;c++)for(var f=1;f<w;f++)a.push(J(e,c,u,f,r,n,i[l],o&&o[s]?o[s]:[])),s++;return a}function ue(e,t,r,n,i,o){for(var a=[],s=0,l=0;l<t.length;l++)for(var u=t[l],c=1;c<A;c++)for(var f=1;f<x;f++)a.push(J(e,f,c,u,r,n,i[l],o&&o[s]?o[s]:[])),s++;return a}function ce(e,t){for(var r=[],n=e;n<t;n++)r.push(n);return r}function fe(){for(var t=0;t<x;t++)for(var r=0;r<A;r++)for(var n=0;n<w;n++){var i=E(t,r,n);B(e._x[i],e._y[i],e._z[i],e._value[i])}}function pe(){P(),fe();var t=null;if(c&&d&&(j(d),oe(t,C,S)),u&&p){j(p);for(var r=e.surface.pattern,s=e.surface.count,f=0;f<s;f++){var h=1===s?.5:f/(s-1),v=(1-h)*C+h*S,_=Math.abs(v-k),E=Math.abs(v-T),O=_>E?[k,v]:[v,T];ae(r,O[0],O[1])}}var M=[[Math.min(C,T),Math.max(C,T)],[Math.min(k,S),Math.max(k,S)]];["x","y","z"].forEach((function(r){for(var n=[],i=0;i<M.length;i++){var o=0,a=M[i][0],s=M[i][1],u=e.slices[r];if(u.show&&u.fill){j(u.fill);var c=[],f=[],p=[];if(u.locations.length)for(var d=0;d<u.locations.length;d++){var h=l(u.locations[d],"x"===r?g:"y"===r?y:b);0===h.distRatio?c.push(h.id):h.id>0&&(f.push(h.id),"x"===r?p.push([h.distRatio,0,0]):"y"===r?p.push([0,h.distRatio,0]):p.push([0,0,h.distRatio]))}else c=ce(1,"x"===r?x-1:"y"===r?A-1:w-1);f.length>0&&(n[o]="x"===r?se(t,f,a,s,p,n[o]):"y"===r?le(t,f,a,s,p,n[o]):ue(t,f,a,s,p,n[o]),o++),c.length>0&&(n[o]="x"===r?te(t,c,a,s,n[o]):"y"===r?re(t,c,a,s,n[o]):ne(t,c,a,s,n[o]),o++)}var v=e.caps[r];v.show&&v.fill&&(j(v.fill),n[o]="x"===r?te(t,[0,x-1],a,s,n[o]):"y"===r?re(t,[0,A-1],a,s,n[o]):ne(t,[0,w-1],a,s,n[o]),o++)}})),0===m&&P(),e._meshX=n,e._meshY=i,e._meshZ=o,e._meshIntensity=a,e._Xs=g,e._Ys=y,e._Zs=b}return pe(),e}function d(e,t){var r=e.glplot.gl,i=n({gl:r}),o=new u(e,i,t.uid);return i._trace=o,o.update(t),e.glplot.add(i),o}e.exports={findNearestOnAxis:l,generateIsoMeshes:p,createIsosurfaceTrace:d}},caff:function(e,t,r){"use strict";var n=r("fc26"),i=r("1c1c").handleGroupingDefaults,o=r("1c1c").handleText,a=r("076f"),s=r("5793"),l=r("c99f"),u=r("d115");function c(e,t,r,i){function c(r,i){return n.coerce(e,t,l,r,i)}var p=a(e,t,i,c);if(p){s(e,t,i,c),c("orientation",t.y&&!t.x?"v":"h"),c("offset"),c("width");var d=c("text");c("hovertext"),c("hovertemplate");var h=c("textposition");o(e,t,i,c,h,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"===t.textposition||t.texttemplate||c("textinfo",Array.isArray(d)?"text+value":"value");var v=c("marker.color",r);c("marker.line.color",u.defaultLine),c("marker.line.width");var m=c("connector.visible");if(m){c("connector.fillcolor",f(v));var g=c("connector.line.width");g&&(c("connector.line.color"),c("connector.line.dash"))}}else t.visible=!1}function f(e){var t=n.isArrayOrTypedArray(e)?"#000":e;return u.addOpacity(t,.5*u.opacity(t))}function p(e,t){var r,o;function a(e){return n.coerce(o._input,o,l,e)}if("group"===t.funnelmode)for(var s=0;s<e.length;s++)o=e[s],r=o._input,i(r,o,t,a)}e.exports={supplyDefaults:c,crossTraceDefaults:p}},cb04:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=r("d115"),s=r("73c9"),l=/"/g,u="TOBESTRIPPED",c=new RegExp('("'+u+")|("+u+'")',"g");function f(e){var t=n.select("body").append("div").style({display:"none"}).html(""),r=e.replace(/(&[^;]*;)/gi,(function(e){return"<"===e?"<":"&rt;"===e?">":-1!==e.indexOf("<")||-1!==e.indexOf(">")?"":t.html(e).text()}));return t.remove(),r}function p(e){return e.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")}e.exports=function(e,t,r){var d,h=e._fullLayout,v=h._paper,m=h._toppaper,g=h.width,y=h.height;v.insert("rect",":first-child").call(o.setRect,0,0,g,y).call(a.fill,h.paper_bgcolor);var b=h._basePlotModules||[];for(d=0;d<b.length;d++){var x=b[d];x.toSVG&&x.toSVG(e)}if(m){var A=m.node().childNodes,w=Array.prototype.slice.call(A);for(d=0;d<w.length;d++){var _=w[d];_.childNodes.length&&v.node().appendChild(_)}}if(h._draggers&&h._draggers.remove(),v.node().style.background="",v.selectAll("text").attr({"data-unformatted":null,"data-math":null}).each((function(){var e=n.select(this);if("hidden"!==this.style.visibility&&"none"!==this.style.display){e.style({visibility:null,display:null});var t=this.style.fontFamily;t&&-1!==t.indexOf('"')&&e.style("font-family",t.replace(l,u))}else e.remove()})),h._gradientUrlQueryParts){var E=[];for(var k in h._gradientUrlQueryParts)E.push(k);E.length&&v.selectAll(E.join(",")).each((function(){var e=n.select(this),t=this.style.fill;t&&-1!==t.indexOf("url(")&&e.style("fill",t.replace(l,u));var r=this.style.stroke;r&&-1!==r.indexOf("url(")&&e.style("stroke",r.replace(l,u))}))}"pdf"!==t&&"eps"!==t||v.selectAll("#MathJax_SVG_glyphs path").attr("stroke-width",0),v.node().setAttributeNS(s.xmlns,"xmlns",s.svg),v.node().setAttributeNS(s.xmlns,"xmlns:xlink",s.xlink),"svg"===t&&r&&(v.attr("width",r*g),v.attr("height",r*y),v.attr("viewBox","0 0 "+g+" "+y));var T=(new window.XMLSerializer).serializeToString(v.node());return T=f(T),T=p(T),T=T.replace(c,"'"),i.isIE()&&(T=T.replace(/"/gi,"'"),T=T.replace(/(\('#)([^']*)('\))/gi,'("#$2")'),T=T.replace(/(\\')/gi,'"')),T}},cb1c:function(e,t,r){"use strict";var n=r("8cb4"),i=r("4da8"),o=function(e,t){return e===t},a=function(e){return!!e},s=[];function l(e,t,r){var s=[],l=t.map((function(e){return e.has(r)})).toList();return i(l,o,a,(function(t,i){var o=e.getText();s.push({offset:n.strlen(o.slice(0,t)),length:n.strlen(o.slice(t,i)),style:r})})),s}function u(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),r=t.flatten().toSet().map((function(r){return l(e,t,r)}));return Array.prototype.concat.apply(s,r.toJS())}e.exports=u},cb34:function(e,t,r){"use strict";var n=r("fc26"),i=n.extendFlat,o=n.isPlainObject,a={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},s={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},l=a.flags.slice().concat(["fullReplot"]),u=s.flags.slice().concat("layoutReplot");function c(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!1;return t}function f(e,t,r){var n=i({},e);for(var a in n){var s=n[a];o(s)&&(n[a]=p(s,t,r,a))}return"from-root"===r&&(n.editType=t),n}function p(e,t,r,n){if(e.valType){var o=i({},e);if(o.editType=t,Array.isArray(e.items)){o.items=new Array(e.items.length);for(var a=0;a<e.items.length;a++)o.items[a]=p(e.items[a],t,"from-root")}return o}return f(e,t,"_"===n.charAt(0)?"nested":"from-root")}e.exports={traces:a,layout:s,traceFlags:function(){return c(l)},layoutFlags:function(){return c(u)},update:function(e,t){var r=t.editType;if(r&&"none"!==r)for(var n=r.split("+"),i=0;i<n.length;i++)e[n[i]]=!0},overrideAll:f}},cb36:function(e,t,r){"use strict";r.r(t),r.d(t,"useDropzone",(function(){return re}));var n=r("ab5b"),i=r.n(n),o=r("d7bc"),a=r.n(o);function s(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function l(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}Object.create;function u(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}Object.create;var f=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function p(e,t){var r=d(e);if("string"!==typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"===typeof t?t:"string"===typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function d(e){var t=e.name,r=t&&-1!==t.lastIndexOf(".");if(r&&!e.type){var n=t.split(".").pop().toLowerCase(),i=f.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var h=[".DS_Store","Thumbs.db"];function v(e){return s(this,void 0,void 0,(function(){return l(this,(function(t){return[2,m(e)&&e.dataTransfer?b(e.dataTransfer,e.type):g(e)]}))}))}function m(e){return!!e.dataTransfer}function g(e){var t=y(e.target)&&e.target.files?A(e.target.files):[];return t.map((function(e){return p(e)}))}function y(e){return null!==e}function b(e,t){return s(this,void 0,void 0,(function(){var r,n;return l(this,(function(i){switch(i.label){case 0:return e.items?(r=A(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(w))]):[3,2];case 1:return n=i.sent(),[2,x(_(n))];case 2:return[2,x(A(e.files).map((function(e){return p(e)})))]}}))}))}function x(e){return e.filter((function(e){return-1===h.indexOf(e.name)}))}function A(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function w(e){if("function"!==typeof e.webkitGetAsEntry)return E(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?T(t):E(e)}function _(e){return e.reduce((function(e,t){return c(e,Array.isArray(t)?_(t):[t])}),[])}function E(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=p(t);return Promise.resolve(r)}function k(e){return s(this,void 0,void 0,(function(){return l(this,(function(t){return[2,e.isDirectory?T(e):C(e)]}))}))}function T(e){var t=e.createReader();return new Promise((function(e,r){var n=[];function i(){var o=this;t.readEntries((function(t){return s(o,void 0,void 0,(function(){var o,a,s;return l(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),r(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(k)),n.push(s),i(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}i()}))}function C(e){return s(this,void 0,void 0,(function(){return l(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=p(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var S=r("5f50"),O=r.n(S);function M(e,t){return"application/x-moz-file"===e.type||O()(e,t)}function P(e,t,r){if(B(e.size)){if(B(t)&&B(r))return e.size>=t&&e.size<=r;if(B(t))return e.size>=t;if(B(r))return e.size<=r}return!0}function B(e){return void 0!==e&&null!==e}function L(e){var t=e.files,r=e.accept,n=e.minSize,i=e.maxSize,o=e.multiple;return!(!o&&t.length>1)&&t.every((function(e){return M(e,r)&&P(e,n,i)}))}function D(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function I(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function j(e){e.preventDefault()}function R(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function F(e){return-1!==e.indexOf("Edge/")}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return R(e)||F(e)}function z(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t.some((function(t){return!D(e)&&t&&t.apply(void 0,[e].concat(n)),D(e)}))}}function U(e){return Q(e)||V(e)||H()}function H(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function V(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function Q(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function W(e,t){return G(e)||q(e,t)||K()}function K(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function q(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function G(e){if(Array.isArray(e))return e}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(r,!0).forEach((function(t){X(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t){if(null==e)return{};var r,n,i=J(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function J(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var ee=Object(n["forwardRef"])((function(e,t){var r=e.children,o=Z(e,["children"]),a=re(o),s=a.open,l=Z(a,["open"]);return Object(n["useImperativeHandle"])(t,(function(){return{open:s}}),[s]),i.a.createElement(n["Fragment"],null,r(Y({},l,{open:s})))}));ee.displayName="Dropzone",ee.propTypes={children:a.a.func,accept:a.a.oneOfType([a.a.string,a.a.arrayOf(a.a.string)]),multiple:a.a.bool,preventDropOnDocument:a.a.bool,noClick:a.a.bool,noKeyboard:a.a.bool,noDrag:a.a.bool,noDragEventsBubbling:a.a.bool,minSize:a.a.number,maxSize:a.a.number,disabled:a.a.bool,getFilesFromEvent:a.a.func,onFileDialogCancel:a.a.func,onDragEnter:a.a.func,onDragLeave:a.a.func,onDragOver:a.a.func,onDrop:a.a.func,onDropAccepted:a.a.func,onDropRejected:a.a.func};t["default"]=ee;var te={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,r=e.disabled,i=void 0!==r&&r,o=e.getFilesFromEvent,a=void 0===o?v:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,f=e.multiple,p=void 0===f||f,d=e.onDragEnter,h=e.onDragLeave,m=e.onDragOver,g=e.onDrop,y=e.onDropAccepted,b=e.onDropRejected,x=e.onFileDialogCancel,A=e.preventDropOnDocument,w=void 0===A||A,_=e.noClick,E=void 0!==_&&_,k=e.noKeyboard,T=void 0!==k&&k,C=e.noDrag,S=void 0!==C&&C,O=e.noDragEventsBubbling,B=void 0!==O&&O,R=Object(n["useRef"])(null),F=Object(n["useRef"])(null),H=Object(n["useReducer"])(ne,te),V=W(H,2),Q=V[0],K=V[1],q=Q.isFocused,G=Q.isFileDialogActive,$=Q.draggedFiles,J=Object(n["useCallback"])((function(){F.current&&(K({type:"openDialog"}),F.current.value=null,F.current.click())}),[K]),ee=function(){G&&setTimeout((function(){if(F.current){var e=F.current.files;e.length||(K({type:"closeDialog"}),"function"===typeof x&&x())}}),300)};Object(n["useEffect"])((function(){return window.addEventListener("focus",ee,!1),function(){window.removeEventListener("focus",ee,!1)}}),[F,G,x]);var re=Object(n["useCallback"])((function(e){R.current&&R.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),J()))}),[R,F]),ie=Object(n["useCallback"])((function(){K({type:"focus"})}),[]),oe=Object(n["useCallback"])((function(){K({type:"blur"})}),[]),ae=Object(n["useCallback"])((function(){E||(N()?setTimeout(J,0):J())}),[F,E]),se=Object(n["useRef"])([]),le=function(e){R.current&&R.current.contains(e.target)||(e.preventDefault(),se.current=[])};Object(n["useEffect"])((function(){return w&&(document.addEventListener("dragover",j,!1),document.addEventListener("drop",le,!1)),function(){w&&(document.removeEventListener("dragover",j),document.removeEventListener("drop",le))}}),[R,w]);var ue=Object(n["useCallback"])((function(e){e.preventDefault(),e.persist(),me(e),-1===se.current.indexOf(e.target)&&(se.current=[].concat(U(se.current),[e.target])),I(e)&&Promise.resolve(a(e)).then((function(t){D(e)&&!B||(K({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e))}))}),[a,d,B]),ce=Object(n["useCallback"])((function(e){if(e.preventDefault(),e.persist(),me(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(t){}return I(e)&&m&&m(e),!1}),[m,B]),fe=Object(n["useCallback"])((function(e){e.preventDefault(),e.persist(),me(e);var t=se.current.filter((function(t){return t!==e.target&&R.current&&R.current.contains(t)}));se.current=t,t.length>0||(K({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),I(e)&&h&&h(e))}),[R,h,B]),pe=Object(n["useCallback"])((function(e){e.preventDefault(),e.persist(),me(e),se.current=[],I(e)&&Promise.resolve(a(e)).then((function(r){if(!D(e)||B){var n=[],i=[];r.forEach((function(e){M(e,t)&&P(e,c,l)?n.push(e):i.push(e)})),!p&&n.length>1&&i.push.apply(i,U(n.splice(0))),K({acceptedFiles:n,rejectedFiles:i,type:"setFiles"}),g&&g(n,i,e),i.length>0&&b&&b(i,e),n.length>0&&y&&y(n,e)}})),K({type:"reset"})}),[p,t,c,l,a,g,y,b,B]),de=function(e){return i?null:e},he=function(e){return T?null:de(e)},ve=function(e){return S?null:de(e)},me=function(e){B&&e.stopPropagation()},ge=Object(n["useMemo"])((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,f=e.onDrop,p=Z(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Y(X({onKeyDown:he(z(n,re)),onFocus:he(z(o,ie)),onBlur:he(z(a,oe)),onClick:de(z(s,ae)),onDragEnter:ve(z(l,ue)),onDragOver:ve(z(u,ce)),onDragLeave:ve(z(c,fe)),onDrop:ve(z(f,pe))},r,R),i||T?{}:{tabIndex:0},{},p)}}),[R,re,ie,oe,ae,ue,ce,fe,pe,T,S,i]),ye=Object(n["useCallback"])((function(e){e.stopPropagation()}),[]),be=Object(n["useMemo"])((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,n=void 0===r?"ref":r,i=e.onChange,o=e.onClick,a=Z(e,["refKey","onChange","onClick"]),s=X({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:de(z(i,pe)),onClick:de(z(o,ye)),autoComplete:"off",tabIndex:-1},n,F);return Y({},s,{},a)}}),[F,t,p,pe,i]),xe=$.length,Ae=xe>0&&L({files:$,accept:t,minSize:c,maxSize:l,multiple:p}),we=xe>0&&!Ae;return Y({},Q,{isDragAccept:Ae,isDragReject:we,isFocused:q&&!i,getRootProps:ge,getInputProps:be,rootRef:R,inputRef:F,open:de(J)})}function ne(e,t){switch(t.type){case"focus":return Y({},e,{isFocused:!0});case"blur":return Y({},e,{isFocused:!1});case"openDialog":return Y({},e,{isFileDialogActive:!0});case"closeDialog":return Y({},e,{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return Y({},e,{draggedFiles:n,isDragActive:r});case"setFiles":return Y({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Y({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]});default:return e}}},cb42:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.AnnotationAccordion,{canAdd:!0,canReorder:!0},n.default.createElement(o.PlotlySection,{name:r("Note Text"),attr:"text"},n.default.createElement(o.TextEditor,{attr:"text"}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"font.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Font Color"),attr:"font.color"}),n.default.createElement(o.Numeric,{label:r("Angle"),attr:"textangle",units:"°"}),n.default.createElement(o.Dropdown,{label:r("Horizontal Alignment"),clearable:!1,attr:"align",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]}),n.default.createElement(o.Dropdown,{label:r("Vertical Alignment"),clearable:!1,attr:"valign",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]})),n.default.createElement(o.PlotlySection,{name:r("Arrow")},n.default.createElement(o.Radio,{attr:"showarrow",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.Numeric,{label:r("Line Width"),attr:"arrowwidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"arrowcolor"}),n.default.createElement(o.ArrowSelector,{label:r("Arrowhead"),attr:"arrowhead"}),n.default.createElement(o.Numeric,{label:r("Scale"),step:.1,attr:"arrowsize",units:"px"}),n.default.createElement(o.AnnotationArrowRef,{label:r("X Offset"),attr:"axref"}),n.default.createElement(o.AnnotationArrowRef,{label:r("Y Offset"),attr:"ayref"}),n.default.createElement(o.NumericOrDate,{label:r("X Vector"),attr:"ax"}),n.default.createElement(o.NumericOrDate,{label:r("Y Vector"),attr:"ay"})),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"xanchor",options:[{label:r("Auto"),value:"auto"},{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]}),n.default.createElement(o.PositioningNumeric,{label:r("Position"),attr:"x"}),n.default.createElement(o.AnnotationRef,{label:r("Relative To"),attr:"xref"})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"yanchor",options:[{label:r("Auto"),value:"auto"},{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]}),n.default.createElement(o.PositioningNumeric,{label:r("Position"),attr:"y"}),n.default.createElement(o.AnnotationRef,{label:r("Relative To"),attr:"yref"})))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},cb49:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("4031"),o=r("0895"),a=r("22af"),s=r("24f7"),l=r("ab5b"),u=r("6152"),c=(s.List,function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.render=function(){var e=this.props,t=e.block,r=e.contentState,n=e.customStyleFn,s=e.customStyleMap,c=e.decorator,f=e.direction,p=e.forceSelection,d=e.hasSelection,h=e.selection,v=e.tree,m=t.getKey(),g=t.getText(),y=v.size-1,b=this.props.children||v.map((function(e,u){var v=e.get("decoratorKey"),b=e.get("leaves"),x=b.size-1,A=b.map((function(e,r){var i=a.encode(m,u,r),c=e.get("start"),f=e.get("end");return l.createElement(o,{key:i,offsetKey:i,block:t,start:c,selection:d?h:null,forceSelection:p,text:g.slice(c,f),styleSet:t.getInlineStyleAt(c),customStyleMap:s,customStyleFn:n,isLast:v===y&&r===x})})).toArray();return v&&c?l.createElement(i,{block:t,children:A,contentState:r,decorator:c,decoratorKey:v,direction:f,leafSet:e,text:g,key:u}):A})).toArray();return l.createElement("div",{"data-offset-key":a.encode(m,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},t}(l.Component));e.exports=c},cb52:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M5.087 16.308L9.516 18.5l5.152-3.607 6.206 2.569 9.384-4.962 10.046 12.725",strokeMiterlimit:"10",strokeWidth:"2.348"}),o.default.createElement("path",{fill:"#1d9bfb",d:"M5 33h15v6H5zm26 0h10v6H31z"}),o.default.createElement("path",{fill:"#25fdfc",d:"M20 33h11v6H20z"}),o.default.createElement("path",{fill:"none",stroke:"#25fdfc",d:"M5 23l5 3 4-4 9 3 18-12",strokeMiterlimit:"10",strokeWidth:"2.348"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M23 42h-3V30h3m5 12h3V30h-3",strokeMiterlimit:"10",strokeWidth:"2.348"}))};t.default=u},cb5a:function(e,t,r){var n=r("9638");function i(e,t){var r=e.length;while(r--)if(n(e[r][0],t))return r;return-1}e.exports=i},cb65:function(e,t,r){"use strict";r.r(t),r.d(t,"SelectBase",(function(){return Gt})),r.d(t,"Async",(function(){return er})),r.d(t,"makeAsyncSelect",(function(){return Zt})),r.d(t,"AsyncCreatable",(function(){return ur})),r.d(t,"Creatable",(function(){return ar})),r.d(t,"makeCreatableSelect",(function(){return ir})),r.d(t,"createFilter",(function(){return xe})),r.d(t,"makeAnimated",(function(){return xr})),r.d(t,"components",(function(){return It})),r.d(t,"mergeStyles",(function(){return Ft})),r.d(t,"defaultTheme",(function(){return Wt}));var n=r("ab5b"),i=r.n(n);function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function a(e,t){var r;void 0===t&&(t=o);var n,i=[],a=!1;function s(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&r===this&&t(o,i)||(n=e.apply(this,o),a=!0,r=this,i=o),n}return s}var s=a,l=r("3c07"),u=r("8bc8"),c=r("d7bc"),f=r.n(c),p=r("c449"),d=r.n(p),h=r("1540"),v=r.n(h),m=r("d70d");function g(e){return g="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},g(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){A(e,t,r[t])}))}return e}function E(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&&T(e,t)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function C(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function S(e,t){if(null==e)return{};var r,n,i=C(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?O(e):t}function P(e){return B(e)||L(e)||D()}function B(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function L(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function D(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var I=function(){};function j(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function R(e,t,r,n){var i=[t,n];if(r&&e)for(var o in r)r.hasOwnProperty(o)&&r[o]&&i.push("".concat(j(e,o)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var F=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===g(e)&&null!==e?[e]:[]};function N(e,t,r){if(r){var n=r(e,t);if("string"===typeof n)return n}return e}function z(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function U(e){return z(e)?window.pageYOffset:e.scrollTop}function H(e,t){z(e)?window.scrollTo(0,t):e.scrollTop=t}function V(e){var t=getComputedStyle(e),r="absolute"===t.position,n=/(auto|scroll)/,i=document.documentElement;if("fixed"===t.position)return i;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!r||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return o;return i}function Q(e,t,r,n){return r*((e=e/n-1)*e*e+1)+t}function W(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I,i=U(e),o=t-i,a=10,s=0;function l(){s+=a;var t=Q(s,i,o,r);H(e,t),s<r?d()(l):n(e)}l()}function K(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),i=t.offsetHeight/3;n.bottom+i>r.bottom?H(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):n.top-i<r.top&&H(e,Math.max(t.offsetTop-i,0))}function q(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function G(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function $(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}function Y(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.theme,l=s.spacing,u=V(r),c={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return c;var f=u.getBoundingClientRect(),p=f.height,d=r.getBoundingClientRect(),h=d.bottom,v=d.height,m=d.top,g=r.offsetParent.getBoundingClientRect(),y=g.top,b=window.innerHeight,x=U(u),A=parseInt(getComputedStyle(r).marginBottom,10),w=parseInt(getComputedStyle(r).marginTop,10),_=y-w,E=b-m,k=_+x,T=p-x-m,C=h-b+x+A,S=x+m-w,O=160;switch(i){case"auto":case"bottom":if(E>=v)return{placement:"bottom",maxHeight:t};if(T>=v&&!a)return o&&W(u,C,O),{placement:"bottom",maxHeight:t};if(!a&&T>=n||a&&E>=n){o&&W(u,C,O);var M=a?E-A:T-A;return{placement:"bottom",maxHeight:M}}if("auto"===i||a){var P=t,B=a?_:k;return B>=n&&(P=Math.min(B-A-l.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return H(u,C),{placement:"bottom",maxHeight:t};break;case"top":if(_>=v)return{placement:"top",maxHeight:t};if(k>=v&&!a)return o&&W(u,S,O),{placement:"top",maxHeight:t};if(!a&&k>=n||a&&_>=n){var L=t;return(!a&&k>=n||a&&_>=n)&&(L=a?_-w:k-w),o&&W(u,S,O),{placement:"top",maxHeight:L}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function X(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Z=function(e){return"auto"===e?"bottom":e},J=function(e){var t,r=e.placement,n=e.theme,i=n.borderRadius,o=n.spacing,a=n.colors;return t={label:"menu"},A(t,X(r),"100%"),A(t,"backgroundColor",a.neutral0),A(t,"borderRadius",i),A(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),A(t,"marginBottom",o.menuGutter),A(t,"marginTop",o.menuGutter),A(t,"position","absolute"),A(t,"width","100%"),A(t,"zIndex",1),t},ee=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"state",{maxHeight:r.props.maxMenuHeight,placement:null}),A(O(O(r)),"getPlacement",(function(e){var t=r.props,n=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=r.context.getPortalPlacement;if(e){var c="fixed"===a,f=s&&!c,p=Y({maxHeight:i,menuEl:e,minHeight:n,placement:o,shouldScroll:f,isFixedPosition:c,theme:l});u&&u(p),r.setState(p)}})),A(O(O(r)),"getUpdatedProps",(function(){var e=r.props.menuPlacement,t=r.state.placement||Z(e);return _({},r.props,{placement:t,maxHeight:r.state.maxHeight})})),r}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props.children;return e({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(n["Component"]);A(ee,"contextTypes",{getPortalPlacement:f.a.func});var te=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerRef,s=e.innerProps,u=n(Object(l["a"])(o("menu",e)),{menu:!0},r);return i.a.createElement("div",w({className:u},s,{ref:a}),t)},re=function(e){var t=e.maxHeight,r=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},ne=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.isMulti,s=e.innerRef;return i.a.createElement("div",{className:n(Object(l["a"])(o("menuList",e)),{"menu-list":!0,"menu-list--is-multi":a},r),ref:s},t)},ie=function(e){var t=e.theme,r=t.spacing.baseUnit,n=t.colors;return{color:n.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px"),textAlign:"center"}},oe=ie,ae=ie,se=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",w({className:n(Object(l["a"])(o("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},r)},a),t)};se.defaultProps={children:"No options"};var le=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",w({className:n(Object(l["a"])(o("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},r)},a),t)};le.defaultProps={children:"Loading..."};var ue=function(e){var t=e.rect,r=e.offset,n=e.position;return{left:t.left,position:n,top:r,width:t.width,zIndex:1}},ce=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"state",{placement:null}),A(O(O(r)),"getPortalPlacement",(function(e){var t=e.placement,n=Z(r.props.menuPlacement);t!==n&&r.setState({placement:t})})),r}return E(t,e),x(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,r=e.children,n=e.controlElement,o=e.menuPlacement,a=e.menuPosition,s=e.getStyles,c="fixed"===a;if(!t&&!c||!n)return null;var f=this.state.placement||Z(o),p=q(n),d=c?0:window.pageYOffset,h=p[f]+d,v={offset:h,position:a,rect:p},m=i.a.createElement("div",{className:Object(l["a"])(s("menuPortal",v))},r);return t?Object(u["createPortal"])(m,t):m}}]),t}(n["Component"]);A(ce,"childContextTypes",{getPortalPlacement:f.a.func});var fe=Array.isArray,pe=Object.keys,de=Object.prototype.hasOwnProperty;function he(e,t){if(e===t)return!0;if(e&&t&&"object"==g(e)&&"object"==g(t)){var r,n,i,o=fe(e),a=fe(t);if(o&&a){if(n=e.length,n!=t.length)return!1;for(r=n;0!==r--;)if(!he(e[r],t[r]))return!1;return!0}if(o!=a)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,c=t instanceof RegExp;if(u!=c)return!1;if(u&&c)return e.toString()==t.toString();var f=pe(e);if(n=f.length,n!==pe(t).length)return!1;for(r=n;0!==r--;)if(!de.call(t,f[r]))return!1;for(r=n;0!==r--;)if(i=f[r],("_owner"!==i||!e.$$typeof)&&!he(e[i],t[i]))return!1;return!0}return e!==e&&t!==t}function ve(e,t){try{return he(e,t)}catch(r){if(r.message&&r.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}}var me=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],ge=function(e){for(var t=0;t<me.length;t++)e=e.replace(me[t].letters,me[t].base);return e},ye=function(e){return e.replace(/^\s+|\s+$/g,"")},be=function(e){return"".concat(e.label," ").concat(e.value)},xe=function(e){return function(t,r){var n=_({ignoreCase:!0,ignoreAccents:!0,stringify:be,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,u=s?ye(r):r,c=s?ye(a(t)):a(t);return i&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=ge(u),c=ge(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-1}},Ae=function(e){return i.a.createElement("span",w({className:Object(l["a"])({label:"a11yText",zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))},we=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),r=(e.emotion,S(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return i.a.createElement("input",w({ref:t},r,{className:Object(l["a"])({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),t}(n["Component"]),_e=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(u["findDOMNode"])(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(n["Component"]),Ee=["boxSizing","height","overflow","paddingRight","position"],ke={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Te(e){e.preventDefault()}function Ce(e){e.stopPropagation()}function Se(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;0===e?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Oe(){return"ontouchstart"in window||navigator.maxTouchPoints}var Me=!("undefined"===typeof window||!window.document||!window.document.createElement),Pe=0,Be=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"originalStyles",{}),A(O(O(r)),"listenerOptions",{capture:!1,passive:!1}),r}return E(t,e),x(t,[{key:"componentDidMount",value:function(){var e=this;if(Me){var t=this.props,r=t.accountForScrollbars,n=t.touchScrollTarget,i=document.body,o=i&&i.style;if(r&&Ee.forEach((function(t){var r=o&&o[t];e.originalStyles[t]=r})),r&&Pe<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+a||0;Object.keys(ke).forEach((function(e){var t=ke[e];o&&(o[e]=t)})),o&&(o.paddingRight="".concat(l,"px"))}i&&Oe()&&(i.addEventListener("touchmove",Te,this.listenerOptions),n&&(n.addEventListener("touchstart",Se,this.listenerOptions),n.addEventListener("touchmove",Ce,this.listenerOptions))),Pe+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Me){var t=this.props,r=t.accountForScrollbars,n=t.touchScrollTarget,i=document.body,o=i&&i.style;Pe=Math.max(Pe-1,0),r&&Pe<1&&Ee.forEach((function(t){var r=e.originalStyles[t];o&&(o[t]=r)})),i&&Oe()&&(i.removeEventListener("touchmove",Te,this.listenerOptions),n&&(n.removeEventListener("touchstart",Se,this.listenerOptions),n.removeEventListener("touchmove",Ce,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(n["Component"]);A(Be,"defaultProps",{accountForScrollbars:!0});var Le=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"state",{touchScrollTarget:null}),A(O(O(r)),"getScrollTarget",(function(e){e!==r.state.touchScrollTarget&&r.setState({touchScrollTarget:e})})),A(O(O(r)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),r}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.isEnabled,n=this.state.touchScrollTarget;return r?i.a.createElement("div",null,i.a.createElement("div",{onClick:this.blurSelectInput,className:Object(l["a"])({position:"fixed",left:0,bottom:0,right:0,top:0})}),i.a.createElement(_e,{innerRef:this.getScrollTarget},t),n?i.a.createElement(Be,{touchScrollTarget:n}):null):t}}]),t}(n["PureComponent"]),De=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"isBottom",!1),A(O(O(r)),"isTop",!1),A(O(O(r)),"scrollTarget",void 0),A(O(O(r)),"touchStart",void 0),A(O(O(r)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),A(O(O(r)),"handleEventDelta",(function(e,t){var n=r.props,i=n.onBottomArrive,o=n.onBottomLeave,a=n.onTopArrive,s=n.onTopLeave,l=r.scrollTarget,u=l.scrollTop,c=l.scrollHeight,f=l.clientHeight,p=r.scrollTarget,d=t>0,h=c-f-u,v=!1;h>t&&r.isBottom&&(o&&o(e),r.isBottom=!1),d&&r.isTop&&(s&&s(e),r.isTop=!1),d&&t>h?(i&&!r.isBottom&&i(e),p.scrollTop=c,v=!0,r.isBottom=!0):!d&&-t>u&&(a&&!r.isTop&&a(e),p.scrollTop=0,v=!0,r.isTop=!0),v&&r.cancelScroll(e)})),A(O(O(r)),"onWheel",(function(e){r.handleEventDelta(e,e.deltaY)})),A(O(O(r)),"onTouchStart",(function(e){r.touchStart=e.changedTouches[0].clientY})),A(O(O(r)),"onTouchMove",(function(e){var t=r.touchStart-e.changedTouches[0].clientY;r.handleEventDelta(e,t)})),A(O(O(r)),"getScrollTarget",(function(e){r.scrollTarget=e})),r}return E(t,e),x(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"===typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"===typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return i.a.createElement(_e,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(n["Component"]),Ie=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,r=S(e,["isEnabled"]);return t?i.a.createElement(De,r):this.props.children}}]),t}(n["Component"]);A(Ie,"defaultProps",{isEnabled:!0});var je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isSearchable,n=t.isMulti,i=t.label,o=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(i||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Re=function(e,t){var r=t.value,n=t.isDisabled;if(r)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return"option ".concat(r,n?" is disabled. Select another option.":", selected.")}},Fe=function(e){var t=e.focusedValue,r=e.getOptionLabel,n=e.selectValue;return"value ".concat(r(t)," focused, ").concat(n.indexOf(t)+1," of ").concat(n.length,".")},Ne=function(e){var t=e.focusedOption,r=e.getOptionLabel,n=e.options;return"option ".concat(r(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(n.indexOf(t)+1," of ").concat(n.length,".")},ze=function(e){var t=e.inputValue,r=e.screenReaderMessage;return"".concat(r).concat(t?" for search term "+t:"",".")},Ue=function(e){return e.label},He=function(e){return e.label},Ve=function(e){return e.value},Qe=function(e){return!!e.isDisabled},We=function(e){var t=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},Ke=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps,s=e.isDisabled,u=e.isRtl;return i.a.createElement("div",w({className:n(Object(l["a"])(o("container",e)),{"--is-disabled":s,"--is-rtl":u},r)},a),t)},qe=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ge=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.cx,o=e.isMulti,a=e.getStyles,s=e.hasValue;return i.a.createElement("div",{className:n(Object(l["a"])(a("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":s},r)},t)}}]),t}(n["Component"]),$e=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Ye=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles;return i.a.createElement("div",{className:n(Object(l["a"])(o("indicatorsContainer",e)),{indicators:!0},r)},t)},Xe=function(e){var t=e.size,r=S(e,["size"]);return i.a.createElement("svg",w({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Object(l["a"])({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},r))},Ze=function(e){return i.a.createElement(Xe,w({size:20},e),i.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Je=function(e){return i.a.createElement(Xe,w({size:20},e),i.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},et=function(e){var t=e.isFocused,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*n,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},tt=et,rt=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",w({},a,{className:n(Object(l["a"])(o("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},r)}),t||i.a.createElement(Je,null))},nt=et,it=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",w({},a,{className:n(Object(l["a"])(o("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},r)}),t||i.a.createElement(Ze,null))},ot=function(e){var t=e.isDisabled,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*n,marginTop:2*n,width:1}},at=function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.innerProps;return i.a.createElement("span",w({},o,{className:r(Object(l["a"])(n("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},st="react-select-loading-indicator",lt=!1,ut=function(e){var t=e.isFocused,r=e.size,n=e.theme,i=n.colors,o=n.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},ct=function(e){var t=e.color,r=e.delay,n=e.offset;return i.a.createElement("span",{className:Object(l["a"])({animationDuration:"1s",animationDelay:"".concat(r,"ms"),animationIterationCount:"infinite",animationName:st,animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},ft=function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.innerProps,a=e.isFocused,s=e.isRtl,u=e.theme.colors,c=a?u.neutral80:u.neutral20;return lt||(Object(l["b"])("@keyframes ",st,"{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),lt=!0),i.a.createElement("div",w({},o,{className:r(Object(l["a"])(n("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),i.a.createElement(ct,{color:c,delay:0,offset:s}),i.a.createElement(ct,{color:c,delay:160,offset:!0}),i.a.createElement(ct,{color:c,delay:320,offset:!s}))};ft.defaultProps={size:4};var pt=function(e){var t=e.isDisabled,r=e.isFocused,n=e.theme,i=n.colors,o=n.borderRadius,a=n.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:r?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?i.primary:i.neutral30}}},dt=function(e){var t=e.children,r=e.cx,n=e.getStyles,o=e.className,a=e.isDisabled,s=e.isFocused,u=e.innerRef,c=e.innerProps,f=e.menuIsOpen;return i.a.createElement("div",w({ref:u,className:r(Object(l["a"])(n("control",e)),{control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":f},o)},c),t)},ht=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},vt=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.Heading,s=e.headingProps,u=e.label,c=e.theme,f=e.selectProps;return i.a.createElement("div",{className:n(Object(l["a"])(o("group",e)),{group:!0},r)},i.a.createElement(a,w({},s,{selectProps:f,theme:c,getStyles:o,cx:n}),u),i.a.createElement("div",null,t))},mt=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},gt=function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.theme,a=(e.selectProps,S(e,["className","cx","getStyles","theme","selectProps"]));return i.a.createElement("div",w({className:r(Object(l["a"])(n("groupHeading",_({theme:o},a))),{"group-heading":!0},t)},a))},yt=function(e){var t=e.isDisabled,r=e.theme,n=r.spacing,i=r.colors;return{margin:n.baseUnit/2,paddingBottom:n.baseUnit/2,paddingTop:n.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80}},bt=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},xt=function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.innerRef,a=e.isHidden,s=e.isDisabled,u=e.theme,c=(e.selectProps,S(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return i.a.createElement("div",{className:Object(l["a"])(n("input",_({theme:u},c)))},i.a.createElement(v.a,w({className:r(null,{input:!0},t),inputRef:o,inputStyle:bt(a),disabled:s},c)))},At=function(e){var t=e.theme,r=t.spacing,n=t.borderRadius,i=t.colors;return{label:"multiValue",backgroundColor:i.neutral10,borderRadius:n/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},wt=function(e){var t=e.theme,r=t.borderRadius,n=t.colors,i=e.cropWithEllipsis;return{borderRadius:r/2,color:n.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},_t=function(e){var t=e.theme,r=t.spacing,n=t.borderRadius,i=t.colors,o=e.isFocused;return{alignItems:"center",borderRadius:n/2,backgroundColor:o&&i.dangerLight,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},Et=function(e){var t=e.children,r=e.innerProps;return i.a.createElement("div",r,t)},kt=Et,Tt=Et,Ct=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.innerProps;return i.a.createElement("div",r,t||i.a.createElement(Ze,{size:14}))}}]),t}(n["Component"]),St=function(e){function t(){return y(this,t),M(this,k(t).apply(this,arguments))}return E(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.components,o=e.cx,a=e.data,s=e.getStyles,u=e.innerProps,c=e.isDisabled,f=e.removeProps,p=e.selectProps,d=n.Container,h=n.Label,v=n.Remove,m=_({className:o(Object(l["a"])(s("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":c},r)},u),g={className:o(Object(l["a"])(s("multiValueLabel",this.props)),{"multi-value__label":!0},r)},y=_({className:o(Object(l["a"])(s("multiValueRemove",this.props)),{"multi-value__remove":!0},r)},f);return i.a.createElement(d,{data:a,innerProps:m,selectProps:p},i.a.createElement(h,{data:a,innerProps:g,selectProps:p},t),i.a.createElement(v,{data:a,innerProps:y,selectProps:p}))}}]),t}(n["Component"]);A(St,"defaultProps",{cropWithEllipsis:!0});var Ot=function(e){var t=e.isDisabled,r=e.isFocused,n=e.isSelected,i=e.theme,o=i.spacing,a=i.colors;return{label:"option",backgroundColor:n?a.primary:r?a.primary25:"transparent",color:t?a.neutral20:n?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(n?a.primary:a.primary50)}}},Mt=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.isDisabled,s=e.isFocused,u=e.isSelected,c=e.innerRef,f=e.innerProps;return i.a.createElement("div",w({ref:c,className:n(Object(l["a"])(o("option",e)),{option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":u},r)},f),t)},Pt=function(e){var t=e.theme,r=t.spacing,n=t.colors;return{label:"placeholder",color:n.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},Bt=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",w({className:n(Object(l["a"])(o("placeholder",e)),{placeholder:!0},r)},a),t)},Lt=function(e){var t=e.isDisabled,r=e.theme,n=r.spacing,i=r.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,maxWidth:"calc(100% - ".concat(2*n.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},Dt=function(e){var t=e.children,r=e.className,n=e.cx,o=e.getStyles,a=e.isDisabled,s=e.innerProps;return i.a.createElement("div",w({className:n(Object(l["a"])(o("singleValue",e)),{"single-value":!0,"single-value--is-disabled":a},r)},s),t)},It={ClearIndicator:it,Control:dt,DropdownIndicator:rt,DownChevron:Je,CrossIcon:Ze,Group:vt,GroupHeading:gt,IndicatorsContainer:Ye,IndicatorSeparator:at,Input:xt,LoadingIndicator:ft,Menu:te,MenuList:ne,MenuPortal:ce,LoadingMessage:le,NoOptionsMessage:se,MultiValue:St,MultiValueContainer:kt,MultiValueLabel:Tt,MultiValueRemove:Ct,Option:Mt,Placeholder:Bt,SelectContainer:Ke,SingleValue:Dt,ValueContainer:Ge},jt=function(e){return _({},It,e.components)},Rt={clearIndicator:nt,container:We,control:pt,dropdownIndicator:tt,group:ht,groupHeading:mt,indicatorsContainer:$e,indicatorSeparator:ot,input:yt,loadingIndicator:ut,loadingMessage:ae,menu:J,menuList:re,menuPortal:ue,multiValue:At,multiValueLabel:wt,multiValueRemove:_t,noOptionsMessage:oe,option:Ot,placeholder:Pt,singleValue:Lt,valueContainer:qe};function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=_({},e);return Object.keys(t).forEach((function(n){e[n]?r[n]=function(r,i){return t[n](e[n](r,i),i)}:r[n]=t[n]})),r}var Nt={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},zt=4,Ut=4,Ht=38,Vt=2*Ut,Qt={baseUnit:Ut,controlHeight:Ht,menuGutter:Vt},Wt={borderRadius:zt,colors:Nt,spacing:Qt},Kt={backspaceRemovesValue:!0,blurInputOnSelect:G(),captureMenuScroll:!G(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xe(),formatGroupLabel:Ue,getOptionLabel:He,getOptionValue:Ve,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Qe,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!$(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},qt=1,Gt=function(e){function t(e){var r;y(this,t),r=M(this,k(t).call(this,e)),A(O(O(r)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),A(O(O(r)),"blockOptionHover",!1),A(O(O(r)),"isComposing",!1),A(O(O(r)),"clearFocusValueOnUpdate",!1),A(O(O(r)),"commonProps",void 0),A(O(O(r)),"components",void 0),A(O(O(r)),"hasGroups",!1),A(O(O(r)),"initialTouchX",0),A(O(O(r)),"initialTouchY",0),A(O(O(r)),"inputIsHiddenAfterUpdate",void 0),A(O(O(r)),"instancePrefix",""),A(O(O(r)),"openAfterFocus",!1),A(O(O(r)),"scrollToFocusedOptionOnUpdate",!1),A(O(O(r)),"userIsDragging",void 0),A(O(O(r)),"controlRef",null),A(O(O(r)),"getControlRef",(function(e){r.controlRef=e})),A(O(O(r)),"focusedOptionRef",null),A(O(O(r)),"getFocusedOptionRef",(function(e){r.focusedOptionRef=e})),A(O(O(r)),"menuListRef",null),A(O(O(r)),"getMenuListRef",(function(e){r.menuListRef=e})),A(O(O(r)),"inputRef",null),A(O(O(r)),"getInputRef",(function(e){r.inputRef=e})),A(O(O(r)),"cacheComponents",(function(e){r.components=jt({components:e})})),A(O(O(r)),"focus",r.focusInput),A(O(O(r)),"blur",r.blurInput),A(O(O(r)),"onChange",(function(e,t){var n=r.props,i=n.onChange,o=n.name;i(e,_({},t,{name:o}))})),A(O(O(r)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,i=r.props,o=i.closeMenuOnSelect,a=i.isMulti;r.onInputChange("",{action:"set-value"}),o&&(r.inputIsHiddenAfterUpdate=!a,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(e,{action:t,option:n})})),A(O(O(r)),"selectOption",(function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=r.state.selectValue;if(i)if(r.isOptionSelected(e,o)){var a=r.getOptionValue(e);r.setValue(o.filter((function(e){return r.getOptionValue(e)!==a})),"deselect-option",e),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(e)}})}else r.isOptionDisabled(e,o)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue([].concat(P(o),[e]),"select-option",e),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));else r.isOptionDisabled(e,o)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue(e,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));n&&r.blurInput()})),A(O(O(r)),"removeValue",(function(e){var t=r.state.selectValue,n=r.getOptionValue(e);r.onChange(t.filter((function(e){return r.getOptionValue(e)!==n})),{action:"remove-value",removedValue:e}),r.announceAriaLiveSelection({event:"remove-value",context:{value:e?r.getOptionLabel(e):""}}),r.focusInput()})),A(O(O(r)),"clearValue",(function(){var e=r.props.isMulti;r.onChange(e?[]:null,{action:"clear"})})),A(O(O(r)),"popValue",(function(){var e=r.state.selectValue,t=e[e.length-1];r.announceAriaLiveSelection({event:"pop-value",context:{value:t?r.getOptionLabel(t):""}}),r.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),A(O(O(r)),"getOptionLabel",(function(e){return r.props.getOptionLabel(e)})),A(O(O(r)),"getOptionValue",(function(e){return r.props.getOptionValue(e)})),A(O(O(r)),"getStyles",(function(e,t){var n=Rt[e](t);n.boxSizing="border-box";var i=r.props.styles[e];return i?i(n,t):n})),A(O(O(r)),"getElementId",(function(e){return"".concat(r.instancePrefix,"-").concat(e)})),A(O(O(r)),"getActiveDescendentId",(function(){var e=r.props.menuIsOpen,t=r.state,n=t.menuOptions,i=t.focusedOption;if(i&&e){var o=n.focusable.indexOf(i),a=n.render[o];return a&&a.key}})),A(O(O(r)),"announceAriaLiveSelection",(function(e){var t=e.event,n=e.context;r.setState({ariaLiveSelection:Re(t,n)})})),A(O(O(r)),"announceAriaLiveContext",(function(e){var t=e.event,n=e.context;r.setState({ariaLiveContext:je(t,_({},n,{label:r.props["aria-label"]}))})})),A(O(O(r)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())})),A(O(O(r)),"onMenuMouseMove",(function(e){r.blockOptionHover=!1})),A(O(O(r)),"onControlMouseDown",(function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),A(O(O(r)),"onDropdownIndicatorMouseDown",(function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.inputIsHiddenAfterUpdate=!n,r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),A(O(O(r)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.stopPropagation(),r.openAfterFocus=!1,setTimeout((function(){return r.focusInput()})))})),A(O(O(r)),"onScroll",(function(e){"boolean"===typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&z(e.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()})),A(O(O(r)),"onCompositionStart",(function(){r.isComposing=!0})),A(O(O(r)),"onCompositionEnd",(function(){r.isComposing=!1})),A(O(O(r)),"onTouchStart",(function(e){var t=e.touches,n=t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)})),A(O(O(r)),"onTouchMove",(function(e){var t=e.touches,n=t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY),a=5;r.userIsDragging=i>a||o>a}})),A(O(O(r)),"onTouchEnd",(function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)})),A(O(O(r)),"onControlTouchEnd",(function(e){r.userIsDragging||r.onControlMouseDown(e)})),A(O(O(r)),"onClearIndicatorTouchEnd",(function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)})),A(O(O(r)),"onDropdownIndicatorTouchEnd",(function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)})),A(O(O(r)),"handleInputChange",(function(e){var t=e.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(t,{action:"input-change"}),r.onMenuOpen()})),A(O(O(r)),"onInputFocus",(function(e){var t=r.props,n=t.isSearchable,i=t.isMulti;r.props.onFocus&&r.props.onFocus(e),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:i}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1})),A(O(O(r)),"onInputBlur",(function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))})),A(O(O(r)),"onOptionHover",(function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})})),A(O(O(r)),"shouldHideSelectedOptions",(function(){var e=r.props,t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t})),A(O(O(r)),"onKeyDown",(function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,h=d.focusedOption,v=d.focusedValue,m=d.selectValue;if(!l&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(v)r.removeValue(v);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!h||p&&r.isOptionSelected(h,m))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}}));var n=e.value;r.cacheComponents=s(r.cacheComponents,ve).bind(O(O(r))),r.cacheComponents(e.components),r.instancePrefix="react-select-"+(r.props.instanceId||++qt);var i=F(n),o=r.buildMenuOptions(e,i);return r.state.menuOptions=o,r.state.selectValue=i,r}return E(t,e),x(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,r=t.options,n=t.value,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==n||e.options!==r||e.inputValue!==i){var o=F(e.value),a=this.buildMenuOptions(e,o),s=this.getNextFocusedValue(o),l=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:o,focusedOption:l,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isDisabled,n=t.menuIsOpen,i=this.state.isFocused;(i&&!r&&e.isDisabled||i&&n&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&K(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,r=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:r}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,r=t.menuOptions,n=t.selectValue,i=t.isFocused,o=this.props.isMulti,a="first"===e?0:r.focusable.length-1;if(!o){var s=r.focusable.indexOf(n[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:r.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,r=t.isMulti,n=t.isSearchable,i=this.state,o=i.selectValue,a=i.focusedValue;if(r){this.setState({focusedOption:null});var s=o.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=o.length-1,u=-1;if(o.length){switch(e){case"previous":u=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(u=s+1);break}-1===u&&this.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:r}}),this.setState({inputIsHidden:-1!==u,focusedValue:o[u]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,r=this.state,n=r.focusedOption,i=r.menuOptions,o=i.focusable;if(o.length){var a=0,s=o.indexOf(n);n||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?a=s>0?s-1:o.length-1:"down"===e?a=(s+1)%o.length:"pageup"===e?(a=s-t,a<0&&(a=0)):"pagedown"===e?(a=s+t,a>o.length-1&&(a=o.length-1)):"last"===e&&(a=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Qe(o[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(Wt):_({},Wt,this.props.theme):Wt}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,r=this.setValue,n=this.selectOption,i=this.props,o=i.classNamePrefix,a=i.isMulti,s=i.isRtl,l=i.options,u=this.state.selectValue,c=this.hasValue(),f=function(){return u},p=R.bind(null,o);return{cx:p,clearValue:e,getStyles:t,getValue:f,hasValue:c,isMulti:a,isRtl:s,options:l,selectOption:n,setValue:r,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,r=t.focusedValue,n=t.selectValue,i=n.indexOf(r);if(i>-1){var o=e.indexOf(r);if(o>-1)return r;if(i<e.length)return e[i]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){var e=this.state.selectValue;return e.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,r=e.isMulti;return void 0===t?r:t}},{key:"isOptionDisabled",value:function(e,t){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var r=this;if(t.indexOf(e)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var n=this.getOptionValue(e);return t.some((function(e){return r.getOptionValue(e)===n}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var r=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:r,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var r=this,n=e.inputValue,i=void 0===n?"":n,o=e.options,a=function(e,n){var o=r.isOptionDisabled(e,t),a=r.isOptionSelected(e,t),s=r.getOptionLabel(e),l=r.getOptionValue(e);if(!(r.shouldHideSelectedOptions()&&a||!r.filterOption({label:s,value:l,data:e},i))){var u=o?void 0:function(){return r.onOptionHover(e)},c=o?void 0:function(){return r.selectOption(e)},f="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:f,onClick:c,onMouseMove:u,onMouseOver:u,tabIndex:-1},data:e,isDisabled:o,isSelected:a,key:f,label:s,type:"option",value:l}}};return o.reduce((function(e,t,n){if(t.options){r.hasGroups||(r.hasGroups=!0);var i=t.options,o=i.map((function(t,r){var i=a(t,"".concat(n,"-").concat(r));return i&&e.focusable.push(t),i})).filter(Boolean);if(o.length){var s="".concat(r.getElementId("group"),"-").concat(n);e.render.push({type:"group",key:s,data:t,options:o})}}else{var l=a(t,"".concat(n));l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,r=e.selectValue,n=e.focusedValue,i=e.focusedOption,o=this.props,a=o.options,s=o.menuIsOpen,l=o.inputValue,u=o.screenReaderStatus,c=n?Fe({focusedValue:n,getOptionLabel:this.getOptionLabel,selectValue:r}):"",f=i&&s?Ne({focusedOption:i,getOptionLabel:this.getOptionLabel,options:a}):"",p=ze({inputValue:l,screenReaderMessage:u({count:this.countOptions()})});return"".concat(c," ").concat(f," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,r=e.isSearchable,n=e.inputId,o=e.inputValue,a=e.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,u=n||this.getElementId("input");if(!r)return i.a.createElement(we,{id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:I,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},f=this.commonProps,p=f.cx,d=f.theme,h=f.selectProps;return i.a.createElement(s,w({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:u,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,theme:d,type:"text",value:o},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,r=t.MultiValue,n=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,c=this.props,f=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,h=c.inputValue,v=c.placeholder,m=this.state,g=m.selectValue,y=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!f)return h?null:i.a.createElement(l,w({},u,{key:"placeholder",isDisabled:p,isFocused:b}),v);if(d){var x=g.map((function(t){var s=t===y;return i.a.createElement(r,w({},u,{components:{Container:n,Label:o,Remove:a},isFocused:s,isDisabled:p,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));return x}if(h)return null;var A=g[0];return i.a.createElement(s,w({},u,{data:A,isDisabled:p}),this.formatOptionLabel(A,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,o=r.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(e,w({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,o=r.isLoading,a=this.state.isFocused;if(!e||!o)return null;var s={"aria-hidden":"true"};return i.a.createElement(e,w({},t,{innerProps:s,isDisabled:n,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,r=e.IndicatorSeparator;if(!t||!r)return null;var n=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.a.createElement(r,w({},n,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,r=this.props.isDisabled,n=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(e,w({},t,{innerProps:o,isDisabled:r,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,r=t.Group,n=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,f=this.commonProps,p=this.state,d=p.focusedOption,h=p.menuOptions,v=this.props,m=v.captureMenuScroll,g=v.inputValue,y=v.isLoading,b=v.loadingMessage,x=v.minMenuHeight,A=v.maxMenuHeight,_=v.menuIsOpen,E=v.menuPlacement,k=v.menuPosition,T=v.menuPortalTarget,C=v.menuShouldBlockScroll,O=v.menuShouldScrollIntoView,M=v.noOptionsMessage,P=v.onMenuScrollToTop,B=v.onMenuScrollToBottom;if(!_)return null;var L,D=function(t){var r=d===t.data;return t.innerRef=r?e.getFocusedOptionRef:void 0,i.a.createElement(c,w({},f,t,{isFocused:r}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=h.render.map((function(t){if("group"===t.type){t.type;var o=S(t,["type"]),a="".concat(t.key,"-heading");return i.a.createElement(r,w({},f,o,{Heading:n,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(y){var I=b({inputValue:g});if(null===I)return null;L=i.a.createElement(l,f,I)}else{var j=M({inputValue:g});if(null===j)return null;L=i.a.createElement(u,f,j)}var R={minMenuHeight:x,maxMenuHeight:A,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:O},F=i.a.createElement(ee,w({},f,R),(function(t){var r=t.ref,n=t.placerProps,s=n.placement,l=n.maxHeight;return i.a.createElement(o,w({},f,R,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:s}),i.a.createElement(Ie,{isEnabled:m,onTopArrive:P,onBottomArrive:B},i.a.createElement(Le,{isEnabled:C},i.a.createElement(a,w({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:l}),L))))}));return T||"fixed"===k?i.a.createElement(s,w({},f,{appendTo:T,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,r=t.delimiter,n=t.isDisabled,o=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!n){if(o){if(r){var l=s.map((function(t){return e.getOptionValue(t)})).join(r);return i.a.createElement("input",{name:a,type:"hidden",value:l})}var u=s.length>0?s.map((function(t,r){return i.a.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.a.createElement("input",{name:a,type:"hidden"});return i.a.createElement("div",null,u)}var c=s[0]?this.getOptionValue(s[0]):"";return i.a.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?i.a.createElement(Ae,{"aria-live":"assertive"},i.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),i.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,r=e.IndicatorsContainer,n=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,u=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.a.createElement(n,w({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),i.a.createElement(t,w({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:c}),i.a.createElement(o,w({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),i.a.createElement(r,w({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(n["Component"]);A(Gt,"defaultProps",Kt);var $t={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Yt=function(e){var t,r;return r=t=function(t){function r(){var e,t;y(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=M(this,(e=k(r)).call.apply(e,[this].concat(i))),A(O(O(t)),"select",void 0),A(O(O(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),A(O(O(t)),"onChange",(function(e,r){t.callProp("onChange",e,r),t.setState({value:e})})),A(O(O(t)),"onInputChange",(function(e,r){var n=t.callProp("onInputChange",e,r);t.setState({inputValue:void 0!==n?n:e})})),A(O(O(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),A(O(O(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return E(r,t),x(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"===typeof this.props[e]){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(t=this.props)[e].apply(t,n)}}},{key:"render",value:function(){var t=this,r=this.props,n=(r.defaultInputValue,r.defaultMenuIsOpen,r.defaultValue,S(r,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return i.a.createElement(e,w({},n,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(n["Component"]),A(t,"defaultProps",$t),r},Xt={cacheOptions:!1,defaultOptions:!1,filterOption:null},Zt=function(e){var t,r;return r=t=function(t){function r(e){var t;return y(this,r),t=M(this,k(r).call(this)),A(O(O(t)),"select",void 0),A(O(O(t)),"lastRequest",void 0),A(O(O(t)),"mounted",!1),A(O(O(t)),"optionsCache",{}),A(O(O(t)),"handleInputChange",(function(e,r){var n=t.props,i=n.cacheOptions,o=n.onInputChange,a=N(e,r,o);if(!a)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(i&&t.optionsCache[a])t.setState({inputValue:a,loadedInputValue:a,loadedOptions:t.optionsCache[a],isLoading:!1,passEmptyOptions:!1});else{var s=t.lastRequest={};t.setState({inputValue:a,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(a,(function(e){t.mounted&&(e&&(t.optionsCache[a]=e),s===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:a,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return a})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:"undefined"!==typeof e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return E(r,t),x(r,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,r=this.state.inputValue;!0===t&&this.loadOptions(r,(function(t){if(e.mounted){var r=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:r})}}))}},{key:"componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var r=this.props.loadOptions;if(!r)return t();var n=r(e,t);n&&"function"===typeof n.then&&n.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,r=this.props,n=(r.loadOptions,S(r,["loadOptions"])),o=this.state,a=o.defaultOptions,s=o.inputValue,l=o.isLoading,u=o.loadedInputValue,c=o.loadedOptions,f=o.passEmptyOptions,p=f?[]:s&&u?c:a||[];return i.a.createElement(e,w({},n,{ref:function(e){t.select=e},options:p,isLoading:l,onInputChange:this.handleInputChange}))}}]),r}(n["Component"]),A(t,"defaultProps",Xt),r},Jt=Yt(Gt),er=Zt(Jt),tr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=String(e).toLowerCase(),n=String(t.value).toLowerCase(),i=String(t.label).toLowerCase();return n===r||i===r},rr={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,r){return!(!e||t.some((function(t){return tr(e,t)}))||r.some((function(t){return tr(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},nr=_({allowCreateWhileLoading:!1,createOptionPosition:"last"},rr),ir=function(e){var t,r;return r=t=function(t){function r(e){var t;y(this,r),t=M(this,k(r).call(this,e)),A(O(O(t)),"select",void 0),A(O(O(t)),"onChange",(function(e,r){var n=t.props,i=n.getNewOptionData,o=n.inputValue,a=n.isMulti,s=n.onChange,l=n.onCreateOption,u=n.value;if("select-option"!==r.action)return s(e,r);var c=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==c)s(e,r);else if(l)l(o);else{var p=i(o,o),d={action:"create-option"};s(a?[].concat(P(F(u)),[p]):p,d)}}));var n=e.options||[];return t.state={newOption:void 0,options:n},t}return E(r,t),x(r,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,r=e.createOptionPosition,n=e.formatCreateLabel,i=e.getNewOptionData,o=e.inputValue,a=e.isLoading,s=e.isValidNewOption,l=e.value,u=e.options||[],c=this.state.newOption;c=s(o,F(l),u)?i(o,n(o)):void 0,this.setState({newOption:c,options:!t&&a||!c?u:"first"===r?[c].concat(P(u)):[].concat(P(u),[c])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,r=w({},this.props),n=this.state.options;return i.a.createElement(e,w({},r,{ref:function(e){t.select=e},options:n,onChange:this.onChange}))}}]),r}(n["Component"]),A(t,"defaultProps",nr),r},or=ir(Gt),ar=Yt(or),sr=ir(Gt),lr=Yt(sr),ur=Zt(lr),cr=function(e){return function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var r=S(t,["in","onExited","appear","enter","exit"]);return i.a.createElement(e,r)}},fr=function(e){var t=e.component,r=e.duration,n=void 0===r?1:r,o=e.in,a=(e.onExited,S(e,["component","duration","in","onExited"])),s={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(n,"ms")},exiting:{opacity:0},exited:{opacity:0}};return i.a.createElement(m["Transition"],{mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:n},(function(e){var r={style:_({},s[e])};return i.a.createElement(t,w({innerProps:r},a))}))},pr=260,dr=function(e){function t(){var e,r;y(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=M(this,(e=k(t)).call.apply(e,[this].concat(i))),A(O(O(r)),"duration",pr),A(O(O(r)),"rafID",void 0),A(O(O(r)),"state",{width:"auto"}),A(O(O(r)),"transition",{exiting:{width:0,transition:"width ".concat(r.duration,"ms ease-out")},exited:{width:0}}),A(O(O(r)),"getWidth",(function(e){e&&isNaN(r.state.width)&&(r.rafID=window.requestAnimationFrame((function(){var t=e.getBoundingClientRect(),n=t.width;r.setState({width:n})})))})),A(O(O(r)),"getStyle",(function(e){return{overflow:"hidden",whiteSpace:"nowrap",width:e}})),A(O(O(r)),"getTransition",(function(e){return r.transition[e]})),r}return E(t,e),x(t,[{key:"componentWillUnmount",value:function(){this.rafID&&window.cancelAnimationFrame(this.rafID)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.in,o=this.state.width;return i.a.createElement(m["Transition"],{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:n,timeout:this.duration},(function(t){var n=_({},e.getStyle(o),e.getTransition(t));return i.a.createElement("div",{ref:e.getWidth,style:n},r)}))}}]),t}(n["Component"]),hr=function(e){return function(t){var r=t.in,n=t.onExited,o=S(t,["in","onExited"]);return i.a.createElement(dr,{in:r,onExited:n},i.a.createElement(e,w({cropWithEllipsis:r},o)))}},vr=function(e){return function(t){return i.a.createElement(fr,w({component:e,duration:t.isMulti?pr:1},t))}},mr=function(e){return function(t){return i.a.createElement(fr,w({component:e},t))}},gr=function(e){return function(t){return i.a.createElement(m["TransitionGroup"],w({component:e},t))}},yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=jt({components:e}),r=t.Input,n=t.MultiValue,i=t.Placeholder,o=t.SingleValue,a=t.ValueContainer,s=S(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return _({Input:cr(r),MultiValue:hr(n),Placeholder:vr(i),SingleValue:mr(o),ValueContainer:gr(a)},s)},br=yr(),xr=(br.Input,br.MultiValue,br.Placeholder,br.SingleValue,br.ValueContainer,s(yr,ve)),Ar=Yt(Gt);t["default"]=Ar},cb83:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("circle",{cx:"23",cy:"31",r:"3",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M23 23v16m4 0h-8m8-16h-8",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("circle",{cx:"11",cy:"23",r:"3",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M11 11v24m4 0H7m8-24H7",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("circle",{cx:"35",cy:"21",r:"3",fill:"#1d9bfb"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M35 9v24m4 0h-8m8-24h-8",strokeMiterlimit:"10",strokeWidth:"2"}))};t.default=u},cb8a:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=v(r("ab5b")),o=d(r("7515")),a=d(r("88e7")),s=d(r("d7bc")),l=r("e419"),u=d(r("ad9c")),c=r("8704"),f=r("4578"),p=r("c85e");function d(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function x(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&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function w(e){var t=k();return function(){var r,n=T(e);if(t){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var C=function(e){x(r,e);var t=w(r);function r(){return g(this,r),t.apply(this,arguments)}return b(r,[{key:"canAddSubplot",value:function(){var e=this,t=this.props.fullContainer[this.props.attr],r=this.props.fullContainer.index;return this.context.fullData.some((function(n){return n.index!==r&&n[e.props.attr]===t}))}},{key:"addAndUpdateSubplot",value:function(){var e=this.props,t=e.attr,r=e.layoutAttr,n=e.updateContainer,i=this.context.fullLayout._subplots,o=Number(i[r][i[r].length-1].split(l.SUBPLOT_TO_ATTR[r].layout)[1])||1;n(m({},t,l.SUBPLOT_TO_ATTR[r].layout+(o+1)))}},{key:"updateSubplot",value:function(e){var t=this,r=this.props.fullContainer[l.SUBPLOT_TO_ATTR[this.props.layoutAttr].data],n=null;r===e||this.context.fullData.some((function(e){return e[l.SUBPLOT_TO_ATTR[t.props.layoutAttr].data]===r&&e.index!==t.props.fullContainer.index}))||(n=r),this.context.onUpdate({type:l.EDITOR_ACTIONS.UPDATE_TRACES,payload:{subplotToBeGarbageCollected:n,update:m({},this.props.attr,e),traceIndexes:[this.props.fullContainer.index]}})}},{key:"render",value:function(){var e=this,t=i.default.createElement(c.PlusIcon,null),r=this.canAddSubplot()?i.default.createElement(u.default,{variant:"no-text",icon:t,onClick:function(){return e.addAndUpdateSubplot()}}):i.default.createElement(u.default,{variant:"no-text--disabled",icon:t,onClick:function(){}});return i.default.createElement(o.default,{label:this.props.label,attr:this.props.attr,clearable:!1,options:this.props.options,updatePlot:function(t){return e.updateSubplot(t)},extraComponent:r})}}]),r}(i.Component);C.propTypes={attr:s.default.string,layoutAttr:s.default.string,label:s.default.string,options:s.default.array,container:s.default.object,fullContainer:s.default.object,updateContainer:s.default.func},C.contextTypes={fullLayout:s.default.object,data:s.default.array,fullData:s.default.array,onUpdate:s.default.func};var S=(0,f.connectToContainer)(C),O=function(e){x(r,e);var t=w(r);function r(){return g(this,r),t.apply(this,arguments)}return b(r,[{key:"render",value:function(){var e=this,t=(0,f.traceTypeToAxisType)(this.props.container.type);if(!["geo","mapbox","polar","gl3d","ternary"].some((function(e){return e===t})))return null;var r=1===this.context.data.filter((function(e){return(0,f.traceTypeToAxisType)(e.type)===t})).length;if(r)return null;var n=this.context,o=n.fullLayout,s=n.localize;function u(e){return o._subplots[e].map((function(t){return{label:(0,f.getSubplotTitle)(t,e,s),value:t}}))}return i.default.createElement(p.PlotlySection,{name:s("Subplots to Use")},i.default.createElement(S,{attr:l.SUBPLOT_TO_ATTR[t].data,layoutAttr:t,label:(0,l.subplotName)(l.SUBPLOT_TO_ATTR[t].layout,s),options:u(t)}),i.default.createElement(a.default,null,s("You can style and position your subplots in the "),i.default.createElement("a",{onClick:function(){return e.context.setPanel("Structure","Subplots")}},s("Subplots")),s(" panel.")))}}]),r}(i.Component);O.propTypes={container:s.default.object,fullContainer:s.default.object},O.contextTypes={data:s.default.array,fullData:s.default.array,fullLayout:s.default.object,localize:s.default.func,setPanel:s.default.func};var M=(0,f.connectToContainer)(O,{modifyPlotProps:function(e,t,r){var n=t.data,i=r.fullContainer;r.isVisible=n.length>1&&n[i.index]&&["geo","mapbox","polar","gl3d","ternary"].some((function(e){return e===(0,f.traceTypeToAxisType)(n[i.index].type)}))}});t.default=M},cb8e:function(e,t,r){"use strict";var n=r("9375");t.boxVertex=n("./shaders/box-vertex.glsl"),t.boxFragment=n("./shaders/box-fragment.glsl")},cba1:function(e,t,r){"use strict";var n=r("107c");e.exports={x:n.x,y:n.y,xy:{valType:"data_array",editType:"calc",description:["Faster alternative to specifying `x` and `y` separately.","If supplied, it must be a typed `Float32Array` array that","represents points such that `xy[i * 2] = x[i]` and `xy[i * 2 + 1] = y[i]`"].join(" ")},indices:{valType:"data_array",editType:"calc",description:["A sequential value, 0..n, supply it to avoid creating this array inside plotting.","If specified, it must be a typed `Int32Array` array.","Its length must be equal to or greater than the number of points.","For the best performance and memory use, create one large `indices` typed array","that is guaranteed to be at least as long as the largest number of points during","use, and reuse it on each `Plotly.restyle()` call."].join(" ")},xbounds:{valType:"data_array",editType:"calc",description:["Specify `xbounds` in the shape of `[xMin, xMax] to avoid looping through","the `xy` typed array. Use it in conjunction with `xy` and `ybounds` for the performance benefits."].join(" ")},ybounds:{valType:"data_array",editType:"calc",description:["Specify `ybounds` in the shape of `[yMin, yMax] to avoid looping through","the `xy` typed array. Use it in conjunction with `xy` and `xbounds` for the performance benefits."].join(" ")},text:n.text,marker:{color:{valType:"color",arrayOk:!1,role:"style",editType:"calc",description:["Sets the marker fill color. It accepts a specific color.","If the color is not fully opaque and there are hundreds of thousands","of points, it may cause slower zooming and panning."].join("")},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,role:"style",editType:"calc",description:["Sets the marker opacity. The default value is `1` (fully opaque).","If the markers are not fully opaque and there are hundreds of thousands","of points, it may cause slower zooming and panning.","Opacity fades the color even if `blend` is left on `false` even if there","is no translucency effect in that case."].join(" ")},blend:{valType:"boolean",dflt:null,role:"style",editType:"calc",description:["Determines if colors are blended together for a translucency effect","in case `opacity` is specified as a value less then `1`.","Setting `blend` to `true` reduces zoom/pan","speed if used with large numbers of points."].join(" ")},sizemin:{valType:"number",min:.1,max:2,dflt:.5,role:"style",editType:"calc",description:["Sets the minimum size (in px) of the rendered marker points, effective when","the `pointcloud` shows a million or more points."].join(" ")},sizemax:{valType:"number",min:.1,dflt:20,role:"style",editType:"calc",description:["Sets the maximum size (in px) of the rendered marker points.","Effective when the `pointcloud` shows only few points."].join(" ")},border:{color:{valType:"color",arrayOk:!1,role:"style",editType:"calc",description:["Sets the stroke color. It accepts a specific color.","If the color is not fully opaque and there are hundreds of thousands","of points, it may cause slower zooming and panning."].join(" ")},arearatio:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Specifies what fraction of the marker area is covered with the","border."].join(" ")},editType:"calc"},editType:"calc"},transforms:void 0}},cba5:function(e,t,r){"use strict";var n=r("fc26"),i=r("5348"),o=r("07dd").supplyIsoDefaults,a=r("2ff0").opacityscaleDefaults;e.exports=function(e,t,r,s){function l(r,o){return n.coerce(e,t,i,r,o)}o(e,t,r,s,l),a(e,t,s,l)}},cbb8:function(e,t,r){"use strict";var n=r("a5c4"),i=r("fc26"),o=r("000c");e.exports=function(e,t,r){var a=e.cd[0],s=a.trace,l=e.xa,u=e.ya;if(!(n.inbox(t-a.x0,t-(a.x0+a.w*s.dx),0)>0||n.inbox(r-a.y0,r-(a.y0+a.h*s.dy),0)>0)){var c,f=Math.floor((t-a.x0)/s.dx),p=Math.floor(Math.abs(r-a.y0)/s.dy);if(s._hasZ?c=a.z[p][f]:s._hasSource&&(c=s._canvas.el.getContext("2d").getImageData(f,p,1,1).data),c){var d,h=a.hi||s.hoverinfo;if(h){var v=h.split("+");-1!==v.indexOf("all")&&(v=["color"]),-1!==v.indexOf("color")&&(d=!0)}var m,g=o.colormodel[s.colormodel],y=g.colormodel||s.colormodel,b=y.length,x=s._scaler(c),A=g.suffix,w=[];(s.hovertemplate||d)&&(w.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),4===b&&w.push(", "+x[3]+A[3]),w.push("]"),w=w.join(""),e.extraText=y.toUpperCase()+": "+w),Array.isArray(s.hovertext)&&Array.isArray(s.hovertext[p])?m=s.hovertext[p][f]:Array.isArray(s.text)&&Array.isArray(s.text[p])&&(m=s.text[p][f]);var _=u.c2p(a.y0+(p+.5)*s.dy),E=a.x0+(f+.5)*s.dx,k=a.y0+(p+.5)*s.dy,T="["+c.slice(0,s.colormodel.length).join(", ")+"]";return[i.extendFlat(e,{index:[p,f],x0:l.c2p(a.x0+f*s.dx),x1:l.c2p(a.x0+(f+1)*s.dx),y0:_,y1:_,color:x,xVal:E,xLabelVal:E,yVal:k,yLabelVal:k,zLabelVal:T,text:m,hovertemplateLabels:{zLabel:T,colorLabel:w,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},cbbe:function(e,t,r){"use strict";e.exports=function(e){return e||0===e?e.toString():""}},cbc3:function(e){e.exports=JSON.parse('["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"]')},cbd4:function(e,t,r){"use strict";var n=r("fc26"),i=r("a462"),o=r("2093");e.exports=function(e,t,r,a){function s(r,o){return n.coerce(e,t,i,r,o)}var l=n.extendFlat({},a.hoverlabel);t.hovertemplate&&(l.namelength=-1),o(e,t,s,l)}},cbeb:function(e,t,r){"use strict";var n=r("c01c"),i=r("a026");function o(e,t){for(var r=n(e[0],t[0]),o=1;o<e.length;++o)r=i(r,n(e[o],t[o]));return r}e.exports=o},cc0c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32.375 7.625c-.125 0-.125.125-.25 0v-.313h-.25c0-.375-.25-.625-.25-1.063-.188 0-.313 0-.313-.125l-.25.25c-.125 0 0-.125-.125-.125-.25.438-.375.938-.25 1.375-.125.125-.125.375-.125.5h-.313c0 .125 0 .25-.125.25-.375.188-.813.313-1.188.313-.125 0-.375 0-.563.125-.125.125-.25.375-.375.5s-.25.125-.25.313c.125.125.125.25.125.375-.438.688-1.063.375-1.625.688 0 .125.125.25.125.375-.5.688-1.188 1.063-1.813 1.5-.188 0-.438-.188-.563-.313 0-.25.25-.5.375-.625 0-.438-.125-.813-.375-1.063l-.375.375c-.188 0-.188-.125-.188-.25.438-.125.188-.813.313-.938-.125 0-.125-.125-.125-.125-.438 0-.688-.438-.938 0 0 .125.125 0 .125.125-.125 0-.125 0-.25.125 0 .25.125.375-.188.375 0-.125.188-.25 0-.375-.25.375-.375.938-.375 1.438.375.438.25 1.063-.125 1.5l-.125.125c-.813-.688-.313-2.125-.125-2.938-.188.25-.313.375-.563.563.25-.563.375-.938.563-1.25.25 0 .625-.125.938-.25h.75c-.125 0-.25-.125-.125-.375h-.375v-.313c-.438.188-.938.313-1.375.313 0-.313-.25-.313-.5-.313h-.125c.125-.25.125-.375.375-.5-.25 0-.5.125-.625.375-.313.125-.563.313-.813.438 0-.125-.313 0-.313-.125 0 0 .188-.188.188-.313-.313.125-.438.125-.688.125.25-.25.375-.375.688-.625.25-.125.5-.313.625-.438-.25 0-.5 0-.625-.125-.188.125-.438.125-.563 0l-.125-.125c-.25-.125-.563-.125-.938-.125-.125-.125-.25-.125-.563-.125-.125-.125 0-.563-.25-.563-.125 0 0 .313-.125.313-4.813 0-9.625-.563-14.25-1.875.125.625.125.938.125 1.188-.125 0-.25-.125-.125-.25-.125 0-.125 0-.25.125-.313-.125-.563-.313-.813-.438-.125.438 0 .813.125 1.25h-.125s0 .125.125.125c-.125.125-.25.25 0 .375-.125 0-.125.125-.125.125-.438.813-.688 1.625-1.188 2.25 0 .188 0 .438-.188.563 0 .563-.125 1.063-.375 1.438.375.313 0 .813.125 1.125.125.125.25.375.25.625 0 .125 0 .438.188.438-.188.25 0 .625.25.75 0 .188-.125.188-.125.313 0 .5.5.75.5 1.313v.563c.438.125.813.375 1.188.625v.125c.438.125.688.563.563 1.063.375.188.938.313 1.438.313 0 .125-.125 0-.125.125.563.25 1.063.625 1.625 1.063.813.375 1.563.5 2.5.688 0-.188 0-.313.188-.438.375.125.75.125 1.063.125.25.438.5.688.75.938.313.125.438.438.438.688.25.375.5.688.938.813.125-.313.375-.563.625-.688.688 0 1.375.688 1.375 1.313.25.125.25.563.5.688-.125.938.938 1.188 1.5 1.313-.125-.5-.125-1.063 0-1.438.625-.438 1.313-.813 1.875-1.188.625-.313 1.313-.313 2-.125 0-.313-.313 0-.313-.188.313-.25.438.188.688.188v.125c.125.125.25.125.375.125.188-.125.188-.125.313-.125.125.125-.125.125 0 .125.125-.125.25-.25.25-.438 0 .188.5.438.5.188-.125 0-.25-.188-.5-.313.125 0 .25-.25.125-.375-.125.125-.125.125-.25.125.125-.375.5-.375 1.063-.375 0 0 0-.313.125-.313s.125.313 0 .313c.563-.438 1.313-.313 1.875.25.25 0 .5-.125.688-.438.625 0 .5.563 1.063.563.25.25 0 .938.25 1.188v-.25h.125c0 .125-.125.25-.125.25.125.25.375.563.5.688l.188-.125c.125.125.125.25.125.375.25 0 .5.25.5.563.125-.125.25-.125.563-.125 0 .25-.438.25-.438.5.313-.125.438-.375.563-.688-.125 0 0 .188-.125.188.125-.813-.125-1.625-.563-2.313 0 0 .125 0 .125-.125-.625-.5-1.063-1.563-.75-2.5.125-.188.25-.438.25-.563.25-.125.5-.375.625-.688 0-.375.188-.625.563-.625h.125c0-.813.938-.563.938-1.063-.125.125-.25.125-.375 0 .125.125.25-.125.125-.313.125.188.375 0 .5-.125v-.125h-.25c.125 0 .25 0 .25-.125-.125-.25-.25-.563-.375-.813h-.25c.125-.125-.125-.25-.125-.375h.125a.657.657 0 0 0-.313-.563c.188 0 0-.125.188-.125-.313-.125-.313-.813 0-.938-.188.125.125.25-.188.563.188 0 0 0 .188.25.125.125.25.125.25.25v-.25c.375.125 0 .688.25.938.25-.563.25-.938.25-1.5-.25-.125-.375-.25-.375-.5.125.25.25.375.375.375v.125c.438-.375.563-.75.438-1.313h-.125c.125 0 0-.125.125-.125v-.125c.375-.438.938-.688 1.438-.938 0-.125 0-.125.125-.25 0 .125 0 .125-.125.25.125-.125.25-.25.563-.25 0-.125 0-.313-.313-.313.188.188.188.188.188.313-.313.25-.438-.438-.688-.313 0-.375 0-.75.125-1.188.25 0 .375-.125.563-.25v-.375s.125 0 .125.125-.125 0-.125.125c.25-.125.375-.25.375-.438 0 .188 0 .188.125.188s-.125-.188-.125-.313c.25.125.813-.375.375-.625zM5.313 13.313h2.688v2.688H5.313zm0-4h2.688v2.688H5.313zm-4 0h2.688v2.688H1.313zm0 4h2.688v2.688H1.313zm12 4h2.688v2.688h-2.688zm4-8h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm-4-8h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm8 0h2.688v2.688h-2.688zm0 4h2.688v2.688h-2.688zm4-4h2.688v2.688h-2.688zm-16-4h2.688v2.688H9.313zm0 4h2.688v2.688H9.313zm0 4h2.688v2.688H9.313z"}))};t.default=u},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc12a:function(e,t){e.exports=1e-6},cc1a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"currentColor",d:"M225.789 819.922l222.98-96.366-104.28-115.568zM560.889 447.017L773.026 328.73l-115.36-104.498zM652.143 812.807l232.156-71.453-91.035-126.252zM925.186 966.93l238.652-45.326-76.505-135.553zM294.912 1135.768l233.006-68.614-89.48-127.343zM928.172 538.308l236.041-57.275-83.24-131.544z"}))};t.default=u},cc1a8:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=b(r("5174")),o=b(r("d7bc")),a=y(r("ab5b")),s=r("4578"),l=b(r("37cc")),u=b(r("fe58")),c=b(r("b74c")),f=b(r("134d")),p=b(r("e518")),d=b(r("88e7")),h=b(r("76fe")),v=b(r("6bd2")),m=r("e419");function g(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function b(e){return e&&e.__esModule?e:{default:e}}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t&&k(e.prototype,t),r&&k(e,r),e}function C(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&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function O(e){var t=B();return function(){var r,n=L(e);if(t){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return M(this,r)}}function M(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var D=function(e){C(r,e);var t=O(r);function r(e,n){var i;E(this,r),i=t.call(this,e,n);var o=null;return!e.container.marker||e.container.marker&&!e.container.marker.colorsrc?o="constant":e.container.marker&&Array.isArray(e.container.marker.color)&&e.fullContainer.marker&&Array.isArray(e.fullContainer.marker.color)&&(o="variable"),i.state={type:o,value:{constant:"constant"===o?e.fullValue:m.COLORS.mutedBlue,variable:"variable"===o?e.fullValue:null},selectedConstantColorOption:"constant"===o&&e.multiValued?"multiple":"single"},i.setType=i.setType.bind(P(i)),i.setColor=i.setColor.bind(P(i)),i.setColorScale=i.setColorScale.bind(P(i)),i.onConstantColorOptionChange=i.onConstantColorOptionChange.bind(P(i)),i}return T(r,[{key:"setType",value:function(e){var t,r;this.state.type!==e&&(this.setState({type:e}),this.props.updatePlot(this.state.value[e]),"constant"===e?(this.context.updateContainer((t={},_(t,"marker.colorsrc",null),_(t,"marker.colorscale",null),_(t,"marker.showscale",null),t)),this.setState({colorscale:null})):this.context.updateContainer((r={},_(r,"marker.color",null),_(r,"marker.colorsrc",null),_(r,"marker.colorscale",null),r)))}},{key:"setColor",value:function(e){var t=this.state.type;this.setState("constant"===t?{value:{constant:e}}:{value:{variable:e}}),this.props.updatePlot(e)}},{key:"setColorScale",value:function(e){this.setState({colorscale:e}),this.context.updateContainer(_({},"marker.colorscale",e))}},{key:"isMultiValued",value:function(){return this.props.multiValued||Array.isArray(this.props.fullValue)&&this.props.fullValue.includes(m.MULTI_VALUED)||this.props.container.marker&&this.props.container.marker.colorscale&&this.props.container.marker.colorscale===m.MULTI_VALUED||this.props.container.marker&&this.props.container.marker.colorsrc&&this.props.container.marker.colorsrc===m.MULTI_VALUED||this.props.container.marker&&this.props.container.marker.color&&Array.isArray(this.props.container.marker.color)&&this.props.container.marker.color.includes(m.MULTI_VALUED)}},{key:"onConstantColorOptionChange",value:function(e){this.setState({selectedConstantColorOption:e})}},{key:"renderConstantControls",value:function(){var e=this.context.localize;return a.default.createElement(u.default,{attr:"marker.color",multiColorMessage:e("Each trace will be colored according to the selected colorscale."),singleColorMessage:e("All traces will be colored in the the same color."),setColor:this.setColor,setColorScale:this.setColorScale,onConstantColorOptionChange:this.onConstantColorOptionChange,parentSelectedConstantColorOption:this.state.selectedConstantColorOption})}},{key:"renderVariableControls",value:function(){var e=this.props.container&&this.props.container.marker&&(this.props.container.marker.colorscale&&this.props.container.marker.colorscale===m.MULTI_VALUED||this.props.container.marker.colorsrc&&this.props.container.marker.colorsrc===m.MULTI_VALUED);return a.default.createElement(i.default,{multiValued:e},a.default.createElement(h.default,{suppressMultiValuedMessage:!0,attr:"marker.color"}),this.props.container.marker&&this.props.container.marker.colorscale===m.MULTI_VALUED?null:a.default.createElement(c.default,{suppressMultiValuedMessage:!0,attr:"marker.colorscale",updatePlot:this.setColorScale,colorscale:this.state.colorscale}))}},{key:"render",value:function(){var e=this.props.attr,t=this.context,r=t.localize,n=t.container,o=n&&(!n.transforms||!n.transforms.filter((function(e){return"groupby"===e.type})).length);if(o){var s=this.state.type,u=[{label:r("Constant"),value:"constant"},{label:r("Variable"),value:"variable"}];return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.default,w({},this.props,{attr:e}),a.default.createElement(i.default,{multiValued:this.isMultiValued()&&!this.state.type},a.default.createElement(l.default,{options:u,activeOption:s,onOptionChange:this.setType}),s?a.default.createElement(d.default,null,r("constant"===s?"All points in a trace are colored in the same color.":"Each point in a trace is colored according to data.")):null),s?"constant"===s?this.renderConstantControls():this.renderVariableControls():null),"constant"===s?null:a.default.createElement(a.default.Fragment,null,a.default.createElement(p.default,{label:r("Colorscale Direction"),attr:"marker.reversescale",options:[{label:r("Normal"),value:!1},{label:r("Reversed"),value:!0}]}),a.default.createElement(p.default,{label:r("Color Bar"),attr:"marker.showscale",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),a.default.createElement(v.default,{label:r("Colorscale Range"),attr:"marker.cauto",options:[{label:r("Auto"),value:!0},{label:r("Custom"),value:!1}],showOn:!1,defaultOpt:!0},a.default.createElement(f.default,{label:r("Min"),attr:"marker.cmin"}),a.default.createElement(f.default,{label:r("Max"),attr:"marker.cmax"}))))}return a.default.createElement(i.default,w({},this.props,{attr:e}),this.renderConstantControls())}}]),r}(a.Component);D.propTypes=A({fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),D.contextTypes={localize:o.default.func,updateContainer:o.default.func,traceIndexes:o.default.array,container:o.default.object},D.displayName="UnconnectedMarkerColor";var I=(0,s.connectToContainer)(D);t.default=I},cc45:function(e,t,r){var n=r("1a2d"),i=r("b047"),o=r("99d3"),a=o&&o.isMap,s=a?i(a):n;e.exports=s},cc77:function(e,t,r){"use strict";function n(e,t,r,n,i,o){var a=["function ",e,"(a,l,h,",n.join(","),"){",o?"":"var i=",r?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a",i?".get(m)":"[m]"];return o?t.indexOf("c")<0?a.push(";if(x===y){return m}else if(x<=y){"):a.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){"):a.push(";if(",t,"){i=m;"),r?a.push("l=m+1}else{h=m-1}"):a.push("h=m-1}else{l=m+1}"),a.push("}"),o?a.push("return -1};"):a.push("return i};"),a.join("")}function i(e,t,r,i){var o=new Function([n("A","x"+e+"y",t,["y"],!1,i),n("B","x"+e+"y",t,["y"],!0,i),n("P","c(x,y)"+e+"0",t,["y","c"],!1,i),n("Q","c(x,y)"+e+"0",t,["y","c"],!0,i),"function dispatchBsearch",r,"(a,y,c,l,h){if(a.shape){if(typeof(c)==='function'){return Q(a,(l===undefined)?0:l|0,(h===undefined)?a.shape[0]-1:h|0,y,c)}else{return B(a,(c===undefined)?0:c|0,(l===undefined)?a.shape[0]-1:l|0,y)}}else{if(typeof(c)==='function'){return P(a,(l===undefined)?0:l|0,(h===undefined)?a.length-1:h|0,y,c)}else{return A(a,(c===undefined)?0:c|0,(l===undefined)?a.length-1:l|0,y)}}}return dispatchBsearch",r].join(""));return o()}e.exports={ge:i(">=",!1,"GE"),gt:i(">",!1,"GT"),lt:i("<",!0,"LT"),le:i("<=",!0,"LE"),eq:i("-",!0,"EQ",!0)}},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},ccb1:function(e,t,r){},cce4:function(e,t,r){"use strict";var n=r("1b23");function i(e){if(n(e)){var t=e,r=t.getAttribute("data-offset-key");if(r)return r;for(var o=0;o<t.childNodes.length;o++){var a=i(t.childNodes[o]);if(a)return a}}return null}e.exports=i},cce7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"#119DFF",d:"M1228.136 100.738H142.678c-13.995 0-25.34 11.345-25.34 25.34v353.428c-.406 1.799-.638 3.666-.638 5.587s.232 3.788.638 5.587v358.063a25.342 25.342 0 0 0-.638 5.588c0 1.921.232 3.787.638 5.587v351.618c0 13.995 11.345 25.34 25.34 25.34h1085.458c13.995 0 25.34-11.345 25.34-25.34V126.078c0-13.995-11.345-25.34-25.34-25.34zM522.775 828.992V510.434h318.557v318.559H522.775zm318.557 50.68v306.525H522.775V879.672h318.557zM168.018 510.434h304.078v318.558H168.018V510.434zm354.757-50.68V151.418h318.557v308.336H522.775zm369.237 50.68h310.784v318.559H892.012V510.434zm310.784-50.68H892.012V151.418h310.784v308.336zM472.095 151.418v308.336H168.018V151.418h304.077zM168.018 879.672h304.078v306.525H168.018V879.672zm723.994 306.525V879.672h310.784v306.525H892.012z"}),o.default.createElement("path",{fill:"#09FFFF",d:"M208.282 1104.347c13.151-13.15 34.473-13.15 47.622 0 13.153 13.15 13.153 34.473 0 47.623-13.149 13.151-34.471 13.151-47.622 0-13.153-13.151-13.153-34.473 0-47.623zM325.674 931.91c28.12-28.129 73.727-28.129 101.854 0 28.12 28.12 28.12 73.725 0 101.847-28.127 28.129-73.734 28.129-101.854 0-28.126-28.122-28.126-73.727 0-101.847zM387.282 1104.347c13.147-13.15 34.471-13.15 47.622 0 13.151 13.15 13.151 34.475 0 47.623-13.15 13.151-34.475 13.151-47.622 0-13.151-13.149-13.151-34.473 0-47.623z"}),o.default.createElement("path",{fill:"#119DFF",d:"M208.281 925.345c13.149-13.148 34.473-13.148 47.624 0 13.151 13.151 13.151 34.475 0 47.626-13.151 13.148-34.475 13.148-47.624 0-13.149-13.152-13.149-34.475 0-47.626z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"595.908",cy:"949.158",r:"33.675"}),o.default.createElement("circle",{fill:"#09FFFF",cx:"595.907",cy:"1128.158",r:"33.675"}),o.default.createElement("path",{fill:"#119DFF",d:"M798.722 1073.902c21.554 21.555 21.554 56.511 0 78.067-21.56 21.558-56.513 21.558-78.069 0-21.557-21.557-21.557-56.513 0-78.067 21.556-21.553 56.509-21.553 78.069 0z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"231.272",cy:"582.929",r:"33.674"}),o.default.createElement("path",{fill:"#09FFFF",d:"M364.205 630.639c23.534 23.53 23.534 61.688 0 85.224-23.529 23.53-61.691 23.53-85.221 0-23.534-23.536-23.534-61.694 0-85.224 23.529-23.534 61.691-23.534 85.221 0z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"231.272",cy:"761.929",r:"33.675"}),o.default.createElement("circle",{fill:"#119DFF",cx:"410.273",cy:"761.929",r:"33.676"}),o.default.createElement("path",{fill:"#09FFFF",d:"M1160.494 244.144c-13.15 13.151-34.473 13.151-47.621 0-13.152-13.15-13.152-34.473 0-47.623 13.148-13.151 34.471-13.151 47.621 0 13.153 13.15 13.153 34.472 0 47.623z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"957.683",cy:"220.332",r:"33.675"}),o.default.createElement("path",{fill:"#09FFFF",d:"M981.495 423.146c-13.149 13.148-34.473 13.148-47.624 0-13.15-13.151-13.15-34.475 0-47.625 13.151-13.149 34.475-13.149 47.624 0 13.149 13.15 13.149 34.474 0 47.625z"}),o.default.createElement("path",{fill:"#119DFF",d:"M1076.321 338.152c-16.09 16.091-42.185 16.091-58.28 0-16.092-16.094-16.092-42.189 0-58.283 16.096-16.091 42.19-16.091 58.28 0 16.092 16.094 16.092 42.189 0 58.283z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"772.868",cy:"399.333",r:"33.674"}),o.default.createElement("path",{fill:"#119DFF",d:"M686.262 304.905c-28.111-28.106-28.111-73.687 0-101.797 28.109-28.106 73.691-28.106 101.796 0 28.113 28.11 28.113 73.691 0 101.797-28.105 28.106-73.687 28.106-101.796 0zM570.055 244.144c-13.148-13.149-13.148-34.473 0-47.624 13.151-13.151 34.475-13.151 47.626 0 13.148 13.15 13.148 34.475 0 47.624-13.151 13.149-34.474 13.149-47.626 0z"}),o.default.createElement("path",{fill:"#09FFFF",d:"M1113.691 789.371c-13.15-13.15-13.15-34.471 0-47.621s34.475-13.15 47.623 0c13.151 13.15 13.151 34.471 0 47.621-13.148 13.154-34.472 13.154-47.623 0z"}),o.default.createElement("circle",{fill:"#119DFF",cx:"1047.183",cy:"675.24",r:"23.151"}),o.default.createElement("path",{fill:"#119DFF",d:"M1082.674 641.393c-21.72-21.716-21.72-56.928 0-78.644 21.713-21.711 56.927-21.711 78.639 0 21.721 21.716 21.721 56.928 0 78.644-21.712 21.711-56.926 21.711-78.639 0z"}),o.default.createElement("path",{fill:"#09FFFF",d:"M934.689 610.374c-13.146-13.151-13.146-34.475 0-47.625 13.152-13.151 34.475-13.151 47.626 0 13.148 13.151 13.148 34.475 0 47.625-13.151 13.147-34.473 13.147-47.626 0z"}),o.default.createElement("circle",{fill:"#09FFFF",cx:"593.867",cy:"309.011",r:"15.942"}),o.default.createElement("circle",{fill:"#119DFF",cx:"958.503",cy:"309.012",r:"20.059"}),o.default.createElement("circle",{fill:"#119DFF",cx:"1137.502",cy:"399.333",r:"20.059"}),o.default.createElement("circle",{fill:"#09FFFF",cx:"1047.182",cy:"220.332",r:"20.326"}),o.default.createElement("circle",{fill:"#119DFF",cx:"321.593",cy:"1128.156",r:"21.759"}),o.default.createElement("circle",{fill:"#119DFF",cx:"686.228",cy:"1037.833",r:"21.278"}),o.default.createElement("path",{fill:"#119DFF",d:"M607.18 1026.563c6.225 6.223 6.225 16.319 0 22.545-6.226 6.226-16.32 6.226-22.546 0s-6.226-16.322 0-22.545c6.226-6.225 16.321-6.225 22.546 0z"}))};t.default=u},cd19:function(e,t,r){"use strict";var n=r("3d2e");e.exports={moduleType:"component",name:n.name,layoutAttributes:r("42dc"),supplyLayoutDefaults:r("dcc2"),draw:r("fd80")}},cd84:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("2595").draw;function a(e){var t=e._fullLayout;n.filterVisible(t.annotations).forEach((function(t){var r=i.getFromId(e,t.xref),n=i.getFromId(e,t.yref),o=i.getRefType(t.xref),a=i.getRefType(t.yref);t._extremes={},"range"===o&&s(t,r),"range"===a&&s(t,n)}))}function s(e,t){var r,n=t._id,o=n.charAt(0),a=e[o],s=e["a"+o],l=e[o+"ref"],u=e["a"+o+"ref"],c=e["_"+o+"padplus"],f=e["_"+o+"padminus"],p={x:1,y:-1}[o]*e[o+"shift"],d=3*e.arrowsize*e.arrowwidth||0,h=d+p,v=d-p,m=3*e.startarrowsize*e.arrowwidth||0,g=m+p,y=m-p;if(u===l){var b=i.findExtremes(t,[t.r2c(a)],{ppadplus:h,ppadminus:v}),x=i.findExtremes(t,[t.r2c(s)],{ppadplus:Math.max(c,g),ppadminus:Math.max(f,y)});r={min:[b.min[0],x.min[0]],max:[b.max[0],x.max[0]]}}else g=s?g+s:g,y=s?y-s:y,r=i.findExtremes(t,[t.r2c(a)],{ppadplus:Math.max(c,h,g),ppadminus:Math.max(f,v,y)});e._extremes[n]=r}e.exports=function(e){var t=e._fullLayout,r=n.filterVisible(t.annotations);if(r.length&&e._fullData.length)return n.syncOrAsync([o,a],e)}},cd9d:function(e,t){function r(e){return e}e.exports=r},cdaf:function(e,t,r){"use strict";e.exports={scene:{valType:"subplotid",role:"info",dflt:"scene",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's 3D coordinate system and","a 3D scene.","If *scene* (the default value), the (x,y,z) coordinates refer to","`layout.scene`.","If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`,","and so on."].join(" ")}}},cdc4:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("9903")),o=p(r("e78b")),a=p(r("d7bc")),s=f(r("ab5b")),l=r("4578"),u=r("a36d");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=(0,l.connectTransformToTrace)(i.default),k=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return m(r,[{key:"render",value:function(){var e=this.context,t=e.fullContainer.transforms,r=void 0===t?[]:t,n=e.localize,i=e.container,a=e.dataSourceOptions,l=this.props.children,c=[{label:n("Filter"),type:"filter"},{label:n("Split"),type:"groupby"},{label:n("Aggregate"),type:"aggregate"},{label:n("Sort"),type:"sort"}],f=i.transforms&&i.transforms.map((function(e){var t="";if(e.groupssrc){var r=a&&a.find((function(t){return t.value===e.groupssrc}));t=": ".concat(r&&r.label?r.label:e.groupssrc)}else if(e.targetsrc){var n=a&&a.find((function(t){return t.value===e.targetsrc}));t=": ".concat(n&&n.label?n.label:e.targetsrc)}return t})),p=r.filter((function(e){var t=e.type;return Boolean(t)})),h=p.length&&p.map((function(e,t){return s.default.createElement(E,{key:t,transformIndex:t,name:"".concat(c.filter((function(t){var r=t.type;return r===e.type}))[0].label).concat(f&&f[t]),canDelete:!0},l)})),v=i.transforms&&i.transforms.some((function(e){return"groupby"===e.type}))?c.filter((function(e){return"groupby"!==e.type})):c,m={label:n("Transform"),handler:v.map((function(e){var t=e.label,r=e.type;return{label:t,handler:function(e){var t=e.fullContainer,n=e.updateContainer;if(n){var i=Array.isArray(t.transforms)?t.transforms.length:0,o="transforms[".concat(i,"]"),a={type:r};"filter"===r?(a.target=[],a.targetsrc=null):"sort"!==r&&(a.groupssrc=null,a.groups=null),"groupby"===r&&(a.styles=[]),n(d({},o,a))}}}}))};return s.default.createElement(o.default,{addAction:m},h||s.default.createElement(u.PanelMessage,{icon:null},s.default.createElement("div",{style:{textAlign:"left"}},s.default.createElement("p",null,s.default.createElement("strong",null,n("Filter"))," ",n(" transforms allow you to filter data out from a trace.")),s.default.createElement("p",null,s.default.createElement("strong",null,n("Split"))," ",n(" transforms allow you to create multiple traces from one source trace, so as to style them differently.")),s.default.createElement("p",null,s.default.createElement("strong",null,n("Aggregate"))," ",n(' transforms allow you to summarize a trace using an aggregate function like "average" or "minimum".')),s.default.createElement("p",null,s.default.createElement("strong",null,n("Sort"))," ",n(" transforms allow you to sort a trace, so as to control marker overlay or line connection order."))),s.default.createElement("p",null,n("Click on the + button above to add a transform."))))}}]),r}(s.Component);k.contextTypes={fullContainer:a.default.object,localize:a.default.func,container:a.default.object,dataSourceOptions:a.default.array},k.propTypes={children:a.default.node};var T=k;t.default=T},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce00:function(e,t,r){"use strict";function n(e,t,r,n){r=r||0;var i=n?"BE":"LE",o=e["readUInt"+t+i];return o.call(e,r)}e.exports=n},ce20:function(e,t,r){"use strict";var n=r("215c").hasColorscale,i=r("3aa8"),o=r("424b"),a=r("0cec").setGroupPositions,s=r("4136"),l=r("371e").traceIs,u=r("fc26").extendFlat;function c(e,t){for(var r=e._fullLayout,a=t.subplot,l=r[a].radialaxis,u=r[a].angularaxis,c=l.makeCalcdata(t,"r"),f=u.makeCalcdata(t,"theta"),p=t._length,d=new Array(p),h=c,v=f,m=0;m<p;m++)d[m]={p:v[m],s:h[m]};function g(e){var r=t[e];void 0!==r&&(t["_"+e]=Array.isArray(r)?u.makeCalcdata(t,e):u.d2c(r,t.thetaunit))}return"linear"===u.type&&(g("width"),g("offset")),n(t,"marker")&&i(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),n(t,"marker.line")&&i(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}),o(d,t),s(d,t),d}function f(e,t,r){for(var n=e.calcdata,i=[],o=0;o<n.length;o++){var s=n[o],c=s[0].trace;!0===c.visible&&l(c,"bar")&&c.subplot===r&&i.push(s)}var f=u({},t.radialaxis,{_id:"x"}),p=t.angularaxis;a(e,p,f,i,{mode:t.barmode,norm:t.barnorm,gap:t.bargap,groupgap:t.bargroupgap})}e.exports={calc:c,crossTraceCalc:f}},ce4e:function(e,t,r){var n=r("da84"),i=r("9112");e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},ce56:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("e806").FP_SAFE,a=r("371e"),s=r("3c1c"),l=s.getFromId,u=s.isLinked;function c(e,t){var r,n,o=[],a=e._fullLayout,s=p(a,t,0),l=p(a,t,1),u=v(e,t),c=u.min,d=u.max;if(0===c.length||0===d.length)return i.simpleMap(t.range,t.r2l);var h=c[0].val,m=d[0].val;for(r=1;r<c.length;r++){if(h!==m)break;h=Math.min(h,c[r].val)}for(r=1;r<d.length;r++){if(h!==m)break;m=Math.max(m,d[r].val)}var g=!1;if(t.range){var y=i.simpleMap(t.range,t.r2l);g=y[1]<y[0]}"reversed"===t.autorange&&(g=!0,t.autorange=!0);var b,x,A,w,_,E,k=t.rangemode,T="tozero"===k,C="nonnegative"===k,S=t._length,O=S/10,M=0;for(r=0;r<c.length;r++)for(b=c[r],n=0;n<d.length;n++)x=d[n],E=x.val-b.val-f(t,b.val,x.val),E>0&&(_=S-s(b)-l(x),_>O?E/_>M&&(A=b,w=x,M=E/_):E/S>M&&(A={val:b.val,nopad:1},w={val:x.val,nopad:1},M=E/S));function P(e,t){return Math.max(e,l(t))}if(h===m){var B=h-1,L=h+1;if(T)if(0===h)o=[0,1];else{var D=(h>0?d:c).reduce(P,0),I=h/(1-Math.min(.5,D/S));o=h>0?[0,I]:[I,0]}else o=C?[Math.max(0,B),Math.max(1,L)]:[B,L]}else T?(A.val>=0&&(A={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):C&&(A.val-M*s(A)<0&&(A={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),M=(w.val-A.val-f(t,b.val,x.val))/(S-s(A)-l(w)),o=[A.val-M*s(A),w.val+M*l(w)];return g&&o.reverse(),i.simpleMap(o,t.l2r||Number)}function f(e,t,r){var n=0;if(e.rangebreaks)for(var i=e.locateBreaks(t,r),o=0;o<i.length;o++){var a=i[o];n+=a.max-a.min}return n}function p(e,t,r){var n=.05*t._length,o=t._anchorAxis||{};if(-1!==(t.ticklabelposition||"").indexOf("inside")||-1!==(o.ticklabelposition||"").indexOf("inside")){var a="reversed"===t.autorange;if(!a){var s=i.simpleMap(t.range,t.r2l);a=s[1]<s[0]}a&&(r=!r)}var l=0;return u(e,t._id)||(l=h(t,r)),n=Math.max(l,n),"domain"===t.constrain&&t._inputDomain&&(n*=(t._inputDomain[1]-t._inputDomain[0])/(t.domain[1]-t.domain[0])),function(e){return e.nopad?0:e.pad+(e.extrapad?n:l)}}e.exports={getAutoRange:c,makePadFn:p,doAutoRange:m,findExtremes:g,concatExtremes:v};var d=3;function h(e,t){var r=0,n=e._anchorAxis||{};if(-1!==(n.ticklabelposition||"").indexOf("inside")&&(!t&&("left"===n.side||"bottom"===n.side)||t&&("top"===n.side||"right"===n.side))){var o="x"===e._id.charAt(0);if(n._vals){var a=i.deg2rad(n._tickAngles[n._id+"tick"]||0),s=Math.abs(Math.cos(a)),l=Math.abs(Math.sin(a));n._vals.forEach((function(e){if(e.bb){var t=2*d+e.bb.width,n=2*d+e.bb.height;r=Math.max(r,o?Math.max(t*s,n*l):Math.max(n*s,t*l))}}))}"inside"===n.ticks&&"inside"===n.ticklabelposition&&(r+=n.ticklen||0)}return r}function v(e,t,r){var n,i,o,a=t._id,s=e._fullData,u=e._fullLayout,c=[],f=[];function p(e,t){for(n=0;n<t.length;n++){var r=e[t[n]],s=(r._extremes||{})[a];if(!0===r.visible&&s){for(i=0;i<s.min.length;i++)o=s.min[i],y(c,o.val,o.pad,{extrapad:o.extrapad});for(i=0;i<s.max.length;i++)o=s.max[i],b(f,o.val,o.pad,{extrapad:o.extrapad})}}}if(p(s,t._traceIndices),p(u.annotations||[],t._annIndices||[]),p(u.shapes||[],t._shapeIndices||[]),t._matchGroup&&!r)for(var d in t._matchGroup)if(d!==t._id){var h=l(e,d),m=v(e,h,!0),g=t._length/h._length;for(i=0;i<m.min.length;i++)o=m.min[i],y(c,o.val,o.pad*g,{extrapad:o.extrapad});for(i=0;i<m.max.length;i++)o=m.max[i],b(f,o.val,o.pad*g,{extrapad:o.extrapad})}return{min:c,max:f}}function m(e,t,r){if(t.setScale(),t.autorange){t.range=r?r.slice():c(e,t),t._r=t.range.slice(),t._rl=i.simpleMap(t._r,t.r2l);var n=t._input,o={};o[t._attr+".range"]=t.range,o[t._attr+".autorange"]=t.autorange,a.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,o),n.range=t.range.slice(),n.autorange=t.autorange}var s=t._anchorAxis;if(s&&s.rangeslider){var l=s.rangeslider[t._name];l&&"auto"===l.rangemode&&(l.range=c(e,t)),s._input.rangeslider[t._name]=i.extendFlat({},l)}}function g(e,t,r){r||(r={}),e._m||e.setScale();var i,a,s,l,u,c,f,p,d,h=[],v=[],m=t.length,g=r.padded||!1,x=r.tozero&&("linear"===e.type||"-"===e.type),w="log"===e.type,_=!1,E=r.vpadLinearized||!1;function k(e){if(Array.isArray(e))return _=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var T=k((e._m>0?r.ppadplus:r.ppadminus)||r.ppad||0),C=k((e._m>0?r.ppadminus:r.ppadplus)||r.ppad||0),S=k(r.vpadplus||r.vpad),O=k(r.vpadminus||r.vpad);if(!_){if(p=1/0,d=-1/0,w)for(i=0;i<m;i++)a=t[i],a<p&&a>0&&(p=a),a>d&&a<o&&(d=a);else for(i=0;i<m;i++)a=t[i],a<p&&a>-o&&(p=a),a>d&&a<o&&(d=a);t=[p,d],m=2}var M={tozero:x,extrapad:g};function P(r){s=t[r],n(s)&&(c=T(r),f=C(r),E?(l=e.c2l(s)-O(r),u=e.c2l(s)+S(r)):(p=s-O(r),d=s+S(r),w&&p<d/10&&(p=d/10),l=e.c2l(p),u=e.c2l(d)),x&&(l=Math.min(0,l),u=Math.max(0,u)),A(l)&&y(h,l,f,M),A(u)&&b(v,u,c,M))}var B=Math.min(6,m);for(i=0;i<B;i++)P(i);for(i=m-1;i>=B;i--)P(i);return{min:h,max:v,opts:r}}function y(e,t,r,n){x(e,t,r,n,w)}function b(e,t,r,n){x(e,t,r,n,_)}function x(e,t,r,n,i){for(var o=n.tozero,a=n.extrapad,s=!0,l=0;l<e.length&&s;l++){var u=e[l];if(i(u.val,t)&&u.pad>=r&&(u.extrapad||!a)){s=!1;break}i(t,u.val)&&u.pad<=r&&(a||!u.extrapad)&&(e.splice(l,1),l--)}if(s){var c=o&&0===t;e.push({val:t,pad:c?0:r,extrapad:!c&&a})}}function A(e){return n(e)&&Math.abs(e)<o}function w(e,t){return e<=t}function _(e,t){return e>=t}},ce563:function(e,t,r){"use strict";var n=r("d79f");function i(e){var t=n(e),r=0,i=0,o=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];r=s.top,i=s.right,o=s.bottom,a=s.left}else{var l=t[0];r=l.top,i=l.right,o=l.bottom,a=l.left}for(var u=1;u<t.length;u++){var c=t[u];0!==c.height&&0!==c.width&&(r=Math.min(r,c.top),i=Math.max(i,c.right),o=Math.max(o,c.bottom),a=Math.min(a,c.left))}}return{top:r,right:i,bottom:o,left:a,width:i-a,height:o-r}}e.exports=i},ce65:function(e,t,r){"use strict";var n=r("94d5").hovertemplateAttrs,i=r("94d5").texttemplateAttrs,o=r("107c"),a=r("a876"),s=r("f4e9"),l=r("db54").dash,u=r("9092").extendFlat,c=o.marker,f=o.line,p=c.line;e.exports={a:{valType:"data_array",editType:"calc",description:["Sets the quantity of component `a` in each data point.","If `a`, `b`, and `c` are all provided, they need not be","normalized, only the relative values matter. If only two","arrays are provided they must be normalized to match","`ternary<i>.sum`."].join(" ")},b:{valType:"data_array",editType:"calc",description:["Sets the quantity of component `a` in each data point.","If `a`, `b`, and `c` are all provided, they need not be","normalized, only the relative values matter. If only two","arrays are provided they must be normalized to match","`ternary<i>.sum`."].join(" ")},c:{valType:"data_array",editType:"calc",description:["Sets the quantity of component `a` in each data point.","If `a`, `b`, and `c` are all provided, they need not be","normalized, only the relative values matter. If only two","arrays are provided they must be normalized to match","`ternary<i>.sum`."].join(" ")},sum:{valType:"number",role:"info",dflt:0,min:0,editType:"calc",description:["The number each triplet should sum to,","if only two of `a`, `b`, and `c` are provided.","This overrides `ternary<i>.sum` to normalize this specific","trace, but does not affect the values displayed on the axes.","0 (or missing) means to use ternary<i>.sum"].join(" ")},mode:u({},o.mode,{dflt:"markers"}),text:u({},o.text,{description:["Sets text elements associated with each (a,b,c) point.","If a single string, the same string appears over","all the data points.","If an array of strings, the items are mapped in order to the","the data points in (a,b,c).","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:i({editType:"plot"},{keys:["a","b","c","text"]}),hovertext:u({},o.hovertext,{description:["Sets hover text elements associated with each (a,b,c) point.","If a single string, the same string appears over","all the data points.","If an array of strings, the items are mapped in order to the","the data points in (a,b,c).","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),line:{color:f.color,width:f.width,dash:l,shape:u({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:o.connectgaps,cliponaxis:o.cliponaxis,fill:u({},o.fill,{values:["none","toself","tonext"],dflt:"none",description:["Sets the area to fill with a solid color.","Use with `fillcolor` if not *none*.","scatterternary has a subset of the options available to scatter.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other."].join(" ")}),fillcolor:o.fillcolor,marker:u({symbol:c.symbol,opacity:c.opacity,maxdisplayed:c.maxdisplayed,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,line:u({width:p.width,editType:"calc"},s("marker.line")),gradient:c.gradient,editType:"calc"},s("marker")),textfont:o.textfont,textposition:o.textposition,selected:o.selected,unselected:o.unselected,hoverinfo:u({},a.hoverinfo,{flags:["a","b","c","text","name"]}),hoveron:o.hoveron,hovertemplate:n()}},ce83:function(e,t){function r(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}e.exports=r},ce86:function(e,t,r){var n=r("9e69"),i=r("7948"),o=r("6747"),a=r("ffd6"),s=1/0,l=n?n.prototype:void 0,u=l?l.toString:void 0;function c(e){if("string"==typeof e)return e;if(o(e))return i(e,c)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},ce8f:function(e,t,r){"use strict";e.exports=i;var n=r("c586");function i(e,t){for(var r=n(e,t.length),i=new Array(t.length),o=new Array(t.length),a=[],s=0;s<t.length;++s){var l=r[s].length;o[s]=l,i[s]=!0,l<=1&&a.push(s)}while(a.length>0){var u=a.pop();i[u]=!1;var c=r[u];for(s=0;s<c.length;++s){var f=c[s];0===--o[f]&&a.push(f)}}var p=new Array(t.length),d=[];for(s=0;s<t.length;++s)if(i[s]){u=d.length;p[s]=u,d.push(t[s])}else p[s]=-1;var h=[];for(s=0;s<e.length;++s){var v=e[s];i[v[0]]&&i[v[1]]&&h.push([p[v[0]],p[v[1]]])}return[h,d]}},cea5:function(e,t,r){"use strict";(function(e){var n=r("a48a"),i=r("84af"),o=r("b639").Buffer;e.__TYPEDARRAY_POOL||(e.__TYPEDARRAY_POOL={UINT8:i([32,0]),UINT16:i([32,0]),UINT32:i([32,0]),BIGUINT64:i([32,0]),INT8:i([32,0]),INT16:i([32,0]),INT32:i([32,0]),BIGINT64:i([32,0]),FLOAT:i([32,0]),DOUBLE:i([32,0]),DATA:i([32,0]),UINT8C:i([32,0]),BUFFER:i([32,0])});var a="undefined"!==typeof Uint8ClampedArray,s="undefined"!==typeof BigUint64Array,l="undefined"!==typeof BigInt64Array,u=e.__TYPEDARRAY_POOL;u.UINT8C||(u.UINT8C=i([32,0])),u.BIGUINT64||(u.BIGUINT64=i([32,0])),u.BIGINT64||(u.BIGINT64=i([32,0])),u.BUFFER||(u.BUFFER=i([32,0]));var c=u.DATA,f=u.BUFFER;function p(e){if(e){var t=e.length||e.byteLength,r=n.log2(t);c[r].push(e)}}function d(e){p(e.buffer)}function h(e){e=n.nextPow2(e);var t=n.log2(e),r=c[t];return r.length>0?r.pop():new ArrayBuffer(e)}function v(e){return new Uint8Array(h(e),0,e)}function m(e){return new Uint16Array(h(2*e),0,e)}function g(e){return new Uint32Array(h(4*e),0,e)}function y(e){return new Int8Array(h(e),0,e)}function b(e){return new Int16Array(h(2*e),0,e)}function x(e){return new Int32Array(h(4*e),0,e)}function A(e){return new Float32Array(h(4*e),0,e)}function w(e){return new Float64Array(h(8*e),0,e)}function _(e){return a?new Uint8ClampedArray(h(e),0,e):v(e)}function E(e){return s?new BigUint64Array(h(8*e),0,e):null}function k(e){return l?new BigInt64Array(h(8*e),0,e):null}function T(e){return new DataView(h(e),0,e)}function C(e){e=n.nextPow2(e);var t=n.log2(e),r=f[t];return r.length>0?r.pop():new o(e)}t.free=function(e){if(o.isBuffer(e))f[n.log2(e.length)].push(e);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(e)&&(e=e.buffer),!e)return;var t=e.length||e.byteLength,r=0|n.log2(t);c[r].push(e)}},t.freeUint8=t.freeUint16=t.freeUint32=t.freeBigUint64=t.freeInt8=t.freeInt16=t.freeInt32=t.freeBigInt64=t.freeFloat32=t.freeFloat=t.freeFloat64=t.freeDouble=t.freeUint8Clamped=t.freeDataView=d,t.freeArrayBuffer=p,t.freeBuffer=function(e){f[n.log2(e.length)].push(e)},t.malloc=function(e,t){if(void 0===t||"arraybuffer"===t)return h(e);switch(t){case"uint8":return v(e);case"uint16":return m(e);case"uint32":return g(e);case"int8":return y(e);case"int16":return b(e);case"int32":return x(e);case"float":case"float32":return A(e);case"double":case"float64":return w(e);case"uint8_clamped":return _(e);case"bigint64":return k(e);case"biguint64":return E(e);case"buffer":return C(e);case"data":case"dataview":return T(e);default:return null}return null},t.mallocArrayBuffer=h,t.mallocUint8=v,t.mallocUint16=m,t.mallocUint32=g,t.mallocInt8=y,t.mallocInt16=b,t.mallocInt32=x,t.mallocFloat32=t.mallocFloat=A,t.mallocFloat64=t.mallocDouble=w,t.mallocUint8Clamped=_,t.mallocBigUint64=E,t.mallocBigInt64=k,t.mallocDataView=T,t.mallocBuffer=C,t.clearCache=function(){for(var e=0;e<32;++e)u.UINT8[e].length=0,u.UINT16[e].length=0,u.UINT32[e].length=0,u.INT8[e].length=0,u.INT16[e].length=0,u.INT32[e].length=0,u.FLOAT[e].length=0,u.DOUBLE[e].length=0,u.BIGUINT64[e].length=0,u.BIGINT64[e].length=0,u.UINT8C[e].length=0,c[e].length=0,f[e].length=0}}).call(this,r("c8ba"))},cebf:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("d115"),a=r("52e8"),s=a.stylePoints,l=a.styleText;function u(e,t){var r=t[0].trace,a=t[0].node3;a.style("opacity",t[0].trace.opacity),s(a,r,e),l(a,r,e),a.selectAll("path.js-line").style("fill","none").each((function(e){var t=n.select(this),r=e.trace,a=r.line||{};t.call(o.stroke,a.color).call(i.dashLine,a.dash||"",a.width||0),"none"!==r.fill&&t.call(o.fill,r.fillcolor)}))}e.exports=function(e,t){t&&u(e,t)}},cec5:function(e,t,r){"use strict";e.exports=function(e,t){if(!t)return e;var r=1/Math.abs(t),n=r>1?(r*e+r*t)/r:e+t,i=String(n).length;if(i>16){var o=String(t).length,a=String(e).length;if(i>=a+o){var s=parseFloat(n).toPrecision(12);-1===s.indexOf("e+")&&(n=+s)}}return n}},cec7:function(e,t){e.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},cecf:function(e,t,r){"use strict";var n=r("1a94"),i=r("96ae"),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,l=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(r,u){var c,f=arguments[2],p=arguments[3];return r=Object(i(r)),n(u),c=s(r),p&&c.sort("function"===typeof p?o.call(p,r):void 0),"function"!==typeof e&&(e=c[e]),a.call(e,c,(function(e,n){return l.call(r,e)?a.call(u,f,r[e],e,r,n):t}))}}},cee0:function(e,t,r){"use strict";e.exports=a;var n=r("92ba"),i=r("ff85");function o(e,t,r){var i=Math.abs(n(e,t,r)),o=Math.sqrt(Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2));return i/o}function a(e,t,r){for(var n=t.length,a=e.length,s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),f=0;f<n;++f)s[f]=l[f]=-1,u[f]=1/0,c[f]=!1;for(f=0;f<a;++f){var p=e[f];if(2!==p.length)throw new Error("Input must be a graph");var d=p[1],h=p[0];-1!==l[h]?l[h]=-2:l[h]=d,-1!==s[d]?s[d]=-2:s[d]=h}function v(e){if(c[e])return 1/0;var r=s[e],n=l[e];return r<0||n<0?1/0:o(t[e],t[r],t[n])}function m(e,t){var r=E[e],n=E[t];E[e]=n,E[t]=r,k[r]=t,k[n]=e}function g(e){return u[E[e]]}function y(e){return 1&e?e-1>>1:(e>>1)-1}function b(e){var t=g(e);while(1){var r=t,n=2*e+1,i=2*(e+1),o=e;if(n<C){var a=g(n);a<r&&(o=n,r=a)}if(i<C){var s=g(i);s<r&&(o=i)}if(o===e)return e;m(e,o),e=o}}function x(e){var t=g(e);while(e>0){var r=y(e);if(r>=0){var n=g(r);if(t<n){m(e,r),e=r;continue}}return e}}function A(){if(C>0){var e=E[0];return m(0,C-1),C-=1,b(0),e}return-1}function w(e,t){var r=E[e];return u[r]===t?e:(u[r]=-1/0,x(e),A(),u[r]=t,C+=1,x(C-1))}function _(e){if(!c[e]){c[e]=!0;var t=s[e],r=l[e];s[r]>=0&&(s[r]=t),l[t]>=0&&(l[t]=r),k[t]>=0&&w(k[t],v(t)),k[r]>=0&&w(k[r],v(r))}}var E=[],k=new Array(n);for(f=0;f<n;++f){var T=u[f]=v(f);T<1/0?(k[f]=E.length,E.push(f)):k[f]=-1}var C=E.length;for(f=C>>1;f>=0;--f)b(f);while(1){var S=A();if(S<0||u[S]>r)break;_(S)}var O=[];for(f=0;f<n;++f)c[f]||(k[f]=O.length,O.push(t[f].slice()));O.length;function M(e,t){if(e[t]<0)return t;var r=t,n=t;do{var i=e[n];if(!c[n]||i<0||i===n)break;if(n=i,i=e[n],!c[n]||i<0||i===n)break;n=i,r=e[r]}while(r!==n);for(var o=t;o!==n;o=e[o])e[o]=n;return n}var P=[];return e.forEach((function(e){var t=M(s,e[0]),r=M(l,e[1]);if(t>=0&&r>=0&&t!==r){var n=k[t],i=k[r];n!==i&&P.push([n,i])}})),i.unique(i.normalize(P)),{positions:O,edges:P}}},cef0:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("d858"),a=r("fdc7");function s(e){return u(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function l(e){return u(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function u(e,t,r,i,s,l){var u=e/2,c=l;if("pixel"===t){var f=s?a.extractPathCoords(s,l?o.paramIsY:o.paramIsX):[r,i],p=n.aggNums(Math.max,null,f),d=n.aggNums(Math.min,null,f),h=d<0?Math.abs(d)+u:u,v=p>0?p+u:u;return{ppad:u,ppadplus:c?h:v,ppadminus:c?v:h}}return{ppad:u}}function c(e,t,r,n,i){var s="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[s(t),s(r)];if(n){var l,u,c,f,p,d=1/0,h=-1/0,v=n.match(o.segmentRE);for("date"===e.type&&(s=a.decodeDate(s)),l=0;l<v.length;l++)u=v[l],c=i[u.charAt(0)].drawn,void 0!==c&&(f=v[l].substr(1).match(o.paramRE),!f||f.length<c||(p=s(f[c]),p<d&&(d=p),p>h&&(h=p)));return h>=d?[d,h]:void 0}}e.exports=function(e){var t=e._fullLayout,r=n.filterVisible(t.shapes);if(r.length&&e._fullData.length)for(var a=0;a<r.length;a++){var u,f,p=r[a];p._extremes={};var d=i.getRefType(p.xref),h=i.getRefType(p.yref);if("paper"!==p.xref&&"domain"!==d){var v="pixel"===p.xsizemode?p.xanchor:p.x0,m="pixel"===p.xsizemode?p.xanchor:p.x1;u=i.getFromId(e,p.xref),f=c(u,v,m,p.path,o.paramIsX),f&&(p._extremes[u._id]=i.findExtremes(u,f,s(p)))}if("paper"!==p.yref&&"domain"!==h){var g="pixel"===p.ysizemode?p.yanchor:p.y0,y="pixel"===p.ysizemode?p.yanchor:p.y1;u=i.getFromId(e,p.yref),f=c(u,g,y,p.path,o.paramIsY),f&&(p._extremes[u._id]=i.findExtremes(u,f,l(p)))}}}},cf13:function(e,t,r){"use strict";var n=r("ce563");function i(e){var t=e.getSelection();if(!t.rangeCount)return null;var r=t.getRangeAt(0),i=n(r),o=i.top,a=i.right,s=i.bottom,l=i.left;return 0===o&&0===a&&0===s&&0===l?null:i}e.exports=i},cf42:function(e,t,r){"use strict";(function(t){var n=r("609c"),i=r("7dbb");e.exports=function(e,r){var o=e._fullLayout,a=!0;return o._glcanvas.each((function(n){if(!n.regl&&(!n.pick||o._has("parcoords"))){try{n.regl=i({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:e._context.plotGlPixelRatio||t.devicePixelRatio,extensions:r||[]})}catch(s){a=!1}n.regl||(a=!1),a&&this.addEventListener("webglcontextlost",(function(t){e&&e.emit&&e.emit("plotly_webglcontextlost",{event:t,layer:n.key})}),!1)}})),a||n({container:o._glcontainer.node()}),a}}).call(this,r("c8ba"))},cf8b:function(e,t){function r(){var e=new Float32Array(3);return e[0]=0,e[1]=0,e[2]=0,e}e.exports=r},cf9f:function(e,t,r){"use strict";var n=r("6e58"),i=r("b5e3"),o=r("a5c4"),a=r("fc26"),s=a.strTranslate,l=r("83d1"),u=r("66cb"),c=r("0379");function f(e,t,r,i){var o=e.map(H.bind(0,t,r)),u=i.selectAll("g.parcatslayer").data([null]);u.enter().append("g").attr("class","parcatslayer").style("pointer-events","all");var f=u.selectAll("g.trace.parcats").data(o,p),g=f.enter().append("g").attr("class","trace parcats");f.attr("transform",(function(e){return s(e.x,e.y)})),g.append("g").attr("class","paths");var y=f.select("g.paths"),A=y.selectAll("path.path").data((function(e){return e.paths}),p);A.attr("fill",(function(e){return e.model.color}));var w=A.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",(function(e){return e.model.color})).attr("fill-opacity",0);x(w),A.attr("d",(function(e){return e.svgD})),w.empty()||A.sort(h),A.exit().remove(),A.on("mouseover",v).on("mouseout",m).on("click",b),g.append("g").attr("class","dimensions");var E=f.select("g.dimensions"),T=E.selectAll("g.dimension").data((function(e){return e.dimensions}),p);T.enter().append("g").attr("class","dimension"),T.attr("transform",(function(e){return s(e.x,0)})),T.exit().remove();var C=T.selectAll("g.category").data((function(e){return e.categories}),p),S=C.enter().append("g").attr("class","category");C.attr("transform",(function(e){return s(0,e.y)})),S.append("rect").attr("class","catrect").attr("pointer-events","none"),C.select("rect.catrect").attr("fill","none").attr("width",(function(e){return e.width})).attr("height",(function(e){return e.height})),_(S);var O=C.selectAll("rect.bandrect").data((function(e){return e.bands}),p);O.each((function(){a.raiseToTop(this)})),O.attr("fill",(function(e){return e.color}));var M=O.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",(function(e){return e.color})).attr("fill-opacity",0);O.attr("fill",(function(e){return e.color})).attr("width",(function(e){return e.width})).attr("height",(function(e){return e.height})).attr("y",(function(e){return e.y})).attr("cursor",(function(e){return"fixed"===e.parcatsViewModel.arrangement?"default":"perpendicular"===e.parcatsViewModel.arrangement?"ns-resize":"move"})),k(M),O.exit().remove(),S.append("text").attr("class","catlabel").attr("pointer-events","none");var P=t._fullLayout.paper_bgcolor;C.select("text.catlabel").attr("text-anchor",(function(e){return d(e)?"start":"end"})).attr("alignment-baseline","middle").style("text-shadow",P+" -1px 1px 2px, "+P+" 1px 1px 2px, "+P+" 1px -1px 2px, "+P+" -1px -1px 2px").style("fill","rgb(0, 0, 0)").attr("x",(function(e){return d(e)?e.width+5:-5})).attr("y",(function(e){return e.height/2})).text((function(e){return e.model.categoryLabel})).each((function(e){l.font(n.select(this),e.parcatsViewModel.categorylabelfont),c.convertToTspans(n.select(this),t)})),S.append("text").attr("class","dimlabel"),C.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",(function(e){return"fixed"===e.parcatsViewModel.arrangement?"default":"ew-resize"})).attr("x",(function(e){return e.width/2})).attr("y",-5).text((function(e,t){return 0===t?e.parcatsViewModel.model.dimensions[e.model.dimensionInd].dimensionLabel:null})).each((function(e){l.font(n.select(this),e.parcatsViewModel.labelfont)})),C.selectAll("rect.bandrect").on("mouseover",D).on("mouseout",I),C.exit().remove(),T.call(n.behavior.drag().origin((function(e){return{x:e.x,y:0}})).on("dragstart",j).on("drag",R).on("dragend",F)),f.each((function(e){e.traceSelection=n.select(this),e.pathSelection=n.select(this).selectAll("g.paths").selectAll("path.path"),e.dimensionSelection=n.select(this).selectAll("g.dimensions").selectAll("g.dimension")})),f.exit().remove()}function p(e){return e.key}function d(e){var t=e.parcatsViewModel.dimensions.length,r=e.parcatsViewModel.dimensions[t-1].model.dimensionInd;return e.model.dimensionInd===r}function h(e,t){return e.model.rawColor>t.model.rawColor?1:e.model.rawColor<t.model.rawColor?-1:0}function v(e){if(!e.parcatsViewModel.dragDimension&&-1===e.parcatsViewModel.hoverinfoItems.indexOf("skip")){a.raiseToTop(this),A(n.select(this));var t=g(e),r=y(e);if(e.parcatsViewModel.graphDiv.emit("plotly_hover",{points:t,event:n.event,constraints:r}),-1===e.parcatsViewModel.hoverinfoItems.indexOf("none")){var i,s,l,c=n.mouse(this)[0],f=e.parcatsViewModel.graphDiv,p=e.parcatsViewModel.trace,d=f._fullLayout,h=d._paperdiv.node().getBoundingClientRect(),v=e.parcatsViewModel.graphDiv.getBoundingClientRect();for(l=0;l<e.leftXs.length-1;l++)if(e.leftXs[l]+e.dimWidths[l]-2<=c&&c<=e.leftXs[l+1]+2){var m=e.parcatsViewModel.dimensions[l],b=e.parcatsViewModel.dimensions[l+1];i=(m.x+m.width+b.x)/2,s=(e.topYs[l]+e.topYs[l+1]+e.height)/2;break}var x=e.parcatsViewModel.x+i,w=e.parcatsViewModel.y+s,_=u.mostReadable(e.model.color,["black","white"]),E=e.model.count,k=E/e.parcatsViewModel.model.count,T={countLabel:E,probabilityLabel:k.toFixed(3)},C=[];-1!==e.parcatsViewModel.hoverinfoItems.indexOf("count")&&C.push(["Count:",T.countLabel].join(" ")),-1!==e.parcatsViewModel.hoverinfoItems.indexOf("probability")&&C.push(["P:",T.probabilityLabel].join(" "));var S=C.join("<br>"),O=n.mouse(f)[0];o.loneHover({trace:p,x:x-h.left+v.left,y:w-h.top+v.top,text:S,color:e.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:_,idealAlign:O<x?"right":"left",hovertemplate:(p.line||{}).hovertemplate,hovertemplateLabels:T,eventData:[{data:p._input,fullData:p,count:E,probability:k}]},{container:d._hoverlayer.node(),outerContainer:d._paper.node(),gd:f})}}}function m(e){if(!e.parcatsViewModel.dragDimension&&(x(n.select(this)),o.loneUnhover(e.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()),e.parcatsViewModel.pathSelection.sort(h),-1===e.parcatsViewModel.hoverinfoItems.indexOf("skip"))){var t=g(e),r=y(e);e.parcatsViewModel.graphDiv.emit("plotly_unhover",{points:t,event:n.event,constraints:r})}}function g(e){for(var t=[],r=N(e.parcatsViewModel),n=0;n<e.model.valueInds.length;n++){var i=e.model.valueInds[n];t.push({curveNumber:r,pointNumber:i})}return t}function y(e){for(var t={},r=e.parcatsViewModel.model.dimensions,n=0;n<r.length;n++){var i=r[n],o=i.categories[e.model.categoryInds[n]];t[i.containerInd]=o.categoryValue}return void 0!==e.model.rawColor&&(t.color=e.model.rawColor),t}function b(e){if(-1===e.parcatsViewModel.hoverinfoItems.indexOf("skip")){var t=g(e),r=y(e);e.parcatsViewModel.graphDiv.emit("plotly_click",{points:t,event:n.event,constraints:r})}}function x(e){e.attr("fill",(function(e){return e.model.color})).attr("fill-opacity",.6).attr("stroke","lightgray").attr("stroke-width",.2).attr("stroke-opacity",1)}function A(e){e.attr("fill-opacity",.8).attr("stroke",(function(e){return u.mostReadable(e.model.color,["black","white"])})).attr("stroke-width",.3)}function w(e){e.select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}function _(e){e.select("rect.catrect").attr("stroke","black").attr("stroke-width",1).attr("stroke-opacity",1)}function E(e){e.attr("stroke","black").attr("stroke-width",1.5)}function k(e){e.attr("stroke","black").attr("stroke-width",.2).attr("stroke-opacity",1).attr("fill-opacity",1)}function T(e){var t=e.parcatsViewModel.pathSelection,r=e.categoryViewModel.model.dimensionInd,n=e.categoryViewModel.model.categoryInd;return t.filter((function(t){return t.model.categoryInds[r]===n&&t.model.color===e.color}))}function C(e){var t=n.select(e.parentNode).selectAll("rect.bandrect");t.each((function(e){var t=T(e);A(t),t.each((function(){a.raiseToTop(this)}))})),w(n.select(e.parentNode))}function S(e){var t=n.select(e).datum(),r=T(t);A(r),r.each((function(){a.raiseToTop(this)})),n.select(e.parentNode).selectAll("rect.bandrect").filter((function(e){return e.color===t.color})).each((function(){a.raiseToTop(this),E(n.select(this))}))}function O(e,t,r){var i=n.select(e).datum(),o=i.categoryViewModel.model,a=i.parcatsViewModel.graphDiv,s=n.select(e.parentNode).selectAll("rect.bandrect"),l=[];s.each((function(e){var t=T(e);t.each((function(e){Array.prototype.push.apply(l,g(e))}))}));var u={};u[o.dimensionInd]=o.categoryValue,a.emit(t,{points:l,event:r,constraints:u})}function M(e,t,r){var i=n.select(e).datum(),o=i.categoryViewModel.model,a=i.parcatsViewModel.graphDiv,s=T(i),l=[];s.each((function(e){Array.prototype.push.apply(l,g(e))}));var u={};u[o.dimensionInd]=o.categoryValue,void 0!==i.rawColor&&(u.color=i.rawColor),a.emit(t,{points:l,event:r,constraints:u})}function P(e,t,r){e._fullLayout._calcInverseTransform(e);var i,o,a=e._fullLayout._invScaleX,s=e._fullLayout._invScaleY,l=n.select(r.parentNode).select("rect.catrect"),u=l.node().getBoundingClientRect(),c=l.datum(),f=c.parcatsViewModel,p=f.model.dimensions[c.model.dimensionInd],d=f.trace,h=u.top+u.height/2;f.dimensions.length>1&&p.displayInd===f.dimensions.length-1?(i=u.left,o="left"):(i=u.left+u.width,o="right");var v=c.model.count,m=c.model.categoryLabel,g=v/c.parcatsViewModel.model.count,y={countLabel:v,categoryLabel:m,probabilityLabel:g.toFixed(3)},b=[];-1!==c.parcatsViewModel.hoverinfoItems.indexOf("count")&&b.push(["Count:",y.countLabel].join(" ")),-1!==c.parcatsViewModel.hoverinfoItems.indexOf("probability")&&b.push(["P("+y.categoryLabel+"):",y.probabilityLabel].join(" "));var x=b.join("<br>");return{trace:d,x:a*(i-t.left),y:s*(h-t.top),text:x,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:o,hovertemplate:d.hovertemplate,hovertemplateLabels:y,eventData:[{data:d._input,fullData:d,count:v,category:m,probability:g}]}}function B(e,t,r){var i=[];return n.select(r.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each((function(){var r=this;i.push(P(e,t,r))})),i}function L(e,t,r){e._fullLayout._calcInverseTransform(e);var i,o,a=e._fullLayout._invScaleX,s=e._fullLayout._invScaleY,l=r.getBoundingClientRect(),c=n.select(r).datum(),f=c.categoryViewModel,p=f.parcatsViewModel,d=p.model.dimensions[f.model.dimensionInd],h=p.trace,v=l.y+l.height/2;p.dimensions.length>1&&d.displayInd===p.dimensions.length-1?(i=l.left,o="left"):(i=l.left+l.width,o="right");var m=f.model.categoryLabel,g=c.parcatsViewModel.model.count,y=0;c.categoryViewModel.bands.forEach((function(e){e.color===c.color&&(y+=e.count)}));var b=f.model.count,x=0;p.pathSelection.each((function(e){e.model.color===c.color&&(x+=e.model.count)}));var A=y/g,w=y/x,_=y/b,E={countLabel:g,categoryLabel:m,probabilityLabel:A.toFixed(3)},k=[];-1!==f.parcatsViewModel.hoverinfoItems.indexOf("count")&&k.push(["Count:",E.countLabel].join(" ")),-1!==f.parcatsViewModel.hoverinfoItems.indexOf("probability")&&(k.push("P(color ∩ "+m+"): "+E.probabilityLabel),k.push("P("+m+" | color): "+w.toFixed(3)),k.push("P(color | "+m+"): "+_.toFixed(3)));var T=k.join("<br>"),C=u.mostReadable(c.color,["black","white"]);return{trace:h,x:a*(i-t.left),y:s*(v-t.top),text:T,color:c.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:C,fontSize:10,idealAlign:o,hovertemplate:h.hovertemplate,hovertemplateLabels:E,eventData:[{data:h._input,fullData:h,category:m,count:g,probability:A,categorycount:b,colorcount:x,bandcolorcount:y}]}}function D(e){if(!e.parcatsViewModel.dragDimension&&-1===e.parcatsViewModel.hoverinfoItems.indexOf("skip")){var t=n.mouse(this)[1];if(t<-1)return;var r,i=e.parcatsViewModel.graphDiv,a=i._fullLayout,s=a._paperdiv.node().getBoundingClientRect(),l=e.parcatsViewModel.hoveron,u=this;if("color"===l?(S(u),M(u,"plotly_hover",n.event)):(C(u),O(u,"plotly_hover",n.event)),-1===e.parcatsViewModel.hoverinfoItems.indexOf("none"))"category"===l?r=P(i,s,u):"color"===l?r=L(i,s,u):"dimension"===l&&(r=B(i,s,u)),r&&o.loneHover(r,{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:i})}}function I(e){var t=e.parcatsViewModel;if(!t.dragDimension&&(x(t.pathSelection),_(t.dimensionSelection.selectAll("g.category")),k(t.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),o.loneUnhover(t.graphDiv._fullLayout._hoverlayer.node()),t.pathSelection.sort(h),-1===t.hoverinfoItems.indexOf("skip"))){var r=e.parcatsViewModel.hoveron,i=this;"color"===r?M(i,"plotly_unhover",n.event):O(i,"plotly_unhover",n.event)}}function j(e){"fixed"!==e.parcatsViewModel.arrangement&&(e.dragDimensionDisplayInd=e.model.displayInd,e.initialDragDimensionDisplayInds=e.parcatsViewModel.model.dimensions.map((function(e){return e.displayInd})),e.dragHasMoved=!1,e.dragCategoryDisplayInd=null,n.select(this).selectAll("g.category").select("rect.catrect").each((function(t){var r=n.mouse(this)[0],i=n.mouse(this)[1];-2<=r&&r<=t.width+2&&-2<=i&&i<=t.height+2&&(e.dragCategoryDisplayInd=t.model.displayInd,e.initialDragCategoryDisplayInds=e.model.categories.map((function(e){return e.displayInd})),t.model.dragY=t.y,a.raiseToTop(this.parentNode),n.select(this.parentNode).selectAll("rect.bandrect").each((function(t){t.y<i&&i<=t.y+t.height&&(e.potentialClickBand=this)})))})),e.parcatsViewModel.dragDimension=e,o.loneUnhover(e.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()))}function R(e){if("fixed"!==e.parcatsViewModel.arrangement&&(e.dragHasMoved=!0,null!==e.dragDimensionDisplayInd)){var t=e.dragDimensionDisplayInd,r=t-1,i=t+1,o=e.parcatsViewModel.dimensions[t];if(null!==e.dragCategoryDisplayInd){var a=o.categories[e.dragCategoryDisplayInd];a.model.dragY+=n.event.dy;var s=a.model.dragY,l=a.model.displayInd,u=o.categories,c=u[l-1],f=u[l+1];void 0!==c&&s<c.y+c.height/2&&(a.model.displayInd=c.model.displayInd,c.model.displayInd=l),void 0!==f&&s+a.height>f.y+f.height/2&&(a.model.displayInd=f.model.displayInd,f.model.displayInd=l),e.dragCategoryDisplayInd=a.model.displayInd}if(null===e.dragCategoryDisplayInd||"freeform"===e.parcatsViewModel.arrangement){o.model.dragX=n.event.x;var p=e.parcatsViewModel.dimensions[r],d=e.parcatsViewModel.dimensions[i];void 0!==p&&o.model.dragX<p.x+p.width&&(o.model.displayInd=p.model.displayInd,p.model.displayInd=t),void 0!==d&&o.model.dragX+o.width>d.x&&(o.model.displayInd=d.model.displayInd,d.model.displayInd=e.dragDimensionDisplayInd),e.dragDimensionDisplayInd=o.model.displayInd}W(e.parcatsViewModel),Q(e.parcatsViewModel),U(e.parcatsViewModel),z(e.parcatsViewModel)}}function F(e){if("fixed"!==e.parcatsViewModel.arrangement&&null!==e.dragDimensionDisplayInd){n.select(this).selectAll("text").attr("font-weight","normal");var t={},r=N(e.parcatsViewModel),o=e.parcatsViewModel.model.dimensions.map((function(e){return e.displayInd})),a=e.initialDragDimensionDisplayInds.some((function(e,t){return e!==o[t]}));a&&o.forEach((function(r,n){var i=e.parcatsViewModel.model.dimensions[n].containerInd;t["dimensions["+i+"].displayindex"]=r}));var s=!1;if(null!==e.dragCategoryDisplayInd){var l=e.model.categories.map((function(e){return e.displayInd}));if(s=e.initialDragCategoryDisplayInds.some((function(e,t){return e!==l[t]})),s){var u=e.model.categories.slice().sort((function(e,t){return e.displayInd-t.displayInd})),c=u.map((function(e){return e.categoryValue})),f=u.map((function(e){return e.categoryLabel}));t["dimensions["+e.model.containerInd+"].categoryarray"]=[c],t["dimensions["+e.model.containerInd+"].ticktext"]=[f],t["dimensions["+e.model.containerInd+"].categoryorder"]="array"}}if(-1===e.parcatsViewModel.hoverinfoItems.indexOf("skip")&&!e.dragHasMoved&&e.potentialClickBand&&("color"===e.parcatsViewModel.hoveron?M(e.potentialClickBand,"plotly_click",n.event.sourceEvent):O(e.potentialClickBand,"plotly_click",n.event.sourceEvent)),e.model.dragX=null,null!==e.dragCategoryDisplayInd){var p=e.parcatsViewModel.dimensions[e.dragDimensionDisplayInd].categories[e.dragCategoryDisplayInd];p.model.dragY=null,e.dragCategoryDisplayInd=null}e.dragDimensionDisplayInd=null,e.parcatsViewModel.dragDimension=null,e.dragHasMoved=null,e.potentialClickBand=null,W(e.parcatsViewModel),Q(e.parcatsViewModel);var d=n.transition().duration(300).ease("cubic-in-out");d.each((function(){U(e.parcatsViewModel,!0),z(e.parcatsViewModel,!0)})).each("end",(function(){(a||s)&&i.restyle(e.parcatsViewModel.graphDiv,t,[r])}))}}function N(e){for(var t,r=e.graphDiv._fullData,n=0;n<r.length;n++)if(e.key===r[n].uid){t=n;break}return t}function z(e,t){function r(e){return t?e.transition():e}void 0===t&&(t=!1),e.pathSelection.data((function(e){return e.paths}),p),r(e.pathSelection).attr("d",(function(e){return e.svgD}))}function U(e,t){function r(e){return t?e.transition():e}void 0===t&&(t=!1),e.dimensionSelection.data((function(e){return e.dimensions}),p);var i=e.dimensionSelection.selectAll("g.category").data((function(e){return e.categories}),p);r(e.dimensionSelection).attr("transform",(function(e){return s(e.x,0)})),r(i).attr("transform",(function(e){return s(0,e.y)}));var o=i.select(".dimlabel");o.text((function(e,t){return 0===t?e.parcatsViewModel.model.dimensions[e.model.dimensionInd].dimensionLabel:null}));var l=i.select(".catlabel");l.attr("text-anchor",(function(e){return d(e)?"start":"end"})).attr("x",(function(e){return d(e)?e.width+5:-5})).each((function(e){var t,r;d(e)?(t=e.width+5,r="start"):(t=-5,r="end"),n.select(this).selectAll("tspan").attr("x",t).attr("text-anchor",r)}));var u=i.selectAll("rect.bandrect").data((function(e){return e.bands}),p),c=u.enter().append("rect").attr("class","bandrect").attr("cursor","move").attr("stroke-opacity",0).attr("fill",(function(e){return e.color})).attr("fill-opacity",0);u.attr("fill",(function(e){return e.color})).attr("width",(function(e){return e.width})).attr("height",(function(e){return e.height})).attr("y",(function(e){return e.y})),k(c),u.each((function(){a.raiseToTop(this)})),u.exit().remove()}function H(e,t,r){var n,i=r[0],o=t.margin||{l:80,r:80,t:100,b:80},a=i.trace,s=a.domain,l=t.width,u=t.height,c=Math.floor(l*(s.x[1]-s.x[0])),f=Math.floor(u*(s.y[1]-s.y[0])),p=s.x[0]*l+o.l,d=t.height-s.y[1]*t.height+o.t,h=a.line.shape;n="all"===a.hoverinfo?["count","probability"]:(a.hoverinfo||"").split("+");var v={trace:a,key:a.uid,model:i,x:p,y:d,width:c,height:f,hoveron:a.hoveron,hoverinfoItems:n,arrangement:a.arrangement,bundlecolors:a.bundlecolors,sortpaths:a.sortpaths,labelfont:a.labelfont,categorylabelfont:a.tickfont,pathShape:h,dragDimension:null,margin:o,paths:[],dimensions:[],graphDiv:e,traceSelection:null,pathSelection:null,dimensionSelection:null};return i.dimensions&&(W(v),Q(v)),v}function V(e,t,r,i,o){var a,s,l=[],u=[];for(s=0;s<r.length-1;s++)a=n.interpolateNumber(r[s]+e[s],e[s+1]),l.push(a(o)),u.push(a(1-o));var c="M "+e[0]+","+t[0];for(c+="l"+r[0]+",0 ",s=1;s<r.length;s++)c+="C"+l[s-1]+","+t[s-1]+" "+u[s-1]+","+t[s]+" "+e[s]+","+t[s],c+="l"+r[s]+",0 ";for(c+="l0,"+i+" ",c+="l -"+r[r.length-1]+",0 ",s=r.length-2;s>=0;s--)c+="C"+u[s]+","+(t[s+1]+i)+" "+l[s]+","+(t[s]+i)+" "+(e[s]+r[s])+","+(t[s]+i),c+="l-"+r[s]+",0 ";return c+="Z",c}function Q(e){var t=e.dimensions,r=e.model,n=t.map((function(e){return e.categories.map((function(e){return e.y}))})),i=e.model.dimensions.map((function(e){return e.categories.map((function(e){return e.displayInd}))})),o=e.model.dimensions.map((function(e){return e.displayInd})),a=e.dimensions.map((function(e){return e.model.dimensionInd})),s=t.map((function(e){return e.x})),l=t.map((function(e){return e.width})),u=[];for(var c in r.paths)r.paths.hasOwnProperty(c)&&u.push(r.paths[c]);function f(e){var t=e.categoryInds.map((function(e,t){return i[t][e]})),r=a.map((function(e){return t[e]}));return r}u.sort((function(t,r){var n=f(t),i=f(r);return"backward"===e.sortpaths&&(n.reverse(),i.reverse()),n.push(t.valueInds[0]),i.push(r.valueInds[0]),e.bundlecolors&&(n.unshift(t.rawColor),i.unshift(r.rawColor)),n<i?-1:n>i?1:0}));for(var p=new Array(u.length),d=t[0].model.count,h=t[0].categories.map((function(e){return e.height})).reduce((function(e,t){return e+t})),v=0;v<u.length;v++){var m,g=u[v];m=d>0?h*(g.count/d):0;for(var y,b=new Array(n.length),x=0;x<g.categoryInds.length;x++){var A=g.categoryInds[x],w=i[x][A],_=o[x];b[_]=n[_][w],n[_][w]+=m;var E=e.dimensions[_].categories[w],k=E.bands.length,T=E.bands[k-1];if(void 0===T||g.rawColor!==T.rawColor){var C=void 0===T?0:T.y+T.height;E.bands.push({key:C,color:g.color,rawColor:g.rawColor,height:m,width:E.width,count:g.count,y:C,categoryViewModel:E,parcatsViewModel:e})}else{var S=E.bands[k-1];S.height+=m,S.count+=g.count}}y="hspline"===e.pathShape?V(s,b,l,m,.5):V(s,b,l,m,0),p[v]={key:g.valueInds[0],model:g,height:m,leftXs:s,topYs:b,dimWidths:l,svgD:y,parcatsViewModel:e}}e.paths=p}function W(e){var t=e.model.dimensions.map((function(e){return{displayInd:e.displayInd,dimensionInd:e.dimensionInd}}));t.sort((function(e,t){return e.displayInd-t.displayInd}));var r=[];for(var n in t){var i=t[n].dimensionInd,o=e.model.dimensions[i];r.push(K(e,o))}e.dimensions=r}function K(e,t){var r,n,i,o=40,a=16,s=e.model.dimensions.length,l=t.displayInd;r=s>1?(e.width-2*o-a)/(s-1):0,n=o,i=n+r*l;var u,c,f,p,d,h=[],v=e.model.maxCats,m=t.categories.length,g=8,y=t.count,b=e.height-g*(v-1),x=(v-m)*g/2,A=t.categories.map((function(e){return{displayInd:e.displayInd,categoryInd:e.categoryInd}}));for(A.sort((function(e,t){return e.displayInd-t.displayInd})),d=0;d<m;d++)p=A[d].categoryInd,c=t.categories[p],u=y>0?c.count/y*b:0,f={key:c.valueInds[0],model:c,width:a,height:u,y:null!==c.dragY?c.dragY:x,bands:[],parcatsViewModel:e},x=x+u+g,h.push(f);return{key:t.dimensionInd,x:null!==t.dragX?t.dragX:i,y:0,width:a,model:t,categories:h,parcatsViewModel:e,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}e.exports=function(e,t,r,n){f(r,e,n,t)}},d001:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M16 14l-4-4.017A6.456 6.456 0 0 0 13 6.5a6.501 6.501 0 0 0-13 0C0 10.089 2.923 13 6.512 13a6.45 6.45 0 0 0 3.495-1L14 15.993 16 14zM3 10V3h7v7H3zm1-6h5v5H4V4z"}))};t.default=u},d012:function(e,t){e.exports={}},d02c:function(e,t,r){var n=r("5e2e"),i=r("79bc"),o=r("7b83"),a=200;function s(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}e.exports=s},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d064:function(e,t,r){"use strict";var n=r("fc26"),i=r("e806").BADNUM,o=r("8797");e.exports=function(e,t,r,a,s,l){var u=e._length,c=t.makeCalcdata(e,a),f=r.makeCalcdata(e,s);c=o(e,t,a,c),f=o(e,r,s,f);var p,d,h,v,m=e.text,g=void 0!==m&&n.isArray1D(m),y=e.hovertext,b=void 0!==y&&n.isArray1D(y),x=n.distinctVals(c),A=x.vals,w=n.distinctVals(f),_=w.vals,E=[],k=_.length,T=A.length;for(p=0;p<l.length;p++)E[p]=n.init2dArray(k,T);g&&(h=n.init2dArray(k,T)),b&&(v=n.init2dArray(k,T));var C=n.init2dArray(k,T);for(p=0;p<u;p++)if(c[p]!==i&&f[p]!==i){var S=n.findBin(c[p]+x.minDiff/2,A),O=n.findBin(f[p]+w.minDiff/2,_);for(d=0;d<l.length;d++){var M=l[d],P=e[M],B=E[d];B[O][S]=P[p],C[O][S]=p}g&&(h[O][S]=m[p]),b&&(v[O][S]=y[p])}for(e["_"+a]=A,e["_"+s]=_,d=0;d<l.length;d++)e["_"+l[d]]=E[d];g&&(e._text=h),b&&(e._hovertext=v),t&&"category"===t.type&&(e["_"+a+"CategoryMap"]=A.map((function(e){return t._categories[e]}))),r&&"category"===r.type&&(e["_"+s+"CategoryMap"]=_.map((function(e){return r._categories[e]}))),e._after2before=C}},d064b:function(e,t,r){"use strict";var n=r("eb73"),i=r("a3fd");function o(e){var t=new Function("y","return function(){return y}");return t(e)}function a(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function s(e,t,r,s){function l(r){var n=new Function("gl","wrapper","locations","return function(){return gl.getUniform(wrapper.program,locations["+r+"])}");return n(e,t,s)}function u(e,t,r){switch(r){case"bool":case"int":case"sampler2D":case"samplerCube":return"gl.uniform1i(locations["+t+"],obj"+e+")";case"float":return"gl.uniform1f(locations["+t+"],obj"+e+")";default:var n=r.indexOf("vec");if(!(0<=n&&n<=1&&r.length===4+n)){if(0===r.indexOf("mat")&&4===r.length){o=r.charCodeAt(r.length-1)-48;if(o<2||o>4)throw new i("","Invalid uniform dimension type for matrix "+name+": "+r);return"gl.uniformMatrix"+o+"fv(locations["+t+"],false,obj"+e+")"}throw new i("","Unknown uniform data type for "+name+": "+r)}var o=r.charCodeAt(r.length-1)-48;if(o<2||o>4)throw new i("","Invalid data type");switch(r.charAt(0)){case"b":case"i":return"gl.uniform"+o+"iv(locations["+t+"],obj"+e+")";case"v":return"gl.uniform"+o+"fv(locations["+t+"],obj"+e+")";default:throw new i("","Unrecognized data type for vector "+name+": "+r)}break}}function c(e,t){if("object"!==typeof t)return[[e,t]];var r=[];for(var n in t){var i=t[n],o=e;parseInt(n)+""===n?o+="["+n+"]":o+="."+n,"object"===typeof i?r.push.apply(r,c(o,i)):r.push([o,i])}return r}function f(t){for(var n=["return function updateProperty(obj){"],i=c("",t),o=0;o<i.length;++o){var a=i[o],l=a[0],f=a[1];s[f]&&n.push(u(l,f,r[f].type))}n.push("return obj}");var p=new Function("gl","locations",n.join("\n"));return p(e,s)}function p(e){switch(e){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":return 0;case"float":return 0;default:var t=e.indexOf("vec");if(0<=t&&t<=1&&e.length===4+t){var r=e.charCodeAt(e.length-1)-48;if(r<2||r>4)throw new i("","Invalid data type");return"b"===e.charAt(0)?a(r,!1):a(r,0)}if(0===e.indexOf("mat")&&4===e.length){r=e.charCodeAt(e.length-1)-48;if(r<2||r>4)throw new i("","Invalid uniform dimension type for matrix "+name+": "+e);return a(r*r,0)}throw new i("","Unknown uniform data type for "+name+": "+e)}}function d(e,t,n){if("object"===typeof n){var i=h(n);Object.defineProperty(e,t,{get:o(i),set:f(n),enumerable:!0,configurable:!1})}else s[n]?Object.defineProperty(e,t,{get:l(n),set:f(n),enumerable:!0,configurable:!1}):e[t]=p(r[n].type)}function h(e){var t;if(Array.isArray(e)){t=new Array(e.length);for(var r=0;r<e.length;++r)d(t,r,e[r])}else for(var n in t={},e)d(t,n,e[n]);return t}var v=n(r,!0);return{get:o(h(v)),set:f(v),enumerable:!0,configurable:!0}}e.exports=s},d066:function(e,t,r){var n=r("428f"),i=r("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},d068:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#1d9bfb",stroke:"#1d9bfb",d:"M23.511 23.571L9.516 30.045l13.929 6.319L37 30.045l-13.489-6.474z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("circle",{cx:"11",cy:"23",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"16",cy:"28",r:"2",fill:"#25fdfc"}),o.default.createElement("circle",{cx:"16",cy:"15",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"26",cy:"32",r:"2",fill:"#25fdfc"}),o.default.createElement("circle",{cx:"26",cy:"26",r:"2",fill:"#25fdfc"}),o.default.createElement("circle",{cx:"26",cy:"18",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"26",cy:"10",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"36",cy:"25",r:"2",fill:"#1d9bfb"}),o.default.createElement("circle",{cx:"36",cy:"19",r:"2",fill:"#1d9bfb"}))};t.default=u},d06d:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("de81"),a=r("5047"),s=r("59be"),l=r("e9f7"),u=r("9036");function c(e,t,r,i){var o=0,a=r("x"),s=r("y"),l=r("z"),u=n.getComponentMethod("calendars","handleTraceDefaults");return u(e,t,["x","y","z"],i),a&&s&&l&&(o=Math.min(a.length,s.length,l.length),t._length=t._xlength=t._ylength=t._zlength=o),o}e.exports=function(e,t,r,f){function p(r,n){return i.coerce(e,t,u,r,n)}var d=c(e,t,p,f);if(d){p("text"),p("hovertext"),p("hovertemplate"),p("mode"),o.hasLines(t)&&(p("connectgaps"),s(e,t,r,f,p)),o.hasMarkers(t)&&a(e,t,r,f,p,{noSelect:!0}),o.hasText(t)&&(p("texttemplate"),l(e,t,f,p,{noSelect:!0}));var h=(t.line||{}).color,v=(t.marker||{}).color;p("surfaceaxis")>=0&&p("surfacecolor",h||v);for(var m=["x","y","z"],g=0;g<3;++g){var y="projection."+m[g];p(y+".show")&&(p(y+".opacity"),p(y+".scale"))}var b=n.getComponentMethod("errorbars","supplyDefaults");b(e,t,h||v||r,{axis:"z"}),b(e,t,h||v||r,{axis:"y",inherit:"z"}),b(e,t,h||v||r,{axis:"x",inherit:"z"})}else t.visible=!1}},d073:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomboxIcon=t.ZoomPlusIcon=t.ZoomMinusIcon=t.TraceTypeWaterfallIcon=t.TraceTypeViolinIcon=t.TraceTypeTreemapIcon=t.TraceTypeTimeSeriesIcon=t.TraceTypeTableIcon=t.TraceTypeSurfaceIcon=t.TraceTypeSunburstIcon=t.TraceTypeStreamtubeIcon=t.TraceTypeSplomIcon=t.TraceTypeScatterternaryIcon=t.TraceTypeScatterpolarIcon=t.TraceTypeScattermapboxIcon=t.TraceTypeScattergeoIcon=t.TraceTypeScatterIcon=t.TraceTypeScatter3dIcon=t.TraceTypeSankeyIcon=t.TraceTypeRangeSliderIcon=t.TraceTypePieIcon=t.TraceTypeParcoordsIcon=t.TraceTypeOhlcIcon=t.TraceTypeMesh3dIcon=t.TraceTypeLineIcon=t.TraceTypeLine3dIcon=t.TraceTypeHistogramIcon=t.TraceTypeHistogram2dcontourIcon=t.TraceTypeHistogram2dIcon=void 0,t.TraceTypeHeatmapIcon=t.TraceTypeFunnelareaIcon=t.TraceTypeFunnelIcon=t.TraceTypeErrorBarsIcon=t.TraceTypeDensitymapboxIcon=t.TraceTypeContourIcon=t.TraceTypeConeIcon=t.TraceTypeChoroplethmapboxIcon=t.TraceTypeChoroplethIcon=t.TraceTypeCarpetIcon=t.TraceTypeCandlestickIcon=t.TraceTypeBoxIcon=t.TraceTypeBarpolarIcon=t.TraceTypeBarIcon=t.TraceTypeAreaIcon=t.TraceTypeAnimationIcon=t.TooltipCompareIcon=t.TooltipBasicIcon=t.ThemeNoBrushIcon=t.ThemeBrushIcon=t.TemplateSingleIcon=t.TemplateDoubleIcon=t.TemplateBoldIcon=t.SpikelineIcon=t.ScriptIcon=t.PlotWaterfallIcon=t.PlotVolume3dIcon=t.PlotViolinIcon=t.PlotTube3dIcon=t.PlotTreemapIcon=t.PlotTimeSeriesIcon=t.PlotTernaryContourIcon=t.PlotSurfaceIcon=t.PlotSunburstIcon=t.PlotStreamtubeIcon=t.PlotStackedAreaIcon=t.PlotSplomIcon=t.PlotScatterternaryIcon=t.PlotScatterpolarIcon=t.PlotScattermapboxIcon=t.PlotScattergeoIcon=t.PlotScatterMatrixIcon=t.PlotScatterIcon=t.PlotScatterChartIcon=t.PlotScatterAxesIcon=t.PlotScatter3dIcon=t.PlotSankeyIcon=t.PlotRadarIcon=t.PlotPolarFilledIcon=t.PlotPieShadedIcon=t.PlotPieIcon=t.PlotParcoordsIcon=t.PlotOhlcIcon=t.PlotMesh3dIcon=t.PlotMapLineIcon=t.PlotLineMarkersIcon=t.PlotLineIcon=t.PlotLine3dIcon=t.PlotIsosurface3dIcon=t.PlotIcon=t.PlotHistogramIcon=t.PlotHistogram2dcontourIcon=t.PlotHistogram2dIcon=t.PlotHistogram2dBricksIcon=t.PlotHeatmapIcon=t.PlotFunnelareaIcon=t.PlotFunnelIcon=t.PlotFitIcon=t.PlotErrorBarsIcon=t.PlotDonutIcon=t.PlotDensitymapboxIcon=t.PlotContourIcon=t.PlotConeIcon=t.PlotCone3dIcon=t.PlotChoroplethmapboxIcon=t.PlotChoroplethIcon=t.PlotCarpetIcon=t.PlotCandlestickIcon=t.PlotCandlestickAltIcon=t.PlotBubblesIcon=t.PlotBoxIcon=t.PlotBarpolarIcon=t.PlotBarIcon=t.PlotBarAxesIcon=t.PlotAreaStackedIcon=t.PlotAreaIcon=t.PanIcon=t.NotebookRIcon=t.NotebookMIconIcon=t.NotebookIpIcon=t.LogoVisaIcon=t.LogoStripeIcon=t.LogoMastercardIcon=t.LogoAmexIcon=t.GearsSettingIcon=t.ForkIcon=t.ForkEditIcon=t.FilingCabinetIcon=t.EmbedIconIcon=t.AutoscaleIcon=void 0;var n=r("7bb3f"),i=Kn(n),o=r("ad2e"),a=Kn(o),s=r("39ab"),l=Kn(s),u=r("8d6a"),c=Kn(u),f=r("9840"),p=Kn(f),d=r("d3c24"),h=Kn(d),v=r("e23d"),m=Kn(v),g=r("1155"),y=Kn(g),b=r("ffda1"),x=Kn(b),A=r("65ee"),w=Kn(A),_=r("8d6a1"),E=Kn(_),k=r("cae0"),T=Kn(k),C=r("2344"),S=Kn(C),O=r("89af"),M=Kn(O),P=r("7cbf"),B=Kn(P),L=r("c0a6"),D=Kn(L),I=r("87669"),j=Kn(I),R=r("7db6"),F=Kn(R),N=r("d4ae"),z=Kn(N),U=r("18e7"),H=Kn(U),V=r("46337"),Q=Kn(V),W=r("1ed1"),K=Kn(W),q=r("e319"),G=Kn(q),$=r("110c"),Y=Kn($),X=r("e9e9"),Z=Kn(X),J=r("b05c"),ee=Kn(J),te=r("bc62"),re=Kn(te),ne=r("cc1a"),ie=Kn(ne),oe=r("29ae"),ae=Kn(oe),se=r("6a4d"),le=Kn(se),ue=r("f05f"),ce=Kn(ue),fe=r("8685"),pe=Kn(fe),de=r("38d4"),he=Kn(de),ve=r("1ea7"),me=Kn(ve),ge=r("1f4a"),ye=Kn(ge),be=r("91dc"),xe=Kn(be),Ae=r("00d6"),we=Kn(Ae),_e=r("7bb1"),Ee=Kn(_e),ke=r("f49e"),Te=Kn(ke),Ce=r("d0f6"),Se=Kn(Ce),Oe=r("f44f"),Me=Kn(Oe),Pe=r("15c2"),Be=Kn(Pe),Le=r("a687"),De=Kn(Le),Ie=r("dbb1"),je=Kn(Ie),Re=r("d496"),Fe=Kn(Re),Ne=r("807a"),ze=Kn(Ne),Ue=r("6a30"),He=Kn(Ue),Ve=r("3252"),Qe=Kn(Ve),We=r("217a"),Ke=Kn(We),qe=r("d325"),Ge=Kn(qe),$e=r("048b"),Ye=Kn($e),Xe=r("dd6d"),Ze=Kn(Xe),Je=r("8bd3"),et=Kn(Je),tt=r("9b3d"),rt=Kn(tt),nt=r("08f4"),it=Kn(nt),ot=r("971d"),at=Kn(ot),st=r("c30c"),lt=Kn(st),ut=r("e299"),ct=Kn(ut),ft=r("d337"),pt=Kn(ft),dt=r("cc0c"),ht=Kn(dt),vt=r("8256"),mt=Kn(vt),gt=r("1529"),yt=Kn(gt),bt=r("a1e2"),xt=Kn(bt),At=r("d109"),wt=Kn(At),_t=r("683f"),Et=Kn(_t),kt=r("7b6c"),Tt=Kn(kt),Ct=r("262e"),St=Kn(Ct),Ot=r("dcc5"),Mt=Kn(Ot),Pt=r("6d74"),Bt=Kn(Pt),Lt=r("18c9"),Dt=Kn(Lt),It=r("0052"),jt=Kn(It),Rt=r("8550"),Ft=Kn(Rt),Nt=r("c6a9"),zt=Kn(Nt),Ut=r("a3fb"),Ht=Kn(Ut),Vt=r("b289"),Qt=Kn(Vt),Wt=r("9b04"),Kt=Kn(Wt),qt=r("95ee"),Gt=Kn(qt),$t=r("8b21"),Yt=Kn($t),Xt=r("f31a"),Zt=Kn(Xt),Jt=r("3118"),er=Kn(Jt),tr=r("fd4a"),rr=Kn(tr),nr=r("ebc4"),ir=Kn(nr),or=r("fe46"),ar=Kn(or),sr=r("b4a1"),lr=Kn(sr),ur=r("f9a3"),cr=Kn(ur),fr=r("8fff"),pr=Kn(fr),dr=r("83c2"),hr=Kn(dr),vr=r("1964"),mr=Kn(vr),gr=r("3932"),yr=Kn(gr),br=r("26b8"),xr=Kn(br),Ar=r("db95"),wr=Kn(Ar),_r=r("dd06"),Er=Kn(_r),kr=r("9308"),Tr=Kn(kr),Cr=r("6aa6"),Sr=Kn(Cr),Or=r("f8ff"),Mr=Kn(Or),Pr=r("7e43"),Br=Kn(Pr),Lr=r("cb83"),Dr=Kn(Lr),Ir=r("d87d"),jr=Kn(Ir),Rr=r("1063"),Fr=Kn(Rr),Nr=r("9fc2"),zr=Kn(Nr),Ur=r("2661"),Hr=Kn(Ur),Vr=r("b3bc"),Qr=Kn(Vr),Wr=r("685e"),Kr=Kn(Wr),qr=r("84a3"),Gr=Kn(qr),$r=r("0359"),Yr=Kn($r),Xr=r("7c50"),Zr=Kn(Xr),Jr=r("3b8f"),en=Kn(Jr),tn=r("e180"),rn=Kn(tn),nn=r("8b6c"),on=Kn(nn),an=r("cb52"),sn=Kn(an),ln=r("8a56"),un=Kn(ln),cn=r("d068"),fn=Kn(cn),pn=r("859e"),dn=Kn(pn),hn=r("290b"),vn=Kn(hn),mn=r("b9b6"),gn=Kn(mn),yn=r("f517"),bn=Kn(yn),xn=r("8621"),An=Kn(xn),wn=r("cce7"),_n=Kn(wn),En=r("a26e"),kn=Kn(En),Tn=r("af23"),Cn=Kn(Tn),Sn=r("c08e"),On=Kn(Sn),Mn=r("4e92"),Pn=Kn(Mn),Bn=r("7621"),Ln=Kn(Bn),Dn=r("762a"),In=Kn(Dn),jn=r("4276"),Rn=Kn(jn),Fn=r("1039"),Nn=Kn(Fn),zn=r("b5a1"),Un=Kn(zn),Hn=r("f8b5"),Vn=Kn(Hn),Qn=r("d001"),Wn=Kn(Qn);function Kn(e){return e&&e.__esModule?e:{default:e}}t.AutoscaleIcon=i.default,t.EmbedIconIcon=a.default,t.FilingCabinetIcon=l.default,t.ForkEditIcon=c.default,t.ForkIcon=p.default,t.GearsSettingIcon=h.default,t.LogoAmexIcon=m.default,t.LogoMastercardIcon=y.default,t.LogoStripeIcon=x.default,t.LogoVisaIcon=w.default,t.NotebookIpIcon=E.default,t.NotebookMIconIcon=T.default,t.NotebookRIcon=S.default,t.PanIcon=M.default,t.PlotAreaIcon=B.default,t.PlotAreaStackedIcon=D.default,t.PlotBarAxesIcon=j.default,t.PlotBarIcon=F.default,t.PlotBarpolarIcon=z.default,t.PlotBoxIcon=H.default,t.PlotBubblesIcon=Q.default,t.PlotCandlestickAltIcon=K.default,t.PlotCandlestickIcon=G.default,t.PlotCarpetIcon=Y.default,t.PlotChoroplethIcon=Z.default,t.PlotChoroplethmapboxIcon=ee.default,t.PlotCone3dIcon=re.default,t.PlotConeIcon=ie.default,t.PlotContourIcon=ae.default,t.PlotDensitymapboxIcon=le.default,t.PlotDonutIcon=ce.default,t.PlotErrorBarsIcon=pe.default,t.PlotFitIcon=he.default,t.PlotFunnelIcon=me.default,t.PlotFunnelareaIcon=ye.default,t.PlotHeatmapIcon=xe.default,t.PlotHistogram2dBricksIcon=we.default,t.PlotHistogram2dIcon=Ee.default,t.PlotHistogram2dcontourIcon=Te.default,t.PlotHistogramIcon=Se.default,t.PlotIcon=Me.default,t.PlotIsosurface3dIcon=Be.default,t.PlotLine3dIcon=De.default,t.PlotLineIcon=je.default,t.PlotLineMarkersIcon=Fe.default,t.PlotMapLineIcon=ze.default,t.PlotMesh3dIcon=He.default,t.PlotOhlcIcon=Qe.default,t.PlotParcoordsIcon=Ke.default,t.PlotPieIcon=Ge.default,t.PlotPieShadedIcon=Ye.default,t.PlotPolarFilledIcon=Ze.default,t.PlotRadarIcon=et.default,t.PlotSankeyIcon=rt.default,t.PlotScatter3dIcon=it.default,t.PlotScatterAxesIcon=at.default,t.PlotScatterChartIcon=lt.default,t.PlotScatterIcon=ct.default,t.PlotScatterMatrixIcon=pt.default,t.PlotScattergeoIcon=ht.default,t.PlotScattermapboxIcon=mt.default,t.PlotScatterpolarIcon=yt.default,t.PlotScatterternaryIcon=xt.default,t.PlotSplomIcon=wt.default,t.PlotStackedAreaIcon=Et.default,t.PlotStreamtubeIcon=Tt.default,t.PlotSunburstIcon=St.default,t.PlotSurfaceIcon=Mt.default,t.PlotTernaryContourIcon=Bt.default,t.PlotTimeSeriesIcon=Dt.default,t.PlotTreemapIcon=jt.default,t.PlotTube3dIcon=Ft.default,t.PlotViolinIcon=zt.default,t.PlotVolume3dIcon=Ht.default,t.PlotWaterfallIcon=Qt.default,t.ScriptIcon=Kt.default,t.SpikelineIcon=Gt.default,t.TemplateBoldIcon=Yt.default,t.TemplateDoubleIcon=Zt.default,t.TemplateSingleIcon=er.default,t.ThemeBrushIcon=rr.default,t.ThemeNoBrushIcon=ir.default,t.TooltipBasicIcon=ar.default,t.TooltipCompareIcon=lr.default,t.TraceTypeAnimationIcon=cr.default,t.TraceTypeAreaIcon=pr.default,t.TraceTypeBarIcon=hr.default,t.TraceTypeBarpolarIcon=mr.default,t.TraceTypeBoxIcon=yr.default,t.TraceTypeCandlestickIcon=xr.default,t.TraceTypeCarpetIcon=wr.default,t.TraceTypeChoroplethIcon=Er.default,t.TraceTypeChoroplethmapboxIcon=Tr.default,t.TraceTypeConeIcon=Sr.default,t.TraceTypeContourIcon=Mr.default,t.TraceTypeDensitymapboxIcon=Br.default,t.TraceTypeErrorBarsIcon=Dr.default,t.TraceTypeFunnelIcon=jr.default,t.TraceTypeFunnelareaIcon=Fr.default,t.TraceTypeHeatmapIcon=zr.default,t.TraceTypeHistogram2dIcon=Hr.default,t.TraceTypeHistogram2dcontourIcon=Qr.default,t.TraceTypeHistogramIcon=Kr.default,t.TraceTypeLine3dIcon=Gr.default,t.TraceTypeLineIcon=Yr.default,t.TraceTypeMesh3dIcon=Zr.default,t.TraceTypeOhlcIcon=en.default,t.TraceTypeParcoordsIcon=rn.default,t.TraceTypePieIcon=on.default,t.TraceTypeRangeSliderIcon=sn.default,t.TraceTypeSankeyIcon=un.default,t.TraceTypeScatter3dIcon=fn.default,t.TraceTypeScatterIcon=dn.default,t.TraceTypeScattergeoIcon=vn.default,t.TraceTypeScattermapboxIcon=gn.default,t.TraceTypeScatterpolarIcon=bn.default,t.TraceTypeScatterternaryIcon=An.default,t.TraceTypeSplomIcon=_n.default,t.TraceTypeStreamtubeIcon=kn.default,t.TraceTypeSunburstIcon=Cn.default,t.TraceTypeSurfaceIcon=On.default,t.TraceTypeTableIcon=Pn.default,t.TraceTypeTimeSeriesIcon=Ln.default,t.TraceTypeTreemapIcon=In.default,t.TraceTypeViolinIcon=Rn.default,t.TraceTypeWaterfallIcon=Nn.default,t.ZoomMinusIcon=Un.default,t.ZoomPlusIcon=Vn.default,t.ZoomboxIcon=Wn.default},d082:function(e,t,r){"use strict";var n=r("d8db"),i=r("38bc");function o(e){var t=e.editorContainer;t||n(!1),i(t.firstChild)||n(!1);var r=t.firstChild;return r}e.exports=o},d0ad:function(e,t,r){"use strict";var n=r("19b2"),i=r("e806").BADNUM,o=r("3aa8"),a=r("106b"),s=r("4136");function l(e){return e&&"string"===typeof e}e.exports=function(e,t){var r,u=t._length,c=new Array(u);r=t.geojson?function(e){return l(e)||n(e)}:l;for(var f=0;f<u;f++){var p=c[f]={},d=t.locations[f],h=t.z[f];r(d)&&n(h)?(p.loc=d,p.z=h):(p.loc=null,p.z=i),p.index=f}return a(c,t),o(e,t,{vals:t.z,containerStr:"",cLetter:"z"}),s(c,t),c}},d0b7:function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t){var r,i=e.split(" "),o=i[0],a=i[1],s=n.isArrayOrTypedArray(t)?n.mean(t):t,l=.5+s/100,u=1.5+s/100,c=["",""],f=[0,0];switch(o){case"top":c[0]="top",f[1]=-u;break;case"bottom":c[0]="bottom",f[1]=u;break}switch(a){case"left":c[1]="right",f[0]=-l;break;case"right":c[1]="left",f[0]=l;break}return r=c[0]&&c[1]?c.join("-"):c[0]?c[0]:c[1]?c[1]:"center",{anchor:r,offset:f}}},d0c8:function(e,t){function r(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],p=t[10],d=t[11],h=t[12],v=t[13],m=t[14],g=t[15];return e[0]=s*(p*g-d*m)-f*(l*g-u*m)+v*(l*d-u*p),e[1]=-(n*(p*g-d*m)-f*(i*g-o*m)+v*(i*d-o*p)),e[2]=n*(l*g-u*m)-s*(i*g-o*m)+v*(i*u-o*l),e[3]=-(n*(l*d-u*p)-s*(i*d-o*p)+f*(i*u-o*l)),e[4]=-(a*(p*g-d*m)-c*(l*g-u*m)+h*(l*d-u*p)),e[5]=r*(p*g-d*m)-c*(i*g-o*m)+h*(i*d-o*p),e[6]=-(r*(l*g-u*m)-a*(i*g-o*m)+h*(i*u-o*l)),e[7]=r*(l*d-u*p)-a*(i*d-o*p)+c*(i*u-o*l),e[8]=a*(f*g-d*v)-c*(s*g-u*v)+h*(s*d-u*f),e[9]=-(r*(f*g-d*v)-c*(n*g-o*v)+h*(n*d-o*f)),e[10]=r*(s*g-u*v)-a*(n*g-o*v)+h*(n*u-o*s),e[11]=-(r*(s*d-u*f)-a*(n*d-o*f)+c*(n*u-o*s)),e[12]=-(a*(f*m-p*v)-c*(s*m-l*v)+h*(s*p-l*f)),e[13]=r*(f*m-p*v)-c*(n*m-i*v)+h*(n*p-i*f),e[14]=-(r*(s*m-l*v)-a*(n*m-i*v)+h*(n*l-i*s)),e[15]=r*(s*p-l*f)-a*(n*p-i*f)+c*(n*l-i*s),e}e.exports=r},d0d2:function(e,t,r){"use strict";var n=r("fc26"),i=r("0379").sanitizeHTML,o=r("d0b7"),a=r("b5e4");function s(e,t){this.subplot=e,this.uid=e.uid+"-"+t,this.index=t,this.idSource="source-"+this.uid,this.idLayer=a.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var l=s.prototype;function u(e){if(!e.visible)return!1;var t=e.source;if(Array.isArray(t)&&t.length>0){for(var r=0;r<t.length;r++)if("string"!==typeof t[r]||0===t[r].length)return!1;return!0}return n.isPlainObject(t)||"string"===typeof t&&t.length>0}function c(e){var t={},r={};switch(e.type){case"circle":n.extendFlat(r,{"circle-radius":e.circle.radius,"circle-color":e.color,"circle-opacity":e.opacity});break;case"line":n.extendFlat(r,{"line-width":e.line.width,"line-color":e.color,"line-opacity":e.opacity,"line-dasharray":e.line.dash});break;case"fill":n.extendFlat(r,{"fill-color":e.color,"fill-outline-color":e.fill.outlinecolor,"fill-opacity":e.opacity});break;case"symbol":var i=e.symbol,a=o(i.textposition,i.iconsize);n.extendFlat(t,{"icon-image":i.icon+"-15","icon-size":i.iconsize/10,"text-field":i.text,"text-size":i.textfont.size,"text-anchor":a.anchor,"text-offset":a.offset,"symbol-placement":i.placement}),n.extendFlat(r,{"icon-color":e.color,"text-color":i.textfont.color,"text-opacity":e.opacity});break;case"raster":n.extendFlat(r,{"raster-fade-duration":0,"raster-opacity":e.opacity});break}return{layout:t,paint:r}}function f(e){var t,r=e.sourcetype,n=e.source,o={type:r};return"geojson"===r?t="data":"vector"===r?t="string"===typeof n?"url":"tiles":"raster"===r?(t="tiles",o.tileSize=256):"image"===r&&(t="url",o.coordinates=e.coordinates),o[t]=n,e.sourceattribution&&(o.attribution=i(e.sourceattribution)),o}l.update=function(e){this.visible?this.needsNewImage(e)?this.updateImage(e):this.needsNewSource(e)?(this.removeLayer(),this.updateSource(e),this.updateLayer(e)):this.needsNewLayer(e)?this.updateLayer(e):this.updateStyle(e):(this.updateSource(e),this.updateLayer(e)),this.visible=u(e)},l.needsNewImage=function(e){var t=this.subplot.map;return t.getSource(this.idSource)&&"image"===this.sourceType&&"image"===e.sourcetype&&(this.source!==e.source||JSON.stringify(this.coordinates)!==JSON.stringify(e.coordinates))},l.needsNewSource=function(e){return this.sourceType!==e.sourcetype||JSON.stringify(this.source)!==JSON.stringify(e.source)||this.layerType!==e.type},l.needsNewLayer=function(e){return this.layerType!==e.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},l.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},l.updateImage=function(e){var t=this.subplot.map;t.getSource(this.idSource).updateImage({url:e.source,coordinates:e.coordinates});var r=this.findFollowingMapboxLayerId(this.lookupBelow());null!==r&&this.subplot.map.moveLayer(this.idLayer,r)},l.updateSource=function(e){var t=this.subplot.map;if(t.getSource(this.idSource)&&t.removeSource(this.idSource),this.sourceType=e.sourcetype,this.source=e.source,u(e)){var r=f(e);t.addSource(this.idSource,r)}},l.findFollowingMapboxLayerId=function(e){if("traces"===e)for(var t=this.subplot.getMapLayers(),r=0;r<t.length;r++){var n=t[r].id;if("string"===typeof n&&0===n.indexOf(a.traceLayerPrefix)){e=n;break}}return e},l.updateLayer=function(e){var t=this.subplot,r=c(e),n=this.lookupBelow(),i=this.findFollowingMapboxLayerId(n);this.removeLayer(),u(e)&&t.addLayer({id:this.idLayer,source:this.idSource,"source-layer":e.sourcelayer||"",type:e.type,minzoom:e.minzoom,maxzoom:e.maxzoom,layout:r.layout,paint:r.paint},i),this.layerType=e.type,this.below=n},l.updateStyle=function(e){if(u(e)){var t=c(e);this.subplot.setOptions(this.idLayer,"setLayoutProperty",t.layout),this.subplot.setOptions(this.idLayer,"setPaintProperty",t.paint)}},l.removeLayer=function(){var e=this.subplot.map;e.getLayer(this.idLayer)&&e.removeLayer(this.idLayer)},l.dispose=function(){var e=this.subplot.map;e.getLayer(this.idLayer)&&e.removeLayer(this.idLayer),e.getSource(this.idSource)&&e.removeSource(this.idSource)},e.exports=function(e,t,r){var n=new s(e,t);return n.update(r),n}},d0f6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 24 16"},e),o.default.createElement("path",{d:"M0 11.015h4.003V16H0zm5-6h4.003V16H5zM10 0h4.011v16H10zm5 5.014h4.004V16H15zm4.996 6.001H24V16h-4.004z"}))};t.default=u},d109:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"currentColor",d:"M1174.5 162.716H186.081c-12.743 0-23.074 10.331-23.074 23.074v321.832a23.061 23.061 0 0 0-.581 5.088c0 1.749.211 3.449.581 5.088V843.85c-.37 1.639-.581 3.338-.581 5.088s.211 3.449.581 5.088v320.184c0 12.744 10.331 23.074 23.074 23.074H1174.5c12.744 0 23.074-10.33 23.074-23.074V185.79c0-12.743-10.33-23.074-23.074-23.074zM532.198 825.863V535.784h290.078v290.079H532.198zm290.078 46.149v279.123H532.198V872.012h290.078zm-613.12-336.228h276.893v290.079H209.156V535.784zm323.042-46.148V208.865h290.078v280.771H532.198zm336.228 46.148h283v290.079h-283V535.784zm283-46.148h-283V208.865h283v280.771zM486.049 208.865v280.771H209.156V208.865h276.893zM209.156 872.012h276.893v279.123H209.156V872.012zm659.27 279.123V872.012h283v279.123h-283z"}),o.default.createElement("circle",{fill:"currentColor",cx:"267.502",cy:"1098.284",r:"30.664"}),o.default.createElement("path",{fill:"currentColor",d:"M352.718 919.58c25.607-25.614 67.135-25.614 92.748 0 25.607 25.606 25.607 67.135 0 92.742-25.613 25.614-67.141 25.614-92.748 0-25.612-25.607-25.612-67.135 0-92.742z"}),o.default.createElement("circle",{fill:"currentColor",cx:"430.5",cy:"1098.284",r:"30.664"}),o.default.createElement("circle",{fill:"currentColor",cx:"267.502",cy:"935.286",r:"30.665"}),o.default.createElement("circle",{fill:"currentColor",cx:"598.792",cy:"935.287",r:"30.664"}),o.default.createElement("circle",{fill:"currentColor",cx:"598.792",cy:"1098.284",r:"30.664"}),o.default.createElement("path",{fill:"currentColor",d:"M783.476 1048.879c19.627 19.628 19.627 51.458 0 71.088-19.632 19.631-51.461 19.631-71.092 0-19.627-19.63-19.627-51.46 0-71.088 19.631-19.627 51.46-19.627 71.092 0z"}),o.default.createElement("circle",{fill:"currentColor",cx:"266.756",cy:"601.798",r:"30.664"}),o.default.createElement("path",{fill:"currentColor",d:"M387.803 645.243c21.43 21.426 21.43 56.173 0 77.605-21.426 21.427-56.176 21.427-77.602 0-21.43-21.433-21.43-56.18 0-77.605 21.426-21.43 56.176-21.43 77.602 0z"}),o.default.createElement("circle",{fill:"currentColor",cx:"266.755",cy:"764.796",r:"30.664"}),o.default.createElement("circle",{fill:"currentColor",cx:"429.754",cy:"764.796",r:"30.665"}),o.default.createElement("circle",{fill:"currentColor",cx:"1091.224",cy:"271.618",r:"30.664"}),o.default.createElement("circle",{fill:"currentColor",cx:"928.226",cy:"271.618",r:"30.665"}),o.default.createElement("circle",{fill:"currentColor",cx:"928.226",cy:"434.615",r:"30.665"}),o.default.createElement("path",{fill:"currentColor",d:"M1036.258 378.904c-14.652 14.652-38.414 14.652-53.07 0-14.653-14.655-14.653-38.417 0-53.072 14.656-14.652 38.418-14.652 53.07 0 14.653 14.655 14.653 38.418 0 53.072z"}),o.default.createElement("circle",{fill:"currentColor",cx:"759.933",cy:"434.616",r:"30.664"}),o.default.createElement("path",{fill:"currentColor",d:"M681.069 348.629c-25.599-25.593-25.599-67.099 0-92.697 25.596-25.593 67.103-25.593 92.695 0 25.601 25.598 25.601 67.104 0 92.697-25.592 25.594-67.099 25.594-92.695 0z"}),o.default.createElement("circle",{fill:"currentColor",cx:"596.936",cy:"271.618",r:"30.665"}),o.default.createElement("path",{fill:"currentColor",d:"M1070.287 789.785c-11.976-11.975-11.976-31.39 0-43.364 11.975-11.976 31.393-11.976 43.365 0 11.976 11.975 11.976 31.39 0 43.364-11.972 11.979-31.39 11.979-43.365 0zM994.818 700.765c-8.232-8.234-8.232-21.581 0-29.815 8.231-8.231 21.579-8.231 29.812 0 8.231 8.234 8.231 21.581 0 29.815-8.233 8.23-21.58 8.23-29.812 0zM1042.042 655.035c-19.777-19.774-19.777-51.838 0-71.613 19.772-19.77 51.837-19.77 71.609 0 19.777 19.775 19.777 51.839 0 71.613-19.772 19.771-51.837 19.771-71.609 0zM907.288 626.789c-11.972-11.975-11.972-31.393 0-43.367 11.977-11.975 31.393-11.975 43.367 0 11.974 11.975 11.974 31.393 0 43.367-11.974 11.973-31.39 11.973-43.367 0z"}),o.default.createElement("circle",{fill:"currentColor",cx:"596.935",cy:"352.369",r:"14.516"}),o.default.createElement("circle",{fill:"currentColor",cx:"928.973",cy:"352.369",r:"18.266"}),o.default.createElement("circle",{fill:"currentColor",cx:"1091.969",cy:"434.615",r:"18.266"}),o.default.createElement("circle",{fill:"currentColor",cx:"1009.724",cy:"271.617",r:"18.509"}),o.default.createElement("circle",{fill:"currentColor",cx:"349.002",cy:"1098.283",r:"19.813"}),o.default.createElement("circle",{fill:"currentColor",cx:"681.039",cy:"1016.035",r:"19.376"}),o.default.createElement("circle",{fill:"currentColor",cx:"598.792",cy:"1016.036",r:"14.516"}))};t.default=u},d114:function(e,t,r){"use strict";var n=r("dec3");function i(e){var t=e.getSelection(),r=t.getEndKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getLength();return n.set(e,{selection:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}),forceSelection:!0})}e.exports=i},d115:function(e,t,r){"use strict";var n=r("66cb"),i=r("19b2"),o=e.exports={},a=r("dfb3");o.defaults=a.defaults;var s=o.defaultLine=a.defaultLine;o.lightLine=a.lightLine;var l=o.background=a.background;function u(e){if(i(e)||"string"!==typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var n=r[1].trim().split(/\s*[\s,]\s*/),o="a"===t.charAt(3)&&4===n.length;if(!o&&3!==n.length)return e;for(var a=0;a<n.length;a++){if(!n[a].length)return e;if(n[a]=Number(n[a]),!(n[a]>=0))return e;if(3===a)n[a]>1&&(n[a]=1);else if(n[a]>=1)return e}var s=Math.round(255*n[0])+", "+Math.round(255*n[1])+", "+Math.round(255*n[2]);return o?"rgba("+s+", "+n[3]+")":"rgb("+s+")"}o.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},o.rgb=function(e){return o.tinyRGB(n(e))},o.opacity=function(e){return e?n(e).getAlpha():0},o.addOpacity=function(e,t){var r=n(e).toRgb();return"rgba("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+", "+t+")"},o.combine=function(e,t){var r=n(e).toRgb();if(1===r.a)return n(e).toRgbString();var i=n(t||l).toRgb(),o=1===i.a?i:{r:255*(1-i.a)+i.r*i.a,g:255*(1-i.a)+i.g*i.a,b:255*(1-i.a)+i.b*i.a},a={r:o.r*(1-r.a)+r.r*r.a,g:o.g*(1-r.a)+r.g*r.a,b:o.b*(1-r.a)+r.b*r.a};return n(a).toRgbString()},o.contrast=function(e,t,r){var i=n(e);1!==i.getAlpha()&&(i=n(o.combine(e,l)));var a=i.isDark()?t?i.lighten(t):l:r?i.darken(r):s;return a.toString()},o.stroke=function(e,t){var r=n(t);e.style({stroke:o.tinyRGB(r),"stroke-opacity":r.getAlpha()})},o.fill=function(e,t){var r=n(t);e.style({fill:o.tinyRGB(r),"fill-opacity":r.getAlpha()})},o.clean=function(e){if(e&&"object"===typeof e){var t,r,n,i,a=Object.keys(e);for(t=0;t<a.length;t++)if(n=a[t],i=e[n],"color"===n.substr(n.length-5))if(Array.isArray(i))for(r=0;r<i.length;r++)i[r]=u(i[r]);else e[n]=u(i);else if("colorscale"===n.substr(n.length-10)&&Array.isArray(i))for(r=0;r<i.length;r++)Array.isArray(i[r])&&(i[r][1]=u(i[r][1]));else if(Array.isArray(i)){var s=i[0];if(!Array.isArray(s)&&s&&"object"===typeof s)for(r=0;r<i.length;r++)o.clean(i[r])}else i&&"object"===typeof i&&o.clean(i)}}},d134:function(e,t,r){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},d18b:function(e,t,r){"use strict";function n(e,t){var r,n,i,o=t.dataAttr||e._id.charAt(0),a={};if(t.axData)r=t.axData;else for(r=[],n=0;n<t.data.length;n++){var s=t.data[n];s[o+"axis"]===e._id&&r.push(s)}for(n=0;n<r.length;n++){var l=r[n][o];for(i=0;i<l.length;i++){var u=l[i];null!==u&&void 0!==u&&(a[u]=1)}}return Object.keys(a)}e.exports=function(e,t,r,i){if("category"===t.type){var o,a=e.categoryarray,s=Array.isArray(a)&&a.length>0;s&&(o="array");var l,u=r("categoryorder",o);"array"===u&&(l=r("categoryarray")),s||"array"!==u||(u=t.categoryorder="trace"),"trace"===u?t._initialCategories=[]:"array"===u?t._initialCategories=l.slice():(l=n(t,i).sort(),"category ascending"===u?t._initialCategories=l:"category descending"===u&&(t._initialCategories=l.reverse()))}}},d18e:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=i.extendFlat,a=i.extendDeep;function s(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}function l(e){var t=["xaxis","yaxis","zaxis"];return t.indexOf(e.slice(0,5))>-1}e.exports=function(e,t){var r;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var i=e.data,u=e.layout,c=a([],i),f=a({},u,s(t.tileClass)),p=e._context||{};if(t.width&&(f.width=t.width),t.height&&(f.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){f.annotations=[];var d=Object.keys(f);for(r=0;r<d.length;r++)l(d[r])&&(f[d[r]].title={text:""});for(r=0;r<c.length;r++){var h=c[r];h.showscale=!1,h.marker&&(h.marker.showscale=!1),n.traceIs(h,"pie-like")&&(h.textposition="none")}}if(Array.isArray(t.annotations))for(r=0;r<t.annotations.length;r++)f.annotations.push(t.annotations[r]);var v=Object.keys(f).filter((function(e){return e.match(/^scene\d*$/)}));if(v.length){var m={};for("thumbnail"===t.tileClass&&(m={title:{text:""},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),r=0;r<v.length;r++){var g=f[v[r]];g.xaxis||(g.xaxis={}),g.yaxis||(g.yaxis={}),g.zaxis||(g.zaxis={}),o(g.xaxis,m),o(g.yaxis,m),o(g.zaxis,m),g._scene=null}}var y=document.createElement("div");t.tileClass&&(y.className=t.tileClass);var b={gd:y,td:y,layout:f,data:c,config:{staticPlot:void 0===t.staticPlot||t.staticPlot,plotGlPixelRatio:void 0===t.plotGlPixelRatio?2:t.plotGlPixelRatio,displaylogo:t.displaylogo||!1,showLink:t.showLink||!1,showTips:t.showTips||!1,mapboxAccessToken:p.mapboxAccessToken}};return"transparent"!==t.setBackground&&(b.config.setBackground=t.setBackground||"opaque"),b.gd.defaultLayout=s(t.tileClass),b}},d1ab:function(e,t,r){"use strict";function n(e){return"8BPS"===e.toString("ascii",0,4)}function i(e){return{width:e.readUInt32BE(18),height:e.readUInt32BE(14)}}e.exports={detect:n,calculate:i}},d1b2:function(e,t,r){"use strict";e.exports={attributes:r("535c"),supplyDefaults:r("654e"),colorbar:r("fcb3"),formatLabels:r("0316"),calc:r("55f6"),plot:r("c3e7"),hoverPoints:r("e725"),eventData:r("850f"),getBelow:function(e,t){for(var r=t.getMapLayers(),n=0;n<r.length;n++){var i=r[n],o=i.id;if("symbol"===i.type&&"string"===typeof o&&-1===o.indexOf("plotly-"))return o}},moduleType:"trace",name:"densitymapbox",basePlotModule:r("860b"),categories:["mapbox","gl","showLegend"],meta:{hr_name:"density_mapbox",description:["Draws a bivariate kernel density estimation with a Gaussian kernel","from `lon` and `lat` coordinates and optional `z` values using a colorscale."].join(" ")}}},d1bd:function(e,t,r){"use strict";function n(e,t,r){var n=e+t,i=n-e,o=n-i,a=t-i,s=e-o;return r?(r[0]=s+a,r[1]=n,r):[s+a,n]}e.exports=n},d1bf:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedTextEditor=void 0;var i=v(r("5174")),o=h(r("ab5b")),a=v(r("d7bc")),s=r("4578"),l=v(r("74d6")),u=v(r("5f11")),c=v(r("0452")),f=v(r("d72ed")),p=v(r("d654"));function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}function w(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=C();return function(){var r,n=S(e);if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=/%{([^\s%{}:]*)(:[^}]*)?}/g,M=/%{(meta(\[(\d+)]))}/,P=function(e){w(r,e);var t=E(r);function r(){return b(this,r),t.apply(this,arguments)}return A(r,[{key:"hasTemplateStrings",value:function(e){return!!e&&e.match(O)}},{key:"updatePlot",value:function(e){var t=this.props.updatePlot,r=this.hasTemplateStrings(e),n=e;r&&(n=n.replace(O,(function(e){var t=M.exec(e);if(t){var r=parseInt(t[3],10)-1;if(!isNaN(r))return"%{meta[".concat(r<0?0:r,"]}")}return e}))),t(n)}},{key:"getAdjustedFullValue",value:function(e){var t=this.hasTemplateStrings(e);return t?e.replace(O,(function(e){var t=M.exec(e);if(t){var r=parseInt(t[3],10)+1;return isNaN(r)?e:"%{meta[".concat(r,"]}")}return e})):e}},{key:"render",value:function(){var e,t=this.props,r=t.attr,n=t.container,a=t.htmlOnly,s=t.latexOnly,d=t.multiValued,h=t.richTextOnly,v=this.context.localize,m=this.getAdjustedFullValue(this.props.fullValue),g=this.props.placeholder;return!d&&(!m||n&&(0,l.default)(n,r))||(g=m,m=""),s?(g=v("Enter LaTeX formatted text"),e=o.default.createElement(u.default,{value:m,placeholder:g,onChange:this.updatePlot.bind(this)})):h?e=o.default.createElement(c.default,{value:m,placeholder:g,onChange:this.updatePlot.bind(this)}):a?(g=v("Enter html formatted text"),e=o.default.createElement(p.default,{value:m,placeholder:g,onChange:this.updatePlot.bind(this)})):e=o.default.createElement(f.default,{value:m,placeholder:g,onChange:this.updatePlot.bind(this)}),o.default.createElement(i.default,this.props,o.default.createElement("div",{className:"text-editor"},e))}}]),r}(o.Component);t.UnconnectedTextEditor=P,P.propTypes=g(g({},i.default.propTypes),{},{fullValue:a.default.any,htmlOnly:a.default.bool,latexOnly:a.default.bool,richTextOnly:a.default.bool,updatePlot:a.default.func,placeholder:a.default.string}),P.contextTypes={localize:a.default.func,fullLayout:a.default.object},P.displayName="UnconnectedTextEditor";var B=(0,s.connectToContainer)(P,{modifyPlotProps:function(e,t,r){r.isVisible&&r.multiValued&&(r.isVisible=!1),t.fullLayout&&t.fullLayout._dfltTitle&&Object.values(t.fullLayout._dfltTitle).includes(r.fullValue)&&(r.placeholder=r.fullValue,r.fullValue="")}});t.default=B},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d217:function(e,t,r){"use strict";r.r(t),r.d(t,"bbox",(function(){return o})),r.d(t,"feature",(function(){return s})),r.d(t,"mesh",(function(){return f})),r.d(t,"meshArcs",(function(){return p})),r.d(t,"merge",(function(){return v})),r.d(t,"mergeArcs",(function(){return m})),r.d(t,"neighbors",(function(){return y})),r.d(t,"quantize",(function(){return x})),r.d(t,"transform",(function(){return i})),r.d(t,"untransform",(function(){return b}));var n=function(e){return e},i=function(e){if(null==e)return n;var t,r,i=e.scale[0],o=e.scale[1],a=e.translate[0],s=e.translate[1];return function(e,n){n||(t=r=0);var l=2,u=e.length,c=new Array(u);c[0]=(t+=e[0])*i+a,c[1]=(r+=e[1])*o+s;while(l<u)c[l]=e[l],++l;return c}},o=function(e){var t,r=i(e.transform),n=1/0,o=n,a=-n,s=-n;function l(e){e=r(e),e[0]<n&&(n=e[0]),e[0]>a&&(a=e[0]),e[1]<o&&(o=e[1]),e[1]>s&&(s=e[1])}function u(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(u);break;case"Point":l(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(l);break}}for(t in e.arcs.forEach((function(e){var t,i=-1,l=e.length;while(++i<l)t=r(e[i],i),t[0]<n&&(n=t[0]),t[0]>a&&(a=t[0]),t[1]<o&&(o=t[1]),t[1]>s&&(s=t[1])})),e.objects)u(e.objects[t]);return[n,o,a,s]},a=function(e,t){var r,n=e.length,i=n-t;while(i<--n)r=e[i],e[i++]=e[n],e[n]=r},s=function(e,t){return"string"===typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return l(e,t)}))}:l(e,t)};function l(e,t){var r=t.id,n=t.bbox,i=null==t.properties?{}:t.properties,o=u(e,t);return null==r&&null==n?{type:"Feature",properties:i,geometry:o}:null==n?{type:"Feature",id:r,properties:i,geometry:o}:{type:"Feature",id:r,bbox:n,properties:i,geometry:o}}function u(e,t){var r=i(e.transform),n=e.arcs;function o(e,t){t.length&&t.pop();for(var i=n[e<0?~e:e],o=0,s=i.length;o<s;++o)t.push(r(i[o],o));e<0&&a(t,s)}function s(e){return r(e)}function l(e){for(var t=[],r=0,n=e.length;r<n;++r)o(e[r],t);return t.length<2&&t.push(t[0]),t}function u(e){var t=l(e);while(t.length<4)t.push(t[0]);return t}function c(e){return e.map(u)}function f(e){var t,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(f)};case"Point":t=s(e.coordinates);break;case"MultiPoint":t=e.coordinates.map(s);break;case"LineString":t=l(e.arcs);break;case"MultiLineString":t=e.arcs.map(l);break;case"Polygon":t=c(e.arcs);break;case"MultiPolygon":t=e.arcs.map(c);break;default:return null}return{type:r,coordinates:t}}return f(t)}var c=function(e,t){var r={},n={},i={},o=[],a=-1;function s(t){var r,n=e.arcs[t<0?~t:t],i=n[0];return e.transform?(r=[0,0],n.forEach((function(e){r[0]+=e[0],r[1]+=e[1]}))):r=n[n.length-1],t<0?[r,i]:[i,r]}function l(e,t){for(var n in e){var i=e[n];delete t[i.start],delete i.start,delete i.end,i.forEach((function(e){r[e<0?~e:e]=1})),o.push(i)}}return t.forEach((function(r,n){var i,o=e.arcs[r<0?~r:r];o.length<3&&!o[1][0]&&!o[1][1]&&(i=t[++a],t[a]=r,t[n]=i)})),t.forEach((function(e){var t,r,o=s(e),a=o[0],l=o[1];if(t=i[a])if(delete i[t.end],t.push(e),t.end=l,r=n[l]){delete n[r.start];var u=r===t?t:t.concat(r);n[u.start=t.start]=i[u.end=r.end]=u}else n[t.start]=i[t.end]=t;else if(t=n[l])if(delete n[t.start],t.unshift(e),t.start=a,r=i[a]){delete i[r.end];var c=r===t?t:r.concat(t);n[c.start=r.start]=i[c.end=t.end]=c}else n[t.start]=i[t.end]=t;else t=[e],n[t.start=a]=i[t.end=l]=t})),l(i,n),l(n,i),t.forEach((function(e){r[e<0?~e:e]||o.push([e])})),o},f=function(e){return u(e,p.apply(this,arguments))};function p(e,t,r){var n,i,o;if(arguments.length>1)n=d(e,t,r);else for(i=0,n=new Array(o=e.arcs.length);i<o;++i)n[i]=i;return{type:"MultiLineString",arcs:c(e,n)}}function d(e,t,r){var n,i=[],o=[];function a(e){var t=e<0?~e:e;(o[t]||(o[t]=[])).push({i:e,g:n})}function s(e){e.forEach(a)}function l(e){e.forEach(s)}function u(e){e.forEach(l)}function c(e){switch(n=e,e.type){case"GeometryCollection":e.geometries.forEach(c);break;case"LineString":s(e.arcs);break;case"MultiLineString":case"Polygon":l(e.arcs);break;case"MultiPolygon":u(e.arcs);break}}return c(t),o.forEach(null==r?function(e){i.push(e[0].i)}:function(e){r(e[0].g,e[e.length-1].g)&&i.push(e[0].i)}),i}function h(e){var t,r=-1,n=e.length,i=e[n-1],o=0;while(++r<n)t=i,i=e[r],o+=t[0]*i[1]-t[1]*i[0];return Math.abs(o)}var v=function(e){return u(e,m.apply(this,arguments))};function m(e,t){var r={},n=[],i=[];function o(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(o);break;case"Polygon":a(e.arcs);break;case"MultiPolygon":e.arcs.forEach(a);break}}function a(e){e.forEach((function(t){t.forEach((function(t){(r[t=t<0?~t:t]||(r[t]=[])).push(e)}))})),n.push(e)}function s(t){return h(u(e,{type:"Polygon",arcs:[t]}).coordinates[0])}return t.forEach(o),n.forEach((function(e){if(!e._){var t=[],n=[e];e._=1,i.push(t);while(e=n.pop())t.push(e),e.forEach((function(e){e.forEach((function(e){r[e<0?~e:e].forEach((function(e){e._||(e._=1,n.push(e))}))}))}))}})),n.forEach((function(e){delete e._})),{type:"MultiPolygon",arcs:i.map((function(t){var n,i=[];if(t.forEach((function(e){e.forEach((function(e){e.forEach((function(e){r[e<0?~e:e].length<2&&i.push(e)}))}))})),i=c(e,i),(n=i.length)>1)for(var o,a,l=1,u=s(i[0]);l<n;++l)(o=s(i[l]))>u&&(a=i[0],i[0]=i[l],i[l]=a,u=o);return i})).filter((function(e){return e.length>0}))}}var g=function(e,t){var r=0,n=e.length;while(r<n){var i=r+n>>>1;e[i]<t?r=i+1:n=i}return r},y=function(e){var t={},r=e.map((function(){return[]}));function n(e,r){e.forEach((function(e){e<0&&(e=~e);var n=t[e];n?n.push(r):t[e]=[r]}))}function i(e,t){e.forEach((function(e){n(e,t)}))}function o(e,t){"GeometryCollection"===e.type?e.geometries.forEach((function(e){o(e,t)})):e.type in a&&a[e.type](e.arcs,t)}var a={LineString:n,MultiLineString:i,Polygon:i,MultiPolygon:function(e,t){e.forEach((function(e){i(e,t)}))}};for(var s in e.forEach(o),t)for(var l=t[s],u=l.length,c=0;c<u;++c)for(var f=c+1;f<u;++f){var p,d=l[c],h=l[f];(p=r[d])[s=g(p,h)]!==h&&p.splice(s,0,h),(p=r[h])[s=g(p,d)]!==d&&p.splice(s,0,d)}return r},b=function(e){if(null==e)return n;var t,r,i=e.scale[0],o=e.scale[1],a=e.translate[0],s=e.translate[1];return function(e,n){n||(t=r=0);var l=2,u=e.length,c=new Array(u),f=Math.round((e[0]-a)/i),p=Math.round((e[1]-s)/o);c[0]=f-t,t=f,c[1]=p-r,r=p;while(l<u)c[l]=e[l],++l;return c}},x=function(e,t){if(e.transform)throw new Error("already quantized");if(t&&t.scale)l=e.bbox;else{if(!((r=Math.floor(t))>=2))throw new Error("n must be ≥2");l=e.bbox||o(e);var r,n=l[0],i=l[1],a=l[2],s=l[3];t={scale:[a-n?(a-n)/(r-1):1,s-i?(s-i)/(r-1):1],translate:[n,i]}}var l,u,c=b(t),f=e.objects,p={};function d(e){return c(e)}function h(e){var t;switch(e.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:e.geometries.map(h)};break;case"Point":t={type:"Point",coordinates:d(e.coordinates)};break;case"MultiPoint":t={type:"MultiPoint",coordinates:e.coordinates.map(d)};break;default:return e}return null!=e.id&&(t.id=e.id),null!=e.bbox&&(t.bbox=e.bbox),null!=e.properties&&(t.properties=e.properties),t}function v(e){var t,r=0,n=1,i=e.length,o=new Array(i);o[0]=c(e[0],0);while(++r<i)((t=c(e[r],r))[0]||t[1])&&(o[n++]=t);return 1===n&&(o[n++]=[0,0]),o.length=n,o}for(u in f)p[u]=h(f[u]);return{type:"Topology",bbox:l,transform:t,objects:p,arcs:e.arcs.map(v)}}},d26e:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[0],s=r[1],l=r[2],u=r[3],c=u*n+s*o-l*i,f=u*i+l*n-a*o,p=u*o+a*i-s*n,d=-a*n-s*i-l*o;return e[0]=c*u+d*-a+f*-l-p*-s,e[1]=f*u+d*-s+p*-a-c*-l,e[2]=p*u+d*-l+c*-s-f*-a,e[3]=t[3],e}e.exports=r},d28b:function(e,t,r){var n=r("746f");n("iterator")},d28d:function(e,t){function r(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}e.exports=r},d2bb:function(e,t,r){var n=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},d2d4:function(e,t,r){"use strict";e.exports=r("c3de")},d2d9:function(e,t,r){"use strict";var n=r("9845"),i=r("dfb3"),o=r("a651").templatedArray,a=o("button",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"plot",description:"Determines whether or not this button is visible."},step:{valType:"enumerated",role:"info",values:["month","year","day","hour","minute","second","all"],dflt:"month",editType:"plot",description:["The unit of measurement that the `count` value will set the range by."].join(" ")},stepmode:{valType:"enumerated",role:"info",values:["backward","todate"],dflt:"backward",editType:"plot",description:["Sets the range update mode.","If *backward*, the range update shifts the start of range","back *count* times *step* milliseconds.","If *todate*, the range update shifts the start of range","back to the first timestamp from *count* times","*step* milliseconds back.","For example, with `step` set to *year* and `count` set to *1*","the range update shifts the start of the range back to","January 01 of the current year.","Month and year *todate* are currently available only","for the built-in (Gregorian) calendar."].join(" ")},count:{valType:"number",role:"info",min:0,dflt:1,editType:"plot",description:["Sets the number of steps to take to update the range.","Use with `step` to specify the update interval."].join(" ")},label:{valType:"string",role:"info",editType:"plot",description:"Sets the text label to appear on the button."},editType:"plot",description:["Sets the specifications for each buttons.","By default, a range selector comes with no buttons."].join(" ")});e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["Determines whether or not this range selector is visible.","Note that range selectors are only available for x axes of","`type` set to or auto-typed to *date*."].join(" ")},buttons:a,x:{valType:"number",min:-2,max:3,role:"style",editType:"plot",description:"Sets the x position (in normalized coordinates) of the range selector."},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"plot",description:["Sets the range selector's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"plot",description:"Sets the y position (in normalized coordinates) of the range selector."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"bottom",role:"info",editType:"plot",description:["Sets the range selector's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},font:n({editType:"plot",description:"Sets the font of the range selector button text."}),bgcolor:{valType:"color",dflt:i.lightLine,role:"style",editType:"plot",description:"Sets the background color of the range selector buttons."},activecolor:{valType:"color",role:"style",editType:"plot",description:"Sets the background color of the active range selector button."},bordercolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"plot",description:"Sets the color of the border enclosing the range selector."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:"Sets the width (in px) of the border enclosing the range selector."},editType:"plot"}},d301:function(e,t,r){"use strict";var n=r("055a").counter;e.exports={idRegex:{x:n("x","( domain)?"),y:n("y","( domain)?")},attrRegex:n("[xy]axis"),xAxisMatch:n("xaxis"),yAxisMatch:n("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},d325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M14.438 2.5C6.438 2.563 0 9.063 0 17c0 8.063 6.5 14.563 14.5 14.563 3.5 0 6.625-1.188 9.125-3.188l-9.188-10.813zm16.875 13.063V15c0-8.063-6.5-14.563-14.563-14.563h-.063v15.125zM32 17.75H17.437l9.125 10.813C29.75 26 31.875 22.125 32 17.75z"}))};t.default=u},d327:function(e,t){function r(){return[]}e.exports=r},d337:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M14.938 0h2v32h-2zM0 14.938h32v2H0zm2.563-1.5l-2-.125c.125-1.563.75-4.125 2.875-4.125 1.25 0 2 .688 2.688 1.188.813.688 1.063.813 1.5.688.625-.25 1.563-2.5 2.125-4.125.375-1.188.813-2.375 1.313-3.313 1.5-2.813 3.063-3.063 3.313-3.25l.313 2s-.938.313-2 2.188c-.313.75-.688 1.813-1.063 3.063-.938 2.5-1.75 4.75-3.375 5.313-1.438.5-2.5-.375-3.313-.938-.563-.375-.938-.813-1.5-.813-.5 0-.875 1.5-.875 2.25zM22 7.313c-.813 0-1.313-.5-1.313-1.313s.5-1.313 1.313-1.313 1.313.5 1.313 1.313-.5 1.313-1.313 1.313zm0-2v.688zm5.313 2C26.563 7.313 26 6.813 26 6s.563-1.313 1.313-1.313c.813 0 1.375.5 1.375 1.313s-.563 1.313-1.375 1.313zm0-2v.688zm.687-2c-.813 0-1.313-.5-1.313-1.313S27.187.687 28 .687s1.313.5 1.313 1.313-.5 1.313-1.313 1.313zm0-2v.688zM19.313 14c-.75 0-1.313-.563-1.313-1.313 0-.813.563-1.375 1.313-1.375.813 0 1.375.563 1.375 1.375 0 .75-.563 1.313-1.375 1.313zm0-2v.688zM28 12c-.813 0-1.313-.563-1.313-1.313 0-.813.5-1.375 1.313-1.375s1.313.563 1.313 1.375c0 .75-.5 1.313-1.313 1.313zm0-2v.688zm-4.687 2.688c-.75 0-1.313-.563-1.313-1.375 0-.75.563-1.313 1.313-1.313.813 0 1.375.563 1.375 1.313 0 .813-.563 1.375-1.375 1.375zm0-2v.625zm-16 14c-.75 0-1.313-.563-1.313-1.375C6 22.563 6.563 22 7.313 22c.813 0 1.375.563 1.375 1.313 0 .813-.563 1.375-1.375 1.375zm0-2v.625zm5.375 2.625c-.813 0-1.375-.5-1.375-1.313s.563-1.313 1.375-1.313c.75 0 1.313.5 1.313 1.313s-.563 1.313-1.313 1.313zm0-2v.688zm0-2.625c-.813 0-1.375-.563-1.375-1.375 0-.75.563-1.313 1.375-1.313.75 0 1.313.563 1.313 1.313 0 .813-.563 1.375-1.313 1.375zm0-2v.625zM4.688 30c-.813 0-1.375-.563-1.375-1.313 0-.813.563-1.375 1.375-1.375.75 0 1.313.563 1.313 1.375 0 .75-.563 1.313-1.313 1.313zm0-2v.688zm6.625 2c-.75 0-1.313-.563-1.313-1.313 0-.813.563-1.375 1.313-1.375.813 0 1.375.563 1.375 1.375 0 .75-.563 1.313-1.375 1.313zm0-2v.688zm18.437 2.938c-.813-2.375-2.563-6.563-3.75-7.625-.375 0-1.063 1.063-1.438 1.625-.813 1.188-1.75 2.375-3.125 2.688-.25 0-.75 0-1.313-.438-1.75-1.313-2.25-6.938-2.5-8.5l2-.125c.25 3.188 1.063 6.375 1.563 7.063.438-.313 1.188-1.25 1.625-1.875.938-1.188 1.75-2.313 2.813-2.438.375 0 .938 0 1.563.563 2 1.75 4 7.75 4.25 8.375z"}))};t.default=u},d345:function(e,t,r){"use strict";e.exports=r("2292")()?WeakMap:r("1c1a")},d34f:function(e,t,r){"use strict";var n=r("6e58"),i=r("fc26"),o=r("83d1"),a=5,s=.01;function l(e,t,r,o){var a=t.xaxis,s=t.yaxis;i.makeTraceGroups(o,r,"trace boxes").each((function(e){var t,r,i=n.select(this),o=e[0],l=o.t,p=o.trace;(l.wdPos=l.bdPos*p.whiskerwidth,!0!==p.visible||l.empty)?i.remove():("h"===p.orientation?(t=s,r=a):(t=a,r=s),u(i,{pos:t,val:r},p,l),c(i,{x:a,y:s},p,l),f(i,{pos:t,val:r},p,l))}))}function u(e,t,r,o){var a,s,l="h"===r.orientation,u=t.val,c=t.pos,f=!!c.rangebreaks,p=o.bPos,d=o.wdPos||0,h=o.bPosPxOffset||0,v=r.whiskerwidth||0,m=r.notched||!1,g=m?1-2*r.notchwidth:1;Array.isArray(o.bdPos)?(a=o.bdPos[0],s=o.bdPos[1]):(a=o.bdPos,s=o.bdPos);var y=e.selectAll("path.box").data("violin"!==r.type||r.box.visible?i.identity:[]);y.enter().append("path").style("vector-effect","non-scaling-stroke").attr("class","box"),y.exit().remove(),y.each((function(e){if(e.empty)return"M0,0Z";var t=c.c2l(e.pos+p,!0),o=c.l2p(t-a)+h,y=c.l2p(t+s)+h,b=f?(o+y)/2:c.l2p(t)+h,x=r.whiskerwidth,A=f?o*x+(1-x)*b:c.l2p(t-d)+h,w=f?y*x+(1-x)*b:c.l2p(t+d)+h,_=c.l2p(t-a*g)+h,E=c.l2p(t+s*g)+h,k=u.c2p(e.q1,!0),T=u.c2p(e.q3,!0),C=i.constrain(u.c2p(e.med,!0),Math.min(k,T)+1,Math.max(k,T)-1),S=void 0===e.lf||!1===r.boxpoints,O=u.c2p(S?e.min:e.lf,!0),M=u.c2p(S?e.max:e.uf,!0),P=u.c2p(e.ln,!0),B=u.c2p(e.un,!0);l?n.select(this).attr("d","M"+C+","+_+"V"+E+"M"+k+","+o+"V"+y+(m?"H"+P+"L"+C+","+E+"L"+B+","+y:"")+"H"+T+"V"+o+(m?"H"+B+"L"+C+","+_+"L"+P+","+o:"")+"ZM"+k+","+b+"H"+O+"M"+T+","+b+"H"+M+(0===v?"":"M"+O+","+A+"V"+w+"M"+M+","+A+"V"+w)):n.select(this).attr("d","M"+_+","+C+"H"+E+"M"+o+","+k+"H"+y+(m?"V"+P+"L"+E+","+C+"L"+y+","+B:"")+"V"+T+"H"+o+(m?"V"+B+"L"+_+","+C+"L"+o+","+P:"")+"ZM"+b+","+k+"V"+O+"M"+b+","+T+"V"+M+(0===v?"":"M"+A+","+O+"H"+w+"M"+A+","+M+"H"+w))}))}function c(e,t,r,n){var l=t.x,u=t.y,c=n.bdPos,f=n.bPos,p=r.boxpoints||r.points;i.seedPseudoRandom();var d=function(e){return e.forEach((function(e){e.t=n,e.trace=r})),e},h=e.selectAll("g.points").data(p?d:[]);h.enter().append("g").attr("class","points"),h.exit().remove();var v=h.selectAll("path").data((function(e){var t,n,o=e.pts2,l=Math.max((e.max-e.min)/10,e.q3-e.q1),u=1e-9*l,d=l*s,h=[],v=0;if(r.jitter){if(0===l)for(v=1,h=new Array(o.length),t=0;t<o.length;t++)h[t]=1;else for(t=0;t<o.length;t++){var m=Math.max(0,t-a),g=o[m].v,y=Math.min(o.length-1,t+a),b=o[y].v;"all"!==p&&(o[t].v<e.lf?b=Math.min(b,e.lf):g=Math.max(g,e.uf));var x=Math.sqrt(d*(y-m)/(b-g+u))||0;x=i.constrain(Math.abs(x),0,1),h.push(x),v=Math.max(x,v)}n=2*r.jitter/(v||1)}for(t=0;t<o.length;t++){var A=o[t],w=A.v,_=r.jitter?n*h[t]*(i.pseudoRandom()-.5):0,E=e.pos+f+c*(r.pointpos+_);"h"===r.orientation?(A.y=E,A.x=w):(A.x=E,A.y=w),"suspectedoutliers"===p&&w<e.uo&&w>e.lo&&(A.so=!0)}return o}));v.enter().append("path").classed("point",!0),v.exit().remove(),v.call(o.translatePoints,l,u)}function f(e,t,r,o){var a,s,l=t.val,u=t.pos,c=!!u.rangebreaks,f=o.bPos,p=o.bPosPxOffset||0,d=r.boxmean||(r.meanline||{}).visible;Array.isArray(o.bdPos)?(a=o.bdPos[0],s=o.bdPos[1]):(a=o.bdPos,s=o.bdPos);var h=e.selectAll("path.mean").data("box"===r.type&&r.boxmean||"violin"===r.type&&r.box.visible&&r.meanline.visible?i.identity:[]);h.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),h.exit().remove(),h.each((function(e){var t=u.c2l(e.pos+f,!0),i=u.l2p(t-a)+p,o=u.l2p(t+s)+p,h=c?(i+o)/2:u.l2p(t)+p,v=l.c2p(e.mean,!0),m=l.c2p(e.mean-e.sd,!0),g=l.c2p(e.mean+e.sd,!0);"h"===r.orientation?n.select(this).attr("d","M"+v+","+i+"V"+o+("sd"===d?"m0,0L"+m+","+h+"L"+v+","+i+"L"+g+","+h+"Z":"")):n.select(this).attr("d","M"+i+","+v+"H"+o+("sd"===d?"m0,0L"+h+","+m+"L"+i+","+v+"L"+h+","+g+"Z":""))}))}e.exports={plot:l,plotBoxAndWhiskers:u,plotPoints:c,plotBoxMean:f}},d370:function(e,t,r){var n=r("253c"),i=r("1310"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},d37d:function(e,t,r){"use strict";var n=r("4c18");function i(e){var t=["'use strict'","var CACHED={}"],r=[],i=e.funcName+"_cwise_thunk";t.push(["return function ",i,"(",e.shimArgs.join(","),"){"].join(""));for(var o=[],a=[],s=[["array",e.arrayArgs[0],".shape.slice(",Math.max(0,e.arrayBlockIndices[0]),e.arrayBlockIndices[0]<0?","+e.arrayBlockIndices[0]+")":")"].join("")],l=[],u=[],c=0;c<e.arrayArgs.length;++c){var f=e.arrayArgs[c];r.push(["t",f,"=array",f,".dtype,","r",f,"=array",f,".order"].join("")),o.push("t"+f),o.push("r"+f),a.push("t"+f),a.push("r"+f+".join()"),s.push("array"+f+".data"),s.push("array"+f+".stride"),s.push("array"+f+".offset|0"),c>0&&(l.push("array"+e.arrayArgs[0]+".shape.length===array"+f+".shape.length+"+(Math.abs(e.arrayBlockIndices[0])-Math.abs(e.arrayBlockIndices[c]))),u.push("array"+e.arrayArgs[0]+".shape[shapeIndex+"+Math.max(0,e.arrayBlockIndices[0])+"]===array"+f+".shape[shapeIndex+"+Math.max(0,e.arrayBlockIndices[c])+"]"))}e.arrayArgs.length>1&&(t.push("if (!("+l.join(" && ")+")) throw new Error('cwise: Arrays do not all have the same dimensionality!')"),t.push("for(var shapeIndex=array"+e.arrayArgs[0]+".shape.length-"+Math.abs(e.arrayBlockIndices[0])+"; shapeIndex--\x3e0;) {"),t.push("if (!("+u.join(" && ")+")) throw new Error('cwise: Arrays do not all have the same shape!')"),t.push("}"));for(c=0;c<e.scalarArgs.length;++c)s.push("scalar"+e.scalarArgs[c]);r.push(["type=[",a.join(","),"].join()"].join("")),r.push("proc=CACHED[type]"),t.push("var "+r.join(",")),t.push(["if(!proc){","CACHED[type]=proc=compile([",o.join(","),"])}","return proc(",s.join(","),")}"].join("")),e.debug&&console.log("-----Generated thunk:\n"+t.join("\n")+"\n----------");var p=new Function("compile",t.join("\n"));return p(n.bind(void 0,e))}e.exports=i},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d3c2:function(e,t,r){"use strict";function n(e,t,r,n,i,o){var a=6*i*i-6*i,s=3*i*i-4*i+1,l=-6*i*i+6*i,u=3*i*i-2*i;if(e.length){o||(o=new Array(e.length));for(var c=e.length-1;c>=0;--c)o[c]=a*e[c]+s*t[c]+l*r[c]+u*n[c];return o}return a*e+s*t+l*r[c]+u*n}function i(e,t,r,n,i,o){var a=i-1,s=i*i,l=a*a,u=(1+2*i)*l,c=i*l,f=s*(3-2*i),p=s*a;if(e.length){o||(o=new Array(e.length));for(var d=e.length-1;d>=0;--d)o[d]=u*e[d]+c*t[d]+f*r[d]+p*n[d];return o}return u*e+c*t+f*r+p*n}e.exports=i,e.exports.derivative=n},d3c24:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M14.938 16c0-1.188-.438-2.188-1.25-3-.813-.875-1.813-1.25-3-1.25S8.5 12.125 7.625 13c-.813.813-1.25 1.813-1.25 3s.438 2.188 1.25 3c.875.875 1.875 1.25 3.063 1.25s2.188-.375 3-1.25c.813-.813 1.25-1.813 1.25-3zm12.812 8.563a2.07 2.07 0 0 0-.625-1.5c-.438-.438-.938-.688-1.5-.688a1.9 1.9 0 0 0-1.5.688 1.9 1.9 0 0 0-.688 1.5c0 .563.25 1.063.625 1.5.438.375.938.625 1.563.625.563 0 1.063-.25 1.5-.625.375-.438.625-.938.625-1.5zm0-17.125c0-.563-.25-1.063-.625-1.5-.438-.375-.938-.625-1.5-.625a2.07 2.07 0 0 0-1.5.625c-.438.438-.688.938-.688 1.5 0 .625.25 1.125.625 1.563.438.375.938.625 1.563.625.563 0 1.063-.25 1.5-.625.375-.438.625-.938.625-1.563zM21.313 14.5v3.063c0 .125 0 .25-.125.313-.063.125-.125.188-.25.188l-2.563.375c-.125.438-.313.813-.563 1.313.375.5.875 1.125 1.5 1.875.125.125.125.25.125.375s0 .25-.125.313c-.25.313-.688.813-1.375 1.5-.625.625-1.063 1-1.313 1-.125 0-.188-.063-.313-.125l-1.938-1.5a7.424 7.424 0 0 1-1.25.5c-.125 1.188-.25 2.063-.438 2.563-.063.313-.188.438-.5.438H9.122a.482.482 0 0 1-.313-.125c-.125-.125-.188-.188-.188-.313l-.375-2.563c-.375-.125-.813-.25-1.25-.5l-2 1.5c-.063.063-.188.125-.313.125s-.25-.063-.375-.188c-1.563-1.438-2.375-2.313-2.375-2.625 0-.125.063-.25.125-.313.125-.188.313-.5.688-.875.313-.438.563-.813.75-1.063-.25-.5-.438-.938-.563-1.375L.37 18.001c-.063 0-.188-.063-.25-.188a.477.477 0 0 1-.125-.313v-3.063c0-.125.063-.25.125-.313.063-.125.188-.188.25-.188l2.563-.375c.125-.438.313-.813.563-1.313-.375-.5-.875-1.125-1.5-1.875-.063-.125-.125-.25-.125-.375s.063-.25.125-.313c.25-.313.688-.813 1.375-1.5.688-.625 1.125-1 1.313-1 .125 0 .25.063.375.125l1.875 1.5a6.37 6.37 0 0 1 1.313-.5c.125-1.188.25-2.063.375-2.563.063-.313.25-.438.5-.438h3.063c.125 0 .25.063.375.125.063.125.125.188.125.313l.438 2.563c.375.125.75.25 1.25.5l1.938-1.5c.063-.063.188-.125.313-.125s.25.063.375.188c1.625 1.438 2.375 2.313 2.375 2.625 0 .125 0 .25-.063.313-.188.188-.375.5-.75.938-.313.375-.563.75-.75 1 .25.5.438 1 .563 1.375l2.563.375c.125 0 .188.063.25.188.125.063.125.188.125.313zM32 23.375v2.313c0 .188-.813.375-2.5.5a3.993 3.993 0 0 1-.5.875c.563 1.25.875 2.063.875 2.313 0 .063 0 .063-.063.125a76.824 76.824 0 0 1-2.063 1.188c-.125 0-.375-.25-.813-.813-.375-.5-.688-.875-.813-1.125-.25.063-.438.063-.5.063-.125 0-.313 0-.5-.063-.188.25-.5.625-.875 1.125-.438.563-.688.813-.813.813 0 0-.688-.375-2.063-1.188 0-.063-.063-.063-.063-.125 0-.25.313-1.063.875-2.313a3.976 3.976 0 0 1-.5-.875c-1.688-.125-2.5-.313-2.5-.5v-2.313c0-.188.813-.375 2.5-.5.125-.375.313-.625.5-.875-.563-1.25-.875-2.063-.875-2.313 0-.063.063-.063.063-.125.063 0 .25-.125.625-.313l.938-.563c.313-.188.5-.313.5-.313.125 0 .375.313.813.813.375.5.688.875.875 1.125.188-.063.375-.063.5-.063.063 0 .25 0 .5.063.563-.813 1.063-1.438 1.5-1.875l.125-.063s.688.438 2.063 1.188c.063.063.063.063.063.125 0 .25-.313 1.063-.875 2.313.188.25.375.5.5.875 1.688.125 2.5.313 2.5.5zm0-17.062v2.313c0 .188-.813.375-2.5.5a3.993 3.993 0 0 1-.5.875c.563 1.25.875 2.063.875 2.313 0 .063 0 .063-.063.125a76.824 76.824 0 0 1-2.063 1.188c-.125 0-.375-.25-.813-.813-.375-.5-.688-.875-.813-1.125-.25.063-.438.063-.5.063-.125 0-.313 0-.5-.063-.188.25-.5.625-.875 1.125-.438.563-.688.813-.813.813 0 0-.688-.375-2.063-1.188 0-.063-.063-.063-.063-.125 0-.25.313-1.063.875-2.313a3.976 3.976 0 0 1-.5-.875c-1.688-.125-2.5-.313-2.5-.5V6.313c0-.188.813-.375 2.5-.5.125-.375.313-.625.5-.875-.563-1.25-.875-2.063-.875-2.313 0-.063.063-.063.063-.125.063 0 .25-.125.625-.313.313-.25.625-.438.938-.563.313-.188.5-.313.5-.313.125 0 .375.25.813.813.375.5.688.875.875 1.125.188-.063.375-.063.5-.063.063 0 .25 0 .5.063.563-.813 1.063-1.438 1.5-1.875l.125-.063s.688.438 2.063 1.188c.063.063.063.063.063.125 0 .25-.313 1.063-.875 2.313.188.25.375.5.5.875 1.688.125 2.5.313 2.5.5z"}))};t.default=u},d3d4:function(e,t,r){"use strict";var n=r("0642"),i=r("f977");function o(e){this.scene=e,this.gl=e.gl,this.pixelRatio=e.pixelRatio,this.screenBox=[0,0,1,1],this.viewBox=[0,0,1,1],this.dataBox=[-1,-1,1,1],this.borderLineEnable=[!1,!1,!1,!1],this.borderLineWidth=[1,1,1,1],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.ticks=[[],[]],this.tickEnable=[!0,!0,!1,!1],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labels=["x","y"],this.labelEnable=[!0,!0,!1,!1],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelPad=[15,15,15,15],this.labelSize=[12,12],this.labelFont=["sans-serif","sans-serif"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.title="",this.titleEnable=!0,this.titleCenter=[0,0,0,0],this.titleAngle=0,this.titleColor=[0,0,0,1],this.titleFont="sans-serif",this.titleSize=18,this.gridLineEnable=[!0,!0],this.gridLineColor=[[0,0,0,.5],[0,0,0,.5]],this.gridLineWidth=[1,1],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[1,1],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.static=this.scene.staticPlot}var a=o.prototype,s=["xaxis","yaxis"];function l(e){return new o(e)}a.merge=function(e){var t,r,n,o,a,l,u,c,f,p,d;for(this.titleEnable=!1,this.backgroundColor=i(e.plot_bgcolor),p=0;p<2;++p){t=s[p];var h=t.charAt(0);for(r=e[this.scene[t]._name],n=r.title.text===this.scene.fullLayout._dfltTitle[h]?"":r.title.text,d=0;d<=2;d+=2)this.labelEnable[p+d]=!1,this.labels[p+d]=n,this.labelColor[p+d]=i(r.title.font.color),this.labelFont[p+d]=r.title.font.family,this.labelSize[p+d]=r.title.font.size,this.labelPad[p+d]=this.getLabelPad(t,r),this.tickEnable[p+d]=!1,this.tickColor[p+d]=i((r.tickfont||{}).color),this.tickAngle[p+d]="auto"===r.tickangle?0:Math.PI*-r.tickangle/180,this.tickPad[p+d]=this.getTickPad(r),this.tickMarkLength[p+d]=0,this.tickMarkWidth[p+d]=r.tickwidth||0,this.tickMarkColor[p+d]=i(r.tickcolor),this.borderLineEnable[p+d]=!1,this.borderLineColor[p+d]=i(r.linecolor),this.borderLineWidth[p+d]=r.linewidth||0;u=this.hasSharedAxis(r),a=this.hasAxisInDfltPos(t,r)&&!u,l=this.hasAxisInAltrPos(t,r)&&!u,o=r.mirror||!1,c=u?-1!==String(o).indexOf("all"):!!o,f=u?"allticks"===o:-1!==String(o).indexOf("ticks"),a?this.labelEnable[p]=!0:l&&(this.labelEnable[p+2]=!0),a?this.tickEnable[p]=r.showticklabels:l&&(this.tickEnable[p+2]=r.showticklabels),(a||c)&&(this.borderLineEnable[p]=r.showline),(l||c)&&(this.borderLineEnable[p+2]=r.showline),(a||f)&&(this.tickMarkLength[p]=this.getTickMarkLength(r)),(l||f)&&(this.tickMarkLength[p+2]=this.getTickMarkLength(r)),this.gridLineEnable[p]=r.showgrid,this.gridLineColor[p]=i(r.gridcolor),this.gridLineWidth[p]=r.gridwidth,this.zeroLineEnable[p]=r.zeroline,this.zeroLineColor[p]=i(r.zerolinecolor),this.zeroLineWidth[p]=r.zerolinewidth}},a.hasSharedAxis=function(e){var t=this.scene,r=t.fullLayout._subplots.gl2d,i=n.findSubplotsWithAxis(r,e);return 0!==i.indexOf(t.id)},a.hasAxisInDfltPos=function(e,t){var r=t.side;return"xaxis"===e?"bottom"===r:"yaxis"===e?"left"===r:void 0},a.hasAxisInAltrPos=function(e,t){var r=t.side;return"xaxis"===e?"top"===r:"yaxis"===e?"right"===r:void 0},a.getLabelPad=function(e,t){var r=1.5,n=t.title.font.size,i=t.showticklabels;return"xaxis"===e?"top"===t.side?n*(r+(i?1:0))-10:n*(r+(i?.5:0))-10:"yaxis"===e?"right"===t.side?10+n*(r+(i?1:.5)):10+n*(r+(i?.5:0)):void 0},a.getTickPad=function(e){return"outside"===e.ticks?10+e.ticklen:15},a.getTickMarkLength=function(e){if(!e.ticks)return 0;var t=e.ticklen;return"inside"===e.ticks?-t:t},e.exports=l},d3dc:function(e,t,r){"use strict";function n(e,t){var r=e%t;return r<0?r+t:r}function i(e,t){return Math.abs(e)>t/2?e-Math.round(e/t)*t:e}e.exports={mod:n,modHalf:i}},d3e8:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M5,4H19C20.1,4 21,4.9 21,6V18C21,19.1 20.1,20 19,20H5C3.9,20 3,19.1 3,18V6C3,4.9 3.9,4 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z"}))};e.exports=s},d402:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Discworld",jdEpoch:1721425.5,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),!1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),13},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear),400},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/8)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return(i.day()+1)%8},weekDay:function(e,t,r){var n=this.dayOfWeek(e,t,r);return n>=2&&n<=6},extraInfo:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return{century:a[Math.floor((i.year()-1)/100)+1]||""}},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return e=i.year()+(i.year()<0?1:0),t=i.month(),r=i.day(),r+(t>1?16:0)+(t>2?32*(t-2):0)+400*(e-1)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e+.5)-Math.floor(this.jdEpoch)-1;var t=Math.floor(e/400)+1;e-=400*(t-1),e+=e>15?16:0;var r=Math.floor(e/32)+1,n=e-32*(r-1)+1;return this.newDate(t<=0?t-1:t,r,n)}});var a={20:"Fruitbat",21:"Anchovy"};n.calendars.discworld=o},d40d:function(e,t,r){e.exports=r("ef49")},d41a:function(e,t,r){"use strict";t.uniforms=a,t.attributes=s;var n={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube"},i=null;function o(e,t){if(!i){var r=Object.keys(n);i={};for(var o=0;o<r.length;++o){var a=r[o];i[e[a]]=n[a]}}return i[t]}function a(e,t){for(var r=e.getProgramParameter(t,e.ACTIVE_UNIFORMS),n=[],i=0;i<r;++i){var a=e.getActiveUniform(t,i);if(a){var s=o(e,a.type);if(a.size>1)for(var l=0;l<a.size;++l)n.push({name:a.name.replace("[0]","["+l+"]"),type:s});else n.push({name:a.name,type:s})}}return n}function s(e,t){for(var r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),n=[],i=0;i<r;++i){var a=e.getActiveAttrib(t,i);a&&n.push({name:a.name,type:o(e,a.type)})}return n}},d41c:function(e,t,r){"use strict";e.exports=function(e,t,r){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),"h"===r.orientation?(e.label=e.y,e.value=e.x):(e.label=e.x,e.value=e.y),e}},d44e:function(e,t,r){var n=r("9bf2").f,i=r("5135"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d47b:function(e,t,r){"use strict";e.exports=r("d1b2")},d494:function(e,t,r){"use strict";var n=r("fc26"),i=r("215c").hasColorscale,o=r("4183"),a=r("81f0").defaults,s=r("e5ac"),l=r("0642"),u=r("f67b"),c=r("1db7"),f=r("f7a4").maxDimensionCount,p=r("8cdc");function d(e,t,r,a,s){var l=s("line.color",r);if(i(e,"line")&&n.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),o(e,t,a,s,{prefix:"line.",cLetter:"c"}),l.length;t.line.color=r}return 1/0}function h(e,t,r,i){function o(r,i){return n.coerce(e,t,u.dimensions,r,i)}var a=o("values"),s=o("visible");if(a&&a.length||(s=t.visible=!1),s){o("label"),o("tickvals"),o("ticktext"),o("tickformat");var f=o("range");t._ax={_id:"y",type:"linear",showexponent:"all",exponentformat:"B",range:f},l.setConvert(t._ax,i.layout),o("multiselect");var p=o("constraintrange");p&&(t.constraintrange=c.cleanRanges(p,t))}}e.exports=function(e,t,r,i){function o(r,i){return n.coerce(e,t,u,r,i)}var l=e.dimensions;Array.isArray(l)&&l.length>f&&(n.log("parcoords traces support up to "+f+" dimensions at the moment"),l.splice(f));var c=s(e,t,{name:"dimensions",layout:i,handleItemDefaults:h}),v=d(e,t,r,i,o);a(t,i,o),Array.isArray(c)&&c.length||(t.visible=!1),p(t,c,"values",v);var m={family:i.font.family,size:Math.round(i.font.size/1.2),color:i.font.color};n.coerceFont(o,"labelfont",m),n.coerceFont(o,"tickfont",m),n.coerceFont(o,"rangefont",m),o("labelangle"),o("labelside")}},d496:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M28.313 6.375c-1.5 0-2.75-1.188-2.688-2.75 0-1.5 1.188-2.75 2.75-2.688 1.5 0 2.75 1.188 2.688 2.75 0 1.5-1.188 2.75-2.75 2.688zm0-3.812c-.563 0-1.063.5-1.063 1.125 0 .563.5 1.063 1.063 1.063.625 0 1.063-.5 1.063-1.063 0-.625-.438-1.125-1.063-1.125zm-24.625 28.5c-1.563.063-2.75-1.188-2.75-2.688-.063-1.563 1.188-2.75 2.688-2.75 1.563-.063 2.75 1.188 2.75 2.688.063 1.563-1.188 2.75-2.688 2.75zm0-3.813c-.625 0-1.063.5-1.063 1.125 0 .563.438 1.063 1.063 1.063.563 0 1.063-.5 1.063-1.063 0-.625-.5-1.125-1.063-1.125zm1.375.188l-1.5-.75 5.063-9.375 3.25 6.125 8.188-17 3.25 6.125 3.625-8 1.563.75-5 11.063-3.375-6.25-8.188 17-3.375-6.25z"}))};t.default=u},d496f:function(e,t,r){"use strict";var n=r("0984"),i=r("87fd"),o=r("248f"),a=r("8c7e"),s=r("6033"),l=r("7bf3"),u=r("7264"),c=r("63f9"),f=r("a60e"),p=r("8f20"),d=r("0bd1"),h=r("9039"),v=r("5893"),m=n.isBrowser("Chrome"),g=n.isBrowser("Firefox"),y=m||g?v:function(e){},b={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:u,onDragStart:c,onFocus:f,onInput:p,onKeyDown:d,onPaste:h,onSelect:v,onMouseUp:y,onKeyUp:y};e.exports=b},d4ae:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 1360 1360"},e),o.default.createElement("path",{fill:"currentColor",d:"M436.395 296.519c-.035.024-132.838 63.18-168.071 176.888l113.017 77.533c27.173-50.264 66.14-95.117 116.285-129.927 3.922-2.722 7.916-5.272 11.899-7.825M907.083 618.819C954.8 702.082 943.541 805.4 882.72 876.277l248.645 147.556c34.558-50.135 71.658-119.84 87.054-203.214 32.22-174.515-44.787-317.497-44.787-317.497l.016-.008M833.271 726.291c0 67.024-54.335 121.356-121.359 121.356-67.021 0-121.353-54.332-121.353-121.356 0-67.021 54.331-121.353 121.353-121.353 67.024 0 121.359 54.332 121.359 121.353zM710.058 216.76a517.2 517.2 0 0 1 95.797 8.937l17.614-92.353c-122.54-22.829-251.963-8.079-369.683 47.472l36.725 85.027c66.594-31.461 141.009-49.083 219.547-49.083zM195.443 731.377c0-40.25 4.629-79.417 13.37-117.007l-88.215-20.637c-33.906 147.212-12.908 306.442 68.628 444.549l77.852-44.906c-45.492-76.747-71.635-166.313-71.635-261.999zM775.236 514.777c46.584 13.589 89.045 42.3 119.402 84.678l125.302-85.87c-10.704-14.181-81.113-103.261-186.458-139.721M751.772 509.24l28.458-149.199c-77.99-14.327-160.442-4.134-234.861 32.799l60.376 139.786c45.855-24.786 97.368-32.092 146.027-23.386zM520.673 847.101c-31.415-51.376-39.778-111.009-27.389-166.175L345.361 646.32c-20.933 91.694-7.544 190.861 43.773 276.665M669.68 950.522c-46.869-9.056-90.873-32.971-124.379-70.373l-95.508 109.614c47.968 83.938 189.86 109.751 189.945 109.767l29.942-149.008zM799.638 1236.97c86.811-12.874 206.11-90.075 259.565-127.28.373-.339 1.169-1.073 2.691-2.531L859.103 899.941a226.526 226.526 0 0 1-18.856 14.63c-34.726 24.105-73.889 37.037-113.209 39.593"}))};t.default=u},d4b5:function(e,t,r){"use strict";e.exports=function(e){return"string"===typeof e&&(e=e.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4))}},d4ec:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},d53b:function(e,t,r){"use strict";var n=r("c5f4"),i=Math.max;e.exports=function(e){return i(0,n(e))}},d546:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M17.65,6.35C16.2,4.9 14.21,4 12,4C7.58,4 4,7.58 4,12C4,16.42 7.58,20 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18C8.69,18 6,15.31 6,12C6,8.69 8.69,6 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"}))};e.exports=s},d577:function(e,t,r){"use strict";e.exports=function(e,t,r,n){var i,o,a,s=[],l=!!r.smoothing,u=!!n.smoothing,c=e[0].length-1,f=e.length-1;for(i=0,o=[],a=[];i<=c;i++)o[i]=e[0][i],a[i]=t[0][i];for(s.push({x:o,y:a,bicubic:l}),i=0,o=[],a=[];i<=f;i++)o[i]=e[i][c],a[i]=t[i][c];for(s.push({x:o,y:a,bicubic:u}),i=c,o=[],a=[];i>=0;i--)o[c-i]=e[f][i],a[c-i]=t[f][i];for(s.push({x:o,y:a,bicubic:l}),i=f,o=[],a=[];i>=0;i--)o[f-i]=e[i][0],a[f-i]=t[i][0];return s.push({x:o,y:a,bicubic:u}),s}},d58a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("4d3e");function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"stateToHTML",{enumerable:!0,get:function(){return i(n).default}})},d58b:function(e,t,r){"use strict";var n=r("fc26"),i=r("7678");e.exports=function(e,t,r){var o=!1;function a(r,o){return n.coerce(e,t,i,r,o)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"funnel"===l.type){o=!0;break}}o&&(a("funnelmode"),a("funnelgap",.2),a("funnelgroupgap"))}},d5db:function(e,t,r){},d5e3:function(e,t,r){"use strict";(function(t){e.exports=h;var n=r("efce"),i=r("b205"),o=r("b993"),a=r("c185").text,s=window||t.global||{},l=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};var u=3;function c(e,t,r,n){this.gl=e,this.shader=t,this.buffer=r,this.vao=n,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var f=c.prototype,p=[0,0];function d(e,t){try{return o(e,t)}catch(r){return console.warn('error vectorizing text:"'+e+'" error:',r),{cells:[],positions:[]}}}function h(e,t,r,o,s,l){var u=n(e),f=i(e,[{buffer:u,size:3}]),p=a(e);p.attributes.position.location=0;var d=new c(e,p,u,f);return d.update(t,r,o,s,l),d}f.bind=function(e,t,r,n){this.vao.bind(),this.shader.bind();var i=this.shader.uniforms;i.model=e,i.view=t,i.projection=r,i.pixelScale=n,p[0]=this.gl.drawingBufferWidth,p[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=p},f.unbind=function(){this.vao.unbind()},f.update=function(e,t,r,n,i){var o=[];function a(e,t,r,n,i,a){var s=l[r];s||(s=l[r]={});var u=s[t];u||(u=s[t]=d(t,{triangles:!0,font:r,textAlign:"center",textBaseline:"middle",lineSpacing:i,styletags:a}));for(var c=(n||12)/12,f=u.positions,p=u.cells,h=0,v=p.length;h<v;++h)for(var m=p[h],g=2;g>=0;--g){var y=f[m[g]];o.push(c*y[0],-c*y[1],e)}}for(var s=[0,0,0],c=[0,0,0],f=[0,0,0],p=[0,0,0],h=1.25,v={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},m=0;m<3;++m){f[m]=o.length/u|0,a(.5*(e[0][m]+e[1][m]),t[m],r[m],12,h,v),p[m]=(o.length/u|0)-f[m],s[m]=o.length/u|0;for(var g=0;g<n[m].length;++g)n[m][g].text&&a(n[m][g].x,n[m][g].text,n[m][g].font||i,n[m][g].fontSize||12,h,v);c[m]=(o.length/u|0)-s[m]}this.buffer.update(o),this.tickOffset=s,this.tickCount=c,this.labelOffset=f,this.labelCount=p},f.drawTicks=function(e,t,r,n,i,o,a,s){this.tickCount[e]&&(this.shader.uniforms.axis=o,this.shader.uniforms.color=i,this.shader.uniforms.angle=r,this.shader.uniforms.scale=t,this.shader.uniforms.offset=n,this.shader.uniforms.alignDir=a,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[e],this.tickOffset[e]))},f.drawLabel=function(e,t,r,n,i,o,a,s){this.labelCount[e]&&(this.shader.uniforms.axis=o,this.shader.uniforms.color=i,this.shader.uniforms.angle=r,this.shader.uniforms.scale=t,this.shader.uniforms.offset=n,this.shader.uniforms.alignDir=a,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.labelCount[e],this.labelOffset[e]))},f.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}}).call(this,r("4362"))},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d612:function(e,t,r){var n=r("7b83"),i=r("7ed2"),o=r("dc0f");function a(e){var t=-1,r=null==e?0:e.length;this.__data__=new n;while(++t<r)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},d618:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r("691e")),o=l(r("ab5b")),a=u(r("d7bc"));function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){var t=y();return function(){var r,n=b(e);if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){d(r,e);var t=v(r);function r(e,n){var i;return c(this,r),i=t.call(this,e,n),i.setLocals(n),i}return p(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(t)}},{key:"setLocals",value:function(e){var t=this.context.localize,r=e.fullContainer.type;["bar","histogram","funnel","waterfall"].includes(r)?this.name=t("Bars"):["funnelarea","pie","sunburst","treemap"].includes(r)?this.name=t("Segments"):this.name=t("Points")}},{key:"render",value:function(){return o.default.createElement(i.default,{name:this.name},this.props.children)}}]),r}(o.Component);x.propTypes={children:a.default.node,name:a.default.string},x.contextTypes={fullContainer:a.default.object,localize:a.default.func};var A=x;t.default=A},d61b:function(e,t,r){"use strict";e.exports=function(e,t,r,n){var i,o=n("contours.start"),a=n("contours.end"),s=!1===o||!1===a,l=r("contours.size");i=s?t.autocontour=!0:r("autocontour",!1),!i&&l||r("ncontours")}},d654:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(r("ab5b")),o=s(r("d7bc")),a=s(r("e874"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function f(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&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=m();return function(){var r,n=g(e);if(t){var i=g(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var y=function(e){f(r,e);var t=d(r);function r(){return l(this,r),t.apply(this,arguments)}return c(r,[{key:"render",value:function(){var e=this.props.className,t=e||"text-editor__html";return i.default.createElement("textarea",{value:this.state.value,placeholder:this.props.placeholder,onChange:this.onChange,className:t})}}]),r}(a.default);y.propTypes={className:o.default.string},y.defaultProps={placeholder:""};var b=y;t.default=b},d66f:function(e,t,r){"use strict";var n=r("b185"),i=r("2031"),o=r("96ae");e.exports=function(e){var t=Object(o(e)),r=arguments[1],a=Object(arguments[2]);if(t!==e&&!r)return t;var s={};return r?n(r,(function(t){(a.ensure||t in e)&&(s[t]=e[t])})):i(s,e),s}},d6aa:function(e,t,r){"use strict";var n;function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){o(e,t,r[t])}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r("9452"),s=r("f2e4"),l=r("24be"),u=r("ac05"),c=r("4f35"),f=r("67db"),p=r("6152"),d=r("ac96"),h=r("c687"),v=r("7301"),m=r("24f7"),g=m.List,y=m.Map,b=m.OrderedSet,x=r("effd"),A=r("681d"),w=r("38bc"),_=r("18c2"),E=v("draft_tree_data_support"),k=" ",T=" ",C=new RegExp("\r","g"),S=new RegExp("\n","g"),O=new RegExp("^\n","g"),M=new RegExp(k,"g"),P=new RegExp(" ?","g"),B=new RegExp("​?","g"),L=["bold","bolder","500","600","700","800","900"],D=["light","lighter","normal","100","200","300","400"],I=["className","href","rel","target","title"],j=["alt","className","height","src","width"],R=(n={},o(n,p("public/DraftStyleDefault/depth0"),0),o(n,p("public/DraftStyleDefault/depth1"),1),o(n,p("public/DraftStyleDefault/depth2"),2),o(n,p("public/DraftStyleDefault/depth3"),3),o(n,p("public/DraftStyleDefault/depth4"),4),n),F=y({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),N=function(e){var t={};return e.mapKeys((function(e,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach((function(r){void 0===t[r]?t[r]=e:"string"===typeof t[r]?t[r]=[t[r],e]:t[r].push(e)}))})),y(t)},z=function(e){if(w(e)){var t=e;if(t.style.fontFamily.includes("monospace"))return"CODE"}return null},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(R).some((function(r){e.classList.contains(r)&&(t=R[r])})),t},H=function(e){if(!x(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new f(t.href);return!0}catch(r){return!1}},V=function(e){if(!_(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Q=function(e,t){if(!w(e))return t;var r=e,n=r.style.fontWeight,i=r.style.fontStyle,o=r.style.textDecoration;return t.withMutations((function(e){L.indexOf(n)>=0?e.add("BOLD"):D.indexOf(n)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},W=function(e){return"ul"===e||"ol"===e},K=function(){function e(e,t){o(this,"characterList",g()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",c),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=g(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=c,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(E?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||d(),r=i({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:g(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=g(),this.currentBlockType="unstyled",this.currentText="",r},t._toBlockConfigs=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=i.nodeName.toLowerCase();if("body"===o||W(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;W(o)&&(this.wrapper=o,W(s)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(V(i))this._addImgNode(i,t);else if(H(i))this._addAnchorNode(i,r,t);else{var u=t;F.has(o)&&(u=u.add(F.get(o))),u=Q(i,u);var c=z(i);null!=c&&(u=u.add(c)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),u))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var f=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!==typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!E&&w(i)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=i;this.currentDepth=U(h,this.currentDepth)}var v=d(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),r.push(this._makeBlockConfig({key:v,childConfigs:m,type:l})),this.currentDepth=f,this.wrapper=p}}}return r},t._appendText=function(e,t){var r;this.currentText+=e;var n=a.create({style:t,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(e.length).fill(n))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry((function(e){return null!==e.getEntity()}));t=void 0!==n?Math.min(t,n[0]):t,n=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})),r=void 0!==n?Math.max(r,e-n[0]):r,t>r?(this.currentText="",this.characterList=g()):(this.currentText=this.currentText.slice(t,r),this.characterList=this.characterList.slice(t,r))},t._addTextNode=function(e,t){var r=e.textContent,n=r.trim();""===n&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=r.replace(O,""),r=r.replace(S,T)),this._appendText(r,t)},t._addBreakNode=function(e,t){A(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(_(e)){var r=e,n={};j.forEach((function(e){var t=r.getAttribute(e);t&&(n[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",n),v("draftjs_fix_paste_for_img")?"presentation"!==r.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,r){if(x(e)){var n=e,i={};I.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),i.url=new f(n.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),r)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.length-1,n=0;n<=r;n++){var o=e[n];o.parent=t,o.prevSibling=n>0?e[n-1].key:null,o.nextSibling=n<r?e[n+1].key:null,o.children=g(o.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new l(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this,r=g(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}));return r},t._toFlatContentBlocks=function(e){var t=this,r=this._hoistContainersInBlockConfigs(e);r.forEach((function(e){var r=t._extractTextFromBlockConfigs(e.childConfigs),n=r.text,o=r.characterList;t.contentBlocks.push(new s(i({},e,{text:e.text+n,characterList:e.characterList.concat(o)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,r="",n=g(),i=0;i<=t;i++){var o=e[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);r+=a.text,n=n.concat(a.characterList)}return{text:r,characterList:n}},e}(),q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;e=e.trim().replace(C,"").replace(M,T).replace(P,"").replace(B,"");var n=t(e);if(!n)return null;var i=N(r),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new K(i,o).addDOMNode(n).getContentBlocks()};e.exports=q},d6d8:function(e,t,r){"use strict";var n=r("ef33"),i=r("fc26").ensureArray;function o(e,t,r){var n=-.5*r[0]+1.5*t[0],i=-.5*r[1]+1.5*t[1];return[(2*n+e[0])/3,(2*i+e[1])/3]}e.exports=function(e,t,r,a,s,l){var u,c,f,p,d,h,v,m,g,y,b=r[0].length,x=r.length,A=s?3*b-2:b,w=l?3*x-2:x;for(e=i(e,w),t=i(t,w),f=0;f<w;f++)e[f]=i(e[f],A),t[f]=i(t[f],A);for(c=0,p=0;c<x;c++,p+=l?3:1)for(d=e[p],h=t[p],v=r[c],m=a[c],u=0,f=0;u<b;u++,f+=s?3:1)d[f]=v[u],h[f]=m[u];if(s)for(c=0,p=0;c<x;c++,p+=l?3:1){for(u=1,f=3;u<b-1;u++,f+=3)g=n([r[c][u-1],a[c][u-1]],[r[c][u],a[c][u]],[r[c][u+1],a[c][u+1]],s),e[p][f-1]=g[0][0],t[p][f-1]=g[0][1],e[p][f+1]=g[1][0],t[p][f+1]=g[1][1];y=o([e[p][0],t[p][0]],[e[p][2],t[p][2]],[e[p][3],t[p][3]]),e[p][1]=y[0],t[p][1]=y[1],y=o([e[p][A-1],t[p][A-1]],[e[p][A-3],t[p][A-3]],[e[p][A-4],t[p][A-4]]),e[p][A-2]=y[0],t[p][A-2]=y[1]}if(l)for(f=0;f<A;f++){for(p=3;p<w-3;p+=3)g=n([e[p-3][f],t[p-3][f]],[e[p][f],t[p][f]],[e[p+3][f],t[p+3][f]],l),e[p-1][f]=g[0][0],t[p-1][f]=g[0][1],e[p+1][f]=g[1][0],t[p+1][f]=g[1][1];y=o([e[0][f],t[0][f]],[e[2][f],t[2][f]],[e[3][f],t[3][f]]),e[1][f]=y[0],t[1][f]=y[1],y=o([e[w-1][f],t[w-1][f]],[e[w-3][f],t[w-3][f]],[e[w-4][f],t[w-4][f]]),e[w-2][f]=y[0],t[w-2][f]=y[1]}if(s&&l)for(p=1;p<w;p+=(p+1)%3===0?2:1){for(f=3;f<A-3;f+=3)g=n([e[p][f-3],t[p][f-3]],[e[p][f],t[p][f]],[e[p][f+3],t[p][f+3]],s),e[p][f-1]=.5*(e[p][f-1]+g[0][0]),t[p][f-1]=.5*(t[p][f-1]+g[0][1]),e[p][f+1]=.5*(e[p][f+1]+g[1][0]),t[p][f+1]=.5*(t[p][f+1]+g[1][1]);y=o([e[p][0],t[p][0]],[e[p][2],t[p][2]],[e[p][3],t[p][3]]),e[p][1]=.5*(e[p][1]+y[0]),t[p][1]=.5*(t[p][1]+y[1]),y=o([e[p][A-1],t[p][A-1]],[e[p][A-3],t[p][A-3]],[e[p][A-4],t[p][A-4]]),e[p][A-2]=.5*(e[p][A-2]+y[0]),t[p][A-2]=.5*(t[p][A-2]+y[1])}return[e,t]}},d6fb:function(e,t,r){"use strict";var n=r("a5c4"),i=r("fc26"),o=r("0642"),a=r("c258").extractOpts;e.exports=function(e,t,r,s,l,u){var c,f,p,d,h=e.cd[0],v=h.trace,m=e.xa,g=e.ya,y=h.x,b=h.y,x=h.z,A=h.xCenter,w=h.yCenter,_=h.zmask,E=v.zhoverformat,k=y,T=b;if(!1!==e.index){try{p=Math.round(e.index[1]),d=Math.round(e.index[0])}catch(N){return void i.error("Error hovering on heatmap, pointNumber must be [row,col], found:",e.index)}if(p<0||p>=x[0].length||d<0||d>x.length)return}else{if(n.inbox(t-y[0],t-y[y.length-1],0)>0||n.inbox(r-b[0],r-b[b.length-1],0)>0)return;if(u){var C;for(k=[2*y[0]-y[1]],C=1;C<y.length;C++)k.push((y[C]+y[C-1])/2);for(k.push([2*y[y.length-1]-y[y.length-2]]),T=[2*b[0]-b[1]],C=1;C<b.length;C++)T.push((b[C]+b[C-1])/2);T.push([2*b[b.length-1]-b[b.length-2]])}p=Math.max(0,Math.min(k.length-2,i.findBin(t,k))),d=Math.max(0,Math.min(T.length-2,i.findBin(r,T)))}var S,O,M=m.c2p(y[p]),P=m.c2p(y[p+1]),B=g.c2p(b[d]),L=g.c2p(b[d+1]);u?(S=h.orig_x||y,O=h.orig_y||b,P=M,c=S[p],L=B,f=O[d]):(S=h.orig_x||A||y,O=h.orig_y||w||b,c=A?S[p]:(S[p]+S[p+1])/2,f=w?O[d]:(O[d]+O[d+1])/2,m&&"category"===m.type&&(c=y[p]),g&&"category"===g.type&&(f=b[d]),v.zsmooth&&(M=P=m.c2p(c),B=L=g.c2p(f)));var D=x[d][p];if(_&&!_[d][p]&&(D=void 0),void 0!==D||v.hoverongaps){var I;Array.isArray(h.hovertext)&&Array.isArray(h.hovertext[d])?I=h.hovertext[d][p]:Array.isArray(h.text)&&Array.isArray(h.text[d])&&(I=h.text[d][p]);var j=a(v),R={type:"linear",range:[j.min,j.max],hoverformat:E,_separators:m._separators,_numFormat:m._numFormat},F=o.tickText(R,D,"hover").text;return[i.extendFlat(e,{index:v._after2before?v._after2before[d][p]:[d,p],distance:e.maxHoverDistance,spikeDistance:e.maxSpikeDistance,x0:M,x1:P,y0:B,y1:L,xLabelVal:c,yLabelVal:f,zLabelVal:D,zLabel:F,text:I})]}}},d706:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r,o,a,s){var l,u,c,f=[],p=n.traceIs(e,"contour"),d=n.traceIs(e,"histogram"),h=n.traceIs(e,"gl2d"),v=i(t)&&t.length>1;if(v&&!d&&"category"!==s.type){var m=t.length;if(!(m<=a))return p?t.slice(0,a):t.slice(0,a+1);if(p||h)f=t.slice(0,a);else if(1===a)f=[t[0]-.5,t[0]+.5];else{for(f=[1.5*t[0]-.5*t[1]],c=1;c<m;c++)f.push(.5*(t[c-1]+t[c]));f.push(1.5*t[m-1]-.5*t[m-2])}if(m<a){var g=f[f.length-1],y=g-f[f.length-2];for(c=m;c<a;c++)g+=y,f.push(g)}}else{var b=e[s._id.charAt(0)+"calendar"];if(d)l=s.r2c(r,0,b);else if(i(t)&&1===t.length)l=t[0];else if(void 0===r)l=0;else{var x="log"===s.type?s.d2c:s.r2c;l=x(r,0,b)}for(u=o||1,c=p||h?0:-.5;c<a;c++)f.push(l+u*c)}return f}},d70d:function(e,t,r){"use strict";var n=s(r("4a2f")),i=s(r("3c01")),o=s(r("5275")),a=s(r("4b75"));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:n.default}},d72e:function(e,t,r){"use strict";var n=r("d301"),i=r("a651").templatedArray,o=r("445c");e.exports=i("image",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"arraydraw",description:["Determines whether or not this image is visible."].join(" ")},source:{valType:"string",role:"info",editType:"arraydraw",description:["Specifies the URL of the image to be used.","The URL must be accessible from the domain where the","plot code is run, and can be either relative or absolute."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:["Specifies whether images are drawn below or above traces.","When `xref` and `yref` are both set to `paper`,","image is drawn below the entire plot area."].join(" ")},sizex:{valType:"number",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image container size horizontally.","The image will be sized based on the `position` value.","When `xref` is set to `paper`, units are sized relative","to the plot width.","When `xref` ends with ` domain`, units are sized relative","to the axis width."].join(" ")},sizey:{valType:"number",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image container size vertically.","The image will be sized based on the `position` value.","When `yref` is set to `paper`, units are sized relative","to the plot height.","When `yref` ends with ` domain`, units are sized relative","to the axis height."].join(" ")},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",role:"info",editType:"arraydraw",description:["Specifies which dimension of the image to constrain."].join(" ")},opacity:{valType:"number",role:"info",min:0,max:1,dflt:1,editType:"arraydraw",description:"Sets the opacity of the image."},x:{valType:"any",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image's x position.","When `xref` is set to `paper`, units are sized relative","to the plot height.","See `xref` for more info"].join(" ")},y:{valType:"any",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image's y position.","When `yref` is set to `paper`, units are sized relative","to the plot height.","See `yref` for more info"].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",editType:"arraydraw",description:"Sets the anchor for the x position"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",role:"info",editType:"arraydraw",description:"Sets the anchor for the y position."},xref:{valType:"enumerated",values:["paper",n.idRegex.x.toString()],dflt:"paper",role:"info",editType:"arraydraw",description:["Sets the images's x coordinate axis.",o.axisRefDescription("x","left","right")].join(" ")},yref:{valType:"enumerated",values:["paper",n.idRegex.y.toString()],dflt:"paper",role:"info",editType:"arraydraw",description:["Sets the images's y coordinate axis.",o.axisRefDescription("y","bottom","top")].join(" ")},editType:"arraydraw"})},d72ed:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=h(r("d654")),o=h(r("5f11")),a=d(r("ab5b")),s=h(r("d7bc")),l=h(r("0452")),u=r("0bab"),c=h(r("4d26")),f=h(r("ad9c"));function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(e,n){var a;v(this,r),a=t.call(this,e,n);var s=n.localize,c=[{key:"RICH_TEXT",label:s("Rich Text"),component:l.default},{key:"LATEX",label:s("LaTeX"),component:o.default},{key:"HTML",label:s("Edit in HTML"),component:i.default}],f=(0,u.isLaTeXExpr)(e.value)?"LATEX":"RICH_TEXT";return a.state={nextTab:null,currentTab:f,messages:[]},a.onModeChange=a.onModeChange.bind(w(a)),a.editors=c,a}return g(r,[{key:"convertValue",value:function(e,t){var r=this.state.currentTab;return"RICH_TEXT"===r&&"LATEX"===t?(0,u.htmlToLaTeX)(e):"LATEX"===r&&"RICH_TEXT"===t?(0,u.laTeXToHTML)(e):"HTML"===r&&"LATEX"===t?(0,u.htmlToLaTeX)(e):e}},{key:"onModeChange",value:function(e){var t,r=this.context.localize,n=this.props,i=n.defaultValuePattern,o=n.value,a=n.onChange,s=this.state.currentTab,l=o.trim(),c=l.length,f=this.convertValue(l,e),p=(0,u.isLaTeXExpr)(l)?i.test(f):i.test(l),d="RICH_TEXT"===s&&"HTML"===e||"HTML"===s&&"RICH_TEXT"===e;if(!p&&c>0&&!d)return t=(0,u.isLaTeXExpr)(o)?(0,u.hasTextExpression)(o)?[r("Rich text is incompatible with LaTeX."),r("Continuing will convert your LaTeX expression into raw text.")]:[r("Rich text is incompatible with LaTeX."),r("Continuing will remove your expression.")]:[r("LaTeX is a math typesetting language that doesn't work with rich text."),r("Continuing will convert your note to LaTeX-style text.")],void this.setState({nextTab:e,messages:t});this.setState({currentTab:e}),a(f)}},{key:"renderConfirmationPanel",value:function(e){var t=this;if(!e)return null;var r=this.context.localize,n=this.state.messages,i=function(){t.setState({nextTab:null})},o=function(){var e=t.state.nextTab,r=t.props,n=r.onChange,i=r.value;t.setState({currentTab:e,nextTab:null});var o=t.convertValue(i,e);n(o)};return a.default.createElement("div",{className:"multi-format-editor__confirmation-panel"},a.default.createElement("div",{className:"multi-format-editor__confirmation-panel__content"},a.default.createElement("h3",{className:"multi-format-editor__confirmation-panel__header"},r("Heads up!")),a.default.createElement("div",{className:"multi-format-editor__confirmation-panel__message"},a.default.createElement("p",{className:"multi-format-editor__confirmation-panel__message-primary"},n[0]),a.default.createElement("p",{className:"multi-format-editor__confirmation-panel__message-secondary"},n[1]))),a.default.createElement("div",{className:"multi-format-editor__confirmation-panel__actions"},a.default.createElement(f.default,{variant:"default",className:"multi-format-editor__confirmation-panel__cancel-button",onClick:i},r("Go back")),a.default.createElement(f.default,{variant:"primary",className:"multi-format-editor__confirmation-panel__continue-button",onClick:o},r("Continue"))))}},{key:"renderEditor",value:function(e){var t=this;if(!e)return null;var r=this.context.localize,n=this.props,i=n.onChange,o=n.placeholder,s=n.value,l=this.state.currentTab,u=(0,c.default)("multi-format-editor__tab","top-tab","left",{selected:"RICH_TEXT"===l}),f=(0,c.default)("multi-format-editor__tab","top-tab","right",{selected:"LATEX"===l}),p=(0,c.default)("multi-format-editor__tab","bottom-tab"),d=this.editors.filter((function(e){return e.key===l}))[0].component,h=this.editors.map((function(e){return e.label})),v="HTML"===l||"RICH_TEXT"===l,m="HTML"===l?a.default.createElement("div",{className:p,onClick:function(){return t.onModeChange("RICH_TEXT")}},r("Edit in Rich Text")):a.default.createElement("div",{className:p,onClick:function(){return t.onModeChange("HTML")}},r("Edit in HTML"));return a.default.createElement("div",{className:"multi-format-editor__root__wrapper"},a.default.createElement("div",{className:"multi-format-editor__tabs"},a.default.createElement("div",{className:u,onClick:function(){return t.onModeChange("RICH_TEXT")}},h[0]),a.default.createElement("div",{className:f,onClick:function(){return t.onModeChange("LATEX")}},h[1])),a.default.createElement("div",{className:"multi-format-editor__content__wrapper__".concat(l.toLowerCase())},a.default.createElement(d,{className:"multi-format-editor__".concat(l.toLowerCase()),onChange:i,placeholder:o,value:s})),v?m:null)}},{key:"render",value:function(){var e=this.state.nextTab,t=this.renderConfirmationPanel(null!==e)||this.renderEditor(null===e);return a.default.createElement("div",{className:"multi-format-editor__root"},t)}}]),r}(a.Component);k.propTypes={defaultValuePattern:s.default.instanceOf(RegExp),onChange:s.default.func.isRequired,placeholder:s.default.string,value:s.default.string},k.defaultProps={defaultValuePattern:/^$/,placeholder:"",value:""},k.contextTypes={localize:s.default.func};var T=k;t.default=T},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),i=r("d039"),o=r("b622"),a=r("9263"),s=r("9112"),l=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),p=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var h=o(e),v=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),m=v&&!i((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[l]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!v||!m||"replace"===e&&(!u||!c||p)||"split"===e&&!d){var g=/./[h],y=r(h,""[e],(function(e,t,r,n,i){return t.exec===a?v&&!i?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],x=y[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}f&&s(RegExp.prototype[h],"sham",!0)}},d78f:function(e,t,r){"use strict";var n=r("0642"),i=r("8797"),o=r("215c").hasColorscale,a=r("3aa8"),s=r("424b"),l=r("4136");e.exports=function(e,t){var r,u,c,f,p=n.getFromId(e,t.xaxis||"x"),d=n.getFromId(e,t.yaxis||"y"),h={msUTC:!(!t.base&&0!==t.base)};"h"===t.orientation?(r=p.makeCalcdata(t,"x",h),c=d.makeCalcdata(t,"y"),u=i(t,d,"y",c),f=!!t.yperiodalignment):(r=d.makeCalcdata(t,"y",h),c=p.makeCalcdata(t,"x"),u=i(t,p,"x",c),f=!!t.xperiodalignment);for(var v=Math.min(u.length,r.length),m=new Array(v),g=0;g<v;g++)m[g]={p:u[g],s:r[g]},f&&(m[g].orig_p=c[g]),t.ids&&(m[g].id=String(t.ids[g]));return o(t,"marker")&&a(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),o(t,"marker.line")&&a(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}),s(m,t),l(m,t),m}},d798:function(e,t,r){"use strict";var n=r("9845"),i=r("dfb3"),o=r("db54").dash,a=r("9092").extendFlat,s=r("a651").templatedArray,l=r("78df").FORMAT_LINK,u=r("78df").DATE_FORMAT_LINK,c=r("e806").ONEDAY,f=r("d301"),p=f.HOUR_PATTERN,d=f.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:i.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[f.idRegex.x.toString(),f.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[f.idRegex.x.toString(),f.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:s("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[d,p,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+d+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+p+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+d+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+p+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:c,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L<f>* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L<f>*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M<n>* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:a({},o,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:n({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:s("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:i.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",f.idRegex.x.toString(),f.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",f.idRegex.x.toString(),f.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:n({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},d799:function(e,t,r){"use strict";r.r(t),r.d(t,"AlphaPicker",(function(){return ya})),r.d(t,"BlockPicker",(function(){return du})),r.d(t,"CirclePicker",(function(){return Iu})),r.d(t,"default",(function(){return Xu})),r.d(t,"ChromePicker",(function(){return Xu})),r.d(t,"CompactPicker",(function(){return nc})),r.d(t,"GithubPicker",(function(){return sc})),r.d(t,"HuePicker",(function(){return pc})),r.d(t,"MaterialPicker",(function(){return hc})),r.d(t,"PhotoshopPicker",(function(){return Mc})),r.d(t,"SketchPicker",(function(){return Fc})),r.d(t,"SliderPicker",(function(){return Kc})),r.d(t,"SwatchesPicker",(function(){return ef})),r.d(t,"TwitterPicker",(function(){return rf})),r.d(t,"GooglePicker",(function(){return ff})),r.d(t,"CustomPicker",(function(){return na}));var n=r("ab5b"),i=r.n(n),o=r("fc55"),a=r.n(o),s=function(e,t,r,n,i){var o=i.clientWidth,a=i.clientHeight,s="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=s-(i.getBoundingClientRect().left+window.pageXOffset),c=l-(i.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var f=void 0;if(f=c<0?0:c>a?1:Math.round(100*c/a)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var p=void 0;if(p=u<0?0:u>o?1:Math.round(100*u/o)/100,n!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null},l={},u=function(e,t,r,n){if("undefined"===typeof document&&!n)return null;var i=n?new n:document.createElement("canvas");i.width=2*r,i.height=2*r;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=t,o.fillRect(0,0,r,r),o.translate(r,r),o.fillRect(0,0,r,r),i.toDataURL()):null},c=function(e,t,r,n){var i=e+"-"+t+"-"+r+(n?"-server":"");if(l[i])return l[i];var o=u(e,t,r,n);return l[i]=o,o},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p=function(e){var t=e.white,r=e.grey,o=e.size,s=e.renderers,l=e.borderRadius,u=e.boxShadow,p=e.children,d=a()({default:{grid:{borderRadius:l,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+c(t,r,o,s.canvas)+") center left"}}});return Object(n["isValidElement"])(p)?i.a.cloneElement(p,f({},p.props,{style:f({},p.props.style,d.grid)})):i.a.createElement("div",{style:d.grid})};p.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var d=p,h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function y(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=function(e){function t(){var e,r,n,i;m(this,t);for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r=n,n.handleChange=function(e){var t=s(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"===typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},i=r,g(n,i)}return y(t,e),v(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=a()({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:h({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.a.createElement("div",{style:r.alpha},i.a.createElement("div",{style:r.checkboard},i.a.createElement(d,{renderers:this.props.renderers})),i.a.createElement("div",{style:r.gradient}),i.a.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.a.createElement("div",{style:r.pointer},this.props.pointer?i.a.createElement(this.props.pointer,this.props):i.a.createElement("div",{style:r.slider}))))}}]),t}(n["PureComponent"]||n["Component"]),x=b,A=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function k(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var T=1,C=38,S=40,O=[C,S],M=function(e){return O.indexOf(e)>-1},P=function(e){return Number(String(e).replace(/%/g,""))},B=1,L=function(e){function t(e){_(this,t);var r=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t=P(e.target.value);if(!isNaN(t)&&M(e.keyCode)){var n=r.getArrowOffset(),i=e.keyCode===C?t+n:t-n;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+B++,r}return k(t,e),A(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return w({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||T}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=a()({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i.a.createElement("div",{style:t.wrap},i.a.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i.a.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(n["PureComponent"]||n["Component"]),D=L,I=function(e,t,r,n){var i=n.clientWidth,o=n.clientHeight,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),u=s-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(u<0)c=359;else if(u>o)c=0;else{var f=-100*u/o+100;c=360*f/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p=void 0;if(l<0)p=0;else if(l>i)p=359;else{var d=100*l/i;p=360*d/100}if(r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null},j=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function N(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var z=function(e){function t(){var e,r,n,i;R(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=F(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r=n,n.handleChange=function(e){var t=I(e,n.props.direction,n.props.hsl,n.container);t&&"function"===typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},i=r,F(n,i)}return N(t,e),j(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=a()({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return i.a.createElement("div",{style:n.hue},i.a.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.a.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i.a.createElement("div",{style:n.pointer},this.props.pointer?i.a.createElement(this.props.pointer,this.props):i.a.createElement("div",{style:n.slider}))))}}]),t}(n["PureComponent"]||n["Component"]),U=z,H=r("d7bc"),V=r.n(H);function Q(){this.__data__=[],this.size=0}var W=Q;function K(e,t){return e===t||e!==e&&t!==t}var q=K;function G(e,t){var r=e.length;while(r--)if(q(e[r][0],t))return r;return-1}var $=G,Y=Array.prototype,X=Y.splice;function Z(e){var t=this.__data__,r=$(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():X.call(t,r,1),--this.size,!0}var J=Z;function ee(e){var t=this.__data__,r=$(t,e);return r<0?void 0:t[r][1]}var te=ee;function re(e){return $(this.__data__,e)>-1}var ne=re;function ie(e,t){var r=this.__data__,n=$(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var oe=ie;function ae(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}ae.prototype.clear=W,ae.prototype["delete"]=J,ae.prototype.get=te,ae.prototype.has=ne,ae.prototype.set=oe;var se=ae;function le(){this.__data__=new se,this.size=0}var ue=le;function ce(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}var fe=ce;function pe(e){return this.__data__.get(e)}var de=pe;function he(e){return this.__data__.has(e)}var ve=he,me=r("26ee"),ge=me["a"].Symbol,ye=ge,be=Object.prototype,xe=be.hasOwnProperty,Ae=be.toString,we=ye?ye.toStringTag:void 0;function _e(e){var t=xe.call(e,we),r=e[we];try{e[we]=void 0;var n=!0}catch(o){}var i=Ae.call(e);return n&&(t?e[we]=r:delete e[we]),i}var Ee=_e,ke=Object.prototype,Te=ke.toString;function Ce(e){return Te.call(e)}var Se=Ce,Oe="[object Null]",Me="[object Undefined]",Pe=ye?ye.toStringTag:void 0;function Be(e){return null==e?void 0===e?Me:Oe:Pe&&Pe in Object(e)?Ee(e):Se(e)}var Le=Be;function De(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Ie=De,je="[object AsyncFunction]",Re="[object Function]",Fe="[object GeneratorFunction]",Ne="[object Proxy]";function ze(e){if(!Ie(e))return!1;var t=Le(e);return t==Re||t==Fe||t==je||t==Ne}var Ue=ze,He=me["a"]["__core-js_shared__"],Ve=He,Qe=function(){var e=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function We(e){return!!Qe&&Qe in e}var Ke=We,qe=Function.prototype,Ge=qe.toString;function $e(e){if(null!=e){try{return Ge.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ye=$e,Xe=/[\\^$.*+?()[\]{}|]/g,Ze=/^\[object .+?Constructor\]$/,Je=Function.prototype,et=Object.prototype,tt=Je.toString,rt=et.hasOwnProperty,nt=RegExp("^"+tt.call(rt).replace(Xe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function it(e){if(!Ie(e)||Ke(e))return!1;var t=Ue(e)?nt:Ze;return t.test(Ye(e))}var ot=it;function at(e,t){return null==e?void 0:e[t]}var st=at;function lt(e,t){var r=st(e,t);return ot(r)?r:void 0}var ut=lt,ct=ut(me["a"],"Map"),ft=ct,pt=ut(Object,"create"),dt=pt;function ht(){this.__data__=dt?dt(null):{},this.size=0}var vt=ht;function mt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gt=mt,yt="__lodash_hash_undefined__",bt=Object.prototype,xt=bt.hasOwnProperty;function At(e){var t=this.__data__;if(dt){var r=t[e];return r===yt?void 0:r}return xt.call(t,e)?t[e]:void 0}var wt=At,_t=Object.prototype,Et=_t.hasOwnProperty;function kt(e){var t=this.__data__;return dt?void 0!==t[e]:Et.call(t,e)}var Tt=kt,Ct="__lodash_hash_undefined__";function St(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=dt&&void 0===t?Ct:t,this}var Ot=St;function Mt(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}Mt.prototype.clear=vt,Mt.prototype["delete"]=gt,Mt.prototype.get=wt,Mt.prototype.has=Tt,Mt.prototype.set=Ot;var Pt=Mt;function Bt(){this.size=0,this.__data__={hash:new Pt,map:new(ft||se),string:new Pt}}var Lt=Bt;function Dt(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var It=Dt;function jt(e,t){var r=e.__data__;return It(t)?r["string"==typeof t?"string":"hash"]:r.map}var Rt=jt;function Ft(e){var t=Rt(this,e)["delete"](e);return this.size-=t?1:0,t}var Nt=Ft;function zt(e){return Rt(this,e).get(e)}var Ut=zt;function Ht(e){return Rt(this,e).has(e)}var Vt=Ht;function Qt(e,t){var r=Rt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Wt=Qt;function Kt(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}Kt.prototype.clear=Lt,Kt.prototype["delete"]=Nt,Kt.prototype.get=Ut,Kt.prototype.has=Vt,Kt.prototype.set=Wt;var qt=Kt,Gt=200;function $t(e,t){var r=this.__data__;if(r instanceof se){var n=r.__data__;if(!ft||n.length<Gt-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new qt(n)}return r.set(e,t),this.size=r.size,this}var Yt=$t;function Xt(e){var t=this.__data__=new se(e);this.size=t.size}Xt.prototype.clear=ue,Xt.prototype["delete"]=fe,Xt.prototype.get=de,Xt.prototype.has=ve,Xt.prototype.set=Yt;var Zt=Xt,Jt=function(){try{var e=ut(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),er=Jt;function tr(e,t,r){"__proto__"==t&&er?er(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var rr=tr;function nr(e,t,r){(void 0!==r&&!q(e[t],r)||void 0===r&&!(t in e))&&rr(e,t,r)}var ir=nr;function or(e){return function(t,r,n){var i=-1,o=Object(t),a=n(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}var ar=or,sr=ar(),lr=sr,ur=r("dff1"),cr=me["a"].Uint8Array,fr=cr;function pr(e){var t=new e.constructor(e.byteLength);return new fr(t).set(new fr(e)),t}var dr=pr;function hr(e,t){var r=t?dr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var vr=hr;function mr(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}var gr=mr,yr=Object.create,br=function(){function e(){}return function(t){if(!Ie(t))return{};if(yr)return yr(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),xr=br;function Ar(e,t){return function(r){return e(t(r))}}var wr=Ar,_r=wr(Object.getPrototypeOf,Object),Er=_r,kr=Object.prototype;function Tr(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||kr;return e===r}var Cr=Tr;function Sr(e){return"function"!=typeof e.constructor||Cr(e)?{}:xr(Er(e))}var Or=Sr;function Mr(e){return null!=e&&"object"==typeof e}var Pr=Mr,Br="[object Arguments]";function Lr(e){return Pr(e)&&Le(e)==Br}var Dr=Lr,Ir=Object.prototype,jr=Ir.hasOwnProperty,Rr=Ir.propertyIsEnumerable,Fr=Dr(function(){return arguments}())?Dr:function(e){return Pr(e)&&jr.call(e,"callee")&&!Rr.call(e,"callee")},Nr=Fr,zr=Array.isArray,Ur=zr,Hr=9007199254740991;function Vr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Hr}var Qr=Vr;function Wr(e){return null!=e&&Qr(e.length)&&!Ue(e)}var Kr=Wr;function qr(e){return Pr(e)&&Kr(e)}var Gr=qr,$r=r("58e0"),Yr="[object Object]",Xr=Function.prototype,Zr=Object.prototype,Jr=Xr.toString,en=Zr.hasOwnProperty,tn=Jr.call(Object);function rn(e){if(!Pr(e)||Le(e)!=Yr)return!1;var t=Er(e);if(null===t)return!0;var r=en.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Jr.call(r)==tn}var nn=rn,on="[object Arguments]",an="[object Array]",sn="[object Boolean]",ln="[object Date]",un="[object Error]",cn="[object Function]",fn="[object Map]",pn="[object Number]",dn="[object Object]",hn="[object RegExp]",vn="[object Set]",mn="[object String]",gn="[object WeakMap]",yn="[object ArrayBuffer]",bn="[object DataView]",xn="[object Float32Array]",An="[object Float64Array]",wn="[object Int8Array]",_n="[object Int16Array]",En="[object Int32Array]",kn="[object Uint8Array]",Tn="[object Uint8ClampedArray]",Cn="[object Uint16Array]",Sn="[object Uint32Array]",On={};function Mn(e){return Pr(e)&&Qr(e.length)&&!!On[Le(e)]}On[xn]=On[An]=On[wn]=On[_n]=On[En]=On[kn]=On[Tn]=On[Cn]=On[Sn]=!0,On[on]=On[an]=On[yn]=On[sn]=On[bn]=On[ln]=On[un]=On[cn]=On[fn]=On[pn]=On[dn]=On[hn]=On[vn]=On[mn]=On[gn]=!1;var Pn=Mn;function Bn(e){return function(t){return e(t)}}var Ln=Bn,Dn=r("c6eb"),In=Dn["a"]&&Dn["a"].isTypedArray,jn=In?Ln(In):Pn,Rn=jn;function Fn(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Nn=Fn,zn=Object.prototype,Un=zn.hasOwnProperty;function Hn(e,t,r){var n=e[t];Un.call(e,t)&&q(n,r)&&(void 0!==r||t in e)||rr(e,t,r)}var Vn=Hn;function Qn(e,t,r,n){var i=!r;r||(r={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),i?rr(r,s,l):Vn(r,s,l)}return r}var Wn=Qn;function Kn(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}var qn=Kn,Gn=9007199254740991,$n=/^(?:0|[1-9]\d*)$/;function Yn(e,t){var r=typeof e;return t=null==t?Gn:t,!!t&&("number"==r||"symbol"!=r&&$n.test(e))&&e>-1&&e%1==0&&e<t}var Xn=Yn,Zn=Object.prototype,Jn=Zn.hasOwnProperty;function ei(e,t){var r=Ur(e),n=!r&&Nr(e),i=!r&&!n&&Object($r["a"])(e),o=!r&&!n&&!i&&Rn(e),a=r||n||i||o,s=a?qn(e.length,String):[],l=s.length;for(var u in e)!t&&!Jn.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Xn(u,l))||s.push(u);return s}var ti=ei;function ri(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}var ni=ri,ii=Object.prototype,oi=ii.hasOwnProperty;function ai(e){if(!Ie(e))return ni(e);var t=Cr(e),r=[];for(var n in e)("constructor"!=n||!t&&oi.call(e,n))&&r.push(n);return r}var si=ai;function li(e){return Kr(e)?ti(e,!0):si(e)}var ui=li;function ci(e){return Wn(e,ui(e))}var fi=ci;function pi(e,t,r,n,i,o,a){var s=Nn(e,r),l=Nn(t,r),u=a.get(l);if(u)ir(e,r,u);else{var c=o?o(s,l,r+"",e,t,a):void 0,f=void 0===c;if(f){var p=Ur(l),d=!p&&Object($r["a"])(l),h=!p&&!d&&Rn(l);c=l,p||d||h?Ur(s)?c=s:Gr(s)?c=gr(s):d?(f=!1,c=Object(ur["a"])(l,!0)):h?(f=!1,c=vr(l,!0)):c=[]:nn(l)||Nr(l)?(c=s,Nr(s)?c=fi(s):Ie(s)&&!Ue(s)||(c=Or(l))):f=!1}f&&(a.set(l,c),i(c,l,n,o,a),a["delete"](l)),ir(e,r,c)}}var di=pi;function hi(e,t,r,n,i){e!==t&&lr(t,(function(o,a){if(i||(i=new Zt),Ie(o))di(e,t,a,r,hi,n,i);else{var s=n?n(Nn(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ir(e,a,s)}}),ui)}var vi=hi;function mi(e){return e}var gi=mi;function yi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var bi=yi,xi=Math.max;function Ai(e,t,r){return t=xi(void 0===t?e.length-1:t,0),function(){var n=arguments,i=-1,o=xi(n.length-t,0),a=Array(o);while(++i<o)a[i]=n[t+i];i=-1;var s=Array(t+1);while(++i<t)s[i]=n[i];return s[t]=r(a),bi(e,this,s)}}var wi=Ai;function _i(e){return function(){return e}}var Ei=_i,ki=er?function(e,t){return er(e,"toString",{configurable:!0,enumerable:!1,value:Ei(t),writable:!0})}:gi,Ti=ki,Ci=800,Si=16,Oi=Date.now;function Mi(e){var t=0,r=0;return function(){var n=Oi(),i=Si-(n-r);if(r=n,i>0){if(++t>=Ci)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Pi=Mi,Bi=Pi(Ti),Li=Bi;function Di(e,t){return Li(wi(e,t,gi),e+"")}var Ii=Di;function ji(e,t,r){if(!Ie(r))return!1;var n=typeof t;return!!("number"==n?Kr(r)&&Xn(t,r.length):"string"==n&&t in r)&&q(r[t],e)}var Ri=ji;function Fi(e){return Ii((function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&Ri(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++n<i){var s=r[n];s&&e(t,s,n,o)}return t}))}var Ni=Fi,zi=Ni((function(e,t,r){vi(e,t,r)})),Ui=zi,Hi=function(e){var t=e.zDepth,r=e.radius,n=e.background,o=e.children,s=e.styles,l=void 0===s?{}:s,u=a()(Ui({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:n}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},l),{"zDepth-1":1===t});return i.a.createElement("div",{style:u.wrap},i.a.createElement("div",{style:u.bg}),i.a.createElement("div",{style:u.content},o))};Hi.propTypes={background:V.a.string,zDepth:V.a.oneOf([0,1,2,3,4,5]),radius:V.a.number,styles:V.a.object},Hi.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var Vi=Hi,Qi=function(){return me["a"].Date.now()},Wi=Qi,Ki=/\s/;function qi(e){var t=e.length;while(t--&&Ki.test(e.charAt(t)));return t}var Gi=qi,$i=/^\s+/;function Yi(e){return e?e.slice(0,Gi(e)+1).replace($i,""):e}var Xi=Yi,Zi="[object Symbol]";function Ji(e){return"symbol"==typeof e||Pr(e)&&Le(e)==Zi}var eo=Ji,to=NaN,ro=/^[-+]0x[0-9a-f]+$/i,no=/^0b[01]+$/i,io=/^0o[0-7]+$/i,oo=parseInt;function ao(e){if("number"==typeof e)return e;if(eo(e))return to;if(Ie(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ie(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xi(e);var r=no.test(e);return r||io.test(e)?oo(e.slice(2),r?2:8):ro.test(e)?to:+e}var so=ao,lo="Expected a function",uo=Math.max,co=Math.min;function fo(e,t,r){var n,i,o,a,s,l,u=0,c=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError(lo);function d(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r),a}function h(e){return u=e,s=setTimeout(g,t),c?d(e):a}function v(e){var r=e-l,n=e-u,i=t-r;return f?co(i,o-n):i}function m(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||f&&n>=o}function g(){var e=Wi();if(m(e))return y(e);s=setTimeout(g,v(e))}function y(e){return s=void 0,p&&n?d(e):(n=i=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0}function x(){return void 0===s?a:y(Wi())}function A(){var e=Wi(),r=m(e);if(n=arguments,i=this,l=e,r){if(void 0===s)return h(l);if(f)return clearTimeout(s),s=setTimeout(g,t),d(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=so(t)||0,Ie(r)&&(c=!!r.leading,f="maxWait"in r,o=f?uo(so(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),A.cancel=b,A.flush=x,A}var po=fo,ho="Expected a function";function vo(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError(ho);return Ie(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),po(e,t,{leading:n,maxWait:t,trailing:i})}var mo=vo,go=function(e,t,r){var n=r.getBoundingClientRect(),i=n.width,o=n.height,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),u=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>i&&(l=i),u<0?u=0:u>o&&(u=o);var c=l/i,f=1-u/o;return{h:t.h,s:c,v:f,a:t.a,source:"hsv"}},yo=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Ao(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var wo=function(e){function t(e){bo(this,t);var r=xo(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e){"function"===typeof r.props.onChange&&r.throttle(r.props.onChange,go(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=mo((function(e,t,r){e(t,r)}),50),r}return Ao(t,e),yo(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){var e=this.container,t=window;while(!t.document.contains(e)&&t.parent!==t)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,o=t.black,s=t.pointer,l=t.circle,u=a()({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:o,pointer:s,circle:l}},{custom:!!this.props.style});return i.a.createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.a.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i.a.createElement("div",{style:u.white,className:"saturation-white"},i.a.createElement("div",{style:u.black,className:"saturation-black"}),i.a.createElement("div",{style:u.pointer},this.props.pointer?i.a.createElement(this.props.pointer,this.props):i.a.createElement("div",{style:u.circle}))))}}]),t}(n["PureComponent"]||n["Component"]),_o=wo;function Eo(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(!1===t(e[r],r,e))break;return e}var ko=Eo,To=wr(Object.keys,Object),Co=To,So=Object.prototype,Oo=So.hasOwnProperty;function Mo(e){if(!Cr(e))return Co(e);var t=[];for(var r in Object(e))Oo.call(e,r)&&"constructor"!=r&&t.push(r);return t}var Po=Mo;function Bo(e){return Kr(e)?ti(e):Po(e)}var Lo=Bo;function Do(e,t){return e&&lr(e,t,Lo)}var Io=Do;function jo(e,t){return function(r,n){if(null==r)return r;if(!Kr(r))return e(r,n);var i=r.length,o=t?i:-1,a=Object(r);while(t?o--:++o<i)if(!1===n(a[o],o,a))break;return r}}var Ro=jo,Fo=Ro(Io),No=Fo;function zo(e){return"function"==typeof e?e:gi}var Uo=zo;function Ho(e,t){var r=Ur(e)?ko:No;return r(e,Uo(t))}var Vo=Ho,Qo=r("66cb"),Wo=r.n(Qo),Ko=function(e){var t=["r","g","b","a","h","s","l","v"],r=0,n=0;return Vo(t,(function(t){if(e[t]&&(r+=1,isNaN(e[t])||(n+=1),"s"===t||"l"===t)){var i=/^\d+%$/;i.test(e[t])&&(n+=1)}})),r===n&&e},qo=function(e,t){var r=e.hex?Wo()(e.hex):Wo()(e),n=r.toHsl(),i=r.toHsv(),o=r.toRgb(),a=r.toHex();0===n.s&&(n.h=t||0,i.h=t||0);var s="000000"===a&&0===o.a;return{hsl:n,hex:s?"transparent":"#"+a,rgb:o,hsv:i,oldHue:e.h||t||n.h,source:e.source}},Go=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Wo()(e).isValid()},$o=function(e){if(!e)return"#fff";var t=qo(e);if("transparent"===t.hex)return"rgba(0,0,0,0.4)";var r=(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3;return r>=128?"#000":"#fff"},Yo=function(e,t){var r=e.replace("°","");return Wo()(t+" ("+r+")")._ok},Xo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zo=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Jo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function ta(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ra=function(e){var t=function(t){function r(e){Jo(this,r);var t=ea(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){var n=Ko(e);if(n){var i=qo(e,e.h||t.state.oldHue);t.setState(i),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,i,r),t.props.onChange&&t.props.onChange(i,r)}},t.handleSwatchHover=function(e,r){var n=Ko(e);if(n){var i=qo(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(i,r)}},t.state=Xo({},qo(e.color,0)),t.debounce=po((function(e,t,r){e(t,r)}),100),t}return ta(r,t),Zo(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.a.createElement(e,Xo({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Xo({},qo(e.color,t.oldHue))}}]),r}(n["PureComponent"]||n["Component"]);return t.propTypes=Xo({},e.propTypes),t.defaultProps=Xo({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t},na=ra,ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oa=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function aa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function la(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ua=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var e,t,r,i;aa(this,n);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=sa(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),t=r,r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},i=t,sa(r,i)}return la(n,r),oa(n,[{key:"render",value:function(){return i.a.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},i.a.createElement(e,ia({},this.props,this.state)))}}]),n}(i.a.Component)},ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa=13,pa=function(e){var t=e.color,r=e.style,n=e.onClick,o=void 0===n?function(){}:n,s=e.onHover,l=e.title,u=void 0===l?t:l,c=e.children,f=e.focus,p=e.focusStyle,h=void 0===p?{}:p,v="transparent"===t,m=a()({default:{swatch:ca({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,f?h:{})}}),g=function(e){return o(t,e)},y=function(e){return e.keyCode===fa&&o(t,e)},b=function(e){return s(t,e)},x={};return s&&(x.onMouseOver=b),i.a.createElement("div",ca({style:m.swatch,onClick:g,title:u,tabIndex:0,onKeyDown:y},x),c,v&&i.a.createElement(d,{borderRadius:m.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))},da=ua(pa),ha=function(e){var t=e.direction,r=a()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.a.createElement("div",{style:r.picker})},va=ha,ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ga=function(e){var t=e.rgb,r=e.hsl,n=e.width,o=e.height,s=e.onChange,l=e.direction,u=e.style,c=e.renderers,f=e.pointer,p=e.className,d=void 0===p?"":p,h=a()({default:{picker:{position:"relative",width:n,height:o},alpha:{radius:"2px",style:u}}});return i.a.createElement("div",{style:h.picker,className:"alpha-picker "+d},i.a.createElement(x,ma({},h.alpha,{rgb:t,hsl:r,pointer:f,renderers:c,onChange:s,direction:l})))};ga.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:va};var ya=na(ga);function ba(e,t){var r=-1,n=null==e?0:e.length,i=Array(n);while(++r<n)i[r]=t(e[r],r,e);return i}var xa=ba,Aa="__lodash_hash_undefined__";function wa(e){return this.__data__.set(e,Aa),this}var _a=wa;function Ea(e){return this.__data__.has(e)}var ka=Ea;function Ta(e){var t=-1,r=null==e?0:e.length;this.__data__=new qt;while(++t<r)this.add(e[t])}Ta.prototype.add=Ta.prototype.push=_a,Ta.prototype.has=ka;var Ca=Ta;function Sa(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}var Oa=Sa;function Ma(e,t){return e.has(t)}var Pa=Ma,Ba=1,La=2;function Da(e,t,r,n,i,o){var a=r&Ba,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,p=!0,d=r&La?new Ca:void 0;o.set(e,t),o.set(t,e);while(++f<s){var h=e[f],v=t[f];if(n)var m=a?n(v,h,f,t,e,o):n(h,v,f,e,t,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!Oa(t,(function(e,t){if(!Pa(d,t)&&(h===e||i(h,e,r,n,o)))return d.push(t)}))){p=!1;break}}else if(h!==v&&!i(h,v,r,n,o)){p=!1;break}}return o["delete"](e),o["delete"](t),p}var Ia=Da;function ja(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}var Ra=ja;function Fa(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var Na=Fa,za=1,Ua=2,Ha="[object Boolean]",Va="[object Date]",Qa="[object Error]",Wa="[object Map]",Ka="[object Number]",qa="[object RegExp]",Ga="[object Set]",$a="[object String]",Ya="[object Symbol]",Xa="[object ArrayBuffer]",Za="[object DataView]",Ja=ye?ye.prototype:void 0,es=Ja?Ja.valueOf:void 0;function ts(e,t,r,n,i,o,a){switch(r){case Za:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Xa:return!(e.byteLength!=t.byteLength||!o(new fr(e),new fr(t)));case Ha:case Va:case Ka:return q(+e,+t);case Qa:return e.name==t.name&&e.message==t.message;case qa:case $a:return e==t+"";case Wa:var s=Ra;case Ga:var l=n&za;if(s||(s=Na),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=Ua,a.set(e,t);var c=Ia(s(e),s(t),n,i,o,a);return a["delete"](e),c;case Ya:if(es)return es.call(e)==es.call(t)}return!1}var rs=ts;function ns(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}var is=ns;function os(e,t,r){var n=t(e);return Ur(e)?n:is(n,r(e))}var as=os;function ss(e,t){var r=-1,n=null==e?0:e.length,i=0,o=[];while(++r<n){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}var ls=ss;function us(){return[]}var cs=us,fs=Object.prototype,ps=fs.propertyIsEnumerable,ds=Object.getOwnPropertySymbols,hs=ds?function(e){return null==e?[]:(e=Object(e),ls(ds(e),(function(t){return ps.call(e,t)})))}:cs,vs=hs;function ms(e){return as(e,Lo,vs)}var gs=ms,ys=1,bs=Object.prototype,xs=bs.hasOwnProperty;function As(e,t,r,n,i,o){var a=r&ys,s=gs(e),l=s.length,u=gs(t),c=u.length;if(l!=c&&!a)return!1;var f=l;while(f--){var p=s[f];if(!(a?p in t:xs.call(t,p)))return!1}var d=o.get(e),h=o.get(t);if(d&&h)return d==t&&h==e;var v=!0;o.set(e,t),o.set(t,e);var m=a;while(++f<l){p=s[f];var g=e[p],y=t[p];if(n)var b=a?n(y,g,p,t,e,o):n(g,y,p,e,t,o);if(!(void 0===b?g===y||i(g,y,r,n,o):b)){v=!1;break}m||(m="constructor"==p)}if(v&&!m){var x=e.constructor,A=t.constructor;x==A||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof A&&A instanceof A||(v=!1)}return o["delete"](e),o["delete"](t),v}var ws=As,_s=ut(me["a"],"DataView"),Es=_s,ks=ut(me["a"],"Promise"),Ts=ks,Cs=ut(me["a"],"Set"),Ss=Cs,Os=ut(me["a"],"WeakMap"),Ms=Os,Ps="[object Map]",Bs="[object Object]",Ls="[object Promise]",Ds="[object Set]",Is="[object WeakMap]",js="[object DataView]",Rs=Ye(Es),Fs=Ye(ft),Ns=Ye(Ts),zs=Ye(Ss),Us=Ye(Ms),Hs=Le;(Es&&Hs(new Es(new ArrayBuffer(1)))!=js||ft&&Hs(new ft)!=Ps||Ts&&Hs(Ts.resolve())!=Ls||Ss&&Hs(new Ss)!=Ds||Ms&&Hs(new Ms)!=Is)&&(Hs=function(e){var t=Le(e),r=t==Bs?e.constructor:void 0,n=r?Ye(r):"";if(n)switch(n){case Rs:return js;case Fs:return Ps;case Ns:return Ls;case zs:return Ds;case Us:return Is}return t});var Vs=Hs,Qs=1,Ws="[object Arguments]",Ks="[object Array]",qs="[object Object]",Gs=Object.prototype,$s=Gs.hasOwnProperty;function Ys(e,t,r,n,i,o){var a=Ur(e),s=Ur(t),l=a?Ks:Vs(e),u=s?Ks:Vs(t);l=l==Ws?qs:l,u=u==Ws?qs:u;var c=l==qs,f=u==qs,p=l==u;if(p&&Object($r["a"])(e)){if(!Object($r["a"])(t))return!1;a=!0,c=!1}if(p&&!c)return o||(o=new Zt),a||Rn(e)?Ia(e,t,r,n,i,o):rs(e,t,l,r,n,i,o);if(!(r&Qs)){var d=c&&$s.call(e,"__wrapped__"),h=f&&$s.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,m=h?t.value():t;return o||(o=new Zt),i(v,m,r,n,o)}}return!!p&&(o||(o=new Zt),ws(e,t,r,n,i,o))}var Xs=Ys;function Zs(e,t,r,n,i){return e===t||(null==e||null==t||!Pr(e)&&!Pr(t)?e!==e&&t!==t:Xs(e,t,r,n,Zs,i))}var Js=Zs,el=1,tl=2;function rl(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;e=Object(e);while(i--){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}while(++i<o){s=r[i];var l=s[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var f=new Zt;if(n)var p=n(u,c,l,e,t,f);if(!(void 0===p?Js(c,u,el|tl,n,f):p))return!1}}return!0}var nl=rl;function il(e){return e===e&&!Ie(e)}var ol=il;function al(e){var t=Lo(e),r=t.length;while(r--){var n=t[r],i=e[n];t[r]=[n,i,ol(i)]}return t}var sl=al;function ll(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}var ul=ll;function cl(e){var t=sl(e);return 1==t.length&&t[0][2]?ul(t[0][0],t[0][1]):function(r){return r===e||nl(r,e,t)}}var fl=cl,pl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dl=/^\w*$/;function hl(e,t){if(Ur(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!eo(e))||(dl.test(e)||!pl.test(e)||null!=t&&e in Object(t))}var vl=hl,ml="Expected a function";function gl(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(ml);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(gl.Cache||qt),r}gl.Cache=qt;var yl=gl,bl=500;function xl(e){var t=yl(e,(function(e){return r.size===bl&&r.clear(),e})),r=t.cache;return t}var Al=xl,wl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_l=/\\(\\)?/g,El=Al((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(wl,(function(e,r,n,i){t.push(n?i.replace(_l,"$1"):r||e)})),t})),kl=El,Tl=1/0,Cl=ye?ye.prototype:void 0,Sl=Cl?Cl.toString:void 0;function Ol(e){if("string"==typeof e)return e;if(Ur(e))return xa(e,Ol)+"";if(eo(e))return Sl?Sl.call(e):"";var t=e+"";return"0"==t&&1/e==-Tl?"-0":t}var Ml=Ol;function Pl(e){return null==e?"":Ml(e)}var Bl=Pl;function Ll(e,t){return Ur(e)?e:vl(e,t)?[e]:kl(Bl(e))}var Dl=Ll,Il=1/0;function jl(e){if("string"==typeof e||eo(e))return e;var t=e+"";return"0"==t&&1/e==-Il?"-0":t}var Rl=jl;function Fl(e,t){t=Dl(t,e);var r=0,n=t.length;while(null!=e&&r<n)e=e[Rl(t[r++])];return r&&r==n?e:void 0}var Nl=Fl;function zl(e,t,r){var n=null==e?void 0:Nl(e,t);return void 0===n?r:n}var Ul=zl;function Hl(e,t){return null!=e&&t in Object(e)}var Vl=Hl;function Ql(e,t,r){t=Dl(t,e);var n=-1,i=t.length,o=!1;while(++n<i){var a=Rl(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=null==e?0:e.length,!!i&&Qr(i)&&Xn(a,i)&&(Ur(e)||Nr(e)))}var Wl=Ql;function Kl(e,t){return null!=e&&Wl(e,t,Vl)}var ql=Kl,Gl=1,$l=2;function Yl(e,t){return vl(e)&&ol(t)?ul(Rl(e),t):function(r){var n=Ul(r,e);return void 0===n&&n===t?ql(r,e):Js(t,n,Gl|$l)}}var Xl=Yl;function Zl(e){return function(t){return null==t?void 0:t[e]}}var Jl=Zl;function eu(e){return function(t){return Nl(t,e)}}var tu=eu;function ru(e){return vl(e)?Jl(Rl(e)):tu(e)}var nu=ru;function iu(e){return"function"==typeof e?e:null==e?gi:"object"==typeof e?Ur(e)?Xl(e[0],e[1]):fl(e):nu(e)}var ou=iu;function au(e,t){var r=-1,n=Kr(e)?Array(e.length):[];return No(e,(function(e,i,o){n[++r]=t(e,i,o)})),n}var su=au;function lu(e,t){var r=Ur(e)?xa:su;return r(e,ou(t,3))}var uu=lu,cu=function(e){var t=e.colors,r=e.onClick,n=e.onSwatchHover,o=a()({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i.a.createElement("div",{style:o.swatches},uu(t,(function(e){return i.a.createElement(da,{key:e,color:e,style:o.swatch,onClick:r,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),i.a.createElement("div",{style:o.clear}))},fu=cu,pu=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,o=e.colors,s=e.width,l=e.triangle,u=e.styles,c=void 0===u?{}:u,f=e.className,p=void 0===f?"":f,h="transparent"===n,v=function(e,r){Go(e)&&t({hex:e,source:"hex"},r)},m=a()(Ui({default:{card:{width:s,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:n,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:$o(n),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+n+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===l});return i.a.createElement("div",{style:m.card,className:"block-picker "+p},i.a.createElement("div",{style:m.triangle}),i.a.createElement("div",{style:m.head},h&&i.a.createElement(d,{borderRadius:"6px 6px 0 0"}),i.a.createElement("div",{style:m.label},n)),i.a.createElement("div",{style:m.body},i.a.createElement(fu,{colors:o,onClick:v,onSwatchHover:r}),i.a.createElement(D,{style:{input:m.input},value:n,onChange:v})))};pu.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),colors:V.a.arrayOf(V.a.string),triangle:V.a.oneOf(["top","hide"]),styles:V.a.object},pu.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};var du=na(pu),hu={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},vu={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},mu={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},gu={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},yu={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},bu={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},xu={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},Au={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},wu={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},_u={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Eu={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},ku={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Tu={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Cu={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Su={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Ou={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Mu={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Pu={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},Bu=function(e){var t=e.color,r=e.onClick,n=e.onSwatchHover,o=e.hover,s=e.active,l=e.circleSize,u=e.circleSpacing,c=a()({default:{swatch:{width:l,height:l,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(l/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:o,active:s});return i.a.createElement("div",{style:c.swatch},i.a.createElement(da,{style:c.Swatch,color:t,onClick:r,onHover:n,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+t}}))};Bu.defaultProps={circleSize:28,circleSpacing:14};var Lu=Object(o["handleHover"])(Bu),Du=function(e){var t=e.width,r=e.onChange,n=e.onSwatchHover,o=e.colors,s=e.hex,l=e.circleSize,u=e.styles,c=void 0===u?{}:u,f=e.circleSpacing,p=e.className,d=void 0===p?"":p,h=a()(Ui({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-f,marginBottom:-f}}},c)),v=function(e,t){return r({hex:e,source:"hex"},t)};return i.a.createElement("div",{style:h.card,className:"circle-picker "+d},uu(o,(function(e){return i.a.createElement(Lu,{key:e,color:e,onClick:v,onSwatchHover:n,active:s===e.toLowerCase(),circleSize:l,circleSpacing:f})})))};Du.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),circleSize:V.a.number,circleSpacing:V.a.number,styles:V.a.object},Du.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[hu["500"],vu["500"],mu["500"],gu["500"],yu["500"],bu["500"],xu["500"],Au["500"],wu["500"],_u["500"],Eu["500"],ku["500"],Tu["500"],Cu["500"],Su["500"],Ou["500"],Mu["500"],Pu["500"]],styles:{}};var Iu=na(Du);function ju(e){return void 0===e}var Ru=ju,Fu=r("f45d"),Nu=r.n(Fu),zu=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Uu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hu(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Vu(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Qu=function(e){function t(e){Uu(this,t);var r=Hu(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?Go(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"===typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"===typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(Ru(e.s)?r.props.hsl.s:e.s),l:Number(Ru(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return Vu(t,e),zu(t,[{key:"render",value:function(){var e=this,t=a()({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=i.a.createElement("div",{style:t.fields,className:"flexbox-fix"},i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=i.a.createElement("div",{style:t.fields,className:"flexbox-fix"},i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i.a.createElement("div",{style:t.alpha},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=i.a.createElement("div",{style:t.fields,className:"flexbox-fix"},i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),i.a.createElement("div",{style:t.field},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),i.a.createElement("div",{style:t.alpha},i.a.createElement(D,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i.a.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,i.a.createElement("div",{style:t.toggle},i.a.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},i.a.createElement(Nu.a,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(i.a.Component);Qu.defaultProps={view:"hex"};var Wu=Qu,Ku=function(){var e=a()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.a.createElement("div",{style:e.picker})},qu=Ku,Gu=function(){var e=a()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.a.createElement("div",{style:e.picker})},$u=Gu,Yu=function(e){var t=e.width,r=e.onChange,n=e.disableAlpha,o=e.rgb,s=e.hsl,l=e.hsv,u=e.hex,c=e.renderers,f=e.styles,p=void 0===f?{}:f,h=e.className,v=void 0===h?"":h,m=e.defaultView,g=a()(Ui({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:n});return i.a.createElement("div",{style:g.picker,className:"chrome-picker "+v},i.a.createElement("div",{style:g.saturation},i.a.createElement(_o,{style:g.Saturation,hsl:s,hsv:l,pointer:$u,onChange:r})),i.a.createElement("div",{style:g.body},i.a.createElement("div",{style:g.controls,className:"flexbox-fix"},i.a.createElement("div",{style:g.color},i.a.createElement("div",{style:g.swatch},i.a.createElement("div",{style:g.active}),i.a.createElement(d,{renderers:c}))),i.a.createElement("div",{style:g.toggles},i.a.createElement("div",{style:g.hue},i.a.createElement(U,{style:g.Hue,hsl:s,pointer:qu,onChange:r})),i.a.createElement("div",{style:g.alpha},i.a.createElement(x,{style:g.Alpha,rgb:o,hsl:s,pointer:qu,renderers:c,onChange:r})))),i.a.createElement(Wu,{rgb:o,hsl:s,hex:u,view:m,onChange:r,disableAlpha:n})))};Yu.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),disableAlpha:V.a.bool,styles:V.a.object,defaultView:V.a.oneOf(["hex","rgb","hsl"])},Yu.defaultProps={width:225,disableAlpha:!1,styles:{}};var Xu=na(Yu),Zu=function(e){var t=e.color,r=e.onClick,n=void 0===r?function(){}:r,o=e.onSwatchHover,s=e.active,l=a()({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:$o(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.a.createElement(da,{style:l.color,color:t,onClick:n,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.a.createElement("div",{style:l.dot}))},Ju=Zu,ec=function(e){var t=e.hex,r=e.rgb,n=e.onChange,o=a()({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):n({hex:e.hex,source:"hex"},t)};return i.a.createElement("div",{style:o.fields,className:"flexbox-fix"},i.a.createElement("div",{style:o.active}),i.a.createElement(D,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:t,onChange:s}),i.a.createElement(D,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:s}),i.a.createElement(D,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:s}),i.a.createElement(D,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:s}))},tc=ec,rc=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.colors,o=e.hex,s=e.rgb,l=e.styles,u=void 0===l?{}:l,c=e.className,f=void 0===c?"":c,p=a()(Ui({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),d=function(e,r){e.hex?Go(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return i.a.createElement(Vi,{style:p.Compact,styles:u},i.a.createElement("div",{style:p.compact,className:"compact-picker "+f},i.a.createElement("div",null,uu(n,(function(e){return i.a.createElement(Ju,{key:e,color:e,active:e.toLowerCase()===o,onClick:d,onSwatchHover:r})})),i.a.createElement("div",{style:p.clear})),i.a.createElement(tc,{hex:o,rgb:s,onChange:d})))};rc.propTypes={colors:V.a.arrayOf(V.a.string),styles:V.a.object},rc.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};var nc=na(rc),ic=function(e){var t=e.hover,r=e.color,n=e.onClick,o=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=a()({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return i.a.createElement("div",{style:l.swatch},i.a.createElement(da,{color:r,onClick:n,onHover:o,focusStyle:s}))},oc=Object(o["handleHover"])(ic),ac=function(e){var t=e.width,r=e.colors,n=e.onChange,o=e.onSwatchHover,s=e.triangle,l=e.styles,u=void 0===l?{}:l,c=e.className,f=void 0===c?"":c,p=a()(Ui({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),d=function(e,t){return n({hex:e,source:"hex"},t)};return i.a.createElement("div",{style:p.card,className:"github-picker "+f},i.a.createElement("div",{style:p.triangleShadow}),i.a.createElement("div",{style:p.triangle}),uu(r,(function(e){return i.a.createElement(oc,{color:e,key:e,onClick:d,onSwatchHover:o})})))};ac.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),colors:V.a.arrayOf(V.a.string),triangle:V.a.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:V.a.object},ac.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};var sc=na(ac),lc=function(e){var t=e.direction,r=a()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.a.createElement("div",{style:r.picker})},uc=lc,cc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fc=function(e){var t=e.width,r=e.height,n=e.onChange,o=e.hsl,s=e.direction,l=e.pointer,u=e.styles,c=void 0===u?{}:u,f=e.className,p=void 0===f?"":f,d=a()(Ui({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},c)),h=function(e){return n({a:1,h:e.h,l:.5,s:1})};return i.a.createElement("div",{style:d.picker,className:"hue-picker "+p},i.a.createElement(U,cc({},d.hue,{hsl:o,pointer:l,onChange:h,direction:s})))};fc.propTypes={styles:V.a.object},fc.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:uc,styles:{}};var pc=na(fc),dc=function(e){var t=e.onChange,r=e.hex,n=e.rgb,o=e.styles,s=void 0===o?{}:o,l=e.className,u=void 0===l?"":l,c=a()(Ui({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),f=function(e,r){e.hex?Go(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r)};return i.a.createElement(Vi,{styles:s},i.a.createElement("div",{style:c.material,className:"material-picker "+u},i.a.createElement(D,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:r,onChange:f}),i.a.createElement("div",{style:c.split,className:"flexbox-fix"},i.a.createElement("div",{style:c.third},i.a.createElement(D,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:f})),i.a.createElement("div",{style:c.third},i.a.createElement(D,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:f})),i.a.createElement("div",{style:c.third},i.a.createElement(D,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:f})))))},hc=na(dc),vc=function(e){var t=e.onChange,r=e.rgb,n=e.hsv,o=e.hex,s=a()({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,i){e["#"]?Go(e["#"])&&t({hex:e["#"],source:"hex"},i):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},i):(e.h||e.s||e.v)&&t({h:e.h||n.h,s:e.s||n.s,v:e.v||n.v,source:"hsv"},i)};return i.a.createElement("div",{style:s.fields},i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(n.h),onChange:l}),i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*n.s),onChange:l}),i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*n.v),onChange:l}),i.a.createElement("div",{style:s.divider}),i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:l}),i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:l}),i.a.createElement(D,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:l}),i.a.createElement("div",{style:s.divider}),i.a.createElement(D,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:o.replace("#",""),onChange:l}),i.a.createElement("div",{style:s.fieldSymbols},i.a.createElement("div",{style:s.symbol},"°"),i.a.createElement("div",{style:s.symbol},"%"),i.a.createElement("div",{style:s.symbol},"%")))},mc=vc,gc=function(e){var t=e.hsl,r=a()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i.a.createElement("div",{style:r.picker})},yc=gc,bc=function(){var e=a()({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.a.createElement("div",{style:e.pointer},i.a.createElement("div",{style:e.left},i.a.createElement("div",{style:e.leftInside})),i.a.createElement("div",{style:e.right},i.a.createElement("div",{style:e.rightInside})))},xc=bc,Ac=function(e){var t=e.onClick,r=e.label,n=e.children,o=e.active,s=a()({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.a.createElement("div",{style:s.button,onClick:t},r||n)},wc=Ac,_c=function(e){var t=e.rgb,r=e.currentColor,n=a()({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.a.createElement("div",null,i.a.createElement("div",{style:n.label},"new"),i.a.createElement("div",{style:n.swatches},i.a.createElement("div",{style:n.new}),i.a.createElement("div",{style:n.current})),i.a.createElement("div",{style:n.label},"current"))},Ec=_c,kc=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Sc(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Oc=function(e){function t(e){Tc(this,t);var r=Cc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:e.hex},r}return Sc(t,e),kc(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=void 0===t?{}:t,n=e.className,o=void 0===n?"":n,s=a()(Ui({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return i.a.createElement("div",{style:s.picker,className:"photoshop-picker "+o},i.a.createElement("div",{style:s.head},this.props.header),i.a.createElement("div",{style:s.body,className:"flexbox-fix"},i.a.createElement("div",{style:s.saturation},i.a.createElement(_o,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:yc,onChange:this.props.onChange})),i.a.createElement("div",{style:s.hue},i.a.createElement(U,{direction:"vertical",hsl:this.props.hsl,pointer:xc,onChange:this.props.onChange})),i.a.createElement("div",{style:s.controls},i.a.createElement("div",{style:s.top,className:"flexbox-fix"},i.a.createElement("div",{style:s.previews},i.a.createElement(Ec,{rgb:this.props.rgb,currentColor:this.state.currentColor})),i.a.createElement("div",{style:s.actions},i.a.createElement(wc,{label:"OK",onClick:this.props.onAccept,active:!0}),i.a.createElement(wc,{label:"Cancel",onClick:this.props.onCancel}),i.a.createElement(mc,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(i.a.Component);Oc.propTypes={header:V.a.string,styles:V.a.object},Oc.defaultProps={header:"Color Picker",styles:{}};var Mc=na(Oc),Pc=function(e){var t=e.onChange,r=e.rgb,n=e.hsl,o=e.hex,s=e.disableAlpha,l=a()({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),u=function(e,i){e.hex?Go(e.hex)&&t({hex:e.hex,source:"hex"},i):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},i):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:n.h,s:n.s,l:n.l,a:e.a,source:"rgb"},i))};return i.a.createElement("div",{style:l.fields,className:"flexbox-fix"},i.a.createElement("div",{style:l.double},i.a.createElement(D,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:u})),i.a.createElement("div",{style:l.single},i.a.createElement(D,{style:{input:l.input,label:l.label},label:"r",value:r.r,onChange:u,dragLabel:"true",dragMax:"255"})),i.a.createElement("div",{style:l.single},i.a.createElement(D,{style:{input:l.input,label:l.label},label:"g",value:r.g,onChange:u,dragLabel:"true",dragMax:"255"})),i.a.createElement("div",{style:l.single},i.a.createElement(D,{style:{input:l.input,label:l.label},label:"b",value:r.b,onChange:u,dragLabel:"true",dragMax:"255"})),i.a.createElement("div",{style:l.alpha},i.a.createElement(D,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*r.a),onChange:u,dragLabel:"true",dragMax:"100"})))},Bc=Pc,Lc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dc=function(e){var t=e.colors,r=e.onClick,n=void 0===r?function(){}:r,o=e.onSwatchHover,s=a()({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){n({hex:e,source:"hex"},t)};return i.a.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"===typeof e?{color:e}:e,r=""+t.color+(t.title||"");return i.a.createElement("div",{key:r,style:s.swatchWrap},i.a.createElement(da,Lc({},t,{style:s.swatch,onClick:l,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};Dc.propTypes={colors:V.a.arrayOf(V.a.oneOfType([V.a.string,V.a.shape({color:V.a.string,title:V.a.string})])).isRequired};var Ic=Dc,jc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rc=function(e){var t=e.width,r=e.rgb,n=e.hex,o=e.hsv,s=e.hsl,l=e.onChange,u=e.onSwatchHover,c=e.disableAlpha,f=e.presetColors,p=e.renderers,h=e.styles,v=void 0===h?{}:h,m=e.className,g=void 0===m?"":m,y=a()(Ui({default:jc({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},v),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},v),{disableAlpha:c});return i.a.createElement("div",{style:y.picker,className:"sketch-picker "+g},i.a.createElement("div",{style:y.saturation},i.a.createElement(_o,{style:y.Saturation,hsl:s,hsv:o,onChange:l})),i.a.createElement("div",{style:y.controls,className:"flexbox-fix"},i.a.createElement("div",{style:y.sliders},i.a.createElement("div",{style:y.hue},i.a.createElement(U,{style:y.Hue,hsl:s,onChange:l})),i.a.createElement("div",{style:y.alpha},i.a.createElement(x,{style:y.Alpha,rgb:r,hsl:s,renderers:p,onChange:l}))),i.a.createElement("div",{style:y.color},i.a.createElement(d,null),i.a.createElement("div",{style:y.activeColor}))),i.a.createElement(Bc,{rgb:r,hsl:s,hex:n,onChange:l,disableAlpha:c}),i.a.createElement(Ic,{colors:f,onClick:l,onSwatchHover:u}))};Rc.propTypes={disableAlpha:V.a.bool,width:V.a.oneOfType([V.a.string,V.a.number]),styles:V.a.object},Rc.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var Fc=na(Rc),Nc=function(e){var t=e.hsl,r=e.offset,n=e.onClick,o=void 0===n?function(){}:n,s=e.active,l=e.first,u=e.last,c=a()({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:s,first:l,last:u}),f=function(e){return o({h:t.h,s:.5,l:r,source:"hsl"},e)};return i.a.createElement("div",{style:c.swatch,onClick:f})},zc=Nc,Uc=function(e){var t=e.onClick,r=e.hsl,n=a()({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),o=.1;return i.a.createElement("div",{style:n.swatches},i.a.createElement("div",{style:n.swatch},i.a.createElement(zc,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<o&&Math.abs(r.s-.5)<o,onClick:t,first:!0})),i.a.createElement("div",{style:n.swatch},i.a.createElement(zc,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<o&&Math.abs(r.s-.5)<o,onClick:t})),i.a.createElement("div",{style:n.swatch},i.a.createElement(zc,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<o&&Math.abs(r.s-.5)<o,onClick:t})),i.a.createElement("div",{style:n.swatch},i.a.createElement(zc,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<o&&Math.abs(r.s-.5)<o,onClick:t})),i.a.createElement("div",{style:n.swatch},i.a.createElement(zc,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<o&&Math.abs(r.s-.5)<o,onClick:t,last:!0})),i.a.createElement("div",{style:n.clear}))},Hc=Uc,Vc=function(){var e=a()({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.a.createElement("div",{style:e.picker})},Qc=Vc,Wc=function(e){var t=e.hsl,r=e.onChange,n=e.pointer,o=e.styles,s=void 0===o?{}:o,l=e.className,u=void 0===l?"":l,c=a()(Ui({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return i.a.createElement("div",{style:c.wrap||{},className:"slider-picker "+u},i.a.createElement("div",{style:c.hue},i.a.createElement(U,{style:c.Hue,hsl:t,pointer:n,onChange:r})),i.a.createElement("div",{style:c.swatches},i.a.createElement(Hc,{hsl:t,onClick:r})))};Wc.propTypes={styles:V.a.object},Wc.defaultProps={pointer:Qc,styles:{}};var Kc=na(Wc),qc=r("aa5f"),Gc=r.n(qc),$c=function(e){var t=e.color,r=e.onClick,n=void 0===r?function(){}:r,o=e.onSwatchHover,s=e.first,l=e.last,u=e.active,c=a()({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:$o(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:l,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.a.createElement(da,{color:t,style:c.color,onClick:n,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.a.createElement("div",{style:c.check},i.a.createElement(Gc.a,null)))},Yc=$c,Xc=function(e){var t=e.onClick,r=e.onSwatchHover,n=e.group,o=e.active,s=a()({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i.a.createElement("div",{style:s.group},uu(n,(function(e,a){return i.a.createElement(Yc,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===n.length-1,onClick:t,onSwatchHover:r})})))},Zc=Xc,Jc=function(e){var t=e.width,r=e.height,n=e.onChange,o=e.onSwatchHover,s=e.colors,l=e.hex,u=e.styles,c=void 0===u?{}:u,f=e.className,p=void 0===f?"":f,d=a()(Ui({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),h=function(e,t){return n({hex:e,source:"hex"},t)};return i.a.createElement("div",{style:d.picker,className:"swatches-picker "+p},i.a.createElement(Vi,null,i.a.createElement("div",{style:d.overflow},i.a.createElement("div",{style:d.body},uu(s,(function(e){return i.a.createElement(Zc,{key:e.toString(),group:e,active:l,onClick:h,onSwatchHover:o})})),i.a.createElement("div",{style:d.clear})))))};Jc.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),height:V.a.oneOfType([V.a.string,V.a.number]),colors:V.a.arrayOf(V.a.arrayOf(V.a.string)),styles:V.a.object},Jc.defaultProps={width:320,height:240,colors:[[hu["900"],hu["700"],hu["500"],hu["300"],hu["100"]],[vu["900"],vu["700"],vu["500"],vu["300"],vu["100"]],[mu["900"],mu["700"],mu["500"],mu["300"],mu["100"]],[gu["900"],gu["700"],gu["500"],gu["300"],gu["100"]],[yu["900"],yu["700"],yu["500"],yu["300"],yu["100"]],[bu["900"],bu["700"],bu["500"],bu["300"],bu["100"]],[xu["900"],xu["700"],xu["500"],xu["300"],xu["100"]],[Au["900"],Au["700"],Au["500"],Au["300"],Au["100"]],[wu["900"],wu["700"],wu["500"],wu["300"],wu["100"]],["#194D33",_u["700"],_u["500"],_u["300"],_u["100"]],[Eu["900"],Eu["700"],Eu["500"],Eu["300"],Eu["100"]],[ku["900"],ku["700"],ku["500"],ku["300"],ku["100"]],[Tu["900"],Tu["700"],Tu["500"],Tu["300"],Tu["100"]],[Cu["900"],Cu["700"],Cu["500"],Cu["300"],Cu["100"]],[Su["900"],Su["700"],Su["500"],Su["300"],Su["100"]],[Ou["900"],Ou["700"],Ou["500"],Ou["300"],Ou["100"]],[Mu["900"],Mu["700"],Mu["500"],Mu["300"],Mu["100"]],[Pu["900"],Pu["700"],Pu["500"],Pu["300"],Pu["100"]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};var ef=na(Jc),tf=function(e){var t=e.onChange,r=e.onSwatchHover,n=e.hex,o=e.colors,s=e.width,l=e.triangle,u=e.styles,c=void 0===u?{}:u,f=e.className,p=void 0===f?"":f,d=a()(Ui({default:{card:{width:s,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),h=function(e,r){Go(e)&&t({hex:e,source:"hex"},r)};return i.a.createElement("div",{style:d.card,className:"twitter-picker "+p},i.a.createElement("div",{style:d.triangleShadow}),i.a.createElement("div",{style:d.triangle}),i.a.createElement("div",{style:d.body},uu(o,(function(e,t){return i.a.createElement(da,{key:t,color:e,hex:e,style:d.swatch,onClick:h,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),i.a.createElement("div",{style:d.hash},"#"),i.a.createElement(D,{label:null,style:{input:d.input},value:n.replace("#",""),onChange:h}),i.a.createElement("div",{style:d.clear})))};tf.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),triangle:V.a.oneOf(["hide","top-left","top-right"]),colors:V.a.arrayOf(V.a.string),styles:V.a.object},tf.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};var rf=na(tf),nf=function(e){var t=a()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return i.a.createElement("div",{style:t.picker})};nf.propTypes={hsl:V.a.shape({h:V.a.number,s:V.a.number,l:V.a.number,a:V.a.number})},nf.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var of=nf,af=function(e){var t=a()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return i.a.createElement("div",{style:t.picker})};af.propTypes={hsl:V.a.shape({h:V.a.number,s:V.a.number,l:V.a.number,a:V.a.number})},af.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var sf=af,lf=function(e){var t=e.onChange,r=e.rgb,n=e.hsl,o=e.hex,s=e.hsv,l=function(e,r){if(e.hex)Go(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");Yo(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var i=e.hsv.split(",");Yo(e.hsv,"hsv")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==i[1]?i[1]=.01:1==i[2]&&(i[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsv"},r))}else if(e.hsl){var o=e.hsl.split(",");Yo(e.hsl,"hsl")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsl"},r))}},u=a()({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,f=Math.round(n.h)+"°, "+Math.round(100*n.s)+"%, "+Math.round(100*n.l)+"%",p=Math.round(s.h)+"°, "+Math.round(100*s.s)+"%, "+Math.round(100*s.v)+"%";return i.a.createElement("div",{style:u.wrap,className:"flexbox-fix"},i.a.createElement("div",{style:u.fields},i.a.createElement("div",{style:u.double},i.a.createElement(D,{style:{input:u.input,label:u.label},label:"hex",value:o,onChange:l})),i.a.createElement("div",{style:u.column},i.a.createElement("div",{style:u.single},i.a.createElement(D,{style:{input:u.input2,label:u.label2},label:"rgb",value:c,onChange:l})),i.a.createElement("div",{style:u.single},i.a.createElement(D,{style:{input:u.input2,label:u.label2},label:"hsv",value:p,onChange:l})),i.a.createElement("div",{style:u.single},i.a.createElement(D,{style:{input:u.input2,label:u.label2},label:"hsl",value:f,onChange:l})))))},uf=lf,cf=function(e){var t=e.width,r=e.onChange,n=e.rgb,o=e.hsl,s=e.hsv,l=e.hex,u=e.header,c=e.styles,f=void 0===c?{}:c,p=e.className,d=void 0===p?"":p,h=a()(Ui({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+n.r+", "+n.g+", "+n.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},f));return i.a.createElement("div",{style:h.picker,className:"google-picker "+d},i.a.createElement("div",{style:h.head},u),i.a.createElement("div",{style:h.swatch}),i.a.createElement("div",{style:h.saturation},i.a.createElement(_o,{hsl:o,hsv:s,pointer:of,onChange:r})),i.a.createElement("div",{style:h.body},i.a.createElement("div",{style:h.controls,className:"flexbox-fix"},i.a.createElement("div",{style:h.hue},i.a.createElement(U,{style:h.Hue,hsl:o,radius:"4px",pointer:sf,onChange:r}))),i.a.createElement(uf,{rgb:n,hsl:o,hex:l,hsv:s,onChange:r})))};cf.propTypes={width:V.a.oneOfType([V.a.string,V.a.number]),styles:V.a.object,header:V.a.string},cf.defaultProps={width:652,styles:{},header:"Color picker"};var ff=na(cf)},d79f:function(e,t,r){"use strict";var n=r("0984"),i=r("d8db"),o=n.isBrowser("Chrome");function a(e){for(var t=e.cloneRange(),r=[],n=e.endContainer;null!=n;n=n.parentNode){var o=n===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(r.push(s),o)return r.reverse(),(a=[]).concat.apply(a,r);t.setEndBefore(n)}i(!1)}var s=o?a:function(e){return Array.from(e.getClientRects())};e.exports=s},d7a0:function(e,t,r){"use strict";var n=r("59b0");function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},d7bc:function(e,t,r){e.exports=r("d7a0")()},d7da:function(e,t){function r(e,t,r,n,i,o,a){var s=1/(r-t),l=1/(i-n),u=1/(o-a);return e[0]=2*o*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*o*l,e[6]=0,e[7]=0,e[8]=(r+t)*s,e[9]=(i+n)*l,e[10]=(a+o)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*o*2*u,e[15]=0,e}e.exports=r},d7e2:function(e,t,r){"use strict";var n=r("91b8"),i=r("a5dd"),o=r("8b98"),a=r("d301"),s=r("1477");function l(e,t){this.element=e,this.plot=t,this.mouseListener=null,this.wheelListener=null,this.lastInputTime=Date.now(),this.lastPos=[0,0],this.boxEnabled=!1,this.boxInited=!1,this.boxStart=[0,0],this.boxEnd=[0,0],this.dragStart=[0,0]}function u(e){var t=e.mouseContainer,r=e.glplot,u=new l(t,r);function c(){e.xaxis.autorange=!1,e.yaxis.autorange=!1}function f(){for(var t=e.graphDiv._fullLayout._axisConstraintGroups,r=e.xaxis._id,n=e.yaxis._id,i=0;i<t.length;i++)if(-1!==t[i][r]){if(-1!==t[i][n])return!0;break}return!1}function p(t,n,i){var o,s,l=e.calcDataBox(),p=r.viewBox,d=u.lastPos[0],h=u.lastPos[1],v=a.MINDRAG*r.pixelRatio,m=a.MINZOOM*r.pixelRatio;function g(t,r,n){var i=Math.min(r,n),o=Math.max(r,n);i!==o?(l[t]=i,l[t+2]=o,u.dataBox=l,e.setRanges(l)):(e.selectBox.selectBox=[0,0,1,1],e.glplot.setDirty())}switch(n*=r.pixelRatio,i*=r.pixelRatio,i=p[3]-p[1]-i,e.fullLayout.dragmode){case"zoom":if(t){var y=n/(p[2]-p[0])*(l[2]-l[0])+l[0],b=i/(p[3]-p[1])*(l[3]-l[1])+l[1];u.boxInited||(u.boxStart[0]=y,u.boxStart[1]=b,u.dragStart[0]=n,u.dragStart[1]=i),u.boxEnd[0]=y,u.boxEnd[1]=b,u.boxInited=!0,u.boxEnabled||u.boxStart[0]===u.boxEnd[0]&&u.boxStart[1]===u.boxEnd[1]||(u.boxEnabled=!0);var x=Math.abs(u.dragStart[0]-n)<m,A=Math.abs(u.dragStart[1]-i)<m;if(!f()||x&&A)x&&(u.boxEnd[0]=u.boxStart[0]),A&&(u.boxEnd[1]=u.boxStart[1]);else{o=u.boxEnd[0]-u.boxStart[0],s=u.boxEnd[1]-u.boxStart[1];var w=(l[3]-l[1])/(l[2]-l[0]);Math.abs(o*w)>Math.abs(s)?(u.boxEnd[1]=u.boxStart[1]+Math.abs(o)*w*(s>=0?1:-1),u.boxEnd[1]<l[1]?(u.boxEnd[1]=l[1],u.boxEnd[0]=u.boxStart[0]+(l[1]-u.boxStart[1])/Math.abs(w)):u.boxEnd[1]>l[3]&&(u.boxEnd[1]=l[3],u.boxEnd[0]=u.boxStart[0]+(l[3]-u.boxStart[1])/Math.abs(w))):(u.boxEnd[0]=u.boxStart[0]+Math.abs(s)/w*(o>=0?1:-1),u.boxEnd[0]<l[0]?(u.boxEnd[0]=l[0],u.boxEnd[1]=u.boxStart[1]+(l[0]-u.boxStart[0])*Math.abs(w)):u.boxEnd[0]>l[2]&&(u.boxEnd[0]=l[2],u.boxEnd[1]=u.boxStart[1]+(l[2]-u.boxStart[0])*Math.abs(w)))}}else u.boxEnabled?(o=u.boxStart[0]!==u.boxEnd[0],s=u.boxStart[1]!==u.boxEnd[1],o||s?(o&&(g(0,u.boxStart[0],u.boxEnd[0]),e.xaxis.autorange=!1),s&&(g(1,u.boxStart[1],u.boxEnd[1]),e.yaxis.autorange=!1),e.relayoutCallback()):e.glplot.setDirty(),u.boxEnabled=!1,u.boxInited=!1):u.boxInited&&(u.boxInited=!1);break;case"pan":u.boxEnabled=!1,u.boxInited=!1,t?(u.panning||(u.dragStart[0]=n,u.dragStart[1]=i),Math.abs(u.dragStart[0]-n)<v&&(n=u.dragStart[0]),Math.abs(u.dragStart[1]-i)<v&&(i=u.dragStart[1]),o=(d-n)*(l[2]-l[0])/(r.viewBox[2]-r.viewBox[0]),s=(h-i)*(l[3]-l[1])/(r.viewBox[3]-r.viewBox[1]),l[0]+=o,l[2]+=o,l[1]+=s,l[3]+=s,e.setRanges(l),u.panning=!0,u.lastInputTime=Date.now(),c(),e.cameraChanged(),e.handleAnnotations()):u.panning&&(u.panning=!1,e.relayoutCallback());break}u.lastPos[0]=n,u.lastPos[1]=i}return u.mouseListener=n(t,p),t.addEventListener("touchstart",(function(e){var r=o(e.changedTouches[0],t);p(0,r[0],r[1]),p(1,r[0],r[1]),e.preventDefault()}),!!s&&{passive:!1}),t.addEventListener("touchmove",(function(e){e.preventDefault();var r=o(e.changedTouches[0],t);p(1,r[0],r[1]),e.preventDefault()}),!!s&&{passive:!1}),t.addEventListener("touchend",(function(e){p(0,u.lastPos[0],u.lastPos[1]),e.preventDefault()}),!!s&&{passive:!1}),u.wheelListener=i(t,(function(t,n){if(!e.scrollZoom)return!1;var i=e.calcDataBox(),o=r.viewBox,a=u.lastPos[0],s=u.lastPos[1],l=Math.exp(5*n/(o[3]-o[1])),f=a/(o[2]-o[0])*(i[2]-i[0])+i[0],p=s/(o[3]-o[1])*(i[3]-i[1])+i[1];return i[0]=(i[0]-f)*l+f,i[2]=(i[2]-f)*l+f,i[1]=(i[1]-p)*l+p,i[3]=(i[3]-p)*l+p,e.setRanges(i),u.lastInputTime=Date.now(),c(),e.cameraChanged(),e.handleAnnotations(),e.relayoutCallback(),!0}),!0),u}e.exports=u},d7ee:function(e,t,r){var n=r("c3fc"),i=r("b047"),o=r("99d3"),a=o&&o.isSet,s=a?i(a):n;e.exports=s},d7f3:function(e,t,r){"use strict";var n,i=r("4a53"),o=r("e440"),a=r("e0d7"),s=r("d4b5"),l=r("dda6"),u=document.createElement("canvas"),c=u.getContext("2d");function f(e,t){if(!s(e))throw Error("Argument should be valid svg path string");var r,n;t||(t={}),t.shape?(r=t.shape[0],n=t.shape[1]):(r=u.width=t.w||t.width||200,n=u.height=t.h||t.height||200);var f=Math.min(r,n),d=t.stroke||0,h=t.viewbox||t.viewBox||i(e),v=[r/(h[2]-h[0]),n/(h[3]-h[1])],m=Math.min(v[0]||0,v[1]||0)/2;if(c.fillStyle="black",c.fillRect(0,0,r,n),c.fillStyle="white",d&&("number"!=typeof d&&(d=1),c.strokeStyle=d>0?"white":"black",c.lineWidth=Math.abs(d)),c.translate(.5*r,.5*n),c.scale(m,m),p()){var g=new Path2D(e);c.fill(g),d&&c.stroke(g)}else{var y=o(e);a(c,y),c.fill(),d&&c.stroke()}c.setTransform(1,0,0,1,0,0);var b=l(c,{cutoff:null!=t.cutoff?t.cutoff:.5,radius:null!=t.radius?t.radius:.5*f});return b}function p(){if(null!=n)return n;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return n=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return n=r&&r.data&&255===r.data[3]}e.exports=f},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,o=r("1dde"),a=r("ae40"),s=o("map"),l=a("map");n({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},d831:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"funnelarea",basePlotModule:r("a8f9"),categories:["pie-like","funnelarea","showLegend"],attributes:r("ecc5"),layoutAttributes:r("f3df"),supplyDefaults:r("e485"),supplyLayoutDefaults:r("fcd6"),calc:r("3936").calc,crossTraceCalc:r("3936").crossTraceCalc,plot:r("7c43"),style:r("a41d"),styleOne:r("a708"),meta:{description:["Visualize stages in a process using area-encoded trapezoids. This trace can be used",'to show data in a part-to-whole representation similar to a "pie" trace, wherein','each item appears in a single stage. See also the "funnel" trace type for a different',"approach to visualizing funnel data."].join(" ")}}},d837:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("4d26"),o=d(i),a=r("ab5b"),s=d(a),l=r("d7bc"),u=d(l),c=r("6dd8"),f=d(c),p=r("fbf9");function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y={orientation:{horizontal:{dimension:"width",direction:"left",reverseDirection:"right",coordinate:"x"},vertical:{dimension:"height",direction:"top",reverseDirection:"bottom",coordinate:"y"}}},b=function(e){function t(e,r){v(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.handleFormat=function(e){var t=n.props.format;return t?t(e):e},n.handleUpdate=function(){if(n.slider){var e=n.props.orientation,t=(0,p.capitalize)(y.orientation[e].dimension),r=n.slider["offset"+t],i=n.handle["offset"+t];n.setState({limit:r-i,grab:i/2})}},n.handleStart=function(e){var t=n.props.onChangeStart;document.addEventListener("mousemove",n.handleDrag),document.addEventListener("mouseup",n.handleEnd),n.setState({active:!0},(function(){t&&t(e)}))},n.handleDrag=function(e){e.stopPropagation();var t=n.props.onChange,r=e.target,i=r.className,o=r.classList,a=r.dataset;if(t&&"rangeslider__labels"!==i){var s=n.position(e);o&&o.contains("rangeslider__label-item")&&a.value&&(s=parseFloat(a.value)),t&&t(s,e)}},n.handleEnd=function(e){var t=n.props.onChangeComplete;n.setState({active:!1},(function(){t&&t(e)})),document.removeEventListener("mousemove",n.handleDrag),document.removeEventListener("mouseup",n.handleEnd)},n.handleKeyDown=function(e){e.preventDefault();var t=e.keyCode,r=n.props,i=r.value,o=r.min,a=r.max,s=r.step,l=r.onChange,u=void 0;switch(t){case 38:case 39:u=i+s>a?a:i+s,l&&l(u,e);break;case 37:case 40:u=i-s<o?o:i-s,l&&l(u,e);break}},n.getPositionFromValue=function(e){var t=n.state.limit,r=n.props,i=r.min,o=r.max,a=o-i,s=e-i,l=s/a,u=Math.round(l*t);return u},n.getValueFromPosition=function(e){var t=n.state.limit,r=n.props,i=r.orientation,o=r.min,a=r.max,s=r.step,l=(0,p.clamp)(e,0,t)/(t||1),u=s*Math.round(l*(a-o)/s),c="horizontal"===i?u+o:a-u;return(0,p.clamp)(c,o,a)},n.position=function(e){var t=n.state.grab,r=n.props,i=r.orientation,o=r.reverse,a=n.slider,s=y.orientation[i].coordinate,l=o?y.orientation[i].reverseDirection:y.orientation[i].direction,u="client"+(0,p.capitalize)(s),c=e.touches?e.touches[0][u]:e[u],f=a.getBoundingClientRect()[l],d=o?f-c-t:c-f-t,h=n.getValueFromPosition(d);return h},n.coordinates=function(e){var t=n.state,r=t.limit,i=t.grab,o=n.props.orientation,a=n.getValueFromPosition(e),s=n.getPositionFromValue(a),l="horizontal"===o?s+i:s,u="horizontal"===o?l:r-l;return{fill:u,handle:l,label:l}},n.renderLabels=function(e){return s.default.createElement("ul",{ref:function(e){n.labels=e},className:(0,o.default)("rangeslider__labels")},e)},n.state={active:!1,limit:0,grab:0},n}return g(t,e),n(t,[{key:"componentDidMount",value:function(){this.handleUpdate();var e=new f.default(this.handleUpdate);e.observe(this.slider)}},{key:"render",value:function(){var e=this,t=this.props,r=t.value,n=t.orientation,i=t.className,a=t.tooltip,l=t.reverse,u=t.labels,c=t.min,f=t.max,p=t.handleLabel,d=this.state.active,v=y.orientation[n].dimension,m=l?y.orientation[n].reverseDirection:y.orientation[n].direction,g=this.getPositionFromValue(r),b=this.coordinates(g),x=h({},v,b.fill+"px"),A=h({},m,b.handle+"px"),w=a&&d,_=[],E=Object.keys(u);if(E.length>0){E=E.sort((function(e,t){return l?e-t:t-e}));var k=!0,T=!1,C=void 0;try{for(var S,O=E[Symbol.iterator]();!(k=(S=O.next()).done);k=!0){var M=S.value,P=this.getPositionFromValue(M),B=this.coordinates(P),L=h({},m,B.label+"px");_.push(s.default.createElement("li",{key:M,className:(0,o.default)("rangeslider__label-item"),"data-value":M,onMouseDown:this.handleDrag,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,style:L},this.props.labels[M]))}}catch(D){T=!0,C=D}finally{try{!k&&O.return&&O.return()}finally{if(T)throw C}}}return s.default.createElement("div",{ref:function(t){e.slider=t},className:(0,o.default)("rangeslider","rangeslider-"+n,{"rangeslider-reverse":l},i),onMouseDown:this.handleDrag,onMouseUp:this.handleEnd,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,"aria-valuemin":c,"aria-valuemax":f,"aria-valuenow":r,"aria-orientation":n},s.default.createElement("div",{className:"rangeslider__fill",style:x}),s.default.createElement("div",{ref:function(t){e.handle=t},className:"rangeslider__handle",onMouseDown:this.handleStart,onTouchMove:this.handleDrag,onTouchEnd:this.handleEnd,onKeyDown:this.handleKeyDown,style:A,tabIndex:0},w?s.default.createElement("div",{ref:function(t){e.tooltip=t},className:"rangeslider__handle-tooltip"},s.default.createElement("span",null,this.handleFormat(r))):null,s.default.createElement("div",{className:"rangeslider__handle-label"},p)),u?this.renderLabels(_):null)}}]),t}(a.Component);b.propTypes={min:u.default.number,max:u.default.number,step:u.default.number,value:u.default.number,orientation:u.default.string,tooltip:u.default.bool,reverse:u.default.bool,labels:u.default.object,handleLabel:u.default.string,format:u.default.func,onChangeStart:u.default.func,onChange:u.default.func,onChangeComplete:u.default.func},b.defaultProps={min:0,max:100,step:1,value:0,orientation:"horizontal",tooltip:!0,reverse:!1,labels:{},handleLabel:""},t.default=b},d844:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){if(t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),n[i]){var o=n[i];e.a=o.a,e.b=o.b,e.c=o.c}else e.a=t.a,e.b=t.b,e.c=t.c;return e}},d858:function(e,t,r){"use strict";e.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},d87d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 60 60"},e),o.default.createElement("path",{fill:"#119dff",d:"M8.8 12h42.4v8.3H8.8z"}),o.default.createElement("path",{fill:"#09ffff",d:"M8.8 20.3l7.2 2.2h28.6l6.6-2.2H8.8z"}),o.default.createElement("path",{fill:"#119dff",d:"M16 22.5h28.2v8.3H16z"}),o.default.createElement("path",{fill:"#09ffff",d:"M16 30.9l3.3 2.2H41l3.3-2.2H16z"}),o.default.createElement("path",{fill:"#119dff",d:"M19.3 33.1h21.6v8.1H19.3z"}),o.default.createElement("path",{fill:"#09ffff",d:"M19.3 41.1l3.9 2.5h13.9l3.9-2.5H19.3z"}),o.default.createElement("path",{fill:"#119dff",d:"M23.2 43.6H37V50H23.2z"}))};t.default=u},d8ab:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shamefullyAdjustAxisDirection=t.shamefullyAdjustSizeref=t.shamefullyDeleteRelatedAnalysisTransforms=t.shamefullyCreateSplitStyleProps=t.shamefullyAdjustSplitStyleTargetContainers=t.shamefullyAddTableColumns=t.shamefullyAdjustMapbox=t.shamefullyAdjustGeo=t.shamefullyAdjustAxisRef=t.shamefullyClearAxisTypes=void 0;var n=r("3c1c"),i=o(r("74d6"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){var r=t.traceIndexes,n=t.update;if(Array.isArray(e._fullData)){var i=!1;for(var o in n)"src"===o.substr(o.length-3)&&(i=!0);i&&l(e,r)}};t.shamefullyClearAxisTypes=a;var s=["x","y","z"];function l(e,t){for(var r=0;r<t.length;r++)for(var o=e._fullData[r],a=0;a<3;a++){var l=s[a],u=(0,n.getFromId)(e,o[l+"axis"]||l);if(u&&"log"!==u.type){var c=u._name,f=c+".type";(0,i.default)(e.layout,f).set(null)}}}var u=function(e,t){t.axesToBeGarbageCollected&&t.axesToBeGarbageCollected.forEach((function(t){var r=t.charAt(0),n=Number(t.slice(1));(0,i.default)(e.layout,"".concat(r,"axis").concat(n||"")).set(null),Object.keys(e.layout).filter((function(e){return e.startsWith(r+"axis")})).forEach((function(r){(0,i.default)(e.layout,"".concat(r,".overlaying")).get()===t&&(0,i.default)(e.layout,"".concat(r,".overlaying")).set(null)}))})),t.subplotToBeGarbageCollected&&(0,i.default)(e.layout,t.subplotToBeGarbageCollected).set(null)};t.shamefullyAdjustAxisRef=u;var c=/^(geo\d*)\./,f=function(e,t){var r=e.layout,n=t.update;Object.keys(n).forEach((function(e){var t=c.exec(e);if(t){var i=t[1];n[i+".scope"]&&(n[i+".projection"]={},n[i+".center"]={}),n[i+".projection.type"]&&("albers usa"===n[i+".projection.type"]||r[i]&&"usa"===r[i].scope)&&(n[i+".scope"]={},n[i+".center"]={})}}))};t.shamefullyAdjustGeo=f;var p=function(e){e.layout&&e.layout.mapbox&&e.layout.mapbox.style||(0,i.default)(e.layout,"mapbox.style").set("open-street-map")};t.shamefullyAdjustMapbox=p;var d=function(e,t){var r=t.traceIndexes,n=t.update;!n["cells.values"]||e.data[r[0]].header&&e.data[r[0]].header.valuessrc?null===n["header.values"]?n["header.values"]=e.data[r[0]].cells.valuessrc||null:null!==n["cells.values"]||e.data[r[0]].header.valuessrc||(n["header.values"]=null):n["header.values"]=n["cells.valuessrc"]};t.shamefullyAddTableColumns=d;var h=function(e,t){var r=t.traceIndexes,n=t.update;for(var i in n)if(i&&i.startsWith("transforms")&&i.endsWith("groups")){var o=parseInt(i.split("[")[1],10),a=e.data[r[0]].transforms[o];a&&"groupby"===a.type&&a.styles&&(!a.styles.length&&n[i]&&Array.isArray(n[i])&&function(){var e=[];n[i].forEach((function(t){e.includes(t)||e.push(t)}));var t=e.map((function(e){return{target:e,value:{}}}));n["transforms[".concat(o,"].styles")]=t}(),a.styles.length&&!n[i]&&(n["transforms[".concat(o,"].styles")]=[]))}};t.shamefullyAdjustSplitStyleTargetContainers=h;var v=function(e,t,r,n){Array.isArray(n)||(n=[n]);var o=null;function a(n){var a=null;e.data[r].transforms[o].styles.forEach((function(e,t){e.target.toString()===n&&(a=t)}));var s=e.data[r].transforms[o].styles[a].value;return t.split(".").forEach((function(e){s[e]||(s[e]={}),s=s[e]})),(0,i.default)(e.data[r].transforms[o].styles[a].value,t)}return e.data[r].transforms.forEach((function(e,t){"groupby"===e.type&&(o=t)})),n.map((function(e){return a(e)}))};t.shamefullyCreateSplitStyleProps=v;var m=function(e,t){var r=t.traceIndexes[0],n=e.data[r].uid;if(n){var i=[];e.data.forEach((function(e,t){e.transforms&&e.transforms.some((function(e){return["moving-average","fit"].includes(e.type)&&e.inputUid===n}))&&i.push(t)})),i.length&&i.forEach((function(t){e.data.splice(t,1)}))}};t.shamefullyDeleteRelatedAnalysisTransforms=m;var g=function(e,t){var r=t.update,n=r["marker.size"],i=void 0===n?null:n,o=r["marker.sizesrc"],a=void 0===o?null:o;if(i&&a){var s=45,l=s*s;r["marker.sizeref"]=i.reduce((function(e,t){return Math.max(e,t)}))/l,r["marker.sizemode"]="area"}};t.shamefullyAdjustSizeref=g;var y=function(e,t){var r=t.update;"funnel"===r.type&&1===e.data.length&&(e.layout.yaxis.autorange="reversed")};t.shamefullyAdjustAxisDirection=y},d8d0:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DOWN_ARROW=t.UP_ARROW=void 0;var i=p(r("43fa")),o=f(r("ab5b")),a=p(r("d7bc")),s=p(r("19b2")),l=p(r("9398")),u=r("8704");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=38;t.UP_ARROW=_;var E=40;t.DOWN_ARROW=E;var k=function(e){m(r,e);var t=y(r);function r(e){var n;return d(this,r),n=t.call(this,e),n.state={value:e.value,numericInputClassName:n.getNumericInputClassName(e.value)},n.onChange=n.onChange.bind(x(n)),n.updateValue=n.updateValue.bind(x(n)),n.onKeyDown=n.onKeyDown.bind(x(n)),n.onWheel=n.onWheel.bind(x(n)),n}return v(r,[{key:"getNumericInputClassName",value:function(e){return(0,s.default)(e)||""===e?"numeric-input__number ".concat(this.props.editableClassName?this.props.editableClassName:""):"numeric-input__number +error ".concat(this.props.editableClassName?this.props.editableClassName:"")}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.state.value&&this.setState({value:e.value})}},{key:"onKeyDown",value:function(e){switch(e.keyCode){case _:this.incrementValue("increase");break;case E:this.incrementValue("decrease");break;default:break}}},{key:"onWheel",value:function(e){e.stopPropagation(),e.preventDefault(),e.deltaY>0?this.incrementValue("increase"):this.incrementValue("decrease")}},{key:"onChange",value:function(e){this.setState({value:e,numericInputClassName:this.getNumericInputClassName(e)})}},{key:"updateValue",value:function(e){var t=this.props,r=t.max,n=t.min,i=t.integerOnly,o=e;""!==o?(0,s.default)(o)?(o=Number(o),i&&(o=Math.floor(o)),(0,s.default)(n)&&(o=Math.max(n,o)),(0,s.default)(r)&&(o=Math.min(r,o)),this.props.onUpdate(o)):this.setState({value:o,numericInputClassName:this.getNumericInputClassName(o)}):this.setState({value:this.props.value,numericInputClassName:this.getNumericInputClassName(this.props.value)})}},{key:"incrementValue",value:function(e){var t,r=this.props,n=r.defaultValue,i=r.min,o=r.step,a=void 0===o?1:o,l=r.stepmode,u=void 0===l?"absolute":l,c=this.state.value;if((0,s.default)(c)){var f=parseFloat(c),p="absolute"===u;t="increase"===e?p?f+a:f*(1+a):p?f-a:f/(1+a)}else t=(0,s.default)(n)?n:i||0;this.updateValue(t)}},{key:"renderArrows",value:function(){return!this.props.showArrows||this.props.showSlider?null:o.default.createElement("div",{className:"numeric-input__caret-box"},o.default.createElement("div",{className:"numeric-input__caret js-numeric-increase",onClick:this.incrementValue.bind(this,"increase")},o.default.createElement(u.CarretUpIcon,{className:"numeric-top-caret-modifier"})),o.default.createElement("div",{className:"numeric-input__caret js-numeric-decrease",onClick:this.incrementValue.bind(this,"decrease")},o.default.createElement(u.CarretDownIcon,{className:"numeric-bottom-caret-modifier"})))}},{key:"renderSlider",value:function(){return this.props.showSlider?o.default.createElement(l.default,{min:this.props.min,max:this.props.max,step:this.props.step,value:parseFloat(this.state.value),onChange:this.updateValue,tooltip:!1}):null}},{key:"render",value:function(){return o.default.createElement("div",{className:"numeric-input__wrapper"},o.default.createElement(i.default,{className:this.state.numericInputClassName,placeholder:this.props.placeholder,text:this.state.value,type:"text",onChange:this.onChange,onUpdate:this.updateValue,onKeyDown:this.onKeyDown,onWheel:this.onWheel}),this.renderArrows(),this.renderSlider(),this.props.units?this.props.units:null)}}]),r}(o.Component);t.default=k,k.propTypes={defaultValue:a.default.any,editableClassName:a.default.string,integerOnly:a.default.bool,max:a.default.number,min:a.default.number,onUpdate:a.default.func.isRequired,placeholder:a.default.oneOfType([a.default.string,a.default.number]),showArrows:a.default.bool,showSlider:a.default.bool,step:a.default.number,stepmode:a.default.string,value:a.default.any,units:a.default.string},k.defaultProps={showArrows:!0}},d8db:function(e,t,r){"use strict";var n=function(e){};function i(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(n(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;a=new Error(t.replace(/%s/g,(function(){return String(i[s++])}))),a.name="Invariant Violation"}throw a.framesToPop=1,a}}e.exports=i},d8dc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("ab5b"),a=d(o),s=r("d7bc"),l=d(s),u=r("4ea5"),c=r("db0b"),f=r("d973"),p=d(f);function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var y=function(e){function t(){return h(this,t),v(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return m(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=Object.keys(this.props),n=Object.keys(e);return r.length!==n.length||r.some((function(r){if("modifiers"===r||"modifiersStyles"===r||"classNames"===r){var n=t.props[r],i=e[r],o=Object.keys(n),a=Object.keys(i);return o.length!==a.length||o.some((function(e){return!(0,c.hasOwnProp)(i,e)||n[e]!==i[e]}))}return"day"===r?!(0,u.isSameDay)(t.props[r],e[r]):!(0,c.hasOwnProp)(e,r)||t.props[r]!==e[r]}))}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.modifiersStyles,i=e.day,o=e.tabIndex,s=e.empty,l=e.modifiers,u=e.onMouseEnter,c=e.onMouseLeave,f=e.onMouseUp,d=e.onMouseDown,h=e.onClick,v=e.onKeyDown,m=e.onTouchStart,y=e.onTouchEnd,b=e.onFocus,x=e.ariaLabel,A=e.ariaDisabled,w=e.ariaSelected,_=e.children,E=t.day;t!==p.default?E+=" "+Object.keys(l).join(" "):E+=Object.keys(l).map((function(e){return" "+E+"--"+e})).join("");var k=void 0;return r&&Object.keys(l).filter((function(e){return!!r[e]})).forEach((function(e){k=n({},k,r[e])})),s?a.default.createElement("div",{"aria-disabled":!0,className:E,style:k}):a.default.createElement("div",{className:E,tabIndex:o,style:k,role:"gridcell","aria-label":x,"aria-disabled":A,"aria-selected":w,onClick:g(h,i,l),onKeyDown:g(v,i,l),onMouseEnter:g(u,i,l),onMouseLeave:g(c,i,l),onMouseUp:g(f,i,l),onMouseDown:g(d,i,l),onTouchEnd:g(y,i,l),onTouchStart:g(m,i,l),onFocus:g(b,i,l)},_)}}]),t}(o.Component);y.propTypes={classNames:l.default.shape({day:l.default.string.isRequired}).isRequired,day:l.default.instanceOf(Date).isRequired,children:l.default.node.isRequired,ariaDisabled:l.default.bool,ariaLabel:l.default.string,ariaSelected:l.default.bool,empty:l.default.bool,modifiers:l.default.object,modifiersStyles:l.default.object,onClick:l.default.func,onKeyDown:l.default.func,onMouseEnter:l.default.func,onMouseLeave:l.default.func,onMouseDown:l.default.func,onMouseUp:l.default.func,onTouchEnd:l.default.func,onTouchStart:l.default.func,onFocus:l.default.func,tabIndex:l.default.number},y.defaultProps={tabIndex:-1},y.defaultProps={modifiers:{},modifiersStyles:{},empty:!1},t.default=y},d92f:function(e,t,r){"use strict";var n=r("da6a2"),i=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r,o){function a(r){var n=e[r];return void 0!==n?n:(t._template||{})[r]}var s=a("tick0"),l=a("dtick"),u=a("tickvals"),c=i(u)?"array":l?"linear":"auto",f=r("tickmode",c);if("auto"===f)r("nticks");else if("linear"===f){var p=t.dtick=n.dtick(l,o);t.tick0=n.tick0(s,o,t.calendar,p)}else if("multicategory"!==o){var d=r("tickvals");void 0===d?t.tickmode="auto":r("ticktext")}}},d945:function(e,t,r){"use strict";var n=r("0642"),i=r("fc26"),o=r("a5c4"),a=r("d115"),s=r("fc26").fillText,l=r("b8ce"),u={increasing:l.INCREASING.SYMBOL,decreasing:l.DECREASING.SYMBOL};function c(e,t,r,n){var i=e.cd,o=i[0].trace;return o.hoverlabel.split?p(e,t,r,n):d(e,t,r,n)}function f(e,t,r,n){var i,s,l=e.cd,u=e.xa,c=l[0].trace,f=l[0].t,p=c.type,d="ohlc"===p?"l":"min",h="ohlc"===p?"h":"max",v=f.bPos||0,m=function(e){return e.pos+v-t},g=f.bdPos||f.tickLen,y=f.wHover,b=Math.min(1,g/Math.abs(u.r2c(u.range[1])-u.r2c(u.range[0])));function x(e){var t=m(e);return o.inbox(t-y,t+y,i)}function A(e){var t=e[d],n=e[h];return t===n||o.inbox(t-r,n-r,i)}function w(e){return(x(e)+A(e))/2}i=e.maxHoverDistance-b,s=e.maxSpikeDistance-b;var _=o.getDistanceFunction(n,x,A,w);if(o.getClosest(l,_,e),!1===e.index)return null;var E=l[e.index];if(E.empty)return null;var k=E.dir,T=c[k],C=T.line.color;return a.opacity(C)&&T.line.width?e.color=C:e.color=T.fillcolor,e.x0=u.c2p(E.pos+v-g,!0),e.x1=u.c2p(E.pos+v+g,!0),e.xLabelVal=void 0!==E.orig_p?E.orig_p:E.pos,e.spikeDistance=w(E)*s/i,e.xSpike=u.c2p(E.pos,!0),e}function p(e,t,r,o){var a=e.cd,s=e.ya,l=a[0].trace,u=a[0].t,c=[],p=f(e,t,r,o);if(!p)return[];var d=p.index,h=a[d],v=h.hi||l.hoverinfo,m=v.split("+"),g="all"===v,y=g||-1!==m.indexOf("y");if(!y)return[];for(var b=["high","open","close","low"],x={},A=0;A<b.length;A++){var w,_=b[A],E=l[_][p.index],k=s.c2p(E,!0);E in x?(w=x[E],w.yLabel+="<br>"+u.labels[_]+n.hoverLabelText(s,E)):(w=i.extendFlat({},p),w.y0=w.y1=k,w.yLabelVal=E,w.yLabel=u.labels[_]+n.hoverLabelText(s,E),w.name="",c.push(w),x[E]=w)}return c}function d(e,t,r,i){var o=e.cd,a=e.ya,l=o[0].trace,c=o[0].t,p=f(e,t,r,i);if(!p)return[];var d=p.index,h=o[d],v=p.index=h.i,m=h.dir;function g(e){return c.labels[e]+n.hoverLabelText(a,l[e][v])}var y=h.hi||l.hoverinfo,b=y.split("+"),x="all"===y,A=x||-1!==b.indexOf("y"),w=x||-1!==b.indexOf("text"),_=A?[g("open"),g("high"),g("low"),g("close")+" "+u[m]]:[];return w&&s(h,l,_),p.extraText=_.join("<br>"),p.y0=p.y1=a.c2p(h.yc,!0),[p]}e.exports={hoverPoints:c,hoverSplit:p,hoverOnPoints:d}},d973:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={container:"DayPicker",wrapper:"DayPicker-wrapper",interactionDisabled:"DayPicker--interactionDisabled",months:"DayPicker-Months",month:"DayPicker-Month",navBar:"DayPicker-NavBar",navButtonPrev:"DayPicker-NavButton DayPicker-NavButton--prev",navButtonNext:"DayPicker-NavButton DayPicker-NavButton--next",navButtonInteractionDisabled:"DayPicker-NavButton--interactionDisabled",caption:"DayPicker-Caption",weekdays:"DayPicker-Weekdays",weekdaysRow:"DayPicker-WeekdaysRow",weekday:"DayPicker-Weekday",body:"DayPicker-Body",week:"DayPicker-Week",weekNumber:"DayPicker-WeekNumber",day:"DayPicker-Day",footer:"DayPicker-Footer",todayButton:"DayPicker-TodayButton",today:"today",selected:"selected",disabled:"disabled",outside:"outside"}},d98d:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8C19.66,8 21,6.66 21,5C21,3.34 19.66,2 18,2C16.34,2 15,3.34 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9C4.34,9 3,10.34 3,12C3,13.66 4.34,15 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19C20.92,17.39 19.61,16.08 18,16.08Z"}))};e.exports=s},d9c2:function(e,t){function r(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}e.exports=r},da03:function(e,t,r){var n=r("2b3e"),i=n["__core-js_shared__"];e.exports=i},da67:function(e,t,r){"use strict";var n=r("a211");var i=n;e.exports=i},da68:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("d7bc")),o=s(r("ab5b"));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(r,e);var t=h(r);function r(){return u(this,r),t.apply(this,arguments)}return f(r,[{key:"render",value:function(){return o.default.createElement("img",{className:"sidebar__logo",src:this.props.src})}}]),r}(o.Component);t.default=b,b.plotly_editor_traits={sidebar_element:!0},b.propTypes={src:i.default.string}},da69:function(e,t,r){"use strict";var n=r("756e");function i(e,t,r,n,i,o,a){this.cells=e,this.neighbor=t,this.flags=n,this.constraint=r,this.active=i,this.next=o,this.boundary=a}e.exports=u;var o=i.prototype;function a(e,t){return e[0]-t[0]||e[1]-t[1]||e[2]-t[2]}function s(e,t){for(var r=e.cells(),n=r.length,o=0;o<n;++o){var s=r[o],l=s[0],u=s[1],c=s[2];u<c?u<l&&(s[0]=u,s[1]=c,s[2]=l):c<l&&(s[0]=c,s[1]=l,s[2]=u)}r.sort(a);var f=new Array(n);for(o=0;o<f.length;++o)f[o]=0;var p=[],d=[],h=new Array(3*n),v=new Array(3*n),m=null;t&&(m=[]);var g=new i(r,h,v,f,p,d,m);for(o=0;o<n;++o){s=r[o];for(var y=0;y<3;++y){l=s[y],u=s[(y+1)%3];var b=h[3*o+y]=g.locate(u,l,e.opposite(u,l)),x=v[3*o+y]=e.isConstraint(l,u);b<0&&(x?d.push(o):(p.push(o),f[o]=1),t&&m.push([u,l,-1]))}}return g}function l(e,t,r){for(var n=0,i=0;i<e.length;++i)t[i]===r&&(e[n++]=e[i]);return e.length=n,e}function u(e,t,r){var n=s(e,r);if(0===t)return r?n.cells.concat(n.boundary):n.cells;var i=1,o=n.active,a=n.next,u=n.flags,c=n.cells,f=n.constraint,p=n.neighbor;while(o.length>0||a.length>0){while(o.length>0){var d=o.pop();if(u[d]!==-i){u[d]=i;c[d];for(var h=0;h<3;++h){var v=p[3*d+h];v>=0&&0===u[v]&&(f[3*d+h]?a.push(v):(o.push(v),u[v]=i))}}}var m=a;a=o,o=m,a.length=0,i=-i}var g=l(c,u,t);return r?g.concat(n.boundary):g}o.locate=function(){var e=[0,0,0];return function(t,r,i){var o=t,s=r,l=i;return r<i?r<t&&(o=r,s=i,l=t):i<t&&(o=i,s=t,l=r),o<0?-1:(e[0]=o,e[1]=s,e[2]=l,n.eq(this.cells,e,a))}}()},da6a:function(e,t,r){"use strict";var n=r("4cec"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?s:l[e["$$typeof"]]||i}l[n.ForwardRef]=a,l[n.Memo]=s;var c=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,v=Object.prototype;function m(e,t,r){if("string"!==typeof t){if(v){var n=h(t);n&&n!==v&&m(e,n,r)}var i=f(t);p&&(i=i.concat(p(t)));for(var a=u(e),s=u(t),l=0;l<i.length;++l){var g=i[l];if(!o[g]&&(!r||!r[g])&&(!s||!s[g])&&(!a||!a[g])){var y=d(t,g);try{c(e,g,y)}catch(b){}}}}return e}e.exports=m},da6a2:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26"),o=r("e806"),a=o.ONEDAY,s=o.ONEWEEK;t.dtick=function(e,t){var r="log"===t,i="date"===t,o="category"===t,s=i?a:1;if(!e)return s;if(n(e))return e=Number(e),e<=0?s:o?Math.max(1,Math.round(e)):i?Math.max(.1,e):e;if("string"!==typeof e||!i&&!r)return s;var l=e.charAt(0),u=e.substr(1);return u=n(u)?Number(u):0,u<=0||!(i&&"M"===l&&u===Math.round(u)||r&&"L"===l||r&&"D"===l&&(1===u||2===u))?s:e},t.tick0=function(e,t,r,o){return"date"===t?i.cleanDate(e,i.dateTick0(r,o%s===0?1:0)):"D1"!==o&&"D2"!==o?n(e)?Number(e):0:void 0}},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")()}).call(this,r("c8ba"))},da89:function(e,t,r){"use strict";var n=r("8e43");function i(e,t){var r=(t[0][0]>e?0:1)+(t[0][1]>e?0:2)+(t[1][1]>e?0:4)+(t[1][0]>e?0:8);if(5===r||10===r){var n=(t[0][0]+t[0][1]+t[1][0]+t[1][1])/4;return e>n?5===r?713:1114:5===r?104:208}return 15===r?0:r}e.exports=function(e){var t,r,o,a,s,l,u,c,f,p=e[0].z,d=p.length,h=p[0].length,v=2===d||2===h;for(r=0;r<d-1;r++)for(a=[],0===r&&(a=a.concat(n.BOTTOMSTART)),r===d-2&&(a=a.concat(n.TOPSTART)),t=0;t<h-1;t++)for(o=a.slice(),0===t&&(o=o.concat(n.LEFTSTART)),t===h-2&&(o=o.concat(n.RIGHTSTART)),s=t+","+r,l=[[p[r][t],p[r][t+1]],[p[r+1][t],p[r+1][t+1]]],f=0;f<e.length;f++)c=e[f],u=i(c.level,l),u&&(c.crossings[s]=u,-1!==o.indexOf(u)&&(c.starts.push([t,r]),v&&-1!==o.indexOf(u,o.indexOf(u)+1)&&c.starts.push([t,r])))}},da8c:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("fc26"),a=r("fb56"),s=r("93a6").resizeText;function l(e){var t=e._fullLayout._treemaplayer.selectAll(".trace");s(e,t,"treemap"),t.each((function(e){var t=n.select(this),r=e[0],i=r.trace;t.style("opacity",i.opacity),t.selectAll("path.surface").each((function(e){n.select(this).call(u,e,i,{hovered:!1})}))}))}function u(e,t,r,n){var s,l,u=(n||{}).hovered,c=t.data.data,f=c.i,p=c.color,d=a.isHierarchyRoot(t),h=1;if(u)s=r._hovered.marker.line.color,l=r._hovered.marker.line.width;else if(d&&p===r.root.color)h=100,s="rgba(0,0,0,0)",l=0;else if(s=o.castOption(r,f,"marker.line.color")||i.defaultLine,l=o.castOption(r,f,"marker.line.width")||0,!r._hasColorscale&&!t.onPathbar){var v=r.marker.depthfade;if(v){var m,g=i.combine(i.addOpacity(r._backgroundColor,.75),p);if(!0===v){var y=a.getMaxDepth(r);m=isFinite(y)?a.isLeaf(t)?0:r._maxVisibleLayers-(t.data.depth-r._entryDepth):t.data.height+1}else m=t.data.depth-r._entryDepth,r._atRootLevel||m++;if(m>0)for(var b=0;b<m;b++){var x=.5*b/m;p=i.combine(i.addOpacity(g,x),p)}}}e.style("stroke-width",l).call(i.fill,p).call(i.stroke,s).style("opacity",h)}e.exports={style:l,styleOne:u}},db0b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.cancelEvent=u,t.getFirstDayOfMonth=c,t.getDaysInMonth=f,t.getModifiersFromProps=p,t.getFirstDayOfWeekFromProps=d,t.isRangeOfDates=h,t.getMonthsDiff=v,t.getWeekArray=m,t.startOfMonth=g,t.getDayNodes=y,t.nodeListToArray=b,t.hasOwnProp=x;var i=r("4ea5"),o=r("a6a7"),a=r("d973"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){e.preventDefault(),e.stopPropagation()}function c(e){return new Date(e.getFullYear(),e.getMonth(),1,12)}function f(e){var t=c(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t.getDate()}function p(e){var t=n({},e.modifiers);return e.selectedDays&&(t[e.classNames.selected]=e.selectedDays),e.disabledDays&&(t[e.classNames.disabled]=e.disabledDays),t}function d(e){var t=e.firstDayOfWeek,r=e.locale,n=void 0===r?"en":r,i=e.localeUtils,o=void 0===i?{}:i;return isNaN(t)?o.getFirstDayOfWeek?o.getFirstDayOfWeek(n):0:t}function h(e){return!!(e&&e.from&&e.to)}function v(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}function m(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,o.getFirstDayOfWeek)(),r=arguments[2],n=f(e),a=[],s=[],l=[],u=1;u<=n;u+=1)a.push(new Date(e.getFullYear(),e.getMonth(),u,12));a.forEach((function(e){s.length>0&&e.getDay()===t&&(l.push(s),s=[]),s.push(e),a.indexOf(e)===a.length-1&&l.push(s)}));for(var c=l[0],p=7-c.length;p>0;p-=1){var d=(0,i.clone)(c[0]);d.setDate(c[0].getDate()-1),c.unshift(d)}for(var h=l[l.length-1],v=h.length;v<7;v+=1){var m=(0,i.clone)(h[h.length-1]);m.setDate(h[h.length-1].getDate()+1),h.push(m)}if(r&&l.length<6)for(var g=void 0,y=l.length;y<6;y+=1){g=l[l.length-1];for(var b=g[g.length-1],x=[],A=0;A<7;A+=1){var w=(0,i.clone)(b);w.setDate(b.getDate()+A+1),x.push(w)}l.push(x)}return l}function g(e){var t=(0,i.clone)(e);return t.setDate(1),t.setHours(12,0,0,0),t}function y(e,t){var r=void 0;r=t===s.default?t.day+"--"+t.outside:""+t.outside;var n=t.day.replace(/ /g,"."),i=r.replace(/ /g,"."),o="."+n+":not(."+i+")";return e.querySelectorAll(o)}function b(e){return Array.prototype.slice.call(e,0)}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},db3f:function(e,t,r){"use strict";var n=r("19b2"),i=r("371e"),o=r("0642"),a=r("fc26"),s=r("3c31");function l(e,t,r,i){var l=t["error_"+i]||{},u=l.visible&&-1!==["linear","log"].indexOf(r.type),c=[];if(u){for(var f=s(l),p=0;p<e.length;p++){var d=e[p],h=d.i;if(void 0===h)h=p;else if(null===h)continue;var v=d[i];if(n(r.c2l(v))){var m=f(v,h);if(n(m[0])&&n(m[1])){var g=d[i+"s"]=v-m[0],y=d[i+"h"]=v+m[1];c.push(g,y)}}}var b=r._id,x=t._extremes[b],A=o.findExtremes(r,c,a.extendFlat({tozero:x.opts.tozero},{padded:!0}));x.min=x.min.concat(A.min),x.max=x.max.concat(A.max)}}e.exports=function(e){for(var t=e.calcdata,r=0;r<t.length;r++){var n=t[r],a=n[0].trace;if(!0===a.visible&&i.traceIs(a,"errorBarsOK")){var s=o.getFromId(e,a.xaxis),u=o.getFromId(e,a.yaxis);l(n,a,s,"x"),l(n,a,u,"y")}}}},db54:function(e,t,r){"use strict";t.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}},db95:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M41.5 16.469l-8.745 8.887-4.71 7.858-4.709 3.418-8.745-5.468L4.5 29.796l5.382-4.101 4.036-7.176 9.418-8.887 8.073 4.786L41.5 16.469z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M28.045 33.214l-9.418-5.468-8.745-2.051m22.873-.339l-9.419-3.419-9.418-3.418",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M14.591 31.164l4.036-3.418 4.709-5.809 8.073-7.519",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))};t.default=u},db96:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},dbb1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M32 5.313l-9.375 14.688L6.687 5.313-.001 18.688v7.938l8-14.625 16 14.625 8-13.313z"}))};t.default=u},dbb45:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),l=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,u=o(n),c={},f=0;while(u.length>f)r=i(n,t=u[f++]),void 0!==r&&l(c,t,r);return c}})},dbc7:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("fc26"),a=o.strTranslate,s=r("d115"),l=r("83d1"),u=r("a5c4"),c=r("bb71"),f=r("0642"),p=r("ce56").getAutoRange,d=r("4efe"),h=r("1876").prepSelect,v=r("1876").clearSelect,m=r("1876").selectOnClick,g=r("be64"),y=r("0804"),b=r("0919"),x=r("c400"),A=r("d217").feature;function w(e){this.id=e.id,this.graphDiv=e.graphDiv,this.container=e.container,this.topojsonURL=e.topojsonURL,this.isStatic=e.staticPlot,this.topojsonName=null,this.topojson=null,this.projection=null,this.scope=null,this.viewInitial=null,this.fitScale=null,this.bounds=null,this.midPt=null,this.hasChoropleth=!1,this.traceHash={},this.layers={},this.basePaths={},this.dataPaths={},this.dataPoints={},this.clipDef=null,this.clipRect=null,this.bgRect=null,this.makeFramework()}r("4b8c")(n);var _=w.prototype;function E(e){for(var t=e.projection,r=t.type,i=n.geo[y.projNames[r]](),o=e._isClipped?y.lonaxisSpan[r]/2:null,a=["center","rotate","parallels","clipExtent"],s=function(e){return e?i:[]},l=0;l<a.length;l++){var u=a[l];"function"!==typeof i[u]&&(i[u]=s)}return i.isLonLatOverEdges=function(e){if(null===i(e))return!0;if(o){var t=i.rotate(),r=n.geo.distance(e,[-t[0],-t[1]]),a=o*Math.PI/180;return r>a}return!1},i.getPath=function(){return n.geo.path().projection(i)},i.getBounds=function(e){return i.getPath().bounds(e)},i.fitExtent=function(e,t){var r=e[1][0]-e[0][0],n=e[1][1]-e[0][1],o=i.clipExtent&&i.clipExtent();i.scale(150).translate([0,0]),o&&i.clipExtent(null);var a=i.getBounds(t),s=Math.min(r/(a[1][0]-a[0][0]),n/(a[1][1]-a[0][1])),l=+e[0][0]+(r-s*(a[1][0]+a[0][0]))/2,u=+e[0][1]+(n-s*(a[1][1]+a[0][1]))/2;return o&&i.clipExtent(o),i.scale(150*s).translate([l,u])},i.precision(y.precision),o&&i.clipAngle(o-y.clipPad),i}function k(e,t,r){var n,i,o,a=1e-6,s=2.5,l=t[e],u=y.scopeDefaults[t.scope];"lonaxis"===e?(n=u.lonaxisRange,i=u.lataxisRange,o=function(e,t){return[e,t]}):"lataxis"===e&&(n=u.lataxisRange,i=u.lonaxisRange,o=function(e,t){return[t,e]});var c={type:"linear",range:[n[0],n[1]-a],tick0:l.tick0,dtick:l.dtick};f.setConvert(c,r);var p=f.calcTicks(c);t.isScoped||"lonaxis"!==e||p.pop();for(var d=p.length,h=new Array(d),v=0;v<d;v++)for(var m=p[v].x,g=h[v]=[],b=i[0];b<i[1]+s;b+=s)g.push(o(m,b));return{type:"MultiLineString",coordinates:h}}function T(e,t){var r=y.clipPad,n=e[0]+r,i=e[1]-r,o=t[0]+r,a=t[1]-r;n>0&&i<0&&(i+=360);var s=(i-n)/4;return{type:"Polygon",coordinates:[[[n,o],[n,a],[n+s,a],[n+2*s,a],[n+3*s,a],[i,a],[i,o],[i-s,o],[i-2*s,o],[i-3*s,o],[n,o]]]}}e.exports=function(e){return new w(e)},_.plot=function(e,t,r){var n=this,i=t[this.id],o=[],a=!1;for(var s in y.layerNameToAdjective)if("frame"!==s&&i["show"+s]){a=!0;break}for(var l=0;l<e.length;l++)if(e[0][0].trace.locationmode){a=!0;break}if(a){var u=x.getTopojsonName(i);null!==n.topojson&&u===n.topojsonName||(n.topojsonName=u,void 0===PlotlyGeoAssets.topojson[n.topojsonName]&&o.push(n.fetchTopojson()))}o=o.concat(b.fetchTraceGeoData(e)),r.push(new Promise((function(r,i){Promise.all(o).then((function(){n.topojson=PlotlyGeoAssets.topojson[n.topojsonName],n.update(e,t),r()})).catch(i)})))},_.fetchTopojson=function(){var e=this,t=x.getTopojsonPath(e.topojsonURL,e.topojsonName);return new Promise((function(r,i){n.json(t,(function(n,o){if(n)return 404===n.status?i(new Error(["plotly.js could not find topojson file at",t,".","Make sure the *topojsonURL* plot config option","is set properly."].join(" "))):i(new Error(["unexpected error while fetching topojson file at",t].join(" ")));PlotlyGeoAssets.topojson[e.topojsonName]=o,r()}))}))},_.update=function(e,t){var r=t[this.id];this.hasChoropleth=!1;for(var n=0;n<e.length;n++){var i=e[n],o=i[0].trace;"choropleth"===o.type&&(this.hasChoropleth=!0),!0===o.visible&&o._length>0&&o._module.calcGeoJSON(i,t)}var a=this.updateProjection(e,t);if(!a){this.viewInitial&&this.scope===r.scope||this.saveViewInitial(r),this.scope=r.scope,this.updateBaseLayers(t,r),this.updateDims(t,r),this.updateFx(t,r),c.generalUpdatePerTraceModule(this.graphDiv,this,e,r);var s=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=s.selectAll(".point"),this.dataPoints.text=s.selectAll("text"),this.dataPaths.line=s.selectAll(".js-line");var l=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=l.selectAll("path"),this.render()}},_.updateProjection=function(e,t){var r=this.graphDiv,n=t[this.id],a=t._size,s=n.domain,l=n.projection,u=n.lonaxis,c=n.lataxis,f=u._ax,d=c._ax,h=this.projection=E(n),v=[[a.l+a.w*s.x[0],a.t+a.h*(1-s.y[1])],[a.l+a.w*s.x[1],a.t+a.h*(1-s.y[0])]],m=n.center||{},g=l.rotation||{},b=u.range||[],x=c.range||[];if(n.fitbounds){f._length=v[1][0]-v[0][0],d._length=v[1][1]-v[0][1],f.range=p(r,f),d.range=p(r,d);var A=(f.range[0]+f.range[1])/2,w=(d.range[0]+d.range[1])/2;if(n._isScoped)m={lon:A,lat:w};else if(n._isClipped){m={lon:A,lat:w},g={lon:A,lat:w,roll:g.roll};var _=l.type,k=y.lonaxisSpan[_]/2||180,C=y.lataxisSpan[_]/2||90;b=[A-k,A+k],x=[w-C,w+C]}else m={lon:A,lat:w},g={lon:A,lat:g.lat,roll:g.roll}}h.center([m.lon-g.lon,m.lat-g.lat]).rotate([-g.lon,-g.lat,g.roll]).parallels(l.parallels);var S=T(b,x);h.fitExtent(v,S);var O=this.bounds=h.getBounds(S),M=this.fitScale=h.scale(),P=h.translate();if(!isFinite(O[0][0])||!isFinite(O[0][1])||!isFinite(O[1][0])||!isFinite(O[1][1])||isNaN(P[0])||isNaN(P[0])){for(var B=["fitbounds","projection.rotation","center","lonaxis.range","lataxis.range"],L="Invalid geo settings, relayout'ing to default view.",D={},I=0;I<B.length;I++)D[this.id+"."+B[I]]=null;return this.viewInitial=null,o.warn(L),r._promises.push(i.call("relayout",r,D)),L}if(n.fitbounds){var j=h.getBounds(T(f.range,d.range)),R=Math.min((O[1][0]-O[0][0])/(j[1][0]-j[0][0]),(O[1][1]-O[0][1])/(j[1][1]-j[0][1]));isFinite(R)?h.scale(R*M):o.warn("Something went wrong during"+this.id+"fitbounds computations.")}else h.scale(l.scale*M);var F=this.midPt=[(O[0][0]+O[1][0])/2,(O[0][1]+O[1][1])/2];if(h.translate([P[0]+(F[0]-P[0]),P[1]+(F[1]-P[1])]).clipExtent(O),n._isAlbersUsa){var N=h([m.lon,m.lat]),z=h.translate();h.translate([z[0]-(N[0]-z[0]),z[1]-(N[1]-z[1])])}},_.updateBaseLayers=function(e,t){var r=this,i=r.topojson,o=r.layers,a=r.basePaths;function u(e){return"lonaxis"===e||"lataxis"===e}function c(e){return Boolean(y.lineLayers[e])}function f(e){return Boolean(y.fillLayers[e])}var p=this.hasChoropleth?y.layersForChoropleth:y.layers,d=p.filter((function(e){return c(e)||f(e)?t["show"+e]:!u(e)||t[e].showgrid})),h=r.framework.selectAll(".layer").data(d,String);h.exit().each((function(e){delete o[e],delete a[e],n.select(this).remove()})),h.enter().append("g").attr("class",(function(e){return"layer "+e})).each((function(e){var t=o[e]=n.select(this);"bg"===e?r.bgRect=t.append("rect").style("pointer-events","all"):u(e)?a[e]=t.append("path").style("fill","none"):"backplot"===e?t.append("g").classed("choroplethlayer",!0):"frontplot"===e?t.append("g").classed("scatterlayer",!0):c(e)?a[e]=t.append("path").style("fill","none").style("stroke-miterlimit",2):f(e)&&(a[e]=t.append("path").style("stroke","none"))})),h.order(),h.each((function(r){var n=a[r],o=y.layerNameToAdjective[r];"frame"===r?n.datum(y.sphereSVG):c(r)||f(r)?n.datum(A(i,i.objects[r])):u(r)&&n.datum(k(r,t,e)).call(s.stroke,t[r].gridcolor).call(l.dashLine,"",t[r].gridwidth),c(r)?n.call(s.stroke,t[o+"color"]).call(l.dashLine,"",t[o+"width"]):f(r)&&n.call(s.fill,t[o+"color"])}))},_.updateDims=function(e,t){var r=this.bounds,n=(t.framewidth||0)/2,i=r[0][0]-n,o=r[0][1]-n,a=r[1][0]-i+n,u=r[1][1]-o+n;l.setRect(this.clipRect,i,o,a,u),this.bgRect.call(l.setRect,i,o,a,u).call(s.fill,t.bgcolor),this.xaxis._offset=i,this.xaxis._length=a,this.yaxis._offset=o,this.yaxis._length=u},_.updateFx=function(e,t){var r=this,o=r.graphDiv,a=r.bgRect,s=e.dragmode,l=e.clickmode;if(!r.isStatic){var c;"select"===s?c=function(e,t){var n=e.range={};n[r.id]=[y([t.xmin,t.ymin]),y([t.xmax,t.ymax])]}:"lasso"===s&&(c=function(e,t,n){var i=e.lassoPoints={};i[r.id]=n.filtered.map(y)});var f={element:r.bgRect.node(),gd:o,plotinfo:{id:r.id,xaxis:r.xaxis,yaxis:r.yaxis,fillRangeItems:c},xaxes:[r.xaxis],yaxes:[r.yaxis],subplot:r.id,clickFn:function(e){2===e&&v(o)}};"pan"===s?(a.node().onmousedown=null,a.call(g(r,t)),a.on("dblclick.zoom",p),o._context._scrollZoom.geo||a.on("wheel.zoom",null)):"select"!==s&&"lasso"!==s||(a.on(".zoom",null),f.prepFn=function(e,t,r){h(e,t,r,f,s)},d.init(f)),a.on("mousemove",(function(){var e=r.projection.invert(n.mouse(this));if(!e||isNaN(e[0])||isNaN(e[1]))return d.unhover(o,n.event);r.xaxis.p2c=function(){return e[0]},r.yaxis.p2c=function(){return e[1]},u.hover(o,n.event,r.id)})),a.on("mouseout",(function(){o._dragging||d.unhover(o,n.event)})),a.on("click",(function(){"select"!==s&&"lasso"!==s&&(l.indexOf("select")>-1&&m(n.event,o,[r.xaxis],[r.yaxis],r.id,f),l.indexOf("event")>-1&&u.click(o,n.event))}))}function p(){var e=r.viewInitial,t={};for(var n in e)t[r.id+"."+n]=e[n];i.call("_guiRelayout",o,t),o.emit("plotly_doubleclick",null)}function y(e){return r.projection.invert([e[0]+r.xaxis._offset,e[1]+r.yaxis._offset])}},_.makeFramework=function(){var e=this,t=e.graphDiv,r=t._fullLayout,i="clip"+r._uid+e.id;e.clipDef=r._clips.append("clipPath").attr("id",i),e.clipRect=e.clipDef.append("rect"),e.framework=n.select(e.container).append("g").attr("class","geo "+e.id).call(l.setClipUrl,i,t),e.project=function(t){var r=e.projection(t);return r?[r[0]-e.xaxis._offset,r[1]-e.yaxis._offset]:[null,null]},e.xaxis={_id:"x",c2p:function(t){return e.project(t)[0]}},e.yaxis={_id:"y",c2p:function(t){return e.project(t)[1]}},e.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(e.mockAxis,r)},_.saveViewInitial=function(e){var t,r=e.center||{},n=e.projection,i=n.rotation||{};this.viewInitial={fitbounds:e.fitbounds,"projection.scale":n.scale},t=e._isScoped?{"center.lon":r.lon,"center.lat":r.lat}:e._isClipped?{"projection.rotation.lon":i.lon,"projection.rotation.lat":i.lat}:{"center.lon":r.lon,"center.lat":r.lat,"projection.rotation.lon":i.lon},o.extendFlat(this.viewInitial,t)},_.render=function(){var e,t=this.projection,r=t.getPath();function n(e){var r=t(e.lonlat);return r?a(r[0],r[1]):null}function i(e){return t.isLonLatOverEdges(e.lonlat)?"none":null}for(e in this.basePaths)this.basePaths[e].attr("d",r);for(e in this.dataPaths)this.dataPaths[e].attr("d",(function(e){return r(e.geojson)}));for(e in this.dataPoints)this.dataPoints[e].attr("display",i).attr("transform",n)}},dbd1:function(e,t,r){"use strict";e.exports=A;var n=r("d5e3"),i=r("487e"),o=r("3146"),a=r("a4f3"),s=r("605a"),l=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function u(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function c(e){this.gl=e,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=o(e)}var f=c.prototype;function p(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}f.update=function(e){function t(t,r,n){if(n in e){var i,o=e[n],a=this[n];(t?Array.isArray(o)&&Array.isArray(o[0]):Array.isArray(o))?this[n]=i=[r(o[0]),r(o[1]),r(o[2])]:this[n]=i=[r(o),r(o),r(o)];for(var s=0;s<3;++s)if(i[s]!==a[s])return!0}return!1}e=e||{};var r,o=t.bind(this,!1,Number),a=t.bind(this,!1,Boolean),l=t.bind(this,!1,String),u=t.bind(this,!0,(function(e){if(Array.isArray(e)){if(3===e.length)return[+e[0],+e[1],+e[2],1];if(4===e.length)return[+e[0],+e[1],+e[2],+e[3]]}return[0,0,0,1]})),c=!1,f=!1;if("bounds"in e)for(var p=e.bounds,d=0;d<2;++d)for(var h=0;h<3;++h)p[d][h]!==this.bounds[d][h]&&(f=!0),this.bounds[d][h]=p[d][h];if("ticks"in e){r=e.ticks,c=!0,this.autoTicks=!1;for(d=0;d<3;++d)this.tickSpacing[d]=0}else o("tickSpacing")&&(this.autoTicks=!0,f=!0);if(this._firstInit&&("ticks"in e||"tickSpacing"in e||(this.autoTicks=!0),f=!0,c=!0,this._firstInit=!1),f&&this.autoTicks&&(r=s.create(this.bounds,this.tickSpacing),c=!0),c){for(d=0;d<3;++d)r[d].sort((function(e,t){return e.x-t.x}));s.equal(r,this.ticks)?c=!1:this.ticks=r}a("tickEnable"),l("tickFont")&&(c=!0),o("tickSize"),o("tickAngle"),o("tickPad"),u("tickColor");var v=l("labels");l("labelFont")&&(v=!0),a("labelEnable"),o("labelSize"),o("labelPad"),u("labelColor"),a("lineEnable"),a("lineMirror"),o("lineWidth"),u("lineColor"),a("lineTickEnable"),a("lineTickMirror"),o("lineTickLength"),o("lineTickWidth"),u("lineTickColor"),a("gridEnable"),o("gridWidth"),u("gridColor"),a("zeroEnable"),u("zeroLineColor"),o("zeroLineWidth"),a("backgroundEnable"),u("backgroundColor"),this._text?this._text&&(v||c)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=n(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&c&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=i(this.gl,this.bounds,this.ticks))};var d=[new p,new p,new p];function h(e,t,r,n,i){for(var o=e.primalOffset,a=e.primalMinor,s=e.mirrorOffset,l=e.mirrorMinor,u=n[t],c=0;c<3;++c)if(t!==c){var f=o,p=s,d=a,h=l;u&1<<c&&(f=s,p=o,d=l,h=a),f[c]=r[0][c],p[c]=r[1][c],i[c]>0?(d[c]=-1,h[c]=0):(d[c]=0,h[c]=1)}}var v=[0,0,0],m={model:l,view:l,projection:l,_ortho:!1};f.isOpaque=function(){return!0},f.isTransparent=function(){return!1},f.drawTransparent=function(e){};var g=0,y=[0,0,0],b=[0,0,0],x=[0,0,0];function A(e,t){var r=new c(e);return r.update(t),r}f.draw=function(e){e=e||m;for(var t=this.gl,r=e.model||l,n=e.view||l,i=e.projection||l,o=this.bounds,s=e._ortho||!1,c=a(r,n,i,o,s),f=c.cubeEdges,p=c.axis,A=n[12],w=n[13],_=n[14],E=n[15],k=s?2:1,T=k*this.pixelRatio*(i[3]*A+i[7]*w+i[11]*_+i[15]*E)/t.drawingBufferHeight,C=0;C<3;++C)this.lastCubeProps.cubeEdges[C]=f[C],this.lastCubeProps.axis[C]=p[C];var S=d;for(C=0;C<3;++C)h(d[C],C,this.bounds,f,p);t=this.gl;var O,M=v;for(C=0;C<3;++C)this.backgroundEnable[C]?M[C]=p[C]:M[C]=0;this._background.draw(r,n,i,o,M,this.backgroundColor),this._lines.bind(r,n,i,this);for(C=0;C<3;++C){var P=[0,0,0];p[C]>0?P[C]=o[1][C]:P[C]=o[0][C];for(var B=0;B<2;++B){var L=(C+1+B)%3,D=(C+1+(1^B))%3;this.gridEnable[L]&&this._lines.drawGrid(L,D,this.bounds,P,this.gridColor[L],this.gridWidth[L]*this.pixelRatio)}for(B=0;B<2;++B){L=(C+1+B)%3,D=(C+1+(1^B))%3;this.zeroEnable[D]&&Math.min(o[0][D],o[1][D])<=0&&Math.max(o[0][D],o[1][D])>=0&&this._lines.drawZero(L,D,this.bounds,P,this.zeroLineColor[D],this.zeroLineWidth[D]*this.pixelRatio)}}for(C=0;C<3;++C){this.lineEnable[C]&&this._lines.drawAxisLine(C,this.bounds,S[C].primalOffset,this.lineColor[C],this.lineWidth[C]*this.pixelRatio),this.lineMirror[C]&&this._lines.drawAxisLine(C,this.bounds,S[C].mirrorOffset,this.lineColor[C],this.lineWidth[C]*this.pixelRatio);var I=u(y,S[C].primalMinor),j=u(b,S[C].mirrorMinor),R=this.lineTickLength;for(B=0;B<3;++B){var F=T/r[5*B];I[B]*=R[B]*F,j[B]*=R[B]*F}this.lineTickEnable[C]&&this._lines.drawAxisTicks(C,S[C].primalOffset,I,this.lineTickColor[C],this.lineTickWidth[C]*this.pixelRatio),this.lineTickMirror[C]&&this._lines.drawAxisTicks(C,S[C].mirrorOffset,j,this.lineTickColor[C],this.lineTickWidth[C]*this.pixelRatio)}this._lines.unbind(),this._text.bind(r,n,i,this.pixelRatio);var N,z,U=.5;function H(e){z=[0,0,0],z[e]=1}function V(e,t,r){var n=(e+1)%3,i=(e+2)%3,o=t[n],a=t[i],s=r[n],l=r[i];o>0&&l>0||o>0&&l<0||o<0&&l>0||o<0&&l<0?H(n):(a>0&&s>0||a>0&&s<0||a<0&&s>0||a<0&&s<0)&&H(i)}for(C=0;C<3;++C){var Q=S[C].primalMinor,W=S[C].mirrorMinor,K=u(x,S[C].primalOffset);for(B=0;B<3;++B)this.lineTickEnable[C]&&(K[B]+=T*Q[B]*Math.max(this.lineTickLength[B],0)/r[5*B]);var q=[0,0,0];if(q[C]=1,this.tickEnable[C]){-3600===this.tickAngle[C]?(this.tickAngle[C]=0,this.tickAlign[C]="auto"):this.tickAlign[C]=-1,N=1,O=[this.tickAlign[C],U,N],"auto"===O[0]?O[0]=g:O[0]=parseInt(""+O[0]),z=[0,0,0],V(C,Q,W);for(B=0;B<3;++B)K[B]+=T*Q[B]*this.tickPad[B]/r[5*B];this._text.drawTicks(C,this.tickSize[C],this.tickAngle[C],K,this.tickColor[C],q,z,O)}if(this.labelEnable[C]){N=0,z=[0,0,0],this.labels[C].length>4&&(H(C),N=1),O=[this.labelAlign[C],U,N],"auto"===O[0]?O[0]=g:O[0]=parseInt(""+O[0]);for(B=0;B<3;++B)K[B]+=T*Q[B]*this.labelPad[B]/r[5*B];K[C]+=.5*(o[0][C]+o[1][C]),this._text.drawLabel(C,this.labelSize[C],this.labelAngle[C],K,this.labelColor[C],[0,0,0],z,O)}}this._text.unbind()},f.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},dc0f:function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},dc1a:function(e,t,r){"use strict";var n=r("dec3"),i=r("8cb4"),o=r("9168"),a=r("f1df");function s(e){var t=a(e,(function(e){var t=e.getSelection(),r=e.getCurrentContent(),n=t.getAnchorKey(),a=t.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a-1];return o(e,s?i.getUTF16Length(s,0):1)}),"backward");if(t===e.getCurrentContent())return e;var r=e.getSelection();return n.push(e,t.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}e.exports=s},dc1f:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10,2H14C15.1,2 16,2.9 16,4V6H20C21.1,6 22,6.9 22,8V19C22,20.1 21.1,21 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14Z"}))};e.exports=s},dc57:function(e,t){var r=Function.prototype,n=r.toString;function i(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},dc6e:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},dc6f:function(e,t,r){e.exports=i;var n=r("cc12a");function i(e,t){var r=e[0],i=e[1],o=e[2],a=t[0],s=t[1],l=t[2];return Math.abs(r-a)<=n*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=n*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(o-l)<=n*Math.max(1,Math.abs(o),Math.abs(l))}},dc75:function(e,t,r){"use strict";var n=r("19b2"),i=r("ae13"),o=r("306c"),a=r("e806").BADNUM,s=1e-9;function l(e,t){return e<t}function u(e,t){return e<=t}function c(e,t){return e>t}function f(e,t){return e>=t}t.findBin=function(e,t,r){if(n(t.start))return r?Math.ceil((e-t.start)/t.size-s)-1:Math.floor((e-t.start)/t.size+s);var o,a,p=0,d=t.length,h=0,v=d>1?(t[d-1]-t[0])/(d-1):1;a=v>=0?r?l:u:r?f:c,e+=v*s*(r?-1:1)*(v>=0?1:-1);while(p<d&&h++<100)o=Math.floor((p+d)/2),a(t[o],e)?p=o+1:d=o;return h>90&&i.log("Long binary search..."),p-1},t.sorterAsc=function(e,t){return e-t},t.sorterDes=function(e,t){return t-e},t.distinctVals=function(e,r){var n,i=(r||{}).unitMinDiff,o=e.slice();for(o.sort(t.sorterAsc),n=o.length-1;n>-1;n--)if(o[n]!==a)break;var s=1;i||(s=o[n]-o[0]||1);for(var l,u=s/(n||1)/1e4,c=[],f=0;f<=n;f++){var p=o[f],d=p-l;void 0===l?(c.push(p),l=p):d>u&&(s=Math.min(s,d),c.push(p),l=p)}return{vals:c,minDiff:s}},t.roundUp=function(e,t,r){var n,i=0,o=t.length-1,a=0,s=r?0:1,l=r?1:0,u=r?Math.ceil:Math.floor;while(i<o&&a++<100)n=u((i+o)/2),t[n]<=e?i=n+s:o=n-l;return t[i]},t.sort=function(e,t){for(var r=0,n=0,i=1;i<e.length;i++){var o=t(e[i],e[i-1]);if(o<0?r=1:o>0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},t.findIndexOfMin=function(e,t){t=t||o;for(var r,n=1/0,i=0;i<e.length;i++){var a=t(e[i]);a<n&&(n=a,r=i)}return r}},dc98:function(e,t,r){"use strict";e.exports={plot:r("8c16"),attributes:r("9036"),markerSymbols:r("014c"),supplyDefaults:r("d06d"),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:r("c1d8"),moduleType:"trace",name:"scatter3d",basePlotModule:r("134c"),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{hrName:"scatter_3d",description:["The data visualized as scatter point or lines in 3D dimension","is set in `x`, `y`, `z`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","Projections are achieved via `projection`.","Surface fills are achieved via `surfaceaxis`."].join(" ")}}},dca5:function(e,t,r){"use strict";function n(e){this.roots=new Array(e),this.ranks=new Array(e);for(var t=0;t<e;++t)this.roots[t]=t,this.ranks[t]=0}e.exports=n;var i=n.prototype;Object.defineProperty(i,"length",{get:function(){return this.roots.length}}),i.makeSet=function(){var e=this.roots.length;return this.roots.push(e),this.ranks.push(0),e},i.find=function(e){var t=e,r=this.roots;while(r[e]!==e)e=r[e];while(r[t]!==e){var n=r[t];r[t]=e,t=n}return e},i.link=function(e,t){var r=this.find(e),n=this.find(t);if(r!==n){var i=this.ranks,o=this.roots,a=i[r],s=i[n];a<s?o[r]=n:s<a?o[n]=r:(o[n]=r,++i[r])}}},dcbe:function(e,t,r){var n=r("30c9"),i=r("1310");function o(e){return i(e)&&n(e)}e.exports=o},dcc2:function(e,t,r){"use strict";var n=r("fc26"),i=r("e5ac"),o=r("42dc"),a=r("3d2e"),s=a.name,l=o.buttons;function u(e,t,r){function a(r,i){return n.coerce(e,t,o,r,i)}var s=i(e,t,{name:"buttons",handleItemDefaults:c}),l=a("visible",s.length>0);l&&(a("active"),a("direction"),a("type"),a("showactive"),a("x"),a("y"),n.noneOrAll(e,t,["x","y"]),a("xanchor"),a("yanchor"),a("pad.t"),a("pad.r"),a("pad.b"),a("pad.l"),n.coerceFont(a,"font",r.font),a("bgcolor",r.paper_bgcolor),a("bordercolor"),a("borderwidth"))}function c(e,t){function r(r,i){return n.coerce(e,t,l,r,i)}var i=r("visible","skip"===e.method||Array.isArray(e.args));i&&(r("method"),r("args"),r("args2"),r("label"),r("execute"))}e.exports=function(e,t){var r={name:s,handleItemDefaults:u};i(e,t,r)}},dcc5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M23.375 15.75c-1.813-.563-2.813-3-2.813-3-.063-.25-.563-1.313-.563-1.563a93.2 93.2 0 0 1-.688-2.125l-.375-.813c-.25-.5-.688-1.375-1.25-2.063l-.313-.313-.25-.188c-.375-.25-.688-.375-1.063-.375s-1.063.188-1.563.688l-.5.688a5.836 5.836 0 0 1-.313.5c-.125.25-.313.563-.438.875l.125-.25-.375.75s-.438 1.063-.563 1.563c0 0-.25.75-.313 1.125 0-.125.063-.313.063-.438l-.313 1.063c-.25.438-.5 1.125-.5 1.125-.5.688-.875 2-3.188 2.875l-2.938 1-5.25 1.813 16 8 16-8zm-11.312-4.312c0 .063-.063.125-.125.188.063-.063.063-.125.125-.188z"}))};t.default=u},dcc8:function(e,t){function r(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},dccc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INLINE_STYLES=t.STYLE_MAP=t.STYLES_TO_HTML_TAGS=t.ITALIC=t.BOLD=t.LINK=t.SUBSCRIPT=t.SUPERSCRIPT=void 0;var n,i,o=u(r("ab5b")),a=r("f825"),s=r("8704"),l=r("e419");function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f="SUPERSCRIPT";t.SUPERSCRIPT=f;var p="SUBSCRIPT";t.SUBSCRIPT=p;var d="LINK";t.LINK=d;var h=a.INLINE_STYLE.BOLD,v=a.INLINE_STYLE.ITALIC;t.ITALIC=v,t.BOLD=h;var m=(n={},c(n,h,{element:"b"}),c(n,v,{element:"i"}),c(n,f,{element:"sup"}),c(n,p,{element:"sub"}),c(n,d,{element:"a"}),n);t.STYLES_TO_HTML_TAGS=m;var g=(i={},c(i,h,{fontWeight:"bolder"}),c(i,v,{fontStyle:"italic"}),c(i,p,{lineHeight:0,fontSize:"65%",position:"relative",bottom:"-3px"}),c(i,f,{lineHeight:0,fontSize:"65%",position:"relative",top:"-5px"}),c(i,d,{color:l.COLORS.editorLink,linkDecoration:"none",cursor:"pointer"}),i);t.STYLE_MAP=g;var y=[{label:o.default.createElement("span",{style:g[h]},"B"),value:h},{label:o.default.createElement("span",{style:g[v]},"I"),value:v},{label:o.default.createElement("span",null,"x",o.default.createElement("span",{style:g[p]},"2")),value:p},{label:o.default.createElement("span",null,"x",o.default.createElement("span",{style:g[f]},"2")),value:f},{label:o.default.createElement("span",null,o.default.createElement(s.LinkIcon,{className:"icon-link"})),value:d}];t.INLINE_STYLES=y},dcf3:function(e,t){e.exports=!0},dd05:function(e,t){function r(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e[3]=Math.max(t[3],r[3]),e}e.exports=r},dd06:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#27d1f0",stroke:"#fff",d:"M32.05 26.375l-2.3 3.45-4.6 1.15-2.3-2.3H19.4l-6.15 1.15-3.45-2.3 3.85-4.6v-3.45h5.163l4.187 3 4.45-3 9.2 6.9h-4.6z",strokeLinecap:"round",strokeLinejoin:"round"}),o.default.createElement("path",{fill:"#1d9bfb",stroke:"#fff",d:"M36.65 26.375l-9.2-6.9-4.45 3-4.187-3H13.65l-2.875-1.725v-2.3l-1.15-1.15-1.15 1.15-1.15-1.15V9.7h2.3l2.3-1.15h2.3l3.45 2.3h3.45l4.6-2.3 3.45 3.45-3.45 3.45h5.75v-2.3h3.45v1.15l1.15 1.15 1.15-1.15 3.45 3.45v3.45H36.65v5.175zm-9.775 7.475L25.725 35h-1.15l.575-4.025-2.3-2.3H19.4l-6.15 1.15 7.875 4.025v2.3l3.45 2.3h2.3l1.15-1.15V35l-1.15-1.15z",strokeLinecap:"round",strokeLinejoin:"round"}))};t.default=u},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},dd61:function(e,t,r){var n=r("7948"),i=r("badf"),o=r("97d3"),a=r("6747");function s(e,t){var r=a(e)?n:o;return r(e,i(t,3))}e.exports=s},dd6d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M19.188 7.375c2.25.125 4.5 1.063 6.25 2.563l-6.25 6.313zm1.062 9.563h6.063c-.125-1.25-.75-3.125-1.75-4.313zm5.625 7c1.375-1.625 2.25-3.438 2.375-5.688h-8zM19.188 29a10.928 10.928 0 0 0 6.813-2.813l-6.813-6.813zm-1.25 1.438V19.375l-7.813 7.813a13.045 13.045 0 0 0 7.813 3.25zM4.875 18.25C5.063 21.438 6.313 24.563 8.5 27l8.625-8.75zm2.75-10.875c-2.375 2.688-3.75 6.375-3.875 9.563h13.375zm10.313-5.75c-3.563.188-7.438 1.688-10.25 4.313l10.25 10.313z"}))};t.default=u},dd86:function(e,t){function r(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}e.exports=r},dda6:function(e,t,r){"use strict";var n=r("53a5");e.exports=o;var i=1e20;function o(e,t){t||(t={});var r,o,s,l,u,c,f,p,d,h,v,m=null==t.cutoff?.25:t.cutoff,g=null==t.radius?8:t.radius,y=t.channel||0;if(ArrayBuffer.isView(e)||Array.isArray(e)){if(!t.width||!t.height)throw Error("For raw data width and height should be provided by options");r=t.width,o=t.height,l=e,c=t.stride?t.stride:Math.floor(e.length/r/o)}else window.HTMLCanvasElement&&e instanceof window.HTMLCanvasElement?(p=e,f=p.getContext("2d"),r=p.width,o=p.height,d=f.getImageData(0,0,r,o),l=d.data,c=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(p=e.canvas,f=e,r=p.width,o=p.height,d=f.getImageData(0,0,r,o),l=d.data,c=4):window.ImageData&&e instanceof window.ImageData&&(d=e,r=e.width,o=e.height,l=d.data,c=4);if(s=Math.max(r,o),window.Uint8ClampedArray&&l instanceof window.Uint8ClampedArray||window.Uint8Array&&l instanceof window.Uint8Array)for(u=l,l=Array(r*o),h=0,v=u.length;h<v;h++)l[h]=u[h*c+y]/255;else if(1!==c)throw Error("Raw data can have only 1 value per pixel");var b=Array(r*o),x=Array(r*o),A=Array(s),w=Array(s),_=Array(s+1),E=Array(s);for(h=0,v=r*o;h<v;h++){var k=l[h];b[h]=1===k?0:0===k?i:Math.pow(Math.max(0,.5-k),2),x[h]=1===k?i:0===k?0:Math.pow(Math.max(0,k-.5),2)}a(b,r,o,A,w,E,_),a(x,r,o,A,w,E,_);var T=window.Float32Array?new Float32Array(r*o):new Array(r*o);for(h=0,v=r*o;h<v;h++)T[h]=n(1-((b[h]-x[h])/g+m),0,1);return T}function a(e,t,r,n,i,o,a){for(var l=0;l<t;l++){for(var u=0;u<r;u++)n[u]=e[u*t+l];for(s(n,i,o,a,r),u=0;u<r;u++)e[u*t+l]=i[u]}for(u=0;u<r;u++){for(l=0;l<t;l++)n[l]=e[u*t+l];for(s(n,i,o,a,t),l=0;l<t;l++)e[u*t+l]=Math.sqrt(i[l])}}function s(e,t,r,n,o){r[0]=0,n[0]=-i,n[1]=+i;for(var a=1,s=0;a<o;a++){var l=(e[a]+a*a-(e[r[s]]+r[s]*r[s]))/(2*a-2*r[s]);while(l<=n[s])s--,l=(e[a]+a*a-(e[r[s]]+r[s]*r[s]))/(2*a-2*r[s]);s++,r[s]=a,n[s]=l,n[s+1]=+i}for(a=0,s=0;a<o;a++){while(n[s+1]<a)s++;t[a]=(a-r[s])*(a-r[s])+e[r[s]]}}},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("e260"),a=r("9112"),s=r("b622"),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var f in i){var p=n[f],d=p&&p.prototype;if(d){if(d[l]!==c)try{a(d,l,c)}catch(v){d[l]=c}if(d[u]||a(d,u,f),i[f])for(var h in o)if(d[h]!==o[h])try{a(d,h,o[h])}catch(v){d[h]=o[h]}}}},ddc1:function(e,t,r){"use strict";var n=2;function i(e){var t;return 0===e.readUInt16LE(0)&&(t=e.readUInt16LE(2),t===n)}e.exports={detect:i,calculate:r("0cb3").calculate}},ddc9:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("9903")),o=f(r("201b")),a=f(r("d7bc")),s=c(r("ab5b")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=(0,l.connectUpdateMenuToLayout)(i.default),_=function(e){v(r,e);var t=g(r);function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"render",value:function(){var e=this.context,t=e.fullLayout.updatemenus,r=void 0===t?[]:t,n=e.localize,i=this.props.children,a=r.length>0&&r.map((function(e,t){var r={dropdown:n("Dropdown"),buttons:n("Buttons")},o=r[e.type]||r.dropdown,a=e.buttons.filter((function(t){return t._index===e.active}))[0],l=o+(a?": "+a.label:"");return s.default.createElement(w,{key:t,updateMenuIndex:t,name:l},i)}));return s.default.createElement(o.default,null,a||null)}}]),r}(s.Component);_.contextTypes={fullLayout:a.default.object,localize:a.default.func},_.propTypes={children:a.default.node};var E=_;t.default=E},ddde:function(e,t,r){"use strict";var n=r("dfb3"),i=r("d798"),o=r("81f0").attributes,a=r("fc26").extendFlat,s=r("cb34").overrideAll,l=s({color:i.color,showline:a({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:a({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth},"plot","from-root"),u=s({tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,showticklabels:i.showticklabels,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickfont:i.tickfont,tickangle:i.tickangle,tickformat:i.tickformat,tickformatstops:i.tickformatstops,layer:i.layer},"plot","from-root"),c={visible:a({},i.visible,{dflt:!0}),type:a({},i.type,{values:["-","linear","log","date","category"]}),autotypenumbers:i.autotypenumbers,autorange:a({},i.autorange,{editType:"plot"}),rangemode:{valType:"enumerated",values:["tozero","nonnegative","normal"],dflt:"tozero",role:"style",editType:"calc",description:["If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","If *normal*, the range is computed in relation to the extrema","of the input data (same behavior as for cartesian axes)."].join(" ")},range:a({},i.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],editType:"plot"}),categoryorder:i.categoryorder,categoryarray:i.categoryarray,angle:{valType:"angle",editType:"plot",role:"info",description:["Sets the angle (in degrees) from which the radial axis is drawn.","Note that by default, radial axis line on the theta=0 line","corresponds to a line pointing right (like what mathematicians prefer).","Defaults to the first `polar.sector` angle."].join(" ")},side:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"clockwise",editType:"plot",role:"info",description:["Determines on which side of radial axis line","the tick and tick labels appear."].join(" ")},title:{text:a({},i.title.text,{editType:"plot",dflt:""}),font:a({},i.title.font,{editType:"plot"}),editType:"plot"},hoverformat:i.hoverformat,uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, `angle`, and `title` if in `editable: true` configuration.","Defaults to `polar<N>.uirevision`."].join(" ")},editType:"calc",_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}};a(c,l,u);var f={visible:a({},i.visible,{dflt:!0}),type:{valType:"enumerated",values:["-","linear","category"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the angular axis type.","If *linear*, set `thetaunit` to determine the unit in which axis value are shown.","If *category, use `period` to set the number of integer coordinates around polar axis."].join(" ")},autotypenumbers:i.autotypenumbers,categoryorder:i.categoryorder,categoryarray:i.categoryarray,thetaunit:{valType:"enumerated",values:["radians","degrees"],dflt:"degrees",role:"info",editType:"calc",description:["Sets the format unit of the formatted *theta* values.","Has an effect only when `angularaxis.type` is *linear*."].join(" ")},period:{valType:"number",editType:"calc",min:0,role:"info",description:["Set the angular period.","Has an effect only when `angularaxis.type` is *category*."].join(" ")},direction:{valType:"enumerated",values:["counterclockwise","clockwise"],dflt:"counterclockwise",role:"info",editType:"calc",description:["Sets the direction corresponding to positive angles."].join(" ")},rotation:{valType:"angle",editType:"calc",role:"info",description:["Sets that start position (in degrees) of the angular axis","By default, polar subplots with `direction` set to *counterclockwise*","get a `rotation` of *0*","which corresponds to due East (like what mathematicians prefer).","In turn, polar with `direction` set to *clockwise* get a rotation of *90*","which corresponds to due North (like on a compass),"].join(" ")},hoverformat:i.hoverformat,uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `rotation`.","Defaults to `polar<N>.uirevision`."].join(" ")},editType:"calc"};a(f,l,u),e.exports={domain:o({name:"polar",editType:"plot"}),sector:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],dflt:[0,360],role:"info",editType:"plot",description:["Sets angular span of this polar subplot with two angles (in degrees).","Sector are assumed to be spanned in the counterclockwise direction","with *0* corresponding to rightmost limit of the polar subplot."].join(" ")},hole:{valType:"number",min:0,max:1,dflt:0,editType:"plot",role:"info",description:["Sets the fraction of the radius to cut out of the polar subplot."].join(" ")},bgcolor:{valType:"color",role:"style",editType:"plot",dflt:n.background,description:"Set the background color of the subplot"},radialaxis:c,angularaxis:f,gridshape:{valType:"enumerated",values:["circular","linear"],dflt:"circular",role:"style",editType:"plot",description:["Determines if the radial axis grid lines and angular axis line are drawn","as *circular* sectors or as *linear* (polygon) sectors.","Has an effect only when the angular axis has `type` *category*.","Note that `radialaxis.angle` is snapped to the angle of the closest","vertex when `gridshape` is *circular*","(so that radial axis scale is the same as the data scale)."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis attributes,","if not overridden in the individual axes.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc"}},de22:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642");function o(e,t){var r=t.fullSceneLayout,o=r.domain,a=t.fullLayout._size,s={pdata:null,type:"linear",autorange:!1,range:[-1/0,1/0]};e._xa={},n.extendFlat(e._xa,s),i.setConvert(e._xa),e._xa._offset=a.l+o.x[0]*a.w,e._xa.l2p=function(){return.5*(1+e._pdata[0]/e._pdata[3])*a.w*(o.x[1]-o.x[0])},e._ya={},n.extendFlat(e._ya,s),i.setConvert(e._ya),e._ya._offset=a.t+(1-o.y[1])*a.h,e._ya.l2p=function(){return.5*(1-e._pdata[1]/e._pdata[3])*a.h*(o.y[1]-o.y[0])}}e.exports=function(e){for(var t=e.fullSceneLayout,r=t.annotations,n=0;n<r.length;n++)o(r[n],e);e.fullLayout._infolayer.selectAll(".annotation-"+e.id).remove()}},de229:function(e,t,r){"use strict";var n=r("fc26"),i=r("000c"),o=r("19b2"),a=r("0642"),s=r("fc26").maxRowLength,l=r("96df").getImageSize;function u(e,t,r,i){return function(o){return n.constrain((o-e)*t,r,i)}}function c(e,t){return function(r){return n.constrain(r,e,t)}}function f(e){var t=i.colormodel[e.colormodel],r=t.colormodel||e.colormodel,n=r.length;e._sArray=[];for(var a=0;a<n;a++)t.min[a]!==e.zmin[a]||t.max[a]!==e.zmax[a]?e._sArray.push(u(e.zmin[a],(t.max[a]-t.min[a])/(e.zmax[a]-e.zmin[a]),t.min[a],t.max[a])):e._sArray.push(c(t.min[a],t.max[a]));return function(t){for(var r=t.slice(0,n),i=0;i<n;i++){var a=r[i];if(!o(a))return!1;r[i]=e._sArray[i](a)}return r}}e.exports=function(e,t){var r,n;if(t._hasZ)r=t.z.length,n=s(t.z);else if(t._hasSource){var i=l(t.source);r=i.height,n=i.width}var o,u=a.getFromId(e,t.xaxis||"x"),c=a.getFromId(e,t.yaxis||"y"),p=u.d2c(t.x0)-t.dx/2,d=c.d2c(t.y0)-t.dy/2,h=[p,p+n*t.dx],v=[d,d+r*t.dy];if(u&&"log"===u.type)for(o=0;o<n;o++)h.push(p+o*t.dx);if(c&&"log"===c.type)for(o=0;o<r;o++)v.push(d+o*t.dy);t._extremes[u._id]=a.findExtremes(u,h),t._extremes[c._id]=a.findExtremes(c,v),t._scaler=f(t);var m={x0:p,y0:d,z:t.z,w:n,h:r};return[m]}},de69:function(e,t,r){"use strict";e.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},de81:function(e,t,r){"use strict";var n=r("fc26");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return n.isPlainObject(e.marker)&&n.isArrayOrTypedArray(e.marker.size)}}},de96:function(e,t,r){"use strict";var n=r("fc26"),i=r("09bd"),o=r("c879").markerStyle;e.exports=function(e,t){var r=t.trace,a=e._fullLayout._splomScenes[r.uid];if(a){i(e,r),n.extendFlat(a.matrixOptions,o(r));var s=n.extendFlat({},a.matrixOptions,a.viewOpts);a.matrix.update(s,null)}}},dea6:function(e,t,r){e.exports=k,e.exports.processPixels=E;var n=r("b077"),i=r("b5bb"),o=r("cee0"),a=r("f144"),s=r("962a"),l=r("e706"),u="b",c="b|",f="i",p="i|",d="sup",h="+",v="+1",m="sub",g="-",y="-1";function b(e,t,r,n){var i="<"+e+">",o="</"+e+">",a=i.length,s=o.length,l=t[0]===h||t[0]===g,u=0,c=-s;while(u>-1){if(u=r.indexOf(i,u),-1===u)break;if(c=r.indexOf(o,u+a),-1===c)break;if(c<=u)break;for(var f=u;f<c+s;++f)if(f<u+a||f>=c)n[f]=null,r=r.substr(0,f)+" "+r.substr(f+1);else if(null!==n[f]){var p=n[f].indexOf(t[0]);-1===p?n[f]+=t:l&&(n[f]=n[f].substr(0,p+1)+(1+parseInt(n[f][p+1]))+n[f].substr(p+2))}var d=u+a,v=r.substr(d,c-d),m=v.indexOf(i);u=-1!==m?m:c+s}return n}function x(e,t,r){for(var n=t.textAlign||"start",i=t.textBaseline||"alphabetic",o=[1<<30,1<<30],a=[0,0],s=e.length,l=0;l<s;++l)for(var u=e[l],c=0;c<2;++c)o[c]=0|Math.min(o[c],u[c]),a[c]=0|Math.max(a[c],u[c]);var f=0;switch(n){case"center":f=-.5*(o[0]+a[0]);break;case"right":case"end":f=-a[0];break;case"left":case"start":f=-o[0];break;default:throw new Error("vectorize-text: Unrecognized textAlign: '"+n+"'")}var p=0;switch(i){case"hanging":case"top":p=-o[1];break;case"middle":p=-.5*(o[1]+a[1]);break;case"alphabetic":case"ideographic":p=-3*r;break;case"bottom":p=-a[1];break;default:throw new Error("vectorize-text: Unrecoginized textBaseline: '"+i+"'")}var d=1/r;return"lineHeight"in t?d*=+t.lineHeight:"width"in t?d=t.width/(a[0]-o[0]):"height"in t&&(d=t.height/(a[1]-o[1])),e.map((function(e){return[d*(e[0]+f),d*(e[1]+p)]}))}function A(e,t,r,n,o,a){r=r.replace(/\n/g,""),r=!0===a.breaklines?r.replace(/\<br\>/g,"\n"):r.replace(/\<br\>/g," ");var s="",l=[];for(_=0;_<r.length;++_)l[_]=s;!0===a.bolds&&(l=b(u,c,r,l)),!0===a.italics&&(l=b(f,p,r,l)),!0===a.superscripts&&(l=b(d,v,r,l)),!0===a.subscripts&&(l=b(m,y,r,l));var x=[],A="";for(_=0;_<r.length;++_)null!==l[_]&&(A+=r[_],x.push(l[_]));var w,_,E,k,T,C=A.split("\n"),S=C.length,O=Math.round(o*n),M=n,P=2*n,B=0,L=S*O+P;e.height<L&&(e.height=L),t.fillStyle="#000",t.fillRect(0,0,e.width,e.height),t.fillStyle="#fff";var D=0,I="";function j(){if(""!==I){var e=t.measureText(I).width;t.fillText(I,M+E,P+k),E+=e}}function R(){return Math.round(T)+"px "}function F(e,r){var n=""+t.font;if(!0===a.subscripts){var i=e.indexOf(g),o=r.indexOf(g),s=i>-1?parseInt(e[1+i]):0,l=o>-1?parseInt(r[1+o]):0;s!==l&&(n=n.replace(R(),"?px "),T*=Math.pow(.75,l-s),n=n.replace("?px ",R())),k+=.25*O*(l-s)}if(!0===a.superscripts){var u=e.indexOf(h),f=r.indexOf(h),d=u>-1?parseInt(e[1+u]):0,v=f>-1?parseInt(r[1+f]):0;d!==v&&(n=n.replace(R(),"?px "),T*=Math.pow(.75,v-d),n=n.replace("?px ",R())),k-=.25*O*(v-d)}if(!0===a.bolds){var m=e.indexOf(c)>-1,y=r.indexOf(c)>-1;!m&&y&&(n=b?n.replace("italic ","italic bold "):"bold "+n),m&&!y&&(n=n.replace("bold ",""))}if(!0===a.italics){var b=e.indexOf(p)>-1,x=r.indexOf(p)>-1;!b&&x&&(n="italic "+n),b&&!x&&(n=n.replace("italic ",""))}t.font=n}for(w=0;w<S;++w){var N=C[w]+"\n";for(E=0,k=w*O,T=n,I="",_=0;_<N.length;++_){var z=_+D<x.length?x[_+D]:x[x.length-1];s===z?I+=N[_]:(j(),I=N[_],void 0!==z&&(F(s,z),s=z))}j(),D+=N.length;var U=0|Math.round(E+2*M);B<U&&(B=U)}var H=B,V=P+O*S,Q=i(t.getImageData(0,0,H,V).data,[V,H,4]);return Q.pick(-1,-1,0).transpose(1,0)}function w(e,t){var r=n(e,128);return t?o(r.cells,r.positions,.25):{edges:r.cells,positions:r.positions}}function _(e,t,r,n){var i=w(e,n),o=x(i.positions,t,r),u=i.edges,c="ccw"===t.orientation;if(a(o,u),t.polygons||t.polygon||t.polyline){for(var f=l(u,o),p=new Array(f.length),d=0;d<f.length;++d){for(var h=f[d],v=new Array(h.length),m=0;m<h.length;++m){for(var g=h[m],y=new Array(g.length),b=0;b<g.length;++b)y[b]=o[g[b]].slice();c&&y.reverse(),v[m]=y}p[d]=v}return p}return t.triangles||t.triangulate||t.triangle?{cells:s(o,u,{delaunay:!1,exterior:!1,interior:!0}),positions:o}:{edges:u,positions:o}}function E(e,t,r){try{return _(e,t,r,!0)}catch(n){}try{return _(e,t,r,!1)}catch(n){}return t.polygons||t.polyline||t.polygon?[]:t.triangles||t.triangulate||t.triangle?{cells:[],positions:[]}:{edges:[],positions:[]}}function k(e,t,r,n){var i=64,o=1.25,a={breaklines:!1,bolds:!1,italics:!1,subscripts:!1,superscripts:!1};n&&(n.size&&n.size>0&&(i=n.size),n.lineSpacing&&n.lineSpacing>0&&(o=n.lineSpacing),n.styletags&&n.styletags.breaklines&&(a.breaklines=!!n.styletags.breaklines),n.styletags&&n.styletags.bolds&&(a.bolds=!!n.styletags.bolds),n.styletags&&n.styletags.italics&&(a.italics=!!n.styletags.italics),n.styletags&&n.styletags.subscripts&&(a.subscripts=!!n.styletags.subscripts),n.styletags&&n.styletags.superscripts&&(a.superscripts=!!n.styletags.superscripts)),r.font=[n.fontStyle,n.fontVariant,n.fontWeight,i+"px",n.font].filter((function(e){return e})).join(" "),r.textAlign="start",r.textBaseline="alphabetic",r.direction="ltr";var s=A(t,r,e,i,o,a);return E(s,n,i)}},dec3:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("2f4a"),a=r("2e94"),s=r("5529"),l=r("84ca"),u=r("24f7"),c=u.OrderedSet,f=u.Record,p=u.Stack,d=u.OrderedMap,h=u.List,v={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()},m=f(v),g=function(){t.createEmpty=function(e){return this.createWithText("",e)},t.createWithText=function(e,r){return t.createWithContent(a.createFromText(e),r)},t.createWithContent=function(e,r){if(0===e.getBlockMap().count())return t.createEmpty(r);var n=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:p(),redoStack:p(),decorator:r||null,selection:l.createEmpty(n)})},t.create=function(e){var r=e.currentContent,i=e.decorator,o=n({},e,{treeMap:b(r,i),directionMap:s.getDirectionMap(r)});return new t(new m(o))},t.fromJS=function(e){return new t(new m(n({},e,{directionMap:null!=e.directionMap?d(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?c(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?a.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?p(e.redoStack.map((function(e){return a.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new l(e.selection):e.selection,treeMap:null!=e.treeMap?d(e.treeMap).map((function(e){return h(e).map((function(e){return o.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?p(e.undoStack.map((function(e){return a.fromJS(e)}))):e.undoStack,currentContent:a.fromJS(e.currentContent)})))},t.set=function(e,r){var n=e.getImmutable().withMutations((function(t){var n=t.get("decorator"),i=n;null===r.decorator?i=null:r.decorator&&(i=r.decorator);var o=r.currentContent||e.getCurrentContent();if(i!==n){var a,s=t.get("treeMap");return a=i&&n?A(o,o.getBlockMap(),s,i,n):b(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}var l=e.getCurrentContent();o!==l&&t.set("treeMap",x(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(r)}));return new t(n)};var e=t.prototype;function t(e){i(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,r){return t.set(e,{inlineStyleOverride:r})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),r=this.getSelection();return r.isCollapsed()?_(t,r):E(t,r)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent(),t=e.getBlockMap(),r=t.last(),n=r.getLength();return this.getSelection().hasEdgeWithin(r.getKey(),n,n)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return y(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),y(e,t,!0)},t.moveSelectionToEnd=function(e){var r=e.getCurrentContent(),n=r.getLastBlock(),i=n.getKey(),o=n.getLength();return t.acceptSelection(e,new l({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var r=t.moveSelectionToEnd(e);return t.forceSelection(r,r.getSelection())},t.push=function(e,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===r)return e;var o=s.getDirectionMap(r,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:r,directionMap:o,lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),l=e.getCurrentContent(),u=e.getUndoStack(),c=r;a!==l.getSelectionAfter()||w(e,n)?(u=u.push(l),c=c.set("selectionBefore",a)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(c=c.set("selectionBefore",l.getSelectionBefore()));var f=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(n)&&(f=null);var h={currentContent:c,directionMap:o,undoStack:u,redoStack:p(),lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var r=e.getUndoStack(),n=r.peek();if(!n)return e;var i=e.getCurrentContent(),o=s.getDirectionMap(n,e.getDirectionMap());return t.set(e,{currentContent:n,directionMap:o,undoStack:r.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var r=e.getRedoStack(),n=r.peek();if(!n)return e;var i=e.getCurrentContent(),o=s.getDirectionMap(n,e.getDirectionMap());return t.set(e,{currentContent:n,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function y(e,t,r){return g.set(e,{selection:t,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function b(e,t){return e.getBlockMap().map((function(r){return o.generate(e,r,t)})).toOrderedMap()}function x(e,t,r,n){var i=e.getCurrentContent().set("entityMap",r),a=i.getBlockMap(),s=e.getImmutable().get("treeMap");return s.merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return o.generate(i,e,n)})))}function A(e,t,r,n,i){return r.merge(t.toSeq().filter((function(t){return n.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return o.generate(e,t,n)})))}function w(e,t){var r=e.getLastChangeType();return t!==r||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function _(e,t){var r=t.getStartKey(),n=t.getStartOffset(),i=e.getBlockForKey(r);return n>0?i.getInlineStyleAt(n-1):i.getLength()?i.getInlineStyleAt(0):k(e,r)}function E(e,t){var r=t.getStartKey(),n=t.getStartOffset(),i=e.getBlockForKey(r);return n<i.getLength()?i.getInlineStyleAt(n):n>0?i.getInlineStyleAt(n-1):k(e,r)}function k(e,t){var r=e.getBlockMap().reverse().skipUntil((function(e,r){return r===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return r?r.getInlineStyleAt(r.getLength()-1):c()}e.exports=g},def6:function(e,t,r){"use strict";var n=r("8e3f"),i=r("abc0");function o(e){var t=i.exponent(e);return t<52?new n(e):new n(e*Math.pow(2,52-t)).ushln(t-52)}e.exports=o},def7:function(e,t,r){"use strict";function n(e){return 542327876===e.readUInt32LE(0)}function i(e){return{height:e.readUInt32LE(12),width:e.readUInt32LE(16)}}e.exports={detect:n,calculate:i}},df0c:function(e,t,r){"use strict";var n=r("3068"),i=r("fe73"),o=r("6dd0"),a=r("7a189"),s=r("489b"),l=r("cbc3"),u=r("e071"),c=r("1c4d").isSize;e.exports=p;var f=p.cache={};function p(e){if("string"!==typeof e)throw new Error("Font argument must be a string.");if(f[e])return f[e];if(""===e)throw new Error("Cannot parse an empty string.");if(-1!==o.indexOf(e))return f[e]={system:e};var t,r={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},p=u(e,/\s+/);while(t=p.shift()){if(-1!==i.indexOf(t))return["style","variant","weight","stretch"].forEach((function(e){r[e]=t})),f[e]=r;if(-1===s.indexOf(t))if("normal"!==t&&"small-caps"!==t)if(-1===l.indexOf(t)){if(-1===a.indexOf(t)){if(c(t)){var h=u(t,"/");if(r.size=h[0],null!=h[1]?r.lineHeight=d(h[1]):"/"===p[0]&&(p.shift(),r.lineHeight=d(p.shift())),!p.length)throw new Error("Missing required font-family.");return r.family=u(p.join(" "),/\s*,\s*/).map(n),f[e]=r}throw new Error("Unknown or unsupported font token: "+t)}r.weight=t}else r.stretch=t;else r.variant=t;else r.style=t}throw new Error("Missing required font-size.")}function d(e){var t=parseFloat(e);return t.toString()===e?t:e}},df26:function(e,t,r){"use strict";function n(e,t,r){var n=e.text,o=e.characterMeta,a=t.length,s=r.length,l=[],u=o.slice(0,0),c=0,f=n.indexOf(t);while(-1!==f)l.push(n.slice(c,f)+r),u=u.concat(o.slice(c,f),i(o.slice(f,f+1),s)),c=f+a,f=n.indexOf(t,c);return l.push(n.slice(c)),u=u.concat(o.slice(c)),{text:l.join(""),characterMeta:u}}function i(e,t){var r=e.slice(0,0);while(t-- >0)r=r.concat(e);return r}r.r(t),r.d(t,"stateFromHTML",(function(){return q}));var o=r("bfcd"),a=r("24f7"),s=r("f825");var l=1,u=3;var c={a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1,q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,var:1,video:1,wbr:1,acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1},f={area:1,base:1,br:1,col:1,colgroup:1,command:1,dl:1,embed:1,head:1,hgroup:1,hr:1,iframe:1,img:1,input:1,keygen:1,link:1,meta:1,ol:1,optgroup:1,option:1,param:1,script:1,select:1,source:1,style:1,table:1,tbody:1,textarea:1,tfoot:1,thead:1,title:1,tr:1,track:1,ul:1,wbr:1,basefont:1,dialog:1,dir:1,isindex:1},p={img:1};function d(e){return d="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},d(e)}function h(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(r,!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var x=/^data:/i,A=Object(a["OrderedSet"])(),w=null,_=new o["ContentBlock"]({key:Object(o["genKey"])(),text:"",type:s["BLOCK_TYPE"].UNSTYLED,characterList:Object(a["List"])(),depth:0}),E=/(\r\n|\r|\n)/g,k="\r",T="",C=/^data-([a-z0-9-]+)$/,S={a:{href:"url",rel:"rel",target:"target",title:"title"},img:{src:"src",alt:"alt",width:"width",height:"height"}},O=function(e,t){var r={};if(S.hasOwnProperty(e))for(var n=S[e],i=0;i<t.attributes.length;i++){var o=t.attributes[i],a=o.name,s=o.value;if("string"===typeof s){var l=s;if(n.hasOwnProperty(a)){var u=n[a];r[u]=l}else C.test(a)&&(r[a]=l)}}return r},M={a:function(e,t,r){var n=O(t,r);if(U(n.url))return e.createEntity(s["ENTITY_TYPE"].LINK,n)},img:function(e,t,r){var n=O(t,r);if(null!=n.src)return e.createEntity(s["ENTITY_TYPE"].IMAGE,n)}},P=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(this,e),b(this,"contentStateForEntities",void 0),b(this,"blockStack",void 0),b(this,"blockList",void 0),b(this,"depth",void 0),b(this,"options",void 0),b(this,"inlineCreators",{Style:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return{type:"STYLE",style:e}})),Entity:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return{type:"ENTITY",entityKey:t.createEntity(e,z(r),n)}}}),this.options=r,this.contentStateForEntities=o["ContentState"].createFromBlockArray([]),this.blockStack=[],this.blockList=[],this.depth=0}return y(e,[{key:"process",value:function(e){this.processBlockElement(e);var t=[];return this.blockList.forEach((function(e){var r=R(e.textFragments),n=r.text,i=r.characterMeta,s=!1;if(n===k&&(s=!0,n=""),"pre"===e.tagName){var l=B(n,i);n=l.text,i=l.characterMeta}else{var u=I(n,i);n=u.text,i=u.characterMeta}n=n.split(k).join("\n"),(n.length||s)&&t.push(new o["ContentBlock"]({key:Object(o["genKey"])(),text:n,type:e.type,characterList:i.toList(),depth:e.depth,data:e.data?Object(a["Map"])(e.data):Object(a["Map"])()}))})),t.length||(t=[_]),o["ContentState"].createFromBlockArray(t,this.contentStateForEntities.getEntityMap())}},{key:"getBlockTypeFromTagName",value:function(e){var t=this.options.blockTypes;if(t&&t[e])return t[e];switch(e){case"li":var r=this.blockStack.slice(-1)[0];return"ol"===r.tagName?s["BLOCK_TYPE"].ORDERED_LIST_ITEM:s["BLOCK_TYPE"].UNORDERED_LIST_ITEM;case"blockquote":return s["BLOCK_TYPE"].BLOCKQUOTE;case"h1":return s["BLOCK_TYPE"].HEADER_ONE;case"h2":return s["BLOCK_TYPE"].HEADER_TWO;case"h3":return s["BLOCK_TYPE"].HEADER_THREE;case"h4":return s["BLOCK_TYPE"].HEADER_FOUR;case"h5":return s["BLOCK_TYPE"].HEADER_FIVE;case"h6":return s["BLOCK_TYPE"].HEADER_SIX;case"pre":return s["BLOCK_TYPE"].CODE;case"figure":return s["BLOCK_TYPE"].ATOMIC;default:return s["BLOCK_TYPE"].UNSTYLED}}},{key:"processBlockElement",value:function(e){if(e){var t,r,n=this.options.customBlockFn,i=e.nodeName.toLowerCase();if(n){var o=n(e);null!=o&&(t=o.type,r=o.data)}var a=!0;if(null==t&&(a=!1,t=this.getBlockTypeFromTagName(i)),t===s["BLOCK_TYPE"].CODE){var l=e.getAttribute("data-language");l&&(r=v({},r,{language:l}))}var u=j(t),c=!f.hasOwnProperty(i);if(!a&&!N(t)){var p=this.blockStack.slice(-1)[0];p&&(t=p.type)}var d={tagName:i,textFragments:[],type:t,styleStack:[A],entityStack:[w],depth:u?this.depth:0,data:r};c&&(this.blockList.push(d),u&&(this.depth+=1)),this.blockStack.push(d),null!=e.childNodes&&Array.from(e.childNodes).forEach(this.processNode,this),this.blockStack.pop(),c&&u&&(this.depth-=1)}}},{key:"processInlineElement",value:function(e){var t=e.nodeName.toLowerCase();if("br"!==t){var r=this.blockStack.slice(-1)[0],n=r.styleStack.slice(-1)[0],i=r.entityStack.slice(-1)[0],o=this.options.customInlineFn,a=o?o(e,this.inlineCreators):null;if(null!=a)switch(a.type){case"STYLE":n=n.add(a.style);break;case"ENTITY":i=a.entityKey;break}else n=F(n,t,this.options.elementStyles),M.hasOwnProperty(t)&&(i=M[t](this,t,e)||i);r.styleStack.push(n),r.entityStack.push(i),null!=e.childNodes&&Array.from(e.childNodes).forEach(this.processNode,this),p.hasOwnProperty(t)&&this.processText(" "),r.entityStack.pop(),r.styleStack.pop()}else this.processText(k)}},{key:"processTextNode",value:function(e){var t=e.nodeValue;t=t.replace(E,"\n"),t=t.split(T).join(k),this.processText(t)}},{key:"processText",value:function(e){var t=this.blockStack.slice(-1)[0],r=t.styleStack.slice(-1)[0],n=t.entityStack.slice(-1)[0],i=o["CharacterMetadata"].create({style:r,entity:n}),s=Object(a["Repeat"])(i,e.length);t.textFragments.push({text:e,characterMeta:s})}},{key:"processNode",value:function(e){if(e.nodeType===l){var t=e,r=t.nodeName.toLowerCase();c.hasOwnProperty(r)?this.processInlineElement(t):this.processBlockElement(t)}else e.nodeType===u&&this.processTextNode(e)}},{key:"createEntity",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return this.contentStateForEntities=this.contentStateForEntities.createEntity(e,r,t),this.contentStateForEntities.getLastCreatedEntityKey()}}]),e}();function B(e,t){return"\n"===e.charAt(0)&&(e=e.slice(1),t=t.slice(1)),{text:e,characterMeta:t}}function L(e,t){while(" "===e.charAt(0))e=e.slice(1),t=t.slice(1);return{text:e,characterMeta:t}}function D(e,t){while(" "===e.slice(-1))e=e.slice(0,-1),t=t.slice(0,-1);return{text:e,characterMeta:t}}function I(e,t){e=e.replace(/[ \t\n]/g," ");var r=L(e,t);e=r.text,t=r.characterMeta;var i=D(e,t);e=i.text,t=i.characterMeta;var o=e.length;while(o--)" "===e.charAt(o)&&" "===e.charAt(o-1)&&(e=e.slice(0,o)+e.slice(o+1),t=t.slice(0,o).concat(t.slice(o+1)));var a=n({text:e,characterMeta:t},k+" ",k);e=a.text,t=a.characterMeta;var s=n({text:e,characterMeta:t}," "+k,k);return e=s.text,t=s.characterMeta,{text:e,characterMeta:t}}function j(e){switch(e){case s["BLOCK_TYPE"].UNORDERED_LIST_ITEM:case s["BLOCK_TYPE"].ORDERED_LIST_ITEM:return!0;default:return!1}}function R(e){var t="",r=Object(a["Seq"])();return e.forEach((function(e){t+=e.text,r=r.concat(e.characterMeta)})),{text:t,characterMeta:r}}function F(e,t,r){switch(t){case"b":case"strong":return e.add(s["INLINE_STYLE"].BOLD);case"i":case"em":return e.add(s["INLINE_STYLE"].ITALIC);case"u":case"ins":return e.add(s["INLINE_STYLE"].UNDERLINE);case"code":return e.add(s["INLINE_STYLE"].CODE);case"s":case"del":return e.add(s["INLINE_STYLE"].STRIKETHROUGH);default:return r&&r[t]?e.add(r[t]):e}}function N(e){return e!==s["BLOCK_TYPE"].UNSTYLED}function z(e){var t={};if(null!==e&&"object"===d(e)&&!Array.isArray(e))for(var r=e,n=0,i=Object.keys(r);n<i.length;n++){var o=i[n],a=r[o];"string"===typeof a&&(t[o]=a)}return t}function U(e){return null!=e&&!e.match(x)}function H(e,t){return new P(t).process(e)}function V(e){var t;if("undefined"!==typeof DOMParser){var r=new DOMParser;t=r.parseFromString(e,"text/html")}else t=document.implementation.createHTMLDocument(""),t.documentElement&&(t.documentElement.innerHTML=e);return t.body||t.createElement("body")}function Q(e,t){if(null==e)return{};var r,n,i=W(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function W(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var K={};function q(e,t){var r=t||K,n=r.parser,i=Q(r,["parser"]);null==n&&(n=V);var o=n(e);return H(o,i)}},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df77:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12.6,2.86C15.27,4.1 18,5.39 20.66,6.63C20.81,6.7 21,6.75 21,6.95C21,7.15 20.81,7.19 20.66,7.26C18,8.5 15.3,9.77 12.62,11C12.21,11.21 11.79,11.21 11.38,11C8.69,9.76 6,8.5 3.32,7.25C3.18,7.19 3,7.14 3,6.94C3,6.76 3.18,6.71 3.31,6.65C6,5.39 8.74,4.1 11.44,2.85C11.73,2.72 12.3,2.73 12.6,2.86M12,21.15C11.8,21.15 11.66,21.07 11.38,20.97C8.69,19.73 6,18.47 3.33,17.22C3.19,17.15 3,17.11 3,16.9C3,16.7 3.19,16.66 3.34,16.59C3.78,16.38 4.23,16.17 4.67,15.96C5.12,15.76 5.56,15.76 6,15.97C7.79,16.8 9.57,17.63 11.35,18.46C11.79,18.67 12.23,18.66 12.67,18.46C14.45,17.62 16.23,16.79 18,15.96C18.44,15.76 18.87,15.75 19.29,15.95C19.77,16.16 20.24,16.39 20.71,16.61C20.78,16.64 20.85,16.68 20.91,16.73C21.04,16.83 21.04,17 20.91,17.08C20.83,17.14 20.74,17.19 20.65,17.23C18,18.5 15.33,19.72 12.66,20.95C12.46,21.05 12.19,21.15 12,21.15M12,16.17C11.9,16.17 11.55,16.07 11.36,16C8.68,14.74 6,13.5 3.34,12.24C3.2,12.18 3,12.13 3,11.93C3,11.72 3.2,11.68 3.35,11.61C3.8,11.39 4.25,11.18 4.7,10.97C5.13,10.78 5.56,10.78 6,11C7.78,11.82 9.58,12.66 11.38,13.5C11.79,13.69 12.21,13.69 12.63,13.5C14.43,12.65 16.23,11.81 18.04,10.97C18.45,10.78 18.87,10.78 19.29,10.97C19.76,11.19 20.24,11.41 20.71,11.63C20.77,11.66 20.84,11.69 20.9,11.74C21.04,11.85 21.04,12 20.89,12.12C20.84,12.16 20.77,12.19 20.71,12.22C18,13.5 15.31,14.75 12.61,16C12.42,16.09 12.08,16.17 12,16.17Z"}))};e.exports=s},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},df88:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=h(r("5174")),o=h(r("d7bc")),a=d(r("ab5b")),s=r("4578"),l=h(r("37cc")),u=h(r("76fe")),c=h(r("fe58")),f=r("e419");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}function w(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function E(e){var t=C();return function(){var r,n=S(e);if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=function(e){w(r,e);var t=E(r);function r(e,n){var i;b(this,r),i=t.call(this,e,n);var o=e.fullContainer;i.rootAttr=e.attr.split(".")[0];var a=null;return!o[i.rootAttr]||o[i.rootAttr]&&!Array.isArray(o[i.rootAttr].color)?a="constant":o[i.rootAttr]&&Array.isArray(o[i.rootAttr].color)&&(a="variable"),i.state={type:a,value:{constant:"constant"===a?e.fullValue:f.COLORS.mutedBlue,variable:"variable"===a?e.fullValue:null},selectedConstantColorOption:"constant"===a&&e.multiValued?"multiple":"single"},i.setType=i.setType.bind(T(i)),i.setValue=i.setValue.bind(T(i)),i.setColor=i.setColor.bind(T(i)),i.setColorScale=i.setColorScale.bind(T(i)),i.onConstantColorOptionChange=i.onConstantColorOptionChange.bind(T(i)),i}return A(r,[{key:"setType",value:function(e){var t,r;this.setState({type:e}),this.context.updateContainer("constant"===e?(t={},y(t,this.rootAttr+".color",this.state.value[e]),y(t,this.rootAttr+".colorsrc",null),t):(r={},y(r,this.rootAttr+".color",this.state.value[e]),y(r,this.rootAttr+".colorsrc",null),r))}},{key:"setValue",value:function(e){var t=this.state.type;this.setState("constant"===t?{value:{constant:e,variable:this.state.value[t]}}:{value:{variable:e,constant:this.state.value[t]}}),this.props.updatePlot(e)}},{key:"setColor",value:function(e){var t=this.state.type;this.setState("constant"===t?{value:{constant:e,variable:this.state.value.variable}}:{value:{variable:e,constant:this.state.value.constant}}),this.props.updatePlot(e)}},{key:"setColorScale",value:function(e){this.setState({colorscale:e}),this.context.updateContainer(y({},this.rootAttr+".colorscale",e))}},{key:"onConstantColorOptionChange",value:function(e){this.setState({selectedConstantColorOption:e})}},{key:"render",value:function(){var e=this.props,t=e.attr,r=e.fullValue,n=this.context.localize,o=this.state.type,s=[{label:n("Constant"),value:"constant"},{label:n("Variable"),value:"variable"}],p=this.props.multiValued||Array.isArray(r)&&r.includes(f.MULTI_VALUED);return a.default.createElement(i.default,g({},this.props,{multiValued:p,attr:t}),a.default.createElement(l.default,{options:s,activeOption:o,onOptionChange:this.setType}),"constant"===o?a.default.createElement(c.default,{attr:this.rootAttr+".color",multiColorMessage:n("Each trace will be colored according to the selected colorscale."),singleColorMessage:n("All traces will be colored in the the same color."),setColor:this.setColor,setColorScale:this.setColorScale,onConstantColorOptionChange:this.onConstantColorOptionChange,parentSelectedConstantColorOption:this.state.selectedConstantColorOption}):p?null:a.default.createElement(u.default,{suppressMultiValuedMessage:!0,attr:this.rootAttr+".color",updatePlot:this.setValue}))}}]),r}(a.Component);O.propTypes=m({fullValue:o.default.any,updatePlot:o.default.func},i.default.propTypes),O.contextTypes={localize:o.default.func,updateContainer:o.default.func},O.displayName="UnconnectedColorArrayPicker";var M=(0,s.connectToContainer)(O);t.default=M},dfb0:function(e,t,r){"use strict";var n=r("4cd5"),i=r("dc75").findBin,o=r("d6d8"),a=r("56fc"),s=r("f09f"),l=r("f5e6");e.exports=function(e){var t=e._a,r=e._b,u=t.length,c=r.length,f=e.aaxis,p=e.baxis,d=t[0],h=t[u-1],v=r[0],m=r[c-1],g=t[t.length-1]-t[0],y=r[r.length-1]-r[0],b=g*n.RELATIVE_CULL_TOLERANCE,x=y*n.RELATIVE_CULL_TOLERANCE;d-=b,h+=b,v-=x,m+=x,e.isVisible=function(e,t){return e>d&&e<h&&t>v&&t<m},e.isOccluded=function(e,t){return e<d||e>h||t<v||t>m},e.setScale=function(){var t=e._x,r=e._y,n=o(e._xctrl,e._yctrl,t,r,f.smoothing,p.smoothing);e._xctrl=n[0],e._yctrl=n[1],e.evalxy=a([e._xctrl,e._yctrl],u,c,f.smoothing,p.smoothing),e.dxydi=s([e._xctrl,e._yctrl],f.smoothing,p.smoothing),e.dxydj=l([e._xctrl,e._yctrl],f.smoothing,p.smoothing)},e.i2a=function(e){var r=Math.max(0,Math.floor(e[0]),u-2),n=e[0]-r;return(1-n)*t[r]+n*t[r+1]},e.j2b=function(e){var t=Math.max(0,Math.floor(e[1]),u-2),n=e[1]-t;return(1-n)*r[t]+n*r[t+1]},e.ij2ab=function(t){return[e.i2a(t[0]),e.j2b(t[1])]},e.a2i=function(e){var r=Math.max(0,Math.min(i(e,t),u-2)),n=t[r],o=t[r+1];return Math.max(0,Math.min(u-1,r+(e-n)/(o-n)))},e.b2j=function(e){var t=Math.max(0,Math.min(i(e,r),c-2)),n=r[t],o=r[t+1];return Math.max(0,Math.min(c-1,t+(e-n)/(o-n)))},e.ab2ij=function(t){return[e.a2i(t[0]),e.b2j(t[1])]},e.i2c=function(t,r){return e.evalxy([],t,r)},e.ab2xy=function(n,i,o){if(!o&&(n<t[0]||n>t[u-1]|i<r[0]||i>r[c-1]))return[!1,!1];var a=e.a2i(n),s=e.b2j(i),l=e.evalxy([],a,s);if(o){var f,p,d,h,v=0,m=0,g=[];n<t[0]?(f=0,p=0,v=(n-t[0])/(t[1]-t[0])):n>t[u-1]?(f=u-2,p=1,v=(n-t[u-1])/(t[u-1]-t[u-2])):(f=Math.max(0,Math.min(u-2,Math.floor(a))),p=a-f),i<r[0]?(d=0,h=0,m=(i-r[0])/(r[1]-r[0])):i>r[c-1]?(d=c-2,h=1,m=(i-r[c-1])/(r[c-1]-r[c-2])):(d=Math.max(0,Math.min(c-2,Math.floor(s))),h=s-d),v&&(e.dxydi(g,f,d,p,h),l[0]+=g[0]*v,l[1]+=g[1]*v),m&&(e.dxydj(g,f,d,p,h),l[0]+=g[0]*m,l[1]+=g[1]*m)}return l},e.c2p=function(e,t,r){return[t.c2p(e[0]),r.c2p(e[1])]},e.p2x=function(e,t,r){return[t.p2c(e[0]),r.p2c(e[1])]},e.dadi=function(e){var r=Math.max(0,Math.min(t.length-2,e));return t[r+1]-t[r]},e.dbdj=function(e){var t=Math.max(0,Math.min(r.length-2,e));return r[t+1]-r[t]},e.dxyda=function(t,r,n,i){var o=e.dxydi(null,t,r,n,i),a=e.dadi(t,n);return[o[0]/a,o[1]/a]},e.dxydb=function(t,r,n,i){var o=e.dxydj(null,t,r,n,i),a=e.dbdj(r,i);return[o[0]/a,o[1]/a]},e.dxyda_rough=function(t,r,n){var i=g*(n||.1),o=e.ab2xy(t+i,r,!0),a=e.ab2xy(t-i,r,!0);return[.5*(o[0]-a[0])/i,.5*(o[1]-a[1])/i]},e.dxydb_rough=function(t,r,n){var i=y*(n||.1),o=e.ab2xy(t,r+i,!0),a=e.ab2xy(t,r-i,!0);return[.5*(o[0]-a[0])/i,.5*(o[1]-a[1])/i]},e.dpdx=function(e){return e._m},e.dpdy=function(e){return e._m}}},dfb3:function(e,t,r){"use strict";t.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],t.defaultLine="#444",t.lightLine="#eee",t.background="#fff",t.borderLine="#BEC8D9",t.lightFraction=1e3/11},dfdf:function(e,t,r){"use strict";e.exports=u;var n=r("ec76"),i=r("61e6"),o=r("4168");function a(e,t){this._controllerNames=Object.keys(e),this._controllerList=this._controllerNames.map((function(t){return e[t]})),this._mode=t,this._active=e[t],this._active||(this._mode="turntable",this._active=e.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype,l=[["flush",1],["idle",1],["lookAt",4],["rotate",4],["pan",4],["translate",4],["setMatrix",2],["setDistanceLimits",2],["setDistance",2]];function u(e){e=e||{};var t=e.eye||[0,0,1],r=e.center||[0,0,0],s=e.up||[0,1,0],l=e.distanceLimits||[0,1/0],u=e.mode||"turntable",c=n(),f=i(),p=o();return c.setDistanceLimits(l[0],l[1]),c.lookAt(0,t,r,s),f.setDistanceLimits(l[0],l[1]),f.lookAt(0,t,r,s),p.setDistanceLimits(l[0],l[1]),p.lookAt(0,t,r,s),new a({turntable:c,orbit:f,matrix:p},u)}l.forEach((function(e){for(var t=e[0],r=[],n=0;n<e[1];++n)r.push("a"+n);var i="var cc=this._controllerList;for(var i=0;i<cc.length;++i){cc[i]."+e[0]+"("+r.join()+")}";s[t]=Function.apply(null,r.concat(i))})),s.recalcMatrix=function(e){this._active.recalcMatrix(e)},s.getDistance=function(e){return this._active.getDistance(e)},s.getDistanceLimits=function(e){return this._active.getDistanceLimits(e)},s.lastT=function(){return this._active.lastT()},s.setMode=function(e){if(e!==this._mode){var t=this._controllerNames.indexOf(e);if(!(t<0)){var r=this._active,n=this._controllerList[t],i=Math.max(r.lastT(),n.lastT());r.recalcMatrix(i),n.setMatrix(i,r.computedMatrix),this._active=n,this._mode=e,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}}},s.getMode=function(){return this._mode}},dff1:function(e,t,r){"use strict";(function(e){var n=r("26ee"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?n["a"].Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}t["a"]=u}).call(this,r("dd40")(e))},dff2:function(e,t,r){"use strict";e.exports=r("00fe")},e00d:function(e,t,r){"use strict";var n=r("fc26"),i=r("4183"),o=r("24fd");e.exports=function(e,t,r,a){function s(r,i){return n.coerce(e,t,o,r,i)}var l=s("u"),u=s("v"),c=s("w"),f=s("x"),p=s("y"),d=s("z");l&&l.length&&u&&u.length&&c&&c.length&&f&&f.length&&p&&p.length&&d&&d.length?(s("sizeref"),s("sizemode"),s("anchor"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),i(e,t,a,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),t._length=null):t.visible=!1}},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("5135"),s=r("861d"),l=r("9bf2").f,u=r("e893"),c=o.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new c(e):void 0===e?c():c(e);return""===e&&(f[t]=!0),t};u(p,c);var d=p.prototype=c.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var r=v?t.slice(7,-1):t.replace(m,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},e034:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=n+n,l=i+i,u=o+o,c=n*s,f=n*l,p=n*u,d=i*l,h=i*u,v=o*u,m=a*s,g=a*l,y=a*u;return e[0]=1-(d+v),e[1]=f+y,e[2]=p-g,e[3]=0,e[4]=f-y,e[5]=1-(c+v),e[6]=h+m,e[7]=0,e[8]=p+g,e[9]=h-m,e[10]=1-(c+d),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}e.exports=r},e03f:function(e,t,r){"use strict";var n=r("f508"),i=r("7c4a").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",i&&i.hasInstance||e("hasInstance")),isConcatSpreadable:n("",i&&i.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",i&&i.iterator||e("iterator")),match:n("",i&&i.match||e("match")),replace:n("",i&&i.replace||e("replace")),search:n("",i&&i.search||e("search")),species:n("",i&&i.species||e("species")),split:n("",i&&i.split||e("split")),toPrimitive:n("",i&&i.toPrimitive||e("toPrimitive")),toStringTag:n("",i&&i.toStringTag||e("toStringTag")),unscopables:n("",i&&i.unscopables||e("unscopables"))})}},e071:function(e,t,r){"use strict";var n=r("6726");e.exports=function(e,t,r){if(null==e)throw Error("First argument should be a string");if(null==t)throw Error("Separator should be a string or a RegExp");r?("string"===typeof r||Array.isArray(r))&&(r={ignore:r}):r={},null==r.escape&&(r.escape=!0),null==r.ignore?r.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:("string"===typeof r.ignore&&(r.ignore=[r.ignore]),r.ignore=r.ignore.map((function(e){return 1===e.length&&(e+=e),e})));var i=n.parse(e,{flat:!0,brackets:r.ignore}),o=i[0],a=o.split(t);if(r.escape){for(var s=[],l=0;l<a.length;l++){var u=a[l],c=a[l+1];"\\"===u[u.length-1]&&"\\"!==u[u.length-2]?(s.push(u+t+c),l++):s.push(u)}a=s}for(l=0;l<a.length;l++)i[0]=a[l],a[l]=n.stringify(i,{flat:!0});return a}},e0d7:function(e,t,r){var n=r("c2e7"),i=r("7c72"),o={M:"moveTo",C:"bezierCurveTo"};e.exports=function(e,t){e.beginPath(),i(n(t)).forEach((function(t){var r=t[0],n=t.slice(1);e[o[r]].apply(e,n)})),e.closePath()}},e0f6:function(e,t,r){"use strict";e.exports=r("9df0")()?Object.setPrototypeOf:r("e19c")},e100:function(e,t,r){"use strict";function n(e,t){var r=e+t,n=r-e,i=r-n,o=t-n,a=e-i,s=a+o;return s?[s,r]:[r]}function i(e,t){var r=0|e.length,i=0|t.length;if(1===r&&1===i)return n(e[0],-t[0]);var o,a,s=r+i,l=new Array(s),u=0,c=0,f=0,p=Math.abs,d=e[c],h=p(d),v=-t[f],m=p(v);h<m?(a=d,c+=1,c<r&&(d=e[c],h=p(d))):(a=v,f+=1,f<i&&(v=-t[f],m=p(v))),c<r&&h<m||f>=i?(o=d,c+=1,c<r&&(d=e[c],h=p(d))):(o=v,f+=1,f<i&&(v=-t[f],m=p(v)));var g,y,b,x,A,w=o+a,_=w-o,E=a-_,k=E,T=w;while(c<r&&f<i)h<m?(o=d,c+=1,c<r&&(d=e[c],h=p(d))):(o=v,f+=1,f<i&&(v=-t[f],m=p(v))),a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g;while(c<r)o=d,a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g,c+=1,c<r&&(d=e[c]);while(f<i)o=v,a=k,w=o+a,_=w-o,E=a-_,E&&(l[u++]=E),g=T+w,y=g-T,b=g-y,x=w-y,A=T-b,k=A+x,T=g,f+=1,f<i&&(v=-t[f]);return k&&(l[u++]=k),T&&(l[u++]=T),u||(l[u++]=0),l.length=u,l}e.exports=i},e12d:function(e,t){function r(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[2]=0,e[3]=0,e[4]=-r,e[5]=n,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},e13b:function(e,t){function r(e,t){var r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return r*r+n*n+i*i}e.exports=r},e163:function(e,t,r){var n=r("5135"),i=r("7b0b"),o=r("f772"),a=r("e177"),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},e165:function(e,t,r){"use strict";var n=r("fc26"),i=r("1c1c").handleGroupingDefaults,o=r("1c1c").handleText,a=r("076f"),s=r("5793"),l=r("0dfe"),u=r("d115"),c=r("b8ce"),f=c.INCREASING.COLOR,p=c.DECREASING.COLOR,d="#4499FF";function h(e,t,r){e(t+".marker.color",r),e(t+".marker.line.color",u.defaultLine),e(t+".marker.line.width")}function v(e,t,r,i){function u(r,i){return n.coerce(e,t,l,r,i)}var c=a(e,t,i,u);if(c){s(e,t,i,u),u("measure"),u("orientation",t.x&&!t.y?"h":"v"),u("base"),u("offset"),u("width"),u("text"),u("hovertext"),u("hovertemplate");var v=u("textposition");o(e,t,i,u,v,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"!==t.textposition&&(u("texttemplate"),t.texttemplate||u("textinfo")),h(u,"increasing",f),h(u,"decreasing",p),h(u,"totals",d);var m=u("connector.visible");if(m){u("connector.mode");var g=u("connector.line.width");g&&(u("connector.line.color"),u("connector.line.dash"))}}else t.visible=!1}function m(e,t){var r,o;function a(e){return n.coerce(o._input,o,l,e)}if("group"===t.waterfallmode)for(var s=0;s<e.length;s++)o=e[s],r=o._input,i(r,o,t,a)}e.exports={supplyDefaults:v,crossTraceDefaults:m}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e17a:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=r("0984"),o=r("91cf"),a=r("59a1"),s=r("24f7"),l=r("d8db"),u=r("8164"),c=s.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=i.isBrowser("IE <= 11"),d=function(){function e(e){var t=this;n(this,"observer",void 0),n(this,"container",void 0),n(this,"mutations",void 0),n(this,"onCharData",void 0),this.container=e,this.mutations=c();var r=a(e);r.MutationObserver&&!p?this.observer=new r.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||l(!1),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=c(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,r=e.target,n=e.removedNodes;if("characterData"===t){if(""!==r.textContent)return p?r.textContent.replace("\n",""):r.textContent}else if("childList"===t){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var r=u(o(e.target));this.mutations=this.mutations.set(r,t)}},e}();e.exports=d},e17d:function(e,t,r){"use strict";var n=r("6e58"),i=r("c947"),o=r("83d1"),a=r("fc26"),s=r("0379"),l=r("93a6"),u=l.recordMinTextSize,c=l.clearMinTextSize,f=r("c0af"),p=r("59e0").getRotationAngle,d=f.computeTransform,h=f.transformInsideText,v=r("7594").styleOne,m=r("2df3").resizeText,g=r("6962"),y=r("8ba9"),b=r("fb56");function x(e,r,i,l){var c=e._fullLayout,f=!c.uniformtext.mode&&b.hasTransition(l),m=n.select(i),x=m.selectAll("g.slice"),E=r[0],k=E.trace,T=E.hierarchy,C=b.findEntryWithLevel(T,k.level),S=b.getMaxDepth(k),O=c._size,M=k.domain,P=O.w*(M.x[1]-M.x[0]),B=O.h*(M.y[1]-M.y[0]),L=.5*Math.min(P,B),D=E.cx=O.l+O.w*(M.x[1]+M.x[0])/2,I=E.cy=O.t+O.h*(1-M.y[0])-B/2;if(!C)return x.remove();var j=null,R={};f&&x.each((function(e){R[b.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!j&&b.isEntry(e)&&(j=e)}));var F=A(C).descendants(),N=C.height+1,z=0,U=S;E.hasMultipleRoots&&b.isHierarchyRoot(C)&&(F=F.slice(1),N-=1,z=1,U+=1),F=F.filter((function(e){return e.y1<=U}));var H=p(k.rotation);H&&F.forEach((function(e){e.x0+=H,e.x1+=H}));var V=Math.min(N,S),Q=function(e){return(e-z)/V*L},W=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},K=function(e){return a.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,D,I)},q=function(e){return D+_(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},G=function(e){return I+_(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};x=x.data(F,b.getPtId),x.enter().append("g").classed("slice",!0),f?x.exit().transition().each((function(){var e=n.select(this),t=e.select("path.surface");t.transition().attrTween("d",(function(e){var t=Z(e);return function(e){return K(t(e))}}));var r=e.select("g.slicetext");r.attr("opacity",0)})).remove():x.exit().remove(),x.order();var $=null;if(f&&j){var Y=b.getPtId(j);x.each((function(e){null===$&&b.getPtId(e)===Y&&($=e.x1)}))}var X=x;function Z(e){var t,r=b.getPtId(e),i=R[r],o=R[b.getPtId(C)];if(o){var a=(e.x1>o.x1?2*Math.PI:0)+H;t=e.rpx1<o.rpx1?{rpx0:0,rpx1:0}:{x0:a,x1:a}}else{var s,l=b.getPtId(e.parent);x.each((function(e){if(b.getPtId(e)===l)return s=e}));var u,c=s.children;c.forEach((function(e,t){if(b.getPtId(e)===r)return u=t}));var f=c.length,p=n.interpolate(s.x0,s.x1);t={rpx0:L,rpx1:L,x0:p(u/f),x1:p((u+1)/f)}}return n.interpolate(i,t)}function J(e){var t,r=R[b.getPtId(e)],i={x0:e.x0,x1:e.x1,rpx0:e.rpx0,rpx1:e.rpx1};if(r)t=r;else if(j)if(e.parent)if($){var o=(e.x1>$?2*Math.PI:0)+H;t={x0:o,x1:o}}else t={rpx0:L,rpx1:L},a.extendFlat(t,te(e));else t={rpx0:0,rpx1:0};else t={x0:H,x1:H};return n.interpolate(t,i)}function ee(e){var t,r=R[b.getPtId(e)],i=e.transform;if(r)t=r;else if(t={rpx1:e.rpx1,transform:{textPosAngle:i.textPosAngle,scale:0,rotate:i.rotate,rCenter:i.rCenter,x:i.x,y:i.y}},j)if(e.parent)if($){var o=e.x1>$?2*Math.PI:0;t.x0=t.x1=o}else a.extendFlat(t,te(e));else t.x0=t.x1=H;else t.x0=t.x1=H;var s=n.interpolate(t.transform.textPosAngle,e.transform.textPosAngle),l=n.interpolate(t.rpx1,e.rpx1),f=n.interpolate(t.x0,e.x0),p=n.interpolate(t.x1,e.x1),d=n.interpolate(t.transform.scale,i.scale),h=n.interpolate(t.transform.rotate,i.rotate),v=0===i.rCenter?3:0===t.transform.rCenter?1/3:1,m=n.interpolate(t.transform.rCenter,i.rCenter),g=function(e){return m(Math.pow(e,v))};return function(e){var t=l(e),r=f(e),n=p(e),o=g(e),a=W(t,(r+n)/2),v=s(e),m={pxmid:a,rpx1:t,transform:{textPosAngle:v,rCenter:o,x:i.x,y:i.y}};return u(k.type,i,c),{transform:{targetX:q(m),targetY:G(m),scale:d(e),rotate:h(e),rCenter:o}}}}function te(e){var t=e.parent,r=R[b.getPtId(t)],i={};if(r){var o=t.children,a=o.indexOf(e),s=o.length,l=n.interpolate(r.x0,r.x1);i.x0=l(a/s),i.x1=l(a/s)}else i.x0=i.x1=0;return i}f&&(X=X.transition().each("end",(function(){var t=n.select(this);b.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})}))),X.each((function(i){var l=n.select(this),p=a.ensureSingle(l,"path","surface",(function(e){e.style("pointer-events","all")}));i.rpx0=Q(i.y0),i.rpx1=Q(i.y1),i.xmid=(i.x0+i.x1)/2,i.pxmid=W(i.rpx1,i.xmid),i.midangle=-(i.xmid-Math.PI/2),i.startangle=-(i.x0-Math.PI/2),i.stopangle=-(i.x1-Math.PI/2),i.halfangle=.5*Math.min(a.angleDelta(i.x0,i.x1)||Math.PI,Math.PI),i.ring=1-i.rpx0/i.rpx1,i.rInscribed=w(i,k),f?p.transition().attrTween("d",(function(e){var t=J(e);return function(e){return K(t(e))}})):p.attr("d",K),l.call(g,C,e,r,{eventDataKeys:y.eventDataKeys,transitionTime:y.CLICK_TRANSITION_TIME,transitionEasing:y.CLICK_TRANSITION_EASING}).call(b.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),p.call(v,i,k);var m=a.ensureSingle(l,"g","slicetext"),x=a.ensureSingle(m,"text","",(function(e){e.attr("data-notex",1)})),A=a.ensureUniformFontSize(e,b.determineTextFont(k,i,c.font));x.text(t.formatSliceLabel(i,C,k,r,c)).classed("slicetext",!0).attr("text-anchor","middle").call(o.font,A).call(s.convertToTspans,e);var _=o.bBox(x.node());i.transform=h(_,i,E),i.transform.targetX=q(i),i.transform.targetY=G(i);var T=function(e,t){var r=e.transform;return d(r,t),r.fontSize=A.size,u(k.type,r,c),a.getTextTransform(r)};f?x.transition().attrTween("transform",(function(e){var t=ee(e);return function(e){return T(t(e),_)}})):x.attr("transform",T(i,_))}))}function A(e){return i.partition().size([2*Math.PI,e.height+1])(e)}function w(e){return 0===e.rpx0&&a.isFullCircle([e.x0,e.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2))}function _(e){return E(e.rpx1,e.transform.textPosAngle)}function E(e,t){return[e*Math.sin(t),-e*Math.cos(t)]}t.plot=function(e,t,r,i){var o,a,s=e._fullLayout,l=s._sunburstlayer,u=!r,f=!s.uniformtext.mode&&b.hasTransition(r);if(c("sunburst",s),o=l.selectAll("g.trace.sunburst").data(t,(function(e){return e[0].trace.uid})),o.enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),o.order(),f){i&&(a=i());var p=n.transition().duration(r.duration).ease(r.easing).each("end",(function(){a&&a()})).each("interrupt",(function(){a&&a()}));p.each((function(){l.selectAll("g.trace").each((function(t){x(e,t,this,r)}))}))}else o.each((function(t){x(e,t,this,r)})),s.uniformtext.mode&&m(e,s._sunburstlayer.selectAll(".trace"),"sunburst");u&&o.exit().remove()},t.formatSliceLabel=function(e,t,r,n,i){var o=r.texttemplate,s=r.textinfo;if(!o&&(!s||"none"===s))return"";var l=i.separators,u=n[0],c=e.data.data,f=u.hierarchy,p=b.isHierarchyRoot(e),d=b.getParent(f,e),h=b.getValue(e);if(!o){var v,m=s.split("+"),g=function(e){return-1!==m.indexOf(e)},y=[];if(g("label")&&c.label&&y.push(c.label),c.hasOwnProperty("v")&&g("value")&&y.push(b.formatValue(c.v,l)),!p){g("current path")&&y.push(b.getPath(e.data));var x=0;g("percent parent")&&x++,g("percent entry")&&x++,g("percent root")&&x++;var A=x>1;if(x){var w,_=function(e){v=b.formatPercent(w,l),A&&(v+=" of "+e),y.push(v)};g("percent parent")&&!p&&(w=h/b.getValue(d),_("parent")),g("percent entry")&&(w=h/b.getValue(t),_("entry")),g("percent root")&&(w=h/b.getValue(f),_("root"))}}return g("text")&&(v=a.castOption(r,c.i,"text"),a.isValidTextValue(v)&&y.push(v)),y.join("<br>")}var E=a.castOption(r,c.i,"texttemplate");if(!E)return"";var k={};c.label&&(k.label=c.label),c.hasOwnProperty("v")&&(k.value=c.v,k.valueLabel=b.formatValue(c.v,l)),k.currentPath=b.getPath(e.data),p||(k.percentParent=h/b.getValue(d),k.percentParentLabel=b.formatPercent(k.percentParent,l),k.parent=b.getPtLabel(d)),k.percentEntry=h/b.getValue(t),k.percentEntryLabel=b.formatPercent(k.percentEntry,l),k.entry=b.getPtLabel(t),k.percentRoot=h/b.getValue(f),k.percentRootLabel=b.formatPercent(k.percentRoot,l),k.root=b.getPtLabel(f),c.hasOwnProperty("color")&&(k.color=c.color);var T=a.castOption(r,c.i,"text");return(a.isValidTextValue(T)||""===T)&&(k.text=T),k.customdata=a.castOption(r,c.i,"customdata"),a.texttemplateString(E,k,i._d3locale,k,r._meta||{})}},e180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{stroke:"#25fdfc",d:"M9 8v30m9-30v30M28 8v30m9-30v30",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M9 28.429L18 29l10-4.714L37 31M9 23.074L18 23l10-11.92L37 20",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{stroke:"#1d9bfb",d:"M9 17l9 6 10 1 9-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))};t.default=u},e192:function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e,t,r;function n(n,i){if(e)if(t){var o="var sharedChunk = {}; ("+e+")(sharedChunk); ("+t+")(sharedChunk);",a={};e(a),r=i(a),r.workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"}))}else t=i;else e=i}return n(["exports"],(function(e){function t(e,t){return e(t={exports:{}},t.exports),t.exports}var r=n;function n(e,t,r,n){this.cx=3*e,this.bx=3*(r-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(n-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=n,this.p2x=r,this.p2y=n}n.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},n.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},n.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},n.prototype.solveCurveX=function(e,t){var r,n,i,o,a;for(void 0===t&&(t=1e-6),i=e,a=0;a<8;a++){if(o=this.sampleCurveX(i)-e,Math.abs(o)<t)return i;var s=this.sampleCurveDerivativeX(i);if(Math.abs(s)<1e-6)break;i-=o/s}if((i=e)<(r=0))return r;if(i>(n=1))return n;for(;r<n;){if(o=this.sampleCurveX(i),Math.abs(o-e)<t)return i;e>o?r=i:n=i,i=.5*(n-r)+r}return i},n.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var i=o;function o(e,t){this.x=e,this.y=t}function a(e,t,n,i){var o=new r(e,t,n,i);return function(e){return o.solve(e)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,r=e.y-this.y;return t*t+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[2]*this.x+e[3]*this.y;return this.x=e[0]*this.x+e[1]*this.y,this.y=t,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),r=Math.sin(e),n=r*this.x+t*this.y;return this.x=t*this.x-r*this.y,this.y=n,this},_rotateAround:function(e,t){var r=Math.cos(e),n=Math.sin(e),i=t.y+n*(this.x-t.x)+r*(this.y-t.y);return this.x=t.x+r*(this.x-t.x)-n*(this.y-t.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(e){return e instanceof o?e:Array.isArray(e)?new o(e[0],e[1]):e};var s=a(.25,.1,.25,1);function l(e,t,r){return Math.min(r,Math.max(t,e))}function u(e,t,r){var n=r-t,i=((e-t)%n+n)%n+t;return i===t?r:i}function c(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];for(var n=0,i=t;n<i.length;n+=1){var o=i[n];for(var a in o)e[a]=o[a]}return e}var f=1;function p(){return f++}function d(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}function h(e){return!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}function v(e,t){e.forEach((function(e){t[e]&&(t[e]=t[e].bind(t))}))}function m(e,t){return-1!==e.indexOf(t,e.length-t.length)}function g(e,t,r){var n={};for(var i in e)n[i]=t.call(r||this,e[i],i,e);return n}function y(e,t,r){var n={};for(var i in e)t.call(r||this,e[i],i,e)&&(n[i]=e[i]);return n}function b(e){return Array.isArray(e)?e.map(b):"object"==typeof e&&e?g(e,b):e}var x={};function A(e){x[e]||("undefined"!=typeof console&&console.warn(e),x[e]=!0)}function w(e,t,r){return(r.y-e.y)*(t.x-e.x)>(t.y-e.y)*(r.x-e.x)}function _(e){for(var t=0,r=0,n=e.length,i=n-1,o=void 0,a=void 0;r<n;i=r++)t+=((a=e[i]).x-(o=e[r]).x)*(o.y+a.y);return t}function E(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function k(e){var t={};if(e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(e,r,n,i){var o=n||i;return t[r]=!o||o.toLowerCase(),""})),t["max-age"]){var r=parseInt(t["max-age"],10);isNaN(r)?delete t["max-age"]:t["max-age"]=r}return t}var T=null;function C(e){if(null==T){var t=e.navigator?e.navigator.userAgent:null;T=!!e.safari||!(!t||!(/\b(iPad|iPhone|iPod)\b/.test(t)||t.match("Safari")&&!t.match("Chrome")))}return T}function S(e){try{var t=self[e];return t.setItem("_mapbox_test_",1),t.removeItem("_mapbox_test_"),!0}catch(e){return!1}}var O,M,P,B,L=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),D=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,I=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,j={now:L,frame:function(e){var t=D(e);return{cancel:function(){return I(t)}}},getImageData:function(e,t){void 0===t&&(t=0);var r=self.document.createElement("canvas"),n=r.getContext("2d");if(!n)throw new Error("failed to create canvas 2d context");return r.width=e.width,r.height=e.height,n.drawImage(e,0,0,e.width,e.height),n.getImageData(-t,-t,e.width+2*t,e.height+2*t)},resolveURL:function(e){return O||(O=self.document.createElement("a")),O.href=e,O.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==M&&(M=self.matchMedia("(prefers-reduced-motion: reduce)")),M.matches)}},R={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},F={supported:!1,testSupport:function(e){!N&&B&&(z?U(e):P=e)}},N=!1,z=!1;function U(e){var t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t);try{if(e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,B),e.isContextLost())return;F.supported=!0}catch(e){}e.deleteTexture(t),N=!0}self.document&&((B=self.document.createElement("img")).onload=function(){P&&U(P),P=null,z=!0},B.onerror=function(){N=!0,P=null},B.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var H="01",V=function(e,t){this._transformRequestFn=e,this._customAccessToken=t,this._createSkuToken()};function Q(e){return 0===e.indexOf("mapbox:")}V.prototype._createSkuToken=function(){var e=function(){for(var e="",t=0;t<10;t++)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",H,e].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt},V.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},V.prototype.transformRequest=function(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}},V.prototype.normalizeStyleURL=function(e,t){if(!Q(e))return e;var r=G(e);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||t)},V.prototype.normalizeGlyphsURL=function(e,t){if(!Q(e))return e;var r=G(e);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||t)},V.prototype.normalizeSourceURL=function(e,t){if(!Q(e))return e;var r=G(e);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||t)},V.prototype.normalizeSpriteURL=function(e,t,r,n){var i=G(e);return Q(e)?(i.path="/styles/v1"+i.path+"/sprite"+t+r,this._makeAPIURL(i,this._customAccessToken||n)):(i.path+=""+t+r,$(i))},V.prototype.normalizeTileURL=function(e,t){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!Q(e))return e;var r=G(e);r.path=r.path.replace(/(\.(png|jpg)\d*)(?=$)/,(j.devicePixelRatio>=2||512===t?"@2x":"")+(F.supported?".webp":"$1")),r.path=r.path.replace(/^.+\/v4\//,"/"),r.path="/v4"+r.path;var n=this._customAccessToken||function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t].match(/^access_token=(.*)$/);if(n)return n[1]}return null}(r.params)||R.ACCESS_TOKEN;return R.REQUIRE_ACCESS_TOKEN&&n&&this._skuToken&&r.params.push("sku="+this._skuToken),this._makeAPIURL(r,n)},V.prototype.canonicalizeTileURL=function(e,t){var r=G(e);if(!r.path.match(/(^\/v4\/)/)||!r.path.match(/\.[\w]+$/))return e;var n="mapbox://tiles/";n+=r.path.replace("/v4/","");var i=r.params;return t&&(i=i.filter((function(e){return!e.match(/^access_token=/)}))),i.length&&(n+="?"+i.join("&")),n},V.prototype.canonicalizeTileset=function(e,t){for(var r=!!t&&Q(t),n=[],i=0,o=e.tiles||[];i<o.length;i+=1){var a=o[i];K(a)?n.push(this.canonicalizeTileURL(a,r)):n.push(a)}return n},V.prototype._makeAPIURL=function(e,t){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",n=G(R.API_URL);if(e.protocol=n.protocol,e.authority=n.authority,"/"!==n.path&&(e.path=""+n.path+e.path),!R.REQUIRE_ACCESS_TOKEN)return $(e);if(!(t=t||R.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===t[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return e.params=e.params.filter((function(e){return-1===e.indexOf("access_token")})),e.params.push("access_token="+t),$(e)};var W=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function K(e){return W.test(e)}var q=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function G(e){var t=e.match(q);if(!t)throw new Error("Unable to parse URL object");return{protocol:t[1],authority:t[2],path:t[3]||"/",params:t[4]?t[4].split("&"):[]}}function $(e){var t=e.params.length?"?"+e.params.join("&"):"";return e.protocol+"://"+e.authority+e.path+t}function Y(e){if(!e)return null;var t=e.split(".");if(!t||3!==t.length)return null;try{return JSON.parse(decodeURIComponent(self.atob(t[1]).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(e){return null}}var X=function(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};X.prototype.getStorageKey=function(e){var t,r=Y(R.ACCESS_TOKEN);return t=r&&r.u?self.btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(Number("0x"+t))}))):R.ACCESS_TOKEN||"",e?"mapbox.eventData."+e+":"+t:"mapbox.eventData:"+t},X.prototype.fetchEventData=function(){var e=S("localStorage"),t=this.getStorageKey(),r=this.getStorageKey("uuid");if(e)try{var n=self.localStorage.getItem(t);n&&(this.eventData=JSON.parse(n));var i=self.localStorage.getItem(r);i&&(this.anonId=i)}catch(e){A("Unable to read from LocalStorage")}},X.prototype.saveEventData=function(){var e=S("localStorage"),t=this.getStorageKey(),r=this.getStorageKey("uuid");if(e)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(t,JSON.stringify(this.eventData))}catch(e){A("Unable to write to LocalStorage")}},X.prototype.processRequests=function(e){},X.prototype.postEvent=function(e,t,r,n){var i=this;if(R.EVENTS_URL){var o=G(R.EVENTS_URL);o.params.push("access_token="+(n||R.ACCESS_TOKEN||""));var a={event:this.type,created:new Date(e).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.10.1",skuId:H,userId:this.anonId},s=t?c(a,t):a,l={url:$(o),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=be(l,(function(e){i.pendingRequest=null,r(e),i.saveEventData(),i.processRequests(n)}))}},X.prototype.queueRequest=function(e,t){this.queue.push(e),this.processRequests(t)};var Z,J,ee=function(e){function t(){e.call(this,"map.load"),this.success={},this.skuToken=""}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.postMapLoadEvent=function(e,t,r,n){this.skuToken=r,(R.EVENTS_URL&&n||R.ACCESS_TOKEN&&Array.isArray(e)&&e.some((function(e){return Q(e)||K(e)})))&&this.queueRequest({id:t,timestamp:Date.now()},n)},t.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var r=this.queue.shift(),n=r.id,i=r.timestamp;n&&this.success[n]||(this.anonId||this.fetchEventData(),h(this.anonId)||(this.anonId=d()),this.postEvent(i,{skuToken:this.skuToken},(function(e){e||n&&(t.success[n]=!0)}),e))}},t}(X),te=new(function(e){function t(t){e.call(this,"appUserTurnstile"),this._customAccessToken=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.postTurnstileEvent=function(e,t){R.EVENTS_URL&&R.ACCESS_TOKEN&&Array.isArray(e)&&e.some((function(e){return Q(e)||K(e)}))&&this.queueRequest(Date.now(),t)},t.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var r=Y(R.ACCESS_TOKEN),n=r?r.u:R.ACCESS_TOKEN,i=n!==this.eventData.tokenU;h(this.anonId)||(this.anonId=d(),i=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;i=i||l>=1||l<-1||a.getDate()!==s.getDate()}else i=!0;if(!i)return this.processRequests();this.postEvent(o,{"enabled.telemetry":!1},(function(e){e||(t.eventData.lastSuccess=o,t.eventData.tokenU=n)}),e)}},t}(X)),re=te.postTurnstileEvent.bind(te),ne=new ee,ie=ne.postMapLoadEvent.bind(ne),oe=500,ae=50;function se(){self.caches&&!Z&&(Z=self.caches.open("mapbox-tiles"))}function le(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}var ue,ce=1/0;function fe(){return null==ue&&(ue=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof self.createImageBitmap),ue}var pe={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(pe);var de,he,ve=function(e){function t(t,r,n){401===r&&K(n)&&(t+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),e.call(this,t),this.status=r,this.url=n,this.name=this.constructor.name,this.message=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},t}(Error),me=E()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===self.location.protocol?self.parent:self).location.href},ge=function(e,t){if(!(/^file:/.test(r=e.url)||/^file:/.test(me())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return function(e,t){var r,n=new self.AbortController,i=new self.Request(e.url,{method:e.method||"GET",body:e.body,credentials:e.credentials,headers:e.headers,referrer:me(),signal:n.signal}),o=!1,a=!1,s=(r=i.url).indexOf("sku=")>0&&K(r);"json"===e.type&&i.headers.set("Accept","application/json");var l=function(r,n,o){if(!a){if(r&&"SecurityError"!==r.message&&A(r),n&&o)return u(n);var l=Date.now();self.fetch(i).then((function(r){if(r.ok){var n=s?r.clone():null;return u(r,n,l)}return t(new ve(r.statusText,r.status,e.url))})).catch((function(e){20!==e.code&&t(new Error(e.message))}))}},u=function(r,n,s){("arrayBuffer"===e.type?r.arrayBuffer():"json"===e.type?r.json():r.text()).then((function(e){a||(n&&s&&function(e,t,r){if(se(),Z){var n={status:t.status,statusText:t.statusText,headers:new self.Headers};t.headers.forEach((function(e,t){return n.headers.set(t,e)}));var i=k(t.headers.get("Cache-Control")||"");i["no-store"]||(i["max-age"]&&n.headers.set("Expires",new Date(r+1e3*i["max-age"]).toUTCString()),new Date(n.headers.get("Expires")).getTime()-r<42e4||function(e,t){if(void 0===J)try{new Response(new ReadableStream),J=!0}catch(e){J=!1}J?t(e.body):e.blob().then(t)}(t,(function(t){var r=new self.Response(t,n);se(),Z&&Z.then((function(t){return t.put(le(e.url),r)})).catch((function(e){return A(e.message)}))})))}}(i,n,s),o=!0,t(null,e,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((function(e){a||t(new Error(e.message))}))};return s?function(e,t){if(se(),!Z)return t(null);var r=le(e.url);Z.then((function(e){e.match(r).then((function(n){var i=function(e){if(!e)return!1;var t=new Date(e.headers.get("Expires")||0),r=k(e.headers.get("Cache-Control")||"");return t>Date.now()&&!r["no-cache"]}(n);e.delete(r),i&&e.put(r,n.clone()),t(null,n,i)})).catch(t)})).catch(t)}(i,l):l(null,null),{cancel:function(){a=!0,o||n.abort()}}}(e,t);if(E()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",e,t,void 0,!0)}var r;return function(e,t){var r=new self.XMLHttpRequest;for(var n in r.open(e.method||"GET",e.url,!0),"arrayBuffer"===e.type&&(r.responseType="arraybuffer"),e.headers)r.setRequestHeader(n,e.headers[n]);return"json"===e.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===e.credentials,r.onerror=function(){t(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var n=r.response;if("json"===e.type)try{n=JSON.parse(r.response)}catch(e){return t(e)}t(null,n,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else t(new ve(r.statusText,r.status,e.url))},r.send(e.body),{cancel:function(){return r.abort()}}}(e,t)},ye=function(e,t){return ge(c(e,{type:"arrayBuffer"}),t)},be=function(e,t){return ge(c(e,{method:"POST"}),t)};de=[],he=0;var xe=function(e,t){if(F.supported&&(e.headers||(e.headers={}),e.headers.accept="image/webp,*/*"),he>=R.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:e,callback:t,cancelled:!1,cancel:function(){this.cancelled=!0}};return de.push(r),r}he++;var n=!1,i=function(){if(!n)for(n=!0,he--;de.length&&he<R.MAX_PARALLEL_IMAGE_REQUESTS;){var e=de.shift();e.cancelled||(e.cancel=xe(e.requestParameters,e.callback).cancel)}},o=ye(e,(function(e,r,n,o){i(),e?t(e):r&&(fe()?function(e,t){var r=new self.Blob([new Uint8Array(e)],{type:"image/png"});self.createImageBitmap(r).then((function(e){t(null,e)})).catch((function(e){t(new Error("Could not load image because of "+e.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))}))}(r,t):function(e,t,r,n){var i=new self.Image,o=self.URL;i.onload=function(){t(null,i),o.revokeObjectURL(i.src)},i.onerror=function(){return t(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var a=new self.Blob([new Uint8Array(e)],{type:"image/png"});i.cacheControl=r,i.expires=n,i.src=e.byteLength?o.createObjectURL(a):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}(r,t,n,o))}));return{cancel:function(){o.cancel(),i()}}};function Ae(e,t,r){r[e]&&-1!==r[e].indexOf(t)||(r[e]=r[e]||[],r[e].push(t))}function we(e,t,r){if(r&&r[e]){var n=r[e].indexOf(t);-1!==n&&r[e].splice(n,1)}}var _e=function(e,t){void 0===t&&(t={}),c(this,t),this.type=e},Ee=function(e){function t(t,r){void 0===r&&(r={}),e.call(this,"error",c({error:t},r))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(_e),ke=function(){};ke.prototype.on=function(e,t){return this._listeners=this._listeners||{},Ae(e,t,this._listeners),this},ke.prototype.off=function(e,t){return we(e,t,this._listeners),we(e,t,this._oneTimeListeners),this},ke.prototype.once=function(e,t){return this._oneTimeListeners=this._oneTimeListeners||{},Ae(e,t,this._oneTimeListeners),this},ke.prototype.fire=function(e,t){"string"==typeof e&&(e=new _e(e,t||{}));var r=e.type;if(this.listens(r)){e.target=this;for(var n=0,i=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];n<i.length;n+=1)i[n].call(this,e);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];o<a.length;o+=1){var s=a[o];we(r,s,this._oneTimeListeners),s.call(this,e)}var l=this._eventedParent;l&&(c(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(e))}else e instanceof Ee&&console.error(e.error);return this},ke.prototype.listens=function(e){return this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e)},ke.prototype.setEventedParent=function(e,t){return this._eventedParent=e,this._eventedParentData=t,this};var Te={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ce=function(e,t,r,n){this.message=(e?e+": ":"")+r,n&&(this.identifier=n),null!=t&&t.__line__&&(this.line=t.__line__)};function Se(e){var t=e.value;return t?[new Ce(e.key,t,"constants have been deprecated as of v8")]:[]}function Oe(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];for(var n=0,i=t;n<i.length;n+=1){var o=i[n];for(var a in o)e[a]=o[a]}return e}function Me(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function Pe(e){if(Array.isArray(e))return e.map(Pe);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){var t={};for(var r in e)t[r]=Pe(e[r]);return t}return Me(e)}var Be=function(e){function t(t,r){e.call(this,r),this.message=r,this.key=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(Error),Le=function(e,t){void 0===t&&(t=[]),this.parent=e,this.bindings={};for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.bindings[i[0]]=i[1]}};Le.prototype.concat=function(e){return new Le(this,e)},Le.prototype.get=function(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(e+" not found in scope.")},Le.prototype.has=function(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)};var De={kind:"null"},Ie={kind:"number"},je={kind:"string"},Re={kind:"boolean"},Fe={kind:"color"},Ne={kind:"object"},ze={kind:"value"},Ue={kind:"collator"},He={kind:"formatted"},Ve={kind:"resolvedImage"};function Qe(e,t){return{kind:"array",itemType:e,N:t}}function We(e){if("array"===e.kind){var t=We(e.itemType);return"number"==typeof e.N?"array<"+t+", "+e.N+">":"value"===e.itemType.kind?"array":"array<"+t+">"}return e.kind}var Ke=[De,Ie,je,Re,Fe,He,Ne,Qe(ze),Ve];function qe(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!qe(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(var r=0,n=Ke;r<n.length;r+=1)if(!qe(n[r],t))return null}return"Expected "+We(e)+" but found "+We(t)+" instead."}function Ge(e,t){return t.some((function(t){return t.kind===e.kind}))}function $e(e,t){return t.some((function(t){return"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e}))}var Ye=t((function(e,t){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function n(e){return(e=Math.round(e))<0?0:e>255?255:e}function i(e){return n("%"===e[e.length-1]?parseFloat(e)/100*255:parseInt(e))}function o(e){return(t="%"===e[e.length-1]?parseFloat(e)/100:parseFloat(e))<0?0:t>1?1:t;var t}function a(e,t,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?e+(t-e)*r*6:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}try{t.parseCSSColor=function(e){var t,s=e.replace(/ /g,"").toLowerCase();if(s in r)return r[s].slice();if("#"===s[0])return 4===s.length?(t=parseInt(s.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===s.length&&(t=parseInt(s.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var l=s.indexOf("("),u=s.indexOf(")");if(-1!==l&&u+1===s.length){var c=s.substr(0,l),f=s.substr(l+1,u-(l+1)).split(","),p=1;switch(c){case"rgba":if(4!==f.length)return null;p=o(f.pop());case"rgb":return 3!==f.length?null:[i(f[0]),i(f[1]),i(f[2]),p];case"hsla":if(4!==f.length)return null;p=o(f.pop());case"hsl":if(3!==f.length)return null;var d=(parseFloat(f[0])%360+360)%360/360,h=o(f[1]),v=o(f[2]),m=v<=.5?v*(h+1):v+h-v*h,g=2*v-m;return[n(255*a(g,m,d+1/3)),n(255*a(g,m,d)),n(255*a(g,m,d-1/3)),p];default:return null}}return null}}catch(e){}})).parseCSSColor,Xe=function(e,t,r,n){void 0===n&&(n=1),this.r=e,this.g=t,this.b=r,this.a=n};Xe.parse=function(e){if(e){if(e instanceof Xe)return e;if("string"==typeof e){var t=Ye(e);if(t)return new Xe(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3])}}},Xe.prototype.toString=function(){var e=this.toArray(),t=e[1],r=e[2],n=e[3];return"rgba("+Math.round(e[0])+","+Math.round(t)+","+Math.round(r)+","+n+")"},Xe.prototype.toArray=function(){var e=this.a;return 0===e?[0,0,0,0]:[255*this.r/e,255*this.g/e,255*this.b/e,e]},Xe.black=new Xe(0,0,0,1),Xe.white=new Xe(1,1,1,1),Xe.transparent=new Xe(0,0,0,0),Xe.red=new Xe(1,0,0,1);var Ze=function(e,t,r){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Ze.prototype.compare=function(e,t){return this.collator.compare(e,t)},Ze.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Je=function(e,t,r,n,i){this.text=e,this.image=t,this.scale=r,this.fontStack=n,this.textColor=i},et=function(e){this.sections=e};et.fromString=function(e){return new et([new Je(e,null,null,null,null)])},et.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(e){return 0!==e.text.length||e.image&&0!==e.image.name.length}))},et.factory=function(e){return e instanceof et?e:et.fromString(e)},et.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(e){return e.text})).join("")},et.prototype.serialize=function(){for(var e=["format"],t=0,r=this.sections;t<r.length;t+=1){var n=r[t];if(n.image)e.push(["image",n.image.name]);else{e.push(n.text);var i={};n.fontStack&&(i["text-font"]=["literal",n.fontStack.split(",")]),n.scale&&(i["font-scale"]=n.scale),n.textColor&&(i["text-color"]=["rgba"].concat(n.textColor.toArray())),e.push(i)}}return e};var tt=function(e){this.name=e.name,this.available=e.available};function rt(e,t,r,n){return"number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===n||"number"==typeof n&&n>=0&&n<=1?null:"Invalid rgba value ["+[e,t,r,n].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof n?[e,t,r,n]:[e,t,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function nt(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Xe)return!0;if(e instanceof Ze)return!0;if(e instanceof et)return!0;if(e instanceof tt)return!0;if(Array.isArray(e)){for(var t=0,r=e;t<r.length;t+=1)if(!nt(r[t]))return!1;return!0}if("object"==typeof e){for(var n in e)if(!nt(e[n]))return!1;return!0}return!1}function it(e){if(null===e)return De;if("string"==typeof e)return je;if("boolean"==typeof e)return Re;if("number"==typeof e)return Ie;if(e instanceof Xe)return Fe;if(e instanceof Ze)return Ue;if(e instanceof et)return He;if(e instanceof tt)return Ve;if(Array.isArray(e)){for(var t,r=e.length,n=0,i=e;n<i.length;n+=1){var o=it(i[n]);if(t){if(t===o)continue;t=ze;break}t=o}return Qe(t||ze,r)}return Ne}function ot(e){var t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof Xe||e instanceof et||e instanceof tt?e.toString():JSON.stringify(e)}tt.prototype.toString=function(){return this.name},tt.fromString=function(e){return e?new tt({name:e,available:!1}):null},tt.prototype.serialize=function(){return["image",this.name]};var at=function(e,t){this.type=e,this.value=t};at.parse=function(e,t){if(2!==e.length)return t.error("'literal' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(!nt(e[1]))return t.error("invalid value");var r=e[1],n=it(r),i=t.expectedType;return"array"!==n.kind||0!==n.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(n=i),new at(n,r)},at.prototype.evaluate=function(){return this.value},at.prototype.eachChild=function(){},at.prototype.outputDefined=function(){return!0},at.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Xe?["rgba"].concat(this.value.toArray()):this.value instanceof et?this.value.serialize():this.value};var st=function(e){this.name="ExpressionEvaluationError",this.message=e};st.prototype.toJSON=function(){return this.message};var lt={string:je,number:Ie,boolean:Re,object:Ne},ut=function(e,t){this.type=e,this.args=t};ut.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var r,n=1,i=e[0];if("array"===i){var o,a;if(e.length>2){var s=e[1];if("string"!=typeof s||!(s in lt)||"object"===s)return t.error('The item type argument of "array" must be one of string, number, boolean',1);o=lt[s],n++}else o=ze;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);a=e[2],n++}r=Qe(o,a)}else r=lt[i];for(var l=[];n<e.length;n++){var u=t.parse(e[n],n,ze);if(!u)return null;l.push(u)}return new ut(r,l)},ut.prototype.evaluate=function(e){for(var t=0;t<this.args.length;t++){var r=this.args[t].evaluate(e);if(!qe(this.type,it(r)))return r;if(t===this.args.length-1)throw new st("Expected value to be of type "+We(this.type)+", but found "+We(it(r))+" instead.")}return null},ut.prototype.eachChild=function(e){this.args.forEach(e)},ut.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},ut.prototype.serialize=function(){var e=this.type,t=[e.kind];if("array"===e.kind){var r=e.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){t.push(r.kind);var n=e.N;("number"==typeof n||this.args.length>1)&&t.push(n)}}return t.concat(this.args.map((function(e){return e.serialize()})))};var ct=function(e){this.type=He,this.sections=e};ct.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var r=e[1];if(!Array.isArray(r)&&"object"==typeof r)return t.error("First argument must be an image or text section.");for(var n=[],i=!1,o=1;o<=e.length-1;++o){var a=e[o];if(i&&"object"==typeof a&&!Array.isArray(a)){i=!1;var s=null;if(a["font-scale"]&&!(s=t.parse(a["font-scale"],1,Ie)))return null;var l=null;if(a["text-font"]&&!(l=t.parse(a["text-font"],1,Qe(je))))return null;var u=null;if(a["text-color"]&&!(u=t.parse(a["text-color"],1,Fe)))return null;var c=n[n.length-1];c.scale=s,c.font=l,c.textColor=u}else{var f=t.parse(e[o],1,ze);if(!f)return null;var p=f.type.kind;if("string"!==p&&"value"!==p&&"null"!==p&&"resolvedImage"!==p)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,n.push({content:f,scale:null,font:null,textColor:null})}}return new ct(n)},ct.prototype.evaluate=function(e){return new et(this.sections.map((function(t){var r=t.content.evaluate(e);return it(r)===Ve?new Je("",r,null,null,null):new Je(ot(r),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))},ct.prototype.eachChild=function(e){for(var t=0,r=this.sections;t<r.length;t+=1){var n=r[t];e(n.content),n.scale&&e(n.scale),n.font&&e(n.font),n.textColor&&e(n.textColor)}},ct.prototype.outputDefined=function(){return!1},ct.prototype.serialize=function(){for(var e=["format"],t=0,r=this.sections;t<r.length;t+=1){var n=r[t];e.push(n.content.serialize());var i={};n.scale&&(i["font-scale"]=n.scale.serialize()),n.font&&(i["text-font"]=n.font.serialize()),n.textColor&&(i["text-color"]=n.textColor.serialize()),e.push(i)}return e};var ft=function(e){this.type=Ve,this.input=e};ft.parse=function(e,t){if(2!==e.length)return t.error("Expected two arguments.");var r=t.parse(e[1],1,je);return r?new ft(r):t.error("No image name provided.")},ft.prototype.evaluate=function(e){var t=this.input.evaluate(e),r=tt.fromString(t);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(t)>-1),r},ft.prototype.eachChild=function(e){e(this.input)},ft.prototype.outputDefined=function(){return!1},ft.prototype.serialize=function(){return["image",this.input.serialize()]};var pt={"to-boolean":Re,"to-color":Fe,"to-number":Ie,"to-string":je},dt=function(e,t){this.type=e,this.args=t};dt.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var r=e[0];if(("to-boolean"===r||"to-string"===r)&&2!==e.length)return t.error("Expected one argument.");for(var n=pt[r],i=[],o=1;o<e.length;o++){var a=t.parse(e[o],o,ze);if(!a)return null;i.push(a)}return new dt(n,i)},dt.prototype.evaluate=function(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){for(var t,r,n=0,i=this.args;n<i.length;n+=1){if(r=null,(t=i[n].evaluate(e))instanceof Xe)return t;if("string"==typeof t){var o=e.parseColor(t);if(o)return o}else if(Array.isArray(t)&&!(r=t.length<3||t.length>4?"Invalid rbga value "+JSON.stringify(t)+": expected an array containing either three or four numeric values.":rt(t[0],t[1],t[2],t[3])))return new Xe(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new st(r||"Could not parse color from value '"+("string"==typeof t?t:String(JSON.stringify(t)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(e)))return 0;var u=Number(a);if(!isNaN(u))return u}throw new st("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?et.fromString(ot(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?tt.fromString(ot(this.args[0].evaluate(e))):ot(this.args[0].evaluate(e))},dt.prototype.eachChild=function(e){this.args.forEach(e)},dt.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},dt.prototype.serialize=function(){if("formatted"===this.type.kind)return new ct([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new ft(this.args[0]).serialize();var e=["to-"+this.type.kind];return this.eachChild((function(t){e.push(t.serialize())})),e};var ht=["Unknown","Point","LineString","Polygon"],vt=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};vt.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},vt.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?ht[this.feature.type]:this.feature.type:null},vt.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},vt.prototype.canonicalID=function(){return this.canonical},vt.prototype.properties=function(){return this.feature&&this.feature.properties||{}},vt.prototype.parseColor=function(e){var t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=Xe.parse(e)),t};var mt=function(e,t,r,n){this.name=e,this.type=t,this._evaluate=r,this.args=n};mt.prototype.evaluate=function(e){return this._evaluate(e,this.args)},mt.prototype.eachChild=function(e){this.args.forEach(e)},mt.prototype.outputDefined=function(){return!1},mt.prototype.serialize=function(){return[this.name].concat(this.args.map((function(e){return e.serialize()})))},mt.parse=function(e,t){var r,n=e[0],i=mt.definitions[n];if(!i)return t.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0);for(var o=Array.isArray(i)?i[0]:i.type,a=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,s=a.filter((function(t){var r=t[0];return!Array.isArray(r)||r.length===e.length-1})),l=null,u=0,c=s;u<c.length;u+=1){var f=c[u],p=f[0],d=f[1];l=new Ft(t.registry,t.path,null,t.scope);for(var h=[],v=!1,m=1;m<e.length;m++){var g=e[m],y=Array.isArray(p)?p[m-1]:p.type,b=l.parse(g,1+h.length,y);if(!b){v=!0;break}h.push(b)}if(!v)if(Array.isArray(p)&&p.length!==h.length)l.error("Expected "+p.length+" arguments, but found "+h.length+" instead.");else{for(var x=0;x<h.length;x++){var A=Array.isArray(p)?p[x]:p.type,w=h[x];l.concat(x+1).checkSubtype(A,w.type)}if(0===l.errors.length)return new mt(n,o,d,h)}}if(1===s.length)(r=t.errors).push.apply(r,l.errors);else{for(var _=(s.length?s:a).map((function(e){var t;return t=e[0],Array.isArray(t)?"("+t.map(We).join(", ")+")":"("+We(t.type)+"...)"})).join(" | "),E=[],k=1;k<e.length;k++){var T=t.parse(e[k],1+E.length);if(!T)return null;E.push(We(T.type))}t.error("Expected arguments of type "+_+", but found ("+E.join(", ")+") instead.")}return null},mt.register=function(e,t){for(var r in mt.definitions=t,t)e[r]=mt};var gt=function(e,t,r){this.type=Ue,this.locale=r,this.caseSensitive=e,this.diacriticSensitive=t};function yt(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function bt(e,t){return!(e[0]<=t[0]||e[2]>=t[2]||e[1]<=t[1]||e[3]>=t[3])}function xt(e,t){var r=(180+e[0])/360,n=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e[1]*Math.PI/360)))/360,i=Math.pow(2,t.z);return[Math.round(r*i*8192),Math.round(n*i*8192)]}function At(e,t,r){return t[1]>e[1]!=r[1]>e[1]&&e[0]<(r[0]-t[0])*(e[1]-t[1])/(r[1]-t[1])+t[0]}function wt(e,t){for(var r,n,i,o,a,s,l,u=!1,c=0,f=t.length;c<f;c++)for(var p=t[c],d=0,h=p.length;d<h-1;d++){if((o=(r=e)[0]-(n=p[d])[0])*(l=r[1]-(i=p[d+1])[1])-(s=r[0]-i[0])*(a=r[1]-n[1])==0&&o*s<=0&&a*l<=0)return!1;At(e,p[d],p[d+1])&&(u=!u)}return u}function _t(e,t){for(var r=0;r<t.length;r++)if(wt(e,t[r]))return!0;return!1}function Et(e,t,r,n){var i=n[0]-r[0],o=n[1]-r[1],a=(e[0]-r[0])*o-i*(e[1]-r[1]),s=(t[0]-r[0])*o-i*(t[1]-r[1]);return a>0&&s<0||a<0&&s>0}function kt(e,t,r){for(var n=0,i=r;n<i.length;n+=1)for(var o=i[n],a=0;a<o.length-1;++a)if(0!=(f=[(c=o[a+1])[0]-(u=o[a])[0],c[1]-u[1]])[0]*(p=[(l=t)[0]-(s=e)[0],l[1]-s[1]])[1]-f[1]*p[0]&&Et(s,l,u,c)&&Et(u,c,s,l))return!0;var s,l,u,c,f,p;return!1}function Tt(e,t){for(var r=0;r<e.length;++r)if(!wt(e[r],t))return!1;for(var n=0;n<e.length-1;++n)if(kt(e[n],e[n+1],t))return!1;return!0}function Ct(e,t){for(var r=0;r<t.length;r++)if(Tt(e,t[r]))return!0;return!1}function St(e,t,r){for(var n=[],i=0;i<e.length;i++){for(var o=[],a=0;a<e[i].length;a++){var s=xt(e[i][a],r);yt(t,s),o.push(s)}n.push(o)}return n}function Ot(e,t,r){for(var n=[],i=0;i<e.length;i++){var o=St(e[i],t,r);n.push(o)}return n}function Mt(e,t,r,n){if(e[0]<r[0]||e[0]>r[2]){var i=.5*n,o=e[0]-r[0]>i?-n:r[0]-e[0]>i?n:0;0===o&&(o=e[0]-r[2]>i?-n:r[2]-e[0]>i?n:0),e[0]+=o}yt(t,e)}function Pt(e,t,r,n){for(var i=8192*Math.pow(2,n.z),o=[8192*n.x,8192*n.y],a=[],s=0,l=e;s<l.length;s+=1)for(var u=0,c=l[s];u<c.length;u+=1){var f=c[u],p=[f.x+o[0],f.y+o[1]];Mt(p,t,r,i),a.push(p)}return a}function Bt(e,t,r,n){for(var i,o=8192*Math.pow(2,n.z),a=[8192*n.x,8192*n.y],s=[],l=0,u=e;l<u.length;l+=1){for(var c=[],f=0,p=u[l];f<p.length;f+=1){var d=p[f],h=[d.x+a[0],d.y+a[1]];yt(t,h),c.push(h)}s.push(c)}if(t[2]-t[0]<=o/2){(i=t)[0]=i[1]=1/0,i[2]=i[3]=-1/0;for(var v=0,m=s;v<m.length;v+=1)for(var g=0,y=m[v];g<y.length;g+=1)Mt(y[g],t,r,o)}return s}gt.parse=function(e,t){if(2!==e.length)return t.error("Expected one argument.");var r=e[1];if("object"!=typeof r||Array.isArray(r))return t.error("Collator options argument must be an object.");var n=t.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,Re);if(!n)return null;var i=t.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,Re);if(!i)return null;var o=null;return r.locale&&!(o=t.parse(r.locale,1,je))?null:new gt(n,i,o)},gt.prototype.evaluate=function(e){return new Ze(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)},gt.prototype.eachChild=function(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)},gt.prototype.outputDefined=function(){return!1},gt.prototype.serialize=function(){var e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]};var Lt=function(e,t){this.type=Re,this.geojson=e,this.geometries=t};function Dt(e){if(e instanceof mt){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof Lt)return!1;var t=!0;return e.eachChild((function(e){t&&!Dt(e)&&(t=!1)})),t}function It(e){if(e instanceof mt&&"feature-state"===e.name)return!1;var t=!0;return e.eachChild((function(e){t&&!It(e)&&(t=!1)})),t}function jt(e,t){if(e instanceof mt&&t.indexOf(e.name)>=0)return!1;var r=!0;return e.eachChild((function(e){r&&!jt(e,t)&&(r=!1)})),r}Lt.parse=function(e,t){if(2!==e.length)return t.error("'within' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(nt(e[1])){var r=e[1];if("FeatureCollection"===r.type)for(var n=0;n<r.features.length;++n){var i=r.features[n].geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new Lt(r,r.features[n].geometry)}else if("Feature"===r.type){var o=r.geometry.type;if("Polygon"===o||"MultiPolygon"===o)return new Lt(r,r.geometry)}else if("Polygon"===r.type||"MultiPolygon"===r.type)return new Lt(r,r)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")},Lt.prototype.evaluate=function(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){var r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if("Polygon"===t.type){var o=St(t.coordinates,n,i),a=Pt(e.geometry(),r,n,i);if(!bt(r,n))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!wt(l[s],o))return!1}if("MultiPolygon"===t.type){var u=Ot(t.coordinates,n,i),c=Pt(e.geometry(),r,n,i);if(!bt(r,n))return!1;for(var f=0,p=c;f<p.length;f+=1)if(!_t(p[f],u))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){var r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if("Polygon"===t.type){var o=St(t.coordinates,n,i),a=Bt(e.geometry(),r,n,i);if(!bt(r,n))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!Tt(l[s],o))return!1}if("MultiPolygon"===t.type){var u=Ot(t.coordinates,n,i),c=Bt(e.geometry(),r,n,i);if(!bt(r,n))return!1;for(var f=0,p=c;f<p.length;f+=1)if(!Ct(p[f],u))return!1}return!0}(e,this.geometries)}return!1},Lt.prototype.eachChild=function(){},Lt.prototype.outputDefined=function(){return!0},Lt.prototype.serialize=function(){return["within",this.geojson]};var Rt=function(e,t){this.type=t.type,this.name=e,this.boundExpression=t};Rt.parse=function(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");var r=e[1];return t.scope.has(r)?new Rt(r,t.scope.get(r)):t.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},Rt.prototype.evaluate=function(e){return this.boundExpression.evaluate(e)},Rt.prototype.eachChild=function(){},Rt.prototype.outputDefined=function(){return!1},Rt.prototype.serialize=function(){return["var",this.name]};var Ft=function(e,t,r,n,i){void 0===t&&(t=[]),void 0===n&&(n=new Le),void 0===i&&(i=[]),this.registry=e,this.path=t,this.key=t.map((function(e){return"["+e+"]"})).join(""),this.scope=n,this.errors=i,this.expectedType=r};function Nt(e,t){for(var r,n=e.length-1,i=0,o=n,a=0;i<=o;)if((r=e[a=Math.floor((i+o)/2)])<=t){if(a===n||t<e[a+1])return a;i=a+1}else{if(!(r>t))throw new st("Input is not a number.");o=a-1}return 0}Ft.prototype.parse=function(e,t,r,n,i){return void 0===i&&(i={}),t?this.concat(t,r,n)._parse(e,i):this._parse(e,i)},Ft.prototype._parse=function(e,t){function r(e,t,r){return"assert"===r?new ut(t,[e]):"coerce"===r?new dt(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var n=e[0];if("string"!=typeof n)return this.error("Expression name must be a string, but found "+typeof n+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[n];if(i){var o=i.parse(e,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=r(o,a,t.typeAnnotation||"coerce");else o=r(o,a,t.typeAnnotation||"assert")}if(!(o instanceof at)&&"resolvedImage"!==o.type.kind&&function e(t){if(t instanceof Rt)return e(t.boundExpression);if(t instanceof mt&&"error"===t.name)return!1;if(t instanceof gt)return!1;if(t instanceof Lt)return!1;var r=t instanceof dt||t instanceof ut,n=!0;return t.eachChild((function(t){n=r?n&&e(t):n&&t instanceof at})),!!n&&Dt(t)&&jt(t,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(o)){var l=new vt;try{o=new at(o.type,o.evaluate(l))}catch(e){return this.error(e.message),null}}return o}return this.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(void 0===e?"'undefined' value invalid. Use null instead.":"object"==typeof e?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof e+" instead.")},Ft.prototype.concat=function(e,t,r){var n="number"==typeof e?this.path.concat(e):this.path,i=r?this.scope.concat(r):this.scope;return new Ft(this.registry,n,t||null,i,this.errors)},Ft.prototype.error=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=""+this.key+t.map((function(e){return"["+e+"]"})).join("");this.errors.push(new Be(n,e))},Ft.prototype.checkSubtype=function(e,t){var r=qe(e,t);return r&&this.error(r),r};var zt=function(e,t,r){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(var n=0,i=r;n<i.length;n+=1){var o=i[n],a=o[1];this.labels.push(o[0]),this.outputs.push(a)}};function Ut(e,t,r){return e*(1-r)+t*r}zt.parse=function(e,t){if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");var r=t.parse(e[1],1,Ie);if(!r)return null;var n=[],i=null;t.expectedType&&"value"!==t.expectedType.kind&&(i=t.expectedType);for(var o=1;o<e.length;o+=2){var a=1===o?-1/0:e[o],s=e[o+1],l=o,u=o+1;if("number"!=typeof a)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(n.length&&n[n.length-1][0]>=a)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=t.parse(s,u,i);if(!c)return null;i=i||c.type,n.push([a,c])}return new zt(i,r,n)},zt.prototype.evaluate=function(e){var t=this.labels,r=this.outputs;if(1===t.length)return r[0].evaluate(e);var n=this.input.evaluate(e);if(n<=t[0])return r[0].evaluate(e);var i=t.length;return n>=t[i-1]?r[i-1].evaluate(e):r[Nt(t,n)].evaluate(e)},zt.prototype.eachChild=function(e){e(this.input);for(var t=0,r=this.outputs;t<r.length;t+=1)e(r[t])},zt.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))},zt.prototype.serialize=function(){for(var e=["step",this.input.serialize()],t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e};var Ht=Object.freeze({__proto__:null,number:Ut,color:function(e,t,r){return new Xe(Ut(e.r,t.r,r),Ut(e.g,t.g,r),Ut(e.b,t.b,r),Ut(e.a,t.a,r))},array:function(e,t,r){return e.map((function(e,n){return Ut(e,t[n],r)}))}}),Vt=6/29*3*(6/29),Qt=Math.PI/180,Wt=180/Math.PI;function Kt(e){return e>.008856451679035631?Math.pow(e,1/3):e/Vt+4/29}function qt(e){return e>6/29?e*e*e:Vt*(e-4/29)}function Gt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function $t(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Yt(e){var t=$t(e.r),r=$t(e.g),n=$t(e.b),i=Kt((.4124564*t+.3575761*r+.1804375*n)/.95047),o=Kt((.2126729*t+.7151522*r+.072175*n)/1);return{l:116*o-16,a:500*(i-o),b:200*(o-Kt((.0193339*t+.119192*r+.9503041*n)/1.08883)),alpha:e.a}}function Xt(e){var t=(e.l+16)/116,r=isNaN(e.a)?t:t+e.a/500,n=isNaN(e.b)?t:t-e.b/200;return t=1*qt(t),r=.95047*qt(r),n=1.08883*qt(n),new Xe(Gt(3.2404542*r-1.5371385*t-.4985314*n),Gt(-.969266*r+1.8760108*t+.041556*n),Gt(.0556434*r-.2040259*t+1.0572252*n),e.alpha)}function Zt(e,t,r){var n=t-e;return e+r*(n>180||n<-180?n-360*Math.round(n/360):n)}var Jt={forward:Yt,reverse:Xt,interpolate:function(e,t,r){return{l:Ut(e.l,t.l,r),a:Ut(e.a,t.a,r),b:Ut(e.b,t.b,r),alpha:Ut(e.alpha,t.alpha,r)}}},er={forward:function(e){var t=Yt(e),r=t.l,n=t.a,i=t.b,o=Math.atan2(i,n)*Wt;return{h:o<0?o+360:o,c:Math.sqrt(n*n+i*i),l:r,alpha:e.a}},reverse:function(e){var t=e.h*Qt,r=e.c;return Xt({l:e.l,a:Math.cos(t)*r,b:Math.sin(t)*r,alpha:e.alpha})},interpolate:function(e,t,r){return{h:Zt(e.h,t.h,r),c:Ut(e.c,t.c,r),l:Ut(e.l,t.l,r),alpha:Ut(e.alpha,t.alpha,r)}}},tr=Object.freeze({__proto__:null,lab:Jt,hcl:er}),rr=function(e,t,r,n,i){this.type=e,this.operator=t,this.interpolation=r,this.input=n,this.labels=[],this.outputs=[];for(var o=0,a=i;o<a.length;o+=1){var s=a[o],l=s[1];this.labels.push(s[0]),this.outputs.push(l)}};function nr(e,t,r,n){var i=n-r,o=e-r;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}rr.interpolationFactor=function(e,t,n,i){var o=0;if("exponential"===e.name)o=nr(t,e.base,n,i);else if("linear"===e.name)o=nr(t,1,n,i);else if("cubic-bezier"===e.name){var a=e.controlPoints;o=new r(a[0],a[1],a[2],a[3]).solve(nr(t,1,n,i))}return o},rr.parse=function(e,t){var r=e[0],n=e[1],i=e[2],o=e.slice(3);if(!Array.isArray(n)||0===n.length)return t.error("Expected an interpolation type expression.",1);if("linear"===n[0])n={name:"linear"};else if("exponential"===n[0]){var a=n[1];if("number"!=typeof a)return t.error("Exponential interpolation requires a numeric base.",1,1);n={name:"exponential",base:a}}else{if("cubic-bezier"!==n[0])return t.error("Unknown interpolation type "+String(n[0]),1,0);var s=n.slice(1);if(4!==s.length||s.some((function(e){return"number"!=typeof e||e<0||e>1})))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);n={name:"cubic-bezier",controlPoints:s}}if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(!(i=t.parse(i,2,Ie)))return null;var l=[],u=null;"interpolate-hcl"===r||"interpolate-lab"===r?u=Fe:t.expectedType&&"value"!==t.expectedType.kind&&(u=t.expectedType);for(var c=0;c<o.length;c+=2){var f=o[c],p=o[c+1],d=c+3,h=c+4;if("number"!=typeof f)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',d);if(l.length&&l[l.length-1][0]>=f)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',d);var v=t.parse(p,h,u);if(!v)return null;u=u||v.type,l.push([f,v])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new rr(u,r,n,i,l):t.error("Type "+We(u)+" is not interpolatable.")},rr.prototype.evaluate=function(e){var t=this.labels,r=this.outputs;if(1===t.length)return r[0].evaluate(e);var n=this.input.evaluate(e);if(n<=t[0])return r[0].evaluate(e);var i=t.length;if(n>=t[i-1])return r[i-1].evaluate(e);var o=Nt(t,n),a=rr.interpolationFactor(this.interpolation,n,t[o],t[o+1]),s=r[o].evaluate(e),l=r[o+1].evaluate(e);return"interpolate"===this.operator?Ht[this.type.kind.toLowerCase()](s,l,a):"interpolate-hcl"===this.operator?er.reverse(er.interpolate(er.forward(s),er.forward(l),a)):Jt.reverse(Jt.interpolate(Jt.forward(s),Jt.forward(l),a))},rr.prototype.eachChild=function(e){e(this.input);for(var t=0,r=this.outputs;t<r.length;t+=1)e(r[t])},rr.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))},rr.prototype.serialize=function(){var e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var t=[this.operator,e,this.input.serialize()],r=0;r<this.labels.length;r++)t.push(this.labels[r],this.outputs[r].serialize());return t};var ir=function(e,t){this.type=e,this.args=t};ir.parse=function(e,t){if(e.length<2)return t.error("Expectected at least one argument.");var r=null,n=t.expectedType;n&&"value"!==n.kind&&(r=n);for(var i=[],o=0,a=e.slice(1);o<a.length;o+=1){var s=t.parse(a[o],1+i.length,r,void 0,{typeAnnotation:"omit"});if(!s)return null;r=r||s.type,i.push(s)}var l=n&&i.some((function(e){return qe(n,e.type)}));return new ir(l?ze:r,i)},ir.prototype.evaluate=function(e){for(var t,r=null,n=0,i=0,o=this.args;i<o.length&&(n++,(r=o[i].evaluate(e))&&r instanceof tt&&!r.available&&(t||(t=r.name),r=null,n===this.args.length&&(r=t)),null===r);i+=1);return r},ir.prototype.eachChild=function(e){this.args.forEach(e)},ir.prototype.outputDefined=function(){return this.args.every((function(e){return e.outputDefined()}))},ir.prototype.serialize=function(){var e=["coalesce"];return this.eachChild((function(t){e.push(t.serialize())})),e};var or=function(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t};or.prototype.evaluate=function(e){return this.result.evaluate(e)},or.prototype.eachChild=function(e){for(var t=0,r=this.bindings;t<r.length;t+=1)e(r[t][1]);e(this.result)},or.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found "+(e.length-1)+" instead.");for(var r=[],n=1;n<e.length-1;n+=2){var i=e[n];if("string"!=typeof i)return t.error("Expected string, but found "+typeof i+" instead.",n);if(/[^a-zA-Z0-9_]/.test(i))return t.error("Variable names must contain only alphanumeric characters or '_'.",n);var o=t.parse(e[n+1],n+1);if(!o)return null;r.push([i,o])}var a=t.parse(e[e.length-1],e.length-1,t.expectedType,r);return a?new or(r,a):null},or.prototype.outputDefined=function(){return this.result.outputDefined()},or.prototype.serialize=function(){for(var e=["let"],t=0,r=this.bindings;t<r.length;t+=1){var n=r[t];e.push(n[0],n[1].serialize())}return e.push(this.result.serialize()),e};var ar=function(e,t,r){this.type=e,this.index=t,this.input=r};ar.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var r=t.parse(e[1],1,Ie),n=t.parse(e[2],2,Qe(t.expectedType||ze));return r&&n?new ar(n.type.itemType,r,n):null},ar.prototype.evaluate=function(e){var t=this.index.evaluate(e),r=this.input.evaluate(e);if(t<0)throw new st("Array index out of bounds: "+t+" < 0.");if(t>=r.length)throw new st("Array index out of bounds: "+t+" > "+(r.length-1)+".");if(t!==Math.floor(t))throw new st("Array index must be an integer, but found "+t+" instead.");return r[t]},ar.prototype.eachChild=function(e){e(this.index),e(this.input)},ar.prototype.outputDefined=function(){return!1},ar.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var sr=function(e,t){this.type=Re,this.needle=e,this.haystack=t};sr.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var r=t.parse(e[1],1,ze),n=t.parse(e[2],2,ze);return r&&n?Ge(r.type,[Re,je,Ie,De,ze])?new sr(r,n):t.error("Expected first argument to be of type boolean, string, number or null, but found "+We(r.type)+" instead"):null},sr.prototype.evaluate=function(e){var t=this.needle.evaluate(e),r=this.haystack.evaluate(e);if(!r)return!1;if(!$e(t,["boolean","string","number","null"]))throw new st("Expected first argument to be of type boolean, string, number or null, but found "+We(it(t))+" instead.");if(!$e(r,["string","array"]))throw new st("Expected second argument to be of type array or string, but found "+We(it(r))+" instead.");return r.indexOf(t)>=0},sr.prototype.eachChild=function(e){e(this.needle),e(this.haystack)},sr.prototype.outputDefined=function(){return!0},sr.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var lr=function(e,t,r){this.type=Ie,this.needle=e,this.haystack=t,this.fromIndex=r};lr.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var r=t.parse(e[1],1,ze),n=t.parse(e[2],2,ze);if(!r||!n)return null;if(!Ge(r.type,[Re,je,Ie,De,ze]))return t.error("Expected first argument to be of type boolean, string, number or null, but found "+We(r.type)+" instead");if(4===e.length){var i=t.parse(e[3],3,Ie);return i?new lr(r,n,i):null}return new lr(r,n)},lr.prototype.evaluate=function(e){var t=this.needle.evaluate(e),r=this.haystack.evaluate(e);if(!$e(t,["boolean","string","number","null"]))throw new st("Expected first argument to be of type boolean, string, number or null, but found "+We(it(t))+" instead.");if(!$e(r,["string","array"]))throw new st("Expected second argument to be of type array or string, but found "+We(it(r))+" instead.");if(this.fromIndex){var n=this.fromIndex.evaluate(e);return r.indexOf(t,n)}return r.indexOf(t)},lr.prototype.eachChild=function(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)},lr.prototype.outputDefined=function(){return!1},lr.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ur=function(e,t,r,n,i,o){this.inputType=e,this.type=t,this.input=r,this.cases=n,this.outputs=i,this.otherwise=o};ur.parse=function(e,t){if(e.length<5)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if(e.length%2!=1)return t.error("Expected an even number of arguments.");var r,n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);for(var i={},o=[],a=2;a<e.length-1;a+=2){var s=e[a],l=e[a+1];Array.isArray(s)||(s=[s]);var u=t.concat(a);if(0===s.length)return u.error("Expected at least one branch label.");for(var c=0,f=s;c<f.length;c+=1){var p=f[c];if("number"!=typeof p&&"string"!=typeof p)return u.error("Branch labels must be numbers or strings.");if("number"==typeof p&&Math.abs(p)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof p&&Math.floor(p)!==p)return u.error("Numeric branch labels must be integer values.");if(r){if(u.checkSubtype(r,it(p)))return null}else r=it(p);if(void 0!==i[String(p)])return u.error("Branch labels must be unique.");i[String(p)]=o.length}var d=t.parse(l,a,n);if(!d)return null;n=n||d.type,o.push(d)}var h=t.parse(e[1],1,ze);if(!h)return null;var v=t.parse(e[e.length-1],e.length-1,n);return v?"value"!==h.type.kind&&t.concat(1).checkSubtype(r,h.type)?null:new ur(r,n,h,i,o,v):null},ur.prototype.evaluate=function(e){var t=this.input.evaluate(e);return(it(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)},ur.prototype.eachChild=function(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)},ur.prototype.outputDefined=function(){return this.outputs.every((function(e){return e.outputDefined()}))&&this.otherwise.outputDefined()},ur.prototype.serialize=function(){for(var e=this,t=["match",this.input.serialize()],r=[],n={},i=0,o=Object.keys(this.cases).sort();i<o.length;i+=1){var a=o[i];void 0===(f=n[this.cases[a]])?(n[this.cases[a]]=r.length,r.push([this.cases[a],[a]])):r[f][1].push(a)}for(var s=function(t){return"number"===e.inputType.kind?Number(t):t},l=0,u=r;l<u.length;l+=1){var c=u[l],f=c[0],p=c[1];t.push(1===p.length?s(p[0]):p.map(s)),t.push(this.outputs[outputIndex$1].serialize())}return t.push(this.otherwise.serialize()),t};var cr=function(e,t,r){this.type=e,this.branches=t,this.otherwise=r};cr.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found only "+(e.length-1)+".");if(e.length%2!=0)return t.error("Expected an odd number of arguments.");var r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);for(var n=[],i=1;i<e.length-1;i+=2){var o=t.parse(e[i],i,Re);if(!o)return null;var a=t.parse(e[i+1],i+1,r);if(!a)return null;n.push([o,a]),r=r||a.type}var s=t.parse(e[e.length-1],e.length-1,r);return s?new cr(r,n,s):null},cr.prototype.evaluate=function(e){for(var t=0,r=this.branches;t<r.length;t+=1){var n=r[t],i=n[1];if(n[0].evaluate(e))return i.evaluate(e)}return this.otherwise.evaluate(e)},cr.prototype.eachChild=function(e){for(var t=0,r=this.branches;t<r.length;t+=1){var n=r[t],i=n[1];e(n[0]),e(i)}e(this.otherwise)},cr.prototype.outputDefined=function(){return this.branches.every((function(e){return e[1].outputDefined()}))&&this.otherwise.outputDefined()},cr.prototype.serialize=function(){var e=["case"];return this.eachChild((function(t){e.push(t.serialize())})),e};var fr=function(e,t,r,n){this.type=e,this.input=t,this.beginIndex=r,this.endIndex=n};function pr(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function dr(e,t,r,n){return 0===n.compare(t,r)}function hr(e,t,r){var n="=="!==e&&"!="!==e;return function(){function i(e,t,r){this.type=Re,this.lhs=e,this.rhs=t,this.collator=r,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}return i.parse=function(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");var r=e[0],o=t.parse(e[1],1,ze);if(!o)return null;if(!pr(r,o.type))return t.concat(1).error('"'+r+"\" comparisons are not supported for type '"+We(o.type)+"'.");var a=t.parse(e[2],2,ze);if(!a)return null;if(!pr(r,a.type))return t.concat(2).error('"'+r+"\" comparisons are not supported for type '"+We(a.type)+"'.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error("Cannot compare types '"+We(o.type)+"' and '"+We(a.type)+"'.");n&&("value"===o.type.kind&&"value"!==a.type.kind?o=new ut(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new ut(o.type,[a])));var s=null;if(4===e.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(!(s=t.parse(e[3],3,Ue)))return null}return new i(o,a,s)},i.prototype.evaluate=function(i){var o=this.lhs.evaluate(i),a=this.rhs.evaluate(i);if(n&&this.hasUntypedArgument){var s=it(o),l=it(a);if(s.kind!==l.kind||"string"!==s.kind&&"number"!==s.kind)throw new st('Expected arguments for "'+e+'" to be (string, string) or (number, number), but found ('+s.kind+", "+l.kind+") instead.")}if(this.collator&&!n&&this.hasUntypedArgument){var u=it(o),c=it(a);if("string"!==u.kind||"string"!==c.kind)return t(i,o,a)}return this.collator?r(i,o,a,this.collator.evaluate(i)):t(i,o,a)},i.prototype.eachChild=function(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)},i.prototype.outputDefined=function(){return!0},i.prototype.serialize=function(){var t=[e];return this.eachChild((function(e){t.push(e.serialize())})),t},i}()}fr.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var r=t.parse(e[1],1,ze),n=t.parse(e[2],2,Ie);if(!r||!n)return null;if(!Ge(r.type,[Qe(ze),je,ze]))return t.error("Expected first argument to be of type array or string, but found "+We(r.type)+" instead");if(4===e.length){var i=t.parse(e[3],3,Ie);return i?new fr(r.type,r,n,i):null}return new fr(r.type,r,n)},fr.prototype.evaluate=function(e){var t=this.input.evaluate(e),r=this.beginIndex.evaluate(e);if(!$e(t,["string","array"]))throw new st("Expected first argument to be of type array or string, but found "+We(it(t))+" instead.");if(this.endIndex){var n=this.endIndex.evaluate(e);return t.slice(r,n)}return t.slice(r)},fr.prototype.eachChild=function(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)},fr.prototype.outputDefined=function(){return!1},fr.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var vr=hr("==",(function(e,t,r){return t===r}),dr),mr=hr("!=",(function(e,t,r){return t!==r}),(function(e,t,r,n){return!dr(0,t,r,n)})),gr=hr("<",(function(e,t,r){return t<r}),(function(e,t,r,n){return n.compare(t,r)<0})),yr=hr(">",(function(e,t,r){return t>r}),(function(e,t,r,n){return n.compare(t,r)>0})),br=hr("<=",(function(e,t,r){return t<=r}),(function(e,t,r,n){return n.compare(t,r)<=0})),xr=hr(">=",(function(e,t,r){return t>=r}),(function(e,t,r,n){return n.compare(t,r)>=0})),Ar=function(e,t,r,n,i){this.type=je,this.number=e,this.locale=t,this.currency=r,this.minFractionDigits=n,this.maxFractionDigits=i};Ar.parse=function(e,t){if(3!==e.length)return t.error("Expected two arguments.");var r=t.parse(e[1],1,Ie);if(!r)return null;var n=e[2];if("object"!=typeof n||Array.isArray(n))return t.error("NumberFormat options argument must be an object.");var i=null;if(n.locale&&!(i=t.parse(n.locale,1,je)))return null;var o=null;if(n.currency&&!(o=t.parse(n.currency,1,je)))return null;var a=null;if(n["min-fraction-digits"]&&!(a=t.parse(n["min-fraction-digits"],1,Ie)))return null;var s=null;return n["max-fraction-digits"]&&!(s=t.parse(n["max-fraction-digits"],1,Ie))?null:new Ar(r,i,o,a,s)},Ar.prototype.evaluate=function(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))},Ar.prototype.eachChild=function(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)},Ar.prototype.outputDefined=function(){return!1},Ar.prototype.serialize=function(){var e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]};var wr=function(e){this.type=Ie,this.input=e};wr.parse=function(e,t){if(2!==e.length)return t.error("Expected 1 argument, but found "+(e.length-1)+" instead.");var r=t.parse(e[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?t.error("Expected argument of type string or array, but found "+We(r.type)+" instead."):new wr(r):null},wr.prototype.evaluate=function(e){var t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new st("Expected value to be of type string or array, but found "+We(it(t))+" instead.")},wr.prototype.eachChild=function(e){e(this.input)},wr.prototype.outputDefined=function(){return!1},wr.prototype.serialize=function(){var e=["length"];return this.eachChild((function(t){e.push(t.serialize())})),e};var _r={"==":vr,"!=":mr,">":yr,"<":gr,">=":xr,"<=":br,array:ut,at:ar,boolean:ut,case:cr,coalesce:ir,collator:gt,format:ct,image:ft,in:sr,"index-of":lr,interpolate:rr,"interpolate-hcl":rr,"interpolate-lab":rr,length:wr,let:or,literal:at,match:ur,number:ut,"number-format":Ar,object:ut,slice:fr,step:zt,string:ut,"to-boolean":dt,"to-color":dt,"to-number":dt,"to-string":dt,var:Rt,within:Lt};function Er(e,t){var r=t[0],n=t[1],i=t[2],o=t[3];r=r.evaluate(e),n=n.evaluate(e),i=i.evaluate(e);var a=o?o.evaluate(e):1,s=rt(r,n,i,a);if(s)throw new st(s);return new Xe(r/255*a,n/255*a,i/255*a,a)}function kr(e,t){return e in t}function Tr(e,t){var r=t[e];return void 0===r?null:r}function Cr(e){return{type:e}}function Sr(e){return{result:"success",value:e}}function Or(e){return{result:"error",value:e}}function Mr(e){return"data-driven"===e["property-type"]||"cross-faded-data-driven"===e["property-type"]}function Pr(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function Br(e){return!!e.expression&&e.expression.interpolated}function Lr(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":typeof e}function Dr(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Ir(e){return e}function jr(e,t,r){return void 0!==e?e:void 0!==t?t:void 0!==r?r:void 0}function Rr(e,t,r,n,i){return jr(typeof r===i?n[r]:void 0,e.default,t.default)}function Fr(e,t,r){if("number"!==Lr(r))return jr(e.default,t.default);var n=e.stops.length;if(1===n)return e.stops[0][1];if(r<=e.stops[0][0])return e.stops[0][1];if(r>=e.stops[n-1][0])return e.stops[n-1][1];var i=Nt(e.stops.map((function(e){return e[0]})),r);return e.stops[i][1]}function Nr(e,t,r){var n=void 0!==e.base?e.base:1;if("number"!==Lr(r))return jr(e.default,t.default);var i=e.stops.length;if(1===i)return e.stops[0][1];if(r<=e.stops[0][0])return e.stops[0][1];if(r>=e.stops[i-1][0])return e.stops[i-1][1];var o=Nt(e.stops.map((function(e){return e[0]})),r),a=function(e,t,r,n){var i=n-r,o=e-r;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}(r,n,e.stops[o][0],e.stops[o+1][0]),s=e.stops[o][1],l=e.stops[o+1][1],u=Ht[t.type]||Ir;if(e.colorSpace&&"rgb"!==e.colorSpace){var c=tr[e.colorSpace];u=function(e,t){return c.reverse(c.interpolate(c.forward(e),c.forward(t),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=s.evaluate.apply(void 0,e),n=l.evaluate.apply(void 0,e);if(void 0!==r&&void 0!==n)return u(r,n,a)}}:u(s,l,a)}function zr(e,t,r){return"color"===t.type?r=Xe.parse(r):"formatted"===t.type?r=et.fromString(r.toString()):"resolvedImage"===t.type?r=tt.fromString(r.toString()):Lr(r)===t.type||"enum"===t.type&&t.values[r]||(r=void 0),jr(r,e.default,t.default)}mt.register(_r,{error:[{kind:"error"},[je],function(e,t){throw new st(t[0].evaluate(e))}],typeof:[je,[ze],function(e,t){return We(it(t[0].evaluate(e)))}],"to-rgba":[Qe(Ie,4),[Fe],function(e,t){return t[0].evaluate(e).toArray()}],rgb:[Fe,[Ie,Ie,Ie],Er],rgba:[Fe,[Ie,Ie,Ie,Ie],Er],has:{type:Re,overloads:[[[je],function(e,t){return kr(t[0].evaluate(e),e.properties())}],[[je,Ne],function(e,t){var r=t[1];return kr(t[0].evaluate(e),r.evaluate(e))}]]},get:{type:ze,overloads:[[[je],function(e,t){return Tr(t[0].evaluate(e),e.properties())}],[[je,Ne],function(e,t){var r=t[1];return Tr(t[0].evaluate(e),r.evaluate(e))}]]},"feature-state":[ze,[je],function(e,t){return Tr(t[0].evaluate(e),e.featureState||{})}],properties:[Ne,[],function(e){return e.properties()}],"geometry-type":[je,[],function(e){return e.geometryType()}],id:[ze,[],function(e){return e.id()}],zoom:[Ie,[],function(e){return e.globals.zoom}],"heatmap-density":[Ie,[],function(e){return e.globals.heatmapDensity||0}],"line-progress":[Ie,[],function(e){return e.globals.lineProgress||0}],accumulated:[ze,[],function(e){return void 0===e.globals.accumulated?null:e.globals.accumulated}],"+":[Ie,Cr(Ie),function(e,t){for(var r=0,n=0,i=t;n<i.length;n+=1)r+=i[n].evaluate(e);return r}],"*":[Ie,Cr(Ie),function(e,t){for(var r=1,n=0,i=t;n<i.length;n+=1)r*=i[n].evaluate(e);return r}],"-":{type:Ie,overloads:[[[Ie,Ie],function(e,t){var r=t[1];return t[0].evaluate(e)-r.evaluate(e)}],[[Ie],function(e,t){return-t[0].evaluate(e)}]]},"/":[Ie,[Ie,Ie],function(e,t){var r=t[1];return t[0].evaluate(e)/r.evaluate(e)}],"%":[Ie,[Ie,Ie],function(e,t){var r=t[1];return t[0].evaluate(e)%r.evaluate(e)}],ln2:[Ie,[],function(){return Math.LN2}],pi:[Ie,[],function(){return Math.PI}],e:[Ie,[],function(){return Math.E}],"^":[Ie,[Ie,Ie],function(e,t){var r=t[1];return Math.pow(t[0].evaluate(e),r.evaluate(e))}],sqrt:[Ie,[Ie],function(e,t){return Math.sqrt(t[0].evaluate(e))}],log10:[Ie,[Ie],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN10}],ln:[Ie,[Ie],function(e,t){return Math.log(t[0].evaluate(e))}],log2:[Ie,[Ie],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN2}],sin:[Ie,[Ie],function(e,t){return Math.sin(t[0].evaluate(e))}],cos:[Ie,[Ie],function(e,t){return Math.cos(t[0].evaluate(e))}],tan:[Ie,[Ie],function(e,t){return Math.tan(t[0].evaluate(e))}],asin:[Ie,[Ie],function(e,t){return Math.asin(t[0].evaluate(e))}],acos:[Ie,[Ie],function(e,t){return Math.acos(t[0].evaluate(e))}],atan:[Ie,[Ie],function(e,t){return Math.atan(t[0].evaluate(e))}],min:[Ie,Cr(Ie),function(e,t){return Math.min.apply(Math,t.map((function(t){return t.evaluate(e)})))}],max:[Ie,Cr(Ie),function(e,t){return Math.max.apply(Math,t.map((function(t){return t.evaluate(e)})))}],abs:[Ie,[Ie],function(e,t){return Math.abs(t[0].evaluate(e))}],round:[Ie,[Ie],function(e,t){var r=t[0].evaluate(e);return r<0?-Math.round(-r):Math.round(r)}],floor:[Ie,[Ie],function(e,t){return Math.floor(t[0].evaluate(e))}],ceil:[Ie,[Ie],function(e,t){return Math.ceil(t[0].evaluate(e))}],"filter-==":[Re,[je,ze],function(e,t){var r=t[0],n=t[1];return e.properties()[r.value]===n.value}],"filter-id-==":[Re,[ze],function(e,t){var r=t[0];return e.id()===r.value}],"filter-type-==":[Re,[je],function(e,t){var r=t[0];return e.geometryType()===r.value}],"filter-<":[Re,[je,ze],function(e,t){var r=t[0],n=t[1],i=e.properties()[r.value],o=n.value;return typeof i==typeof o&&i<o}],"filter-id-<":[Re,[ze],function(e,t){var r=t[0],n=e.id(),i=r.value;return typeof n==typeof i&&n<i}],"filter->":[Re,[je,ze],function(e,t){var r=t[0],n=t[1],i=e.properties()[r.value],o=n.value;return typeof i==typeof o&&i>o}],"filter-id->":[Re,[ze],function(e,t){var r=t[0],n=e.id(),i=r.value;return typeof n==typeof i&&n>i}],"filter-<=":[Re,[je,ze],function(e,t){var r=t[0],n=t[1],i=e.properties()[r.value],o=n.value;return typeof i==typeof o&&i<=o}],"filter-id-<=":[Re,[ze],function(e,t){var r=t[0],n=e.id(),i=r.value;return typeof n==typeof i&&n<=i}],"filter->=":[Re,[je,ze],function(e,t){var r=t[0],n=t[1],i=e.properties()[r.value],o=n.value;return typeof i==typeof o&&i>=o}],"filter-id->=":[Re,[ze],function(e,t){var r=t[0],n=e.id(),i=r.value;return typeof n==typeof i&&n>=i}],"filter-has":[Re,[ze],function(e,t){return t[0].value in e.properties()}],"filter-has-id":[Re,[],function(e){return null!==e.id()&&void 0!==e.id()}],"filter-type-in":[Re,[Qe(je)],function(e,t){return t[0].value.indexOf(e.geometryType())>=0}],"filter-id-in":[Re,[Qe(ze)],function(e,t){return t[0].value.indexOf(e.id())>=0}],"filter-in-small":[Re,[je,Qe(ze)],function(e,t){var r=t[0];return t[1].value.indexOf(e.properties()[r.value])>=0}],"filter-in-large":[Re,[je,Qe(ze)],function(e,t){var r=t[0],n=t[1];return function(e,t,r,n){for(;r<=n;){var i=r+n>>1;if(t[i]===e)return!0;t[i]>e?n=i-1:r=i+1}return!1}(e.properties()[r.value],n.value,0,n.value.length-1)}],all:{type:Re,overloads:[[[Re,Re],function(e,t){var r=t[1];return t[0].evaluate(e)&&r.evaluate(e)}],[Cr(Re),function(e,t){for(var r=0,n=t;r<n.length;r+=1)if(!n[r].evaluate(e))return!1;return!0}]]},any:{type:Re,overloads:[[[Re,Re],function(e,t){var r=t[1];return t[0].evaluate(e)||r.evaluate(e)}],[Cr(Re),function(e,t){for(var r=0,n=t;r<n.length;r+=1)if(n[r].evaluate(e))return!0;return!1}]]},"!":[Re,[Re],function(e,t){return!t[0].evaluate(e)}],"is-supported-script":[Re,[je],function(e,t){var r=e.globals&&e.globals.isSupportedScript;return!r||r(t[0].evaluate(e))}],upcase:[je,[je],function(e,t){return t[0].evaluate(e).toUpperCase()}],downcase:[je,[je],function(e,t){return t[0].evaluate(e).toLowerCase()}],concat:[je,Cr(ze),function(e,t){return t.map((function(t){return ot(t.evaluate(e))})).join("")}],"resolved-locale":[je,[Ue],function(e,t){return t[0].evaluate(e).resolvedLocale()}]});var Ur=function(e,t){this.expression=e,this._warningHistory={},this._evaluator=new vt,this._defaultValue=t?function(e){return"color"===e.type&&Dr(e.default)?new Xe(0,0,0,0):"color"===e.type?Xe.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null};function Hr(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in _r}function Vr(e,t){var r=new Ft(_r,[],t?function(e){var t={color:Fe,string:je,number:Ie,enum:je,boolean:Re,formatted:He,resolvedImage:Ve};return"array"===e.type?Qe(t[e.value]||ze,e.length):t[e.type]}(t):void 0),n=r.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return n?Sr(new Ur(n,t)):Or(r.errors)}Ur.prototype.evaluateWithoutErrorHandling=function(e,t,r,n,i,o){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=r,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this.expression.evaluate(this._evaluator)},Ur.prototype.evaluate=function(e,t,r,n,i,o){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=r||null,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a||"number"==typeof a&&a!=a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new st("Expected value to be one of "+Object.keys(this._enumValues).map((function(e){return JSON.stringify(e)})).join(", ")+", but found "+JSON.stringify(a)+" instead.");return a}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}};var Qr=function(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!It(t.expression)};Qr.prototype.evaluateWithoutErrorHandling=function(e,t,r,n,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,r,n,i,o)},Qr.prototype.evaluate=function(e,t,r,n,i,o){return this._styleExpression.evaluate(e,t,r,n,i,o)};var Wr=function(e,t,r,n){this.kind=e,this.zoomStops=r,this._styleExpression=t,this.isStateDependent="camera"!==e&&!It(t.expression),this.interpolationType=n};function Kr(e,t){if("error"===(e=Vr(e,t)).result)return e;var r=e.value.expression,n=Dt(r);if(!n&&!Mr(t))return Or([new Be("","data expressions not supported")]);var i=jt(r,["zoom"]);if(!i&&!Pr(t))return Or([new Be("","zoom expressions not supported")]);var o=function e(t){var r=null;if(t instanceof or)r=e(t.result);else if(t instanceof ir)for(var n=0,i=t.args;n<i.length&&!(r=e(i[n]));n+=1);else(t instanceof zt||t instanceof rr)&&t.input instanceof mt&&"zoom"===t.input.name&&(r=t);return r instanceof Be||t.eachChild((function(t){var n=e(t);n instanceof Be?r=n:!r&&n?r=new Be("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&n&&r!==n&&(r=new Be("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),r}(r);return o||i?o instanceof Be?Or([o]):o instanceof rr&&!Br(t)?Or([new Be("",'"interpolate" expressions cannot be used with this property')]):Sr(o?new Wr(n?"camera":"composite",e.value,o.labels,o instanceof rr?o.interpolation:void 0):new Qr(n?"constant":"source",e.value)):Or([new Be("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}Wr.prototype.evaluateWithoutErrorHandling=function(e,t,r,n,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,r,n,i,o)},Wr.prototype.evaluate=function(e,t,r,n,i,o){return this._styleExpression.evaluate(e,t,r,n,i,o)},Wr.prototype.interpolationFactor=function(e,t,r){return this.interpolationType?rr.interpolationFactor(this.interpolationType,e,t,r):0};var qr=function(e,t){this._parameters=e,this._specification=t,Oe(this,function e(t,r){var n,i,o,a="color"===r.type,s=t.stops&&"object"==typeof t.stops[0][0],l=s||!(s||void 0!==t.property),u=t.type||(Br(r)?"exponential":"interval");if(a&&((t=Oe({},t)).stops&&(t.stops=t.stops.map((function(e){return[e[0],Xe.parse(e[1])]}))),t.default=Xe.parse(t.default?t.default:r.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!tr[t.colorSpace])throw new Error("Unknown color space: "+t.colorSpace);if("exponential"===u)n=Nr;else if("interval"===u)n=Fr;else if("categorical"===u){n=Rr,i=Object.create(null);for(var c=0,f=t.stops;c<f.length;c+=1){var p=f[c];i[p[0]]=p[1]}o=typeof t.stops[0][0]}else{if("identity"!==u)throw new Error('Unknown function type "'+u+'"');n=zr}if(s){for(var d={},h=[],v=0;v<t.stops.length;v++){var m=t.stops[v],g=m[0].zoom;void 0===d[g]&&(d[g]={zoom:g,type:t.type,property:t.property,default:t.default,stops:[]},h.push(g)),d[g].stops.push([m[0].value,m[1]])}for(var y=[],b=0,x=h;b<x.length;b+=1){var A=x[b];y.push([d[A].zoom,e(d[A],r)])}var w={name:"linear"};return{kind:"composite",interpolationType:w,interpolationFactor:rr.interpolationFactor.bind(void 0,w),zoomStops:y.map((function(e){return e[0]})),evaluate:function(e,n){var i=e.zoom;return Nr({stops:y,base:t.base},r,i).evaluate(i,n)}}}if(l){var _="exponential"===u?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:_,interpolationFactor:rr.interpolationFactor.bind(void 0,_),zoomStops:t.stops.map((function(e){return e[0]})),evaluate:function(e){return n(t,r,e.zoom,i,o)}}}return{kind:"source",evaluate:function(e,a){var s=a&&a.properties?a.properties[t.property]:void 0;return void 0===s?jr(t.default,r.default):n(t,r,s,i,o)}}}(this._parameters,this._specification))};function Gr(e){var t=e.key,r=e.value,n=e.valueSpec||{},i=e.objectElementValidators||{},o=e.style,a=e.styleSpec,s=[],l=Lr(r);if("object"!==l)return[new Ce(t,r,"object expected, "+l+" found")];for(var u in r){var c=u.split(".")[0],f=n[c]||n["*"],p=void 0;if(i[c])p=i[c];else if(n[c])p=xn;else if(i["*"])p=i["*"];else{if(!n["*"]){s.push(new Ce(t,r[u],'unknown property "'+u+'"'));continue}p=xn}s=s.concat(p({key:(t?t+".":t)+u,value:r[u],valueSpec:f,style:o,styleSpec:a,object:r,objectKey:u},r))}for(var d in n)i[d]||n[d].required&&void 0===n[d].default&&void 0===r[d]&&s.push(new Ce(t,r,'missing required property "'+d+'"'));return s}function $r(e){var t=e.value,r=e.valueSpec,n=e.style,i=e.styleSpec,o=e.key,a=e.arrayElementValidator||xn;if("array"!==Lr(t))return[new Ce(o,t,"array expected, "+Lr(t)+" found")];if(r.length&&t.length!==r.length)return[new Ce(o,t,"array length "+r.length+" expected, length "+t.length+" found")];if(r["min-length"]&&t.length<r["min-length"])return[new Ce(o,t,"array length at least "+r["min-length"]+" expected, length "+t.length+" found")];var s={type:r.value,values:r.values};i.$version<7&&(s.function=r.function),"object"===Lr(r.value)&&(s=r.value);for(var l=[],u=0;u<t.length;u++)l=l.concat(a({array:t,arrayIndex:u,value:t[u],valueSpec:s,style:n,styleSpec:i,key:o+"["+u+"]"}));return l}function Yr(e){var t=e.key,r=e.value,n=e.valueSpec,i=Lr(r);return"number"===i&&r!=r&&(i="NaN"),"number"!==i?[new Ce(t,r,"number expected, "+i+" found")]:"minimum"in n&&r<n.minimum?[new Ce(t,r,r+" is less than the minimum value "+n.minimum)]:"maximum"in n&&r>n.maximum?[new Ce(t,r,r+" is greater than the maximum value "+n.maximum)]:[]}function Xr(e){var t,r,n,i=e.valueSpec,o=Me(e.value.type),a={},s="categorical"!==o&&void 0===e.value.property,l=!s,u="array"===Lr(e.value.stops)&&"array"===Lr(e.value.stops[0])&&"object"===Lr(e.value.stops[0][0]),c=Gr({key:e.key,value:e.value,valueSpec:e.styleSpec.function,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{stops:function(e){if("identity"===o)return[new Ce(e.key,e.value,'identity function may not have a "stops" property')];var t=[],r=e.value;return t=t.concat($r({key:e.key,value:r,valueSpec:e.valueSpec,style:e.style,styleSpec:e.styleSpec,arrayElementValidator:f})),"array"===Lr(r)&&0===r.length&&t.push(new Ce(e.key,r,"array must have at least one stop")),t},default:function(e){return xn({key:e.key,value:e.value,valueSpec:i,style:e.style,styleSpec:e.styleSpec})}}});return"identity"===o&&s&&c.push(new Ce(e.key,e.value,'missing required property "property"')),"identity"===o||e.value.stops||c.push(new Ce(e.key,e.value,'missing required property "stops"')),"exponential"===o&&e.valueSpec.expression&&!Br(e.valueSpec)&&c.push(new Ce(e.key,e.value,"exponential functions not supported")),e.styleSpec.$version>=8&&(l&&!Mr(e.valueSpec)?c.push(new Ce(e.key,e.value,"property functions not supported")):s&&!Pr(e.valueSpec)&&c.push(new Ce(e.key,e.value,"zoom functions not supported"))),"categorical"!==o&&!u||void 0!==e.value.property||c.push(new Ce(e.key,e.value,'"property" property is required')),c;function f(e){var t=[],o=e.value,s=e.key;if("array"!==Lr(o))return[new Ce(s,o,"array expected, "+Lr(o)+" found")];if(2!==o.length)return[new Ce(s,o,"array length 2 expected, length "+o.length+" found")];if(u){if("object"!==Lr(o[0]))return[new Ce(s,o,"object expected, "+Lr(o[0])+" found")];if(void 0===o[0].zoom)return[new Ce(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new Ce(s,o,"object stop key must have value")];if(n&&n>Me(o[0].zoom))return[new Ce(s,o[0].zoom,"stop zoom values must appear in ascending order")];Me(o[0].zoom)!==n&&(n=Me(o[0].zoom),r=void 0,a={}),t=t.concat(Gr({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{zoom:Yr,value:p}}))}else t=t.concat(p({key:s+"[0]",value:o[0],valueSpec:{},style:e.style,styleSpec:e.styleSpec},o));return Hr(Pe(o[1]))?t.concat([new Ce(s+"[1]",o[1],"expressions are not allowed in function stops.")]):t.concat(xn({key:s+"[1]",value:o[1],valueSpec:i,style:e.style,styleSpec:e.styleSpec}))}function p(e,n){var s=Lr(e.value),l=Me(e.value),u=null!==e.value?e.value:n;if(t){if(s!==t)return[new Ce(e.key,u,s+" stop domain type must match previous stop domain type "+t)]}else t=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new Ce(e.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var c="number expected, "+s+" found";return Mr(i)&&void 0===o&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ce(e.key,u,c)]}return"categorical"!==o||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==o&&"number"===s&&void 0!==r&&l<r?[new Ce(e.key,u,"stop domain values must appear in ascending order")]:(r=l,"categorical"===o&&l in a?[new Ce(e.key,u,"stop domain values must be unique")]:(a[l]=!0,[])):[new Ce(e.key,u,"integer expected, found "+l)]}}function Zr(e){var t=("property"===e.expressionContext?Kr:Vr)(Pe(e.value),e.valueSpec);if("error"===t.result)return t.value.map((function(t){return new Ce(""+e.key+t.key,e.value,t.message)}));var r=t.value.expression||t.value._styleExpression.expression;if("property"===e.expressionContext&&"text-font"===e.propertyKey&&!r.outputDefined())return[new Ce(e.key,e.value,'Invalid data expression for "'+e.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===e.expressionContext&&"layout"===e.propertyType&&!It(r))return[new Ce(e.key,e.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===e.expressionContext&&!It(r))return[new Ce(e.key,e.value,'"feature-state" data expressions are not supported with filters.')];if(e.expressionContext&&0===e.expressionContext.indexOf("cluster")){if(!jt(r,["zoom","feature-state"]))return[new Ce(e.key,e.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===e.expressionContext&&!Dt(r))return[new Ce(e.key,e.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Jr(e){var t=e.key,r=e.value,n=e.valueSpec,i=[];return Array.isArray(n.values)?-1===n.values.indexOf(Me(r))&&i.push(new Ce(t,r,"expected one of ["+n.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(n.values).indexOf(Me(r))&&i.push(new Ce(t,r,"expected one of ["+Object.keys(n.values).join(", ")+"], "+JSON.stringify(r)+" found")),i}function en(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(var t=0,r=e.slice(1);t<r.length;t+=1){var n=r[t];if(!en(n)&&"boolean"!=typeof n)return!1}return!0;default:return!0}}qr.deserialize=function(e){return new qr(e._parameters,e._specification)},qr.serialize=function(e){return{_parameters:e._parameters,_specification:e._specification}};var tn={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function rn(e){if(null==e)return{filter:function(){return!0},needGeometry:!1};en(e)||(e=on(e));var t=Vr(e,tn);if("error"===t.result)throw new Error(t.value.map((function(e){return e.key+": "+e.message})).join(", "));return{filter:function(e,r,n){return t.value.evaluate(e,r,{},n)},needGeometry:function e(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(var r=1;r<t.length;r++)if(e(t[r]))return!0;return!1}(e)}}function nn(e,t){return e<t?-1:e>t?1:0}function on(e){if(!e)return!0;var t,r=e[0];return e.length<=1?"any"!==r:"=="===r?an(e[1],e[2],"=="):"!="===r?un(an(e[1],e[2],"==")):"<"===r||">"===r||"<="===r||">="===r?an(e[1],e[2],r):"any"===r?(t=e.slice(1),["any"].concat(t.map(on))):"all"===r?["all"].concat(e.slice(1).map(on)):"none"===r?["all"].concat(e.slice(1).map(on).map(un)):"in"===r?sn(e[1],e.slice(2)):"!in"===r?un(sn(e[1],e.slice(2))):"has"===r?ln(e[1]):"!has"===r?un(ln(e[1])):"within"!==r||e}function an(e,t,r){switch(e){case"$type":return["filter-type-"+r,t];case"$id":return["filter-id-"+r,t];default:return["filter-"+r,e,t]}}function sn(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((function(e){return typeof e!=typeof t[0]}))?["filter-in-large",e,["literal",t.sort(nn)]]:["filter-in-small",e,["literal",t]]}}function ln(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function un(e){return["!",e]}function cn(e){return en(Pe(e.value))?Zr(Oe({},e,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function e(t){var r=t.value,n=t.key;if("array"!==Lr(r))return[new Ce(n,r,"array expected, "+Lr(r)+" found")];var i,o=t.styleSpec,a=[];if(r.length<1)return[new Ce(n,r,"filter array must have at least 1 element")];switch(a=a.concat(Jr({key:n+"[0]",value:r[0],valueSpec:o.filter_operator,style:t.style,styleSpec:t.styleSpec})),Me(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===Me(r[1])&&a.push(new Ce(n,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&a.push(new Ce(n,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(i=Lr(r[1]))&&a.push(new Ce(n+"[1]",r[1],"string expected, "+i+" found"));for(var s=2;s<r.length;s++)i=Lr(r[s]),"$type"===Me(r[1])?a=a.concat(Jr({key:n+"["+s+"]",value:r[s],valueSpec:o.geometry_type,style:t.style,styleSpec:t.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&a.push(new Ce(n+"["+s+"]",r[s],"string, number, or boolean expected, "+i+" found"));break;case"any":case"all":case"none":for(var l=1;l<r.length;l++)a=a.concat(e({key:n+"["+l+"]",value:r[l],style:t.style,styleSpec:t.styleSpec}));break;case"has":case"!has":i=Lr(r[1]),2!==r.length?a.push(new Ce(n,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==i&&a.push(new Ce(n+"[1]",r[1],"string expected, "+i+" found"));break;case"within":i=Lr(r[1]),2!==r.length?a.push(new Ce(n,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"object"!==i&&a.push(new Ce(n+"[1]",r[1],"object expected, "+i+" found"))}return a}(e)}function fn(e,t){var r=e.key,n=e.style,i=e.styleSpec,o=e.value,a=e.objectKey,s=i[t+"_"+e.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if("paint"===t&&l&&s[l[1]]&&s[l[1]].transition)return xn({key:r,value:o,valueSpec:i.transition,style:n,styleSpec:i});var u,c=e.valueSpec||s[a];if(!c)return[new Ce(r,o,'unknown property "'+a+'"')];if("string"===Lr(o)&&Mr(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o)))return[new Ce(r,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")];var f=[];return"symbol"===e.layerType&&("text-field"===a&&n&&!n.glyphs&&f.push(new Ce(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&Dr(Pe(o))&&"identity"===Me(o.type)&&f.push(new Ce(r,o,'"text-font" does not support identity functions'))),f.concat(xn({key:e.key,value:o,valueSpec:c,style:n,styleSpec:i,expressionContext:"property",propertyType:t,propertyKey:a}))}function pn(e){return fn(e,"paint")}function dn(e){return fn(e,"layout")}function hn(e){var t=[],r=e.value,n=e.key,i=e.style,o=e.styleSpec;r.type||r.ref||t.push(new Ce(n,r,'either "type" or "ref" is required'));var a,s=Me(r.type),l=Me(r.ref);if(r.id)for(var u=Me(r.id),c=0;c<e.arrayIndex;c++){var f=i.layers[c];Me(f.id)===u&&t.push(new Ce(n,r.id,'duplicate layer id "'+r.id+'", previously used at line '+f.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(e){e in r&&t.push(new Ce(n,r[e],'"'+e+'" is prohibited for ref layers'))})),i.layers.forEach((function(e){Me(e.id)===l&&(a=e)})),a?a.ref?t.push(new Ce(n,r.ref,"ref cannot reference another ref layer")):s=Me(a.type):t.push(new Ce(n,r.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(r.source){var p=i.sources&&i.sources[r.source],d=p&&Me(p.type);p?"vector"===d&&"raster"===s?t.push(new Ce(n,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===d&&"raster"!==s?t.push(new Ce(n,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==d||r["source-layer"]?"raster-dem"===d&&"hillshade"!==s?t.push(new Ce(n,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===d&&p.lineMetrics||t.push(new Ce(n,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):t.push(new Ce(n,r,'layer "'+r.id+'" must specify a "source-layer"')):t.push(new Ce(n,r.source,'source "'+r.source+'" not found'))}else t.push(new Ce(n,r,'missing required property "source"'));return t=t.concat(Gr({key:n,value:r,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return xn({key:n+".type",value:r.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,object:r,objectKey:"type"})},filter:cn,layout:function(e){return Gr({layer:r,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return dn(Oe({layerType:s},e))}}})},paint:function(e){return Gr({layer:r,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return pn(Oe({layerType:s},e))}}})}}}))}function vn(e){var t=e.value,r=e.key,n=Lr(t);return"string"!==n?[new Ce(r,t,"string expected, "+n+" found")]:[]}var mn={promoteId:function(e){var t=e.key,r=e.value;if("string"===Lr(r))return vn({key:t,value:r});var n=[];for(var i in r)n.push.apply(n,vn({key:t+"."+i,value:r[i]}));return n}};function gn(e){var t=e.value,r=e.key,n=e.styleSpec,i=e.style;if(!t.type)return[new Ce(r,t,'"type" is required')];var o,a=Me(t.type);switch(a){case"vector":case"raster":case"raster-dem":return Gr({key:r,value:t,valueSpec:n["source_"+a.replace("-","_")],style:e.style,styleSpec:n,objectElementValidators:mn});case"geojson":if(o=Gr({key:r,value:t,valueSpec:n.source_geojson,style:i,styleSpec:n,objectElementValidators:mn}),t.cluster)for(var s in t.clusterProperties){var l=t.clusterProperties[s],u=l[0],c="string"==typeof u?[u,["accumulated"],["get",s]]:u;o.push.apply(o,Zr({key:r+"."+s+".map",value:l[1],expressionContext:"cluster-map"})),o.push.apply(o,Zr({key:r+"."+s+".reduce",value:c,expressionContext:"cluster-reduce"}))}return o;case"video":return Gr({key:r,value:t,valueSpec:n.source_video,style:i,styleSpec:n});case"image":return Gr({key:r,value:t,valueSpec:n.source_image,style:i,styleSpec:n});case"canvas":return[new Ce(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Jr({key:r+".type",value:t.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:n})}}function yn(e){var t=e.value,r=e.styleSpec,n=r.light,i=e.style,o=[],a=Lr(t);if(void 0===t)return o;if("object"!==a)return o.concat([new Ce("light",t,"object expected, "+a+" found")]);for(var s in t){var l=s.match(/^(.*)-transition$/);o=o.concat(l&&n[l[1]]&&n[l[1]].transition?xn({key:s,value:t[s],valueSpec:r.transition,style:i,styleSpec:r}):n[s]?xn({key:s,value:t[s],valueSpec:n[s],style:i,styleSpec:r}):[new Ce(s,t[s],'unknown property "'+s+'"')])}return o}var bn={"*":function(){return[]},array:$r,boolean:function(e){var t=e.value,r=e.key,n=Lr(t);return"boolean"!==n?[new Ce(r,t,"boolean expected, "+n+" found")]:[]},number:Yr,color:function(e){var t=e.key,r=e.value,n=Lr(r);return"string"!==n?[new Ce(t,r,"color expected, "+n+" found")]:null===Ye(r)?[new Ce(t,r,'color expected, "'+r+'" found')]:[]},constants:Se,enum:Jr,filter:cn,function:Xr,layer:hn,object:Gr,source:gn,light:yn,string:vn,formatted:function(e){return 0===vn(e).length?[]:Zr(e)},resolvedImage:function(e){return 0===vn(e).length?[]:Zr(e)}};function xn(e){var t=e.value,r=e.valueSpec,n=e.styleSpec;return r.expression&&Dr(Me(t))?Xr(e):r.expression&&Hr(Pe(t))?Zr(e):r.type&&bn[r.type]?bn[r.type](e):Gr(Oe({},e,{valueSpec:r.type?n[r.type]:r}))}function An(e){var t=e.value,r=e.key,n=vn(e);return n.length||(-1===t.indexOf("{fontstack}")&&n.push(new Ce(r,t,'"glyphs" url must include a "{fontstack}" token')),-1===t.indexOf("{range}")&&n.push(new Ce(r,t,'"glyphs" url must include a "{range}" token'))),n}function wn(e,t){void 0===t&&(t=Te);var r=[];return r=r.concat(xn({key:"",value:e,valueSpec:t.$root,styleSpec:t,style:e,objectElementValidators:{glyphs:An,"*":function(){return[]}}})),e.constants&&(r=r.concat(Se({key:"constants",value:e.constants,style:e,styleSpec:t}))),_n(r)}function _n(e){return[].concat(e).sort((function(e,t){return e.line-t.line}))}function En(e){return function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return _n(e.apply(this,t))}}wn.source=En(gn),wn.light=En(yn),wn.layer=En(hn),wn.filter=En(cn),wn.paintProperty=En(pn),wn.layoutProperty=En(dn);var kn=wn,Tn=kn.light,Cn=kn.paintProperty,Sn=kn.layoutProperty;function On(e,t){var r=!1;if(t&&t.length)for(var n=0,i=t;n<i.length;n+=1)e.fire(new Ee(new Error(i[n].message))),r=!0;return r}var Mn=Pn;function Pn(e,t,r){var n=this.cells=[];if(e instanceof ArrayBuffer){this.arrayBuffer=e;var i=new Int32Array(this.arrayBuffer);e=i[0],this.d=(t=i[1])+2*(r=i[2]);for(var o=0;o<this.d*this.d;o++){var a=i[3+o],s=i[3+o+1];n.push(a===s?null:i.subarray(a,s))}var l=i[3+n.length+1];this.keys=i.subarray(i[3+n.length],l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly}else{this.d=t+2*r;for(var u=0;u<this.d*this.d;u++)n.push([]);this.keys=[],this.bboxes=[]}this.n=t,this.extent=e,this.padding=r,this.scale=t/e,this.uid=0;var c=r/t*e;this.min=-c,this.max=e+c}Pn.prototype.insert=function(e,t,r,n,i){this._forEachCell(t,r,n,i,this._insertCell,this.uid++),this.keys.push(e),this.bboxes.push(t),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)},Pn.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},Pn.prototype._insertCell=function(e,t,r,n,i,o){this.cells[i].push(o)},Pn.prototype.query=function(e,t,r,n,i){var o=this.min,a=this.max;if(e<=o&&t<=o&&a<=r&&a<=n&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(e,t,r,n,this._queryCell,s,{},i),s},Pn.prototype._queryCell=function(e,t,r,n,i,o,a,s){var l=this.cells[i];if(null!==l)for(var u=this.keys,c=this.bboxes,f=0;f<l.length;f++){var p=l[f];if(void 0===a[p]){var d=4*p;(s?s(c[d+0],c[d+1],c[d+2],c[d+3]):e<=c[d+2]&&t<=c[d+3]&&r>=c[d+0]&&n>=c[d+1])?(a[p]=!0,o.push(u[p])):a[p]=!1}}},Pn.prototype._forEachCell=function(e,t,r,n,i,o,a,s){for(var l=this._convertToCellCoord(e),u=this._convertToCellCoord(t),c=this._convertToCellCoord(r),f=this._convertToCellCoord(n),p=l;p<=c;p++)for(var d=u;d<=f;d++){var h=this.d*d+p;if((!s||s(this._convertFromCellCoord(p),this._convertFromCellCoord(d),this._convertFromCellCoord(p+1),this._convertFromCellCoord(d+1)))&&i.call(this,e,t,r,n,h,o,a,s))return}},Pn.prototype._convertFromCellCoord=function(e){return(e-this.padding)/this.scale},Pn.prototype._convertToCellCoord=function(e){return Math.max(0,Math.min(this.d-1,Math.floor(e*this.scale)+this.padding))},Pn.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var e=this.cells,t=3+this.cells.length+1+1,r=0,n=0;n<this.cells.length;n++)r+=this.cells[n].length;var i=new Int32Array(t+r+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var o=t,a=0;a<e.length;a++){var s=e[a];i[3+a]=o,i.set(s,o),o+=s.length}return i[3+e.length]=o,i.set(this.keys,o),i[3+e.length+1]=o+=this.keys.length,i.set(this.bboxes,o),o+=this.bboxes.length,i.buffer};var Bn=self.ImageData,Ln=self.ImageBitmap,Dn={};function In(e,t,r){void 0===r&&(r={}),Object.defineProperty(t,"_classRegistryKey",{value:e,writeable:!1}),Dn[e]={klass:t,omit:r.omit||[],shallow:r.shallow||[]}}for(var jn in In("Object",Object),Mn.serialize=function(e,t){var r=e.toArrayBuffer();return t&&t.push(r),{buffer:r}},Mn.deserialize=function(e){return new Mn(e.buffer)},In("Grid",Mn),In("Color",Xe),In("Error",Error),In("ResolvedImage",tt),In("StylePropertyFunction",qr),In("StyleExpression",Ur,{omit:["_evaluator"]}),In("ZoomDependentExpression",Wr),In("ZoomConstantExpression",Qr),In("CompoundExpression",mt,{omit:["_evaluate"]}),_r)_r[jn]._classRegistryKey||In("Expression_"+jn,_r[jn]);function Rn(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function Fn(e){return Ln&&e instanceof Ln}function Nn(e,t){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp)return e;if(Rn(e)||Fn(e))return t&&t.push(e),e;if(ArrayBuffer.isView(e)){var r=e;return t&&t.push(r.buffer),r}if(e instanceof Bn)return t&&t.push(e.data.buffer),e;if(Array.isArray(e)){for(var n=[],i=0,o=e;i<o.length;i+=1)n.push(Nn(o[i],t));return n}if("object"==typeof e){var a=e.constructor,s=a._classRegistryKey;if(!s)throw new Error("can't serialize object of unregistered class");var l=a.serialize?a.serialize(e,t):{};if(!a.serialize){for(var u in e)if(e.hasOwnProperty(u)&&!(Dn[s].omit.indexOf(u)>=0)){var c=e[u];l[u]=Dn[s].shallow.indexOf(u)>=0?c:Nn(c,t)}e instanceof Error&&(l.message=e.message)}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==s&&(l.$name=s),l}throw new Error("can't serialize object of type "+typeof e)}function zn(e){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp||Rn(e)||Fn(e)||ArrayBuffer.isView(e)||e instanceof Bn)return e;if(Array.isArray(e))return e.map(zn);if("object"==typeof e){var t=e.$name||"Object",r=Dn[t].klass;if(!r)throw new Error("can't deserialize unregistered class "+t);if(r.deserialize)return r.deserialize(e);for(var n=Object.create(r.prototype),i=0,o=Object.keys(e);i<o.length;i+=1){var a=o[i];if("$name"!==a){var s=e[a];n[a]=Dn[t].shallow.indexOf(a)>=0?s:zn(s)}}return n}throw new Error("can't deserialize object of type "+typeof e)}var Un=function(){this.first=!0};Un.prototype.update=function(e,t){var r=Math.floor(e);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=e,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=t):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=t),e!==this.lastZoom&&(this.lastZoom=e,this.lastFloorZoom=r,!0))};var Hn={"Latin-1 Supplement":function(e){return e>=128&&e<=255},Arabic:function(e){return e>=1536&&e<=1791},"Arabic Supplement":function(e){return e>=1872&&e<=1919},"Arabic Extended-A":function(e){return e>=2208&&e<=2303},"Hangul Jamo":function(e){return e>=4352&&e<=4607},"Unified Canadian Aboriginal Syllabics":function(e){return e>=5120&&e<=5759},Khmer:function(e){return e>=6016&&e<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(e){return e>=6320&&e<=6399},"General Punctuation":function(e){return e>=8192&&e<=8303},"Letterlike Symbols":function(e){return e>=8448&&e<=8527},"Number Forms":function(e){return e>=8528&&e<=8591},"Miscellaneous Technical":function(e){return e>=8960&&e<=9215},"Control Pictures":function(e){return e>=9216&&e<=9279},"Optical Character Recognition":function(e){return e>=9280&&e<=9311},"Enclosed Alphanumerics":function(e){return e>=9312&&e<=9471},"Geometric Shapes":function(e){return e>=9632&&e<=9727},"Miscellaneous Symbols":function(e){return e>=9728&&e<=9983},"Miscellaneous Symbols and Arrows":function(e){return e>=11008&&e<=11263},"CJK Radicals Supplement":function(e){return e>=11904&&e<=12031},"Kangxi Radicals":function(e){return e>=12032&&e<=12255},"Ideographic Description Characters":function(e){return e>=12272&&e<=12287},"CJK Symbols and Punctuation":function(e){return e>=12288&&e<=12351},Hiragana:function(e){return e>=12352&&e<=12447},Katakana:function(e){return e>=12448&&e<=12543},Bopomofo:function(e){return e>=12544&&e<=12591},"Hangul Compatibility Jamo":function(e){return e>=12592&&e<=12687},Kanbun:function(e){return e>=12688&&e<=12703},"Bopomofo Extended":function(e){return e>=12704&&e<=12735},"CJK Strokes":function(e){return e>=12736&&e<=12783},"Katakana Phonetic Extensions":function(e){return e>=12784&&e<=12799},"Enclosed CJK Letters and Months":function(e){return e>=12800&&e<=13055},"CJK Compatibility":function(e){return e>=13056&&e<=13311},"CJK Unified Ideographs Extension A":function(e){return e>=13312&&e<=19903},"Yijing Hexagram Symbols":function(e){return e>=19904&&e<=19967},"CJK Unified Ideographs":function(e){return e>=19968&&e<=40959},"Yi Syllables":function(e){return e>=40960&&e<=42127},"Yi Radicals":function(e){return e>=42128&&e<=42191},"Hangul Jamo Extended-A":function(e){return e>=43360&&e<=43391},"Hangul Syllables":function(e){return e>=44032&&e<=55215},"Hangul Jamo Extended-B":function(e){return e>=55216&&e<=55295},"Private Use Area":function(e){return e>=57344&&e<=63743},"CJK Compatibility Ideographs":function(e){return e>=63744&&e<=64255},"Arabic Presentation Forms-A":function(e){return e>=64336&&e<=65023},"Vertical Forms":function(e){return e>=65040&&e<=65055},"CJK Compatibility Forms":function(e){return e>=65072&&e<=65103},"Small Form Variants":function(e){return e>=65104&&e<=65135},"Arabic Presentation Forms-B":function(e){return e>=65136&&e<=65279},"Halfwidth and Fullwidth Forms":function(e){return e>=65280&&e<=65519}};function Vn(e){for(var t=0,r=e;t<r.length;t+=1)if(Qn(r[t].charCodeAt(0)))return!0;return!1}function Qn(e){return!(746!==e&&747!==e&&(e<4352||!(Hn["Bopomofo Extended"](e)||Hn.Bopomofo(e)||Hn["CJK Compatibility Forms"](e)&&!(e>=65097&&e<=65103)||Hn["CJK Compatibility Ideographs"](e)||Hn["CJK Compatibility"](e)||Hn["CJK Radicals Supplement"](e)||Hn["CJK Strokes"](e)||!(!Hn["CJK Symbols and Punctuation"](e)||e>=12296&&e<=12305||e>=12308&&e<=12319||12336===e)||Hn["CJK Unified Ideographs Extension A"](e)||Hn["CJK Unified Ideographs"](e)||Hn["Enclosed CJK Letters and Months"](e)||Hn["Hangul Compatibility Jamo"](e)||Hn["Hangul Jamo Extended-A"](e)||Hn["Hangul Jamo Extended-B"](e)||Hn["Hangul Jamo"](e)||Hn["Hangul Syllables"](e)||Hn.Hiragana(e)||Hn["Ideographic Description Characters"](e)||Hn.Kanbun(e)||Hn["Kangxi Radicals"](e)||Hn["Katakana Phonetic Extensions"](e)||Hn.Katakana(e)&&12540!==e||!(!Hn["Halfwidth and Fullwidth Forms"](e)||65288===e||65289===e||65293===e||e>=65306&&e<=65310||65339===e||65341===e||65343===e||e>=65371&&e<=65503||65507===e||e>=65512&&e<=65519)||!(!Hn["Small Form Variants"](e)||e>=65112&&e<=65118||e>=65123&&e<=65126)||Hn["Unified Canadian Aboriginal Syllabics"](e)||Hn["Unified Canadian Aboriginal Syllabics Extended"](e)||Hn["Vertical Forms"](e)||Hn["Yijing Hexagram Symbols"](e)||Hn["Yi Syllables"](e)||Hn["Yi Radicals"](e))))}function Wn(e){return!(Qn(e)||function(e){return!!(Hn["Latin-1 Supplement"](e)&&(167===e||169===e||174===e||177===e||188===e||189===e||190===e||215===e||247===e)||Hn["General Punctuation"](e)&&(8214===e||8224===e||8225===e||8240===e||8241===e||8251===e||8252===e||8258===e||8263===e||8264===e||8265===e||8273===e)||Hn["Letterlike Symbols"](e)||Hn["Number Forms"](e)||Hn["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||9003===e||e>=9085&&e<=9114||e>=9150&&e<=9165||9167===e||e>=9169&&e<=9179||e>=9186&&e<=9215)||Hn["Control Pictures"](e)&&9251!==e||Hn["Optical Character Recognition"](e)||Hn["Enclosed Alphanumerics"](e)||Hn["Geometric Shapes"](e)||Hn["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||Hn["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>=11192&&e<=11243)||Hn["CJK Symbols and Punctuation"](e)||Hn.Katakana(e)||Hn["Private Use Area"](e)||Hn["CJK Compatibility Forms"](e)||Hn["Small Form Variants"](e)||Hn["Halfwidth and Fullwidth Forms"](e)||8734===e||8756===e||8757===e||e>=9984&&e<=10087||e>=10102&&e<=10131||65532===e||65533===e)}(e))}function Kn(e){return e>=1424&&e<=2303||Hn["Arabic Presentation Forms-A"](e)||Hn["Arabic Presentation Forms-B"](e)}function qn(e,t){return!(!t&&Kn(e)||e>=2304&&e<=3583||e>=3840&&e<=4255||Hn.Khmer(e))}function Gn(e){for(var t=0,r=e;t<r.length;t+=1)if(Kn(r[t].charCodeAt(0)))return!0;return!1}var $n=null,Yn="unavailable",Xn=null,Zn=function(e){e&&"string"==typeof e&&e.indexOf("NetworkError")>-1&&(Yn="error"),$n&&$n(e)};function Jn(){ei.fire(new _e("pluginStateChange",{pluginStatus:Yn,pluginURL:Xn}))}var ei=new ke,ti=function(){return Yn},ri=function(){if("deferred"!==Yn||!Xn)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Yn="loading",Jn(),Xn&&ye({url:Xn},(function(e){e?Zn(e):(Yn="loaded",Jn())}))},ni={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return"loaded"===Yn||null!=ni.applyArabicShaping},isLoading:function(){return"loading"===Yn},setState:function(e){Yn=e.pluginStatus,Xn=e.pluginURL},isParsed:function(){return null!=ni.applyArabicShaping&&null!=ni.processBidirectionalText&&null!=ni.processStyledBidirectionalText},getPluginURL:function(){return Xn}},ii=function(e,t){this.zoom=e,t?(this.now=t.now,this.fadeDuration=t.fadeDuration,this.zoomHistory=t.zoomHistory,this.transition=t.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Un,this.transition={})};ii.prototype.isSupportedScript=function(e){return function(e,t){for(var r=0,n=e;r<n.length;r+=1)if(!qn(n[r].charCodeAt(0),t))return!1;return!0}(e,ni.isLoaded())},ii.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ii.prototype.getCrossfadeParameters=function(){var e=this.zoom,t=e-Math.floor(e),r=this.crossFadingFactor();return e>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:t+(1-t)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*t}};var oi=function(e,t){this.property=e,this.value=t,this.expression=function(e,t){if(Dr(e))return new qr(e,t);if(Hr(e)){var r=Kr(e,t);if("error"===r.result)throw new Error(r.value.map((function(e){return e.key+": "+e.message})).join(", "));return r.value}var n=e;return"string"==typeof e&&"color"===t.type&&(n=Xe.parse(e)),{kind:"constant",evaluate:function(){return n}}}(void 0===t?e.specification.default:t,e.specification)};oi.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},oi.prototype.possiblyEvaluate=function(e,t,r){return this.property.possiblyEvaluate(this,e,t,r)};var ai=function(e){this.property=e,this.value=new oi(e,void 0)};ai.prototype.transitioned=function(e,t){return new li(this.property,this.value,t,c({},e.transition,this.transition),e.now)},ai.prototype.untransitioned=function(){return new li(this.property,this.value,null,{},0)};var si=function(e){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues)};si.prototype.getValue=function(e){return b(this._values[e].value.value)},si.prototype.setValue=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new ai(this._values[e].property)),this._values[e].value=new oi(this._values[e].property,null===t?void 0:b(t))},si.prototype.getTransition=function(e){return b(this._values[e].transition)},si.prototype.setTransition=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new ai(this._values[e].property)),this._values[e].transition=b(t)||void 0},si.prototype.serialize=function(){for(var e={},t=0,r=Object.keys(this._values);t<r.length;t+=1){var n=r[t],i=this.getValue(n);void 0!==i&&(e[n]=i);var o=this.getTransition(n);void 0!==o&&(e[n+"-transition"]=o)}return e},si.prototype.transitioned=function(e,t){for(var r=new ui(this._properties),n=0,i=Object.keys(this._values);n<i.length;n+=1){var o=i[n];r._values[o]=this._values[o].transitioned(e,t._values[o])}return r},si.prototype.untransitioned=function(){for(var e=new ui(this._properties),t=0,r=Object.keys(this._values);t<r.length;t+=1){var n=r[t];e._values[n]=this._values[n].untransitioned()}return e};var li=function(e,t,r,n,i){this.property=e,this.value=t,this.begin=i+n.delay||0,this.end=this.begin+n.duration||0,e.specification.transition&&(n.delay||n.duration)&&(this.prior=r)};li.prototype.possiblyEvaluate=function(e,t,r){var n=e.now||0,i=this.value.possiblyEvaluate(e,t,r),o=this.prior;if(o){if(n>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(n<this.begin)return o.possiblyEvaluate(e,t,r);var a=(n-this.begin)/(this.end-this.begin);return this.property.interpolate(o.possiblyEvaluate(e,t,r),i,function(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}(a))}return i};var ui=function(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)};ui.prototype.possiblyEvaluate=function(e,t,r){for(var n=new pi(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];n._values[a]=this._values[a].possiblyEvaluate(e,t,r)}return n},ui.prototype.hasTransition=function(){for(var e=0,t=Object.keys(this._values);e<t.length;e+=1)if(this._values[t[e]].prior)return!0;return!1};var ci=function(e){this._properties=e,this._values=Object.create(e.defaultPropertyValues)};ci.prototype.getValue=function(e){return b(this._values[e].value)},ci.prototype.setValue=function(e,t){this._values[e]=new oi(this._values[e].property,null===t?void 0:b(t))},ci.prototype.serialize=function(){for(var e={},t=0,r=Object.keys(this._values);t<r.length;t+=1){var n=r[t],i=this.getValue(n);void 0!==i&&(e[n]=i)}return e},ci.prototype.possiblyEvaluate=function(e,t,r){for(var n=new pi(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];n._values[a]=this._values[a].possiblyEvaluate(e,t,r)}return n};var fi=function(e,t,r){this.property=e,this.value=t,this.parameters=r};fi.prototype.isConstant=function(){return"constant"===this.value.kind},fi.prototype.constantOr=function(e){return"constant"===this.value.kind?this.value.value:e},fi.prototype.evaluate=function(e,t,r,n){return this.property.evaluate(this.value,this.parameters,e,t,r,n)};var pi=function(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)};pi.prototype.get=function(e){return this._values[e]};var di=function(e){this.specification=e};di.prototype.possiblyEvaluate=function(e,t){return e.expression.evaluate(t)},di.prototype.interpolate=function(e,t,r){var n=Ht[this.specification.type];return n?n(e,t,r):e};var hi=function(e,t){this.specification=e,this.overrides=t};hi.prototype.possiblyEvaluate=function(e,t,r,n){return new fi(this,"constant"===e.expression.kind||"camera"===e.expression.kind?{kind:"constant",value:e.expression.evaluate(t,null,{},r,n)}:e.expression,t)},hi.prototype.interpolate=function(e,t,r){if("constant"!==e.value.kind||"constant"!==t.value.kind)return e;if(void 0===e.value.value||void 0===t.value.value)return new fi(this,{kind:"constant",value:void 0},e.parameters);var n=Ht[this.specification.type];return n?new fi(this,{kind:"constant",value:n(e.value.value,t.value.value,r)},e.parameters):e},hi.prototype.evaluate=function(e,t,r,n,i,o){return"constant"===e.kind?e.value:e.evaluate(t,r,n,i,o)};var vi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.possiblyEvaluate=function(e,t,r,n){if(void 0===e.value)return new fi(this,{kind:"constant",value:void 0},t);if("constant"===e.expression.kind){var i=e.expression.evaluate(t,null,{},r,n),o="resolvedImage"===e.property.specification.type&&"string"!=typeof i?i.name:i,a=this._calculate(o,o,o,t);return new fi(this,{kind:"constant",value:a},t)}if("camera"===e.expression.kind){var s=this._calculate(e.expression.evaluate({zoom:t.zoom-1}),e.expression.evaluate({zoom:t.zoom}),e.expression.evaluate({zoom:t.zoom+1}),t);return new fi(this,{kind:"constant",value:s},t)}return new fi(this,e.expression,t)},t.prototype.evaluate=function(e,t,r,n,i,o){if("source"===e.kind){var a=e.evaluate(t,r,n,i,o);return this._calculate(a,a,a,t)}return"composite"===e.kind?this._calculate(e.evaluate({zoom:Math.floor(t.zoom)-1},r,n),e.evaluate({zoom:Math.floor(t.zoom)},r,n),e.evaluate({zoom:Math.floor(t.zoom)+1},r,n),t):e.value},t.prototype._calculate=function(e,t,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:r,to:t}},t.prototype.interpolate=function(e){return e},t}(hi),mi=function(e){this.specification=e};mi.prototype.possiblyEvaluate=function(e,t,r,n){if(void 0!==e.value){if("constant"===e.expression.kind){var i=e.expression.evaluate(t,null,{},r,n);return this._calculate(i,i,i,t)}return this._calculate(e.expression.evaluate(new ii(Math.floor(t.zoom-1),t)),e.expression.evaluate(new ii(Math.floor(t.zoom),t)),e.expression.evaluate(new ii(Math.floor(t.zoom+1),t)),t)}},mi.prototype._calculate=function(e,t,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:r,to:t}},mi.prototype.interpolate=function(e){return e};var gi=function(e){this.specification=e};gi.prototype.possiblyEvaluate=function(e,t,r,n){return!!e.expression.evaluate(t,null,{},r,n)},gi.prototype.interpolate=function(){return!1};var yi=function(e){for(var t in this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],e){var r=e[t];r.specification.overridable&&this.overridableProperties.push(t);var n=this.defaultPropertyValues[t]=new oi(r,void 0),i=this.defaultTransitionablePropertyValues[t]=new ai(r);this.defaultTransitioningPropertyValues[t]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[t]=n.possiblyEvaluate({})}};In("DataDrivenProperty",hi),In("DataConstantProperty",di),In("CrossFadedDataDrivenProperty",vi),In("CrossFadedProperty",mi),In("ColorRampProperty",gi);var bi=function(e){function t(t,r){if(e.call(this),this.id=t.id,this.type=t.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},"custom"!==t.type&&(this.metadata=(t=t).metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter),r.layout&&(this._unevaluatedLayout=new ci(r.layout)),r.paint)){for(var n in this._transitionablePaint=new si(r.paint),t.paint)this.setPaintProperty(n,t.paint[n],{validate:!1});for(var i in t.layout)this.setLayoutProperty(i,t.layout[i],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new pi(r.paint)}}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},t.prototype.getLayoutProperty=function(e){return"visibility"===e?this.visibility:this._unevaluatedLayout.getValue(e)},t.prototype.setLayoutProperty=function(e,t,r){void 0===r&&(r={}),null!=t&&this._validate(Sn,"layers."+this.id+".layout."+e,e,t,r)||("visibility"!==e?this._unevaluatedLayout.setValue(e,t):this.visibility=t)},t.prototype.getPaintProperty=function(e){return m(e,"-transition")?this._transitionablePaint.getTransition(e.slice(0,-"-transition".length)):this._transitionablePaint.getValue(e)},t.prototype.setPaintProperty=function(e,t,r){if(void 0===r&&(r={}),null!=t&&this._validate(Cn,"layers."+this.id+".paint."+e,e,t,r))return!1;if(m(e,"-transition"))return this._transitionablePaint.setTransition(e.slice(0,-"-transition".length),t||void 0),!1;var n=this._transitionablePaint._values[e],i="cross-faded-data-driven"===n.property.specification["property-type"],o=n.value.isDataDriven(),a=n.value;this._transitionablePaint.setValue(e,t),this._handleSpecialPaintPropertyUpdate(e);var s=this._transitionablePaint._values[e].value;return s.isDataDriven()||o||i||this._handleOverridablePaintPropertyUpdate(e,a,s)},t.prototype._handleSpecialPaintPropertyUpdate=function(e){},t.prototype._handleOverridablePaintPropertyUpdate=function(e,t,r){return!1},t.prototype.isHidden=function(e){return!!(this.minzoom&&e<this.minzoom)||!!(this.maxzoom&&e>=this.maxzoom)||"none"===this.visibility},t.prototype.updateTransitions=function(e){this._transitioningPaint=this._transitionablePaint.transitioned(e,this._transitioningPaint)},t.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},t.prototype.recalculate=function(e,t){e.getCrossfadeParameters&&(this._crossfadeParameters=e.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(e,void 0,t)),this.paint=this._transitioningPaint.possiblyEvaluate(e,void 0,t)},t.prototype.serialize=function(){var e={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(e.layout=e.layout||{},e.layout.visibility=this.visibility),y(e,(function(e,t){return!(void 0===e||"layout"===t&&!Object.keys(e).length||"paint"===t&&!Object.keys(e).length)}))},t.prototype._validate=function(e,t,r,n,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&On(this,e.call(kn,{key:t,layerType:this.type,objectKey:r,value:n,styleSpec:Te,style:{glyphs:!0,sprite:!0}}))},t.prototype.is3D=function(){return!1},t.prototype.isTileClipped=function(){return!1},t.prototype.hasOffscreenPass=function(){return!1},t.prototype.resize=function(){},t.prototype.isStateDependent=function(){for(var e in this.paint._values){var t=this.paint.get(e);if(t instanceof fi&&Mr(t.property.specification)&&("source"===t.value.kind||"composite"===t.value.kind)&&t.value.isStateDependent)return!0}return!1},t}(ke),xi={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},Ai=function(e,t){this._structArray=e,this._pos1=t*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},wi=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function _i(e,t){void 0===t&&(t=1);var r=0,n=0;return{members:e.map((function(e){var i=xi[e.type].BYTES_PER_ELEMENT,o=r=Ei(r,Math.max(t,i)),a=e.components||1;return n=Math.max(n,i),r+=i*a,{name:e.name,type:e.type,components:a,offset:o}})),size:Ei(r,Math.max(n,t)),alignment:t}}function Ei(e,t){return Math.ceil(e/t)*t}wi.serialize=function(e,t){return e._trim(),t&&(e.isTransferred=!0,t.push(e.arrayBuffer)),{length:e.length,arrayBuffer:e.arrayBuffer}},wi.deserialize=function(e){var t=Object.create(this.prototype);return t.arrayBuffer=e.arrayBuffer,t.length=e.length,t.capacity=e.arrayBuffer.byteLength/t.bytesPerElement,t._refreshViews(),t},wi.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},wi.prototype.clear=function(){this.length=0},wi.prototype.resize=function(e){this.reserve(e),this.length=e},wi.prototype.reserve=function(e){if(e>this.capacity){this.capacity=Math.max(e,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var t=this.uint8;this._refreshViews(),t&&this.uint8.set(t)}},wi.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var ki=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var r=this.length;return this.resize(r+1),this.emplace(r,e,t)},t.prototype.emplace=function(e,t,r){var n=2*e;return this.int16[n+0]=t,this.int16[n+1]=r,e},t}(wi);ki.prototype.bytesPerElement=4,In("StructArrayLayout2i4",ki);var Ti=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)},t.prototype.emplace=function(e,t,r,n,i){var o=4*e;return this.int16[o+0]=t,this.int16[o+1]=r,this.int16[o+2]=n,this.int16[o+3]=i,e},t}(wi);Ti.prototype.bytesPerElement=8,In("StructArrayLayout4i8",Ti);var Ci=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,r,n,i,o)},t.prototype.emplace=function(e,t,r,n,i,o,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,e},t}(wi);Ci.prototype.bytesPerElement=12,In("StructArrayLayout2i4i12",Ci);var Si=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,r,n,i,o)},t.prototype.emplace=function(e,t,r,n,i,o,a){var s=4*e,l=8*e;return this.int16[s+0]=t,this.int16[s+1]=r,this.uint8[l+4]=n,this.uint8[l+5]=i,this.uint8[l+6]=o,this.uint8[l+7]=a,e},t}(wi);Si.prototype.bytesPerElement=8,In("StructArrayLayout2i4ub8",Si);var Oi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o,a,s,l,u){var c=this.length;return this.resize(c+1),this.emplace(c,e,t,r,n,i,o,a,s,l,u)},t.prototype.emplace=function(e,t,r,n,i,o,a,s,l,u,c){var f=9*e,p=18*e;return this.uint16[f+0]=t,this.uint16[f+1]=r,this.uint16[f+2]=n,this.uint16[f+3]=i,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.uint8[p+16]=u,this.uint8[p+17]=c,e},t}(wi);Oi.prototype.bytesPerElement=18,In("StructArrayLayout8ui2ub18",Oi);var Mi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o,a,s,l,u,c,f){var p=this.length;return this.resize(p+1),this.emplace(p,e,t,r,n,i,o,a,s,l,u,c,f)},t.prototype.emplace=function(e,t,r,n,i,o,a,s,l,u,c,f,p){var d=12*e;return this.int16[d+0]=t,this.int16[d+1]=r,this.int16[d+2]=n,this.int16[d+3]=i,this.uint16[d+4]=o,this.uint16[d+5]=a,this.uint16[d+6]=s,this.uint16[d+7]=l,this.int16[d+8]=u,this.int16[d+9]=c,this.int16[d+10]=f,this.int16[d+11]=p,e},t}(wi);Mi.prototype.bytesPerElement=24,In("StructArrayLayout4i4ui4i24",Mi);var Pi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r){var n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)},t.prototype.emplace=function(e,t,r,n){var i=3*e;return this.float32[i+0]=t,this.float32[i+1]=r,this.float32[i+2]=n,e},t}(wi);Pi.prototype.bytesPerElement=12,In("StructArrayLayout3f12",Pi);var Bi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint32[1*e+0]=t,e},t}(wi);Bi.prototype.bytesPerElement=4,In("StructArrayLayout1ul4",Bi);var Li=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o,a,s,l){var u=this.length;return this.resize(u+1),this.emplace(u,e,t,r,n,i,o,a,s,l)},t.prototype.emplace=function(e,t,r,n,i,o,a,s,l,u){var c=10*e,f=5*e;return this.int16[c+0]=t,this.int16[c+1]=r,this.int16[c+2]=n,this.int16[c+3]=i,this.int16[c+4]=o,this.int16[c+5]=a,this.uint32[f+3]=s,this.uint16[c+8]=l,this.uint16[c+9]=u,e},t}(wi);Li.prototype.bytesPerElement=20,In("StructArrayLayout6i1ul2ui20",Li);var Di=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,r,n,i,o)},t.prototype.emplace=function(e,t,r,n,i,o,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,e},t}(wi);Di.prototype.bytesPerElement=12,In("StructArrayLayout2i2i2i12",Di);var Ii=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i){var o=this.length;return this.resize(o+1),this.emplace(o,e,t,r,n,i)},t.prototype.emplace=function(e,t,r,n,i,o){var a=4*e,s=8*e;return this.float32[a+0]=t,this.float32[a+1]=r,this.float32[a+2]=n,this.int16[s+6]=i,this.int16[s+7]=o,e},t}(wi);Ii.prototype.bytesPerElement=16,In("StructArrayLayout2f1f2i16",Ii);var ji=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)},t.prototype.emplace=function(e,t,r,n,i){var o=12*e,a=3*e;return this.uint8[o+0]=t,this.uint8[o+1]=r,this.float32[a+1]=n,this.float32[a+2]=i,e},t}(wi);ji.prototype.bytesPerElement=12,In("StructArrayLayout2ub2f12",ji);var Ri=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r){var n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)},t.prototype.emplace=function(e,t,r,n){var i=3*e;return this.uint16[i+0]=t,this.uint16[i+1]=r,this.uint16[i+2]=n,e},t}(wi);Ri.prototype.bytesPerElement=6,In("StructArrayLayout3ui6",Ri);var Fi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m){var g=this.length;return this.resize(g+1),this.emplace(g,e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m)},t.prototype.emplace=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g){var y=24*e,b=12*e,x=48*e;return this.int16[y+0]=t,this.int16[y+1]=r,this.uint16[y+2]=n,this.uint16[y+3]=i,this.uint32[b+2]=o,this.uint32[b+3]=a,this.uint32[b+4]=s,this.uint16[y+10]=l,this.uint16[y+11]=u,this.uint16[y+12]=c,this.float32[b+7]=f,this.float32[b+8]=p,this.uint8[x+36]=d,this.uint8[x+37]=h,this.uint8[x+38]=v,this.uint32[b+10]=m,this.int16[y+22]=g,e},t}(wi);Fi.prototype.bytesPerElement=48,In("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Fi);var Ni=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C){var S=this.length;return this.resize(S+1),this.emplace(S,e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C)},t.prototype.emplace=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,A,w,_,E,k,T,C,S){var O=34*e,M=17*e;return this.int16[O+0]=t,this.int16[O+1]=r,this.int16[O+2]=n,this.int16[O+3]=i,this.int16[O+4]=o,this.int16[O+5]=a,this.int16[O+6]=s,this.int16[O+7]=l,this.uint16[O+8]=u,this.uint16[O+9]=c,this.uint16[O+10]=f,this.uint16[O+11]=p,this.uint16[O+12]=d,this.uint16[O+13]=h,this.uint16[O+14]=v,this.uint16[O+15]=m,this.uint16[O+16]=g,this.uint16[O+17]=y,this.uint16[O+18]=b,this.uint16[O+19]=x,this.uint16[O+20]=A,this.uint16[O+21]=w,this.uint16[O+22]=_,this.uint32[M+12]=E,this.float32[M+13]=k,this.float32[M+14]=T,this.float32[M+15]=C,this.float32[M+16]=S,e},t}(wi);Ni.prototype.bytesPerElement=68,In("StructArrayLayout8i15ui1ul4f68",Ni);var zi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.float32[1*e+0]=t,e},t}(wi);zi.prototype.bytesPerElement=4,In("StructArrayLayout1f4",zi);var Ui=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r){var n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)},t.prototype.emplace=function(e,t,r,n){var i=3*e;return this.int16[i+0]=t,this.int16[i+1]=r,this.int16[i+2]=n,e},t}(wi);Ui.prototype.bytesPerElement=6,In("StructArrayLayout3i6",Ui);var Hi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r){var n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)},t.prototype.emplace=function(e,t,r,n){var i=4*e;return this.uint32[2*e+0]=t,this.uint16[i+2]=r,this.uint16[i+3]=n,e},t}(wi);Hi.prototype.bytesPerElement=8,In("StructArrayLayout1ul2ui8",Hi);var Vi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var r=this.length;return this.resize(r+1),this.emplace(r,e,t)},t.prototype.emplace=function(e,t,r){var n=2*e;return this.uint16[n+0]=t,this.uint16[n+1]=r,e},t}(wi);Vi.prototype.bytesPerElement=4,In("StructArrayLayout2ui4",Vi);var Qi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint16[1*e+0]=t,e},t}(wi);Qi.prototype.bytesPerElement=2,In("StructArrayLayout1ui2",Qi);var Wi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var r=this.length;return this.resize(r+1),this.emplace(r,e,t)},t.prototype.emplace=function(e,t,r){var n=2*e;return this.float32[n+0]=t,this.float32[n+1]=r,e},t}(wi);Wi.prototype.bytesPerElement=8,In("StructArrayLayout2f8",Wi);var Ki=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)},t.prototype.emplace=function(e,t,r,n,i){var o=4*e;return this.float32[o+0]=t,this.float32[o+1]=r,this.float32[o+2]=n,this.float32[o+3]=i,e},t}(wi);Ki.prototype.bytesPerElement=16,In("StructArrayLayout4f16",Ki);var qi=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(t.prototype,r),t}(Ai);qi.prototype.size=20;var Gi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new qi(this,e)},t}(Li);In("CollisionBoxArray",Gi);var $i=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},r.placedOrientation.set=function(e){this._structArray.uint8[this._pos1+37]=e},r.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},r.hidden.set=function(e){this._structArray.uint8[this._pos1+38]=e},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(e){this._structArray.uint32[this._pos4+10]=e},r.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(t.prototype,r),t}(Ai);$i.prototype.size=48;var Yi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new $i(this,e)},t}(Fi);In("PlacedSymbolArray",Yi);var Xi=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},r.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},r.key.get=function(){return this._structArray.uint16[this._pos2+8]},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},r.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},r.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},r.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},r.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},r.crossTileID.set=function(e){this._structArray.uint32[this._pos4+12]=e},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},r.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},r.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},r.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(t.prototype,r),t}(Ai);Xi.prototype.size=68;var Zi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new Xi(this,e)},t}(Ni);In("SymbolInstanceArray",Zi);var Ji=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getoffsetX=function(e){return this.float32[1*e+0]},t}(zi);In("GlyphOffsetArray",Ji);var eo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getx=function(e){return this.int16[3*e+0]},t.prototype.gety=function(e){return this.int16[3*e+1]},t.prototype.gettileUnitDistanceFromAnchor=function(e){return this.int16[3*e+2]},t}(Ui);In("SymbolLineVertexArray",eo);var to=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(t.prototype,r),t}(Ai);to.prototype.size=8;var ro=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new to(this,e)},t}(Hi);In("FeatureIndexArray",ro);var no=_i([{name:"a_pos",components:2,type:"Int16"}],4).members,io=function(e){void 0===e&&(e=[]),this.segments=e};function oo(e,t){return 256*(e=l(Math.floor(e),0,255))+l(Math.floor(t),0,255)}io.prototype.prepareSegment=function(e,t,r,n){var i=this.segments[this.segments.length-1];return e>io.MAX_VERTEX_ARRAY_LENGTH&&A("Max vertices per segment is "+io.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+e),(!i||i.vertexLength+e>io.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==n)&&(i={vertexOffset:t.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==n&&(i.sortKey=n),this.segments.push(i)),i},io.prototype.get=function(){return this.segments},io.prototype.destroy=function(){for(var e=0,t=this.segments;e<t.length;e+=1){var r=t[e];for(var n in r.vaos)r.vaos[n].destroy()}},io.simpleSegment=function(e,t,r,n){return new io([{vertexOffset:e,primitiveOffset:t,vertexLength:r,primitiveLength:n,vaos:{},sortKey:0}])},io.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,In("SegmentVector",io);var ao=_i([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint8"},{name:"a_pixel_ratio_to",components:1,type:"Uint8"}]),so=t((function(e){e.exports=function(e,t){var r,n,i,o,a,s,l,u;for(n=e.length-(r=3&e.length),i=t,a=3432918353,s=461845907,u=0;u<n;)l=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,i=27492+(65535&(o=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}})),lo=t((function(e){e.exports=function(e,t){for(var r,n=e.length,i=t^n,o=0;n>=4;)r=1540483477*(65535&(r=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:i^=(255&e.charCodeAt(o+2))<<16;case 2:i^=(255&e.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}})),uo=so,co=lo;uo.murmur3=so,uo.murmur2=co;var fo=function(){this.ids=[],this.positions=[],this.indexed=!1};fo.prototype.add=function(e,t,r,n){this.ids.push(ho(e)),this.positions.push(t,r,n)},fo.prototype.getPositions=function(e){for(var t=ho(e),r=0,n=this.ids.length-1;r<n;){var i=r+n>>1;this.ids[i]>=t?n=i:r=i+1}for(var o=[];this.ids[r]===t;)o.push({index:this.positions[3*r],start:this.positions[3*r+1],end:this.positions[3*r+2]}),r++;return o},fo.serialize=function(e,t){var r=new Float64Array(e.ids),n=new Uint32Array(e.positions);return function e(t,r,n,i){for(;n<i;){for(var o=t[n+i>>1],a=n-1,s=i+1;;){do{a++}while(t[a]<o);do{s--}while(t[s]>o);if(a>=s)break;vo(t,a,s),vo(r,3*a,3*s),vo(r,3*a+1,3*s+1),vo(r,3*a+2,3*s+2)}s-n<i-s?(e(t,r,n,s),n=s+1):(e(t,r,s+1,i),i=s)}}(r,n,0,r.length-1),t&&t.push(r.buffer,n.buffer),{ids:r,positions:n}},fo.deserialize=function(e){var t=new fo;return t.ids=e.ids,t.positions=e.positions,t.indexed=!0,t};var po=Math.pow(2,53)-1;function ho(e){var t=+e;return!isNaN(t)&&t<=po?t:uo(String(e))}function vo(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}In("FeaturePositionMap",fo);var mo=function(e,t){this.gl=e.gl,this.location=t},go=function(e){function t(t,r){e.call(this,t,r),this.current=0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1i(this.location,e))},t}(mo),yo=function(e){function t(t,r){e.call(this,t,r),this.current=0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1f(this.location,e))},t}(mo),bo=function(e){function t(t,r){e.call(this,t,r),this.current=[0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]||(this.current=e,this.gl.uniform2f(this.location,e[0],e[1]))},t}(mo),xo=function(e){function t(t,r){e.call(this,t,r),this.current=[0,0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]||(this.current=e,this.gl.uniform3f(this.location,e[0],e[1],e[2]))},t}(mo),Ao=function(e){function t(t,r){e.call(this,t,r),this.current=[0,0,0,0]}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]&&e[3]===this.current[3]||(this.current=e,this.gl.uniform4f(this.location,e[0],e[1],e[2],e[3]))},t}(mo),wo=function(e){function t(t,r){e.call(this,t,r),this.current=Xe.transparent}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){e.r===this.current.r&&e.g===this.current.g&&e.b===this.current.b&&e.a===this.current.a||(this.current=e,this.gl.uniform4f(this.location,e.r,e.g,e.b,e.a))},t}(mo),_o=new Float32Array(16),Eo=function(e){function t(t,r){e.call(this,t,r),this.current=_o}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){if(e[12]!==this.current[12]||e[0]!==this.current[0])return this.current=e,void this.gl.uniformMatrix4fv(this.location,!1,e);for(var t=1;t<16;t++)if(e[t]!==this.current[t]){this.current=e,this.gl.uniformMatrix4fv(this.location,!1,e);break}},t}(mo);function ko(e){return[oo(255*e.r,255*e.g),oo(255*e.b,255*e.a)]}var To=function(e,t,r){this.value=e,this.uniformNames=t.map((function(e){return"u_"+e})),this.type=r};To.prototype.setUniform=function(e,t,r){e.set(r.constantOr(this.value))},To.prototype.getBinding=function(e,t,r){return"color"===this.type?new wo(e,t):new yo(e,t)};var Co=function(e,t){this.uniformNames=t.map((function(e){return"u_"+e})),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};Co.prototype.setConstantPatternPositions=function(e,t){this.pixelRatioFrom=t.pixelRatio,this.pixelRatioTo=e.pixelRatio,this.patternFrom=t.tlbr,this.patternTo=e.tlbr},Co.prototype.setUniform=function(e,t,r,n){var i="u_pattern_to"===n?this.patternTo:"u_pattern_from"===n?this.patternFrom:"u_pixel_ratio_to"===n?this.pixelRatioTo:"u_pixel_ratio_from"===n?this.pixelRatioFrom:null;i&&e.set(i)},Co.prototype.getBinding=function(e,t,r){return"u_pattern"===r.substr(0,9)?new Ao(e,t):new yo(e,t)};var So=function(e,t,r,n){this.expression=e,this.type=r,this.maxValue=0,this.paintVertexAttributes=t.map((function(e){return{name:"a_"+e,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new n};So.prototype.populatePaintArray=function(e,t,r,n,i){var o=this.paintVertexArray.length,a=this.expression.evaluate(new ii(0),t,{},n,[],i);this.paintVertexArray.resize(e),this._setPaintValue(o,e,a)},So.prototype.updatePaintArray=function(e,t,r,n){var i=this.expression.evaluate({zoom:0},r,n);this._setPaintValue(e,t,i)},So.prototype._setPaintValue=function(e,t,r){if("color"===this.type)for(var n=ko(r),i=e;i<t;i++)this.paintVertexArray.emplace(i,n[0],n[1]);else{for(var o=e;o<t;o++)this.paintVertexArray.emplace(o,r);this.maxValue=Math.max(this.maxValue,Math.abs(r))}},So.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},So.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var Oo=function(e,t,r,n,i,o){this.expression=e,this.uniformNames=t.map((function(e){return"u_"+e+"_t"})),this.type=r,this.useIntegerZoom=n,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=t.map((function(e){return{name:"a_"+e,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new o};Oo.prototype.populatePaintArray=function(e,t,r,n,i){var o=this.expression.evaluate(new ii(this.zoom),t,{},n,[],i),a=this.expression.evaluate(new ii(this.zoom+1),t,{},n,[],i),s=this.paintVertexArray.length;this.paintVertexArray.resize(e),this._setPaintValue(s,e,o,a)},Oo.prototype.updatePaintArray=function(e,t,r,n){var i=this.expression.evaluate({zoom:this.zoom},r,n),o=this.expression.evaluate({zoom:this.zoom+1},r,n);this._setPaintValue(e,t,i,o)},Oo.prototype._setPaintValue=function(e,t,r,n){if("color"===this.type)for(var i=ko(r),o=ko(n),a=e;a<t;a++)this.paintVertexArray.emplace(a,i[0],i[1],o[0],o[1]);else{for(var s=e;s<t;s++)this.paintVertexArray.emplace(s,r,n);this.maxValue=Math.max(this.maxValue,Math.abs(r),Math.abs(n))}},Oo.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Oo.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Oo.prototype.setUniform=function(e,t){var r=this.useIntegerZoom?Math.floor(t.zoom):t.zoom,n=l(this.expression.interpolationFactor(r,this.zoom,this.zoom+1),0,1);e.set(n)},Oo.prototype.getBinding=function(e,t,r){return new yo(e,t)};var Mo=function(e,t,r,n,i,o){this.expression=e,this.type=t,this.useIntegerZoom=r,this.zoom=n,this.layerId=o,this.zoomInPaintVertexArray=new i,this.zoomOutPaintVertexArray=new i};Mo.prototype.populatePaintArray=function(e,t,r){var n=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(e),this.zoomOutPaintVertexArray.resize(e),this._setPaintValues(n,e,t.patterns&&t.patterns[this.layerId],r)},Mo.prototype.updatePaintArray=function(e,t,r,n,i){this._setPaintValues(e,t,r.patterns&&r.patterns[this.layerId],i)},Mo.prototype._setPaintValues=function(e,t,r,n){if(n&&r){var i=n[r.min],o=n[r.mid],a=n[r.max];if(i&&o&&a)for(var s=e;s<t;s++)this.zoomInPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],i.tl[0],i.tl[1],i.br[0],i.br[1],o.pixelRatio,i.pixelRatio),this.zoomOutPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],a.tl[0],a.tl[1],a.br[0],a.br[1],o.pixelRatio,a.pixelRatio)}},Mo.prototype.upload=function(e){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=e.createVertexBuffer(this.zoomInPaintVertexArray,ao.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=e.createVertexBuffer(this.zoomOutPaintVertexArray,ao.members,this.expression.isStateDependent))},Mo.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var Po=function(e,t,r,n){this.binders={},this.layoutAttributes=n,this._buffers=[];var i=[];for(var o in e.paint._values)if(r(o)){var a=e.paint.get(o);if(a instanceof fi&&Mr(a.property.specification)){var s=Lo(o,e.type),l=a.value,u=a.property.specification.type,c=a.property.useIntegerZoom,f=a.property.specification["property-type"],p="cross-faded"===f||"cross-faded-data-driven"===f;if("constant"===l.kind)this.binders[o]=p?new Co(l.value,s):new To(l.value,s,u),i.push("/u_"+o);else if("source"===l.kind||p){var d=Do(o,u,"source");this.binders[o]=p?new Mo(l,u,c,t,d,e.id):new So(l,s,u,d),i.push("/a_"+o)}else{var h=Do(o,u,"composite");this.binders[o]=new Oo(l,s,u,c,t,h),i.push("/z_"+o)}}}this.cacheKey=i.sort().join("")};Po.prototype.getMaxValue=function(e){var t=this.binders[e];return t instanceof So||t instanceof Oo?t.maxValue:0},Po.prototype.populatePaintArrays=function(e,t,r,n,i){for(var o in this.binders){var a=this.binders[o];(a instanceof So||a instanceof Oo||a instanceof Mo)&&a.populatePaintArray(e,t,r,n,i)}},Po.prototype.setConstantPatternPositions=function(e,t){for(var r in this.binders){var n=this.binders[r];n instanceof Co&&n.setConstantPatternPositions(e,t)}},Po.prototype.updatePaintArrays=function(e,t,r,n,i){var o=!1;for(var a in e)for(var s=0,l=t.getPositions(a);s<l.length;s+=1){var u=l[s],c=r.feature(u.index);for(var f in this.binders){var p=this.binders[f];if((p instanceof So||p instanceof Oo||p instanceof Mo)&&!0===p.expression.isStateDependent){var d=n.paint.get(f);p.expression=d.value,p.updatePaintArray(u.start,u.end,c,e[a],i),o=!0}}}return o},Po.prototype.defines=function(){var e=[];for(var t in this.binders){var r=this.binders[t];(r instanceof To||r instanceof Co)&&e.push.apply(e,r.uniformNames.map((function(e){return"#define HAS_UNIFORM_"+e})))}return e},Po.prototype.getPaintVertexBuffers=function(){return this._buffers},Po.prototype.getUniforms=function(e,t){var r=[];for(var n in this.binders){var i=this.binders[n];if(i instanceof To||i instanceof Co||i instanceof Oo)for(var o=0,a=i.uniformNames;o<a.length;o+=1){var s=a[o];if(t[s]){var l=i.getBinding(e,t[s],s);r.push({name:s,property:n,binding:l})}}}return r},Po.prototype.setUniforms=function(e,t,r,n){for(var i=0,o=t;i<o.length;i+=1){var a=o[i],s=a.name,l=a.property;this.binders[l].setUniform(a.binding,n,r.get(l),s)}},Po.prototype.updatePaintBuffers=function(e){for(var t in this._buffers=[],this.binders){var r=this.binders[t];if(e&&r instanceof Mo){var n=2===e.fromScale?r.zoomInPaintVertexBuffer:r.zoomOutPaintVertexBuffer;n&&this._buffers.push(n)}else(r instanceof So||r instanceof Oo)&&r.paintVertexBuffer&&this._buffers.push(r.paintVertexBuffer)}},Po.prototype.upload=function(e){for(var t in this.binders){var r=this.binders[t];(r instanceof So||r instanceof Oo||r instanceof Mo)&&r.upload(e)}this.updatePaintBuffers()},Po.prototype.destroy=function(){for(var e in this.binders){var t=this.binders[e];(t instanceof So||t instanceof Oo||t instanceof Mo)&&t.destroy()}};var Bo=function(e,t,r,n){void 0===n&&(n=function(){return!0}),this.programConfigurations={};for(var i=0,o=t;i<o.length;i+=1){var a=o[i];this.programConfigurations[a.id]=new Po(a,r,n,e)}this.needsUpload=!1,this._featureMap=new fo,this._bufferOffset=0};function Lo(e,t){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[e]||[e.replace(t+"-","").replace(/-/g,"_")]}function Do(e,t,r){var n={color:{source:Wi,composite:Ki},number:{source:zi,composite:Wi}},i=function(e){return{"line-pattern":{source:Oi,composite:Oi},"fill-pattern":{source:Oi,composite:Oi},"fill-extrusion-pattern":{source:Oi,composite:Oi}}[e]}(e);return i&&i[r]||n[t][r]}Bo.prototype.populatePaintArrays=function(e,t,r,n,i,o){for(var a in this.programConfigurations)this.programConfigurations[a].populatePaintArrays(e,t,n,i,o);void 0!==t.id&&this._featureMap.add(t.id,r,this._bufferOffset,e),this._bufferOffset=e,this.needsUpload=!0},Bo.prototype.updatePaintArrays=function(e,t,r,n){for(var i=0,o=r;i<o.length;i+=1){var a=o[i];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(e,this._featureMap,t,a,n)||this.needsUpload}},Bo.prototype.get=function(e){return this.programConfigurations[e]},Bo.prototype.upload=function(e){if(this.needsUpload){for(var t in this.programConfigurations)this.programConfigurations[t].upload(e);this.needsUpload=!1}},Bo.prototype.destroy=function(){for(var e in this.programConfigurations)this.programConfigurations[e].destroy()},In("ConstantBinder",To),In("CrossFadedConstantBinder",Co),In("SourceExpressionBinder",So),In("CrossFadedCompositeBinder",Mo),In("CompositeExpressionBinder",Oo),In("ProgramConfiguration",Po,{omit:["_buffers"]}),In("ProgramConfigurationSet",Bo);var Io={min:-1*Math.pow(2,14),max:Math.pow(2,14)-1};function jo(e){for(var t=8192/e.extent,r=e.loadGeometry(),n=0;n<r.length;n++)for(var i=r[n],o=0;o<i.length;o++){var a=i[o];a.x=Math.round(a.x*t),a.y=Math.round(a.y*t),(a.x<Io.min||a.x>Io.max||a.y<Io.min||a.y>Io.max)&&(A("Geometry exceeds allowed extent, reduce your vector tile buffer size"),a.x=l(a.x,Io.min,Io.max),a.y=l(a.y,Io.min,Io.max))}return r}function Ro(e,t,r,n,i){e.emplaceBack(2*t+(n+1)/2,2*r+(i+1)/2)}var Fo=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new ki,this.indexArray=new Ri,this.segments=new io,this.programConfigurations=new Bo(no,e.layers,e.zoom),this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};function No(e,t){for(var r=0;r<e.length;r++)if(Go(t,e[r]))return!0;for(var n=0;n<t.length;n++)if(Go(e,t[n]))return!0;return!!Vo(e,t)}function zo(e,t,r){return!!Go(e,t)||!!Wo(t,e,r)}function Uo(e,t){if(1===e.length)return qo(t,e[0]);for(var r=0;r<t.length;r++)for(var n=t[r],i=0;i<n.length;i++)if(Go(e,n[i]))return!0;for(var o=0;o<e.length;o++)if(qo(t,e[o]))return!0;for(var a=0;a<t.length;a++)if(Vo(e,t[a]))return!0;return!1}function Ho(e,t,r){if(e.length>1){if(Vo(e,t))return!0;for(var n=0;n<t.length;n++)if(Wo(t[n],e,r))return!0}for(var i=0;i<e.length;i++)if(Wo(e[i],t,r))return!0;return!1}function Vo(e,t){if(0===e.length||0===t.length)return!1;for(var r=0;r<e.length-1;r++)for(var n=e[r],i=e[r+1],o=0;o<t.length-1;o++)if(Qo(n,i,t[o],t[o+1]))return!0;return!1}function Qo(e,t,r,n){return w(e,r,n)!==w(t,r,n)&&w(e,t,r)!==w(e,t,n)}function Wo(e,t,r){var n=r*r;if(1===t.length)return e.distSqr(t[0])<n;for(var i=1;i<t.length;i++)if(Ko(e,t[i-1],t[i])<n)return!0;return!1}function Ko(e,t,r){var n=t.distSqr(r);if(0===n)return e.distSqr(t);var i=((e.x-t.x)*(r.x-t.x)+(e.y-t.y)*(r.y-t.y))/n;return e.distSqr(i<0?t:i>1?r:r.sub(t)._mult(i)._add(t))}function qo(e,t){for(var r,n,i,o=!1,a=0;a<e.length;a++)for(var s=0,l=(r=e[a]).length-1;s<r.length;l=s++)(n=r[s]).y>t.y!=(i=r[l]).y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(o=!o);return o}function Go(e,t){for(var r=!1,n=0,i=e.length-1;n<e.length;i=n++){var o=e[n],a=e[i];o.y>t.y!=a.y>t.y&&t.x<(a.x-o.x)*(t.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function $o(e,t,r){var n=r[0],i=r[2];if(e.x<n.x&&t.x<n.x||e.x>i.x&&t.x>i.x||e.y<n.y&&t.y<n.y||e.y>i.y&&t.y>i.y)return!1;var o=w(e,t,r[0]);return o!==w(e,t,r[1])||o!==w(e,t,r[2])||o!==w(e,t,r[3])}function Yo(e,t,r){var n=t.paint.get(e).value;return"constant"===n.kind?n.value:r.programConfigurations.get(t.id).getMaxValue(e)}function Xo(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Zo(e,t,r,n,o){if(!t[0]&&!t[1])return e;var a=i.convert(t)._mult(o);"viewport"===r&&a._rotate(-n);for(var s=[],l=0;l<e.length;l++)s.push(e[l].sub(a));return s}Fo.prototype.populate=function(e,t,r){var n=this.layers[0],i=[],o=null;"circle"===n.type&&(o=n.layout.get("circle-sort-key"));for(var a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.feature,c=l.id,f=l.index,p=l.sourceLayerIndex,d=this.layers[0]._featureFilter.needGeometry,h={type:u.type,id:c,properties:u.properties,geometry:d?jo(u):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),h,r)){d||(h.geometry=jo(u));var v=o?o.evaluate(h,{},r):void 0;i.push({id:c,properties:u.properties,type:u.type,sourceLayerIndex:p,index:f,geometry:h.geometry,patterns:{},sortKey:v})}}o&&i.sort((function(e,t){return e.sortKey-t.sortKey}));for(var m=0,g=i;m<g.length;m+=1){var y=g[m],b=y.geometry,x=y.index,A=y.sourceLayerIndex,w=e[x].feature;this.addFeature(y,b,x,r),t.featureIndex.insert(w,b,x,A,this.index)}},Fo.prototype.update=function(e,t,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r)},Fo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Fo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Fo.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,no),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Fo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Fo.prototype.addFeature=function(e,t,r,n){for(var i=0,o=t;i<o.length;i+=1)for(var a=0,s=o[i];a<s.length;a+=1){var l=s[a],u=l.x,c=l.y;if(!(u<0||u>=8192||c<0||c>=8192)){var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,e.sortKey),p=f.vertexLength;Ro(this.layoutVertexArray,u,c,-1,-1),Ro(this.layoutVertexArray,u,c,1,-1),Ro(this.layoutVertexArray,u,c,1,1),Ro(this.layoutVertexArray,u,c,-1,1),this.indexArray.emplaceBack(p,p+1,p+2),this.indexArray.emplaceBack(p,p+3,p+2),f.vertexLength+=4,f.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,{},n)},In("CircleBucket",Fo,{omit:["layers"]});var Jo=new yi({"circle-sort-key":new hi(Te.layout_circle["circle-sort-key"])}),ea={paint:new yi({"circle-radius":new hi(Te.paint_circle["circle-radius"]),"circle-color":new hi(Te.paint_circle["circle-color"]),"circle-blur":new hi(Te.paint_circle["circle-blur"]),"circle-opacity":new hi(Te.paint_circle["circle-opacity"]),"circle-translate":new di(Te.paint_circle["circle-translate"]),"circle-translate-anchor":new di(Te.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new di(Te.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new di(Te.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new hi(Te.paint_circle["circle-stroke-width"]),"circle-stroke-color":new hi(Te.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new hi(Te.paint_circle["circle-stroke-opacity"])}),layout:Jo},ta="undefined"!=typeof Float32Array?Float32Array:Array;function ra(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function na(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],p=t[9],d=t[10],h=t[11],v=t[12],m=t[13],g=t[14],y=t[15],b=r[0],x=r[1],A=r[2],w=r[3];return e[0]=b*n+x*s+A*f+w*v,e[1]=b*i+x*l+A*p+w*m,e[2]=b*o+x*u+A*d+w*g,e[3]=b*a+x*c+A*h+w*y,e[4]=(b=r[4])*n+(x=r[5])*s+(A=r[6])*f+(w=r[7])*v,e[5]=b*i+x*l+A*p+w*m,e[6]=b*o+x*u+A*d+w*g,e[7]=b*a+x*c+A*h+w*y,e[8]=(b=r[8])*n+(x=r[9])*s+(A=r[10])*f+(w=r[11])*v,e[9]=b*i+x*l+A*p+w*m,e[10]=b*o+x*u+A*d+w*g,e[11]=b*a+x*c+A*h+w*y,e[12]=(b=r[12])*n+(x=r[13])*s+(A=r[14])*f+(w=r[15])*v,e[13]=b*i+x*l+A*p+w*m,e[14]=b*o+x*u+A*d+w*g,e[15]=b*a+x*c+A*h+w*y,e}Math.hypot||(Math.hypot=function(){for(var e=arguments,t=0,r=arguments.length;r--;)t+=e[r]*e[r];return Math.sqrt(t)});var ia,oa=na;function aa(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*a,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*a,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*a,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*a,e}ia=new ta(3),ta!=Float32Array&&(ia[0]=0,ia[1]=0,ia[2]=0),function(){var e=new ta(4);ta!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0)}();var sa=(function(){var e=new ta(2);ta!=Float32Array&&(e[0]=0,e[1]=0)}(),function(e){function t(t){e.call(this,t,ea)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new Fo(e)},t.prototype.queryRadius=function(e){var t=e;return Yo("circle-radius",this,t)+Yo("circle-stroke-width",this,t)+Xo(this.paint.get("circle-translate"))},t.prototype.queryIntersectsFeature=function(e,t,r,n,i,o,a,s){for(var l=Zo(e,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),u=this.paint.get("circle-radius").evaluate(t,r)+this.paint.get("circle-stroke-width").evaluate(t,r),c="map"===this.paint.get("circle-pitch-alignment"),f=c?l:function(e,t){return e.map((function(e){return la(e,t)}))}(l,s),p=c?u*a:u,d=0,h=n;d<h.length;d+=1)for(var v=0,m=h[d];v<m.length;v+=1){var g=m[v],y=c?g:la(g,s),b=p,x=aa([],[g.x,g.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?b*=x[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(b*=o.cameraToCenterDistance/x[3]),zo(f,y,b))return!0}return!1},t}(bi));function la(e,t){var r=aa([],[e.x,e.y,0,1],t);return new i(r[0]/r[3],r[1]/r[3])}var ua=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(Fo);function ca(e,t,r,n){var i=t.width,o=t.height;if(n){if(n instanceof Uint8ClampedArray)n=new Uint8Array(n.buffer);else if(n.length!==i*o*r)throw new RangeError("mismatched image size")}else n=new Uint8Array(i*o*r);return e.width=i,e.height=o,e.data=n,e}function fa(e,t,r){var n=t.width,i=t.height;if(n!==e.width||i!==e.height){var o=ca({},{width:n,height:i},r);pa(e,o,{x:0,y:0},{x:0,y:0},{width:Math.min(e.width,n),height:Math.min(e.height,i)},r),e.width=n,e.height=i,e.data=o.data}}function pa(e,t,r,n,i,o){if(0===i.width||0===i.height)return t;if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=e.data,s=t.data,l=0;l<i.height;l++)for(var u=((r.y+l)*e.width+r.x)*o,c=((n.y+l)*t.width+n.x)*o,f=0;f<i.width*o;f++)s[c+f]=a[u+f];return t}In("HeatmapBucket",ua,{omit:["layers"]});var da=function(e,t){ca(this,e,1,t)};da.prototype.resize=function(e){fa(this,e,1)},da.prototype.clone=function(){return new da({width:this.width,height:this.height},new Uint8Array(this.data))},da.copy=function(e,t,r,n,i){pa(e,t,r,n,i,1)};var ha=function(e,t){ca(this,e,4,t)};ha.prototype.resize=function(e){fa(this,e,4)},ha.prototype.replace=function(e,t){t?this.data.set(e):this.data=e instanceof Uint8ClampedArray?new Uint8Array(e.buffer):e},ha.prototype.clone=function(){return new ha({width:this.width,height:this.height},new Uint8Array(this.data))},ha.copy=function(e,t,r,n,i){pa(e,t,r,n,i,4)},In("AlphaImage",da),In("RGBAImage",ha);var va={paint:new yi({"heatmap-radius":new hi(Te.paint_heatmap["heatmap-radius"]),"heatmap-weight":new hi(Te.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new di(Te.paint_heatmap["heatmap-intensity"]),"heatmap-color":new gi(Te.paint_heatmap["heatmap-color"]),"heatmap-opacity":new di(Te.paint_heatmap["heatmap-opacity"])})};function ma(e,t){for(var r=new Uint8Array(1024),n={},i=0,o=0;i<256;i++,o+=4){n[t]=i/255;var a=e.evaluate(n);r[o+0]=Math.floor(255*a.r/a.a),r[o+1]=Math.floor(255*a.g/a.a),r[o+2]=Math.floor(255*a.b/a.a),r[o+3]=Math.floor(255*a.a)}return new ha({width:256,height:1},r)}var ga=function(e){function t(t){e.call(this,t,va),this._updateColorRamp()}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new ua(e)},t.prototype._handleSpecialPaintPropertyUpdate=function(e){"heatmap-color"===e&&this._updateColorRamp()},t.prototype._updateColorRamp=function(){this.colorRamp=ma(this._transitionablePaint._values["heatmap-color"].value.expression,"heatmapDensity"),this.colorRampTexture=null},t.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},t.prototype.queryRadius=function(){return 0},t.prototype.queryIntersectsFeature=function(){return!1},t.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},t}(bi),ya={paint:new yi({"hillshade-illumination-direction":new di(Te.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new di(Te.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new di(Te.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new di(Te.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new di(Te.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new di(Te.paint_hillshade["hillshade-accent-color"])})},ba=function(e){function t(t){e.call(this,t,ya)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},t}(bi),xa=_i([{name:"a_pos",components:2,type:"Int16"}],4).members,Aa=_a,wa=_a;function _a(e,t,r){r=r||2;var n,i,o,a,s,l,u,c=t&&t.length,f=c?t[0]*r:e.length,p=Ea(e,0,f,r,!0),d=[];if(!p||p.next===p.prev)return d;if(c&&(p=function(e,t,r,n){var i,o,a,s=[];for(i=0,o=t.length;i<o;i++)(a=Ea(e,t[i]*n,i<o-1?t[i+1]*n:e.length,n,!1))===a.next&&(a.steiner=!0),s.push(Ia(a));for(s.sort(Pa),i=0;i<s.length;i++)Ba(s[i],r),r=ka(r,r.next);return r}(e,t,p,r)),e.length>80*r){n=o=e[0],i=a=e[1];for(var h=r;h<f;h+=r)(s=e[h])<n&&(n=s),(l=e[h+1])<i&&(i=l),s>o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-n,a-i))?1/u:0}return Ta(p,d,r,n,i,u),d}function Ea(e,t,r,n,i){var o,a;if(i===Ga(e,t,r,n)>0)for(o=t;o<r;o+=n)a=Wa(o,e[o],e[o+1],a);else for(o=r-n;o>=t;o-=n)a=Wa(o,e[o],e[o+1],a);return a&&Na(a,a.next)&&(Ka(a),a=a.next),a}function ka(e,t){if(!e)return e;t||(t=e);var r,n=e;do{if(r=!1,n.steiner||!Na(n,n.next)&&0!==Fa(n.prev,n,n.next))n=n.next;else{if(Ka(n),(n=t=n.prev)===n.next)break;r=!0}}while(r||n!==t);return t}function Ta(e,t,r,n,i,o,a){if(e){!a&&o&&function(e,t,r,n){var i=e;do{null===i.z&&(i.z=Da(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,r,n,i,o,a,s,l,u=1;do{for(r=e,e=null,o=null,a=0;r;){for(a++,n=r,s=0,t=0;t<u&&(s++,n=n.nextZ);t++);for(l=u;s>0||l>0&&n;)0!==s&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,l--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;r=n}o.nextZ=null,u*=2}while(a>1)}(i)}(e,n,i,o);for(var s,l,u=e;e.prev!==e.next;)if(s=e.prev,l=e.next,o?Sa(e,n,i,o):Ca(e))t.push(s.i/r),t.push(e.i/r),t.push(l.i/r),Ka(e),e=l.next,u=l.next;else if((e=l)===u){a?1===a?Ta(e=Oa(ka(e),t,r),t,r,n,i,o,2):2===a&&Ma(e,t,r,n,i,o):Ta(ka(e),t,r,n,i,o,1);break}}}function Ca(e){var t=e.prev,r=e,n=e.next;if(Fa(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(ja(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&Fa(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Sa(e,t,r,n){var i=e.prev,o=e,a=e.next;if(Fa(i,o,a)>=0)return!1;for(var s=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,l=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,u=Da(i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,t,r,n),c=Da(s,l,t,r,n),f=e.prevZ,p=e.nextZ;f&&f.z>=u&&p&&p.z<=c;){if(f!==e.prev&&f!==e.next&&ja(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Fa(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,p!==e.prev&&p!==e.next&&ja(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&Fa(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;f&&f.z>=u;){if(f!==e.prev&&f!==e.next&&ja(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Fa(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;p&&p.z<=c;){if(p!==e.prev&&p!==e.next&&ja(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&Fa(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function Oa(e,t,r){var n=e;do{var i=n.prev,o=n.next.next;!Na(i,o)&&za(i,n,n.next,o)&&Va(i,o)&&Va(o,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(o.i/r),Ka(n),Ka(n.next),n=e=o),n=n.next}while(n!==e);return ka(n)}function Ma(e,t,r,n,i,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Ra(a,s)){var l=Qa(a,s);return a=ka(a,a.next),l=ka(l,l.next),Ta(a,t,r,n,i,o),void Ta(l,t,r,n,i,o)}s=s.next}a=a.next}while(a!==e)}function Pa(e,t){return e.x-t.x}function Ba(e,t){if(t=function(e,t){var r,n=t,i=e.x,o=e.y,a=-1/0;do{if(o<=n.y&&o>=n.next.y&&n.next.y!==n.y){var s=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>a){if(a=s,s===i){if(o===n.y)return n;if(o===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==t);if(!r)return null;if(i===a)return r;var l,u=r,c=r.x,f=r.y,p=1/0;n=r;do{i>=n.x&&n.x>=c&&i!==n.x&&ja(o<f?i:a,o,c,f,o<f?a:i,o,n.x,n.y)&&(l=Math.abs(o-n.y)/(i-n.x),Va(n,e)&&(l<p||l===p&&(n.x>r.x||n.x===r.x&&La(r,n)))&&(r=n,p=l)),n=n.next}while(n!==u);return r}(e,t)){var r=Qa(t,e);ka(t,t.next),ka(r,r.next)}}function La(e,t){return Fa(e.prev,e,t.prev)<0&&Fa(t.next,e,e.next)<0}function Da(e,t,r,n,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Ia(e){var t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function ja(e,t,r,n,i,o,a,s){return(i-a)*(t-s)-(e-a)*(o-s)>=0&&(e-a)*(n-s)-(r-a)*(t-s)>=0&&(r-a)*(o-s)-(i-a)*(n-s)>=0}function Ra(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&za(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}(e,t)&&(Va(e,t)&&Va(t,e)&&function(e,t){var r=e,n=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}(e,t)&&(Fa(e.prev,e,t.prev)||Fa(e,t.prev,t))||Na(e,t)&&Fa(e.prev,e,e.next)>0&&Fa(t.prev,t,t.next)>0)}function Fa(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function Na(e,t){return e.x===t.x&&e.y===t.y}function za(e,t,r,n){var i=Ha(Fa(e,t,r)),o=Ha(Fa(e,t,n)),a=Ha(Fa(r,n,e)),s=Ha(Fa(r,n,t));return i!==o&&a!==s||!(0!==i||!Ua(e,r,t))||!(0!==o||!Ua(e,n,t))||!(0!==a||!Ua(r,e,n))||!(0!==s||!Ua(r,t,n))}function Ua(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function Ha(e){return e>0?1:e<0?-1:0}function Va(e,t){return Fa(e.prev,e,e.next)<0?Fa(e,t,e.next)>=0&&Fa(e,e.prev,t)>=0:Fa(e,t,e.prev)<0||Fa(e,e.next,t)<0}function Qa(e,t){var r=new qa(e.i,e.x,e.y),n=new qa(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function Wa(e,t,r,n){var i=new qa(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Ka(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function qa(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Ga(e,t,r,n){for(var i=0,o=t,a=r-n;o<r;o+=n)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}function $a(e,t,r,n,i){!function e(t,r,n,i,o){for(;i>n;){if(i-n>600){var a=i-n+1,s=r-n+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);e(t,r,Math.max(n,Math.floor(r-s*u/a+c)),Math.min(i,Math.floor(r+(a-s)*u/a+c)),o)}var f=t[r],p=n,d=i;for(Ya(t,n,r),o(t[i],f)>0&&Ya(t,n,i);p<d;){for(Ya(t,p,d),p++,d--;o(t[p],f)<0;)p++;for(;o(t[d],f)>0;)d--}0===o(t[n],f)?Ya(t,n,d):Ya(t,++d,i),d<=r&&(n=d+1),r<=d&&(i=d-1)}}(e,t,r||0,n||e.length-1,i||Xa)}function Ya(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Xa(e,t){return e<t?-1:e>t?1:0}function Za(e,t){var r=e.length;if(r<=1)return[e];for(var n,i,o=[],a=0;a<r;a++){var s=_(e[a]);0!==s&&(e[a].area=Math.abs(s),void 0===i&&(i=s<0),i===s<0?(n&&o.push(n),n=[e[a]]):n.push(e[a]))}if(n&&o.push(n),t>1)for(var l=0;l<o.length;l++)o[l].length<=t||($a(o[l],t,1,o[l].length-1,Ja),o[l]=o[l].slice(0,t));return o}function Ja(e,t){return t.area-e.area}function es(e,t,r){for(var n=r.patternDependencies,i=!1,o=0,a=t;o<a.length;o+=1){var s=a[o].paint.get(e+"-pattern");s.isConstant()||(i=!0);var l=s.constantOr(null);l&&(i=!0,n[l.to]=!0,n[l.from]=!0)}return i}function ts(e,t,r,n,i){for(var o=i.patternDependencies,a=0,s=t;a<s.length;a+=1){var l=s[a],u=l.paint.get(e+"-pattern").value;if("constant"!==u.kind){var c=u.evaluate({zoom:n-1},r,{},i.availableImages),f=u.evaluate({zoom:n},r,{},i.availableImages),p=u.evaluate({zoom:n+1},r,{},i.availableImages);f=f&&f.name?f.name:f,p=p&&p.name?p.name:p,o[c=c&&c.name?c.name:c]=!0,o[f]=!0,o[p]=!0,r.patterns[l.id]={min:c,mid:f,max:p}}}return r}_a.deviation=function(e,t,r,n){var i=t&&t.length,o=Math.abs(Ga(e,0,i?t[0]*r:e.length,r));if(i)for(var a=0,s=t.length;a<s;a++)o-=Math.abs(Ga(e,t[a]*r,a<s-1?t[a+1]*r:e.length,r));var l=0;for(a=0;a<n.length;a+=3){var u=n[a]*r,c=n[a+1]*r,f=n[a+2]*r;l+=Math.abs((e[u]-e[f])*(e[c+1]-e[u+1])-(e[u]-e[c])*(e[f+1]-e[u+1]))}return 0===o&&0===l?0:Math.abs((l-o)/o)},_a.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var a=0;a<t;a++)r.vertices.push(e[i][o][a]);i>0&&r.holes.push(n+=e[i-1].length)}return r},Aa.default=wa;var rs=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new ki,this.indexArray=new Ri,this.indexArray2=new Vi,this.programConfigurations=new Bo(xa,e.layers,e.zoom),this.segments=new io,this.segments2=new io,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};rs.prototype.populate=function(e,t,r){this.hasPattern=es("fill",this.layers,t);for(var n=this.layers[0].layout.get("fill-sort-key"),i=[],o=0,a=e;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,f=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,d={type:l.type,id:u,properties:l.properties,geometry:p?jo(l):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),d,r)){p||(d.geometry=jo(l));var h=n?n.evaluate(d,{},r,t.availableImages):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:f,index:c,geometry:d.geometry,patterns:{},sortKey:h})}}n&&i.sort((function(e,t){return e.sortKey-t.sortKey}));for(var v=0,m=i;v<m.length;v+=1){var g=m[v],y=g.geometry,b=g.index,x=g.sourceLayerIndex;if(this.hasPattern){var A=ts("fill",this.layers,g,this.zoom,t);this.patternFeatures.push(A)}else this.addFeature(g,y,b,r,{});t.featureIndex.insert(e[b].feature,y,b,x,this.index)}},rs.prototype.update=function(e,t,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r)},rs.prototype.addFeatures=function(e,t,r){for(var n=0,i=this.patternFeatures;n<i.length;n+=1){var o=i[n];this.addFeature(o,o.geometry,o.index,t,r)}},rs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},rs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},rs.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,xa),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.indexBuffer2=e.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(e),this.uploaded=!0},rs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},rs.prototype.addFeature=function(e,t,r,n,i){for(var o=0,a=Za(t,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray),p=f.vertexLength,d=[],h=[],v=0,m=s;v<m.length;v+=1){var g=m[v];if(0!==g.length){g!==s[0]&&h.push(d.length/2);var y=this.segments2.prepareSegment(g.length,this.layoutVertexArray,this.indexArray2),b=y.vertexLength;this.layoutVertexArray.emplaceBack(g[0].x,g[0].y),this.indexArray2.emplaceBack(b+g.length-1,b),d.push(g[0].x),d.push(g[0].y);for(var x=1;x<g.length;x++)this.layoutVertexArray.emplaceBack(g[x].x,g[x].y),this.indexArray2.emplaceBack(b+x-1,b+x),d.push(g[x].x),d.push(g[x].y);y.vertexLength+=g.length,y.primitiveLength+=g.length}}for(var A=Aa(d,h),w=0;w<A.length;w+=3)this.indexArray.emplaceBack(p+A[w],p+A[w+1],p+A[w+2]);f.vertexLength+=l,f.primitiveLength+=A.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,n)},In("FillBucket",rs,{omit:["layers","patternFeatures"]});var ns=new yi({"fill-sort-key":new hi(Te.layout_fill["fill-sort-key"])}),is={paint:new yi({"fill-antialias":new di(Te.paint_fill["fill-antialias"]),"fill-opacity":new hi(Te.paint_fill["fill-opacity"]),"fill-color":new hi(Te.paint_fill["fill-color"]),"fill-outline-color":new hi(Te.paint_fill["fill-outline-color"]),"fill-translate":new di(Te.paint_fill["fill-translate"]),"fill-translate-anchor":new di(Te.paint_fill["fill-translate-anchor"]),"fill-pattern":new vi(Te.paint_fill["fill-pattern"])}),layout:ns},os=function(e){function t(t){e.call(this,t,is)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.recalculate=function(t,r){e.prototype.recalculate.call(this,t,r);var n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},t.prototype.createBucket=function(e){return new rs(e)},t.prototype.queryRadius=function(){return Xo(this.paint.get("fill-translate"))},t.prototype.queryIntersectsFeature=function(e,t,r,n,i,o,a){return Uo(Zo(e,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),n)},t.prototype.isTileClipped=function(){return!0},t}(bi),as=_i([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,ss=ls;function ls(e,t,r,n,i){this.properties={},this.extent=r,this.type=0,this._pbf=e,this._geometry=-1,this._keys=n,this._values=i,e.readFields(us,this,t)}function us(e,t,r){1==e?t.id=r.readVarint():2==e?function(e,t){for(var r=e.readVarint()+e.pos;e.pos<r;){var n=t._keys[e.readVarint()],i=t._values[e.readVarint()];t.properties[n]=i}}(r,t):3==e?t.type=r.readVarint():4==e&&(t._geometry=r.pos)}function cs(e){for(var t,r,n=0,i=0,o=e.length,a=o-1;i<o;a=i++)n+=((r=e[a]).x-(t=e[i]).x)*(t.y+r.y);return n}ls.types=["Unknown","Point","LineString","Polygon"],ls.prototype.loadGeometry=function(){var e=this._pbf;e.pos=this._geometry;for(var t,r=e.readVarint()+e.pos,n=1,o=0,a=0,s=0,l=[];e.pos<r;){if(o<=0){var u=e.readVarint();n=7&u,o=u>>3}if(o--,1===n||2===n)a+=e.readSVarint(),s+=e.readSVarint(),1===n&&(t&&l.push(t),t=[]),t.push(new i(a,s));else{if(7!==n)throw new Error("unknown command "+n);t&&t.push(t[0].clone())}}return t&&l.push(t),l},ls.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,r=1,n=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;e.pos<t;){if(n<=0){var c=e.readVarint();r=7&c,n=c>>3}if(n--,1===r||2===r)(i+=e.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=e.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,u]},ls.prototype.toGeoJSON=function(e,t,r){var n,i,o=this.extent*Math.pow(2,r),a=this.extent*e,s=this.extent*t,l=this.loadGeometry(),u=ls.types[this.type];function c(e){for(var t=0;t<e.length;t++){var r=e[t];e[t]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp((180-360*(r.y+s)/o)*Math.PI/180))-90]}}switch(this.type){case 1:var f=[];for(n=0;n<l.length;n++)f[n]=l[n][0];c(l=f);break;case 2:for(n=0;n<l.length;n++)c(l[n]);break;case 3:for(l=function(e){var t=e.length;if(t<=1)return[e];for(var r,n,i=[],o=0;o<t;o++){var a=cs(e[o]);0!==a&&(void 0===n&&(n=a<0),n===a<0?(r&&i.push(r),r=[e[o]]):r.push(e[o]))}return r&&i.push(r),i}(l),n=0;n<l.length;n++)for(i=0;i<l[n].length;i++)c(l[n][i])}1===l.length?l=l[0]:u="Multi"+u;var p={type:"Feature",geometry:{type:u,coordinates:l},properties:this.properties};return"id"in this&&(p.id=this.id),p};var fs=ps;function ps(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(ds,this,t),this.length=this._features.length}function ds(e,t,r){15===e?t.version=r.readVarint():1===e?t.name=r.readString():5===e?t.extent=r.readVarint():2===e?t._features.push(r.pos):3===e?t._keys.push(r.readString()):4===e&&t._values.push(function(e){for(var t=null,r=e.readVarint()+e.pos;e.pos<r;){var n=e.readVarint()>>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(r))}function hs(e,t,r){if(3===e){var n=new fs(r,r.readVarint()+r.pos);n.length&&(t[n.name]=n)}}ps.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new ss(this._pbf,t,this.extent,this._keys,this._values)};var vs={VectorTile:function(e,t){this.layers=e.readFields(hs,{},t)},VectorTileFeature:ss,VectorTileLayer:fs},ms=vs.VectorTileFeature.types,gs=Math.pow(2,13);function ys(e,t,r,n,i,o,a,s){e.emplaceBack(t,r,2*Math.floor(n*gs)+a,i*gs*2,o*gs*2,Math.round(s))}var bs=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new Ci,this.indexArray=new Ri,this.programConfigurations=new Bo(as,e.layers,e.zoom),this.segments=new io,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};function xs(e,t){return e.x===t.x&&(e.x<0||e.x>8192)||e.y===t.y&&(e.y<0||e.y>8192)}bs.prototype.populate=function(e,t,r){this.features=[],this.hasPattern=es("fill-extrusion",this.layers,t);for(var n=0,i=e;n<i.length;n+=1){var o=i[n],a=o.feature,s=o.id,l=o.index,u=o.sourceLayerIndex,c=this.layers[0]._featureFilter.needGeometry,f={type:a.type,id:s,properties:a.properties,geometry:c?jo(a):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),f,r)){var p={id:s,sourceLayerIndex:u,index:l,geometry:c?f.geometry:jo(a),properties:a.properties,type:a.type,patterns:{}};void 0!==a.id&&(p.id=a.id),this.hasPattern?this.features.push(ts("fill-extrusion",this.layers,p,this.zoom,t)):this.addFeature(p,p.geometry,l,r,{}),t.featureIndex.insert(a,p.geometry,l,u,this.index,!0)}}},bs.prototype.addFeatures=function(e,t,r){for(var n=0,i=this.features;n<i.length;n+=1){var o=i[n];this.addFeature(o,o.geometry,o.index,t,r)}},bs.prototype.update=function(e,t,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r)},bs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},bs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},bs.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,as),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},bs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},bs.prototype.addFeature=function(e,t,r,n,i){for(var o=0,a=Za(t,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),p=0,d=s;p<d.length;p+=1){var h=d[p];if(0!==h.length&&!((B=h).every((function(e){return e.x<0}))||B.every((function(e){return e.x>8192}))||B.every((function(e){return e.y<0}))||B.every((function(e){return e.y>8192}))))for(var v=0,m=0;m<h.length;m++){var g=h[m];if(m>=1){var y=h[m-1];if(!xs(g,y)){f.vertexLength+4>io.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var b=g.sub(y)._perp()._unit(),x=y.dist(g);v+x>32768&&(v=0),ys(this.layoutVertexArray,g.x,g.y,b.x,b.y,0,0,v),ys(this.layoutVertexArray,g.x,g.y,b.x,b.y,0,1,v),ys(this.layoutVertexArray,y.x,y.y,b.x,b.y,0,0,v+=x),ys(this.layoutVertexArray,y.x,y.y,b.x,b.y,0,1,v);var A=f.vertexLength;this.indexArray.emplaceBack(A,A+2,A+1),this.indexArray.emplaceBack(A+1,A+2,A+3),f.vertexLength+=4,f.primitiveLength+=2}}}}if(f.vertexLength+l>io.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),"Polygon"===ms[e.type]){for(var w=[],_=[],E=f.vertexLength,k=0,T=s;k<T.length;k+=1){var C=T[k];if(0!==C.length){C!==s[0]&&_.push(w.length/2);for(var S=0;S<C.length;S++){var O=C[S];ys(this.layoutVertexArray,O.x,O.y,0,0,1,1,0),w.push(O.x),w.push(O.y)}}}for(var M=Aa(w,_),P=0;P<M.length;P+=3)this.indexArray.emplaceBack(E+M[P],E+M[P+2],E+M[P+1]);f.primitiveLength+=M.length/3,f.vertexLength+=l}}var B;this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,n)},In("FillExtrusionBucket",bs,{omit:["layers","features"]});var As={paint:new yi({"fill-extrusion-opacity":new di(Te["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new hi(Te["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new di(Te["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new di(Te["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new vi(Te["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new hi(Te["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new hi(Te["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new di(Te["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},ws=function(e){function t(t){e.call(this,t,As)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.createBucket=function(e){return new bs(e)},t.prototype.queryRadius=function(){return Xo(this.paint.get("fill-extrusion-translate"))},t.prototype.is3D=function(){return!0},t.prototype.queryIntersectsFeature=function(e,t,r,n,o,a,s,l){var u=Zo(e,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),c=this.paint.get("fill-extrusion-height").evaluate(t,r),f=this.paint.get("fill-extrusion-base").evaluate(t,r),p=function(e,t,r,n){for(var o=[],a=0,s=e;a<s.length;a+=1){var l=s[a],u=[l.x,l.y,0,1];aa(u,u,t),o.push(new i(u[0]/u[3],u[1]/u[3]))}return o}(u,l),d=function(e,t,r,n){for(var o=[],a=[],s=n[8]*t,l=n[9]*t,u=n[10]*t,c=n[11]*t,f=n[8]*r,p=n[9]*r,d=n[10]*r,h=n[11]*r,v=0,m=e;v<m.length;v+=1){for(var g=[],y=[],b=0,x=m[v];b<x.length;b+=1){var A=x[b],w=A.x,_=A.y,E=n[0]*w+n[4]*_+n[12],k=n[1]*w+n[5]*_+n[13],T=n[2]*w+n[6]*_+n[14],C=n[3]*w+n[7]*_+n[15],S=T+u,O=C+c,M=E+f,P=k+p,B=T+d,L=C+h,D=new i((E+s)/O,(k+l)/O);D.z=S/O,g.push(D);var I=new i(M/L,P/L);I.z=B/L,y.push(I)}o.push(g),a.push(y)}return[o,a]}(n,f,c,l);return function(e,t,r){var n=1/0;Uo(r,t)&&(n=Es(r,t[0]));for(var i=0;i<t.length;i++)for(var o=t[i],a=e[i],s=0;s<o.length-1;s++){var l=o[s],u=[l,o[s+1],a[s+1],a[s],l];No(r,u)&&(n=Math.min(n,Es(r,u)))}return n!==1/0&&n}(d[0],d[1],p)},t}(bi);function _s(e,t){return e.x*t.x+e.y*t.y}function Es(e,t){if(1===e.length){for(var r,n=0,i=t[n++];!r||i.equals(r);)if(!(r=t[n++]))return 1/0;for(;n<t.length;n++){var o=t[n],a=e[0],s=r.sub(i),l=o.sub(i),u=a.sub(i),c=_s(s,s),f=_s(s,l),p=_s(l,l),d=_s(u,s),h=_s(u,l),v=c*p-f*f,m=(p*d-f*h)/v,g=(c*h-f*d)/v,y=i.z*(1-m-g)+r.z*m+o.z*g;if(isFinite(y))return y}return 1/0}for(var b=1/0,x=0,A=t;x<A.length;x+=1)b=Math.min(b,A[x].z);return b}var ks=_i([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,Ts=vs.VectorTileFeature.types,Cs=Math.cos(Math.PI/180*37.5),Ss=Math.pow(2,14)/.5,Os=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Si,this.indexArray=new Ri,this.programConfigurations=new Bo(ks,e.layers,e.zoom),this.segments=new io,this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id}))};Os.prototype.populate=function(e,t,r){this.hasPattern=es("line",this.layers,t);for(var n=this.layers[0].layout.get("line-sort-key"),i=[],o=0,a=e;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,f=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,d={type:l.type,id:u,properties:l.properties,geometry:p?jo(l):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),d,r)){p||(d.geometry=jo(l));var h=n?n.evaluate(d,{},r):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:f,index:c,geometry:d.geometry,patterns:{},sortKey:h})}}n&&i.sort((function(e,t){return e.sortKey-t.sortKey}));for(var v=0,m=i;v<m.length;v+=1){var g=m[v],y=g.geometry,b=g.index,x=g.sourceLayerIndex;if(this.hasPattern){var A=ts("line",this.layers,g,this.zoom,t);this.patternFeatures.push(A)}else this.addFeature(g,y,b,r,{});t.featureIndex.insert(e[b].feature,y,b,x,this.index)}},Os.prototype.update=function(e,t,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r)},Os.prototype.addFeatures=function(e,t,r){for(var n=0,i=this.patternFeatures;n<i.length;n+=1){var o=i[n];this.addFeature(o,o.geometry,o.index,t,r)}},Os.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Os.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Os.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,ks),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Os.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Os.prototype.addFeature=function(e,t,r,n,i){for(var o=this.layers[0].layout,a=o.get("line-join").evaluate(e,{}),s=o.get("line-cap"),l=o.get("line-miter-limit"),u=o.get("line-round-limit"),c=0,f=t;c<f.length;c+=1)this.addLine(f[c],e,a,s,l,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,n)},Os.prototype.addLine=function(e,t,r,n,i,o){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,t.properties&&t.properties.hasOwnProperty("mapbox_clip_start")&&t.properties.hasOwnProperty("mapbox_clip_end")){this.clipStart=+t.properties.mapbox_clip_start,this.clipEnd=+t.properties.mapbox_clip_end;for(var a=0;a<e.length-1;a++)this.totalDistance+=e[a].dist(e[a+1]);this.updateScaledDistance()}for(var s="Polygon"===Ts[t.type],l=e.length;l>=2&&e[l-1].equals(e[l-2]);)l--;for(var u=0;u<l-1&&e[u].equals(e[u+1]);)u++;if(!(l<(s?3:2))){"bevel"===r&&(i=1.05);var c,f=this.overscaling<=16?122880/(512*this.overscaling):0,p=this.segments.prepareSegment(10*l,this.layoutVertexArray,this.indexArray),d=void 0,h=void 0,v=void 0,m=void 0;this.e1=this.e2=-1,s&&(m=e[u].sub(c=e[l-2])._unit()._perp());for(var g=u;g<l;g++)if(!(h=g===l-1?s?e[u+1]:void 0:e[g+1])||!e[g].equals(h)){m&&(v=m),c&&(d=c),c=e[g],m=h?h.sub(c)._unit()._perp():v;var y=(v=v||m).add(m);0===y.x&&0===y.y||y._unit();var b=v.x*m.x+v.y*m.y,x=y.x*m.x+y.y*m.y,A=0!==x?1/x:1/0,w=2*Math.sqrt(2-2*x),_=x<Cs&&d&&h,E=v.x*m.y-v.y*m.x>0;if(_&&g>u){var k=c.dist(d);if(k>2*f){var T=c.sub(c.sub(d)._mult(f/k)._round());this.updateDistance(d,T),this.addCurrentVertex(T,v,0,0,p),d=T}}var C=d&&h,S=C?r:s?"butt":n;if(C&&"round"===S&&(A<o?S="miter":A<=2&&(S="fakeround")),"miter"===S&&A>i&&(S="bevel"),"bevel"===S&&(A>2&&(S="flipbevel"),A<i&&(S="miter")),d&&this.updateDistance(d,c),"miter"===S)y._mult(A),this.addCurrentVertex(c,y,0,0,p);else if("flipbevel"===S){if(A>100)y=m.mult(-1);else{var O=A*v.add(m).mag()/v.sub(m).mag();y._perp()._mult(O*(E?-1:1))}this.addCurrentVertex(c,y,0,0,p),this.addCurrentVertex(c,y.mult(-1),0,0,p)}else if("bevel"===S||"fakeround"===S){var M=-Math.sqrt(A*A-1),P=E?M:0,B=E?0:M;if(d&&this.addCurrentVertex(c,v,P,B,p),"fakeround"===S)for(var L=Math.round(180*w/Math.PI/20),D=1;D<L;D++){var I=D/L;if(.5!==I){var j=I-.5;I+=I*j*(I-1)*((1.0904+b*(b*(3.55645-1.43519*b)-3.2452))*j*j+(.848013+b*(.215638*b-1.06021)))}var R=m.sub(v)._mult(I)._add(v)._unit()._mult(E?-1:1);this.addHalfVertex(c,R.x,R.y,!1,E,0,p)}h&&this.addCurrentVertex(c,m,-P,-B,p)}else if("butt"===S)this.addCurrentVertex(c,y,0,0,p);else if("square"===S){var F=d?1:-1;this.addCurrentVertex(c,y,F,F,p)}else"round"===S&&(d&&(this.addCurrentVertex(c,v,0,0,p),this.addCurrentVertex(c,v,1,1,p,!0)),h&&(this.addCurrentVertex(c,m,-1,-1,p,!0),this.addCurrentVertex(c,m,0,0,p)));if(_&&g<l-1){var N=c.dist(h);if(N>2*f){var z=c.add(h.sub(c)._mult(f/N)._round());this.updateDistance(c,z),this.addCurrentVertex(z,m,0,0,p),c=z}}}}},Os.prototype.addCurrentVertex=function(e,t,r,n,i,o){void 0===o&&(o=!1);var a=t.y*n-t.x,s=-t.y-t.x*n;this.addHalfVertex(e,t.x+t.y*r,t.y-t.x*r,o,!1,r,i),this.addHalfVertex(e,a,s,o,!0,-n,i),this.distance>Ss/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(e,t,r,n,i,o))},Os.prototype.addHalfVertex=function(e,t,r,n,i,o,a){var s=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((e.x<<1)+(n?1:0),(e.y<<1)+(i?1:0),Math.round(63*t)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&s)<<2,s>>6);var l=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),a.primitiveLength++),i?this.e2=l:this.e1=l},Os.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Ss-1):this.distance},Os.prototype.updateDistance=function(e,t){this.distance+=e.dist(t),this.updateScaledDistance()},In("LineBucket",Os,{omit:["layers","patternFeatures"]});var Ms=new yi({"line-cap":new di(Te.layout_line["line-cap"]),"line-join":new hi(Te.layout_line["line-join"]),"line-miter-limit":new di(Te.layout_line["line-miter-limit"]),"line-round-limit":new di(Te.layout_line["line-round-limit"]),"line-sort-key":new hi(Te.layout_line["line-sort-key"])}),Ps={paint:new yi({"line-opacity":new hi(Te.paint_line["line-opacity"]),"line-color":new hi(Te.paint_line["line-color"]),"line-translate":new di(Te.paint_line["line-translate"]),"line-translate-anchor":new di(Te.paint_line["line-translate-anchor"]),"line-width":new hi(Te.paint_line["line-width"]),"line-gap-width":new hi(Te.paint_line["line-gap-width"]),"line-offset":new hi(Te.paint_line["line-offset"]),"line-blur":new hi(Te.paint_line["line-blur"]),"line-dasharray":new mi(Te.paint_line["line-dasharray"]),"line-pattern":new vi(Te.paint_line["line-pattern"]),"line-gradient":new gi(Te.paint_line["line-gradient"])}),layout:Ms},Bs=new(function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.possiblyEvaluate=function(t,r){return r=new ii(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),e.prototype.possiblyEvaluate.call(this,t,r)},t.prototype.evaluate=function(t,r,n,i){return r=c({},r,{zoom:Math.floor(r.zoom)}),e.prototype.evaluate.call(this,t,r,n,i)},t}(hi))(Ps.paint.properties["line-width"].specification);Bs.useIntegerZoom=!0;var Ls=function(e){function t(t){e.call(this,t,Ps)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._handleSpecialPaintPropertyUpdate=function(e){"line-gradient"===e&&this._updateGradient()},t.prototype._updateGradient=function(){this.gradient=ma(this._transitionablePaint._values["line-gradient"].value.expression,"lineProgress"),this.gradientTexture=null},t.prototype.recalculate=function(t,r){e.prototype.recalculate.call(this,t,r),this.paint._values["line-floorwidth"]=Bs.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t)},t.prototype.createBucket=function(e){return new Os(e)},t.prototype.queryRadius=function(e){var t=e,r=Ds(Yo("line-width",this,t),Yo("line-gap-width",this,t)),n=Yo("line-offset",this,t);return r/2+Math.abs(n)+Xo(this.paint.get("line-translate"))},t.prototype.queryIntersectsFeature=function(e,t,r,n,o,a,s){var l=Zo(e,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),u=s/2*Ds(this.paint.get("line-width").evaluate(t,r),this.paint.get("line-gap-width").evaluate(t,r)),c=this.paint.get("line-offset").evaluate(t,r);return c&&(n=function(e,t){for(var r=[],n=new i(0,0),o=0;o<e.length;o++){for(var a=e[o],s=[],l=0;l<a.length;l++){var u=a[l],c=a[l+1],f=0===l?n:u.sub(a[l-1])._unit()._perp(),p=l===a.length-1?n:c.sub(u)._unit()._perp(),d=f._add(p)._unit();d._mult(1/(d.x*p.x+d.y*p.y)),s.push(d._mult(t)._add(u))}r.push(s)}return r}(n,c*s)),function(e,t,r){for(var n=0;n<t.length;n++){var i=t[n];if(e.length>=3)for(var o=0;o<i.length;o++)if(Go(e,i[o]))return!0;if(Ho(e,i,r))return!0}return!1}(l,n,u)},t.prototype.isTileClipped=function(){return!0},t}(bi);function Ds(e,t){return t>0?t+2*e:e}var Is=_i([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),js=_i([{name:"a_projected_pos",components:3,type:"Float32"}],4),Rs=(_i([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),_i([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),Fs=(_i([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),_i([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),Ns=_i([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function zs(e,t,r){return e.sections.forEach((function(e){e.text=function(e,t,r){var n=t.layout.get("text-transform").evaluate(r,{});return"uppercase"===n?e=e.toLocaleUpperCase():"lowercase"===n&&(e=e.toLocaleLowerCase()),ni.applyArabicShaping&&(e=ni.applyArabicShaping(e)),e}(e.text,t,r)})),e}_i([{name:"triangle",components:3,type:"Uint16"}]),_i([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),_i([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),_i([{type:"Float32",name:"offsetX"}]),_i([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var Us={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},Hs=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,p=r?-1:1,d=e[t+f];for(f+=p,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},Vs=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?p/l:p*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=h,a/=256,u-=8);e[r+d-h]|=128*v},Qs=Ws;function Ws(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}Ws.Varint=0,Ws.Fixed64=1,Ws.Bytes=2,Ws.Fixed32=5;var Ks="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function qs(e){return e.type===Ws.Bytes?e.readVarint()+e.pos:e.pos+1}function Gs(e,t,r){return r?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function $s(e,t,r){var n=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=e;i--)r.buf[i+n]=r.buf[i]}function Ys(e,t){for(var r=0;r<e.length;r++)t.writeVarint(e[r])}function Xs(e,t){for(var r=0;r<e.length;r++)t.writeSVarint(e[r])}function Zs(e,t){for(var r=0;r<e.length;r++)t.writeFloat(e[r])}function Js(e,t){for(var r=0;r<e.length;r++)t.writeDouble(e[r])}function el(e,t){for(var r=0;r<e.length;r++)t.writeBoolean(e[r])}function tl(e,t){for(var r=0;r<e.length;r++)t.writeFixed32(e[r])}function rl(e,t){for(var r=0;r<e.length;r++)t.writeSFixed32(e[r])}function nl(e,t){for(var r=0;r<e.length;r++)t.writeFixed64(e[r])}function il(e,t){for(var r=0;r<e.length;r++)t.writeSFixed64(e[r])}function ol(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function al(e,t,r){e[r]=t,e[r+1]=t>>>8,e[r+2]=t>>>16,e[r+3]=t>>>24}function sl(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}function ll(e,t,r){1===e&&r.readMessage(ul,t)}function ul(e,t,r){if(3===e){var n=r.readMessage(cl,{}),i=n.width,o=n.height,a=n.left,s=n.top,l=n.advance;t.push({id:n.id,bitmap:new da({width:i+6,height:o+6},n.bitmap),metrics:{width:i,height:o,left:a,top:s,advance:l}})}}function cl(e,t,r){1===e?t.id=r.readVarint():2===e?t.bitmap=r.readBytes():3===e?t.width=r.readVarint():4===e?t.height=r.readVarint():5===e?t.left=r.readSVarint():6===e?t.top=r.readSVarint():7===e&&(t.advance=r.readVarint())}function fl(e){for(var t=0,r=0,n=0,i=e;n<i.length;n+=1){var o=i[n];t+=o.w*o.h,r=Math.max(r,o.w)}e.sort((function(e,t){return t.h-e.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(t/.95)),r),h:1/0}],s=0,l=0,u=0,c=e;u<c.length;u+=1)for(var f=c[u],p=a.length-1;p>=0;p--){var d=a[p];if(!(f.w>d.w||f.h>d.h)){if(f.x=d.x,f.y=d.y,l=Math.max(l,f.y+f.h),s=Math.max(s,f.x+f.w),f.w===d.w&&f.h===d.h){var h=a.pop();p<a.length&&(a[p]=h)}else f.h===d.h?(d.x+=f.w,d.w-=f.w):f.w===d.w?(d.y+=f.h,d.h-=f.h):(a.push({x:d.x+f.w,y:d.y,w:d.w-f.w,h:f.h}),d.y+=f.h,d.h-=f.h);break}}return{w:s,h:l,fill:t/(s*l)||0}}Ws.prototype={destroy:function(){this.buf=null},readFields:function(e,t,r){for(r=r||this.length;this.pos<r;){var n=this.readVarint(),i=n>>3,o=this.pos;this.type=7&n,e(i,t,this),this.pos===o&&this.skip(n)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=ol(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=sl(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=ol(this.buf,this.pos)+4294967296*ol(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=ol(this.buf,this.pos)+4294967296*sl(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=Hs(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=Hs(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,r,n=this.buf;return t=127&(r=n[this.pos++]),r<128?t:(t|=(127&(r=n[this.pos++]))<<7,r<128?t:(t|=(127&(r=n[this.pos++]))<<14,r<128?t:(t|=(127&(r=n[this.pos++]))<<21,r<128?t:function(e,t,r){var n,i,o=r.buf;if(n=(112&(i=o[r.pos++]))>>4,i<128)return Gs(e,n,t);if(n|=(127&(i=o[r.pos++]))<<3,i<128)return Gs(e,n,t);if(n|=(127&(i=o[r.pos++]))<<10,i<128)return Gs(e,n,t);if(n|=(127&(i=o[r.pos++]))<<17,i<128)return Gs(e,n,t);if(n|=(127&(i=o[r.pos++]))<<24,i<128)return Gs(e,n,t);if(n|=(1&(i=o[r.pos++]))<<31,i<128)return Gs(e,n,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(r=n[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&Ks?function(e,t,r){return Ks.decode(e.subarray(t,r))}(this.buf,t,e):function(e,t,r){for(var n="",i=t;i<r;){var o,a,s,l=e[i],u=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,n+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),n+=String.fromCharCode(u),i+=c}return n}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==Ws.Bytes)return e.push(this.readVarint(t));var r=qs(this);for(e=e||[];this.pos<r;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==Ws.Bytes)return e.push(this.readSVarint());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==Ws.Bytes)return e.push(this.readBoolean());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==Ws.Bytes)return e.push(this.readFloat());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==Ws.Bytes)return e.push(this.readDouble());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==Ws.Bytes)return e.push(this.readFixed32());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==Ws.Bytes)return e.push(this.readSFixed32());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==Ws.Bytes)return e.push(this.readFixed64());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==Ws.Bytes)return e.push(this.readSFixed64());var t=qs(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===Ws.Varint)for(;this.buf[this.pos++]>127;);else if(t===Ws.Bytes)this.pos=this.readVarint()+this.pos;else if(t===Ws.Fixed32)this.pos+=4;else{if(t!==Ws.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var r=new Uint8Array(t);r.set(this.buf),this.buf=r,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),al(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),al(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),al(this.buf,-1&e,this.pos),al(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),al(this.buf,-1&e,this.pos),al(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var r,n;if(e>=0?(r=e%4294967296|0,n=e/4294967296|0):(n=~(-e/4294967296),4294967295^(r=~(-e%4294967296))?r=r+1|0:(r=0,n=n+1|0)),e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,r){r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,r.buf[r.pos]=127&(e>>>=7)}(r,0,t),function(e,t){var r=(7&e)<<4;t.buf[t.pos++]|=r|((e>>>=3)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e)))))}(n,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,r){for(var n,i,o=0;o<t.length;o++){if((n=t.charCodeAt(o))>55295&&n<57344){if(!i){n>56319||o+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):i=n;continue}if(n<56320){e[r++]=239,e[r++]=191,e[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(e[r++]=239,e[r++]=191,e[r++]=189,i=null);n<128?e[r++]=n:(n<2048?e[r++]=n>>6|192:(n<65536?e[r++]=n>>12|224:(e[r++]=n>>18|240,e[r++]=n>>12&63|128),e[r++]=n>>6&63|128),e[r++]=63&n|128)}return r}(this.buf,e,this.pos);var r=this.pos-t;r>=128&&$s(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r},writeFloat:function(e){this.realloc(4),Vs(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),Vs(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r<t;r++)this.buf[this.pos++]=e[r]},writeRawMessage:function(e,t){this.pos++;var r=this.pos;e(t,this);var n=this.pos-r;n>=128&&$s(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(e,t,r){this.writeTag(e,Ws.Bytes),this.writeRawMessage(t,r)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,Ys,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,Xs,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,el,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,Zs,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,Js,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,tl,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,rl,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,nl,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,il,t)},writeBytesField:function(e,t){this.writeTag(e,Ws.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,Ws.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,Ws.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,Ws.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,Ws.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,Ws.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,Ws.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,Ws.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,Ws.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,Ws.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}};var pl=function(e,t){var r=t.pixelRatio,n=t.version,i=t.stretchX,o=t.stretchY,a=t.content;this.paddedRect=e,this.pixelRatio=r,this.stretchX=i,this.stretchY=o,this.content=a,this.version=n},dl={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};dl.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},dl.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},dl.tlbr.get=function(){return this.tl.concat(this.br)},dl.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(pl.prototype,dl);var hl=function(e,t){var r={},n={};this.haveRenderCallbacks=[];var i=[];this.addImages(e,r,i),this.addImages(t,n,i);var o=fl(i),a=new ha({width:o.w||1,height:o.h||1});for(var s in e){var l=e[s],u=r[s].paddedRect;ha.copy(l.data,a,{x:0,y:0},{x:u.x+1,y:u.y+1},l.data)}for(var c in t){var f=t[c],p=n[c].paddedRect,d=p.x+1,h=p.y+1,v=f.data.width,m=f.data.height;ha.copy(f.data,a,{x:0,y:0},{x:d,y:h},f.data),ha.copy(f.data,a,{x:0,y:m-1},{x:d,y:h-1},{width:v,height:1}),ha.copy(f.data,a,{x:0,y:0},{x:d,y:h+m},{width:v,height:1}),ha.copy(f.data,a,{x:v-1,y:0},{x:d-1,y:h},{width:1,height:m}),ha.copy(f.data,a,{x:0,y:0},{x:d+v,y:h},{width:1,height:m})}this.image=a,this.iconPositions=r,this.patternPositions=n};hl.prototype.addImages=function(e,t,r){for(var n in e){var i=e[n],o={x:0,y:0,w:i.data.width+2,h:i.data.height+2};r.push(o),t[n]=new pl(o,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(n)}},hl.prototype.patchUpdatedImages=function(e,t){for(var r in e.dispatchRenderCallbacks(this.haveRenderCallbacks),e.updatedImages)this.patchUpdatedImage(this.iconPositions[r],e.getImage(r),t),this.patchUpdatedImage(this.patternPositions[r],e.getImage(r),t)},hl.prototype.patchUpdatedImage=function(e,t,r){if(e&&t&&e.version!==t.version){e.version=t.version;var n=e.tl;r.update(t.data,void 0,{x:n[0],y:n[1]})}},In("ImagePosition",pl),In("ImageAtlas",hl);var vl={horizontal:1,vertical:2,horizontalOnly:3},ml=function(){this.scale=1,this.fontStack="",this.imageName=null};ml.forText=function(e,t){var r=new ml;return r.scale=e||1,r.fontStack=t,r},ml.forImage=function(e){var t=new ml;return t.imageName=e,t};var gl=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function yl(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v){var m,g=gl.fromFeature(e,i);f===vl.vertical&&g.verticalizePunctuation();var y=ni.processBidirectionalText,b=ni.processStyledBidirectionalText;if(y&&1===g.sections.length){m=[];for(var x=0,A=y(g.toString(),kl(g,u,o,t,n,d,h));x<A.length;x+=1){var w=A[x],_=new gl;_.text=w,_.sections=g.sections;for(var E=0;E<w.length;E++)_.sectionIndex.push(0);m.push(_)}}else if(b){m=[];for(var k=0,T=b(g.text,g.sectionIndex,kl(g,u,o,t,n,d,h));k<T.length;k+=1){var C=T[k],S=new gl;S.text=C[0],S.sectionIndex=C[1],S.sections=g.sections,m.push(S)}}else m=function(e,t){for(var r=[],n=e.text,i=0,o=0,a=t;o<a.length;o+=1){var s=a[o];r.push(e.substring(i,s)),i=s}return i<n.length&&r.push(e.substring(i,n.length)),r}(g,kl(g,u,o,t,n,d,h));var O=[],M={positionedLines:O,text:g.toString(),top:c[1],bottom:c[1],left:c[0],right:c[0],writingMode:f,iconsInText:!1,verticalizable:!1};return function(e,t,r,n,i,o,a,s,l,u,c,f){for(var p=0,d=-17,h=0,v=0,m="right"===s?1:"left"===s?0:.5,g=0,y=0,b=i;y<b.length;y+=1){var x=b[y];x.trim();var A=x.getMaxScale(),w=24*(A-1),_={positionedGlyphs:[],lineOffset:0};e.positionedLines[g]=_;var E=_.positionedGlyphs,k=0;if(x.length()){for(var T=0;T<x.length();T++){var C=x.getSection(T),S=x.getSectionIndex(T),O=x.getCharCode(T),M=0,P=null,B=null,L=null,D=24,I=!(l===vl.horizontal||!c&&!Qn(O)||c&&(bl[O]||(Q=O,Hn.Arabic(Q)||Hn["Arabic Supplement"](Q)||Hn["Arabic Extended-A"](Q)||Hn["Arabic Presentation Forms-A"](Q)||Hn["Arabic Presentation Forms-B"](Q))));if(C.imageName){var j=n[C.imageName];if(!j)continue;L=C.imageName,e.iconsInText=e.iconsInText||!0,B=j.paddedRect;var R=j.displaySize;C.scale=24*C.scale/f,M=w+(24-R[1]*C.scale),D=(P={width:R[0],height:R[1],left:1,top:-3,advance:I?R[1]:R[0]}).advance;var F=I?R[0]*C.scale-24*A:R[1]*C.scale-24*A;F>0&&F>k&&(k=F)}else{var N=r[C.fontStack],z=N&&N[O];if(z&&z.rect)B=z.rect,P=z.metrics;else{var U=t[C.fontStack],H=U&&U[O];if(!H)continue;P=H.metrics}M=24*(A-C.scale)}I?(e.verticalizable=!0,E.push({glyph:O,imageName:L,x:p,y:d+M,vertical:I,scale:C.scale,fontStack:C.fontStack,sectionIndex:S,metrics:P,rect:B}),p+=D*C.scale+u):(E.push({glyph:O,imageName:L,x:p,y:d+M,vertical:I,scale:C.scale,fontStack:C.fontStack,sectionIndex:S,metrics:P,rect:B}),p+=P.advance*C.scale+u)}0!==E.length&&(h=Math.max(p-u,h),Cl(E,0,E.length-1,m,k)),p=0;var V=o*A+k;_.lineOffset=Math.max(k,w),d+=V,v=Math.max(V,v),++g}else d+=o,++g}var Q,W=d- -17,K=Tl(a),q=K.horizontalAlign,G=K.verticalAlign;(function(e,t,r,n,i,o,a,s,l){var u,c=(t-r)*i;u=o!==a?-s*n- -17:(-n*l+.5)*a;for(var f=0,p=e;f<p.length;f+=1)for(var d=0,h=p[f].positionedGlyphs;d<h.length;d+=1){var v=h[d];v.x+=c,v.y+=u}})(e.positionedLines,m,q,G,h,v,o,W,i.length),e.top+=-G*W,e.bottom=e.top+W,e.left+=-q*h,e.right=e.left+h}(M,t,r,n,m,a,s,l,f,u,p,v),!function(e){for(var t=0,r=e;t<r.length;t+=1)if(0!==r[t].positionedGlyphs.length)return!1;return!0}(O)&&M}gl.fromFeature=function(e,t){for(var r=new gl,n=0;n<e.sections.length;n++){var i=e.sections[n];i.image?r.addImageSection(i):r.addTextSection(i,t)}return r},gl.prototype.length=function(){return this.text.length},gl.prototype.getSection=function(e){return this.sections[this.sectionIndex[e]]},gl.prototype.getSectionIndex=function(e){return this.sectionIndex[e]},gl.prototype.getCharCode=function(e){return this.text.charCodeAt(e)},gl.prototype.verticalizePunctuation=function(){this.text=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r+1)||null,i=e.charCodeAt(r-1)||null;t+=n&&Wn(n)&&!Us[e[r+1]]||i&&Wn(i)&&!Us[e[r-1]]||!Us[e[r]]?e[r]:Us[e[r]]}return t}(this.text)},gl.prototype.trim=function(){for(var e=0,t=0;t<this.text.length&&bl[this.text.charCodeAt(t)];t++)e++;for(var r=this.text.length,n=this.text.length-1;n>=0&&n>=e&&bl[this.text.charCodeAt(n)];n--)r--;this.text=this.text.substring(e,r),this.sectionIndex=this.sectionIndex.slice(e,r)},gl.prototype.substring=function(e,t){var r=new gl;return r.text=this.text.substring(e,t),r.sectionIndex=this.sectionIndex.slice(e,t),r.sections=this.sections,r},gl.prototype.toString=function(){return this.text},gl.prototype.getMaxScale=function(){var e=this;return this.sectionIndex.reduce((function(t,r){return Math.max(t,e.sections[r].scale)}),0)},gl.prototype.addTextSection=function(e,t){this.text+=e.text,this.sections.push(ml.forText(e.scale,e.fontStack||t));for(var r=this.sections.length-1,n=0;n<e.text.length;++n)this.sectionIndex.push(r)},gl.prototype.addImageSection=function(e){var t=e.image?e.image.name:"";if(0!==t.length){var r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(ml.forImage(t)),this.sectionIndex.push(this.sections.length-1)):A("Reached maximum number of images 6401")}else A("Can't add FormattedSection with an empty image.")},gl.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var bl={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},xl={};function Al(e,t,r,n,i,o){if(t.imageName){var a=n[t.imageName];return a?a.displaySize[0]*t.scale*24/o+i:0}var s=r[t.fontStack],l=s&&s[e];return l?l.metrics.advance*t.scale+i:0}function wl(e,t,r,n){var i=Math.pow(e-t,2);return n?e<t?i/2:2*i:i+Math.abs(r)*r}function _l(e,t,r){var n=0;return 10===e&&(n-=1e4),r&&(n+=150),40!==e&&65288!==e||(n+=50),41!==t&&65289!==t||(n+=50),n}function El(e,t,r,n,i,o){for(var a=null,s=wl(t,r,i,o),l=0,u=n;l<u.length;l+=1){var c=u[l],f=wl(t-c.x,r,i,o)+c.badness;f<=s&&(a=c,s=f)}return{index:e,x:t,priorBreak:a,badness:s}}function kl(e,t,r,n,i,o,a){if("point"!==o)return[];if(!e)return[];for(var s,l=[],u=function(e,t,r,n,i,o){for(var a=0,s=0;s<e.length();s++){var l=e.getSection(s);a+=Al(e.getCharCode(s),l,n,i,t,o)}return a/Math.max(1,Math.ceil(a/r))}(e,t,r,n,i,a),c=e.text.indexOf("")>=0,f=0,p=0;p<e.length();p++){var d=e.getSection(p),h=e.getCharCode(p);if(bl[h]||(f+=Al(h,d,n,i,t,a)),p<e.length()-1){var v=!((s=h)<11904||!(Hn["Bopomofo Extended"](s)||Hn.Bopomofo(s)||Hn["CJK Compatibility Forms"](s)||Hn["CJK Compatibility Ideographs"](s)||Hn["CJK Compatibility"](s)||Hn["CJK Radicals Supplement"](s)||Hn["CJK Strokes"](s)||Hn["CJK Symbols and Punctuation"](s)||Hn["CJK Unified Ideographs Extension A"](s)||Hn["CJK Unified Ideographs"](s)||Hn["Enclosed CJK Letters and Months"](s)||Hn["Halfwidth and Fullwidth Forms"](s)||Hn.Hiragana(s)||Hn["Ideographic Description Characters"](s)||Hn["Kangxi Radicals"](s)||Hn["Katakana Phonetic Extensions"](s)||Hn.Katakana(s)||Hn["Vertical Forms"](s)||Hn["Yi Radicals"](s)||Hn["Yi Syllables"](s)));(xl[h]||v||d.imageName)&&l.push(El(p+1,f,u,l,_l(h,e.getCharCode(p+1),v&&c),!1))}}return function e(t){return t?e(t.priorBreak).concat(t.index):[]}(El(e.length(),f,u,l,0,!0))}function Tl(e){var t=.5,r=.5;switch(e){case"right":case"top-right":case"bottom-right":t=1;break;case"left":case"top-left":case"bottom-left":t=0}switch(e){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:t,verticalAlign:r}}function Cl(e,t,r,n,i){if(n||i)for(var o=e[r],a=(e[r].x+o.metrics.advance*o.scale)*n,s=t;s<=r;s++)e[s].x-=a,e[s].y+=i}function Sl(e,t,r,n,i,o){var a,s=e.image;if(s.content){var l=s.content,u=s.pixelRatio||1;a=[l[0]/u,l[1]/u,s.displaySize[0]-l[2]/u,s.displaySize[1]-l[3]/u]}var c,f,p,d,h=t.left*o,v=t.right*o;"width"===r||"both"===r?(d=i[0]+h-n[3],f=i[0]+v+n[1]):f=(d=i[0]+(h+v-s.displaySize[0])/2)+s.displaySize[0];var m=t.top*o,g=t.bottom*o;return"height"===r||"both"===r?(c=i[1]+m-n[0],p=i[1]+g+n[2]):p=(c=i[1]+(m+g-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:c,right:f,bottom:p,left:d,collisionPadding:a}}xl[10]=!0,xl[32]=!0,xl[38]=!0,xl[40]=!0,xl[41]=!0,xl[43]=!0,xl[45]=!0,xl[47]=!0,xl[173]=!0,xl[183]=!0,xl[8203]=!0,xl[8208]=!0,xl[8211]=!0,xl[8231]=!0;var Ol=function(e){function t(t,r,n,i){e.call(this,t,r),this.angle=n,void 0!==i&&(this.segment=i)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.clone=function(){return new t(this.x,this.y,this.angle,this.segment)},t}(i);function Ml(e,t){var r=t.expression;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new ii(e+1))};if("source"===r.kind)return{kind:"source"};for(var n=r.zoomStops,i=r.interpolationType,o=0;o<n.length&&n[o]<=e;)o++;for(var a=o=Math.max(0,o-1);a<n.length&&n[a]<e+1;)a++;a=Math.min(n.length-1,a);var s=n[o],l=n[a];return"composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:i}:{kind:"camera",minZoom:s,maxZoom:l,minSize:r.evaluate(new ii(s)),maxSize:r.evaluate(new ii(l)),interpolationType:i}}function Pl(e,t,r){var n=t.uSize,i=r.lowerSize;return"source"===e.kind?i/128:"composite"===e.kind?Ut(i/128,r.upperSize/128,t.uSizeT):n}function Bl(e,t){var r=0,n=0;if("constant"===e.kind)n=e.layoutSize;else if("source"!==e.kind){var i=e.interpolationType,o=i?l(rr.interpolationFactor(i,t,e.minZoom,e.maxZoom),0,1):0;"camera"===e.kind?n=Ut(e.minSize,e.maxSize,o):r=o}return{uSizeT:r,uSize:n}}In("Anchor",Ol);var Ll=Object.freeze({__proto__:null,getSizeData:Ml,evaluateSizeForFeature:Pl,evaluateSizeForZoom:Bl,SIZE_PACK_FACTOR:128});function Dl(e,t,r,n,i){if(void 0===t.segment)return!0;for(var o=t,a=t.segment+1,s=0;s>-r/2;){if(--a<0)return!1;s-=e[a].dist(o),o=e[a]}s+=e[a].dist(e[a+1]),a++;for(var l=[],u=0;s<r/2;){var c=e[a],f=e[a+1];if(!f)return!1;var p=e[a-1].angleTo(c)-c.angleTo(f);for(p=Math.abs((p+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:p}),u+=p;s-l[0].distance>n;)u-=l.shift().angleDelta;if(u>i)return!1;a++,s+=c.dist(f)}return!0}function Il(e){for(var t=0,r=0;r<e.length-1;r++)t+=e[r].dist(e[r+1]);return t}function jl(e,t,r){return e?.6*t*r:0}function Rl(e,t){return Math.max(e?e.right-e.left:0,t?t.right-t.left:0)}function Fl(e,t,r,n,i,o){for(var a=jl(r,i,o),s=Rl(r,n)*o,l=0,u=Il(e)/2,c=0;c<e.length-1;c++){var f=e[c],p=e[c+1],d=f.dist(p);if(l+d>u){var h=(u-l)/d,v=Ut(f.x,p.x,h),m=Ut(f.y,p.y,h),g=new Ol(v,m,p.angleTo(f),c);return g._round(),!a||Dl(e,g,s,a,t)?g:void 0}l+=d}}function Nl(e,t,r,n,i,o,a,s,l){var u=jl(n,o,a),c=Rl(n,i),f=c*a,p=0===e[0].x||e[0].x===l||0===e[0].y||e[0].y===l;return t-f<t/4&&(t=f+t/4),function e(t,r,n,i,o,a,s,l,u){for(var c=a/2,f=Il(t),p=0,d=r-n,h=[],v=0;v<t.length-1;v++){for(var m=t[v],g=t[v+1],y=m.dist(g),b=g.angleTo(m);d+n<p+y;){var x=((d+=n)-p)/y,A=Ut(m.x,g.x,x),w=Ut(m.y,g.y,x);if(A>=0&&A<u&&w>=0&&w<u&&d-c>=0&&d+c<=f){var _=new Ol(A,w,b,v);_._round(),i&&!Dl(t,_,a,i,o)||h.push(_)}}p+=y}return l||h.length||s||(h=e(t,p/2,n,i,o,a,s,!0,u)),h}(e,p?t/2*s%t:(c/2+2*o)*a*s%t,t,u,r,f,p,!1,l)}function zl(e,t,r,n,o){for(var a=[],s=0;s<e.length;s++)for(var l=e[s],u=void 0,c=0;c<l.length-1;c++){var f=l[c],p=l[c+1];f.x<t&&p.x<t||(f.x<t?f=new i(t,f.y+(t-f.x)/(p.x-f.x)*(p.y-f.y))._round():p.x<t&&(p=new i(t,f.y+(t-f.x)/(p.x-f.x)*(p.y-f.y))._round()),f.y<r&&p.y<r||(f.y<r?f=new i(f.x+(r-f.y)/(p.y-f.y)*(p.x-f.x),r)._round():p.y<r&&(p=new i(f.x+(r-f.y)/(p.y-f.y)*(p.x-f.x),r)._round()),f.x>=n&&p.x>=n||(f.x>=n?f=new i(n,f.y+(n-f.x)/(p.x-f.x)*(p.y-f.y))._round():p.x>=n&&(p=new i(n,f.y+(n-f.x)/(p.x-f.x)*(p.y-f.y))._round()),f.y>=o&&p.y>=o||(f.y>=o?f=new i(f.x+(o-f.y)/(p.y-f.y)*(p.x-f.x),o)._round():p.y>=o&&(p=new i(f.x+(o-f.y)/(p.y-f.y)*(p.x-f.x),o)._round()),u&&f.equals(u[u.length-1])||a.push(u=[f]),u.push(p)))))}return a}function Ul(e,t,r,n){var o=[],a=e.image,s=a.pixelRatio,l=a.paddedRect.w-2,u=a.paddedRect.h-2,c=e.right-e.left,f=e.bottom-e.top,p=a.stretchX||[[0,l]],d=a.stretchY||[[0,u]],h=function(e,t){return e+t[1]-t[0]},v=p.reduce(h,0),m=d.reduce(h,0),g=l-v,y=u-m,b=0,x=v,A=0,w=m,_=0,E=g,k=0,T=y;if(a.content&&n){var C=a.content;b=Hl(p,0,C[0]),A=Hl(d,0,C[1]),x=Hl(p,C[0],C[2]),w=Hl(d,C[1],C[3]),_=C[0]-b,k=C[1]-A,E=C[2]-C[0]-x,T=C[3]-C[1]-w}var S=function(n,o,l,u){var p=Ql(n.stretch-b,x,c,e.left),d=Wl(n.fixed-_,E,n.stretch,v),h=Ql(o.stretch-A,w,f,e.top),g=Wl(o.fixed-k,T,o.stretch,m),y=Ql(l.stretch-b,x,c,e.left),C=Wl(l.fixed-_,E,l.stretch,v),S=Ql(u.stretch-A,w,f,e.top),O=Wl(u.fixed-k,T,u.stretch,m),M=new i(p,h),P=new i(y,h),B=new i(y,S),L=new i(p,S),D=new i(d/s,g/s),I=new i(C/s,O/s),j=t*Math.PI/180;if(j){var R=Math.sin(j),F=Math.cos(j),N=[F,-R,R,F];M._matMult(N),P._matMult(N),L._matMult(N),B._matMult(N)}var z=n.stretch+n.fixed,U=o.stretch+o.fixed;return{tl:M,tr:P,bl:L,br:B,tex:{x:a.paddedRect.x+1+z,y:a.paddedRect.y+1+U,w:l.stretch+l.fixed-z,h:u.stretch+u.fixed-U},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:D,pixelOffsetBR:I,minFontScaleX:E/s/c,minFontScaleY:T/s/f,isSDF:r}};if(n&&(a.stretchX||a.stretchY))for(var O=Vl(p,g,v),M=Vl(d,y,m),P=0;P<O.length-1;P++)for(var B=O[P],L=O[P+1],D=0;D<M.length-1;D++)o.push(S(B,M[D],L,M[D+1]));else o.push(S({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:u+1}));return o}function Hl(e,t,r){for(var n=0,i=0,o=e;i<o.length;i+=1){var a=o[i];n+=Math.max(t,Math.min(r,a[1]))-Math.max(t,Math.min(r,a[0]))}return n}function Vl(e,t,r){for(var n=[{fixed:-1,stretch:0}],i=0,o=e;i<o.length;i+=1){var a=o[i],s=a[0],l=a[1],u=n[n.length-1];n.push({fixed:s-u.stretch,stretch:u.stretch}),n.push({fixed:s-u.stretch,stretch:u.stretch+(l-s)})}return n.push({fixed:t+1,stretch:r}),n}function Ql(e,t,r,n){return e/t*r+n}function Wl(e,t,r,n){return e-t*r/n}var Kl=function(e,t,r,n,o,a,s,l,u,c){if(this.boxStartIndex=e.length,u){var f=a.top,p=a.bottom,d=a.collisionPadding;d&&(f-=d[1],p+=d[3]);var h=p-f;h>0&&(h=Math.max(10,h),this.circleDiameter=h)}else{var v=a.top*s-l,m=a.bottom*s+l,g=a.left*s-l,y=a.right*s+l,b=a.collisionPadding;if(b&&(g-=b[0]*s,v-=b[1]*s,y+=b[2]*s,m+=b[3]*s),c){var x=new i(g,v),A=new i(y,v),w=new i(g,m),_=new i(y,m),E=c*Math.PI/180;x._rotate(E),A._rotate(E),w._rotate(E),_._rotate(E),g=Math.min(x.x,A.x,w.x,_.x),y=Math.max(x.x,A.x,w.x,_.x),v=Math.min(x.y,A.y,w.y,_.y),m=Math.max(x.y,A.y,w.y,_.y)}e.emplaceBack(t.x,t.y,g,v,y,m,r,n,o)}this.boxEndIndex=e.length},ql=function(e,t){if(void 0===e&&(e=[]),void 0===t&&(t=Gl),this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)};function Gl(e,t){return e<t?-1:e>t?1:0}function $l(e,t,r){void 0===t&&(t=1),void 0===r&&(r=!1);for(var n=1/0,o=1/0,a=-1/0,s=-1/0,l=e[0],u=0;u<l.length;u++){var c=l[u];(!u||c.x<n)&&(n=c.x),(!u||c.y<o)&&(o=c.y),(!u||c.x>a)&&(a=c.x),(!u||c.y>s)&&(s=c.y)}var f=Math.min(a-n,s-o),p=f/2,d=new ql([],Yl);if(0===f)return new i(n,o);for(var h=n;h<a;h+=f)for(var v=o;v<s;v+=f)d.push(new Xl(h+p,v+p,p,e));for(var m=function(e){for(var t=0,r=0,n=0,i=e[0],o=0,a=i.length,s=a-1;o<a;s=o++){var l=i[o],u=i[s],c=l.x*u.y-u.x*l.y;r+=(l.x+u.x)*c,n+=(l.y+u.y)*c,t+=3*c}return new Xl(r/t,n/t,0,e)}(e),g=d.length;d.length;){var y=d.pop();(y.d>m.d||!m.d)&&(m=y,r&&console.log("found best %d after %d probes",Math.round(1e4*y.d)/1e4,g)),y.max-m.d<=t||(d.push(new Xl(y.p.x-(p=y.h/2),y.p.y-p,p,e)),d.push(new Xl(y.p.x+p,y.p.y-p,p,e)),d.push(new Xl(y.p.x-p,y.p.y+p,p,e)),d.push(new Xl(y.p.x+p,y.p.y+p,p,e)),g+=4)}return r&&(console.log("num probes: "+g),console.log("best distance: "+m.d)),m.p}function Yl(e,t){return t.max-e.max}function Xl(e,t,r,n){this.p=new i(e,t),this.h=r,this.d=function(e,t){for(var r=!1,n=1/0,i=0;i<t.length;i++)for(var o=t[i],a=0,s=o.length,l=s-1;a<s;l=a++){var u=o[a],c=o[l];u.y>e.y!=c.y>e.y&&e.x<(c.x-u.x)*(e.y-u.y)/(c.y-u.y)+u.x&&(r=!r),n=Math.min(n,Ko(e,u,c))}return(r?1:-1)*Math.sqrt(n)}(this.p,n),this.max=this.d+this.h*Math.SQRT2}ql.prototype.push=function(e){this.data.push(e),this.length++,this._up(this.length-1)},ql.prototype.pop=function(){if(0!==this.length){var e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}},ql.prototype.peek=function(){return this.data[0]},ql.prototype._up=function(e){for(var t=this.data,r=this.compare,n=t[e];e>0;){var i=e-1>>1,o=t[i];if(r(n,o)>=0)break;t[e]=o,e=i}t[e]=n},ql.prototype._down=function(e){for(var t=this.data,r=this.compare,n=this.length>>1,i=t[e];e<n;){var o=1+(e<<1),a=t[o],s=o+1;if(s<this.length&&r(t[s],a)<0&&(o=s,a=t[s]),r(a,i)>=0)break;t[e]=a,e=o}t[e]=i};var Zl=Number.POSITIVE_INFINITY;function Jl(e,t){return t[1]!==Zl?function(e,t,r){var n=0,i=0;switch(t=Math.abs(t),r=Math.abs(r),e){case"top-right":case"top-left":case"top":i=r-7;break;case"bottom-right":case"bottom-left":case"bottom":i=7-r}switch(e){case"top-right":case"bottom-right":case"right":n=-t;break;case"top-left":case"bottom-left":case"left":n=t}return[n,i]}(e,t[0],t[1]):function(e,t){var r=0,n=0;t<0&&(t=0);var i=t/Math.sqrt(2);switch(e){case"top-right":case"top-left":n=i-7;break;case"bottom-right":case"bottom-left":n=7-i;break;case"bottom":n=7-t;break;case"top":n=t-7}switch(e){case"top-right":case"bottom-right":r=-i;break;case"top-left":case"bottom-left":r=i;break;case"left":r=t;break;case"right":r=-t}return[r,n]}(e,t[0])}function eu(e){switch(e){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function tu(e,t,r,n,o,a,s,l,u,c,f,p,d,h,v){var m=function(e,t,r,n,o,a,s,l){for(var u=n.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,c=[],f=0,p=t.positionedLines;f<p.length;f+=1)for(var d=p[f],h=0,v=d.positionedGlyphs;h<v.length;h+=1){var m=v[h];if(m.rect){var g=m.rect||{},y=4,b=!0,x=1,A=0,w=(o||l)&&m.vertical,_=m.metrics.advance*m.scale/2;if(l&&t.verticalizable&&(A=d.lineOffset/2-(m.imageName?-(24-m.metrics.width*m.scale)/2:24*(m.scale-1))),m.imageName){var E=s[m.imageName];b=E.sdf,y=1/(x=E.pixelRatio)}var k=o?[m.x+_,m.y]:[0,0],T=o?[0,0]:[m.x+_+r[0],m.y+r[1]-A],C=[0,0];w&&(C=T,T=[0,0]);var S=(m.metrics.left-y)*m.scale-_+T[0],O=(-m.metrics.top-y)*m.scale+T[1],M=S+g.w*m.scale/x,P=O+g.h*m.scale/x,B=new i(S,O),L=new i(M,O),D=new i(S,P),I=new i(M,P);if(w){var j=new i(-_,_- -17),R=-Math.PI/2,F=12-_,N=new i(22-F,-(m.imageName?F:0)),z=new(Function.prototype.bind.apply(i,[null].concat(C)));B._rotateAround(R,j)._add(N)._add(z),L._rotateAround(R,j)._add(N)._add(z),D._rotateAround(R,j)._add(N)._add(z),I._rotateAround(R,j)._add(N)._add(z)}if(u){var U=Math.sin(u),H=Math.cos(u),V=[H,-U,U,H];B._matMult(V),L._matMult(V),D._matMult(V),I._matMult(V)}var Q=new i(0,0),W=new i(0,0);c.push({tl:B,tr:L,bl:D,br:I,tex:g,writingMode:t.writingMode,glyphOffset:k,sectionIndex:m.sectionIndex,isSDF:b,pixelOffsetTL:Q,pixelOffsetBR:W,minFontScaleX:0,minFontScaleY:0})}}return c}(0,r,l,o,a,s,n,e.allowVerticalPlacement),g=e.textSizeData,y=null;"source"===g.kind?(y=[128*o.layout.get("text-size").evaluate(s,{})])[0]>32640&&A(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===g.kind&&((y=[128*h.compositeTextSizes[0].evaluate(s,{},v),128*h.compositeTextSizes[1].evaluate(s,{},v)])[0]>32640||y[1]>32640)&&A(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),e.addSymbols(e.text,m,y,l,a,s,c,t,u.lineStartIndex,u.lineLength,d,v);for(var b=0,x=f;b<x.length;b+=1)p[x[b]]=e.text.placedSymbolArray.length-1;return 4*m.length}function ru(e){for(var t in e)return e[t];return null}function nu(e,t,r,n){var i=e.compareText;if(t in i){for(var o=i[t],a=o.length-1;a>=0;a--)if(n.dist(o[a])<r)return!0}else i[t]=[];return i[t].push(n),!1}var iu=vs.VectorTileFeature.types,ou=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function au(e,t,r,n,i,o,a,s,l,u,c,f,p){var d=s?Math.min(32640,Math.round(s[0])):0,h=s?Math.min(32640,Math.round(s[1])):0;e.emplaceBack(t,r,Math.round(32*n),Math.round(32*i),o,a,(d<<1)+(l?1:0),h,16*u,16*c,256*f,256*p)}function su(e,t,r){e.emplaceBack(t.x,t.y,r),e.emplaceBack(t.x,t.y,r),e.emplaceBack(t.x,t.y,r),e.emplaceBack(t.x,t.y,r)}function lu(e){for(var t=0,r=e.sections;t<r.length;t+=1)if(Gn(r[t].text))return!0;return!1}var uu=function(e){this.layoutVertexArray=new Mi,this.indexArray=new Ri,this.programConfigurations=e,this.segments=new io,this.dynamicLayoutVertexArray=new Pi,this.opacityVertexArray=new Bi,this.placedSymbolArray=new Yi};uu.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length},uu.prototype.upload=function(e,t,r,n){this.isEmpty()||(r&&(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Is.members),this.indexBuffer=e.createIndexBuffer(this.indexArray,t),this.dynamicLayoutVertexBuffer=e.createVertexBuffer(this.dynamicLayoutVertexArray,js.members,!0),this.opacityVertexBuffer=e.createVertexBuffer(this.opacityVertexArray,ou,!0),this.opacityVertexBuffer.itemSize=1),(r||n)&&this.programConfigurations.upload(e))},uu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},In("SymbolBuffers",uu);var cu=function(e,t,r){this.layoutVertexArray=new e,this.layoutAttributes=t,this.indexArray=new r,this.segments=new io,this.collisionVertexArray=new ji};cu.prototype.upload=function(e){this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=e.createVertexBuffer(this.collisionVertexArray,Rs.members,!0)},cu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},In("CollisionBuffers",cu);var fu=function(e){this.collisionBoxArray=e.collisionBoxArray,this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((function(e){return e.id})),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=ra([]),this.placementViewportMatrix=ra([]);var t=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Ml(this.zoom,t["text-size"]),this.iconSizeData=Ml(this.zoom,t["icon-size"]);var r=this.layers[0].layout,n=r.get("symbol-sort-key"),i=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==i&&void 0!==n.constantOr(1),this.sortFeaturesByY=("viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey)&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((function(e){return vl[e]}))),this.stateDependentLayerIds=this.layers.filter((function(e){return e.isStateDependent()})).map((function(e){return e.id})),this.sourceID=e.sourceID};fu.prototype.createArrays=function(){this.text=new uu(new Bo(Is.members,this.layers,this.zoom,(function(e){return/^text/.test(e)}))),this.icon=new uu(new Bo(Is.members,this.layers,this.zoom,(function(e){return/^icon/.test(e)}))),this.glyphOffsetArray=new Ji,this.lineVertexArray=new eo,this.symbolInstances=new Zi},fu.prototype.calculateGlyphDependencies=function(e,t,r,n,i){for(var o=0;o<e.length;o++)if(t[e.charCodeAt(o)]=!0,(r||n)&&i){var a=Us[e.charAt(o)];a&&(t[a.charCodeAt(0)]=!0)}},fu.prototype.populate=function(e,t,r){var n=this.layers[0],i=n.layout,o=i.get("text-font"),a=i.get("text-field"),s=i.get("icon-image"),l=("constant"!==a.value.kind||a.value.value instanceof et&&!a.value.value.isEmpty()||a.value.value.toString().length>0)&&("constant"!==o.value.kind||o.value.value.length>0),u="constant"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,c=i.get("symbol-sort-key");if(this.features=[],l||u){for(var f=t.iconDependencies,p=t.glyphDependencies,d=t.availableImages,h=new ii(this.zoom),v=0,m=e;v<m.length;v+=1){var g=m[v],y=g.feature,b=g.id,x=g.index,A=g.sourceLayerIndex,w=n._featureFilter.needGeometry,_={type:y.type,id:b,properties:y.properties,geometry:w?jo(y):[]};if(n._featureFilter.filter(h,_,r)){w||(_.geometry=jo(y));var E=void 0;if(l){var k=n.getValueAndResolveTokens("text-field",_,r,d),T=et.factory(k);lu(T)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===ti()||this.hasRTLText&&ni.isParsed())&&(E=zs(T,n,_))}var C=void 0;if(u){var S=n.getValueAndResolveTokens("icon-image",_,r,d);C=S instanceof tt?S:tt.fromString(S)}if(E||C){var O=this.sortFeaturesByKey?c.evaluate(_,{},r):void 0,M={id:b,text:E,icon:C,index:x,sourceLayerIndex:A,geometry:jo(y),properties:y.properties,type:iu[y.type],sortKey:O};if(this.features.push(M),C&&(f[C.name]=!0),E){var P=o.evaluate(_,{},r).join(","),B="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(vl.vertical)>=0;for(var L=0,D=E.sections;L<D.length;L+=1){var I=D[L];if(I.image)f[I.image.name]=!0;else{var j=Vn(E.toString()),R=I.fontStack||P,F=p[R]=p[R]||{};this.calculateGlyphDependencies(I.text,F,B,this.allowVerticalPlacement,j)}}}}}}"line"===i.get("symbol-placement")&&(this.features=function(e){var t={},r={},n=[],i=0;function o(t){n.push(e[t]),i++}function a(e,t,i){var o=r[e];return delete r[e],r[t]=o,n[o].geometry[0].pop(),n[o].geometry[0]=n[o].geometry[0].concat(i[0]),o}function s(e,r,i){var o=t[r];return delete t[r],t[e]=o,n[o].geometry[0].shift(),n[o].geometry[0]=i[0].concat(n[o].geometry[0]),o}function l(e,t,r){var n=r?t[0][t[0].length-1]:t[0][0];return e+":"+n.x+":"+n.y}for(var u=0;u<e.length;u++){var c=e[u],f=c.geometry,p=c.text?c.text.toString():null;if(p){var d=l(p,f),h=l(p,f,!0);if(d in r&&h in t&&r[d]!==t[h]){var v=s(d,h,f),m=a(d,h,n[v].geometry);delete t[d],delete r[h],r[l(p,n[m].geometry,!0)]=m,n[v].geometry=null}else d in r?a(d,h,f):h in t?s(d,h,f):(o(u),t[d]=i-1,r[h]=i-1)}else o(u)}return n.filter((function(e){return e.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(e,t){return e.sortKey-t.sortKey}))}},fu.prototype.update=function(e,t,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(e,t,this.layers,r),this.icon.programConfigurations.updatePaintArrays(e,t,this.layers,r))},fu.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},fu.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},fu.prototype.upload=function(e){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(e),this.iconCollisionBox.upload(e)),this.text.upload(e,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(e,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},fu.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},fu.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},fu.prototype.addToLineVertexArray=function(e,t){var r=this.lineVertexArray.length;if(void 0!==e.segment){for(var n=e.dist(t[e.segment+1]),i=e.dist(t[e.segment]),o={},a=e.segment+1;a<t.length;a++)o[a]={x:t[a].x,y:t[a].y,tileUnitDistanceFromAnchor:n},a<t.length-1&&(n+=t[a+1].dist(t[a]));for(var s=e.segment||0;s>=0;s--)o[s]={x:t[s].x,y:t[s].y,tileUnitDistanceFromAnchor:i},s>0&&(i+=t[s-1].dist(t[s]));for(var l=0;l<t.length;l++){var u=o[l];this.lineVertexArray.emplaceBack(u.x,u.y,u.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},fu.prototype.addSymbols=function(e,t,r,n,i,o,a,s,l,u,c,f){for(var p=e.indexArray,d=e.layoutVertexArray,h=e.segments.prepareSegment(4*t.length,d,p,o.sortKey),v=this.glyphOffsetArray.length,m=h.vertexLength,g=this.allowVerticalPlacement&&a===vl.vertical?Math.PI/2:0,y=o.text&&o.text.sections,b=0;b<t.length;b++){var x=t[b],A=x.tl,w=x.tr,_=x.bl,E=x.br,k=x.tex,T=x.pixelOffsetTL,C=x.pixelOffsetBR,S=x.minFontScaleX,O=x.minFontScaleY,M=x.glyphOffset,P=x.isSDF,B=x.sectionIndex,L=h.vertexLength,D=M[1];au(d,s.x,s.y,A.x,D+A.y,k.x,k.y,r,P,T.x,T.y,S,O),au(d,s.x,s.y,w.x,D+w.y,k.x+k.w,k.y,r,P,C.x,T.y,S,O),au(d,s.x,s.y,_.x,D+_.y,k.x,k.y+k.h,r,P,T.x,C.y,S,O),au(d,s.x,s.y,E.x,D+E.y,k.x+k.w,k.y+k.h,r,P,C.x,C.y,S,O),su(e.dynamicLayoutVertexArray,s,g),p.emplaceBack(L,L+1,L+2),p.emplaceBack(L+1,L+2,L+3),h.vertexLength+=4,h.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(M[0]),b!==t.length-1&&B===t[b+1].sectionIndex||e.programConfigurations.populatePaintArrays(d.length,o,o.index,{},f,y&&y[B])}e.placedSymbolArray.emplaceBack(s.x,s.y,v,this.glyphOffsetArray.length-v,m,l,u,s.segment,r?r[0]:0,r?r[1]:0,n[0],n[1],a,0,!1,0,c)},fu.prototype._addCollisionDebugVertex=function(e,t,r,n,i,o){return t.emplaceBack(0,0),e.emplaceBack(r.x,r.y,n,i,Math.round(o.x),Math.round(o.y))},fu.prototype.addCollisionDebugVertices=function(e,t,r,n,o,a,s){var l=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),u=l.vertexLength,c=o.layoutVertexArray,f=o.collisionVertexArray,p=s.anchorX,d=s.anchorY;this._addCollisionDebugVertex(c,f,a,p,d,new i(e,t)),this._addCollisionDebugVertex(c,f,a,p,d,new i(r,t)),this._addCollisionDebugVertex(c,f,a,p,d,new i(r,n)),this._addCollisionDebugVertex(c,f,a,p,d,new i(e,n)),l.vertexLength+=4;var h=o.indexArray;h.emplaceBack(u,u+1),h.emplaceBack(u+1,u+2),h.emplaceBack(u+2,u+3),h.emplaceBack(u+3,u),l.primitiveLength+=4},fu.prototype.addDebugCollisionBoxes=function(e,t,r,n){for(var i=e;i<t;i++){var o=this.collisionBoxArray.get(i);this.addCollisionDebugVertices(o.x1,o.y1,o.x2,o.y2,n?this.textCollisionBox:this.iconCollisionBox,o.anchorPoint,r)}},fu.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new cu(Di,Fs.members,Vi),this.iconCollisionBox=new cu(Di,Fs.members,Vi);for(var e=0;e<this.symbolInstances.length;e++){var t=this.symbolInstances.get(e);this.addDebugCollisionBoxes(t.textBoxStartIndex,t.textBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.verticalTextBoxStartIndex,t.verticalTextBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.iconBoxStartIndex,t.iconBoxEndIndex,t,!1),this.addDebugCollisionBoxes(t.verticalIconBoxStartIndex,t.verticalIconBoxEndIndex,t,!1)}},fu.prototype._deserializeCollisionBoxesForSymbol=function(e,t,r,n,i,o,a,s,l){for(var u={},c=t;c<r;c++){var f=e.get(c);u.textBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},u.textFeatureIndex=f.featureIndex;break}for(var p=n;p<i;p++){var d=e.get(p);u.verticalTextBox={x1:d.x1,y1:d.y1,x2:d.x2,y2:d.y2,anchorPointX:d.anchorPointX,anchorPointY:d.anchorPointY},u.verticalTextFeatureIndex=d.featureIndex;break}for(var h=o;h<a;h++){var v=e.get(h);u.iconBox={x1:v.x1,y1:v.y1,x2:v.x2,y2:v.y2,anchorPointX:v.anchorPointX,anchorPointY:v.anchorPointY},u.iconFeatureIndex=v.featureIndex;break}for(var m=s;m<l;m++){var g=e.get(m);u.verticalIconBox={x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,anchorPointX:g.anchorPointX,anchorPointY:g.anchorPointY},u.verticalIconFeatureIndex=g.featureIndex;break}return u},fu.prototype.deserializeCollisionBoxes=function(e){this.collisionArrays=[];for(var t=0;t<this.symbolInstances.length;t++){var r=this.symbolInstances.get(t);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(e,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}},fu.prototype.hasTextData=function(){return this.text.segments.get().length>0},fu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},fu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},fu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},fu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},fu.prototype.addIndicesForPlacedSymbol=function(e,t){for(var r=e.placedSymbolArray.get(t),n=r.vertexStartIndex+4*r.numGlyphs,i=r.vertexStartIndex;i<n;i+=4)e.indexArray.emplaceBack(i,i+1,i+2),e.indexArray.emplaceBack(i+1,i+2,i+3)},fu.prototype.getSortedSymbolIndexes=function(e){if(this.sortedAngle===e&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var t=Math.sin(e),r=Math.cos(e),n=[],i=[],o=[],a=0;a<this.symbolInstances.length;++a){o.push(a);var s=this.symbolInstances.get(a);n.push(0|Math.round(t*s.anchorX+r*s.anchorY)),i.push(s.featureIndex)}return o.sort((function(e,t){return n[e]-n[t]||i[t]-i[e]})),o},fu.prototype.addToSortKeyRanges=function(e,t){var r=this.sortKeyRanges[this.sortKeyRanges.length-1];r&&r.sortKey===t?r.symbolInstanceEnd=e+1:this.sortKeyRanges.push({sortKey:t,symbolInstanceStart:e,symbolInstanceEnd:e+1})},fu.prototype.sortFeatures=function(e){var t=this;if(this.sortFeaturesByY&&this.sortedAngle!==e&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(e),this.sortedAngle=e,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var r=0,n=this.symbolInstanceIndexes;r<n.length;r+=1){var i=this.symbolInstances.get(n[r]);this.featureSortOrder.push(i.featureIndex),[i.rightJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.leftJustifiedTextSymbolIndex].forEach((function(e,r,n){e>=0&&n.indexOf(e)===r&&t.addIndicesForPlacedSymbol(t.text,e)})),i.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,i.verticalPlacedTextSymbolIndex),i.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.placedIconSymbolIndex),i.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},In("SymbolBucket",fu,{omit:["layers","collisionBoxArray","features","compareText"]}),fu.MAX_GLYPHS=65535,fu.addDynamicAttributes=su;var pu=new yi({"symbol-placement":new di(Te.layout_symbol["symbol-placement"]),"symbol-spacing":new di(Te.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new di(Te.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new hi(Te.layout_symbol["symbol-sort-key"]),"symbol-z-order":new di(Te.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new di(Te.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new di(Te.layout_symbol["icon-ignore-placement"]),"icon-optional":new di(Te.layout_symbol["icon-optional"]),"icon-rotation-alignment":new di(Te.layout_symbol["icon-rotation-alignment"]),"icon-size":new hi(Te.layout_symbol["icon-size"]),"icon-text-fit":new di(Te.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new di(Te.layout_symbol["icon-text-fit-padding"]),"icon-image":new hi(Te.layout_symbol["icon-image"]),"icon-rotate":new hi(Te.layout_symbol["icon-rotate"]),"icon-padding":new di(Te.layout_symbol["icon-padding"]),"icon-keep-upright":new di(Te.layout_symbol["icon-keep-upright"]),"icon-offset":new hi(Te.layout_symbol["icon-offset"]),"icon-anchor":new hi(Te.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new di(Te.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new di(Te.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new di(Te.layout_symbol["text-rotation-alignment"]),"text-field":new hi(Te.layout_symbol["text-field"]),"text-font":new hi(Te.layout_symbol["text-font"]),"text-size":new hi(Te.layout_symbol["text-size"]),"text-max-width":new hi(Te.layout_symbol["text-max-width"]),"text-line-height":new di(Te.layout_symbol["text-line-height"]),"text-letter-spacing":new hi(Te.layout_symbol["text-letter-spacing"]),"text-justify":new hi(Te.layout_symbol["text-justify"]),"text-radial-offset":new hi(Te.layout_symbol["text-radial-offset"]),"text-variable-anchor":new di(Te.layout_symbol["text-variable-anchor"]),"text-anchor":new hi(Te.layout_symbol["text-anchor"]),"text-max-angle":new di(Te.layout_symbol["text-max-angle"]),"text-writing-mode":new di(Te.layout_symbol["text-writing-mode"]),"text-rotate":new hi(Te.layout_symbol["text-rotate"]),"text-padding":new di(Te.layout_symbol["text-padding"]),"text-keep-upright":new di(Te.layout_symbol["text-keep-upright"]),"text-transform":new hi(Te.layout_symbol["text-transform"]),"text-offset":new hi(Te.layout_symbol["text-offset"]),"text-allow-overlap":new di(Te.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new di(Te.layout_symbol["text-ignore-placement"]),"text-optional":new di(Te.layout_symbol["text-optional"])}),du={paint:new yi({"icon-opacity":new hi(Te.paint_symbol["icon-opacity"]),"icon-color":new hi(Te.paint_symbol["icon-color"]),"icon-halo-color":new hi(Te.paint_symbol["icon-halo-color"]),"icon-halo-width":new hi(Te.paint_symbol["icon-halo-width"]),"icon-halo-blur":new hi(Te.paint_symbol["icon-halo-blur"]),"icon-translate":new di(Te.paint_symbol["icon-translate"]),"icon-translate-anchor":new di(Te.paint_symbol["icon-translate-anchor"]),"text-opacity":new hi(Te.paint_symbol["text-opacity"]),"text-color":new hi(Te.paint_symbol["text-color"],{runtimeType:Fe,getOverride:function(e){return e.textColor},hasOverride:function(e){return!!e.textColor}}),"text-halo-color":new hi(Te.paint_symbol["text-halo-color"]),"text-halo-width":new hi(Te.paint_symbol["text-halo-width"]),"text-halo-blur":new hi(Te.paint_symbol["text-halo-blur"]),"text-translate":new di(Te.paint_symbol["text-translate"]),"text-translate-anchor":new di(Te.paint_symbol["text-translate-anchor"])}),layout:pu},hu=function(e){this.type=e.property.overrides?e.property.overrides.runtimeType:De,this.defaultValue=e};hu.prototype.evaluate=function(e){if(e.formattedSection){var t=this.defaultValue.property.overrides;if(t&&t.hasOverride(e.formattedSection))return t.getOverride(e.formattedSection)}return e.feature&&e.featureState?this.defaultValue.evaluate(e.feature,e.featureState):this.defaultValue.property.specification.default},hu.prototype.eachChild=function(e){this.defaultValue.isConstant()||e(this.defaultValue.value._styleExpression.expression)},hu.prototype.outputDefined=function(){return!1},hu.prototype.serialize=function(){return null},In("FormatSectionOverride",hu,{omit:["defaultValue"]});var vu=function(e){function t(t){e.call(this,t,du)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.recalculate=function(t,r){if(e.prototype.recalculate.call(this,t,r),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var n=this.layout.get("text-writing-mode");if(n){for(var i=[],o=0,a=n;o<a.length;o+=1){var s=a[o];i.indexOf(s)<0&&i.push(s)}this.layout._values["text-writing-mode"]=i}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},t.prototype.getValueAndResolveTokens=function(e,t,r,n){var i=this.layout.get(e).evaluate(t,{},r,n),o=this._unevaluatedLayout._values[e];return o.isDataDriven()||Hr(o.value)||!i?i:function(e,t){return t.replace(/{([^{}]+)}/g,(function(t,r){return r in e?String(e[r]):""}))}(t.properties,i)},t.prototype.createBucket=function(e){return new fu(e)},t.prototype.queryRadius=function(){return 0},t.prototype.queryIntersectsFeature=function(){return!1},t.prototype._setPaintOverrides=function(){for(var e=0,r=du.paint.overridableProperties;e<r.length;e+=1){var n=r[e];if(t.hasPaintOverride(this.layout,n)){var i,o=this.paint.get(n),a=new hu(o),s=new Ur(a,o.property.specification);i="constant"===o.value.kind||"source"===o.value.kind?new Qr("source",s):new Wr("composite",s,o.value.zoomStops,o.value._interpolationType),this.paint._values[n]=new fi(o.property,i,o.parameters)}}},t.prototype._handleOverridablePaintPropertyUpdate=function(e,r,n){return!(!this.layout||r.isDataDriven()||n.isDataDriven())&&t.hasPaintOverride(this.layout,e)},t.hasPaintOverride=function(e,t){var r=e.get("text-field"),n=du.paint.properties[t],i=!1,o=function(e){for(var t=0,r=e;t<r.length;t+=1)if(n.overrides&&n.overrides.hasOverride(r[t]))return void(i=!0)};if("constant"===r.value.kind&&r.value.value instanceof et)o(r.value.value.sections);else if("source"===r.value.kind){var a=function(e){i||(e instanceof at&&it(e.value)===He?o(e.value.sections):e instanceof ct?o(e.sections):e.eachChild(a))},s=r.value;s._styleExpression&&a(s._styleExpression.expression)}return i},t}(bi),mu={paint:new yi({"background-color":new di(Te.paint_background["background-color"]),"background-pattern":new mi(Te.paint_background["background-pattern"]),"background-opacity":new di(Te.paint_background["background-opacity"])})},gu=function(e){function t(t){e.call(this,t,mu)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(bi),yu={paint:new yi({"raster-opacity":new di(Te.paint_raster["raster-opacity"]),"raster-hue-rotate":new di(Te.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new di(Te.paint_raster["raster-brightness-min"]),"raster-brightness-max":new di(Te.paint_raster["raster-brightness-max"]),"raster-saturation":new di(Te.paint_raster["raster-saturation"]),"raster-contrast":new di(Te.paint_raster["raster-contrast"]),"raster-resampling":new di(Te.paint_raster["raster-resampling"]),"raster-fade-duration":new di(Te.paint_raster["raster-fade-duration"])})},bu=function(e){function t(t){e.call(this,t,yu)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(bi),xu=function(e){function t(t){e.call(this,t,{}),this.implementation=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},t.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},t.prototype.recalculate=function(){},t.prototype.updateTransitions=function(){},t.prototype.hasTransition=function(){},t.prototype.serialize=function(){},t.prototype.onAdd=function(e){this.implementation.onAdd&&this.implementation.onAdd(e,e.painter.context.gl)},t.prototype.onRemove=function(e){this.implementation.onRemove&&this.implementation.onRemove(e,e.painter.context.gl)},t}(bi),Au={circle:sa,heatmap:ga,hillshade:ba,fill:os,"fill-extrusion":ws,line:Ls,symbol:vu,background:gu,raster:bu},wu=self.HTMLImageElement,_u=self.HTMLCanvasElement,Eu=self.HTMLVideoElement,ku=self.ImageData,Tu=self.ImageBitmap,Cu=function(e,t,r,n){this.context=e,this.format=r,this.texture=e.gl.createTexture(),this.update(t,n)};Cu.prototype.update=function(e,t,r){var n=e.width,i=e.height,o=!(this.size&&this.size[0]===n&&this.size[1]===i||r),a=this.context,s=a.gl;if(this.useMipmap=Boolean(t&&t.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!t||!1!==t.premultiply)),o)this.size=[n,i],e instanceof wu||e instanceof _u||e instanceof Eu||e instanceof ku||Tu&&e instanceof Tu?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,e):s.texImage2D(s.TEXTURE_2D,0,this.format,n,i,0,this.format,s.UNSIGNED_BYTE,e.data);else{var l=r||{x:0,y:0},u=l.x,c=l.y;e instanceof wu||e instanceof _u||e instanceof Eu||e instanceof ku||Tu&&e instanceof Tu?s.texSubImage2D(s.TEXTURE_2D,0,u,c,s.RGBA,s.UNSIGNED_BYTE,e):s.texSubImage2D(s.TEXTURE_2D,0,u,c,n,i,s.RGBA,s.UNSIGNED_BYTE,e.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},Cu.prototype.bind=function(e,t,r){var n=this.context.gl;n.bindTexture(n.TEXTURE_2D,this.texture),r!==n.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=n.LINEAR),e!==this.filter&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,e),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,r||e),this.filter=e),t!==this.wrap&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,t),this.wrap=t)},Cu.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Cu.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var Su=function(e){var t=this;this._callback=e,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){t._triggered=!1,t._callback()})};Su.prototype.trigger=function(){var e=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){e._triggered=!1,e._callback()}),0))},Su.prototype.remove=function(){delete this._channel,this._callback=function(){}};var Ou=function(e,t,r){this.target=e,this.parent=t,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},v(["receive","process"],this),this.invoker=new Su(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=E()?e:self};function Mu(e,t,r){var n=2*Math.PI*6378137/256/Math.pow(2,r);return[e*n-2*Math.PI*6378137/2,t*n-2*Math.PI*6378137/2]}Ou.prototype.send=function(e,t,r,n,i){var o=this;void 0===i&&(i=!1);var a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[a]=r);var s=C(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:e,hasCallback:!!r,targetMapId:n,mustQueue:i,sourceMapId:this.mapId,data:Nn(t,s)},s),{cancel:function(){r&&delete o.callbacks[a],o.target.postMessage({id:a,type:"<cancel>",targetMapId:n,sourceMapId:o.mapId})}}},Ou.prototype.receive=function(e){var t=e.data,r=t.id;if(r&&(!t.targetMapId||this.mapId===t.targetMapId))if("<cancel>"===t.type){delete this.tasks[r];var n=this.cancelCallbacks[r];delete this.cancelCallbacks[r],n&&n()}else E()||t.mustQueue?(this.tasks[r]=t,this.taskQueue.push(r),this.invoker.trigger()):this.processTask(r,t)},Ou.prototype.process=function(){if(this.taskQueue.length){var e=this.taskQueue.shift(),t=this.tasks[e];delete this.tasks[e],this.taskQueue.length&&this.invoker.trigger(),t&&this.processTask(e,t)}},Ou.prototype.processTask=function(e,t){var r=this;if("<response>"===t.type){var n=this.callbacks[e];delete this.callbacks[e],n&&(t.error?n(zn(t.error)):n(null,zn(t.data)))}else{var i=!1,o=C(this.globalScope)?void 0:[],a=t.hasCallback?function(t,n){i=!0,delete r.cancelCallbacks[e],r.target.postMessage({id:e,type:"<response>",sourceMapId:r.mapId,error:t?Nn(t):null,data:Nn(n,o)},o)}:function(e){i=!0},s=null,l=zn(t.data);if(this.parent[t.type])s=this.parent[t.type](t.sourceMapId,l,a);else if(this.parent.getWorkerSource){var u=t.type.split(".");s=this.parent.getWorkerSource(t.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error("Could not find function "+t.type));!i&&s&&s.cancel&&(this.cancelCallbacks[e]=s.cancel)}},Ou.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var Pu=function(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1]))};Pu.prototype.setNorthEast=function(e){return this._ne=e instanceof Bu?new Bu(e.lng,e.lat):Bu.convert(e),this},Pu.prototype.setSouthWest=function(e){return this._sw=e instanceof Bu?new Bu(e.lng,e.lat):Bu.convert(e),this},Pu.prototype.extend=function(e){var t,r,n=this._sw,i=this._ne;if(e instanceof Bu)t=e,r=e;else{if(!(e instanceof Pu))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(Pu.convert(e)):this.extend(Bu.convert(e)):this;if(r=e._ne,!(t=e._sw)||!r)return this}return n||i?(n.lng=Math.min(t.lng,n.lng),n.lat=Math.min(t.lat,n.lat),i.lng=Math.max(r.lng,i.lng),i.lat=Math.max(r.lat,i.lat)):(this._sw=new Bu(t.lng,t.lat),this._ne=new Bu(r.lng,r.lat)),this},Pu.prototype.getCenter=function(){return new Bu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Pu.prototype.getSouthWest=function(){return this._sw},Pu.prototype.getNorthEast=function(){return this._ne},Pu.prototype.getNorthWest=function(){return new Bu(this.getWest(),this.getNorth())},Pu.prototype.getSouthEast=function(){return new Bu(this.getEast(),this.getSouth())},Pu.prototype.getWest=function(){return this._sw.lng},Pu.prototype.getSouth=function(){return this._sw.lat},Pu.prototype.getEast=function(){return this._ne.lng},Pu.prototype.getNorth=function(){return this._ne.lat},Pu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Pu.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Pu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Pu.prototype.contains=function(e){var t=Bu.convert(e),r=t.lng,n=t.lat,i=this._sw.lng<=r&&r<=this._ne.lng;return this._sw.lng>this._ne.lng&&(i=this._sw.lng>=r&&r>=this._ne.lng),this._sw.lat<=n&&n<=this._ne.lat&&i},Pu.convert=function(e){return!e||e instanceof Pu?e:new Pu(e)};var Bu=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid LngLat object: ("+e+", "+t+")");if(this.lng=+e,this.lat=+t,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Bu.prototype.wrap=function(){return new Bu(u(this.lng,-180,180),this.lat)},Bu.prototype.toArray=function(){return[this.lng,this.lat]},Bu.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Bu.prototype.distanceTo=function(e){var t=Math.PI/180,r=this.lat*t,n=e.lat*t,i=Math.sin(r)*Math.sin(n)+Math.cos(r)*Math.cos(n)*Math.cos((e.lng-this.lng)*t);return 6371008.8*Math.acos(Math.min(i,1))},Bu.prototype.toBounds=function(e){void 0===e&&(e=0);var t=360*e/40075017,r=t/Math.cos(Math.PI/180*this.lat);return new Pu(new Bu(this.lng-r,this.lat-t),new Bu(this.lng+r,this.lat+t))},Bu.convert=function(e){if(e instanceof Bu)return e;if(Array.isArray(e)&&(2===e.length||3===e.length))return new Bu(Number(e[0]),Number(e[1]));if(!Array.isArray(e)&&"object"==typeof e&&null!==e)return new Bu(Number("lng"in e?e.lng:e.lon),Number(e.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var Lu=2*Math.PI*6371008.8;function Du(e){return Lu*Math.cos(e*Math.PI/180)}function Iu(e){return(180+e)/360}function ju(e){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e*Math.PI/360)))/360}function Ru(e,t){return e/Du(t)}function Fu(e){return 360/Math.PI*Math.atan(Math.exp((180-360*e)*Math.PI/180))-90}var Nu=function(e,t,r){void 0===r&&(r=0),this.x=+e,this.y=+t,this.z=+r};Nu.fromLngLat=function(e,t){void 0===t&&(t=0);var r=Bu.convert(e);return new Nu(Iu(r.lng),ju(r.lat),Ru(t,r.lat))},Nu.prototype.toLngLat=function(){return new Bu(360*this.x-180,Fu(this.y))},Nu.prototype.toAltitude=function(){return this.z*Du(Fu(this.y))},Nu.prototype.meterInMercatorCoordinateUnits=function(){return 1/Lu*(e=Fu(this.y),1/Math.cos(e*Math.PI/180));var e};var zu=function(e,t,r){this.z=e,this.x=t,this.y=r,this.key=Vu(0,e,e,t,r)};zu.prototype.equals=function(e){return this.z===e.z&&this.x===e.x&&this.y===e.y},zu.prototype.url=function(e,t){var r,n,i,o,a,s=(n=this.y,i=this.z,o=Mu(256*(r=this.x),256*(n=Math.pow(2,i)-n-1),i),a=Mu(256*(r+1),256*(n+1),i),o[0]+","+o[1]+","+a[0]+","+a[1]),l=function(e,t,r){for(var n,i="",o=e;o>0;o--)i+=(t&(n=1<<o-1)?1:0)+(r&n?2:0);return i}(this.z,this.x,this.y);return e[(this.x+this.y)%e.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===t?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",l).replace("{bbox-epsg-3857}",s)},zu.prototype.getTilePoint=function(e){var t=Math.pow(2,this.z);return new i(8192*(e.x*t-this.x),8192*(e.y*t-this.y))},zu.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var Uu=function(e,t){this.wrap=e,this.canonical=t,this.key=Vu(e,t.z,t.z,t.x,t.y)},Hu=function(e,t,r,n,i){this.overscaledZ=e,this.wrap=t,this.canonical=new zu(r,+n,+i),this.key=Vu(t,e,r,n,i)};function Vu(e,t,r,n,i){(e*=2)<0&&(e=-1*e-1);var o=1<<r;return(o*o*e+o*i+n).toString(36)+r.toString(36)+t.toString(36)}Hu.prototype.equals=function(e){return this.overscaledZ===e.overscaledZ&&this.wrap===e.wrap&&this.canonical.equals(e.canonical)},Hu.prototype.scaledTo=function(e){var t=this.canonical.z-e;return e>this.canonical.z?new Hu(e,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Hu(e,this.wrap,e,this.canonical.x>>t,this.canonical.y>>t)},Hu.prototype.calculateScaledKey=function(e,t){var r=this.canonical.z-e;return e>this.canonical.z?Vu(this.wrap*+t,e,this.canonical.z,this.canonical.x,this.canonical.y):Vu(this.wrap*+t,e,e,this.canonical.x>>r,this.canonical.y>>r)},Hu.prototype.isChildOf=function(e){if(e.wrap!==this.wrap)return!1;var t=this.canonical.z-e.canonical.z;return 0===e.overscaledZ||e.overscaledZ<this.overscaledZ&&e.canonical.x===this.canonical.x>>t&&e.canonical.y===this.canonical.y>>t},Hu.prototype.children=function(e){if(this.overscaledZ>=e)return[new Hu(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var t=this.canonical.z+1,r=2*this.canonical.x,n=2*this.canonical.y;return[new Hu(t,this.wrap,t,r,n),new Hu(t,this.wrap,t,r+1,n),new Hu(t,this.wrap,t,r,n+1),new Hu(t,this.wrap,t,r+1,n+1)]},Hu.prototype.isLessThan=function(e){return this.wrap<e.wrap||!(this.wrap>e.wrap)&&(this.overscaledZ<e.overscaledZ||!(this.overscaledZ>e.overscaledZ)&&(this.canonical.x<e.canonical.x||!(this.canonical.x>e.canonical.x)&&this.canonical.y<e.canonical.y))},Hu.prototype.wrapped=function(){return new Hu(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},Hu.prototype.unwrapTo=function(e){return new Hu(this.overscaledZ,e,this.canonical.z,this.canonical.x,this.canonical.y)},Hu.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},Hu.prototype.toUnwrapped=function(){return new Uu(this.wrap,this.canonical)},Hu.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},Hu.prototype.getTilePoint=function(e){return this.canonical.getTilePoint(new Nu(e.x-this.wrap,e.y))},In("CanonicalTileID",zu),In("OverscaledTileID",Hu,{omit:["posMatrix"]});var Qu=function(e,t,r){if(this.uid=e,t.height!==t.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return A('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=t.height;var n=this.dim=t.height-2;this.data=new Uint32Array(t.data.buffer),this.encoding=r||"mapbox";for(var i=0;i<n;i++)this.data[this._idx(-1,i)]=this.data[this._idx(0,i)],this.data[this._idx(n,i)]=this.data[this._idx(n-1,i)],this.data[this._idx(i,-1)]=this.data[this._idx(i,0)],this.data[this._idx(i,n)]=this.data[this._idx(i,n-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(n,-1)]=this.data[this._idx(n-1,0)],this.data[this._idx(-1,n)]=this.data[this._idx(0,n-1)],this.data[this._idx(n,n)]=this.data[this._idx(n-1,n-1)]};Qu.prototype.get=function(e,t){var r=new Uint8Array(this.data.buffer),n=4*this._idx(e,t);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[n],r[n+1],r[n+2])},Qu.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Qu.prototype._idx=function(e,t){if(e<-1||e>=this.dim+1||t<-1||t>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(t+1)*this.stride+(e+1)},Qu.prototype._unpackMapbox=function(e,t,r){return(256*e*256+256*t+r)/10-1e4},Qu.prototype._unpackTerrarium=function(e,t,r){return 256*e+t+r/256-32768},Qu.prototype.getPixels=function(){return new ha({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Qu.prototype.backfillBorder=function(e,t,r){if(this.dim!==e.dim)throw new Error("dem dimension mismatch");var n=t*this.dim,i=t*this.dim+this.dim,o=r*this.dim,a=r*this.dim+this.dim;switch(t){case-1:n=i-1;break;case 1:i=n+1}switch(r){case-1:o=a-1;break;case 1:a=o+1}for(var s=-t*this.dim,l=-r*this.dim,u=o;u<a;u++)for(var c=n;c<i;c++)this.data[this._idx(c,u)]=e.data[this._idx(c+s,u+l)]},In("DEMData",Qu);var Wu=function(e){this._stringToNumber={},this._numberToString=[];for(var t=0;t<e.length;t++){var r=e[t];this._stringToNumber[r]=t,this._numberToString[t]=r}};Wu.prototype.encode=function(e){return this._stringToNumber[e]},Wu.prototype.decode=function(e){return this._numberToString[e]};var Ku=function(e,t,r,n,i){this.type="Feature",this._vectorTileFeature=e,e._z=t,e._x=r,e._y=n,this.properties=e.properties,this.id=i},qu={geometry:{configurable:!0}};qu.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},qu.geometry.set=function(e){this._geometry=e},Ku.prototype.toJSON=function(){var e={geometry:this.geometry};for(var t in this)"_geometry"!==t&&"_vectorTileFeature"!==t&&(e[t]=this[t]);return e},Object.defineProperties(Ku.prototype,qu);var Gu=function(){this.state={},this.stateChanges={},this.deletedStates={}};Gu.prototype.updateState=function(e,t,r){var n=String(t);if(this.stateChanges[e]=this.stateChanges[e]||{},this.stateChanges[e][n]=this.stateChanges[e][n]||{},c(this.stateChanges[e][n],r),null===this.deletedStates[e])for(var i in this.deletedStates[e]={},this.state[e])i!==n&&(this.deletedStates[e][i]=null);else if(this.deletedStates[e]&&null===this.deletedStates[e][n])for(var o in this.deletedStates[e][n]={},this.state[e][n])r[o]||(this.deletedStates[e][n][o]=null);else for(var a in r)this.deletedStates[e]&&this.deletedStates[e][n]&&null===this.deletedStates[e][n][a]&&delete this.deletedStates[e][n][a]},Gu.prototype.removeFeatureState=function(e,t,r){if(null!==this.deletedStates[e]){var n=String(t);if(this.deletedStates[e]=this.deletedStates[e]||{},r&&void 0!==t)null!==this.deletedStates[e][n]&&(this.deletedStates[e][n]=this.deletedStates[e][n]||{},this.deletedStates[e][n][r]=null);else if(void 0!==t)if(this.stateChanges[e]&&this.stateChanges[e][n])for(r in this.deletedStates[e][n]={},this.stateChanges[e][n])this.deletedStates[e][n][r]=null;else this.deletedStates[e][n]=null;else this.deletedStates[e]=null}},Gu.prototype.getState=function(e,t){var r=String(t),n=c({},(this.state[e]||{})[r],(this.stateChanges[e]||{})[r]);if(null===this.deletedStates[e])return{};if(this.deletedStates[e]){var i=this.deletedStates[e][t];if(null===i)return{};for(var o in i)delete n[o]}return n},Gu.prototype.initializeTileState=function(e,t){e.setFeatureState(this.state,t)},Gu.prototype.coalesceChanges=function(e,t){var r={};for(var n in this.stateChanges){this.state[n]=this.state[n]||{};var i={};for(var o in this.stateChanges[n])this.state[n][o]||(this.state[n][o]={}),c(this.state[n][o],this.stateChanges[n][o]),i[o]=this.state[n][o];r[n]=i}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var u in this.deletedStates[a]){if(null===this.deletedStates[a][u])this.state[a][u]={};else for(var f=0,p=Object.keys(this.deletedStates[a][u]);f<p.length;f+=1)delete this.state[a][u][p[f]];s[u]=this.state[a][u]}r[a]=r[a]||{},c(r[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var d in e)e[d].setFeatureState(r,t)};var $u=function(e,t){this.tileID=e,this.x=e.canonical.x,this.y=e.canonical.y,this.z=e.canonical.z,this.grid=new Mn(8192,16,0),this.grid3D=new Mn(8192,16,0),this.featureIndexArray=new ro,this.promoteId=t};function Yu(e,t,r,n,i){return g(e,(function(e,o){var a=t instanceof pi?t.get(o):null;return a&&a.evaluate?a.evaluate(r,n,i):a}))}function Xu(e){for(var t=1/0,r=1/0,n=-1/0,i=-1/0,o=0,a=e;o<a.length;o+=1){var s=a[o];t=Math.min(t,s.x),r=Math.min(r,s.y),n=Math.max(n,s.x),i=Math.max(i,s.y)}return{minX:t,minY:r,maxX:n,maxY:i}}function Zu(e,t){return t-e}$u.prototype.insert=function(e,t,r,n,i,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,n,i);for(var s=o?this.grid3D:this.grid,l=0;l<t.length;l++){for(var u=t[l],c=[1/0,1/0,-1/0,-1/0],f=0;f<u.length;f++){var p=u[f];c[0]=Math.min(c[0],p.x),c[1]=Math.min(c[1],p.y),c[2]=Math.max(c[2],p.x),c[3]=Math.max(c[3],p.y)}c[0]<8192&&c[1]<8192&&c[2]>=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},$u.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new vs.VectorTile(new Qs(this.rawTileData)).layers,this.sourceLayerCoder=new Wu(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},$u.prototype.query=function(e,t,r,n){var o=this;this.loadVTLayers();for(var a=e.params||{},s=8192/e.tileSize/e.scale,l=rn(a.filter),u=e.queryGeometry,c=e.queryPadding*s,f=Xu(u),p=this.grid.query(f.minX-c,f.minY-c,f.maxX+c,f.maxY+c),d=Xu(e.cameraQueryGeometry),h=this.grid3D.query(d.minX-c,d.minY-c,d.maxX+c,d.maxY+c,(function(t,r,n,o){return function(e,t,r,n,o){for(var a=0,s=e;a<s.length;a+=1){var l=s[a];if(t<=l.x&&r<=l.y&&n>=l.x&&o>=l.y)return!0}var u=[new i(t,r),new i(t,o),new i(n,o),new i(n,r)];if(e.length>2)for(var c=0,f=u;c<f.length;c+=1)if(Go(e,f[c]))return!0;for(var p=0;p<e.length-1;p++)if($o(e[p],e[p+1],u))return!0;return!1}(e.cameraQueryGeometry,t-c,r-c,n+c,o+c)})),v=0,m=h;v<m.length;v+=1)p.push(m[v]);p.sort(Zu);for(var g,y={},b=function(i){var c=p[i];if(c!==g){g=c;var f=o.featureIndexArray.get(c),d=null;o.loadMatchingFeature(y,f.bucketIndex,f.sourceLayerIndex,f.featureIndex,l,a.layers,a.availableImages,t,r,n,(function(t,r,n){return d||(d=jo(t)),r.queryIntersectsFeature(u,t,n,d,o.z,e.transform,s,e.pixelPosMatrix)}))}},x=0;x<p.length;x++)b(x);return y},$u.prototype.loadMatchingFeature=function(e,t,r,n,i,o,a,s,l,u,c){var f=this.bucketLayerIDs[t];if(!o||function(e,t){for(var r=0;r<e.length;r++)if(t.indexOf(e[r])>=0)return!0;return!1}(o,f)){var p=this.sourceLayerCoder.decode(r),d=this.vtLayers[p].feature(n);if(i.filter(new ii(this.tileID.overscaledZ),d))for(var h=this.getId(d,p),v=0;v<f.length;v++){var m=f[v];if(!(o&&o.indexOf(m)<0)){var g=s[m];if(g){var y={};void 0!==h&&u&&(y=u.getState(g.sourceLayer||"_geojsonTileLayer",h));var b=l[m];b.paint=Yu(b.paint,g.paint,d,y,a),b.layout=Yu(b.layout,g.layout,d,y,a);var x=!c||c(d,g,y);if(x){var A=new Ku(d,this.z,this.x,this.y,h);A.layer=b;var w=e[m];void 0===w&&(w=e[m]=[]),w.push({featureIndex:n,feature:A,intersectionZ:x})}}}}}},$u.prototype.lookupSymbolFeatures=function(e,t,r,n,i,o,a,s){var l={};this.loadVTLayers();for(var u=rn(i),c=0,f=e;c<f.length;c+=1)this.loadMatchingFeature(l,r,n,f[c],u,o,a,s,t);return l},$u.prototype.hasLayer=function(e){for(var t=0,r=this.bucketLayerIDs;t<r.length;t+=1)for(var n=0,i=r[t];n<i.length;n+=1)if(e===i[n])return!0;return!1},$u.prototype.getId=function(e,t){var r=e.id;return this.promoteId&&"boolean"==typeof(r=e.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[t]])&&(r=Number(r)),r},In("FeatureIndex",$u,{omit:["rawTileData","sourceLayerCoder"]});var Ju=function(e,t){this.tileID=e,this.uid=p(),this.uses=0,this.tileSize=t,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};Ju.prototype.registerFadeDuration=function(e){var t=e+this.timeAdded;t<j.now()||this.fadeEndTime&&t<this.fadeEndTime||(this.fadeEndTime=t)},Ju.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},Ju.prototype.loadVectorData=function(e,t,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){for(var n in e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestFeatureIndex.rawTileData=e.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){var r={};if(!t)return r;for(var n=function(){var e=o[i],n=e.layerIds.map((function(e){return t.getLayer(e)})).filter(Boolean);if(0!==n.length){e.layers=n,e.stateDependentLayerIds&&(e.stateDependentLayers=e.stateDependentLayerIds.map((function(e){return n.filter((function(t){return t.id===e}))[0]})));for(var a=0,s=n;a<s.length;a+=1)r[s[a].id]=e}},i=0,o=e;i<o.length;i+=1)n();return r}(e.buckets,t.style),this.hasSymbolBuckets=!1,this.buckets){var i=this.buckets[n];if(i instanceof fu){if(this.hasSymbolBuckets=!0,!r)break;i.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var o in this.buckets){var a=this.buckets[o];if(a instanceof fu&&a.hasRTLText){this.hasRTLText=!0,ni.isLoading()||ni.isLoaded()||"deferred"!==ti()||ri();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,t.style.getLayer(s).queryRadius(l))}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage)}else this.collisionBoxArray=new Gi},Ju.prototype.unloadVectorData=function(){for(var e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},Ju.prototype.getBucket=function(e){return this.buckets[e.id]},Ju.prototype.upload=function(e){for(var t in this.buckets){var r=this.buckets[t];r.uploadPending()&&r.upload(e)}var n=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Cu(e,this.imageAtlas.image,n.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Cu(e,this.glyphAtlasImage,n.ALPHA),this.glyphAtlasImage=null)},Ju.prototype.prepare=function(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture)},Ju.prototype.queryRenderedFeatures=function(e,t,r,n,i,o,a,s,l,u){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:n,cameraQueryGeometry:i,scale:o,tileSize:this.tileSize,pixelPosMatrix:u,transform:s,params:a,queryPadding:this.queryPadding*l},e,t,r):{}},Ju.prototype.querySourceFeatures=function(e,t){var r=this.latestFeatureIndex;if(r&&r.rawTileData){var n=r.loadVTLayers(),i=t?t.sourceLayer:"",o=n._geojsonTileLayer||n[i];if(o)for(var a=rn(t&&t.filter),s=this.tileID.canonical,l=s.z,u=s.x,c=s.y,f={z:l,x:u,y:c},p=0;p<o.length;p++){var d=o.feature(p);if(a.filter(new ii(this.tileID.overscaledZ),d)){var h=r.getId(d,i),v=new Ku(d,l,u,c,h);v.tile=f,e.push(v)}}}},Ju.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},Ju.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},Ju.prototype.setExpiryData=function(e){var t=this.expirationTime;if(e.cacheControl){var r=k(e.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"])}else e.expires&&(this.expirationTime=new Date(e.expires).getTime());if(this.expirationTime){var n=Date.now(),i=!1;if(this.expirationTime>n)i=!1;else if(t)if(this.expirationTime<t)i=!0;else{var o=this.expirationTime-t;o?this.expirationTime=n+Math.max(o,3e4):i=!0}else i=!0;i?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},Ju.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},Ju.prototype.setFeatureState=function(e,t){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(e).length){var r=this.latestFeatureIndex.loadVTLayers();for(var n in this.buckets)if(t.style.hasLayer(n)){var i=this.buckets[n],o=i.layers[0].sourceLayer||"_geojsonTileLayer",a=r[o],s=e[o];if(a&&s&&0!==Object.keys(s).length){i.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{});var l=t&&t.style&&t.style.getLayer(n);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(i)))}}}},Ju.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},Ju.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<j.now()},Ju.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},Ju.prototype.setHoldDuration=function(e){this.symbolFadeHoldUntil=j.now()+e},Ju.prototype.setDependencies=function(e,t){for(var r={},n=0,i=t;n<i.length;n+=1)r[i[n]]=!0;this.dependencies[e]=r},Ju.prototype.hasDependency=function(e,t){for(var r=0,n=e;r<n.length;r+=1){var i=this.dependencies[n[r]];if(i)for(var o=0,a=t;o<a.length;o+=1)if(i[a[o]])return!0}return!1};var ec=self.performance,tc=function(e){this._marks={start:[e.url,"start"].join("#"),end:[e.url,"end"].join("#"),measure:e.url.toString()},ec.mark(this._marks.start)};tc.prototype.finish=function(){ec.mark(this._marks.end);var e=ec.getEntriesByName(this._marks.measure);return 0===e.length&&(ec.measure(this._marks.measure,this._marks.start,this._marks.end),e=ec.getEntriesByName(this._marks.measure),ec.clearMarks(this._marks.start),ec.clearMarks(this._marks.end),ec.clearMeasures(this._marks.measure)),e},e.Actor=Ou,e.AlphaImage=da,e.CanonicalTileID=zu,e.CollisionBoxArray=Gi,e.Color=Xe,e.DEMData=Qu,e.DataConstantProperty=di,e.DictionaryCoder=Wu,e.EXTENT=8192,e.ErrorEvent=Ee,e.EvaluationParameters=ii,e.Event=_e,e.Evented=ke,e.FeatureIndex=$u,e.FillBucket=rs,e.FillExtrusionBucket=bs,e.ImageAtlas=hl,e.ImagePosition=pl,e.LineBucket=Os,e.LngLat=Bu,e.LngLatBounds=Pu,e.MercatorCoordinate=Nu,e.ONE_EM=24,e.OverscaledTileID=Hu,e.Point=i,e.Point$1=i,e.Properties=yi,e.Protobuf=Qs,e.RGBAImage=ha,e.RequestManager=V,e.RequestPerformance=tc,e.ResourceType=pe,e.SegmentVector=io,e.SourceFeatureState=Gu,e.StructArrayLayout1ui2=Qi,e.StructArrayLayout2f1f2i16=Ii,e.StructArrayLayout2i4=ki,e.StructArrayLayout3ui6=Ri,e.StructArrayLayout4i8=Ti,e.SymbolBucket=fu,e.Texture=Cu,e.Tile=Ju,e.Transitionable=si,e.Uniform1f=yo,e.Uniform1i=go,e.Uniform2f=bo,e.Uniform3f=xo,e.Uniform4f=Ao,e.UniformColor=wo,e.UniformMatrix4f=Eo,e.UnwrappedTileID=Uu,e.ValidationError=Ce,e.WritingMode=vl,e.ZoomHistory=Un,e.add=function(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e},e.addDynamicAttributes=su,e.asyncAll=function(e,t,r){if(!e.length)return r(null,[]);var n=e.length,i=new Array(e.length),o=null;e.forEach((function(e,a){t(e,(function(e,t){e&&(o=e),i[a]=t,0==--n&&r(o,i)}))}))},e.bezier=a,e.bindAll=v,e.browser=j,e.cacheEntryPossiblyAdded=function(e){++ce>ae&&(e.getActor().send("enforceCacheSizeLimit",oe),ce=0)},e.clamp=l,e.clearTileCache=function(e){var t=self.caches.delete("mapbox-tiles");e&&t.catch(e).then((function(){return e()}))},e.clipLine=zl,e.clone=function(e){var t=new ta(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},e.clone$1=b,e.clone$2=function(e){var t=new ta(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},e.collisionCircleLayout=Ns,e.config=R,e.create=function(){var e=new ta(16);return ta!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e},e.create$1=function(){var e=new ta(9);return ta!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e},e.create$2=function(){var e=new ta(4);return ta!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e},e.createCommonjsModule=t,e.createExpression=Vr,e.createLayout=_i,e.createStyleLayer=function(e){return"custom"===e.type?new xu(e):new Au[e.type](e)},e.cross=function(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[0],s=r[1],l=r[2];return e[0]=i*l-o*s,e[1]=o*a-n*l,e[2]=n*s-i*a,e},e.deepEqual=function e(t,r){if(Array.isArray(t)){if(!Array.isArray(r)||t.length!==r.length)return!1;for(var n=0;n<t.length;n++)if(!e(t[n],r[n]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==r){if("object"!=typeof r)return!1;if(Object.keys(t).length!==Object.keys(r).length)return!1;for(var i in t)if(!e(t[i],r[i]))return!1;return!0}return t===r},e.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},e.dot$1=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},e.ease=s,e.emitValidationErrors=On,e.endsWith=m,e.enforceCacheSizeLimit=function(e){se(),Z&&Z.then((function(t){t.keys().then((function(r){for(var n=0;n<r.length-e;n++)t.delete(r[n])}))}))},e.evaluateSizeForFeature=Pl,e.evaluateSizeForZoom=Bl,e.evaluateVariableOffset=Jl,e.evented=ei,e.extend=c,e.featureFilter=rn,e.filterObject=y,e.fromRotation=function(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[2]=0,e[3]=-r,e[4]=n,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},e.getAnchorAlignment=Tl,e.getAnchorJustification=eu,e.getArrayBuffer=ye,e.getImage=xe,e.getJSON=function(e,t){return ge(c(e,{type:"json"}),t)},e.getRTLTextPluginStatus=ti,e.getReferrer=me,e.getVideo=function(e,t){var r,n,i=self.document.createElement("video");i.muted=!0,i.onloadstart=function(){t(null,i)};for(var o=0;o<e.length;o++){var a=self.document.createElement("source");r=e[o],n=void 0,(n=self.document.createElement("a")).href=r,(n.protocol!==self.document.location.protocol||n.host!==self.document.location.host)&&(i.crossOrigin="Anonymous"),a.src=e[o],i.appendChild(a)}return{cancel:function(){}}},e.identity=ra,e.invert=function(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],p=t[10],d=t[11],h=t[12],v=t[13],m=t[14],g=t[15],y=r*s-n*a,b=r*l-i*a,x=r*u-o*a,A=n*l-i*s,w=n*u-o*s,_=i*u-o*l,E=c*v-f*h,k=c*m-p*h,T=c*g-d*h,C=f*m-p*v,S=f*g-d*v,O=p*g-d*m,M=y*O-b*S+x*C+A*T-w*k+_*E;return M?(e[0]=(s*O-l*S+u*C)*(M=1/M),e[1]=(i*S-n*O-o*C)*M,e[2]=(v*_-m*w+g*A)*M,e[3]=(p*w-f*_-d*A)*M,e[4]=(l*T-a*O-u*k)*M,e[5]=(r*O-i*T+o*k)*M,e[6]=(m*x-h*_-g*b)*M,e[7]=(c*_-p*x+d*b)*M,e[8]=(a*S-s*T+u*E)*M,e[9]=(n*T-r*S-o*E)*M,e[10]=(h*w-v*x+g*y)*M,e[11]=(f*x-c*w-d*y)*M,e[12]=(s*k-a*C-l*E)*M,e[13]=(r*C-n*k+i*E)*M,e[14]=(v*b-h*A-m*y)*M,e[15]=(c*A-f*b+p*y)*M,e):null},e.isChar=Hn,e.isMapboxURL=Q,e.keysDifference=function(e,t){var r=[];for(var n in e)n in t||r.push(n);return r},e.makeRequest=ge,e.mapObject=g,e.mercatorXfromLng=Iu,e.mercatorYfromLat=ju,e.mercatorZfromAltitude=Ru,e.mul=oa,e.multiply=na,e.mvt=vs,e.normalize=function(e,t){var r=t[0],n=t[1],i=t[2],o=r*r+n*n+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e},e.number=Ut,e.offscreenCanvasSupported=fe,e.ortho=function(e,t,r,n,i,o,a){var s=1/(t-r),l=1/(n-i),u=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+r)*s,e[13]=(i+n)*l,e[14]=(a+o)*u,e[15]=1,e},e.parseGlyphPBF=function(e){return new Qs(e).readFields(ll,[])},e.pbf=Qs,e.performSymbolLayout=function(e,t,r,n,i,o,a){e.createArrays(),e.tilePixelRatio=8192/(512*e.overscaling),e.compareText={},e.iconsNeedLinear=!1;var s=e.layers[0].layout,l=e.layers[0]._unevaluatedLayout._values,u={};if("composite"===e.textSizeData.kind){var c=e.textSizeData,f=c.maxZoom;u.compositeTextSizes=[l["text-size"].possiblyEvaluate(new ii(c.minZoom),a),l["text-size"].possiblyEvaluate(new ii(f),a)]}if("composite"===e.iconSizeData.kind){var p=e.iconSizeData,d=p.maxZoom;u.compositeIconSizes=[l["icon-size"].possiblyEvaluate(new ii(p.minZoom),a),l["icon-size"].possiblyEvaluate(new ii(d),a)]}u.layoutTextSize=l["text-size"].possiblyEvaluate(new ii(e.zoom+1),a),u.layoutIconSize=l["icon-size"].possiblyEvaluate(new ii(e.zoom+1),a),u.textMaxSize=l["text-size"].possiblyEvaluate(new ii(18));for(var h=24*s.get("text-line-height"),v="map"===s.get("text-rotation-alignment")&&"point"!==s.get("symbol-placement"),m=s.get("text-keep-upright"),g=s.get("text-size"),y=function(){var o=x[b],l=s.get("text-font").evaluate(o,{},a).join(","),c=g.evaluate(o,{},a),f=u.layoutTextSize.evaluate(o,{},a),p=u.layoutIconSize.evaluate(o,{},a),d={horizontal:{},vertical:void 0},y=o.text,w=[0,0];if(y){var _=y.toString(),E=24*s.get("text-letter-spacing").evaluate(o,{},a),k=function(e){for(var t=0,r=e;t<r.length;t+=1)if(n=r[t].charCodeAt(0),Hn.Arabic(n)||Hn["Arabic Supplement"](n)||Hn["Arabic Extended-A"](n)||Hn["Arabic Presentation Forms-A"](n)||Hn["Arabic Presentation Forms-B"](n))return!1;var n;return!0}(_)?E:0,T=s.get("text-anchor").evaluate(o,{},a),C=s.get("text-variable-anchor");if(!C){var S=s.get("text-radial-offset").evaluate(o,{},a);w=S?Jl(T,[24*S,Zl]):s.get("text-offset").evaluate(o,{},a).map((function(e){return 24*e}))}var O=v?"center":s.get("text-justify").evaluate(o,{},a),M=s.get("symbol-placement"),P="point"===M?24*s.get("text-max-width").evaluate(o,{},a):0,B=function(){e.allowVerticalPlacement&&Vn(_)&&(d.vertical=yl(y,t,r,i,l,P,h,T,"left",k,w,vl.vertical,!0,M,f,c))};if(!v&&C){for(var L="auto"===O?C.map((function(e){return eu(e)})):[O],D=!1,I=0;I<L.length;I++){var j=L[I];if(!d.horizontal[j])if(D)d.horizontal[j]=d.horizontal[0];else{var R=yl(y,t,r,i,l,P,h,"center",j,k,w,vl.horizontal,!1,M,f,c);R&&(d.horizontal[j]=R,D=1===R.positionedLines.length)}}B()}else{"auto"===O&&(O=eu(T));var F=yl(y,t,r,i,l,P,h,T,O,k,w,vl.horizontal,!1,M,f,c);F&&(d.horizontal[O]=F),B(),Vn(_)&&v&&m&&(d.vertical=yl(y,t,r,i,l,P,h,T,O,k,w,vl.vertical,!1,M,f,c))}}var N=void 0,z=!1;if(o.icon&&o.icon.name){var U=n[o.icon.name];U&&(N=function(e,t,r){var n=Tl(r),i=t[0]-e.displaySize[0]*n.horizontalAlign,o=t[1]-e.displaySize[1]*n.verticalAlign;return{image:e,top:o,bottom:o+e.displaySize[1],left:i,right:i+e.displaySize[0]}}(i[o.icon.name],s.get("icon-offset").evaluate(o,{},a),s.get("icon-anchor").evaluate(o,{},a)),z=U.sdf,void 0===e.sdfIcons?e.sdfIcons=U.sdf:e.sdfIcons!==U.sdf&&A("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(U.pixelRatio!==e.pixelRatio||0!==s.get("icon-rotate").constantOr(1))&&(e.iconsNeedLinear=!0))}var H=ru(d.horizontal)||d.vertical;e.iconsInText=!!H&&H.iconsInText,(H||N)&&function(e,t,r,n,i,o,a,s,l,u,c){var f=o.textMaxSize.evaluate(t,{});void 0===f&&(f=a);var p,d=e.layers[0].layout,h=d.get("icon-offset").evaluate(t,{},c),v=ru(r.horizontal),m=a/24,g=e.tilePixelRatio*m,y=e.tilePixelRatio*f/24,b=e.tilePixelRatio*s,x=e.tilePixelRatio*d.get("symbol-spacing"),w=d.get("text-padding")*e.tilePixelRatio,_=d.get("icon-padding")*e.tilePixelRatio,E=d.get("text-max-angle")/180*Math.PI,k="map"===d.get("text-rotation-alignment")&&"point"!==d.get("symbol-placement"),T="map"===d.get("icon-rotation-alignment")&&"point"!==d.get("symbol-placement"),C=d.get("symbol-placement"),S=x/2,O=d.get("icon-text-fit");n&&"none"!==O&&(e.allowVerticalPlacement&&r.vertical&&(p=Sl(n,r.vertical,O,d.get("icon-text-fit-padding"),h,m)),v&&(n=Sl(n,v,O,d.get("icon-text-fit-padding"),h,m)));var M=function(s,f){f.x<0||f.x>=8192||f.y<0||f.y>=8192||function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v,m,g,y,b,x,w,_,E,k){var T,C,S,O,M,P=e.addToLineVertexArray(t,r),B=0,L=0,D=0,I=0,j=-1,R=-1,F={},N=uo(""),z=0,U=0;if(void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(z=(T=s.layout.get("text-offset").evaluate(x,{},E).map((function(e){return 24*e})))[0],U=T[1]):(z=24*s.layout.get("text-radial-offset").evaluate(x,{},E),U=Zl),e.allowVerticalPlacement&&n.vertical){var H=s.layout.get("text-rotate").evaluate(x,{},E)+90;O=new Kl(l,t,u,c,f,n.vertical,p,d,h,H),a&&(M=new Kl(l,t,u,c,f,a,m,g,h,H))}if(i){var V=s.layout.get("icon-rotate").evaluate(x,{}),Q="none"!==s.layout.get("icon-text-fit"),W=Ul(i,V,_,Q),K=a?Ul(a,V,_,Q):void 0;S=new Kl(l,t,u,c,f,i,m,g,!1,V),B=4*W.length;var q=e.iconSizeData,G=null;"source"===q.kind?(G=[128*s.layout.get("icon-size").evaluate(x,{})])[0]>32640&&A(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===q.kind&&((G=[128*w.compositeIconSizes[0].evaluate(x,{},E),128*w.compositeIconSizes[1].evaluate(x,{},E)])[0]>32640||G[1]>32640)&&A(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),e.addSymbols(e.icon,W,G,b,y,x,!1,t,P.lineStartIndex,P.lineLength,-1,E),j=e.icon.placedSymbolArray.length-1,K&&(L=4*K.length,e.addSymbols(e.icon,K,G,b,y,x,vl.vertical,t,P.lineStartIndex,P.lineLength,-1,E),R=e.icon.placedSymbolArray.length-1)}for(var $ in n.horizontal){var Y=n.horizontal[$];if(!C){N=uo(Y.text);var X=s.layout.get("text-rotate").evaluate(x,{},E);C=new Kl(l,t,u,c,f,Y,p,d,h,X)}var Z=1===Y.positionedLines.length;if(D+=tu(e,t,Y,o,s,h,x,v,P,n.vertical?vl.horizontal:vl.horizontalOnly,Z?Object.keys(n.horizontal):[$],F,j,w,E),Z)break}n.vertical&&(I+=tu(e,t,n.vertical,o,s,h,x,v,P,vl.vertical,["vertical"],F,R,w,E));var J=C?C.boxStartIndex:e.collisionBoxArray.length,ee=C?C.boxEndIndex:e.collisionBoxArray.length,te=O?O.boxStartIndex:e.collisionBoxArray.length,re=O?O.boxEndIndex:e.collisionBoxArray.length,ne=S?S.boxStartIndex:e.collisionBoxArray.length,ie=S?S.boxEndIndex:e.collisionBoxArray.length,oe=M?M.boxStartIndex:e.collisionBoxArray.length,ae=M?M.boxEndIndex:e.collisionBoxArray.length,se=-1,le=function(e,t){return e&&e.circleDiameter?Math.max(e.circleDiameter,t):t};se=le(C,se),se=le(O,se),se=le(S,se);var ue=(se=le(M,se))>-1?1:0;ue&&(se*=k/24),e.glyphOffsetArray.length>=fu.MAX_GLYPHS&&A("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==x.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,x.sortKey),e.symbolInstances.emplaceBack(t.x,t.y,F.right>=0?F.right:-1,F.center>=0?F.center:-1,F.left>=0?F.left:-1,F.vertical||-1,j,R,N,J,ee,te,re,ne,ie,oe,ae,u,D,I,B,L,ue,0,p,z,U,se)}(e,f,s,r,n,i,p,e.layers[0],e.collisionBoxArray,t.index,t.sourceLayerIndex,e.index,g,w,k,l,b,_,T,h,t,o,u,c,a)};if("line"===C)for(var P=0,B=zl(t.geometry,0,0,8192,8192);P<B.length;P+=1)for(var L=B[P],D=0,I=Nl(L,x,E,r.vertical||v,n,24,y,e.overscaling,8192);D<I.length;D+=1){var j=I[D];v&&nu(e,v.text,S,j)||M(L,j)}else if("line-center"===C)for(var R=0,F=t.geometry;R<F.length;R+=1){var N=F[R];if(N.length>1){var z=Fl(N,E,r.vertical||v,n,24,y);z&&M(N,z)}}else if("Polygon"===t.type)for(var U=0,H=Za(t.geometry,0);U<H.length;U+=1){var V=H[U],Q=$l(V,16);M(V[0],new Ol(Q.x,Q.y,0))}else if("LineString"===t.type)for(var W=0,K=t.geometry;W<K.length;W+=1){var q=K[W];M(q,new Ol(q[0].x,q[0].y,0))}else if("Point"===t.type)for(var G=0,$=t.geometry;G<$.length;G+=1)for(var Y=0,X=$[G];Y<X.length;Y+=1){var Z=X[Y];M([Z],new Ol(Z.x,Z.y,0))}}(e,o,d,N,n,u,f,p,w,z,a)},b=0,x=e.features;b<x.length;b+=1)y();o&&e.generateCollisionDebugBuffers()},e.perspective=function(e,t,r,n,i){var o,a=1/Math.tan(t/2);return e[0]=a/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(e[10]=(i+n)*(o=1/(n-i)),e[14]=2*i*n*o):(e[10]=-1,e[14]=-2*n),e},e.pick=function(e,t){for(var r={},n=0;n<t.length;n++){var i=t[n];i in e&&(r[i]=e[i])}return r},e.plugin=ni,e.polygonIntersectsPolygon=No,e.postMapLoadEvent=ie,e.postTurnstileEvent=re,e.potpack=fl,e.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],e.register=In,e.registerForPluginStateChange=function(e){return e({pluginStatus:Yn,pluginURL:Xn}),ei.on("pluginStateChange",e),e},e.rotate=function(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(r),l=Math.cos(r);return e[0]=n*l+o*s,e[1]=i*l+a*s,e[2]=n*-s+o*l,e[3]=i*-s+a*l,e},e.rotateX=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],f=t[10],p=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+u*n,e[5]=a*i+c*n,e[6]=s*i+f*n,e[7]=l*i+p*n,e[8]=u*i-o*n,e[9]=c*i-a*n,e[10]=f*i-s*n,e[11]=p*i-l*n,e},e.rotateZ=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[0],a=t[1],s=t[2],l=t[3],u=t[4],c=t[5],f=t[6],p=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i+u*n,e[1]=a*i+c*n,e[2]=s*i+f*n,e[3]=l*i+p*n,e[4]=u*i-o*n,e[5]=c*i-a*n,e[6]=f*i-s*n,e[7]=p*i-l*n,e},e.scale=function(e,t,r){var n=r[0],i=r[1],o=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},e.scale$1=function(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e},e.scale$2=function(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e},e.setCacheLimits=function(e,t){oe=e,ae=t},e.setRTLTextPlugin=function(e,t,r){if(void 0===r&&(r=!1),"deferred"===Yn||"loading"===Yn||"loaded"===Yn)throw new Error("setRTLTextPlugin cannot be called multiple times.");Xn=j.resolveURL(e),Yn="deferred",$n=t,Jn(),r||ri()},e.sphericalToCartesian=function(e){var t=e[0],r=e[1],n=e[2];return r+=90,r*=Math.PI/180,n*=Math.PI/180,{x:t*Math.cos(r)*Math.sin(n),y:t*Math.sin(r)*Math.sin(n),z:t*Math.cos(n)}},e.sqrLen=function(e){var t=e[0],r=e[1];return t*t+r*r},e.styleSpec=Te,e.sub=function(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e},e.symbolSize=Ll,e.transformMat3=function(e,t,r){var n=t[0],i=t[1],o=t[2];return e[0]=n*r[0]+i*r[3]+o*r[6],e[1]=n*r[1]+i*r[4]+o*r[7],e[2]=n*r[2]+i*r[5]+o*r[8],e},e.transformMat4=aa,e.translate=function(e,t,r){var n,i,o,a,s,l,u,c,f,p,d,h,v=r[0],m=r[1],g=r[2];return t===e?(e[12]=t[0]*v+t[4]*m+t[8]*g+t[12],e[13]=t[1]*v+t[5]*m+t[9]*g+t[13],e[14]=t[2]*v+t[6]*m+t[10]*g+t[14],e[15]=t[3]*v+t[7]*m+t[11]*g+t[15]):(i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],p=t[9],d=t[10],h=t[11],e[0]=n=t[0],e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=p,e[10]=d,e[11]=h,e[12]=n*v+s*m+f*g+t[12],e[13]=i*v+l*m+p*g+t[13],e[14]=o*v+u*m+d*g+t[14],e[15]=a*v+c*m+h*g+t[15]),e},e.triggerPluginCompletionEvent=Zn,e.uniqueId=p,e.validateCustomStyleLayer=function(e){var t=[],r=e.id;return void 0===r&&t.push({message:"layers."+r+': missing required property "id"'}),void 0===e.render&&t.push({message:"layers."+r+': missing required method "render"'}),e.renderingMode&&"2d"!==e.renderingMode&&"3d"!==e.renderingMode&&t.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),t},e.validateLight=Tn,e.validateStyle=kn,e.values=function(e){var t=[];for(var r in e)t.push(e[r]);return t},e.vectorTile=vs,e.version="1.10.1",e.warnOnce=A,e.webpSupported=F,e.window=self,e.wrap=u})),n(["./shared"],(function(e){function t(e){var r=typeof e;if("number"===r||"boolean"===r||"string"===r||null==e)return JSON.stringify(e);if(Array.isArray(e)){for(var n="[",i=0,o=e;i<o.length;i+=1)n+=t(o[i])+",";return n+"]"}for(var a=Object.keys(e).sort(),s="{",l=0;l<a.length;l++)s+=JSON.stringify(a[l])+":"+t(e[a[l]])+",";return s+"}"}function r(r){for(var n="",i=0,o=e.refProperties;i<o.length;i+=1)n+="/"+t(r[o[i]]);return n}var n=function(e){this.keyCache={},e&&this.replace(e)};n.prototype.replace=function(e){this._layerConfigs={},this._layers={},this.update(e,[])},n.prototype.update=function(t,n){for(var i=this,o=0,a=t;o<a.length;o+=1){var s=a[o];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=e.createStyleLayer(s);l._featureFilter=e.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var u=0,c=n;u<c.length;u+=1){var f=c[u];delete this.keyCache[f],delete this._layerConfigs[f],delete this._layers[f]}this.familiesBySource={};for(var p=0,d=function(e,t){for(var n={},i=0;i<e.length;i++){var o=t&&t[e[i].id]||r(e[i]);t&&(t[e[i].id]=o);var a=n[o];a||(a=n[o]=[]),a.push(e[i])}var s=[];for(var l in n)s.push(n[l]);return s}(e.values(this._layerConfigs),this.keyCache);p<d.length;p+=1){var h=d[p].map((function(e){return i._layers[e.id]})),v=h[0];if("none"!==v.visibility){var m=v.source||"",g=this.familiesBySource[m];g||(g=this.familiesBySource[m]={});var y=v.sourceLayer||"_geojsonTileLayer",b=g[y];b||(b=g[y]=[]),b.push(h)}}};var i=function(t){var r={},n=[];for(var i in t){var o=t[i],a=r[i]={};for(var s in o){var l=o[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var u={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};n.push(u),a[s]={rect:u,metrics:l.metrics}}}}var c=e.potpack(n),f=new e.AlphaImage({width:c.w||1,height:c.h||1});for(var p in t){var d=t[p];for(var h in d){var v=d[+h];if(v&&0!==v.bitmap.width&&0!==v.bitmap.height){var m=r[p][h].rect;e.AlphaImage.copy(v.bitmap,f,{x:0,y:0},{x:m.x+1,y:m.y+1},v.bitmap)}}}this.image=f,this.positions=r};e.register("GlyphAtlas",i);var o=function(t){this.tileID=new e.OverscaledTileID(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId};function a(t,r,n){for(var i=new e.EvaluationParameters(r),o=0,a=t;o<a.length;o+=1)a[o].recalculate(i,n)}function s(t,r){var n=e.getArrayBuffer(t.request,(function(t,n,i,o){t?r(t):n&&r(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(n)),rawData:n,cacheControl:i,expires:o})}));return function(){n.cancel(),r()}}o.prototype.parse=function(t,r,n,o,s){var l=this;this.status="parsing",this.data=t,this.collisionBoxArray=new e.CollisionBoxArray;var u=new e.DictionaryCoder(Object.keys(t.layers).sort()),c=new e.FeatureIndex(this.tileID,this.promoteId);c.bucketLayerIDs=[];var f,p,d,h,v={},m={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:n},g=r.familiesBySource[this.source];for(var y in g){var b=t.layers[y];if(b){1===b.version&&e.warnOnce('Vector tile source "'+this.source+'" layer "'+y+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var x=u.encode(y),A=[],w=0;w<b.length;w++){var _=b.feature(w),E=c.getId(_,y);A.push({feature:_,id:E,index:w,sourceLayerIndex:x})}for(var k=0,T=g[y];k<T.length;k+=1){var C=T[k],S=C[0];S.minzoom&&this.zoom<Math.floor(S.minzoom)||S.maxzoom&&this.zoom>=S.maxzoom||"none"!==S.visibility&&(a(C,this.zoom,n),(v[S.id]=S.createBucket({index:c.bucketLayerIDs.length,layers:C,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:x,sourceID:this.source})).populate(A,m,this.tileID.canonical),c.bucketLayerIDs.push(C.map((function(e){return e.id}))))}}}var O=e.mapObject(m.glyphDependencies,(function(e){return Object.keys(e).map(Number)}));Object.keys(O).length?o.send("getGlyphs",{uid:this.uid,stacks:O},(function(e,t){f||(f=e,p=t,B.call(l))})):p={};var M=Object.keys(m.iconDependencies);M.length?o.send("getImages",{icons:M,source:this.source,tileID:this.tileID,type:"icons"},(function(e,t){f||(f=e,d=t,B.call(l))})):d={};var P=Object.keys(m.patternDependencies);function B(){if(f)return s(f);if(p&&d&&h){var t=new i(p),r=new e.ImageAtlas(d,h);for(var o in v){var l=v[o];l instanceof e.SymbolBucket?(a(l.layers,this.zoom,n),e.performSymbolLayout(l,p,t.positions,d,r.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):l.hasPattern&&(l instanceof e.LineBucket||l instanceof e.FillBucket||l instanceof e.FillExtrusionBucket)&&(a(l.layers,this.zoom,n),l.addFeatures(m,this.tileID.canonical,r.patternPositions))}this.status="done",s(null,{buckets:e.values(v).filter((function(e){return!e.isEmpty()})),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:t.image,imageAtlas:r,glyphMap:this.returnDependencies?p:null,iconMap:this.returnDependencies?d:null,glyphPositions:this.returnDependencies?t.positions:null})}}P.length?o.send("getImages",{icons:P,source:this.source,tileID:this.tileID,type:"patterns"},(function(e,t){f||(f=e,h=t,B.call(l))})):h={},B.call(this)};var l=function(e,t,r,n){this.actor=e,this.layerIndex=t,this.availableImages=r,this.loadVectorData=n||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(t,r){var n=this,i=t.uid;this.loading||(this.loading={});var a=!!(t&&t.request&&t.request.collectResourceTiming)&&new e.RequestPerformance(t.request),s=this.loading[i]=new o(t);s.abort=this.loadVectorData(t,(function(t,o){if(delete n.loading[i],t||!o)return s.status="done",n.loaded[i]=s,r(t);var l=o.rawData,u={};o.expires&&(u.expires=o.expires),o.cacheControl&&(u.cacheControl=o.cacheControl);var c={};if(a){var f=a.finish();f&&(c.resourceTiming=JSON.parse(JSON.stringify(f)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,n.layerIndex,n.availableImages,n.actor,(function(t,n){if(t||!n)return r(t);r(null,e.extend({rawTileData:l.slice(0)},n,u,c))})),n.loaded=n.loaded||{},n.loaded[i]=s}))},l.prototype.reloadTile=function(e,t){var r=this,n=this.loaded,i=e.uid,o=this;if(n&&n[i]){var a=n[i];a.showCollisionBoxes=e.showCollisionBoxes;var s=function(e,n){var i=a.reloadCallback;i&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,r.availableImages,o.actor,i)),t(e,n)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},l.prototype.abortTile=function(e,t){var r=this.loading,n=e.uid;r&&r[n]&&r[n].abort&&(r[n].abort(),delete r[n]),t()},l.prototype.removeTile=function(e,t){var r=this.loaded,n=e.uid;r&&r[n]&&delete r[n],t()};var u=e.window.ImageBitmap,c=function(){this.loaded={}};function f(e,t){if(0!==e.length){p(e[0],t);for(var r=1;r<e.length;r++)p(e[r],!t)}}function p(e,t){for(var r=0,n=0,i=e.length,o=i-1;n<i;o=n++)r+=(e[n][0]-e[o][0])*(e[o][1]+e[n][1]);r>=0!=!!t&&e.reverse()}c.prototype.loadTile=function(t,r){var n=t.uid,i=t.encoding,o=t.rawImageData,a=u&&o instanceof u?this.getImageData(o):o,s=new e.DEMData(n,a,i);this.loaded=this.loaded||{},this.loaded[n]=s,r(null,s)},c.prototype.getImageData=function(t){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(t.width,t.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=t.width,this.offscreenCanvas.height=t.height,this.offscreenCanvasContext.drawImage(t,0,0,t.width,t.height);var r=this.offscreenCanvasContext.getImageData(-1,-1,t.width+2,t.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:r.width,height:r.height},r.data)},c.prototype.removeTile=function(e){var t=this.loaded,r=e.uid;t&&t[r]&&delete t[r]};var d=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,h=function(t){this._feature=t,this.extent=e.EXTENT,this.type=t.type,this.properties=t.tags,"id"in t&&!isNaN(t.id)&&(this.id=parseInt(t.id,10))};h.prototype.loadGeometry=function(){if(1===this._feature.type){for(var t=[],r=0,n=this._feature.geometry;r<n.length;r+=1){var i=n[r];t.push([new e.Point$1(i[0],i[1])])}return t}for(var o=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var l=[],u=0,c=s[a];u<c.length;u+=1){var f=c[u];l.push(new e.Point$1(f[0],f[1]))}o.push(l)}return o},h.prototype.toGeoJSON=function(e,t,r){return d.call(this,e,t,r)};var v=function(t){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.EXTENT,this.length=t.length,this._features=t};v.prototype.feature=function(e){return new h(this._features[e])};var m=e.vectorTile.VectorTileFeature,g=y;function y(e,t){this.options=t||{},this.features=e,this.length=e.length}function b(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096}y.prototype.feature=function(e){return new b(this.features[e],this.options.extent)},b.prototype.loadGeometry=function(){var t=this.rawGeometry;this.geometry=[];for(var r=0;r<t.length;r++){for(var n=t[r],i=[],o=0;o<n.length;o++)i.push(new e.Point$1(n[o][0],n[o][1]));this.geometry.push(i)}return this.geometry},b.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,r=-1/0,n=1/0,i=-1/0,o=0;o<e.length;o++)for(var a=e[o],s=0;s<a.length;s++){var l=a[s];t=Math.min(t,l.x),r=Math.max(r,l.x),n=Math.min(n,l.y),i=Math.max(i,l.y)}return[t,n,r,i]},b.prototype.toGeoJSON=m.prototype.toGeoJSON;var x=w,A=g;function w(t){var r=new e.pbf;return function(e,t){for(var r in e.layers)t.writeMessage(3,_,e.layers[r])}(t,r),r.finish()}function _(e,t){var r;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var n={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<e.length;r++)n.feature=e.feature(r),t.writeMessage(2,E,n);var i=n.keys;for(r=0;r<i.length;r++)t.writeStringField(3,i[r]);var o=n.values;for(r=0;r<o.length;r++)t.writeMessage(4,O,o[r])}function E(e,t){var r=e.feature;void 0!==r.id&&t.writeVarintField(1,r.id),t.writeMessage(2,k,e),t.writeVarintField(3,r.type),t.writeMessage(4,S,r)}function k(e,t){var r=e.feature,n=e.keys,i=e.values,o=e.keycache,a=e.valuecache;for(var s in r.properties){var l=o[s];void 0===l&&(n.push(s),o[s]=l=n.length-1),t.writeVarint(l);var u=r.properties[s],c=typeof u;"string"!==c&&"boolean"!==c&&"number"!==c&&(u=JSON.stringify(u));var f=c+":"+u,p=a[f];void 0===p&&(i.push(u),a[f]=p=i.length-1),t.writeVarint(p)}}function T(e,t){return(t<<3)+(7&e)}function C(e){return e<<1^e>>31}function S(e,t){for(var r=e.loadGeometry(),n=e.type,i=0,o=0,a=r.length,s=0;s<a;s++){var l=r[s],u=1;1===n&&(u=l.length),t.writeVarint(T(1,u));for(var c=3===n?l.length-1:l.length,f=0;f<c;f++){1===f&&1!==n&&t.writeVarint(T(2,c-1));var p=l[f].x-i,d=l[f].y-o;t.writeVarint(C(p)),t.writeVarint(C(d)),i+=p,o+=d}3===n&&t.writeVarint(T(7,1))}}function O(e,t){var r=typeof e;"string"===r?t.writeStringField(1,e):"boolean"===r?t.writeBooleanField(7,e):"number"===r&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e))}function M(e,t,r,n){P(e,r,n),P(t,2*r,2*n),P(t,2*r+1,2*n+1)}function P(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function B(e,t,r,n){var i=e-r,o=t-n;return i*i+o*o}x.fromVectorTileJs=w,x.fromGeojsonVt=function(e,t){t=t||{};var r={};for(var n in e)r[n]=new g(e[n].features,t),r[n].name=n,r[n].version=t.version,r[n].extent=t.extent;return w({layers:r})},x.GeoJSONWrapper=A;var L=function(e){return e[0]},D=function(e){return e[1]},I=function(e,t,r,n,i){void 0===t&&(t=L),void 0===r&&(r=D),void 0===n&&(n=64),void 0===i&&(i=Float64Array),this.nodeSize=n,this.points=e;for(var o=e.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(e.length),s=this.coords=new i(2*e.length),l=0;l<e.length;l++)a[l]=l,s[2*l]=t(e[l]),s[2*l+1]=r(e[l]);!function e(t,r,n,i,o,a){if(!(o-i<=n)){var s=i+o>>1;!function e(t,r,n,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=n-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);e(t,r,n,Math.max(i,Math.floor(n-l*c/s+f)),Math.min(o,Math.floor(n+(s-l)*c/s+f)),a)}var p=r[2*n+a],d=i,h=o;for(M(t,r,i,n),r[2*o+a]>p&&M(t,r,i,o);d<h;){for(M(t,r,d,h),d++,h--;r[2*d+a]<p;)d++;for(;r[2*h+a]>p;)h--}r[2*i+a]===p?M(t,r,i,h):M(t,r,++h,o),h<=n&&(i=h+1),n<=h&&(o=h-1)}}(t,r,s,i,o,a%2),e(t,r,n,i,s-1,a+1),e(t,r,n,s+1,o,a+1)}}(a,s,n,0,a.length-1,0)};I.prototype.range=function(e,t,r,n){return function(e,t,r,n,i,o,a){for(var s,l,u=[0,e.length-1,0],c=[];u.length;){var f=u.pop(),p=u.pop(),d=u.pop();if(p-d<=a)for(var h=d;h<=p;h++)l=t[2*h+1],(s=t[2*h])>=r&&s<=i&&l>=n&&l<=o&&c.push(e[h]);else{var v=Math.floor((d+p)/2);l=t[2*v+1],(s=t[2*v])>=r&&s<=i&&l>=n&&l<=o&&c.push(e[v]);var m=(f+1)%2;(0===f?r<=s:n<=l)&&(u.push(d),u.push(v-1),u.push(m)),(0===f?i>=s:o>=l)&&(u.push(v+1),u.push(p),u.push(m))}}return c}(this.ids,this.coords,e,t,r,n,this.nodeSize)},I.prototype.within=function(e,t,r){return function(e,t,r,n,i,o){for(var a=[0,e.length-1,0],s=[],l=i*i;a.length;){var u=a.pop(),c=a.pop(),f=a.pop();if(c-f<=o)for(var p=f;p<=c;p++)B(t[2*p],t[2*p+1],r,n)<=l&&s.push(e[p]);else{var d=Math.floor((f+c)/2),h=t[2*d],v=t[2*d+1];B(h,v,r,n)<=l&&s.push(e[d]);var m=(u+1)%2;(0===u?r-i<=h:n-i<=v)&&(a.push(f),a.push(d-1),a.push(m)),(0===u?r+i>=h:n+i>=v)&&(a.push(d+1),a.push(c),a.push(m))}}return s}(this.ids,this.coords,e,t,r,this.nodeSize)};var j={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},R=function(e){this.options=Q(Object.create(j),e),this.trees=new Array(this.options.maxZoom+1)};function F(e,t,r,n,i){return{x:e,y:t,zoom:1/0,id:r,parentId:-1,numPoints:n,properties:i}}function N(e,t){var r=e.geometry.coordinates,n=r[1];return{x:H(r[0]),y:V(n),zoom:1/0,index:t,parentId:-1}}function z(e){return{type:"Feature",id:e.id,properties:U(e),geometry:{type:"Point",coordinates:[(n=e.x,360*(n-.5)),(t=e.y,r=(180-360*t)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var t,r,n}function U(e){var t=e.numPoints,r=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return Q(Q({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:r})}function H(e){return e/360+.5}function V(e){var t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function Q(e,t){for(var r in t)e[r]=t[r];return e}function W(e){return e.x}function K(e){return e.y}function q(e,t,r,n,i,o){var a=i-r,s=o-n;if(0!==a||0!==s){var l=((e-r)*a+(t-n)*s)/(a*a+s*s);l>1?(r=i,n=o):l>0&&(r+=a*l,n+=s*l)}return(a=e-r)*a+(s=t-n)*s}function G(e,t,r,n){var i={id:void 0===e?null:e,type:t,geometry:r,tags:n,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,r=e.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)$(e,t);else if("Polygon"===r||"MultiLineString"===r)for(var n=0;n<t.length;n++)$(e,t[n]);else if("MultiPolygon"===r)for(n=0;n<t.length;n++)for(var i=0;i<t[n].length;i++)$(e,t[n][i])}(i),i}function $(e,t){for(var r=0;r<t.length;r+=3)e.minX=Math.min(e.minX,t[r]),e.minY=Math.min(e.minY,t[r+1]),e.maxX=Math.max(e.maxX,t[r]),e.maxY=Math.max(e.maxY,t[r+1])}function Y(e,t,r,n){if(t.geometry){var i=t.geometry.coordinates,o=t.geometry.type,a=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],l=t.id;if(r.promoteId?l=t.properties[r.promoteId]:r.generateId&&(l=n||0),"Point"===o)X(i,s);else if("MultiPoint"===o)for(var u=0;u<i.length;u++)X(i[u],s);else if("LineString"===o)Z(i,s,a,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(u=0;u<i.length;u++)Z(i[u],s=[],a,!1),e.push(G(l,"LineString",s,t.properties));return}J(i,s,a,!1)}else if("Polygon"===o)J(i,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(u=0;u<t.geometry.geometries.length;u++)Y(e,{id:l,geometry:t.geometry.geometries[u],properties:t.properties},r,n);return}throw new Error("Input data is not a valid GeoJSON object.")}for(u=0;u<i.length;u++){var c=[];J(i[u],c,a,!0),s.push(c)}}e.push(G(l,o,s,t.properties))}}function X(e,t){t.push(ee(e[0])),t.push(te(e[1])),t.push(0)}function Z(e,t,r,n){for(var i,o,a=0,s=0;s<e.length;s++){var l=ee(e[s][0]),u=te(e[s][1]);t.push(l),t.push(u),t.push(0),s>0&&(a+=n?(i*u-l*o)/2:Math.sqrt(Math.pow(l-i,2)+Math.pow(u-o,2))),i=l,o=u}var c=t.length-3;t[2]=1,function e(t,r,n,i){for(var o,a=i,s=n-r>>1,l=n-r,u=t[r],c=t[r+1],f=t[n],p=t[n+1],d=r+3;d<n;d+=3){var h=q(t[d],t[d+1],u,c,f,p);if(h>a)o=d,a=h;else if(h===a){var v=Math.abs(d-s);v<l&&(o=d,l=v)}}a>i&&(o-r>3&&e(t,r,o,i),t[o+2]=a,n-o>3&&e(t,o,n,i))}(t,0,c,r),t[c+2]=1,t.size=Math.abs(a),t.start=0,t.end=t.size}function J(e,t,r,n){for(var i=0;i<e.length;i++){var o=[];Z(e[i],o,r,n),t.push(o)}}function ee(e){return e/360+.5}function te(e){var t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function re(e,t,r,n,i,o,a,s){if(n/=t,o>=(r/=t)&&a<n)return e;if(a<r||o>=n)return null;for(var l=[],u=0;u<e.length;u++){var c=e[u],f=c.geometry,p=c.type,d=0===i?c.minX:c.minY,h=0===i?c.maxX:c.maxY;if(d>=r&&h<n)l.push(c);else if(!(h<r||d>=n)){var v=[];if("Point"===p||"MultiPoint"===p)ne(f,v,r,n,i);else if("LineString"===p)ie(f,v,r,n,i,!1,s.lineMetrics);else if("MultiLineString"===p)ae(f,v,r,n,i,!1);else if("Polygon"===p)ae(f,v,r,n,i,!0);else if("MultiPolygon"===p)for(var m=0;m<f.length;m++){var g=[];ae(f[m],g,r,n,i,!0),g.length&&v.push(g)}if(v.length){if(s.lineMetrics&&"LineString"===p){for(m=0;m<v.length;m++)l.push(G(c.id,p,v[m],c.tags));continue}"LineString"!==p&&"MultiLineString"!==p||(1===v.length?(p="LineString",v=v[0]):p="MultiLineString"),"Point"!==p&&"MultiPoint"!==p||(p=3===v.length?"Point":"MultiPoint"),l.push(G(c.id,p,v,c.tags))}}}return l.length?l:null}function ne(e,t,r,n,i){for(var o=0;o<e.length;o+=3){var a=e[o+i];a>=r&&a<=n&&(t.push(e[o]),t.push(e[o+1]),t.push(e[o+2]))}}function ie(e,t,r,n,i,o,a){for(var s,l,u=oe(e),c=0===i?le:ue,f=e.start,p=0;p<e.length-3;p+=3){var d=e[p],h=e[p+1],v=e[p+2],m=e[p+3],g=e[p+4],y=0===i?d:h,b=0===i?m:g,x=!1;a&&(s=Math.sqrt(Math.pow(d-m,2)+Math.pow(h-g,2))),y<r?b>r&&(l=c(u,d,h,m,g,r),a&&(u.start=f+s*l)):y>n?b<n&&(l=c(u,d,h,m,g,n),a&&(u.start=f+s*l)):se(u,d,h,v),b<r&&y>=r&&(l=c(u,d,h,m,g,r),x=!0),b>n&&y<=n&&(l=c(u,d,h,m,g,n),x=!0),!o&&x&&(a&&(u.end=f+s*l),t.push(u),u=oe(e)),a&&(f+=s)}var A=e.length-3;d=e[A],h=e[A+1],v=e[A+2],(y=0===i?d:h)>=r&&y<=n&&se(u,d,h,v),A=u.length-3,o&&A>=3&&(u[A]!==u[0]||u[A+1]!==u[1])&&se(u,u[0],u[1],u[2]),u.length&&t.push(u)}function oe(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function ae(e,t,r,n,i,o){for(var a=0;a<e.length;a++)ie(e[a],t,r,n,i,o,!1)}function se(e,t,r,n){e.push(t),e.push(r),e.push(n)}function le(e,t,r,n,i,o){var a=(o-t)/(n-t);return e.push(o),e.push(r+(i-r)*a),e.push(1),a}function ue(e,t,r,n,i,o){var a=(o-r)/(i-r);return e.push(t+(n-t)*a),e.push(o),e.push(1),a}function ce(e,t){for(var r=[],n=0;n<e.length;n++){var i,o=e[n],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)i=fe(o.geometry,t);else if("MultiLineString"===a||"Polygon"===a){i=[];for(var s=0;s<o.geometry.length;s++)i.push(fe(o.geometry[s],t))}else if("MultiPolygon"===a)for(i=[],s=0;s<o.geometry.length;s++){for(var l=[],u=0;u<o.geometry[s].length;u++)l.push(fe(o.geometry[s][u],t));i.push(l)}r.push(G(o.id,a,i,o.tags))}return r}function fe(e,t){var r=[];r.size=e.size,void 0!==e.start&&(r.start=e.start,r.end=e.end);for(var n=0;n<e.length;n+=3)r.push(e[n]+t,e[n+1],e[n+2]);return r}function pe(e,t){if(e.transformed)return e;var r,n,i,o=1<<e.z,a=e.x,s=e.y;for(r=0;r<e.features.length;r++){var l=e.features[r],u=l.geometry,c=l.type;if(l.geometry=[],1===c)for(n=0;n<u.length;n+=2)l.geometry.push(de(u[n],u[n+1],t,o,a,s));else for(n=0;n<u.length;n++){var f=[];for(i=0;i<u[n].length;i+=2)f.push(de(u[n][i],u[n][i+1],t,o,a,s));l.geometry.push(f)}}return e.transformed=!0,e}function de(e,t,r,n,i,o){return[Math.round(r*(e*n-i)),Math.round(r*(t*n-o))]}function he(e,t,r,n,i){for(var o=t===i.maxZoom?0:i.tolerance/((1<<t)*i.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:n,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<e.length;s++){a.numFeatures++,ve(a,e[s],o,i);var l=e[s].minX,u=e[s].minY,c=e[s].maxX,f=e[s].maxY;l<a.minX&&(a.minX=l),u<a.minY&&(a.minY=u),c>a.maxX&&(a.maxX=c),f>a.maxY&&(a.maxY=f)}return a}function ve(e,t,r,n){var i=t.geometry,o=t.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<i.length;s+=3)a.push(i[s]),a.push(i[s+1]),e.numPoints++,e.numSimplified++;else if("LineString"===o)me(a,i,e,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<i.length;s++)me(a,i[s],e,r,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<i.length;l++){var u=i[l];for(s=0;s<u.length;s++)me(a,u[s],e,r,!0,0===s)}if(a.length){var c=t.tags||null;if("LineString"===o&&n.lineMetrics){for(var f in c={},t.tags)c[f]=t.tags[f];c.mapbox_clip_start=i.start/i.size,c.mapbox_clip_end=i.end/i.size}var p={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:c};null!==t.id&&(p.id=t.id),e.features.push(p)}}function me(e,t,r,n,i,o){var a=n*n;if(n>0&&t.size<(i?a:n))r.numPoints+=t.length/3;else{for(var s=[],l=0;l<t.length;l+=3)(0===n||t[l+2]>a)&&(r.numSimplified++,s.push(t[l]),s.push(t[l+1])),r.numPoints++;i&&function(e,t){for(var r=0,n=0,i=e.length,o=i-2;n<i;o=n,n+=2)r+=(e[n]-e[o])*(e[n+1]+e[o+1]);if(r>0===t)for(n=0,i=e.length;n<i/2;n+=2){var a=e[n],s=e[n+1];e[n]=e[i-2-n],e[n+1]=e[i-1-n],e[i-2-n]=a,e[i-1-n]=s}}(s,o),e.push(s)}}function ge(e,t){var r=(t=this.options=function(e,t){for(var r in t)e[r]=t[r];return e}(Object.create(this.options),t)).debug;if(r&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var n=function(e,t){var r=[];if("FeatureCollection"===e.type)for(var n=0;n<e.features.length;n++)Y(r,e.features[n],t,n);else Y(r,"Feature"===e.type?e:{geometry:e},t);return r}(e,t);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(n=function(e,t){var r=t.buffer/t.extent,n=e,i=re(e,1,-1-r,r,0,-1,2,t),o=re(e,1,1-r,2+r,0,-1,2,t);return(i||o)&&(n=re(e,1,-r,1+r,0,-1,2,t)||[],i&&(n=ce(i,1).concat(n)),o&&(n=n.concat(ce(o,-1)))),n}(n,t)).length&&this.splitTile(n,0,0,0),r&&(n.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function ye(e,t,r){return 32*((1<<e)*r+t)+e}function be(e,t){var r=e.tileID.canonical;if(!this._geoJSONIndex)return t(null,null);var n=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!n)return t(null,null);var i=new v(n.features),o=x(i);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),t(null,{vectorTile:i,rawData:o.buffer})}R.prototype.load=function(e){var t=this.options,r=t.log,n=t.minZoom,i=t.maxZoom,o=t.nodeSize;r&&console.time("total time");var a="prepare "+e.length+" points";r&&console.time(a),this.points=e;for(var s=[],l=0;l<e.length;l++)e[l].geometry&&s.push(N(e[l],l));this.trees[i+1]=new I(s,W,K,o,Float32Array),r&&console.timeEnd(a);for(var u=i;u>=n;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new I(s,W,K,o,Float32Array),r&&console.log("z%d: %d clusters in %dms",u,s.length,+Date.now()-c)}return r&&console.timeEnd("total time"),this},R.prototype.getClusters=function(e,t){var r=((e[0]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,i=180;else if(r>i){var a=this.getClusters([r,n,180,o],t),s=this.getClusters([-180,n,i,o],t);return a.concat(s)}for(var l=this.trees[this._limitZoom(t)],u=[],c=0,f=l.range(H(r),V(o),H(i),V(n));c<f.length;c+=1){var p=l.points[f[c]];u.push(p.numPoints?z(p):this.points[p.index])}return u},R.prototype.getChildren=function(e){var t=this._getOriginId(e),r=this._getOriginZoom(e),n="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(n);var o=i.points[t];if(!o)throw new Error(n);for(var a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=[],l=0,u=i.within(o.x,o.y,a);l<u.length;l+=1){var c=i.points[u[l]];c.parentId===e&&s.push(c.numPoints?z(c):this.points[c.index])}if(0===s.length)throw new Error(n);return s},R.prototype.getLeaves=function(e,t,r){var n=[];return this._appendLeaves(n,e,t=t||10,r=r||0,0),n},R.prototype.getTile=function(e,t,r){var n=this.trees[this._limitZoom(e)],i=Math.pow(2,e),o=this.options,a=o.radius/o.extent,s=(r-a)/i,l=(r+1+a)/i,u={features:[]};return this._addTileFeatures(n.range((t-a)/i,s,(t+1+a)/i,l),n.points,t,r,i,u),0===t&&this._addTileFeatures(n.range(1-a/i,s,1,l),n.points,i,r,i,u),t===i-1&&this._addTileFeatures(n.range(0,s,a/i,l),n.points,-1,r,i,u),u.features.length?u:null},R.prototype.getClusterExpansionZoom=function(e){for(var t=this._getOriginZoom(e)-1;t<=this.options.maxZoom;){var r=this.getChildren(e);if(t++,1!==r.length)break;e=r[0].properties.cluster_id}return t},R.prototype._appendLeaves=function(e,t,r,n,i){for(var o=0,a=this.getChildren(t);o<a.length;o+=1){var s=a[o],l=s.properties;if(l&&l.cluster?i+l.point_count<=n?i+=l.point_count:i=this._appendLeaves(e,l.cluster_id,r,n,i):i<n?i++:e.push(s),e.length===r)break}return i},R.prototype._addTileFeatures=function(e,t,r,n,i,o){for(var a=0,s=e;a<s.length;a+=1){var l=t[s[a]],u=l.numPoints,c={type:1,geometry:[[Math.round(this.options.extent*(l.x*i-r)),Math.round(this.options.extent*(l.y*i-n))]],tags:u?U(l):this.points[l.index].properties},f=void 0;u?f=l.id:this.options.generateId?f=l.index:this.points[l.index].id&&(f=this.points[l.index].id),void 0!==f&&(c.id=f),o.features.push(c)}},R.prototype._limitZoom=function(e){return Math.max(this.options.minZoom,Math.min(e,this.options.maxZoom+1))},R.prototype._cluster=function(e,t){for(var r=[],n=this.options,i=n.reduce,o=n.radius/(n.extent*Math.pow(2,t)),a=0;a<e.length;a++){var s=e[a];if(!(s.zoom<=t)){s.zoom=t;for(var l=this.trees[t+1],u=l.within(s.x,s.y,o),c=s.numPoints||1,f=s.x*c,p=s.y*c,d=i&&c>1?this._map(s,!0):null,h=(a<<5)+(t+1)+this.points.length,v=0,m=u;v<m.length;v+=1){var g=l.points[m[v]];if(!(g.zoom<=t)){g.zoom=t;var y=g.numPoints||1;f+=g.x*y,p+=g.y*y,c+=y,g.parentId=h,i&&(d||(d=this._map(s,!0)),i(d,this._map(g)))}}1===c?r.push(s):(s.parentId=h,r.push(F(f/c,p/c,h,c,d)))}}return r},R.prototype._getOriginId=function(e){return e-this.points.length>>5},R.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},R.prototype._map=function(e,t){if(e.numPoints)return t?Q({},e.properties):e.properties;var r=this.points[e.index].properties,n=this.options.map(r);return t&&n===r?Q({},n):n},ge.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},ge.prototype.splitTile=function(e,t,r,n,i,o,a){for(var s=[e,t,r,n],l=this.options,u=l.debug;s.length;){n=s.pop(),r=s.pop(),t=s.pop(),e=s.pop();var c=1<<t,f=ye(t,r,n),p=this.tiles[f];if(!p&&(u>1&&console.time("creation"),p=this.tiles[f]=he(e,t,r,n,l),this.tileCoords.push({z:t,x:r,y:n}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,r,n,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));var d="z"+t;this.stats[d]=(this.stats[d]||0)+1,this.total++}if(p.source=e,i){if(t===l.maxZoom||t===i)continue;var h=1<<i-t;if(r!==Math.floor(o/h)||n!==Math.floor(a/h))continue}else if(t===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue;if(p.source=null,0!==e.length){u>1&&console.time("clipping");var v,m,g,y,b,x,A=.5*l.buffer/l.extent,w=.5-A,_=.5+A,E=1+A;v=m=g=y=null,b=re(e,c,r-A,r+_,0,p.minX,p.maxX,l),x=re(e,c,r+w,r+E,0,p.minX,p.maxX,l),e=null,b&&(v=re(b,c,n-A,n+_,1,p.minY,p.maxY,l),m=re(b,c,n+w,n+E,1,p.minY,p.maxY,l),b=null),x&&(g=re(x,c,n-A,n+_,1,p.minY,p.maxY,l),y=re(x,c,n+w,n+E,1,p.minY,p.maxY,l),x=null),u>1&&console.timeEnd("clipping"),s.push(v||[],t+1,2*r,2*n),s.push(m||[],t+1,2*r,2*n+1),s.push(g||[],t+1,2*r+1,2*n),s.push(y||[],t+1,2*r+1,2*n+1)}}},ge.prototype.getTile=function(e,t,r){var n=this.options,i=n.extent,o=n.debug;if(e<0||e>24)return null;var a=1<<e,s=ye(e,t=(t%a+a)%a,r);if(this.tiles[s])return pe(this.tiles[s],i);o>1&&console.log("drilling down to z%d-%d-%d",e,t,r);for(var l,u=e,c=t,f=r;!l&&u>0;)u--,c=Math.floor(c/2),f=Math.floor(f/2),l=this.tiles[ye(u,c,f)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",u,c,f),o>1&&console.time("drilling down"),this.splitTile(l.source,u,c,f,e,t,r),o>1&&console.timeEnd("drilling down"),this.tiles[s]?pe(this.tiles[s],i):null):null};var xe=function(t){function r(e,r,n,i){t.call(this,e,r,n,be),i&&(this.loadGeoJSON=i)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.loadData=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=t,this._pendingLoadDataParams=e,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},r.prototype._loadData=function(){var t=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,n=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var i=!!(n&&n.request&&n.request.collectResourceTiming)&&new e.RequestPerformance(n.request);this.loadGeoJSON(n,(function(o,a){if(o||!a)return r(o);if("object"!=typeof a)return r(new Error("Input data given to '"+n.source+"' is not a valid GeoJSON object."));!function e(t,r){var n,i=t&&t.type;if("FeatureCollection"===i)for(n=0;n<t.features.length;n++)e(t.features[n],r);else if("GeometryCollection"===i)for(n=0;n<t.geometries.length;n++)e(t.geometries[n],r);else if("Feature"===i)e(t.geometry,r);else if("Polygon"===i)f(t.coordinates,r);else if("MultiPolygon"===i)for(n=0;n<t.coordinates.length;n++)f(t.coordinates[n],r);return t}(a,!0);try{t._geoJSONIndex=n.cluster?new R(function(t){var r=t.superclusterOptions,n=t.clusterProperties;if(!n||!r)return r;for(var i={},o={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(n),u=0,c=l;u<c.length;u+=1){var f=c[u],p=n[f],d=p[0],h=e.createExpression(p[1]),v=e.createExpression("string"==typeof d?[d,["accumulated"],["get",f]]:d);i[f]=h.value,o[f]=v.value}return r.map=function(e){s.properties=e;for(var t={},r=0,n=l;r<n.length;r+=1){var o=n[r];t[o]=i[o].evaluate(a,s)}return t},r.reduce=function(e,t){s.properties=t;for(var r=0,n=l;r<n.length;r+=1){var i=n[r];a.accumulated=e[i],e[i]=o[i].evaluate(a,s)}},r}(n)).load(a.features):function(e,t){return new ge(e,t)}(a,n.geojsonVtOptions)}catch(o){return r(o)}t.loaded={};var s={};if(i){var l=i.finish();l&&(s.resourceTiming={},s.resourceTiming[n.source]=JSON.parse(JSON.stringify(l)))}r(null,s)}))}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},r.prototype.reloadTile=function(e,r){var n=this.loaded;return n&&n[e.uid]?t.prototype.reloadTile.call(this,e,r):this.loadTile(e,r)},r.prototype.loadGeoJSON=function(t,r){if(t.request)e.getJSON(t.request,r);else{if("string"!=typeof t.data)return r(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."));try{return r(null,JSON.parse(t.data))}catch(e){return r(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),t()},r.prototype.getClusterExpansionZoom=function(e,t){try{t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId))}catch(e){t(e)}},r.prototype.getClusterChildren=function(e,t){try{t(null,this._geoJSONIndex.getChildren(e.clusterId))}catch(e){t(e)}},r.prototype.getClusterLeaves=function(e,t){try{t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset))}catch(e){t(e)}},r}(l),Ae=function(t){var r=this;this.self=t,this.actor=new e.Actor(t,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:l,geojson:xe},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(e,t){if(r.workerSourceTypes[e])throw new Error('Worker source with name "'+e+'" already registered.');r.workerSourceTypes[e]=t},this.self.registerRTLTextPlugin=function(t){if(e.plugin.isParsed())throw new Error("RTL text plugin already registered.");e.plugin.applyArabicShaping=t.applyArabicShaping,e.plugin.processBidirectionalText=t.processBidirectionalText,e.plugin.processStyledBidirectionalText=t.processStyledBidirectionalText}};return Ae.prototype.setReferrer=function(e,t){this.referrer=t},Ae.prototype.setImages=function(e,t,r){for(var n in this.availableImages[e]=t,this.workerSources[e]){var i=this.workerSources[e][n];for(var o in i)i[o].availableImages=t}r()},Ae.prototype.setLayers=function(e,t,r){this.getLayerIndex(e).replace(t),r()},Ae.prototype.updateLayers=function(e,t,r){this.getLayerIndex(e).update(t.layers,t.removedIds),r()},Ae.prototype.loadTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).loadTile(t,r)},Ae.prototype.loadDEMTile=function(e,t,r){this.getDEMWorkerSource(e,t.source).loadTile(t,r)},Ae.prototype.reloadTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).reloadTile(t,r)},Ae.prototype.abortTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).abortTile(t,r)},Ae.prototype.removeTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).removeTile(t,r)},Ae.prototype.removeDEMTile=function(e,t){this.getDEMWorkerSource(e,t.source).removeTile(t)},Ae.prototype.removeSource=function(e,t,r){if(this.workerSources[e]&&this.workerSources[e][t.type]&&this.workerSources[e][t.type][t.source]){var n=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==n.removeSource?n.removeSource(t,r):r()}},Ae.prototype.loadWorkerSource=function(e,t,r){try{this.self.importScripts(t.url),r()}catch(e){r(e.toString())}},Ae.prototype.syncRTLPluginState=function(t,r,n){try{e.plugin.setState(r);var i=e.plugin.getPluginURL();if(e.plugin.isLoaded()&&!e.plugin.isParsed()&&null!=i){this.self.importScripts(i);var o=e.plugin.isParsed();n(o?void 0:new Error("RTL Text Plugin failed to import scripts from "+i),o)}}catch(e){n(e.toString())}},Ae.prototype.getAvailableImages=function(e){var t=this.availableImages[e];return t||(t=[]),t},Ae.prototype.getLayerIndex=function(e){var t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new n),t},Ae.prototype.getWorkerSource=function(e,t,r){var n=this;return this.workerSources[e]||(this.workerSources[e]={}),this.workerSources[e][t]||(this.workerSources[e][t]={}),this.workerSources[e][t][r]||(this.workerSources[e][t][r]=new this.workerSourceTypes[t]({send:function(t,r,i){n.actor.send(t,r,i,e)}},this.getLayerIndex(e),this.getAvailableImages(e))),this.workerSources[e][t][r]},Ae.prototype.getDEMWorkerSource=function(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new c),this.demWorkerSources[e][t]},Ae.prototype.enforceCacheSizeLimit=function(t,r){e.enforceCacheSizeLimit(r)},"undefined"!=typeof WorkerGlobalScope&&void 0!==e.window&&e.window instanceof WorkerGlobalScope&&(e.window.worker=new Ae(e.window)),Ae})),n(["./shared"],(function(e){var t=e.createCommonjsModule((function(e){function t(e){return!r(e)}function r(e){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var e,t,r=new Blob([""],{type:"text/javascript"}),n=URL.createObjectURL(r);try{t=new Worker(n),e=!0}catch(t){e=!1}return t&&t.terminate(),URL.revokeObjectURL(n),e}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var e=document.createElement("canvas");e.width=e.height=1;var t=e.getContext("2d");if(!t)return!1;var r=t.getImageData(0,0,1,1);return r&&r.width===e.width}()?(void 0===n[r=e&&e.failIfMajorPerformanceCaveat]&&(n[r]=function(e){var r=function(e){var r=document.createElement("canvas"),n=Object.create(t.webGLContextAttributes);return n.failIfMajorPerformanceCaveat=e,r.probablySupportsContext?r.probablySupportsContext("webgl",n)||r.probablySupportsContext("experimental-webgl",n):r.supportsContext?r.supportsContext("webgl",n)||r.supportsContext("experimental-webgl",n):r.getContext("webgl",n)||r.getContext("experimental-webgl",n)}(e);if(!r)return!1;var n=r.createShader(r.VERTEX_SHADER);return!(!n||r.isContextLost())&&(r.shaderSource(n,"void main() {}"),r.compileShader(n),!0===r.getShaderParameter(n,r.COMPILE_STATUS))}(r)),n[r]?void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var r}e.exports?e.exports=t:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=t,window.mapboxgl.notSupportedReason=r);var n={};t.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),r={create:function(t,r,n){var i=e.window.document.createElement(t);return void 0!==r&&(i.className=r),n&&n.appendChild(i),i},createNS:function(t,r){return e.window.document.createElementNS(t,r)}},n=e.window.document.documentElement.style;function i(e){if(!n)return e[0];for(var t=0;t<e.length;t++)if(e[t]in n)return e[t];return e[0]}var o,a=i(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);r.disableDrag=function(){n&&a&&(o=n[a],n[a]="none")},r.enableDrag=function(){n&&a&&(n[a]=o)};var s=i(["transform","WebkitTransform"]);r.setTransform=function(e,t){e.style[s]=t};var l=!1;try{var u=Object.defineProperty({},"passive",{get:function(){l=!0}});e.window.addEventListener("test",u,u),e.window.removeEventListener("test",u,u)}catch(e){l=!1}r.addEventListener=function(e,t,r,n){void 0===n&&(n={}),e.addEventListener(t,r,"passive"in n&&l?n:n.capture)},r.removeEventListener=function(e,t,r,n){void 0===n&&(n={}),e.removeEventListener(t,r,"passive"in n&&l?n:n.capture)};var c=function(t){t.preventDefault(),t.stopPropagation(),e.window.removeEventListener("click",c,!0)};function f(e){var t=e.userImage;return!!(t&&t.render&&t.render())&&(e.data.replace(new Uint8Array(t.data.buffer)),!0)}r.suppressClick=function(){e.window.addEventListener("click",c,!0),e.window.setTimeout((function(){e.window.removeEventListener("click",c,!0)}),0)},r.mousePos=function(t,r){var n=t.getBoundingClientRect();return new e.Point(r.clientX-n.left-t.clientLeft,r.clientY-n.top-t.clientTop)},r.touchPos=function(t,r){for(var n=t.getBoundingClientRect(),i=[],o=0;o<r.length;o++)i.push(new e.Point(r[o].clientX-n.left-t.clientLeft,r[o].clientY-n.top-t.clientTop));return i},r.mouseButton=function(t){return void 0!==e.window.InstallTrigger&&2===t.button&&t.ctrlKey&&e.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:t.button},r.remove=function(e){e.parentNode&&e.parentNode.removeChild(e)};var p=function(t){function r(){t.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.isLoaded=function(){return this.loaded},r.prototype.setLoaded=function(e){if(this.loaded!==e&&(this.loaded=e,e)){for(var t=0,r=this.requestors;t<r.length;t+=1){var n=r[t];this._notify(n.ids,n.callback)}this.requestors=[]}},r.prototype.getImage=function(e){return this.images[e]},r.prototype.addImage=function(e,t){this._validate(e,t)&&(this.images[e]=t)},r.prototype._validate=function(t,r){var n=!0;return this._validateStretch(r.stretchX,r.data&&r.data.width)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "stretchX" value'))),n=!1),this._validateStretch(r.stretchY,r.data&&r.data.height)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "stretchY" value'))),n=!1),this._validateContent(r.content,r)||(this.fire(new e.ErrorEvent(new Error('Image "'+t+'" has invalid "content" value'))),n=!1),n},r.prototype._validateStretch=function(e,t){if(!e)return!0;for(var r=0,n=0,i=e;n<i.length;n+=1){var o=i[n];if(o[0]<r||o[1]<o[0]||t<o[1])return!1;r=o[1]}return!0},r.prototype._validateContent=function(e,t){return!(e&&(4!==e.length||e[0]<0||t.data.width<e[0]||e[1]<0||t.data.height<e[1]||e[2]<0||t.data.width<e[2]||e[3]<0||t.data.height<e[3]||e[2]<e[0]||e[3]<e[1]))},r.prototype.updateImage=function(e,t){t.version=this.images[e].version+1,this.images[e]=t,this.updatedImages[e]=!0},r.prototype.removeImage=function(e){var t=this.images[e];delete this.images[e],delete this.patterns[e],t.userImage&&t.userImage.onRemove&&t.userImage.onRemove()},r.prototype.listImages=function(){return Object.keys(this.images)},r.prototype.getImages=function(e,t){var r=!0;if(!this.isLoaded())for(var n=0,i=e;n<i.length;n+=1)this.images[i[n]]||(r=!1);this.isLoaded()||r?this._notify(e,t):this.requestors.push({ids:e,callback:t})},r.prototype._notify=function(t,r){for(var n={},i=0,o=t;i<o.length;i+=1){var a=o[i];this.images[a]||this.fire(new e.Event("styleimagemissing",{id:a}));var s=this.images[a];s?n[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:e.warnOnce('Image "'+a+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}r(null,n)},r.prototype.getPixelSize=function(){var e=this.atlasImage;return{width:e.width,height:e.height}},r.prototype.getPattern=function(t){var r=this.patterns[t],n=this.getImage(t);if(!n)return null;if(r&&r.position.version===n.version)return r.position;if(r)r.position.version=n.version;else{var i={w:n.data.width+2,h:n.data.height+2,x:0,y:0},o=new e.ImagePosition(i,n);this.patterns[t]={bin:i,position:o}}return this._updatePatternAtlas(),this.patterns[t].position},r.prototype.bind=function(t){var r=t.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new e.Texture(t,this.atlasImage,r.RGBA),this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)},r.prototype._updatePatternAtlas=function(){var t=[];for(var r in this.patterns)t.push(this.patterns[r].bin);var n=e.potpack(t),i=n.w,o=n.h,a=this.atlasImage;for(var s in a.resize({width:i||1,height:o||1}),this.patterns){var l=this.patterns[s].bin,u=l.x+1,c=l.y+1,f=this.images[s].data,p=f.width,d=f.height;e.RGBAImage.copy(f,a,{x:0,y:0},{x:u,y:c},{width:p,height:d}),e.RGBAImage.copy(f,a,{x:0,y:d-1},{x:u,y:c-1},{width:p,height:1}),e.RGBAImage.copy(f,a,{x:0,y:0},{x:u,y:c+d},{width:p,height:1}),e.RGBAImage.copy(f,a,{x:p-1,y:0},{x:u-1,y:c},{width:1,height:d}),e.RGBAImage.copy(f,a,{x:0,y:0},{x:u+p,y:c},{width:1,height:d})}this.dirty=!0},r.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},r.prototype.dispatchRenderCallbacks=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(!this.callbackDispatchedThisFrame[n]){this.callbackDispatchedThisFrame[n]=!0;var i=this.images[n];f(i)&&this.updateImage(n,i)}}},r}(e.Evented),d=m,h=m,v=1e20;function m(e,t,r,n,i,o){this.fontSize=e||24,this.buffer=void 0===t?3:t,this.cutoff=n||.25,this.fontFamily=i||"sans-serif",this.fontWeight=o||"normal",this.radius=r||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function g(e,t,r,n,i,o,a){for(var s=0;s<t;s++){for(var l=0;l<r;l++)n[l]=e[l*t+s];for(y(n,i,o,a,r),l=0;l<r;l++)e[l*t+s]=i[l]}for(l=0;l<r;l++){for(s=0;s<t;s++)n[s]=e[l*t+s];for(y(n,i,o,a,t),s=0;s<t;s++)e[l*t+s]=Math.sqrt(i[s])}}function y(e,t,r,n,i){r[0]=0,n[0]=-v,n[1]=+v;for(var o=1,a=0;o<i;o++){for(var s=(e[o]+o*o-(e[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);s<=n[a];)a--,s=(e[o]+o*o-(e[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);r[++a]=o,n[a]=s,n[a+1]=+v}for(o=0,a=0;o<i;o++){for(;n[a+1]<o;)a++;t[o]=(o-r[a])*(o-r[a])+e[r[a]]}}m.prototype.draw=function(e){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(e,this.buffer,this.middle);for(var t=this.ctx.getImageData(0,0,this.size,this.size),r=new Uint8ClampedArray(this.size*this.size),n=0;n<this.size*this.size;n++){var i=t.data[4*n+3]/255;this.gridOuter[n]=1===i?0:0===i?v:Math.pow(Math.max(0,.5-i),2),this.gridInner[n]=1===i?v:0===i?0:Math.pow(Math.max(0,i-.5),2)}for(g(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),g(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),n=0;n<this.size*this.size;n++)r[n]=Math.max(0,Math.min(255,Math.round(255-255*((this.gridOuter[n]-this.gridInner[n])/this.radius+this.cutoff))));return r},d.default=h;var b=function(e,t){this.requestManager=e,this.localIdeographFontFamily=t,this.entries={}};b.prototype.setURL=function(e){this.url=e},b.prototype.getGlyphs=function(t,r){var n=this,i=[];for(var o in t)for(var a=0,s=t[o];a<s.length;a+=1)i.push({stack:o,id:s[a]});e.asyncAll(i,(function(e,t){var r=e.stack,i=e.id,o=n.entries[r];o||(o=n.entries[r]={glyphs:{},requests:{},ranges:{}});var a=o.glyphs[i];if(void 0===a){if(a=n._tinySDF(o,r,i))return o.glyphs[i]=a,void t(null,{stack:r,id:i,glyph:a});var s=Math.floor(i/256);if(256*s>65535)t(new Error("glyphs > 65535 not supported"));else if(o.ranges[s])t(null,{stack:r,id:i,glyph:a});else{var l=o.requests[s];l||(l=o.requests[s]=[],b.loadGlyphRange(r,s,n.url,n.requestManager,(function(e,t){if(t){for(var r in t)n._doesCharSupportLocalGlyph(+r)||(o.glyphs[+r]=t[+r]);o.ranges[s]=!0}for(var i=0,a=l;i<a.length;i+=1)(0,a[i])(e,t);delete o.requests[s]}))),l.push((function(e,n){e?t(e):n&&t(null,{stack:r,id:i,glyph:n[i]||null})}))}}else t(null,{stack:r,id:i,glyph:a})}),(function(e,t){if(e)r(e);else if(t){for(var n={},i=0,o=t;i<o.length;i+=1){var a=o[i],s=a.stack,l=a.id,u=a.glyph;(n[s]||(n[s]={}))[l]=u&&{id:u.id,bitmap:u.bitmap.clone(),metrics:u.metrics}}r(null,n)}}))},b.prototype._doesCharSupportLocalGlyph=function(t){return!!this.localIdeographFontFamily&&(e.isChar["CJK Unified Ideographs"](t)||e.isChar["Hangul Syllables"](t)||e.isChar.Hiragana(t)||e.isChar.Katakana(t))},b.prototype._tinySDF=function(t,r,n){var i=this.localIdeographFontFamily;if(i&&this._doesCharSupportLocalGlyph(n)){var o=t.tinySDF;if(!o){var a="400";/bold/i.test(r)?a="900":/medium/i.test(r)?a="500":/light/i.test(r)&&(a="200"),o=t.tinySDF=new b.TinySDF(24,3,8,.25,i,a)}return{id:n,bitmap:new e.AlphaImage({width:30,height:30},o.draw(String.fromCharCode(n))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},b.loadGlyphRange=function(t,r,n,i,o){var a=256*r,s=a+255,l=i.transformRequest(i.normalizeGlyphsURL(n).replace("{fontstack}",t).replace("{range}",a+"-"+s),e.ResourceType.Glyphs);e.getArrayBuffer(l,(function(t,r){if(t)o(t);else if(r){for(var n={},i=0,a=e.parseGlyphPBF(r);i<a.length;i+=1){var s=a[i];n[s.id]=s}o(null,n)}}))},b.TinySDF=d;var x=function(){this.specification=e.styleSpec.light.position};x.prototype.possiblyEvaluate=function(t,r){return e.sphericalToCartesian(t.expression.evaluate(r))},x.prototype.interpolate=function(t,r,n){return{x:e.number(t.x,r.x,n),y:e.number(t.y,r.y,n),z:e.number(t.z,r.z,n)}};var A=new e.Properties({anchor:new e.DataConstantProperty(e.styleSpec.light.anchor),position:new x,color:new e.DataConstantProperty(e.styleSpec.light.color),intensity:new e.DataConstantProperty(e.styleSpec.light.intensity)}),w=function(t){function r(r){t.call(this),this._transitionable=new e.Transitionable(A),this.setLight(r),this._transitioning=this._transitionable.untransitioned()}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.getLight=function(){return this._transitionable.serialize()},r.prototype.setLight=function(t,r){if(void 0===r&&(r={}),!this._validate(e.validateLight,t,r))for(var n in t){var i=t[n];e.endsWith(n,"-transition")?this._transitionable.setTransition(n.slice(0,-"-transition".length),i):this._transitionable.setValue(n,i)}},r.prototype.updateTransitions=function(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)},r.prototype.hasTransition=function(){return this._transitioning.hasTransition()},r.prototype.recalculate=function(e){this.properties=this._transitioning.possiblyEvaluate(e)},r.prototype._validate=function(t,r,n){return(!n||!1!==n.validate)&&e.emitValidationErrors(this,t.call(e.validateStyle,e.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:e.styleSpec})))},r}(e.Evented),_=function(e,t){this.width=e,this.height=t,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};_.prototype.getDash=function(e,t){var r=e.join(",")+String(t);return this.dashEntry[r]||(this.dashEntry[r]=this.addDash(e,t)),this.dashEntry[r]},_.prototype.getDashRanges=function(e,t,r){var n=[],i=e.length%2==1?-e[e.length-1]*r:0,o=e[0]*r,a=!0;n.push({left:i,right:o,isDash:a,zeroLength:0===e[0]});for(var s=e[0],l=1;l<e.length;l++){var u=e[l];n.push({left:i=s*r,right:o=(s+=u)*r,isDash:a=!a,zeroLength:0===u})}return n},_.prototype.addRoundDash=function(e,t,r){for(var n=t/2,i=-r;i<=r;i++)for(var o=this.width*(this.nextRow+r+i),a=0,s=e[a],l=0;l<this.width;l++){l/s.right>1&&(s=e[++a]);var u=Math.abs(l-s.left),c=Math.abs(l-s.right),f=Math.min(u,c),p=void 0,d=i/r*(n+1);if(s.isDash){var h=n-Math.abs(d);p=Math.sqrt(f*f+h*h)}else p=n-Math.sqrt(f*f+d*d);this.data[o+l]=Math.max(0,Math.min(255,p+128))}},_.prototype.addRegularDash=function(e){for(var t=e.length-1;t>=0;--t){var r=e[t],n=e[t+1];r.zeroLength?e.splice(t,1):n&&n.isDash===r.isDash&&(n.left=r.left,e.splice(t,1))}var i=e[0],o=e[e.length-1];i.isDash===o.isDash&&(i.left=o.left-this.width,o.right=i.right+this.width);for(var a=this.width*this.nextRow,s=0,l=e[s],u=0;u<this.width;u++){u/l.right>1&&(l=e[++s]);var c=Math.abs(u-l.left),f=Math.abs(u-l.right),p=Math.min(c,f);this.data[a+u]=Math.max(0,Math.min(255,(l.isDash?p:-p)+128))}},_.prototype.addDash=function(t,r){var n=r?7:0,i=2*n+1;if(this.nextRow+i>this.height)return e.warnOnce("LineAtlas out of space"),null;for(var o=0,a=0;a<t.length;a++)o+=t[a];if(0!==o){var s=this.width/o,l=this.getDashRanges(t,this.width,s);r?this.addRoundDash(l,s,n):this.addRegularDash(l)}var u={y:(this.nextRow+n+.5)/this.height,height:2*n/this.height,width:o};return this.nextRow+=i,this.dirty=!0,u},_.prototype.bind=function(e){var t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data))};var E=function t(r,n){this.workerPool=r,this.actors=[],this.currentActor=0,this.id=e.uniqueId();for(var i=this.workerPool.acquire(this.id),o=0;o<i.length;o++){var a=new t.Actor(i[o],n,this.id);a.name="Worker "+o,this.actors.push(a)}};function k(t,r,n){var i=function(i,o){if(i)return n(i);if(o){var a=e.pick(e.extend(o,t),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);o.vector_layers&&(a.vectorLayers=o.vector_layers,a.vectorLayerIds=a.vectorLayers.map((function(e){return e.id}))),a.tiles=r.canonicalizeTileset(a,t.url),n(null,a)}};return t.url?e.getJSON(r.transformRequest(r.normalizeSourceURL(t.url),e.ResourceType.Source),i):e.browser.frame((function(){return i(null,t)}))}E.prototype.broadcast=function(t,r,n){e.asyncAll(this.actors,(function(e,n){e.send(t,r,n)}),n=n||function(){})},E.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},E.prototype.remove=function(){this.actors.forEach((function(e){e.remove()})),this.actors=[],this.workerPool.release(this.id)},E.Actor=e.Actor;var T=function(t,r,n){this.bounds=e.LngLatBounds.convert(this.validateBounds(t)),this.minzoom=r||0,this.maxzoom=n||24};T.prototype.validateBounds=function(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]},T.prototype.contains=function(t){var r=Math.pow(2,t.z),n=Math.floor(e.mercatorXfromLng(this.bounds.getWest())*r),i=Math.floor(e.mercatorYfromLat(this.bounds.getNorth())*r),o=Math.ceil(e.mercatorXfromLng(this.bounds.getEast())*r),a=Math.ceil(e.mercatorYfromLat(this.bounds.getSouth())*r);return t.x>=n&&t.x<o&&t.y>=i&&t.y<a};var C=function(t){function r(r,n,i,o){if(t.call(this),this.id=r,this.dispatcher=i,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,e.extend(this,e.pick(n,["url","scheme","tileSize","promoteId"])),this._options=e.extend({type:"vector"},n),this._collectResourceTiming=n.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(o)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(){var t=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=k(this._options,this.map._requestManager,(function(r,n){t._tileJSONRequest=null,t._loaded=!0,r?t.fire(new e.ErrorEvent(r)):n&&(e.extend(t,n),n.bounds&&(t.tileBounds=new T(n.bounds,t.minzoom,t.maxzoom)),e.postTurnstileEvent(n.tiles,t.map._requestManager._customAccessToken),e.postMapLoadEvent(n.tiles,t.map._getMapId(),t.map._requestManager._skuToken,t.map._requestManager._customAccessToken),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},r.prototype.onAdd=function(e){this.map=e,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return e.extend({},this._options)},r.prototype.loadTile=function(t,r){var n=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme)),i={request:this.map._requestManager.transformRequest(n,e.ResourceType.Tile),uid:t.uid,tileID:t.tileID,zoom:t.tileID.overscaledZ,tileSize:this.tileSize*t.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function o(n,i){return delete t.request,t.aborted?r(null):n&&404!==n.status?r(n):(i&&i.resourceTiming&&(t.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&t.setExpiryData(i),t.loadVectorData(i,this.map.painter),e.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(t.reloadCallback&&(this.loadTile(t,t.reloadCallback),t.reloadCallback=null)))}i.request.collectResourceTiming=this._collectResourceTiming,t.actor&&"expired"!==t.state?"loading"===t.state?t.reloadCallback=r:t.request=t.actor.send("reloadTile",i,o.bind(this)):(t.actor=this.dispatcher.getActor(),t.request=t.actor.send("loadTile",i,o.bind(this)))},r.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.actor&&e.actor.send("abortTile",{uid:e.uid,type:this.type,source:this.id},void 0)},r.prototype.unloadTile=function(e){e.unloadVectorData(),e.actor&&e.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id},void 0)},r.prototype.hasTransition=function(){return!1},r}(e.Evented),S=function(t){function r(r,n,i,o){t.call(this),this.id=r,this.dispatcher=i,this.setEventedParent(o),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=e.extend({type:"raster"},n),e.extend(this,e.pick(n,["url","scheme","tileSize"]))}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(){var t=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=k(this._options,this.map._requestManager,(function(r,n){t._tileJSONRequest=null,t._loaded=!0,r?t.fire(new e.ErrorEvent(r)):n&&(e.extend(t,n),n.bounds&&(t.tileBounds=new T(n.bounds,t.minzoom,t.maxzoom)),e.postTurnstileEvent(n.tiles),e.postMapLoadEvent(n.tiles,t.map._getMapId(),t.map._requestManager._skuToken),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),t.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.onAdd=function(e){this.map=e,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return e.extend({},this._options)},r.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},r.prototype.loadTile=function(t,r){var n=this,i=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);t.request=e.getImage(this.map._requestManager.transformRequest(i,e.ResourceType.Tile),(function(i,o){if(delete t.request,t.aborted)t.state="unloaded",r(null);else if(i)t.state="errored",r(i);else if(o){n.map._refreshExpiredTiles&&t.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=n.map.painter.context,s=a.gl;t.texture=n.map.painter.getTileTexture(o.width),t.texture?t.texture.update(o,{useMipmap:!0}):(t.texture=new e.Texture(a,o,s.RGBA,{useMipmap:!0}),t.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),t.state="loaded",e.cacheEntryPossiblyAdded(n.dispatcher),r(null)}}))},r.prototype.abortTile=function(e,t){e.request&&(e.request.cancel(),delete e.request),t()},r.prototype.unloadTile=function(e,t){e.texture&&this.map.painter.saveTileTexture(e.texture),t()},r.prototype.hasTransition=function(){return!1},r}(e.Evented),O=function(t){function r(r,n,i,o){t.call(this,r,n,i,o),this.type="raster-dem",this.maxzoom=22,this._options=e.extend({type:"raster-dem"},n),this.encoding=n.encoding||"mapbox"}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},r.prototype.loadTile=function(t,r){var n=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);function i(e,n){e&&(t.state="errored",r(e)),n&&(t.dem=n,t.needsHillshadePrepare=!0,t.state="loaded",r(null))}t.request=e.getImage(this.map._requestManager.transformRequest(n,e.ResourceType.Tile),function(n,o){if(delete t.request,t.aborted)t.state="unloaded",r(null);else if(n)t.state="errored",r(n);else if(o){this.map._refreshExpiredTiles&&t.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=e.window.ImageBitmap&&o instanceof e.window.ImageBitmap&&e.offscreenCanvasSupported()?o:e.browser.getImageData(o,1),s={uid:t.uid,coord:t.tileID,source:this.id,rawImageData:a,encoding:this.encoding};t.actor&&"expired"!==t.state||(t.actor=this.dispatcher.getActor(),t.actor.send("loadDEMTile",s,i.bind(this)))}}.bind(this)),t.neighboringTiles=this._getNeighboringTiles(t.tileID)},r.prototype._getNeighboringTiles=function(t){var r=t.canonical,n=Math.pow(2,r.z),i=(r.x-1+n)%n,o=0===r.x?t.wrap-1:t.wrap,a=(r.x+1+n)%n,s=r.x+1===n?t.wrap+1:t.wrap,l={};return l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y).key]={backfilled:!1},r.y>0&&(l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y-1).key]={backfilled:!1}),r.y+1<n&&(l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y+1).key]={backfilled:!1}),l},r.prototype.unloadTile=function(e){e.demTexture&&this.map.painter.saveTileTexture(e.demTexture),e.fbo&&(e.fbo.destroy(),delete e.fbo),e.dem&&delete e.dem,delete e.neighboringTiles,e.state="unloaded",e.actor&&e.actor.send("removeDEMTile",{uid:e.uid,source:this.id})},r}(S),M=function(t){function r(r,n,i,o){t.call(this),this.id=r,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=i.getActor(),this.setEventedParent(o),this._data=n.data,this._options=e.extend({},n),this._collectResourceTiming=n.collectResourceTiming,this._resourceTiming=[],void 0!==n.maxzoom&&(this.maxzoom=n.maxzoom),n.type&&(this.type=n.type),n.attribution&&(this.attribution=n.attribution),this.promoteId=n.promoteId;var a=e.EXTENT/this.tileSize;this.workerOptions=e.extend({source:this.id,cluster:n.cluster||!1,geojsonVtOptions:{buffer:(void 0!==n.buffer?n.buffer:128)*a,tolerance:(void 0!==n.tolerance?n.tolerance:.375)*a,extent:e.EXTENT,maxZoom:this.maxzoom,lineMetrics:n.lineMetrics||!1,generateId:n.generateId||!1},superclusterOptions:{maxZoom:void 0!==n.clusterMaxZoom?Math.min(n.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:e.EXTENT,radius:(n.clusterRadius||50)*a,log:!1,generateId:n.generateId||!1},clusterProperties:n.clusterProperties},n.workerOptions)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(){var t=this;this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(r){if(r)t.fire(new e.ErrorEvent(r));else{var n={dataType:"source",sourceDataType:"metadata"};t._collectResourceTiming&&t._resourceTiming&&t._resourceTiming.length>0&&(n.resourceTiming=t._resourceTiming,t._resourceTiming=[]),t.fire(new e.Event("data",n))}}))},r.prototype.onAdd=function(e){this.map=e,this.load()},r.prototype.setData=function(t){var r=this;return this._data=t,this.fire(new e.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(t){if(t)r.fire(new e.ErrorEvent(t));else{var n={dataType:"source",sourceDataType:"content"};r._collectResourceTiming&&r._resourceTiming&&r._resourceTiming.length>0&&(n.resourceTiming=r._resourceTiming,r._resourceTiming=[]),r.fire(new e.Event("data",n))}})),this},r.prototype.getClusterExpansionZoom=function(e,t){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:e,source:this.id},t),this},r.prototype.getClusterChildren=function(e,t){return this.actor.send("geojson.getClusterChildren",{clusterId:e,source:this.id},t),this},r.prototype.getClusterLeaves=function(e,t,r,n){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:e,limit:t,offset:r},n),this},r.prototype._updateWorkerData=function(t){var r=this;this._loaded=!1;var n=e.extend({},this.workerOptions),i=this._data;"string"==typeof i?(n.request=this.map._requestManager.transformRequest(e.browser.resolveURL(i),e.ResourceType.Source),n.request.collectResourceTiming=this._collectResourceTiming):n.data=JSON.stringify(i),this.actor.send(this.type+".loadData",n,(function(e,i){r._removed||i&&i.abandoned||(r._loaded=!0,i&&i.resourceTiming&&i.resourceTiming[r.id]&&(r._resourceTiming=i.resourceTiming[r.id].slice(0)),r.actor.send(r.type+".coalesce",{source:n.source},null),t(e))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.loadTile=function(t,r){var n=this,i=t.actor?"reloadTile":"loadTile";t.actor=this.actor,t.request=this.actor.send(i,{type:this.type,uid:t.uid,tileID:t.tileID,zoom:t.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},(function(e,o){return delete t.request,t.unloadVectorData(),t.aborted?r(null):e?r(e):(t.loadVectorData(o,n.map.painter,"reloadTile"===i),r(null))}))},r.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.aborted=!0},r.prototype.unloadTile=function(e){e.unloadVectorData(),this.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id})},r.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},r.prototype.serialize=function(){return e.extend({},this._options,{type:this.type,data:this._data})},r.prototype.hasTransition=function(){return!1},r}(e.Evented),P=e.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),B=function(t){function r(e,r,n,i){t.call(this),this.id=e,this.dispatcher=n,this.coordinates=r.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(i),this.options=r}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(t,r){var n=this;this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this.url=this.options.url,e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),(function(i,o){n._loaded=!0,i?n.fire(new e.ErrorEvent(i)):o&&(n.image=o,t&&(n.coordinates=t),r&&r(),n._finishLoading())}))},r.prototype.loaded=function(){return this._loaded},r.prototype.updateImage=function(e){var t=this;return this.image&&e.url?(this.options.url=e.url,this.load(e.coordinates,(function(){t.texture=null})),this):this},r.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})))},r.prototype.onAdd=function(e){this.map=e,this.load()},r.prototype.setCoordinates=function(t){var r=this;this.coordinates=t;var n=t.map(e.MercatorCoordinate.fromLngLat);this.tileID=function(t){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0,s=t;a<s.length;a+=1){var l=s[a];r=Math.min(r,l.x),n=Math.min(n,l.y),i=Math.max(i,l.x),o=Math.max(o,l.y)}var u=Math.max(i-r,o-n),c=Math.max(0,Math.floor(-Math.log(u)/Math.LN2)),f=Math.pow(2,c);return new e.CanonicalTileID(c,Math.floor((r+i)/2*f),Math.floor((n+o)/2*f))}(n),this.minzoom=this.maxzoom=this.tileID.z;var i=n.map((function(e){return r.tileID.getTilePoint(e)._round()}));return this._boundsArray=new e.StructArrayLayout4i8,this._boundsArray.emplaceBack(i[0].x,i[0].y,0,0),this._boundsArray.emplaceBack(i[1].x,i[1].y,e.EXTENT,0),this._boundsArray.emplaceBack(i[3].x,i[3].y,0,e.EXTENT),this._boundsArray.emplaceBack(i[2].x,i[2].y,e.EXTENT,e.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})),this},r.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var t=this.map.painter.context,r=t.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=t.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new e.Texture(t,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[n];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},r.prototype.loadTile=function(e,t){this.tileID&&this.tileID.equals(e.tileID.canonical)?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={},t(null)):(e.state="errored",t(null))},r.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return!1},r}(e.Evented),L=function(t){function r(e,r,n,i){t.call(this,e,r,n,i),this.roundZoom=!0,this.type="video",this.options=r}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(){var t=this;this._loaded=!1;var r=this.options;this.urls=[];for(var n=0,i=r.urls;n<i.length;n+=1)this.urls.push(this.map._requestManager.transformRequest(i[n],e.ResourceType.Source).url);e.getVideo(this.urls,(function(r,n){t._loaded=!0,r?t.fire(new e.ErrorEvent(r)):n&&(t.video=n,t.video.loop=!0,t.video.addEventListener("playing",(function(){t.map.triggerRepaint()})),t.map&&t.video.play(),t._finishLoading())}))},r.prototype.pause=function(){this.video&&this.video.pause()},r.prototype.play=function(){this.video&&this.video.play()},r.prototype.seek=function(t){if(this.video){var r=this.video.seekable;t<r.start(0)||t>r.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+r.start(0)+" and "+r.end(0)+"-second mark."))):this.video.currentTime=t}},r.prototype.getVideo=function(){return this.video},r.prototype.onAdd=function(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},r.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var t=this.map.painter.context,r=t.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=t.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(t,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[n];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this.video&&!this.video.paused},r}(B),D=function(t){function r(r,n,i,o){t.call(this,r,n,i,o),n.coordinates?Array.isArray(n.coordinates)&&4===n.coordinates.length&&!n.coordinates.some((function(e){return!Array.isArray(e)||2!==e.length||e.some((function(e){return"number"!=typeof e}))}))||this.fire(new e.ErrorEvent(new e.ValidationError("sources."+r,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+r,null,'missing required property "coordinates"'))),n.animate&&"boolean"!=typeof n.animate&&this.fire(new e.ErrorEvent(new e.ValidationError("sources."+r,null,'optional "animate" property must be a boolean value'))),n.canvas?"string"==typeof n.canvas||n.canvas instanceof e.window.HTMLCanvasElement||this.fire(new e.ErrorEvent(new e.ValidationError("sources."+r,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError("sources."+r,null,'missing required property "canvas"'))),this.options=n,this.animate=void 0===n.animate||n.animate}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new e.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},r.prototype.getCanvas=function(){return this.canvas},r.prototype.onAdd=function(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play()},r.prototype.onRemove=function(){this.pause()},r.prototype.prepare=function(){var t=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,t=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,t=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var r=this.map.painter.context,n=r.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=r.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(t||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(r,this.canvas,n.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[i];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this._playing},r.prototype._hasInvalidDimensions=function(){for(var e=0,t=[this.canvas.width,this.canvas.height];e<t.length;e+=1){var r=t[e];if(isNaN(r)||r<=0)return!0}return!1},r}(B),I={vector:C,raster:S,"raster-dem":O,geojson:M,video:L,image:B,canvas:D};function j(t,r){var n=e.identity([]);return e.translate(n,n,[1,1,0]),e.scale(n,n,[.5*t.width,.5*t.height,1]),e.multiply(n,n,t.calculatePosMatrix(r.toUnwrapped()))}function R(e,t,r,n,i,o){var a=function(e,t,r){if(e)for(var n=0,i=e;n<i.length;n+=1){var o=t[i[n]];if(o&&o.source===r&&"fill-extrusion"===o.type)return!0}else for(var a in t){var s=t[a];if(s.source===r&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,t,e.id),s=o.maxPitchScaleFactor(),l=e.tilesIn(n,s,a);l.sort(F);for(var u=[],c=0,f=l;c<f.length;c+=1){var p=f[c];u.push({wrappedTileID:p.tileID.wrapped().key,queryResults:p.tile.queryRenderedFeatures(t,r,e._state,p.queryGeometry,p.cameraQueryGeometry,p.scale,i,o,s,j(e.transform,p.tileID))})}var d=function(e){for(var t={},r={},n=0,i=e;n<i.length;n+=1){var o=i[n],a=o.queryResults,s=o.wrappedTileID,l=r[s]=r[s]||{};for(var u in a)for(var c=a[u],f=l[u]=l[u]||{},p=t[u]=t[u]||[],d=0,h=c;d<h.length;d+=1){var v=h[d];f[v.featureIndex]||(f[v.featureIndex]=!0,p.push(v))}}return t}(u);for(var h in d)d[h].forEach((function(t){var r=t.feature,n=e.getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=n}));return d}function F(e,t){var r=e.tileID,n=t.tileID;return r.overscaledZ-n.overscaledZ||r.canonical.y-n.canonical.y||r.wrap-n.wrap||r.canonical.x-n.canonical.x}var N=function(e,t){this.max=e,this.onRemove=t,this.reset()};N.prototype.reset=function(){for(var e in this.data)for(var t=0,r=this.data[e];t<r.length;t+=1){var n=r[t];n.timeout&&clearTimeout(n.timeout),this.onRemove(n.value)}return this.data={},this.order=[],this},N.prototype.add=function(e,t,r){var n=this,i=e.wrapped().key;void 0===this.data[i]&&(this.data[i]=[]);var o={value:t,timeout:void 0};if(void 0!==r&&(o.timeout=setTimeout((function(){n.remove(e,o)}),r)),this.data[i].push(o),this.order.push(i),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},N.prototype.has=function(e){return e.wrapped().key in this.data},N.prototype.getAndRemove=function(e){return this.has(e)?this._getAndRemoveByKey(e.wrapped().key):null},N.prototype._getAndRemoveByKey=function(e){var t=this.data[e].shift();return t.timeout&&clearTimeout(t.timeout),0===this.data[e].length&&delete this.data[e],this.order.splice(this.order.indexOf(e),1),t.value},N.prototype.getByKey=function(e){var t=this.data[e];return t?t[0].value:null},N.prototype.get=function(e){return this.has(e)?this.data[e.wrapped().key][0].value:null},N.prototype.remove=function(e,t){if(!this.has(e))return this;var r=e.wrapped().key,n=void 0===t?0:this.data[r].indexOf(t),i=this.data[r][n];return this.data[r].splice(n,1),i.timeout&&clearTimeout(i.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(i.value),this.order.splice(this.order.indexOf(r),1),this},N.prototype.setMaxSize=function(e){for(this.max=e;this.order.length>this.max;){var t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this},N.prototype.filter=function(e){var t=[];for(var r in this.data)for(var n=0,i=this.data[r];n<i.length;n+=1){var o=i[n];e(o.value)||t.push(o)}for(var a=0,s=t;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var z=function(e,t,r){this.context=e;var n=e.gl;this.buffer=n.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),n.bufferData(n.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};z.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},z.prototype.updateData=function(e){var t=this.context.gl;this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer)},z.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var U={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},H=function(e,t,r,n){this.length=t.length,this.attributes=r,this.itemSize=t.bytesPerElement,this.dynamicDraw=n,this.context=e;var i=e.gl;this.buffer=i.createBuffer(),e.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};H.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},H.prototype.updateData=function(e){var t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer)},H.prototype.enableAttributes=function(e,t){for(var r=0;r<this.attributes.length;r++){var n=t.attributes[this.attributes[r].name];void 0!==n&&e.enableVertexAttribArray(n)}},H.prototype.setVertexAttribPointers=function(e,t,r){for(var n=0;n<this.attributes.length;n++){var i=this.attributes[n],o=t.attributes[i.name];void 0!==o&&e.vertexAttribPointer(o,i.components,e[U[i.type]],!1,this.itemSize,i.offset+this.itemSize*(r||0))}},H.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var V=function(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};V.prototype.get=function(){return this.current},V.prototype.set=function(e){},V.prototype.getDefault=function(){return this.default},V.prototype.setDefault=function(){this.set(this.default)};var Q=function(t){function r(){t.apply(this,arguments)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.getDefault=function(){return e.Color.transparent},r.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},r}(V),W=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 1},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1)},t}(V),K=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1)},t}(V),q=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[!0,!0,!0,!0]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(V),G=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1)},t}(V),$=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 255},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1)},t}(V),Y=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},t.prototype.set=function(e){var t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1)},t}(V),X=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.KEEP,e.KEEP,e.KEEP]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1)},t}(V),Z=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1}},t}(V),J=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[0,1]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1)},t}(V),ee=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1}},t}(V),te=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.LESS},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1)},t}(V),re=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1}},t}(V),ne=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.ONE,e.ZERO]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1)},t}(V),ie=function(t){function r(){t.apply(this,arguments)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.getDefault=function(){return e.Color.transparent},r.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},r}(V),oe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.FUNC_ADD},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1)},t}(V),ae=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1}},t}(V),se=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.BACK},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1)},t}(V),le=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.CCW},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1)},t}(V),ue=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1)},t}(V),ce=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.TEXTURE0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1)},t}(V),fe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[0,0,e.drawingBufferWidth,e.drawingBufferHeight]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(V),pe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1}},t}(V),de=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(V),he=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1}},t}(V),ve=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1}},t}(V),me=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){var t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1},t}(V),ge=function(e){function t(t){e.call(this,t),this.vao=t.extVertexArrayObject}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){this.vao&&(e!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(e),this.current=e,this.dirty=!1)},t}(V),ye=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 4},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1}},t}(V),be=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1}},t}(V),xe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1}},t}(V),Ae=function(e){function t(t,r){e.call(this,t),this.context=t,this.parent=r}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t}(V),we=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.setDirty=function(){this.dirty=!0},t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1}},t}(Ae),_e=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(Ae),Ee=function(e,t,r,n){this.context=e,this.width=t,this.height=r;var i=this.framebuffer=e.gl.createFramebuffer();this.colorAttachment=new we(e,i),n&&(this.depthAttachment=new _e(e,i))};Ee.prototype.destroy=function(){var e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){var r=this.depthAttachment.get();r&&e.deleteRenderbuffer(r)}e.deleteFramebuffer(this.framebuffer)};var ke=function(e,t,r){this.func=e,this.mask=t,this.range=r};ke.ReadOnly=!1,ke.ReadWrite=!0,ke.disabled=new ke(519,ke.ReadOnly,[0,1]);var Te=function(e,t,r,n,i,o){this.test=e,this.ref=t,this.mask=r,this.fail=n,this.depthFail=i,this.pass=o};Te.disabled=new Te({func:519,mask:0},0,0,7680,7680,7680);var Ce=function(e,t,r){this.blendFunction=e,this.blendColor=t,this.mask=r};Ce.disabled=new Ce(Ce.Replace=[1,0],e.Color.transparent,[!1,!1,!1,!1]),Ce.unblended=new Ce(Ce.Replace,e.Color.transparent,[!0,!0,!0,!0]),Ce.alphaBlended=new Ce([1,771],e.Color.transparent,[!0,!0,!0,!0]);var Se=function(e,t,r){this.enable=e,this.mode=t,this.frontFace=r};Se.disabled=new Se(!1,1029,2305),Se.backCCW=new Se(!0,1029,2305);var Oe=function(e){this.gl=e,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new Q(this),this.clearDepth=new W(this),this.clearStencil=new K(this),this.colorMask=new q(this),this.depthMask=new G(this),this.stencilMask=new $(this),this.stencilFunc=new Y(this),this.stencilOp=new X(this),this.stencilTest=new Z(this),this.depthRange=new J(this),this.depthTest=new ee(this),this.depthFunc=new te(this),this.blend=new re(this),this.blendFunc=new ne(this),this.blendColor=new ie(this),this.blendEquation=new oe(this),this.cullFace=new ae(this),this.cullFaceSide=new se(this),this.frontFace=new le(this),this.program=new ue(this),this.activeTexture=new ce(this),this.viewport=new fe(this),this.bindFramebuffer=new pe(this),this.bindRenderbuffer=new de(this),this.bindTexture=new he(this),this.bindVertexBuffer=new ve(this),this.bindElementBuffer=new me(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new ge(this),this.pixelStoreUnpack=new ye(this),this.pixelStoreUnpackPremultiplyAlpha=new be(this),this.pixelStoreUnpackFlipY=new xe(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=e.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(e.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=e.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=e.getExtension("EXT_disjoint_timer_query")};Oe.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},Oe.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},Oe.prototype.createIndexBuffer=function(e,t){return new z(this,e,t)},Oe.prototype.createVertexBuffer=function(e,t,r){return new H(this,e,t,r)},Oe.prototype.createRenderbuffer=function(e,t,r){var n=this.gl,i=n.createRenderbuffer();return this.bindRenderbuffer.set(i),n.renderbufferStorage(n.RENDERBUFFER,e,t,r),this.bindRenderbuffer.set(null),i},Oe.prototype.createFramebuffer=function(e,t,r){return new Ee(this,e,t,r)},Oe.prototype.clear=function(e){var t=e.color,r=e.depth,n=this.gl,i=0;t&&(i|=n.COLOR_BUFFER_BIT,this.clearColor.set(t),this.colorMask.set([!0,!0,!0,!0])),void 0!==r&&(i|=n.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(r),this.depthMask.set(!0)),n.clear(i)},Oe.prototype.setCullFace=function(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace))},Oe.prototype.setDepthMode=function(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1)},Oe.prototype.setStencilMode=function(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1)},Oe.prototype.setColorMode=function(t){e.deepEqual(t.blendFunction,Ce.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(t.blendFunction),this.blendColor.set(t.blendColor)),this.colorMask.set(t.mask)},Oe.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Me=function(t){function r(r,n,i){var o=this;t.call(this),this.id=r,this.dispatcher=i,this.on("data",(function(e){"source"===e.dataType&&"metadata"===e.sourceDataType&&(o._sourceLoaded=!0),o._sourceLoaded&&!o._paused&&"source"===e.dataType&&"content"===e.sourceDataType&&(o.reload(),o.transform&&o.update(o.transform))})),this.on("error",(function(){o._sourceErrored=!0})),this._source=function(t,r,n,i){var o=new I[r.type](t,r,n,i);if(o.id!==t)throw new Error("Expected Source id to be "+t+" instead of "+o.id);return e.bindAll(["load","abort","unload","serialize","prepare"],o),o}(r,n,i,this),this._tiles={},this._cache=new N(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new e.SourceFeatureState}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.onAdd=function(e){this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(e)},r.prototype.onRemove=function(e){this._source&&this._source.onRemove&&this._source.onRemove(e)},r.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var e in this._tiles){var t=this._tiles[e];if("loaded"!==t.state&&"errored"!==t.state)return!1}return!0},r.prototype.getSource=function(){return this._source},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){if(this._paused){var e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform)}},r.prototype._loadTile=function(e,t){return this._source.loadTile(e,t)},r.prototype._unloadTile=function(e){if(this._source.unloadTile)return this._source.unloadTile(e,(function(){}))},r.prototype._abortTile=function(e){if(this._source.abortTile)return this._source.abortTile(e,(function(){}))},r.prototype.serialize=function(){return this._source.serialize()},r.prototype.prepare=function(e){for(var t in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var r=this._tiles[t];r.upload(e),r.prepare(this.map.style.imageManager)}},r.prototype.getIds=function(){return e.values(this._tiles).map((function(e){return e.tileID})).sort(Pe).map((function(e){return e.key}))},r.prototype.getRenderableIds=function(t){var r=this,n=[];for(var i in this._tiles)this._isIdRenderable(i,t)&&n.push(this._tiles[i]);return t?n.sort((function(t,n){var i=t.tileID,o=n.tileID,a=new e.Point(i.canonical.x,i.canonical.y)._rotate(r.transform.angle),s=new e.Point(o.canonical.x,o.canonical.y)._rotate(r.transform.angle);return i.overscaledZ-o.overscaledZ||s.y-a.y||s.x-a.x})).map((function(e){return e.tileID.key})):n.map((function(e){return e.tileID})).sort(Pe).map((function(e){return e.key}))},r.prototype.hasRenderableParent=function(e){var t=this.findLoadedParent(e,0);return!!t&&this._isIdRenderable(t.tileID.key)},r.prototype._isIdRenderable=function(e,t){return this._tiles[e]&&this._tiles[e].hasData()&&!this._coveredTiles[e]&&(t||!this._tiles[e].holdingForFade())},r.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var e in this._cache.reset(),this._tiles)"errored"!==this._tiles[e].state&&this._reloadTile(e,"reloading")},r.prototype._reloadTile=function(e,t){var r=this._tiles[e];r&&("loading"!==r.state&&(r.state=t),this._loadTile(r,this._tileLoaded.bind(this,r,e,t)))},r.prototype._tileLoaded=function(t,r,n,i){if(i)return t.state="errored",void(404!==i.status?this._source.fire(new e.ErrorEvent(i,{tile:t})):this.update(this.transform));t.timeAdded=e.browser.now(),"expired"===n&&(t.refreshedUponExpiration=!0),this._setTileReloadTimer(r,t),"raster-dem"===this.getSource().type&&t.dem&&this._backfillDEM(t),this._state.initializeTileState(t,this.map?this.map.painter:null),this._source.fire(new e.Event("data",{dataType:"source",tile:t,coord:t.tileID}))},r.prototype._backfillDEM=function(e){for(var t=this.getRenderableIds(),r=0;r<t.length;r++){var n=t[r];if(e.neighboringTiles&&e.neighboringTiles[n]){var i=this.getTileByID(n);o(e,i),o(i,e)}}function o(e,t){e.needsHillshadePrepare=!0;var r=t.tileID.canonical.x-e.tileID.canonical.x,n=t.tileID.canonical.y-e.tileID.canonical.y,i=Math.pow(2,e.tileID.canonical.z),o=t.tileID.key;0===r&&0===n||Math.abs(n)>1||(Math.abs(r)>1&&(1===Math.abs(r+i)?r+=i:1===Math.abs(r-i)&&(r-=i)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,r,n),e.neighboringTiles&&e.neighboringTiles[o]&&(e.neighboringTiles[o].backfilled=!0)))}},r.prototype.getTile=function(e){return this.getTileByID(e.key)},r.prototype.getTileByID=function(e){return this._tiles[e]},r.prototype._retainLoadedChildren=function(e,t,r,n){for(var i in this._tiles){var o=this._tiles[i];if(!(n[i]||!o.hasData()||o.tileID.overscaledZ<=t||o.tileID.overscaledZ>r)){for(var a=o.tileID;o&&o.tileID.overscaledZ>t+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>t;)if(e[(l=l.scaledTo(l.overscaledZ-1)).key]){n[a.key]=a;break}}}},r.prototype.findLoadedParent=function(e,t){if(e.key in this._loadedParentTiles){var r=this._loadedParentTiles[e.key];return r&&r.tileID.overscaledZ>=t?r:null}for(var n=e.overscaledZ-1;n>=t;n--){var i=e.scaledTo(n),o=this._getLoadedTile(i);if(o)return o}},r.prototype._getLoadedTile=function(e){var t=this._tiles[e.key];return t&&t.hasData()?t:this._cache.getByKey(e.wrapped().key)},r.prototype.updateCacheSize=function(e){var t=Math.ceil(e.width/this._source.tileSize)+1,r=Math.ceil(e.height/this._source.tileSize)+1,n=Math.floor(t*r*5),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,n):n;this._cache.setMaxSize(i)},r.prototype.handleWrapJump=function(e){var t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);if(this._prevLng=e,t){var r={};for(var n in this._tiles){var i=this._tiles[n];i.tileID=i.tileID.unwrapTo(i.tileID.wrap+t),r[i.tileID.key]=i}for(var o in this._tiles=r,this._timers)clearTimeout(this._timers[o]),delete this._timers[o];for(var a in this._tiles)this._setTileReloadTimer(a,this._tiles[a])}},r.prototype.update=function(t){var n=this;if(this.transform=t,this._sourceLoaded&&!this._paused){var i;this.updateCacheSize(t),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?i=t.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(t){return new e.OverscaledTileID(t.canonical.z,t.wrap,t.canonical.z,t.canonical.x,t.canonical.y)})):(i=t.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(i=i.filter((function(e){return n._source.hasTile(e)})))):i=[];var o=t.coveringZoomLevel(this._source),a=Math.max(o-r.maxOverzooming,this._source.minzoom),s=Math.max(o+r.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(i,o);if(Be(this._source.type)){for(var u={},c={},f=0,p=Object.keys(l);f<p.length;f+=1){var d=p[f],h=l[d],v=this._tiles[d];if(v&&!(v.fadeEndTime&&v.fadeEndTime<=e.browser.now())){var m=this.findLoadedParent(h,a);m&&(this._addTile(m.tileID),u[m.tileID.key]=m.tileID),c[d]=h}}for(var g in this._retainLoadedChildren(c,o,s,l),u)l[g]||(this._coveredTiles[g]=!0,l[g]=u[g])}for(var y in l)this._tiles[y].clearFadeHold();for(var b=0,x=e.keysDifference(this._tiles,l);b<x.length;b+=1){var A=x[b],w=this._tiles[A];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(A)}this._updateLoadedParentTileCache()}},r.prototype.releaseSymbolFadeTiles=function(){for(var e in this._tiles)this._tiles[e].holdingForFade()&&this._removeTile(e)},r.prototype._updateRetainedTiles=function(e,t){for(var n={},i={},o=Math.max(t-r.maxOverzooming,this._source.minzoom),a=Math.max(t+r.maxUnderzooming,this._source.minzoom),s={},l=0,u=e;l<u.length;l+=1){var c=u[l],f=this._addTile(c);n[c.key]=c,f.hasData()||t<this._source.maxzoom&&(s[c.key]=c)}this._retainLoadedChildren(s,t,a,n);for(var p=0,d=e;p<d.length;p+=1){var h=d[p],v=this._tiles[h.key];if(!v.hasData()){if(t+1>this._source.maxzoom){var m=h.children(this._source.maxzoom)[0],g=this.getTile(m);if(g&&g.hasData()){n[m.key]=m;continue}}else{var y=h.children(this._source.maxzoom);if(n[y[0].key]&&n[y[1].key]&&n[y[2].key]&&n[y[3].key])continue}for(var b=v.wasRequested(),x=h.overscaledZ-1;x>=o;--x){var A=h.scaledTo(x);if(i[A.key])break;if(i[A.key]=!0,!(v=this.getTile(A))&&b&&(v=this._addTile(A)),v&&(n[A.key]=A,b=v.wasRequested(),v.hasData()))break}}}return n},r.prototype._updateLoadedParentTileCache=function(){for(var e in this._loadedParentTiles={},this._tiles){for(var t=[],r=void 0,n=this._tiles[e].tileID;n.overscaledZ>0;){if(n.key in this._loadedParentTiles){r=this._loadedParentTiles[n.key];break}t.push(n.key);var i=n.scaledTo(n.overscaledZ-1);if(r=this._getLoadedTile(i))break;n=i}for(var o=0,a=t;o<a.length;o+=1)this._loadedParentTiles[a[o]]=r}},r.prototype._addTile=function(t){var r=this._tiles[t.key];if(r)return r;(r=this._cache.getAndRemove(t))&&(this._setTileReloadTimer(t.key,r),r.tileID=t,this._state.initializeTileState(r,this.map?this.map.painter:null),this._cacheTimers[t.key]&&(clearTimeout(this._cacheTimers[t.key]),delete this._cacheTimers[t.key],this._setTileReloadTimer(t.key,r)));var n=Boolean(r);return n||(r=new e.Tile(t,this._source.tileSize*t.overscaleFactor()),this._loadTile(r,this._tileLoaded.bind(this,r,t.key,r.state))),r?(r.uses++,this._tiles[t.key]=r,n||this._source.fire(new e.Event("dataloading",{tile:r,coord:r.tileID,dataType:"source"})),r):null},r.prototype._setTileReloadTimer=function(e,t){var r=this;e in this._timers&&(clearTimeout(this._timers[e]),delete this._timers[e]);var n=t.getExpiryTimeout();n&&(this._timers[e]=setTimeout((function(){r._reloadTile(e,"expired"),delete r._timers[e]}),n))},r.prototype._removeTile=function(e){var t=this._tiles[e];t&&(t.uses--,delete this._tiles[e],this._timers[e]&&(clearTimeout(this._timers[e]),delete this._timers[e]),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._cache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))))},r.prototype.clearTiles=function(){for(var e in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(e);this._cache.reset()},r.prototype.tilesIn=function(t,r,n){var i=this,o=[],a=this.transform;if(!a)return o;for(var s=n?a.getCameraQueryGeometry(t):t,l=t.map((function(e){return a.pointCoordinate(e)})),u=s.map((function(e){return a.pointCoordinate(e)})),c=this.getIds(),f=1/0,p=1/0,d=-1/0,h=-1/0,v=0,m=u;v<m.length;v+=1){var g=m[v];f=Math.min(f,g.x),p=Math.min(p,g.y),d=Math.max(d,g.x),h=Math.max(h,g.y)}for(var y=function(t){var n=i._tiles[c[t]];if(!n.holdingForFade()){var s=n.tileID,v=Math.pow(2,a.zoom-n.tileID.overscaledZ),m=r*n.queryPadding*e.EXTENT/n.tileSize/v,g=[s.getTilePoint(new e.MercatorCoordinate(f,p)),s.getTilePoint(new e.MercatorCoordinate(d,h))];if(g[0].x-m<e.EXTENT&&g[0].y-m<e.EXTENT&&g[1].x+m>=0&&g[1].y+m>=0){var y=l.map((function(e){return s.getTilePoint(e)})),b=u.map((function(e){return s.getTilePoint(e)}));o.push({tile:n,tileID:s,queryGeometry:y,cameraQueryGeometry:b,scale:v})}}},b=0;b<c.length;b++)y(b);return o},r.prototype.getVisibleCoordinates=function(e){for(var t=this,r=this.getRenderableIds(e).map((function(e){return t._tiles[e].tileID})),n=0,i=r;n<i.length;n+=1){var o=i[n];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return r},r.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Be(this._source.type))for(var t in this._tiles){var r=this._tiles[t];if(void 0!==r.fadeEndTime&&r.fadeEndTime>=e.browser.now())return!0}return!1},r.prototype.setFeatureState=function(e,t,r){this._state.updateState(e=e||"_geojsonTileLayer",t,r)},r.prototype.removeFeatureState=function(e,t,r){this._state.removeFeatureState(e=e||"_geojsonTileLayer",t,r)},r.prototype.getFeatureState=function(e,t){return this._state.getState(e=e||"_geojsonTileLayer",t)},r.prototype.setDependencies=function(e,t,r){var n=this._tiles[e];n&&n.setDependencies(t,r)},r.prototype.reloadTilesForDependencies=function(e,t){for(var r in this._tiles)this._tiles[r].hasDependency(e,t)&&this._reloadTile(r,"reloading");this._cache.filter((function(r){return!r.hasDependency(e,t)}))},r}(e.Evented);function Pe(e,t){var r=Math.abs(2*e.wrap)-+(e.wrap<0),n=Math.abs(2*t.wrap)-+(t.wrap<0);return e.overscaledZ-t.overscaledZ||n-r||t.canonical.y-e.canonical.y||t.canonical.x-e.canonical.x}function Be(e){return"raster"===e||"image"===e||"video"===e}function Le(){return new e.window.Worker(Ki.workerUrl)}Me.maxOverzooming=10,Me.maxUnderzooming=3;var De="mapboxgl_preloaded_worker_pool",Ie=function(){this.active={}};Ie.prototype.acquire=function(e){if(!this.workers)for(this.workers=[];this.workers.length<Ie.workerCount;)this.workers.push(new Le);return this.active[e]=!0,this.workers.slice()},Ie.prototype.release=function(e){delete this.active[e],0===this.numActive()&&(this.workers.forEach((function(e){e.terminate()})),this.workers=null)},Ie.prototype.isPreloaded=function(){return!!this.active[De]},Ie.prototype.numActive=function(){return Object.keys(this.active).length};var je,Re=Math.floor(e.browser.hardwareConcurrency/2);function Fe(){return je||(je=new Ie),je}function Ne(t,r){var n={};for(var i in t)"ref"!==i&&(n[i]=t[i]);return e.refProperties.forEach((function(e){e in r&&(n[e]=r[e])})),n}function ze(e){e=e.slice();for(var t=Object.create(null),r=0;r<e.length;r++)t[e[r].id]=e[r];for(var n=0;n<e.length;n++)"ref"in e[n]&&(e[n]=Ne(e[n],t[e[n].ref]));return e}Ie.workerCount=Math.max(Math.min(Re,6),1);var Ue={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function He(e,t,r){r.push({command:Ue.addSource,args:[e,t[e]]})}function Ve(e,t,r){t.push({command:Ue.removeSource,args:[e]}),r[e]=!0}function Qe(e,t,r,n){Ve(e,r,n),He(e,t,r)}function We(t,r,n){var i;for(i in t[n])if(t[n].hasOwnProperty(i)&&"data"!==i&&!e.deepEqual(t[n][i],r[n][i]))return!1;for(i in r[n])if(r[n].hasOwnProperty(i)&&"data"!==i&&!e.deepEqual(t[n][i],r[n][i]))return!1;return!0}function Ke(t,r,n,i,o,a){var s;for(s in r=r||{},t=t||{})t.hasOwnProperty(s)&&(e.deepEqual(t[s],r[s])||n.push({command:a,args:[i,s,r[s],o]}));for(s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(e.deepEqual(t[s],r[s])||n.push({command:a,args:[i,s,r[s],o]}))}function qe(e){return e.id}function Ge(e,t){return e[t.id]=t,e}var $e=function(e,t){this.reset(e,t)};$e.prototype.reset=function(e,t){this.points=e||[],this._distances=[0];for(var r=1;r<this.points.length;r++)this._distances[r]=this._distances[r-1]+this.points[r].dist(this.points[r-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(t||0,.5*this.length),this.paddedLength=this.length-2*this.padding},$e.prototype.lerp=function(t){if(1===this.points.length)return this.points[0];t=e.clamp(t,0,1);for(var r=1,n=this._distances[r],i=t*this.paddedLength+this.padding;n<i&&r<this._distances.length;)n=this._distances[++r];var o=r-1,a=this._distances[o],s=n-a,l=s>0?(i-a)/s:0;return this.points[o].mult(1-l).add(this.points[r].mult(l))};var Ye=function(e,t,r){var n=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(e/r),this.yCellCount=Math.ceil(t/r);for(var o=0;o<this.xCellCount*this.yCellCount;o++)n.push([]),i.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=e,this.height=t,this.xScale=this.xCellCount/e,this.yScale=this.yCellCount/t,this.boxUid=0,this.circleUid=0};function Xe(t,r,n,i,o){var a=e.create();return r?(e.scale(a,a,[1/o,1/o,1]),n||e.rotateZ(a,a,i.angle)):e.multiply(a,i.labelPlaneMatrix,t),a}function Ze(t,r,n,i,o){if(r){var a=e.clone(t);return e.scale(a,a,[o,o,1]),n||e.rotateZ(a,a,-i.angle),a}return i.glCoordMatrix}function Je(t,r){var n=[t.x,t.y,0,1];ct(n,n,r);var i=n[3];return{point:new e.Point(n[0]/i,n[1]/i),signedDistanceFromCamera:i}}function et(e,t){return.5+e/t*.5}function tt(e,t){var r=e[0]/e[3],n=e[1]/e[3];return r>=-t[0]&&r<=t[0]&&n>=-t[1]&&n<=t[1]}function rt(t,r,n,i,o,a,s,l){var u=i?t.textSizeData:t.iconSizeData,c=e.evaluateSizeForZoom(u,n.transform.zoom),f=[256/n.width*2+1,256/n.height*2+1],p=i?t.text.dynamicLayoutVertexArray:t.icon.dynamicLayoutVertexArray;p.clear();for(var d=t.lineVertexArray,h=i?t.text.placedSymbolArray:t.icon.placedSymbolArray,v=n.transform.width/n.transform.height,m=!1,g=0;g<h.length;g++){var y=h.get(g);if(y.hidden||y.writingMode===e.WritingMode.vertical&&!m)ut(y.numGlyphs,p);else{m=!1;var b=[y.anchorX,y.anchorY,0,1];if(e.transformMat4(b,b,r),tt(b,f)){var x=et(n.transform.cameraToCenterDistance,b[3]),A=e.evaluateSizeForFeature(u,c,y),w=s?A/x:A*x,_=new e.Point(y.anchorX,y.anchorY),E=Je(_,o).point,k={},T=ot(y,w,!1,l,r,o,a,t.glyphOffsetArray,d,p,E,_,k,v);m=T.useVertical,(T.notEnoughRoom||m||T.needsFlipping&&ot(y,w,!0,l,r,o,a,t.glyphOffsetArray,d,p,E,_,k,v).notEnoughRoom)&&ut(y.numGlyphs,p)}else ut(y.numGlyphs,p)}}i?t.text.dynamicLayoutVertexBuffer.updateData(p):t.icon.dynamicLayoutVertexBuffer.updateData(p)}function nt(e,t,r,n,i,o,a,s,l,u,c){var f=s.glyphStartIndex+s.numGlyphs,p=s.lineStartIndex,d=s.lineStartIndex+s.lineLength,h=t.getoffsetX(s.glyphStartIndex),v=t.getoffsetX(f-1),m=st(e*h,r,n,i,o,a,s.segment,p,d,l,u,c);if(!m)return null;var g=st(e*v,r,n,i,o,a,s.segment,p,d,l,u,c);return g?{first:m,last:g}:null}function it(t,r,n,i){return t===e.WritingMode.horizontal&&Math.abs(n.y-r.y)>Math.abs(n.x-r.x)*i?{useVertical:!0}:(t===e.WritingMode.vertical?r.y<n.y:r.x>n.x)?{needsFlipping:!0}:null}function ot(t,r,n,i,o,a,s,l,u,c,f,p,d,h){var v,m=r/24,g=t.lineOffsetX*m,y=t.lineOffsetY*m;if(t.numGlyphs>1){var b=t.glyphStartIndex+t.numGlyphs,x=t.lineStartIndex,A=t.lineStartIndex+t.lineLength,w=nt(m,l,g,y,n,f,p,t,u,a,d);if(!w)return{notEnoughRoom:!0};var _=Je(w.first.point,s).point,E=Je(w.last.point,s).point;if(i&&!n){var k=it(t.writingMode,_,E,h);if(k)return k}v=[w.first];for(var T=t.glyphStartIndex+1;T<b-1;T++)v.push(st(m*l.getoffsetX(T),g,y,n,f,p,t.segment,x,A,u,a,d));v.push(w.last)}else{if(i&&!n){var C=Je(p,o).point,S=t.lineStartIndex+t.segment+1,O=new e.Point(u.getx(S),u.gety(S)),M=Je(O,o),P=M.signedDistanceFromCamera>0?M.point:at(p,O,C,1,o),B=it(t.writingMode,C,P,h);if(B)return B}var L=st(m*l.getoffsetX(t.glyphStartIndex),g,y,n,f,p,t.segment,t.lineStartIndex,t.lineStartIndex+t.lineLength,u,a,d);if(!L)return{notEnoughRoom:!0};v=[L]}for(var D=0,I=v;D<I.length;D+=1){var j=I[D];e.addDynamicAttributes(c,j.point,j.angle)}return{}}function at(e,t,r,n,i){var o=Je(e.add(e.sub(t)._unit()),i).point,a=r.sub(o);return r.add(a._mult(n/a.mag()))}function st(t,r,n,i,o,a,s,l,u,c,f,p){var d=i?t-r:t+r,h=d>0?1:-1,v=0;i&&(h*=-1,v=Math.PI),h<0&&(v+=Math.PI);for(var m=h>0?l+s:l+s+1,g=o,y=o,b=0,x=0,A=Math.abs(d),w=[];b+x<=A;){if((m+=h)<l||m>=u)return null;if(y=g,w.push(g),void 0===(g=p[m])){var _=new e.Point(c.getx(m),c.gety(m)),E=Je(_,f);if(E.signedDistanceFromCamera>0)g=p[m]=E.point;else{var k=m-h;g=at(0===b?a:new e.Point(c.getx(k),c.gety(k)),_,y,A-b+1,f)}}b+=x,x=y.dist(g)}var T=(A-b)/x,C=g.sub(y),S=C.mult(T)._add(y);S._add(C._unit()._perp()._mult(n*h));var O=v+Math.atan2(g.y-y.y,g.x-y.x);return w.push(S),{point:S,angle:O,path:w}}Ye.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Ye.prototype.insert=function(e,t,r,n,i){this._forEachCell(t,r,n,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(e),this.bboxes.push(t),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)},Ye.prototype.insertCircle=function(e,t,r,n){this._forEachCell(t-n,r-n,t+n,r+n,this._insertCircleCell,this.circleUid++),this.circleKeys.push(e),this.circles.push(t),this.circles.push(r),this.circles.push(n)},Ye.prototype._insertBoxCell=function(e,t,r,n,i,o){this.boxCells[i].push(o)},Ye.prototype._insertCircleCell=function(e,t,r,n,i,o){this.circleCells[i].push(o)},Ye.prototype._query=function(e,t,r,n,i,o){if(r<0||e>this.width||n<0||t>this.height)return!i&&[];var a=[];if(e<=0&&t<=0&&this.width<=r&&this.height<=n){if(i)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var u=this.circles[3*l],c=this.circles[3*l+1],f=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:u-f,y1:c-f,x2:u+f,y2:c+f})}return o?a.filter(o):a}return this._forEachCell(e,t,r,n,this._queryCell,a,{hitTest:i,seenUids:{box:{},circle:{}}},o),i?a.length>0:a},Ye.prototype._queryCircle=function(e,t,r,n,i){var o=e-r,a=e+r,s=t-r,l=t+r;if(a<0||o>this.width||l<0||s>this.height)return!n&&[];var u=[];return this._forEachCell(o,s,a,l,this._queryCellCircle,u,{hitTest:n,circle:{x:e,y:t,radius:r},seenUids:{box:{},circle:{}}},i),n?u.length>0:u},Ye.prototype.query=function(e,t,r,n,i){return this._query(e,t,r,n,!1,i)},Ye.prototype.hitTest=function(e,t,r,n,i){return this._query(e,t,r,n,!0,i)},Ye.prototype.hitTestCircle=function(e,t,r,n){return this._queryCircle(e,t,r,!0,n)},Ye.prototype._queryCell=function(e,t,r,n,i,o,a,s){var l=a.seenUids,u=this.boxCells[i];if(null!==u)for(var c=this.bboxes,f=0,p=u;f<p.length;f+=1){var d=p[f];if(!l.box[d]){l.box[d]=!0;var h=4*d;if(e<=c[h+2]&&t<=c[h+3]&&r>=c[h+0]&&n>=c[h+1]&&(!s||s(this.boxKeys[d]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[d],x1:c[h],y1:c[h+1],x2:c[h+2],y2:c[h+3]})}}}var v=this.circleCells[i];if(null!==v)for(var m=this.circles,g=0,y=v;g<y.length;g+=1){var b=y[g];if(!l.circle[b]){l.circle[b]=!0;var x=3*b;if(this._circleAndRectCollide(m[x],m[x+1],m[x+2],e,t,r,n)&&(!s||s(this.circleKeys[b]))){if(a.hitTest)return o.push(!0),!0;var A=m[x],w=m[x+1],_=m[x+2];o.push({key:this.circleKeys[b],x1:A-_,y1:w-_,x2:A+_,y2:w+_})}}}},Ye.prototype._queryCellCircle=function(e,t,r,n,i,o,a,s){var l=a.circle,u=a.seenUids,c=this.boxCells[i];if(null!==c)for(var f=this.bboxes,p=0,d=c;p<d.length;p+=1){var h=d[p];if(!u.box[h]){u.box[h]=!0;var v=4*h;if(this._circleAndRectCollide(l.x,l.y,l.radius,f[v+0],f[v+1],f[v+2],f[v+3])&&(!s||s(this.boxKeys[h])))return o.push(!0),!0}}var m=this.circleCells[i];if(null!==m)for(var g=this.circles,y=0,b=m;y<b.length;y+=1){var x=b[y];if(!u.circle[x]){u.circle[x]=!0;var A=3*x;if(this._circlesCollide(g[A],g[A+1],g[A+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[x])))return o.push(!0),!0}}},Ye.prototype._forEachCell=function(e,t,r,n,i,o,a,s){for(var l=this._convertToXCellCoord(e),u=this._convertToYCellCoord(t),c=this._convertToXCellCoord(r),f=this._convertToYCellCoord(n),p=l;p<=c;p++)for(var d=u;d<=f;d++)if(i.call(this,e,t,r,n,this.xCellCount*d+p,o,a,s))return},Ye.prototype._convertToXCellCoord=function(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))},Ye.prototype._convertToYCellCoord=function(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))},Ye.prototype._circlesCollide=function(e,t,r,n,i,o){var a=n-e,s=i-t,l=r+o;return l*l>a*a+s*s},Ye.prototype._circleAndRectCollide=function(e,t,r,n,i,o,a){var s=(o-n)/2,l=Math.abs(e-(n+s));if(l>s+r)return!1;var u=(a-i)/2,c=Math.abs(t-(i+u));if(c>u+r)return!1;if(l<=s||c<=u)return!0;var f=l-s,p=c-u;return f*f+p*p<=r*r};var lt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ut(e,t){for(var r=0;r<e;r++){var n=t.length;t.resize(n+4),t.float32.set(lt,3*n)}}function ct(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[4]*i+r[12],e[1]=r[1]*n+r[5]*i+r[13],e[3]=r[3]*n+r[7]*i+r[15],e}var ft=function(e,t,r){void 0===t&&(t=new Ye(e.width+200,e.height+200,25)),void 0===r&&(r=new Ye(e.width+200,e.height+200,25)),this.transform=e,this.grid=t,this.ignoredGrid=r,this.pitchfactor=Math.cos(e._pitch)*e.cameraToCenterDistance,this.screenRightBoundary=e.width+100,this.screenBottomBoundary=e.height+100,this.gridRightBoundary=e.width+200,this.gridBottomBoundary=e.height+200};function pt(t,r,n){return r*(e.EXTENT/(t.tileSize*Math.pow(2,n-t.tileID.overscaledZ)))}ft.prototype.placeCollisionBox=function(e,t,r,n,i){var o=this.projectAndGetPerspectiveRatio(n,e.anchorPointX,e.anchorPointY),a=r*o.perspectiveRatio,s=e.x1*a+o.point.x,l=e.y1*a+o.point.y,u=e.x2*a+o.point.x,c=e.y2*a+o.point.y;return!this.isInsideGrid(s,l,u,c)||!t&&this.grid.hitTest(s,l,u,c,i)?{box:[],offscreen:!1}:{box:[s,l,u,c],offscreen:this.isOffscreen(s,l,u,c)}},ft.prototype.placeCollisionCircles=function(t,r,n,i,o,a,s,l,u,c,f,p,d){var h=[],v=new e.Point(r.anchorX,r.anchorY),m=Je(v,a),g=et(this.transform.cameraToCenterDistance,m.signedDistanceFromCamera),y=(c?o/g:o*g)/e.ONE_EM,b=Je(v,s).point,x=nt(y,i,r.lineOffsetX*y,r.lineOffsetY*y,!1,b,v,r,n,s,{}),A=!1,w=!1,_=!0;if(x){for(var E=.5*p*g+d,k=new e.Point(-100,-100),T=new e.Point(this.screenRightBoundary,this.screenBottomBoundary),C=new $e,S=x.first,O=x.last,M=[],P=S.path.length-1;P>=1;P--)M.push(S.path[P]);for(var B=1;B<O.path.length;B++)M.push(O.path[B]);var L=2.5*E;if(l){var D=M.map((function(e){return Je(e,l)}));M=D.some((function(e){return e.signedDistanceFromCamera<=0}))?[]:D.map((function(e){return e.point}))}var I=[];if(M.length>0){for(var j=M[0].clone(),R=M[0].clone(),F=1;F<M.length;F++)j.x=Math.min(j.x,M[F].x),j.y=Math.min(j.y,M[F].y),R.x=Math.max(R.x,M[F].x),R.y=Math.max(R.y,M[F].y);I=j.x>=k.x&&R.x<=T.x&&j.y>=k.y&&R.y<=T.y?[M]:R.x<k.x||j.x>T.x||R.y<k.y||j.y>T.y?[]:e.clipLine([M],k.x,k.y,T.x,T.y)}for(var N=0,z=I;N<z.length;N+=1){var U;C.reset(z[N],.25*E),U=C.length<=.5*E?1:Math.ceil(C.paddedLength/L)+1;for(var H=0;H<U;H++){var V=H/Math.max(U-1,1),Q=C.lerp(V),W=Q.x+100,K=Q.y+100;h.push(W,K,E,0);var q=W-E,G=K-E,$=W+E,Y=K+E;if(_=_&&this.isOffscreen(q,G,$,Y),w=w||this.isInsideGrid(q,G,$,Y),!t&&this.grid.hitTestCircle(W,K,E,f)&&(A=!0,!u))return{circles:[],offscreen:!1,collisionDetected:A}}}}return{circles:!u&&A||!w?[]:h,offscreen:_,collisionDetected:A}},ft.prototype.queryRenderedSymbols=function(t){if(0===t.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var r=[],n=1/0,i=1/0,o=-1/0,a=-1/0,s=0,l=t;s<l.length;s+=1){var u=l[s],c=new e.Point(u.x+100,u.y+100);n=Math.min(n,c.x),i=Math.min(i,c.y),o=Math.max(o,c.x),a=Math.max(a,c.y),r.push(c)}for(var f={},p={},d=0,h=this.grid.query(n,i,o,a).concat(this.ignoredGrid.query(n,i,o,a));d<h.length;d+=1){var v=h[d],m=v.key;if(void 0===f[m.bucketInstanceId]&&(f[m.bucketInstanceId]={}),!f[m.bucketInstanceId][m.featureIndex]){var g=[new e.Point(v.x1,v.y1),new e.Point(v.x2,v.y1),new e.Point(v.x2,v.y2),new e.Point(v.x1,v.y2)];e.polygonIntersectsPolygon(r,g)&&(f[m.bucketInstanceId][m.featureIndex]=!0,void 0===p[m.bucketInstanceId]&&(p[m.bucketInstanceId]=[]),p[m.bucketInstanceId].push(m.featureIndex))}}return p},ft.prototype.insertCollisionBox=function(e,t,r,n,i){(t?this.ignoredGrid:this.grid).insert({bucketInstanceId:r,featureIndex:n,collisionGroupID:i},e[0],e[1],e[2],e[3])},ft.prototype.insertCollisionCircles=function(e,t,r,n,i){for(var o=t?this.ignoredGrid:this.grid,a={bucketInstanceId:r,featureIndex:n,collisionGroupID:i},s=0;s<e.length;s+=4)o.insertCircle(a,e[s],e[s+1],e[s+2])},ft.prototype.projectAndGetPerspectiveRatio=function(t,r,n){var i=[r,n,0,1];return ct(i,i,t),{point:new e.Point((i[0]/i[3]+1)/2*this.transform.width+100,(-i[1]/i[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5}},ft.prototype.isOffscreen=function(e,t,r,n){return r<100||e>=this.screenRightBoundary||n<100||t>this.screenBottomBoundary},ft.prototype.isInsideGrid=function(e,t,r,n){return r>=0&&e<this.gridRightBoundary&&n>=0&&t<this.gridBottomBoundary},ft.prototype.getViewportMatrix=function(){var t=e.identity([]);return e.translate(t,t,[-100,-100,0]),t};var dt=function(e,t,r,n){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):n&&r?1:0,this.placed=r};dt.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ht=function(e,t,r,n,i){this.text=new dt(e?e.text:null,t,r,i),this.icon=new dt(e?e.icon:null,t,n,i)};ht.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var vt=function(e,t,r){this.text=e,this.icon=t,this.skipFade=r},mt=function(){this.invProjMatrix=e.create(),this.viewportMatrix=e.create(),this.circles=[]},gt=function(e,t,r,n,i){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=r,this.bucketIndex=n,this.tileID=i},yt=function(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={}};function bt(t,r,n,i,o){var a=e.getAnchorAlignment(t),s=-(a.horizontalAlign-.5)*r,l=-(a.verticalAlign-.5)*n,u=e.evaluateVariableOffset(t,i);return new e.Point(s+u[0]*o,l+u[1]*o)}function xt(t,r,n,i,o,a){var s=t.x1,l=t.x2,u=t.y1,c=t.y2,f=t.anchorPointX,p=t.anchorPointY,d=new e.Point(r,n);return i&&d._rotate(o?a:-a),{x1:s+d.x,y1:u+d.y,x2:l+d.x,y2:c+d.y,anchorPointX:f,anchorPointY:p}}yt.prototype.get=function(e){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[e]){var t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:function(e){return e.collisionGroupID===t}}}return this.collisionGroups[e]};var At=function(e,t,r,n){this.transform=e.clone(),this.collisionIndex=new ft(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=t,this.retainedQueryData={},this.collisionGroups=new yt(r),this.collisionCircleArrays={},this.prevPlacement=n,n&&(n.prevPlacement=void 0),this.placedOrientations={}};function wt(e,t,r,n,i){e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0)}At.prototype.getBucketParts=function(t,r,n,i){var o=n.getBucket(r),a=n.latestFeatureIndex;if(o&&a&&r.id===o.layerIds[0]){var s=n.collisionBoxArray,l=o.layers[0].layout,u=Math.pow(2,this.transform.zoom-n.tileID.overscaledZ),c=n.tileSize/e.EXTENT,f=this.transform.calculatePosMatrix(n.tileID.toUnwrapped()),p="map"===l.get("text-pitch-alignment"),d="map"===l.get("text-rotation-alignment"),h=pt(n,1,this.transform.zoom),v=Xe(f,p,d,this.transform,h),m=null;if(p){var g=Ze(f,p,d,this.transform,h);m=e.multiply([],this.transform.labelPlaneMatrix,g)}this.retainedQueryData[o.bucketInstanceId]=new gt(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,n.tileID);var y={bucket:o,layout:l,posMatrix:f,textLabelPlaneMatrix:v,labelToScreenMatrix:m,scale:u,textPixelRatio:c,holdingForFade:n.holdingForFade(),collisionBoxArray:s,partiallyEvaluatedTextSize:e.evaluateSizeForZoom(o.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(o.sourceID)};if(i)for(var b=0,x=o.sortKeyRanges;b<x.length;b+=1){var A=x[b];t.push({sortKey:A.sortKey,symbolInstanceStart:A.symbolInstanceStart,symbolInstanceEnd:A.symbolInstanceEnd,parameters:y})}else t.push({symbolInstanceStart:0,symbolInstanceEnd:o.symbolInstances.length,parameters:y})}},At.prototype.attemptAnchorPlacement=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h){var v,m=[f.textOffset0,f.textOffset1],g=bt(e,r,n,m,i),y=this.collisionIndex.placeCollisionBox(xt(t,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate);if(!h||0!==this.collisionIndex.placeCollisionBox(xt(h,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate).box.length)return y.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID].text&&(v=this.prevPlacement.variableOffsets[f.crossTileID].anchor),this.variableOffsets[f.crossTileID]={textOffset:m,width:r,height:n,anchor:e,textBoxScale:i,prevAnchor:v},this.markUsedJustification(p,e,f,d),p.allowVerticalPlacement&&(this.markUsedOrientation(p,d,f),this.placedOrientations[f.crossTileID]=d),{shift:g,placedGlyphBoxes:y}):void 0},At.prototype.placeLayerBucketPart=function(t,r,n){var i=this,o=t.parameters,a=o.bucket,s=o.layout,l=o.posMatrix,u=o.textLabelPlaneMatrix,c=o.labelToScreenMatrix,f=o.textPixelRatio,p=o.holdingForFade,d=o.collisionBoxArray,h=o.partiallyEvaluatedTextSize,v=o.collisionGroup,m=s.get("text-optional"),g=s.get("icon-optional"),y=s.get("text-allow-overlap"),b=s.get("icon-allow-overlap"),x="map"===s.get("text-rotation-alignment"),A="map"===s.get("text-pitch-alignment"),w="none"!==s.get("icon-text-fit"),_="viewport-y"===s.get("symbol-z-order"),E=y&&(b||!a.hasIconData()||g),k=b&&(y||!a.hasTextData()||m);!a.collisionArrays&&d&&a.deserializeCollisionBoxes(d);var T=function(t,o){if(!r[t.crossTileID])if(p)i.placements[t.crossTileID]=new vt(!1,!1,!1);else{var d,_=!1,T=!1,C=!0,S=null,O={box:null,offscreen:null},M={box:null,offscreen:null},P=null,B=null,L=0,D=0,I=0;o.textFeatureIndex?L=o.textFeatureIndex:t.useRuntimeCollisionCircles&&(L=t.featureIndex),o.verticalTextFeatureIndex&&(D=o.verticalTextFeatureIndex);var j=o.textBox;if(j){var R=function(r){var n=e.WritingMode.horizontal;if(a.allowVerticalPlacement&&!r&&i.prevPlacement){var o=i.prevPlacement.placedOrientations[t.crossTileID];o&&(i.placedOrientations[t.crossTileID]=o,i.markUsedOrientation(a,n=o,t))}return n},F=function(r,n){if(a.allowVerticalPlacement&&t.numVerticalGlyphVertices>0&&o.verticalTextBox)for(var i=0,s=a.writingModes;i<s.length&&(s[i]===e.WritingMode.vertical?(O=n(),M=O):O=r(),!(O&&O.box&&O.box.length));i+=1);else O=r()};if(s.get("text-variable-anchor")){var N=s.get("text-variable-anchor");if(i.prevPlacement&&i.prevPlacement.variableOffsets[t.crossTileID]){var z=i.prevPlacement.variableOffsets[t.crossTileID];N.indexOf(z.anchor)>0&&(N=N.filter((function(e){return e!==z.anchor}))).unshift(z.anchor)}var U=function(e,r,n){for(var o=e.x2-e.x1,s=e.y2-e.y1,u=t.textBoxScale,c=w&&!b?r:null,p={box:[],offscreen:!1},d=y?2*N.length:N.length,h=0;h<d;++h){var m=i.attemptAnchorPlacement(N[h%N.length],e,o,s,u,x,A,f,l,v,h>=N.length,t,a,n,c);if(m&&(p=m.placedGlyphBoxes)&&p.box&&p.box.length){_=!0,S=m.shift;break}}return p};F((function(){return U(j,o.iconBox,e.WritingMode.horizontal)}),(function(){var r=o.verticalTextBox;return a.allowVerticalPlacement&&!(O&&O.box&&O.box.length)&&t.numVerticalGlyphVertices>0&&r?U(r,o.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null}})),O&&(_=O.box,C=O.offscreen);var H=R(O&&O.box);if(!_&&i.prevPlacement){var V=i.prevPlacement.variableOffsets[t.crossTileID];V&&(i.variableOffsets[t.crossTileID]=V,i.markUsedJustification(a,V.anchor,t,H))}}else{var Q=function(e,r){var n=i.collisionIndex.placeCollisionBox(e,y,f,l,v.predicate);return n&&n.box&&n.box.length&&(i.markUsedOrientation(a,r,t),i.placedOrientations[t.crossTileID]=r),n};F((function(){return Q(j,e.WritingMode.horizontal)}),(function(){var r=o.verticalTextBox;return a.allowVerticalPlacement&&t.numVerticalGlyphVertices>0&&r?Q(r,e.WritingMode.vertical):{box:null,offscreen:null}})),R(O&&O.box&&O.box.length)}}if(_=(d=O)&&d.box&&d.box.length>0,C=d&&d.offscreen,t.useRuntimeCollisionCircles){var W=a.text.placedSymbolArray.get(t.centerJustifiedTextSymbolIndex),K=e.evaluateSizeForFeature(a.textSizeData,h,W),q=s.get("text-padding");P=i.collisionIndex.placeCollisionCircles(y,W,a.lineVertexArray,a.glyphOffsetArray,K,l,u,c,n,A,v.predicate,t.collisionCircleDiameter,q),_=y||P.circles.length>0&&!P.collisionDetected,C=C&&P.offscreen}if(o.iconFeatureIndex&&(I=o.iconFeatureIndex),o.iconBox){var G=function(e){var t=w&&S?xt(e,S.x,S.y,x,A,i.transform.angle):e;return i.collisionIndex.placeCollisionBox(t,b,f,l,v.predicate)};T=M&&M.box&&M.box.length&&o.verticalIconBox?(B=G(o.verticalIconBox)).box.length>0:(B=G(o.iconBox)).box.length>0,C=C&&B.offscreen}var $=m||0===t.numHorizontalGlyphVertices&&0===t.numVerticalGlyphVertices,Y=g||0===t.numIconVertices;if($||Y?Y?$||(T=T&&_):_=T&&_:T=_=T&&_,_&&d&&d.box&&i.collisionIndex.insertCollisionBox(d.box,s.get("text-ignore-placement"),a.bucketInstanceId,M&&M.box&&D?D:L,v.ID),T&&B&&i.collisionIndex.insertCollisionBox(B.box,s.get("icon-ignore-placement"),a.bucketInstanceId,I,v.ID),P&&(_&&i.collisionIndex.insertCollisionCircles(P.circles,s.get("text-ignore-placement"),a.bucketInstanceId,L,v.ID),n)){var X=a.bucketInstanceId,Z=i.collisionCircleArrays[X];void 0===Z&&(Z=i.collisionCircleArrays[X]=new mt);for(var J=0;J<P.circles.length;J+=4)Z.circles.push(P.circles[J+0]),Z.circles.push(P.circles[J+1]),Z.circles.push(P.circles[J+2]),Z.circles.push(P.collisionDetected?1:0)}i.placements[t.crossTileID]=new vt(_||E,T||k,C||a.justReloaded),r[t.crossTileID]=!0}};if(_)for(var C=a.getSortedSymbolIndexes(this.transform.angle),S=C.length-1;S>=0;--S){var O=C[S];T(a.symbolInstances.get(O),a.collisionArrays[O])}else for(var M=t.symbolInstanceStart;M<t.symbolInstanceEnd;M++)T(a.symbolInstances.get(M),a.collisionArrays[M]);if(n&&a.bucketInstanceId in this.collisionCircleArrays){var P=this.collisionCircleArrays[a.bucketInstanceId];e.invert(P.invProjMatrix,l),P.viewportMatrix=this.collisionIndex.getViewportMatrix()}a.justReloaded=!1},At.prototype.markUsedJustification=function(t,r,n,i){var o;o=i===e.WritingMode.vertical?n.verticalPlacedTextSymbolIndex:{left:n.leftJustifiedTextSymbolIndex,center:n.centerJustifiedTextSymbolIndex,right:n.rightJustifiedTextSymbolIndex}[e.getAnchorJustification(r)];for(var a=0,s=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex,n.verticalPlacedTextSymbolIndex];a<s.length;a+=1){var l=s[a];l>=0&&(t.text.placedSymbolArray.get(l).crossTileID=o>=0&&l!==o?0:n.crossTileID)}},At.prototype.markUsedOrientation=function(t,r,n){for(var i=r===e.WritingMode.horizontal||r===e.WritingMode.horizontalOnly?r:0,o=r===e.WritingMode.vertical?r:0,a=0,s=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex];a<s.length;a+=1)t.text.placedSymbolArray.get(s[a]).placedOrientation=i;n.verticalPlacedTextSymbolIndex&&(t.text.placedSymbolArray.get(n.verticalPlacedTextSymbolIndex).placedOrientation=o)},At.prototype.commit=function(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;var t=this.prevPlacement,r=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;var n=t?t.symbolFadeChange(e):1,i=t?t.opacities:{},o=t?t.variableOffsets:{},a=t?t.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],u=i[s];u?(this.opacities[s]=new ht(u,n,l.text,l.icon),r=r||l.text!==u.text.placed||l.icon!==u.icon.placed):(this.opacities[s]=new ht(null,n,l.text,l.icon,l.skipFade),r=r||l.text||l.icon)}for(var c in i){var f=i[c];if(!this.opacities[c]){var p=new ht(f,n,!1,!1);p.isHidden()||(this.opacities[c]=p,r=r||f.text.placed||f.icon.placed)}}for(var d in o)this.variableOffsets[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.variableOffsets[d]=o[d]);for(var h in a)this.placedOrientations[h]||!this.opacities[h]||this.opacities[h].isHidden()||(this.placedOrientations[h]=a[h]);r?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e)},At.prototype.updateLayerOpacities=function(e,t){for(var r={},n=0,i=t;n<i.length;n+=1){var o=i[n],a=o.getBucket(e);a&&o.latestFeatureIndex&&e.id===a.layerIds[0]&&this.updateBucketOpacities(a,r,o.collisionBoxArray)}},At.prototype.updateBucketOpacities=function(t,r,n){var i=this;t.hasTextData()&&t.text.opacityVertexArray.clear(),t.hasIconData()&&t.icon.opacityVertexArray.clear(),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexArray.clear(),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexArray.clear();var o=t.layers[0].layout,a=new ht(null,0,!1,!1,!0),s=o.get("text-allow-overlap"),l=o.get("icon-allow-overlap"),u=o.get("text-variable-anchor"),c="map"===o.get("text-rotation-alignment"),f="map"===o.get("text-pitch-alignment"),p="none"!==o.get("icon-text-fit"),d=new ht(null,0,s&&(l||!t.hasIconData()||o.get("icon-optional")),l&&(s||!t.hasTextData()||o.get("text-optional")),!0);!t.collisionArrays&&n&&(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData())&&t.deserializeCollisionBoxes(n);for(var h=function(e,t,r){for(var n=0;n<t/4;n++)e.opacityVertexArray.emplaceBack(r)},v=function(n){var o=t.symbolInstances.get(n),s=o.numHorizontalGlyphVertices,l=o.numVerticalGlyphVertices,v=o.crossTileID,m=i.opacities[v];r[v]?m=a:m||(i.opacities[v]=m=d),r[v]=!0;var g=o.numIconVertices>0,y=i.placedOrientations[o.crossTileID],b=y===e.WritingMode.vertical,x=y===e.WritingMode.horizontal||y===e.WritingMode.horizontalOnly;if(s>0||l>0){var A=Mt(m.text);h(t.text,s,b?Pt:A),h(t.text,l,x?Pt:A);var w=m.text.isHidden();[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(e){e>=0&&(t.text.placedSymbolArray.get(e).hidden=w||b?1:0)})),o.verticalPlacedTextSymbolIndex>=0&&(t.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).hidden=w||x?1:0);var _=i.variableOffsets[o.crossTileID];_&&i.markUsedJustification(t,_.anchor,o,y);var E=i.placedOrientations[o.crossTileID];E&&(i.markUsedJustification(t,"left",o,E),i.markUsedOrientation(t,E,o))}if(g){var k=Mt(m.icon),T=!(p&&o.verticalPlacedIconSymbolIndex&&b);o.placedIconSymbolIndex>=0&&(h(t.icon,o.numIconVertices,T?k:Pt),t.icon.placedSymbolArray.get(o.placedIconSymbolIndex).hidden=m.icon.isHidden()),o.verticalPlacedIconSymbolIndex>=0&&(h(t.icon,o.numVerticalIconVertices,T?Pt:k),t.icon.placedSymbolArray.get(o.verticalPlacedIconSymbolIndex).hidden=m.icon.isHidden())}if(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData()){var C=t.collisionArrays[n];if(C){var S=new e.Point(0,0);if(C.textBox||C.verticalTextBox){var O=!0;if(u){var M=i.variableOffsets[v];M?(S=bt(M.anchor,M.width,M.height,M.textOffset,M.textBoxScale),c&&S._rotate(f?i.transform.angle:-i.transform.angle)):O=!1}C.textBox&&wt(t.textCollisionBox.collisionVertexArray,m.text.placed,!O||b,S.x,S.y),C.verticalTextBox&&wt(t.textCollisionBox.collisionVertexArray,m.text.placed,!O||x,S.x,S.y)}var P=Boolean(!x&&C.verticalIconBox);C.iconBox&&wt(t.iconCollisionBox.collisionVertexArray,m.icon.placed,P,p?S.x:0,p?S.y:0),C.verticalIconBox&&wt(t.iconCollisionBox.collisionVertexArray,m.icon.placed,!P,p?S.x:0,p?S.y:0)}}},m=0;m<t.symbolInstances.length;m++)v(m);if(t.sortFeatures(this.transform.angle),this.retainedQueryData[t.bucketInstanceId]&&(this.retainedQueryData[t.bucketInstanceId].featureSortOrder=t.featureSortOrder),t.hasTextData()&&t.text.opacityVertexBuffer&&t.text.opacityVertexBuffer.updateData(t.text.opacityVertexArray),t.hasIconData()&&t.icon.opacityVertexBuffer&&t.icon.opacityVertexBuffer.updateData(t.icon.opacityVertexArray),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexBuffer&&t.iconCollisionBox.collisionVertexBuffer.updateData(t.iconCollisionBox.collisionVertexArray),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexBuffer&&t.textCollisionBox.collisionVertexBuffer.updateData(t.textCollisionBox.collisionVertexArray),t.bucketInstanceId in this.collisionCircleArrays){var g=this.collisionCircleArrays[t.bucketInstanceId];t.placementInvProjMatrix=g.invProjMatrix,t.placementViewportMatrix=g.viewportMatrix,t.collisionCircleArray=g.circles,delete this.collisionCircleArrays[t.bucketInstanceId]}},At.prototype.symbolFadeChange=function(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},At.prototype.zoomAdjustment=function(e){return Math.max(0,(this.transform.zoom-e)/1.5)},At.prototype.hasTransitions=function(e){return this.stale||e-this.lastPlacementChangeTime<this.fadeDuration},At.prototype.stillRecent=function(e,t){var r=this.zoomAtLastRecencyCheck===t?1-this.zoomAdjustment(t):1;return this.zoomAtLastRecencyCheck=t,this.commitTime+this.fadeDuration*r>e},At.prototype.setStale=function(){this.stale=!0};var _t=Math.pow(2,25),Et=Math.pow(2,24),kt=Math.pow(2,17),Tt=Math.pow(2,16),Ct=Math.pow(2,9),St=Math.pow(2,8),Ot=Math.pow(2,1);function Mt(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;var t=e.placed?1:0,r=Math.floor(127*e.opacity);return r*_t+t*Et+r*kt+t*Tt+r*Ct+t*St+r*Ot+t}var Pt=0,Bt=function(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&void 0!==e.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Bt.prototype.continuePlacement=function(e,t,r,n,i){for(var o=this._bucketParts;this._currentTileIndex<e.length;)if(t.getBucketParts(o,n,e[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,i())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,o.sort((function(e,t){return e.sortKey-t.sortKey})));this._currentPartIndex<o.length;)if(t.placeLayerBucketPart(o[this._currentPartIndex],this._seenCrossTileIDs,r),this._currentPartIndex++,i())return!0;return!1};var Lt=function(e,t,r,n,i,o,a){this.placement=new At(e,i,o,a),this._currentPlacementIndex=t.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=n,this._done=!1};Lt.prototype.isDone=function(){return this._done},Lt.prototype.continuePlacement=function(t,r,n){for(var i=this,o=e.browser.now(),a=function(){var t=e.browser.now()-o;return!i._forceFullPlacement&&t>2};this._currentPlacementIndex>=0;){var s=r[t[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Bt(s)),this._inProgressLayer.continuePlacement(n[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Lt.prototype.commit=function(e){return this.placement.commit(e),this.placement};var Dt=512/e.EXTENT/2,It=function(e,t,r){this.tileID=e,this.indexedSymbolInstances={},this.bucketInstanceId=r;for(var n=0;n<t.length;n++){var i=t.get(n),o=i.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:i.crossTileID,coord:this.getScaledCoordinates(i,e)})}};It.prototype.getScaledCoordinates=function(t,r){var n=Dt/Math.pow(2,r.canonical.z-this.tileID.canonical.z);return{x:Math.floor((r.canonical.x*e.EXTENT+t.anchorX)*n),y:Math.floor((r.canonical.y*e.EXTENT+t.anchorY)*n)}},It.prototype.findMatches=function(e,t,r){for(var n=this.tileID.canonical.z<t.canonical.z?1:Math.pow(2,this.tileID.canonical.z-t.canonical.z),i=0;i<e.length;i++){var o=e.get(i);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,t),l=0,u=a;l<u.length;l+=1){var c=u[l];if(Math.abs(c.coord.x-s.x)<=n&&Math.abs(c.coord.y-s.y)<=n&&!r[c.crossTileID]){r[c.crossTileID]=!0,o.crossTileID=c.crossTileID;break}}}}};var jt=function(){this.maxCrossTileID=0};jt.prototype.generate=function(){return++this.maxCrossTileID};var Rt=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Rt.prototype.handleWrapJump=function(e){var t=Math.round((e-this.lng)/360);if(0!==t)for(var r in this.indexes){var n=this.indexes[r],i={};for(var o in n){var a=n[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),i[a.tileID.key]=a}this.indexes[r]=i}this.lng=e},Rt.prototype.addBucket=function(e,t,r){if(this.indexes[e.overscaledZ]&&this.indexes[e.overscaledZ][e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key])}for(var n=0;n<t.symbolInstances.length;n++)t.symbolInstances.get(n).crossTileID=0;this.usedCrossTileIDs[e.overscaledZ]||(this.usedCrossTileIDs[e.overscaledZ]={});var i=this.usedCrossTileIDs[e.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>e.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(e)&&l.findMatches(t.symbolInstances,e,i)}else{var u=a[e.scaledTo(Number(o)).key];u&&u.findMatches(t.symbolInstances,e,i)}}for(var c=0;c<t.symbolInstances.length;c++){var f=t.symbolInstances.get(c);f.crossTileID||(f.crossTileID=r.generate(),i[f.crossTileID]=!0)}return void 0===this.indexes[e.overscaledZ]&&(this.indexes[e.overscaledZ]={}),this.indexes[e.overscaledZ][e.key]=new It(e,t.symbolInstances,t.bucketInstanceId),!0},Rt.prototype.removeBucketCrossTileIDs=function(e,t){for(var r in t.indexedSymbolInstances)for(var n=0,i=t.indexedSymbolInstances[r];n<i.length;n+=1)delete this.usedCrossTileIDs[e][i[n].crossTileID]},Rt.prototype.removeStaleBuckets=function(e){var t=!1;for(var r in this.indexes){var n=this.indexes[r];for(var i in n)e[n[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,n[i]),delete n[i],t=!0)}return t};var Ft=function(){this.layerIndexes={},this.crossTileIDs=new jt,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Ft.prototype.addLayer=function(e,t,r){var n=this.layerIndexes[e.id];void 0===n&&(n=this.layerIndexes[e.id]=new Rt);var i=!1,o={};n.handleWrapJump(r);for(var a=0,s=t;a<s.length;a+=1){var l=s[a],u=l.getBucket(e);u&&e.id===u.layerIds[0]&&(u.bucketInstanceId||(u.bucketInstanceId=++this.maxBucketInstanceId),n.addBucket(l.tileID,u,this.crossTileIDs)&&(i=!0),o[u.bucketInstanceId]=!0)}return n.removeStaleBuckets(o)&&(i=!0),i},Ft.prototype.pruneUnusedLayers=function(e){var t={};for(var r in e.forEach((function(e){t[e]=!0})),this.layerIndexes)t[r]||delete this.layerIndexes[r]};var Nt=function(t,r){return e.emitValidationErrors(t,r&&r.filter((function(e){return"source.canvas"!==e.identifier})))},zt=e.pick(Ue,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Ut=e.pick(Ue,["setCenter","setZoom","setBearing","setPitch"]),Ht=function(){var t={},r=e.styleSpec.$version;for(var n in e.styleSpec.$root){var i,o=e.styleSpec.$root[n];o.required&&null!=(i="version"===n?r:"array"===o.type?[]:{})&&(t[n]=i)}return t}(),Vt=function(t){function r(n,i){var o=this;void 0===i&&(i={}),t.call(this),this.map=n,this.dispatcher=new E(Fe(),this),this.imageManager=new p,this.imageManager.setEventedParent(this),this.glyphManager=new b(n._requestManager,i.localIdeographFontFamily),this.lineAtlas=new _(256,512),this.crossTileSymbolIndex=new Ft,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new e.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",e.getReferrer());var a=this;this._rtlTextPluginCallback=r.registerForPluginStateChange((function(t){a.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:t.pluginStatus,pluginURL:t.pluginURL},(function(t,r){if(e.triggerPluginCompletionEvent(t),r&&r.every((function(e){return e})))for(var n in a.sourceCaches)a.sourceCaches[n].reload()}))})),this.on("data",(function(e){if("source"===e.dataType&&"metadata"===e.sourceDataType){var t=o.sourceCaches[e.sourceId];if(t){var r=t.getSource();if(r&&r.vectorLayerIds)for(var n in o._layers){var i=o._layers[n];i.source===r.id&&o._validateLayer(i)}}}}))}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.loadURL=function(t,r){var n=this;void 0===r&&(r={}),this.fire(new e.Event("dataloading",{dataType:"style"}));var i="boolean"==typeof r.validate?r.validate:!e.isMapboxURL(t);t=this.map._requestManager.normalizeStyleURL(t,r.accessToken);var o=this.map._requestManager.transformRequest(t,e.ResourceType.Style);this._request=e.getJSON(o,(function(t,r){n._request=null,t?n.fire(new e.ErrorEvent(t)):r&&n._load(r,i)}))},r.prototype.loadJSON=function(t,r){var n=this;void 0===r&&(r={}),this.fire(new e.Event("dataloading",{dataType:"style"})),this._request=e.browser.frame((function(){n._request=null,n._load(t,!1!==r.validate)}))},r.prototype.loadEmpty=function(){this.fire(new e.Event("dataloading",{dataType:"style"})),this._load(Ht,!1)},r.prototype._load=function(t,r){if(!r||!Nt(this,e.validateStyle(t))){for(var n in this._loaded=!0,this.stylesheet=t,t.sources)this.addSource(n,t.sources[n],{validate:!1});t.sprite?this._loadSprite(t.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(t.glyphs);var i=ze(this.stylesheet.layers);this._order=i.map((function(e){return e.id})),this._layers={},this._serializedLayers={};for(var o=0,a=i;o<a.length;o+=1){var s=a[o];(s=e.createStyleLayer(s)).setEventedParent(this,{layer:{id:s.id}}),this._layers[s.id]=s,this._serializedLayers[s.id]=s.serialize()}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new e.Event("data",{dataType:"style"})),this.fire(new e.Event("style.load"))}},r.prototype._loadSprite=function(t){var r=this;this._spriteRequest=function(t,r,n){var i,o,a,s=e.browser.devicePixelRatio>1?"@2x":"",l=e.getJSON(r.transformRequest(r.normalizeSpriteURL(t,s,".json"),e.ResourceType.SpriteJSON),(function(e,t){l=null,a||(a=e,i=t,c())})),u=e.getImage(r.transformRequest(r.normalizeSpriteURL(t,s,".png"),e.ResourceType.SpriteImage),(function(e,t){u=null,a||(a=e,o=t,c())}));function c(){if(a)n(a);else if(i&&o){var t=e.browser.getImageData(o),r={};for(var s in i){var l=i[s],u=l.width,c=l.height,f=l.x,p=l.y,d=l.sdf,h=l.pixelRatio,v=l.stretchX,m=l.stretchY,g=l.content,y=new e.RGBAImage({width:u,height:c});e.RGBAImage.copy(t,y,{x:f,y:p},{x:0,y:0},{width:u,height:c}),r[s]={data:y,pixelRatio:h,sdf:d,stretchX:v,stretchY:m,content:g}}n(null,r)}}return{cancel:function(){l&&(l.cancel(),l=null),u&&(u.cancel(),u=null)}}}(t,this.map._requestManager,(function(t,n){if(r._spriteRequest=null,t)r.fire(new e.ErrorEvent(t));else if(n)for(var i in n)r.imageManager.addImage(i,n[i]);r.imageManager.setLoaded(!0),r._availableImages=r.imageManager.listImages(),r.dispatcher.broadcast("setImages",r._availableImages),r.fire(new e.Event("data",{dataType:"style"}))}))},r.prototype._validateLayer=function(t){var r=this.sourceCaches[t.source];if(r){var n=t.sourceLayer;if(n){var i=r.getSource();("geojson"===i.type||i.vectorLayerIds&&-1===i.vectorLayerIds.indexOf(n))&&this.fire(new e.ErrorEvent(new Error('Source layer "'+n+'" does not exist on source "'+i.id+'" as specified by style layer "'+t.id+'"')))}}},r.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var e in this.sourceCaches)if(!this.sourceCaches[e].loaded())return!1;return!!this.imageManager.isLoaded()},r.prototype._serializeLayers=function(e){for(var t=[],r=0,n=e;r<n.length;r+=1){var i=this._layers[n[r]];"custom"!==i.type&&t.push(i.serialize())}return t},r.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var e in this.sourceCaches)if(this.sourceCaches[e].hasTransition())return!0;for(var t in this._layers)if(this._layers[t].hasTransition())return!0;return!1},r.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},r.prototype.update=function(t){if(this._loaded){var r=this._changed;if(this._changed){var n=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);for(var o in(n.length||i.length)&&this._updateWorkerLayers(n,i),this._updatedSources){var a=this._updatedSources[o];"reload"===a?this._reloadSource(o):"clear"===a&&this._clearSource(o)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(t);this.light.updateTransitions(t),this._resetUpdates()}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var u=0,c=this._order;u<c.length;u+=1){var f=this._layers[c[u]];f.recalculate(t,this._availableImages),!f.isHidden(t.zoom)&&f.source&&(this.sourceCaches[f.source].used=!0)}this.light.recalculate(t),this.z=t.zoom,r&&this.fire(new e.Event("data",{dataType:"style"}))}},r.prototype._updateTilesForChangedImages=function(){var e=Object.keys(this._changedImages);if(e.length){for(var t in this.sourceCaches)this.sourceCaches[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={}}},r.prototype._updateWorkerLayers=function(e,t){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(e),removedIds:t})},r.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},r.prototype.setState=function(t){var r=this;if(this._checkLoaded(),Nt(this,e.validateStyle(t)))return!1;(t=e.clone$1(t)).layers=ze(t.layers);var n=function(t,r){if(!t)return[{command:Ue.setStyle,args:[r]}];var n=[];try{if(!e.deepEqual(t.version,r.version))return[{command:Ue.setStyle,args:[r]}];e.deepEqual(t.center,r.center)||n.push({command:Ue.setCenter,args:[r.center]}),e.deepEqual(t.zoom,r.zoom)||n.push({command:Ue.setZoom,args:[r.zoom]}),e.deepEqual(t.bearing,r.bearing)||n.push({command:Ue.setBearing,args:[r.bearing]}),e.deepEqual(t.pitch,r.pitch)||n.push({command:Ue.setPitch,args:[r.pitch]}),e.deepEqual(t.sprite,r.sprite)||n.push({command:Ue.setSprite,args:[r.sprite]}),e.deepEqual(t.glyphs,r.glyphs)||n.push({command:Ue.setGlyphs,args:[r.glyphs]}),e.deepEqual(t.transition,r.transition)||n.push({command:Ue.setTransition,args:[r.transition]}),e.deepEqual(t.light,r.light)||n.push({command:Ue.setLight,args:[r.light]});var i={},o=[];!function(t,r,n,i){var o;for(o in r=r||{},t=t||{})t.hasOwnProperty(o)&&(r.hasOwnProperty(o)||Ve(o,n,i));for(o in r)r.hasOwnProperty(o)&&(t.hasOwnProperty(o)?e.deepEqual(t[o],r[o])||("geojson"===t[o].type&&"geojson"===r[o].type&&We(t,r,o)?n.push({command:Ue.setGeoJSONSourceData,args:[o,r[o].data]}):Qe(o,r,n,i)):He(o,r,n))}(t.sources,r.sources,o,i);var a=[];t.layers&&t.layers.forEach((function(e){i[e.source]?n.push({command:Ue.removeLayer,args:[e.id]}):a.push(e)})),n=n.concat(o),function(t,r,n){r=r||[];var i,o,a,s,l,u,c,f=(t=t||[]).map(qe),p=r.map(qe),d=t.reduce(Ge,{}),h=r.reduce(Ge,{}),v=f.slice(),m=Object.create(null);for(i=0,o=0;i<f.length;i++)h.hasOwnProperty(a=f[i])?o++:(n.push({command:Ue.removeLayer,args:[a]}),v.splice(v.indexOf(a,o),1));for(i=0,o=0;i<p.length;i++)v[v.length-1-i]!==(a=p[p.length-1-i])&&(d.hasOwnProperty(a)?(n.push({command:Ue.removeLayer,args:[a]}),v.splice(v.lastIndexOf(a,v.length-o),1)):o++,n.push({command:Ue.addLayer,args:[h[a],u=v[v.length-i]]}),v.splice(v.length-i,0,a),m[a]=!0);for(i=0;i<p.length;i++)if(s=d[a=p[i]],l=h[a],!m[a]&&!e.deepEqual(s,l))if(e.deepEqual(s.source,l.source)&&e.deepEqual(s["source-layer"],l["source-layer"])&&e.deepEqual(s.type,l.type)){for(c in Ke(s.layout,l.layout,n,a,null,Ue.setLayoutProperty),Ke(s.paint,l.paint,n,a,null,Ue.setPaintProperty),e.deepEqual(s.filter,l.filter)||n.push({command:Ue.setFilter,args:[a,l.filter]}),e.deepEqual(s.minzoom,l.minzoom)&&e.deepEqual(s.maxzoom,l.maxzoom)||n.push({command:Ue.setLayerZoomRange,args:[a,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?Ke(s[c],l[c],n,a,c.slice(6),Ue.setPaintProperty):e.deepEqual(s[c],l[c])||n.push({command:Ue.setLayerProperty,args:[a,c,l[c]]}));for(c in l)l.hasOwnProperty(c)&&!s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?Ke(s[c],l[c],n,a,c.slice(6),Ue.setPaintProperty):e.deepEqual(s[c],l[c])||n.push({command:Ue.setLayerProperty,args:[a,c,l[c]]}))}else n.push({command:Ue.removeLayer,args:[a]}),u=v[v.lastIndexOf(a)+1],n.push({command:Ue.addLayer,args:[l,u]})}(a,r.layers,n)}catch(e){console.warn("Unable to compute style diff:",e),n=[{command:Ue.setStyle,args:[r]}]}return n}(this.serialize(),t).filter((function(e){return!(e.command in Ut)}));if(0===n.length)return!1;var i=n.filter((function(e){return!(e.command in zt)}));if(i.length>0)throw new Error("Unimplemented: "+i.map((function(e){return e.command})).join(", ")+".");return n.forEach((function(e){"setTransition"!==e.command&&r[e.command].apply(r,e.args)})),this.stylesheet=t,!0},r.prototype.addImage=function(t,r){if(this.getImage(t))return this.fire(new e.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(t,r),this._availableImages=this.imageManager.listImages(),this._changedImages[t]=!0,this._changed=!0,this.fire(new e.Event("data",{dataType:"style"}))},r.prototype.updateImage=function(e,t){this.imageManager.updateImage(e,t)},r.prototype.getImage=function(e){return this.imageManager.getImage(e)},r.prototype.removeImage=function(t){if(!this.getImage(t))return this.fire(new e.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(t),this._availableImages=this.imageManager.listImages(),this._changedImages[t]=!0,this._changed=!0,this.fire(new e.Event("data",{dataType:"style"}))},r.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},r.prototype.addSource=function(t,r,n){var i=this;if(void 0===n&&(n={}),this._checkLoaded(),void 0!==this.sourceCaches[t])throw new Error("There is already a source with this ID");if(!r.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(r).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(r.type)>=0&&this._validate(e.validateStyle.source,"sources."+t,r,null,n))){this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);var o=this.sourceCaches[t]=new Me(t,r,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:i.loaded(),source:o.serialize(),sourceId:t}})),o.onAdd(this.map),this._changed=!0}},r.prototype.removeSource=function(t){if(this._checkLoaded(),void 0===this.sourceCaches[t])throw new Error("There is no source with this ID");for(var r in this._layers)if(this._layers[r].source===t)return this.fire(new e.ErrorEvent(new Error('Source "'+t+'" cannot be removed while layer "'+r+'" is using it.')));var n=this.sourceCaches[t];delete this.sourceCaches[t],delete this._updatedSources[t],n.fire(new e.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:t})),n.setEventedParent(null),n.clearTiles(),n.onRemove&&n.onRemove(this.map),this._changed=!0},r.prototype.setGeoJSONSourceData=function(e,t){this._checkLoaded(),this.sourceCaches[e].getSource().setData(t),this._changed=!0},r.prototype.getSource=function(e){return this.sourceCaches[e]&&this.sourceCaches[e].getSource()},r.prototype.addLayer=function(t,r,n){void 0===n&&(n={}),this._checkLoaded();var i=t.id;if(this.getLayer(i))this.fire(new e.ErrorEvent(new Error('Layer with id "'+i+'" already exists on this map')));else{var o;if("custom"===t.type){if(Nt(this,e.validateCustomStyleLayer(t)))return;o=e.createStyleLayer(t)}else{if("object"==typeof t.source&&(this.addSource(i,t.source),t=e.clone$1(t),t=e.extend(t,{source:i})),this._validate(e.validateStyle.layer,"layers."+i,t,{arrayIndex:-1},n))return;o=e.createStyleLayer(t),this._validateLayer(o),o.setEventedParent(this,{layer:{id:i}}),this._serializedLayers[o.id]=o.serialize()}var a=r?this._order.indexOf(r):this._order.length;if(r&&-1===a)this.fire(new e.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.')));else{if(this._order.splice(a,0,i),this._layerOrderChanged=!0,this._layers[i]=o,this._removedLayers[i]&&o.source&&"custom"!==o.type){var s=this._removedLayers[i];delete this._removedLayers[i],s.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},r.prototype.moveLayer=function(t,r){if(this._checkLoaded(),this._changed=!0,this._layers[t]){if(t!==r){var n=this._order.indexOf(t);this._order.splice(n,1);var i=r?this._order.indexOf(r):this._order.length;r&&-1===i?this.fire(new e.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.'))):(this._order.splice(i,0,t),this._layerOrderChanged=!0)}}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be moved.")))},r.prototype.removeLayer=function(t){this._checkLoaded();var r=this._layers[t];if(r){r.setEventedParent(null);var n=this._order.indexOf(t);this._order.splice(n,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[t]=r,delete this._layers[t],delete this._serializedLayers[t],delete this._updatedLayers[t],delete this._updatedPaintProps[t],r.onRemove&&r.onRemove(this.map)}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be removed.")))},r.prototype.getLayer=function(e){return this._layers[e]},r.prototype.hasLayer=function(e){return e in this._layers},r.prototype.setLayerZoomRange=function(t,r,n){this._checkLoaded();var i=this.getLayer(t);i?i.minzoom===r&&i.maxzoom===n||(null!=r&&(i.minzoom=r),null!=n&&(i.maxzoom=n),this._updateLayer(i)):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot have zoom extent.")))},r.prototype.setFilter=function(t,r,n){void 0===n&&(n={}),this._checkLoaded();var i=this.getLayer(t);if(i){if(!e.deepEqual(i.filter,r))return null==r?(i.filter=void 0,void this._updateLayer(i)):void(this._validate(e.validateStyle.filter,"layers."+i.id+".filter",r,null,n)||(i.filter=e.clone$1(r),this._updateLayer(i)))}else this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be filtered.")))},r.prototype.getFilter=function(t){return e.clone$1(this.getLayer(t).filter)},r.prototype.setLayoutProperty=function(t,r,n,i){void 0===i&&(i={}),this._checkLoaded();var o=this.getLayer(t);o?e.deepEqual(o.getLayoutProperty(r),n)||(o.setLayoutProperty(r,n,i),this._updateLayer(o)):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getLayoutProperty=function(t,r){var n=this.getLayer(t);if(n)return n.getLayoutProperty(r);this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style.")))},r.prototype.setPaintProperty=function(t,r,n,i){void 0===i&&(i={}),this._checkLoaded();var o=this.getLayer(t);o?e.deepEqual(o.getPaintProperty(r),n)||(o.setPaintProperty(r,n,i)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[t]=!0):this.fire(new e.ErrorEvent(new Error("The layer '"+t+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getPaintProperty=function(e,t){return this.getLayer(e).getPaintProperty(t)},r.prototype.setFeatureState=function(t,r){this._checkLoaded();var n=t.source,i=t.sourceLayer,o=this.sourceCaches[n];if(void 0!==o){var a=o.getSource().type;"geojson"===a&&i?this.fire(new e.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==a||i?(void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),o.setFeatureState(i,t.id,r)):this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},r.prototype.removeFeatureState=function(t,r){this._checkLoaded();var n=t.source,i=this.sourceCaches[n];if(void 0!==i){var o=i.getSource().type,a="vector"===o?t.sourceLayer:void 0;"vector"!==o||a?r&&"string"!=typeof t.id&&"number"!=typeof t.id?this.fire(new e.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):i.removeFeatureState(a,t.id,r):this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},r.prototype.getFeatureState=function(t){this._checkLoaded();var r=t.source,n=t.sourceLayer,i=this.sourceCaches[r];if(void 0!==i){if("vector"!==i.getSource().type||n)return void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),i.getFeatureState(n,t.id);this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},r.prototype.getTransition=function(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},r.prototype.serialize=function(){return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:e.mapObject(this.sourceCaches,(function(e){return e.serialize()})),layers:this._serializeLayers(this._order)},(function(e){return void 0!==e}))},r.prototype._updateLayer=function(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.sourceCaches[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.sourceCaches[e.source].pause()),this._changed=!0},r.prototype._flattenAndSortRenderedFeatures=function(e){for(var t=this,r=function(e){return"fill-extrusion"===t._layers[e].type},n={},i=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(r(a)){n[a]=o;for(var s=0,l=e;s<l.length;s+=1){var u=l[s][a];if(u)for(var c=0,f=u;c<f.length;c+=1)i.push(f[c])}}}i.sort((function(e,t){return t.intersectionZ-e.intersectionZ}));for(var p=[],d=this._order.length-1;d>=0;d--){var h=this._order[d];if(r(h))for(var v=i.length-1;v>=0;v--){var m=i[v].feature;if(n[m.layer.id]<d)break;p.push(m),i.pop()}else for(var g=0,y=e;g<y.length;g+=1){var b=y[g][h];if(b)for(var x=0,A=b;x<A.length;x+=1)p.push(A[x].feature)}}return p},r.prototype.queryRenderedFeatures=function(t,r,n){r&&r.filter&&this._validate(e.validateStyle.filter,"queryRenderedFeatures.filter",r.filter,null,r);var i={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new e.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var o=0,a=r.layers;o<a.length;o+=1){var s=a[o],l=this._layers[s];if(!l)return this.fire(new e.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];i[l.source]=!0}}var u=[];for(var c in r.availableImages=this._availableImages,this.sourceCaches)r.layers&&!i[c]||u.push(R(this.sourceCaches[c],this._layers,this._serializedLayers,t,r,n));return this.placement&&u.push(function(e,t,r,n,i,o,a){for(var s={},l=o.queryRenderedSymbols(n),u=[],c=0,f=Object.keys(l).map(Number);c<f.length;c+=1)u.push(a[f[c]]);u.sort(F);for(var p=function(){var r=h[d],n=r.featureIndex.lookupSymbolFeatures(l[r.bucketInstanceId],t,r.bucketIndex,r.sourceLayerIndex,i.filter,i.layers,i.availableImages,e);for(var o in n){var a=s[o]=s[o]||[],u=n[o];u.sort((function(e,t){var n=r.featureSortOrder;if(n){var i=n.indexOf(e.featureIndex);return n.indexOf(t.featureIndex)-i}return t.featureIndex-e.featureIndex}));for(var c=0,f=u;c<f.length;c+=1)a.push(f[c])}},d=0,h=u;d<h.length;d+=1)p();var v=function(t){s[t].forEach((function(n){var i=n.feature,o=r[e[t].source].getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o}))};for(var m in s)v(m);return s}(this._layers,this._serializedLayers,this.sourceCaches,t,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(u)},r.prototype.querySourceFeatures=function(t,r){r&&r.filter&&this._validate(e.validateStyle.filter,"querySourceFeatures.filter",r.filter,null,r);var n=this.sourceCaches[t];return n?function(e,t){for(var r=e.getRenderableIds().map((function(t){return e.getTileByID(t)})),n=[],i={},o=0;o<r.length;o++){var a=r[o],s=a.tileID.canonical.key;i[s]||(i[s]=!0,a.querySourceFeatures(n,t))}return n}(n,r):[]},r.prototype.addSourceType=function(e,t,n){return r.getSourceType(e)?n(new Error('A source type called "'+e+'" already exists.')):(r.setSourceType(e,t),t.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:e,url:t.workerSourceURL},n):n(null,null))},r.prototype.getLight=function(){return this.light.getLight()},r.prototype.setLight=function(t,r){void 0===r&&(r={}),this._checkLoaded();var n=this.light.getLight(),i=!1;for(var o in t)if(!e.deepEqual(t[o],n[o])){i=!0;break}if(i){var a={now:e.browser.now(),transition:e.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(t,r),this.light.updateTransitions(a)}},r.prototype._validate=function(t,r,n,i,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&Nt(this,t.call(e.validateStyle,e.extend({key:r,style:this.serialize(),value:n,styleSpec:e.styleSpec},i)))},r.prototype._remove=function(){for(var t in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),e.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers)this._layers[t].setEventedParent(null);for(var r in this.sourceCaches)this.sourceCaches[r].clearTiles(),this.sourceCaches[r].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},r.prototype._clearSource=function(e){this.sourceCaches[e].clearTiles()},r.prototype._reloadSource=function(e){this.sourceCaches[e].resume(),this.sourceCaches[e].reload()},r.prototype._updateSources=function(e){for(var t in this.sourceCaches)this.sourceCaches[t].update(e)},r.prototype._generateCollisionBoxes=function(){for(var e in this.sourceCaches)this._reloadSource(e)},r.prototype._updatePlacement=function(t,r,n,i,o){void 0===o&&(o=!1);for(var a=!1,s=!1,l={},u=0,c=this._order;u<c.length;u+=1){var f=this._layers[c[u]];if("symbol"===f.type){if(!l[f.source]){var p=this.sourceCaches[f.source];l[f.source]=p.getRenderableIds(!0).map((function(e){return p.getTileByID(e)})).sort((function(e,t){return t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)}))}var d=this.crossTileSymbolIndex.addLayer(f,l[f.source],t.center.lng);a=a||d}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((o=o||this._layerOrderChanged||0===n)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(e.browser.now(),t.zoom))&&(this.pauseablePlacement=new Lt(t,this._order,o,r,n,i,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(e.browser.now()),s=!0),a&&this.pauseablePlacement.placement.setStale()),s||a)for(var h=0,v=this._order;h<v.length;h+=1){var m=this._layers[v[h]];"symbol"===m.type&&this.placement.updateLayerOpacities(m,l[m.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(e.browser.now())},r.prototype._releaseSymbolFadeTiles=function(){for(var e in this.sourceCaches)this.sourceCaches[e].releaseSymbolFadeTiles()},r.prototype.getImages=function(e,t,r){this.imageManager.getImages(t.icons,r),this._updateTilesForChangedImages();var n=this.sourceCaches[t.source];n&&n.setDependencies(t.tileID.key,t.type,t.icons)},r.prototype.getGlyphs=function(e,t,r){this.glyphManager.getGlyphs(t.stacks,r)},r.prototype.getResource=function(t,r,n){return e.makeRequest(r,n)},r}(e.Evented);Vt.getSourceType=function(e){return I[e]},Vt.setSourceType=function(e,t){I[e]=t},Vt.registerForPluginStateChange=e.registerForPluginStateChange;var Qt=e.createLayout([{name:"a_pos",type:"Int16",components:2}]),Wt=gr("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),Kt=gr("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),qt=gr("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),Gt=gr("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),$t=gr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Yt=gr("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Xt=gr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),Zt=gr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),Jt=gr("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),er=gr("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),tr=gr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),rr=gr("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),nr=gr("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),ir=gr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),or=gr("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),ar=gr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),sr=gr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),lr=gr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),ur=gr("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),cr=gr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),fr=gr("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),pr=gr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),dr=gr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),hr=gr("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),vr=gr("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),mr=gr("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function gr(e,t){var r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,n={};return{fragmentSource:e=e.replace(r,(function(e,t,r,i,o){return n[o]=!0,"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nvarying "+r+" "+i+" "+o+";\n#else\nuniform "+r+" "+i+" u_"+o+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+o+"\n "+r+" "+i+" "+o+" = u_"+o+";\n#endif\n"})),vertexSource:t=t.replace(r,(function(e,t,r,i,o){var a="float"===i?"vec2":"vec4",s=o.match(/color/)?"color":a;return n[o]?"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\nvarying "+r+" "+i+" "+o+";\n#else\nuniform "+r+" "+i+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = a_"+o+";\n#else\n "+r+" "+i+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+i+" "+o+" = u_"+o+";\n#endif\n":"define"===t?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\n#else\nuniform "+r+" "+i+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+i+" "+o+" = a_"+o+";\n#else\n "+r+" "+i+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+i+" "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+i+" "+o+" = u_"+o+";\n#endif\n"}))}}var yr=Object.freeze({__proto__:null,prelude:Wt,background:Kt,backgroundPattern:qt,circle:Gt,clippingMask:$t,heatmap:Yt,heatmapTexture:Xt,collisionBox:Zt,collisionCircle:Jt,debug:er,fill:tr,fillOutline:rr,fillOutlinePattern:nr,fillPattern:ir,fillExtrusion:or,fillExtrusionPattern:ar,hillshadePrepare:sr,hillshade:lr,line:ur,lineGradient:cr,linePattern:fr,lineSDF:pr,raster:dr,symbolIcon:hr,symbolSDF:vr,symbolTextAndIcon:mr}),br=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};br.prototype.bind=function(e,t,r,n,i,o,a,s){this.context=e;for(var l=this.boundPaintVertexBuffers.length!==n.length,u=0;!l&&u<n.length;u++)this.boundPaintVertexBuffers[u]!==n[u]&&(l=!0);e.extVertexArrayObject&&this.vao&&this.boundProgram===t&&this.boundLayoutVertexBuffer===r&&!l&&this.boundIndexBuffer===i&&this.boundVertexOffset===o&&this.boundDynamicVertexBuffer===a&&this.boundDynamicVertexBuffer2===s?(e.bindVertexArrayOES.set(this.vao),a&&a.bind(),i&&i.dynamicDraw&&i.bind(),s&&s.bind()):this.freshBind(t,r,n,i,o,a,s)},br.prototype.freshBind=function(e,t,r,n,i,o,a){var s,l=e.numAttributes,u=this.context,c=u.gl;if(u.extVertexArrayObject)this.vao&&this.destroy(),this.vao=u.extVertexArrayObject.createVertexArrayOES(),u.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=e,this.boundLayoutVertexBuffer=t,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=n,this.boundVertexOffset=i,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=u.currentNumAttributes||0;for(var f=l;f<s;f++)c.disableVertexAttribArray(f)}t.enableAttributes(c,e);for(var p=0,d=r;p<d.length;p+=1)d[p].enableAttributes(c,e);o&&o.enableAttributes(c,e),a&&a.enableAttributes(c,e),t.bind(),t.setVertexAttribPointers(c,e,i);for(var h=0,v=r;h<v.length;h+=1){var m=v[h];m.bind(),m.setVertexAttribPointers(c,e,i)}o&&(o.bind(),o.setVertexAttribPointers(c,e,i)),n&&n.bind(),a&&(a.bind(),a.setVertexAttribPointers(c,e,i)),u.currentNumAttributes=l},br.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var xr=function(e,t,r,n,i){var o=e.gl;this.program=o.createProgram();var a=r?r.defines():[];i&&a.push("#define OVERDRAW_INSPECTOR;");var s=a.concat(Wt.fragmentSource,t.fragmentSource).join("\n"),l=a.concat(Wt.vertexSource,t.vertexSource).join("\n"),u=o.createShader(o.FRAGMENT_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(u,s),o.compileShader(u),o.attachShader(this.program,u);var c=o.createShader(o.VERTEX_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(c,l),o.compileShader(c),o.attachShader(this.program,c);for(var f=r?r.layoutAttributes:[],p=0;p<f.length;p++)o.bindAttribLocation(this.program,p,f[p].name);o.linkProgram(this.program),o.deleteShader(c),o.deleteShader(u),this.numAttributes=o.getProgramParameter(this.program,o.ACTIVE_ATTRIBUTES),this.attributes={};for(var d={},h=0;h<this.numAttributes;h++){var v=o.getActiveAttrib(this.program,h);v&&(this.attributes[v.name]=o.getAttribLocation(this.program,v.name))}for(var m=o.getProgramParameter(this.program,o.ACTIVE_UNIFORMS),g=0;g<m;g++){var y=o.getActiveUniform(this.program,g);y&&(d[y.name]=o.getUniformLocation(this.program,y.name))}this.fixedUniforms=n(e,d),this.binderUniforms=r?r.getUniforms(e,d):[]}}};function Ar(e,t,r){var n=1/pt(r,1,t.transform.tileZoom),i=Math.pow(2,r.tileID.overscaledZ),o=r.tileSize*Math.pow(2,t.transform.tileZoom)/i,a=o*(r.tileID.canonical.x+r.tileID.wrap*i),s=o*r.tileID.canonical.y;return{u_image:0,u_texsize:r.imageAtlasTexture.size,u_scale:[n,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[a>>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}xr.prototype.draw=function(e,t,r,n,i,o,a,s,l,u,c,f,p,d,h,v){var m,g=e.gl;if(!this.failedToCreate){for(var y in e.program.set(this.program),e.setDepthMode(r),e.setStencilMode(n),e.setColorMode(i),e.setCullFace(o),this.fixedUniforms)this.fixedUniforms[y].set(a[y]);d&&d.setUniforms(e,this.binderUniforms,f,{zoom:p});for(var b=(m={},m[g.LINES]=2,m[g.TRIANGLES]=3,m[g.LINE_STRIP]=1,m)[t],x=0,A=c.get();x<A.length;x+=1){var w=A[x],_=w.vaos||(w.vaos={});(_[s]||(_[s]=new br)).bind(e,this,l,d?d.getPaintVertexBuffers():[],u,w.vertexOffset,h,v),g.drawElements(t,w.primitiveLength*b,g.UNSIGNED_SHORT,w.primitiveOffset*b*2)}}};var wr=function(t,r,n,i){var o=r.style.light,a=o.properties.get("position"),s=[a.x,a.y,a.z],l=e.create$1();"viewport"===o.properties.get("anchor")&&e.fromRotation(l,-r.transform.angle),e.transformMat3(s,s,l);var u=o.properties.get("color");return{u_matrix:t,u_lightpos:s,u_lightintensity:o.properties.get("intensity"),u_lightcolor:[u.r,u.g,u.b],u_vertical_gradient:+n,u_opacity:i}},_r=function(t,r,n,i,o,a,s){return e.extend(wr(t,r,n,i),Ar(a,r,s),{u_height_factor:-Math.pow(2,o.overscaledZ)/s.tileSize/8})},Er=function(e){return{u_matrix:e}},kr=function(t,r,n,i){return e.extend(Er(t),Ar(n,r,i))},Tr=function(e,t){return{u_matrix:e,u_world:t}},Cr=function(t,r,n,i,o){return e.extend(kr(t,r,n,i),{u_world:o})},Sr=function(t,r,n,i){var o,a,s=t.transform;if("map"===i.paint.get("circle-pitch-alignment")){var l=pt(n,1,s.zoom);o=!0,a=[l,l]}else o=!1,a=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===i.paint.get("circle-pitch-scale")),u_matrix:t.translatePosMatrix(r.posMatrix,n,i.paint.get("circle-translate"),i.paint.get("circle-translate-anchor")),u_pitch_with_map:+o,u_device_pixel_ratio:e.browser.devicePixelRatio,u_extrude_scale:a}},Or=function(e,t,r){var n=pt(r,1,t.zoom),i=Math.pow(2,t.zoom-r.tileID.overscaledZ),o=r.tileID.overscaleFactor();return{u_matrix:e,u_camera_to_center_distance:t.cameraToCenterDistance,u_pixels_to_tile_units:n,u_extrude_scale:[t.pixelsToGLUnits[0]/(n*i),t.pixelsToGLUnits[1]/(n*i)],u_overscale_factor:o}},Mr=function(e,t,r){return{u_matrix:e,u_inv_matrix:t,u_camera_to_center_distance:r.cameraToCenterDistance,u_viewport_size:[r.width,r.height]}},Pr=function(e,t,r){return void 0===r&&(r=1),{u_matrix:e,u_color:t,u_overlay:0,u_overlay_scale:r}},Br=function(e){return{u_matrix:e}},Lr=function(e,t,r,n){return{u_matrix:e,u_extrude_scale:pt(t,1,r),u_intensity:n}},Dr=function(t,r,n){var i=t.transform;return{u_matrix:Nr(t,r,n),u_ratio:1/pt(r,1,i.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},Ir=function(t,r,n){return e.extend(Dr(t,r,n),{u_image:0})},jr=function(t,r,n,i){var o=t.transform,a=Fr(r,o);return{u_matrix:Nr(t,r,n),u_texsize:r.imageAtlasTexture.size,u_ratio:1/pt(r,1,o.zoom),u_device_pixel_ratio:e.browser.devicePixelRatio,u_image:0,u_scale:[a,i.fromScale,i.toScale],u_fade:i.t,u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Rr=function(t,r,n,i,o){var a=t.lineAtlas,s=Fr(r,t.transform),l="round"===n.layout.get("line-cap"),u=a.getDash(i.from,l),c=a.getDash(i.to,l),f=u.width*o.fromScale,p=c.width*o.toScale;return e.extend(Dr(t,r,n),{u_patternscale_a:[s/f,-u.height/2],u_patternscale_b:[s/p,-c.height/2],u_sdfgamma:a.width/(256*Math.min(f,p)*e.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:u.y,u_tex_y_b:c.y,u_mix:o.t})};function Fr(e,t){return 1/pt(e,1,t.tileZoom)}function Nr(e,t,r){return e.translatePosMatrix(t.tileID.posMatrix,t,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}var zr=function(e,t,r,n,i){return{u_matrix:e,u_tl_parent:t,u_scale_parent:r,u_buffer_scale:1,u_fade_t:n.mix,u_opacity:n.opacity*i.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get("raster-brightness-min"),u_brightness_high:i.paint.get("raster-brightness-max"),u_saturation_factor:(a=i.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=i.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:Ur(i.paint.get("raster-hue-rotate"))};var o,a};function Ur(e){e*=Math.PI/180;var t=Math.sin(e),r=Math.cos(e);return[(2*r+1)/3,(-Math.sqrt(3)*t-r+1)/3,(Math.sqrt(3)*t-r+1)/3]}var Hr,Vr=function(e,t,r,n,i,o,a,s,l,u){var c=i.transform;return{u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+r,u_aspect_ratio:c.width/c.height,u_fade_change:i.options.fadeDuration?i.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+n,u_texsize:u,u_texture:0}},Qr=function(t,r,n,i,o,a,s,l,u,c,f){var p=o.transform;return e.extend(Vr(t,r,n,i,o,a,s,l,u,c),{u_gamma_scale:i?Math.cos(p._pitch)*p.cameraToCenterDistance:1,u_device_pixel_ratio:e.browser.devicePixelRatio,u_is_halo:+f})},Wr=function(t,r,n,i,o,a,s,l,u,c){return e.extend(Qr(t,r,n,i,o,a,s,l,!0,u,!0),{u_texsize_icon:c,u_texture_icon:1})},Kr=function(e,t,r){return{u_matrix:e,u_opacity:t,u_color:r}},qr=function(t,r,n,i,o,a){return e.extend(function(e,t,r,n){var i=r.imageManager.getPattern(e.from.toString()),o=r.imageManager.getPattern(e.to.toString()),a=r.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,n.tileID.overscaledZ),c=n.tileSize*Math.pow(2,r.transform.tileZoom)/u,f=c*(n.tileID.canonical.x+n.tileID.wrap*u),p=c*n.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:i.tl,u_pattern_br_a:i.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:t.t,u_pattern_size_a:i.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:t.fromScale,u_scale_b:t.toScale,u_tile_units_to_pixels:1/pt(n,1,r.transform.tileZoom),u_pixel_coord_upper:[f>>16,p>>16],u_pixel_coord_lower:[65535&f,65535&p]}}(i,a,n,o),{u_matrix:t,u_opacity:r})},Gr={fillExtrusion:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_lightpos:new e.Uniform3f(t,r.u_lightpos),u_lightintensity:new e.Uniform1f(t,r.u_lightintensity),u_lightcolor:new e.Uniform3f(t,r.u_lightcolor),u_vertical_gradient:new e.Uniform1f(t,r.u_vertical_gradient),u_opacity:new e.Uniform1f(t,r.u_opacity)}},fillExtrusionPattern:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_lightpos:new e.Uniform3f(t,r.u_lightpos),u_lightintensity:new e.Uniform1f(t,r.u_lightintensity),u_lightcolor:new e.Uniform3f(t,r.u_lightcolor),u_vertical_gradient:new e.Uniform1f(t,r.u_vertical_gradient),u_height_factor:new e.Uniform1f(t,r.u_height_factor),u_image:new e.Uniform1i(t,r.u_image),u_texsize:new e.Uniform2f(t,r.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,r.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,r.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,r.u_scale),u_fade:new e.Uniform1f(t,r.u_fade),u_opacity:new e.Uniform1f(t,r.u_opacity)}},fill:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix)}},fillPattern:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_image:new e.Uniform1i(t,r.u_image),u_texsize:new e.Uniform2f(t,r.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,r.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,r.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,r.u_scale),u_fade:new e.Uniform1f(t,r.u_fade)}},fillOutline:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_world:new e.Uniform2f(t,r.u_world)}},fillOutlinePattern:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_world:new e.Uniform2f(t,r.u_world),u_image:new e.Uniform1i(t,r.u_image),u_texsize:new e.Uniform2f(t,r.u_texsize),u_pixel_coord_upper:new e.Uniform2f(t,r.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,r.u_pixel_coord_lower),u_scale:new e.Uniform3f(t,r.u_scale),u_fade:new e.Uniform1f(t,r.u_fade)}},circle:function(t,r){return{u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_scale_with_map:new e.Uniform1i(t,r.u_scale_with_map),u_pitch_with_map:new e.Uniform1i(t,r.u_pitch_with_map),u_extrude_scale:new e.Uniform2f(t,r.u_extrude_scale),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_matrix:new e.UniformMatrix4f(t,r.u_matrix)}},collisionBox:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_pixels_to_tile_units:new e.Uniform1f(t,r.u_pixels_to_tile_units),u_extrude_scale:new e.Uniform2f(t,r.u_extrude_scale),u_overscale_factor:new e.Uniform1f(t,r.u_overscale_factor)}},collisionCircle:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_inv_matrix:new e.UniformMatrix4f(t,r.u_inv_matrix),u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_viewport_size:new e.Uniform2f(t,r.u_viewport_size)}},debug:function(t,r){return{u_color:new e.UniformColor(t,r.u_color),u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_overlay:new e.Uniform1i(t,r.u_overlay),u_overlay_scale:new e.Uniform1f(t,r.u_overlay_scale)}},clippingMask:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix)}},heatmap:function(t,r){return{u_extrude_scale:new e.Uniform1f(t,r.u_extrude_scale),u_intensity:new e.Uniform1f(t,r.u_intensity),u_matrix:new e.UniformMatrix4f(t,r.u_matrix)}},heatmapTexture:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_world:new e.Uniform2f(t,r.u_world),u_image:new e.Uniform1i(t,r.u_image),u_color_ramp:new e.Uniform1i(t,r.u_color_ramp),u_opacity:new e.Uniform1f(t,r.u_opacity)}},hillshade:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_image:new e.Uniform1i(t,r.u_image),u_latrange:new e.Uniform2f(t,r.u_latrange),u_light:new e.Uniform2f(t,r.u_light),u_shadow:new e.UniformColor(t,r.u_shadow),u_highlight:new e.UniformColor(t,r.u_highlight),u_accent:new e.UniformColor(t,r.u_accent)}},hillshadePrepare:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_image:new e.Uniform1i(t,r.u_image),u_dimension:new e.Uniform2f(t,r.u_dimension),u_zoom:new e.Uniform1f(t,r.u_zoom),u_maxzoom:new e.Uniform1f(t,r.u_maxzoom),u_unpack:new e.Uniform4f(t,r.u_unpack)}},line:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_ratio:new e.Uniform1f(t,r.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,r.u_units_to_pixels)}},lineGradient:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_ratio:new e.Uniform1f(t,r.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,r.u_units_to_pixels),u_image:new e.Uniform1i(t,r.u_image)}},linePattern:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_texsize:new e.Uniform2f(t,r.u_texsize),u_ratio:new e.Uniform1f(t,r.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_image:new e.Uniform1i(t,r.u_image),u_units_to_pixels:new e.Uniform2f(t,r.u_units_to_pixels),u_scale:new e.Uniform3f(t,r.u_scale),u_fade:new e.Uniform1f(t,r.u_fade)}},lineSDF:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_ratio:new e.Uniform1f(t,r.u_ratio),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_units_to_pixels:new e.Uniform2f(t,r.u_units_to_pixels),u_patternscale_a:new e.Uniform2f(t,r.u_patternscale_a),u_patternscale_b:new e.Uniform2f(t,r.u_patternscale_b),u_sdfgamma:new e.Uniform1f(t,r.u_sdfgamma),u_image:new e.Uniform1i(t,r.u_image),u_tex_y_a:new e.Uniform1f(t,r.u_tex_y_a),u_tex_y_b:new e.Uniform1f(t,r.u_tex_y_b),u_mix:new e.Uniform1f(t,r.u_mix)}},raster:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_tl_parent:new e.Uniform2f(t,r.u_tl_parent),u_scale_parent:new e.Uniform1f(t,r.u_scale_parent),u_buffer_scale:new e.Uniform1f(t,r.u_buffer_scale),u_fade_t:new e.Uniform1f(t,r.u_fade_t),u_opacity:new e.Uniform1f(t,r.u_opacity),u_image0:new e.Uniform1i(t,r.u_image0),u_image1:new e.Uniform1i(t,r.u_image1),u_brightness_low:new e.Uniform1f(t,r.u_brightness_low),u_brightness_high:new e.Uniform1f(t,r.u_brightness_high),u_saturation_factor:new e.Uniform1f(t,r.u_saturation_factor),u_contrast_factor:new e.Uniform1f(t,r.u_contrast_factor),u_spin_weights:new e.Uniform3f(t,r.u_spin_weights)}},symbolIcon:function(t,r){return{u_is_size_zoom_constant:new e.Uniform1i(t,r.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,r.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,r.u_size_t),u_size:new e.Uniform1f(t,r.u_size),u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,r.u_pitch),u_rotate_symbol:new e.Uniform1i(t,r.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,r.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,r.u_fade_change),u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,r.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,r.u_coord_matrix),u_is_text:new e.Uniform1i(t,r.u_is_text),u_pitch_with_map:new e.Uniform1i(t,r.u_pitch_with_map),u_texsize:new e.Uniform2f(t,r.u_texsize),u_texture:new e.Uniform1i(t,r.u_texture)}},symbolSDF:function(t,r){return{u_is_size_zoom_constant:new e.Uniform1i(t,r.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,r.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,r.u_size_t),u_size:new e.Uniform1f(t,r.u_size),u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,r.u_pitch),u_rotate_symbol:new e.Uniform1i(t,r.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,r.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,r.u_fade_change),u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,r.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,r.u_coord_matrix),u_is_text:new e.Uniform1i(t,r.u_is_text),u_pitch_with_map:new e.Uniform1i(t,r.u_pitch_with_map),u_texsize:new e.Uniform2f(t,r.u_texsize),u_texture:new e.Uniform1i(t,r.u_texture),u_gamma_scale:new e.Uniform1f(t,r.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(t,r.u_is_halo)}},symbolTextAndIcon:function(t,r){return{u_is_size_zoom_constant:new e.Uniform1i(t,r.u_is_size_zoom_constant),u_is_size_feature_constant:new e.Uniform1i(t,r.u_is_size_feature_constant),u_size_t:new e.Uniform1f(t,r.u_size_t),u_size:new e.Uniform1f(t,r.u_size),u_camera_to_center_distance:new e.Uniform1f(t,r.u_camera_to_center_distance),u_pitch:new e.Uniform1f(t,r.u_pitch),u_rotate_symbol:new e.Uniform1i(t,r.u_rotate_symbol),u_aspect_ratio:new e.Uniform1f(t,r.u_aspect_ratio),u_fade_change:new e.Uniform1f(t,r.u_fade_change),u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_label_plane_matrix:new e.UniformMatrix4f(t,r.u_label_plane_matrix),u_coord_matrix:new e.UniformMatrix4f(t,r.u_coord_matrix),u_is_text:new e.Uniform1i(t,r.u_is_text),u_pitch_with_map:new e.Uniform1i(t,r.u_pitch_with_map),u_texsize:new e.Uniform2f(t,r.u_texsize),u_texsize_icon:new e.Uniform2f(t,r.u_texsize_icon),u_texture:new e.Uniform1i(t,r.u_texture),u_texture_icon:new e.Uniform1i(t,r.u_texture_icon),u_gamma_scale:new e.Uniform1f(t,r.u_gamma_scale),u_device_pixel_ratio:new e.Uniform1f(t,r.u_device_pixel_ratio),u_is_halo:new e.Uniform1i(t,r.u_is_halo)}},background:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_opacity:new e.Uniform1f(t,r.u_opacity),u_color:new e.UniformColor(t,r.u_color)}},backgroundPattern:function(t,r){return{u_matrix:new e.UniformMatrix4f(t,r.u_matrix),u_opacity:new e.Uniform1f(t,r.u_opacity),u_image:new e.Uniform1i(t,r.u_image),u_pattern_tl_a:new e.Uniform2f(t,r.u_pattern_tl_a),u_pattern_br_a:new e.Uniform2f(t,r.u_pattern_br_a),u_pattern_tl_b:new e.Uniform2f(t,r.u_pattern_tl_b),u_pattern_br_b:new e.Uniform2f(t,r.u_pattern_br_b),u_texsize:new e.Uniform2f(t,r.u_texsize),u_mix:new e.Uniform1f(t,r.u_mix),u_pattern_size_a:new e.Uniform2f(t,r.u_pattern_size_a),u_pattern_size_b:new e.Uniform2f(t,r.u_pattern_size_b),u_scale_a:new e.Uniform1f(t,r.u_scale_a),u_scale_b:new e.Uniform1f(t,r.u_scale_b),u_pixel_coord_upper:new e.Uniform2f(t,r.u_pixel_coord_upper),u_pixel_coord_lower:new e.Uniform2f(t,r.u_pixel_coord_lower),u_tile_units_to_pixels:new e.Uniform1f(t,r.u_tile_units_to_pixels)}}};function $r(t,r,n,i,o,a,s){for(var l=t.context,u=l.gl,c=t.useProgram("collisionBox"),f=[],p=0,d=0,h=0;h<i.length;h++){var v=i[h],m=r.getTile(v),g=m.getBucket(n);if(g){var y=v.posMatrix;0===o[0]&&0===o[1]||(y=t.translatePosMatrix(v.posMatrix,m,o,a));var b=s?g.textCollisionBox:g.iconCollisionBox,x=g.collisionCircleArray;if(x.length>0){var A=e.create(),w=y;e.mul(A,g.placementInvProjMatrix,t.transform.glCoordMatrix),e.mul(A,A,g.placementViewportMatrix),f.push({circleArray:x,circleOffset:d,transform:w,invTransform:A}),d=p+=x.length/4}b&&c.draw(l,u.LINES,ke.disabled,Te.disabled,t.colorModeForRenderPass(),Se.disabled,Or(y,t.transform,m),n.id,b.layoutVertexBuffer,b.indexBuffer,b.segments,null,t.transform.zoom,null,null,b.collisionVertexBuffer)}}if(s&&f.length){var _=t.useProgram("collisionCircle"),E=new e.StructArrayLayout2f1f2i16;E.resize(4*p),E._trim();for(var k=0,T=0,C=f;T<C.length;T+=1)for(var S=C[T],O=0;O<S.circleArray.length/4;O++){var M=4*O,P=S.circleArray[M+0],B=S.circleArray[M+1],L=S.circleArray[M+2],D=S.circleArray[M+3];E.emplace(k++,P,B,L,D,0),E.emplace(k++,P,B,L,D,1),E.emplace(k++,P,B,L,D,2),E.emplace(k++,P,B,L,D,3)}(!Hr||Hr.length<2*p)&&(Hr=function(t){var r=2*t,n=new e.StructArrayLayout3ui6;n.resize(r),n._trim();for(var i=0;i<r;i++){var o=6*i;n.uint16[o+0]=4*i+0,n.uint16[o+1]=4*i+1,n.uint16[o+2]=4*i+2,n.uint16[o+3]=4*i+2,n.uint16[o+4]=4*i+3,n.uint16[o+5]=4*i+0}return n}(p));for(var I=l.createIndexBuffer(Hr,!0),j=l.createVertexBuffer(E,e.collisionCircleLayout.members,!0),R=0,F=f;R<F.length;R+=1){var N=F[R],z=Mr(N.transform,N.invTransform,t.transform);_.draw(l,u.TRIANGLES,ke.disabled,Te.disabled,t.colorModeForRenderPass(),Se.disabled,z,n.id,j,I,e.SegmentVector.simpleSegment(0,2*N.circleOffset,N.circleArray.length,N.circleArray.length/2),null,t.transform.zoom,null,null,null)}j.destroy(),I.destroy()}}var Yr=e.identity(new Float32Array(16));function Xr(t,r,n,i,o,a){var s=e.getAnchorAlignment(t),l=-(s.horizontalAlign-.5)*r,u=-(s.verticalAlign-.5)*n,c=e.evaluateVariableOffset(t,i);return new e.Point((l/o+c[0])*a,(u/o+c[1])*a)}function Zr(t,r,n,i,o,a,s,l,u,c,f){var p=t.text.placedSymbolArray,d=t.text.dynamicLayoutVertexArray,h=t.icon.dynamicLayoutVertexArray,v={};d.clear();for(var m=0;m<p.length;m++){var g=p.get(m),y=g.hidden||!g.crossTileID||t.allowVerticalPlacement&&!g.placedOrientation?null:i[g.crossTileID];if(y){var b=new e.Point(g.anchorX,g.anchorY),x=Je(b,n?l:s),A=et(a.cameraToCenterDistance,x.signedDistanceFromCamera),w=o.evaluateSizeForFeature(t.textSizeData,c,g)*A/e.ONE_EM;n&&(w*=t.tilePixelRatio/u);for(var _=Xr(y.anchor,y.width,y.height,y.textOffset,y.textBoxScale,w),E=n?Je(b.add(_),s).point:x.point.add(r?_.rotate(-a.angle):_),k=t.allowVerticalPlacement&&g.placedOrientation===e.WritingMode.vertical?Math.PI/2:0,T=0;T<g.numGlyphs;T++)e.addDynamicAttributes(d,E,k);f&&g.associatedIconIndex>=0&&(v[g.associatedIconIndex]={shiftedAnchor:E,angle:k})}else ut(g.numGlyphs,d)}if(f){h.clear();for(var C=t.icon.placedSymbolArray,S=0;S<C.length;S++){var O=C.get(S);if(O.hidden)ut(O.numGlyphs,h);else{var M=v[S];if(M)for(var P=0;P<O.numGlyphs;P++)e.addDynamicAttributes(h,M.shiftedAnchor,M.angle);else ut(O.numGlyphs,h)}}t.icon.dynamicLayoutVertexBuffer.updateData(h)}t.text.dynamicLayoutVertexBuffer.updateData(d)}function Jr(e,t,r){return r.iconsInText&&t?"symbolTextAndIcon":e?"symbolSDF":"symbolIcon"}function en(t,r,n,i,o,a,s,l,u,c,f,p){for(var d=t.context,h=d.gl,v=t.transform,m="map"===l,g="map"===u,y=m&&"point"!==n.layout.get("symbol-placement"),b=m&&!g&&!y,x=void 0!==n.layout.get("symbol-sort-key").constantOr(1),A=t.depthModeForSublayer(0,ke.ReadOnly),w=n.layout.get("text-variable-anchor"),_=[],E=0,k=i;E<k.length;E+=1){var T=k[E],C=r.getTile(T),S=C.getBucket(n);if(S){var O=o?S.text:S.icon;if(O&&O.segments.get().length){var M=O.programConfigurations.get(n.id),P=o||S.sdfIcons,B=o?S.textSizeData:S.iconSizeData,L=g||0!==v.pitch,D=t.useProgram(Jr(P,o,S),M),I=e.evaluateSizeForZoom(B,v.zoom),j=void 0,R=[0,0],F=void 0,N=void 0,z=null,U=void 0;if(o)F=C.glyphAtlasTexture,N=h.LINEAR,j=C.glyphAtlasTexture.size,S.iconsInText&&(R=C.imageAtlasTexture.size,z=C.imageAtlasTexture,U=L||t.options.rotating||t.options.zooming||"composite"===B.kind||"camera"===B.kind?h.LINEAR:h.NEAREST);else{var H=1!==n.layout.get("icon-size").constantOr(0)||S.iconsNeedLinear;F=C.imageAtlasTexture,N=P||t.options.rotating||t.options.zooming||H||L?h.LINEAR:h.NEAREST,j=C.imageAtlasTexture.size}var V=pt(C,1,t.transform.zoom),Q=Xe(T.posMatrix,g,m,t.transform,V),W=Ze(T.posMatrix,g,m,t.transform,V),K=w&&S.hasTextData(),q="none"!==n.layout.get("icon-text-fit")&&K&&S.hasIconData();y&&rt(S,T.posMatrix,t,o,Q,W,g,c);var G=t.translatePosMatrix(T.posMatrix,C,a,s),$=y||o&&w||q?Yr:Q,Y=t.translatePosMatrix(W,C,a,s,!0),X=P&&0!==n.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1),Z={program:D,buffers:O,uniformValues:P?S.iconsInText?Wr(B.kind,I,b,g,t,G,$,Y,j,R):Qr(B.kind,I,b,g,t,G,$,Y,o,j,!0):Vr(B.kind,I,b,g,t,G,$,Y,o,j),atlasTexture:F,atlasTextureIcon:z,atlasInterpolation:N,atlasInterpolationIcon:U,isSDF:P,hasHalo:X};if(x)for(var J=0,ee=O.segments.get();J<ee.length;J+=1){var te=ee[J];_.push({segments:new e.SegmentVector([te]),sortKey:te.sortKey,state:Z})}else _.push({segments:O.segments,sortKey:0,state:Z})}}}x&&_.sort((function(e,t){return e.sortKey-t.sortKey}));for(var re=0,ne=_;re<ne.length;re+=1){var ie=ne[re],oe=ie.state;if(d.activeTexture.set(h.TEXTURE0),oe.atlasTexture.bind(oe.atlasInterpolation,h.CLAMP_TO_EDGE),oe.atlasTextureIcon&&(d.activeTexture.set(h.TEXTURE1),oe.atlasTextureIcon&&oe.atlasTextureIcon.bind(oe.atlasInterpolationIcon,h.CLAMP_TO_EDGE)),oe.isSDF){var ae=oe.uniformValues;oe.hasHalo&&(ae.u_is_halo=1,tn(oe.buffers,ie.segments,n,t,oe.program,A,f,p,ae)),ae.u_is_halo=0}tn(oe.buffers,ie.segments,n,t,oe.program,A,f,p,oe.uniformValues)}}function tn(e,t,r,n,i,o,a,s,l){var u=n.context;i.draw(u,u.gl.TRIANGLES,o,a,s,Se.disabled,l,r.id,e.layoutVertexBuffer,e.indexBuffer,t,r.paint,n.transform.zoom,e.programConfigurations.get(r.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer)}function rn(e,t,r,n,i,o,a){var s,l,u,c,f,p=e.context.gl,d=r.paint.get("fill-pattern"),h=d&&d.constantOr(1),v=r.getCrossfadeParameters();a?(l=h&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=p.LINES):(l=h?"fillPattern":"fill",s=p.TRIANGLES);for(var m=0,g=n;m<g.length;m+=1){var y=g[m],b=t.getTile(y);if(!h||b.patternsLoaded()){var x=b.getBucket(r);if(x){var A=x.programConfigurations.get(r.id),w=e.useProgram(l,A);h&&(e.context.activeTexture.set(p.TEXTURE0),b.imageAtlasTexture.bind(p.LINEAR,p.CLAMP_TO_EDGE),A.updatePaintBuffers(v));var _=d.constantOr(null);if(_&&b.imageAtlas){var E=b.imageAtlas,k=E.patternPositions[_.to.toString()],T=E.patternPositions[_.from.toString()];k&&T&&A.setConstantPatternPositions(k,T)}var C=e.translatePosMatrix(y.posMatrix,b,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(a){c=x.indexBuffer2,f=x.segments2;var S=[p.drawingBufferWidth,p.drawingBufferHeight];u="fillOutlinePattern"===l&&h?Cr(C,e,v,b,S):Tr(C,S)}else c=x.indexBuffer,f=x.segments,u=h?kr(C,e,v,b):Er(C);w.draw(e.context,s,i,e.stencilModeForClipping(y),o,Se.disabled,u,r.id,x.layoutVertexBuffer,c,f,r.paint,e.transform.zoom,A)}}}}function nn(e,t,r,n,i,o,a){for(var s=e.context,l=s.gl,u=r.paint.get("fill-extrusion-pattern"),c=u.constantOr(1),f=r.getCrossfadeParameters(),p=r.paint.get("fill-extrusion-opacity"),d=0,h=n;d<h.length;d+=1){var v=h[d],m=t.getTile(v),g=m.getBucket(r);if(g){var y=g.programConfigurations.get(r.id),b=e.useProgram(c?"fillExtrusionPattern":"fillExtrusion",y);c&&(e.context.activeTexture.set(l.TEXTURE0),m.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),y.updatePaintBuffers(f));var x=u.constantOr(null);if(x&&m.imageAtlas){var A=m.imageAtlas,w=A.patternPositions[x.to.toString()],_=A.patternPositions[x.from.toString()];w&&_&&y.setConstantPatternPositions(w,_)}var E=e.translatePosMatrix(v.posMatrix,m,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),k=r.paint.get("fill-extrusion-vertical-gradient"),T=c?_r(E,e,k,p,v,f,m):wr(E,e,k,p);b.draw(s,s.gl.TRIANGLES,i,o,a,Se.backCCW,T,r.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,r.paint,e.transform.zoom,y)}}}function on(t,r,n,i,o,a){var s=t.context,l=s.gl,u=r.fbo;if(u){var c=t.useProgram("hillshade");s.activeTexture.set(l.TEXTURE0),l.bindTexture(l.TEXTURE_2D,u.colorAttachment.get());var f=function(t,r,n){var i=n.paint.get("hillshade-shadow-color"),o=n.paint.get("hillshade-highlight-color"),a=n.paint.get("hillshade-accent-color"),s=n.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===n.paint.get("hillshade-illumination-anchor")&&(s-=t.transform.angle);var l,u,c,f=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(r.tileID.toUnwrapped(),f),u_image:0,u_latrange:(l=r.tileID,u=Math.pow(2,l.canonical.z),c=l.canonical.y,[new e.MercatorCoordinate(0,c/u).toLngLat().lat,new e.MercatorCoordinate(0,(c+1)/u).toLngLat().lat]),u_light:[n.paint.get("hillshade-exaggeration"),s],u_shadow:i,u_highlight:o,u_accent:a}}(t,r,n);c.draw(s,l.TRIANGLES,i,o,a,Se.disabled,f,n.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function an(t,r,n,i,o,a,s){var l=t.context,u=l.gl,c=r.dem;if(c&&c.data){var f=c.dim,p=c.stride,d=c.getPixels();if(l.activeTexture.set(u.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||t.getTileTexture(p),r.demTexture){var h=r.demTexture;h.update(d,{premultiply:!1}),h.bind(u.NEAREST,u.CLAMP_TO_EDGE)}else r.demTexture=new e.Texture(l,d,u.RGBA,{premultiply:!1}),r.demTexture.bind(u.NEAREST,u.CLAMP_TO_EDGE);l.activeTexture.set(u.TEXTURE0);var v=r.fbo;if(!v){var m=new e.Texture(l,{width:f,height:f,data:null},u.RGBA);m.bind(u.LINEAR,u.CLAMP_TO_EDGE),(v=r.fbo=l.createFramebuffer(f,f,!0)).colorAttachment.set(m.texture)}l.bindFramebuffer.set(v.framebuffer),l.viewport.set([0,0,f,f]),t.useProgram("hillshadePrepare").draw(l,u.TRIANGLES,o,a,s,Se.disabled,function(t,r,n){var i=r.stride,o=e.create();return e.ortho(o,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(o,o,[0,-e.EXTENT,0]),{u_matrix:o,u_image:1,u_dimension:[i,i],u_zoom:t.overscaledZ,u_maxzoom:n,u_unpack:r.getUnpackVector()}}(r.tileID,c,i),n.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments),r.needsHillshadePrepare=!1}}function sn(t,r,n,i,o){var a=i.paint.get("raster-fade-duration");if(a>0){var s=e.browser.now(),l=(s-t.timeAdded)/a,u=r?(s-r.timeAdded)/a:-1,c=n.getSource(),f=o.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),p=!r||Math.abs(r.tileID.overscaledZ-f)>Math.abs(t.tileID.overscaledZ-f),d=p&&t.refreshedUponExpiration?1:e.clamp(p?l:1-u,0,1);return t.refreshedUponExpiration&&l>=1&&(t.refreshedUponExpiration=!1),r?{opacity:1,mix:1-d}:{opacity:d,mix:0}}return{opacity:1,mix:0}}var ln=new e.Color(1,0,0,1),un=new e.Color(0,1,0,1),cn=new e.Color(0,0,1,1),fn=new e.Color(1,0,1,1),pn=new e.Color(0,1,1,1);function dn(e,t,r,n){vn(e,0,t+r/2,e.transform.width,r,n)}function hn(e,t,r,n){vn(e,t-r/2,0,r,e.transform.height,n)}function vn(t,r,n,i,o,a){var s=t.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(r*e.browser.devicePixelRatio,n*e.browser.devicePixelRatio,i*e.browser.devicePixelRatio,o*e.browser.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}function mn(t,r,n){var i=t.context,o=i.gl,a=n.posMatrix,s=t.useProgram("debug"),l=ke.disabled,u=Te.disabled,c=t.colorModeForRenderPass();i.activeTexture.set(o.TEXTURE0),t.emptyTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE),s.draw(i,o.LINE_STRIP,l,u,c,Se.disabled,Pr(a,e.Color.red),"$debug",t.debugBuffer,t.tileBorderIndexBuffer,t.debugSegments);var f=r.getTileByID(n.key).latestRawTileData,p=Math.floor((f&&f.byteLength||0)/1024),d=r.getTile(n).tileSize,h=512/Math.min(d,512)*(n.overscaledZ/t.transform.zoom)*.5,v=n.canonical.toString();n.overscaledZ!==n.canonical.z&&(v+=" => "+n.overscaledZ),function(e,t){e.initDebugOverlayCanvas();var r=e.debugOverlayCanvas,n=e.context.gl,i=e.debugOverlayCanvas.getContext("2d");i.clearRect(0,0,r.width,r.height),i.shadowColor="white",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle="white",i.textBaseline="top",i.font="bold 36px Open Sans, sans-serif",i.fillText(t,5,5),i.strokeText(t,5,5),e.debugOverlayTexture.update(r),e.debugOverlayTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)}(t,v+" "+p+"kb"),s.draw(i,o.TRIANGLES,l,u,Ce.alphaBlended,Se.disabled,Pr(a,e.Color.transparent,h),"$debug",t.debugBuffer,t.quadTriangleIndexBuffer,t.debugSegments)}var gn={symbol:function(t,r,n,i,o){if("translucent"===t.renderPass){var a=Te.disabled,s=t.colorModeForRenderPass();n.layout.get("text-variable-anchor")&&function(t,r,n,i,o,a,s){for(var l=r.transform,u="map"===o,c="map"===a,f=0,p=t;f<p.length;f+=1){var d=p[f],h=i.getTile(d),v=h.getBucket(n);if(v&&v.text&&v.text.segments.get().length){var m=e.evaluateSizeForZoom(v.textSizeData,l.zoom),g=pt(h,1,r.transform.zoom),y=Xe(d.posMatrix,c,u,r.transform,g),b="none"!==n.layout.get("icon-text-fit")&&v.hasIconData();if(m){var x=Math.pow(2,l.zoom-h.tileID.overscaledZ);Zr(v,u,c,s,e.symbolSize,l,y,d.posMatrix,x,m,b)}}}}(i,t,n,r,n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),o),0!==n.paint.get("icon-opacity").constantOr(1)&&en(t,r,n,i,!1,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),n.layout.get("icon-rotation-alignment"),n.layout.get("icon-pitch-alignment"),n.layout.get("icon-keep-upright"),a,s),0!==n.paint.get("text-opacity").constantOr(1)&&en(t,r,n,i,!0,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),n.layout.get("text-keep-upright"),a,s),r.map.showCollisionBoxes&&($r(t,r,n,i,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),!0),$r(t,r,n,i,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),!1))}},circle:function(t,r,n,i){if("translucent"===t.renderPass){var o=n.paint.get("circle-opacity"),a=n.paint.get("circle-stroke-width"),s=n.paint.get("circle-stroke-opacity"),l=void 0!==n.layout.get("circle-sort-key").constantOr(1);if(0!==o.constantOr(1)||0!==a.constantOr(1)&&0!==s.constantOr(1)){for(var u=t.context,c=u.gl,f=t.depthModeForSublayer(0,ke.ReadOnly),p=Te.disabled,d=t.colorModeForRenderPass(),h=[],v=0;v<i.length;v++){var m=i[v],g=r.getTile(m),y=g.getBucket(n);if(y){var b=y.programConfigurations.get(n.id),x={programConfiguration:b,program:t.useProgram("circle",b),layoutVertexBuffer:y.layoutVertexBuffer,indexBuffer:y.indexBuffer,uniformValues:Sr(t,m,g,n)};if(l)for(var A=0,w=y.segments.get();A<w.length;A+=1){var _=w[A];h.push({segments:new e.SegmentVector([_]),sortKey:_.sortKey,state:x})}else h.push({segments:y.segments,sortKey:0,state:x})}}l&&h.sort((function(e,t){return e.sortKey-t.sortKey}));for(var E=0,k=h;E<k.length;E+=1){var T=k[E],C=T.state;C.program.draw(u,c.TRIANGLES,f,p,d,Se.disabled,C.uniformValues,n.id,C.layoutVertexBuffer,C.indexBuffer,T.segments,n.paint,t.transform.zoom,C.programConfiguration)}}}},heatmap:function(t,r,n,i){if(0!==n.paint.get("heatmap-opacity"))if("offscreen"===t.renderPass){var o=t.context,a=o.gl,s=Te.disabled,l=new Ce([a.ONE,a.ONE],e.Color.transparent,[!0,!0,!0,!0]);!function(e,t,r){var n=e.gl;e.activeTexture.set(n.TEXTURE1),e.viewport.set([0,0,t.width/4,t.height/4]);var i=r.heatmapFbo;if(i)n.bindTexture(n.TEXTURE_2D,i.colorAttachment.get()),e.bindFramebuffer.set(i.framebuffer);else{var o=n.createTexture();n.bindTexture(n.TEXTURE_2D,o),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),i=r.heatmapFbo=e.createFramebuffer(t.width/4,t.height/4,!1),function(e,t,r,n){var i=e.gl;i.texImage2D(i.TEXTURE_2D,0,i.RGBA,t.width/4,t.height/4,0,i.RGBA,e.extRenderToTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:i.UNSIGNED_BYTE,null),n.colorAttachment.set(r)}(e,t,o,i)}}(o,t,n),o.clear({color:e.Color.transparent});for(var u=0;u<i.length;u++){var c=i[u];if(!r.hasRenderableParent(c)){var f=r.getTile(c),p=f.getBucket(n);if(p){var d=p.programConfigurations.get(n.id);t.useProgram("heatmap",d).draw(o,a.TRIANGLES,ke.disabled,s,l,Se.disabled,Lr(c.posMatrix,f,t.transform.zoom,n.paint.get("heatmap-intensity")),n.id,p.layoutVertexBuffer,p.indexBuffer,p.segments,n.paint,t.transform.zoom,d)}}}o.viewport.set([0,0,t.width,t.height])}else"translucent"===t.renderPass&&(t.context.setColorMode(t.colorModeForRenderPass()),function(t,r){var n=t.context,i=n.gl,o=r.heatmapFbo;if(o){n.activeTexture.set(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,o.colorAttachment.get()),n.activeTexture.set(i.TEXTURE1);var a=r.colorRampTexture;a||(a=r.colorRampTexture=new e.Texture(n,r.colorRamp,i.RGBA)),a.bind(i.LINEAR,i.CLAMP_TO_EDGE),t.useProgram("heatmapTexture").draw(n,i.TRIANGLES,ke.disabled,Te.disabled,t.colorModeForRenderPass(),Se.disabled,function(t,r,n,i){var o=e.create();e.ortho(o,0,t.width,t.height,0,0,1);var a=t.context.gl;return{u_matrix:o,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:r.paint.get("heatmap-opacity")}}(t,r),r.id,t.viewportBuffer,t.quadTriangleIndexBuffer,t.viewportSegments,r.paint,t.transform.zoom)}}(t,n))},line:function(t,r,n,i){if("translucent"===t.renderPass){var o=n.paint.get("line-opacity"),a=n.paint.get("line-width");if(0!==o.constantOr(1)&&0!==a.constantOr(1)){var s=t.depthModeForSublayer(0,ke.ReadOnly),l=t.colorModeForRenderPass(),u=n.paint.get("line-dasharray"),c=n.paint.get("line-pattern"),f=c.constantOr(1),p=n.paint.get("line-gradient"),d=n.getCrossfadeParameters(),h=f?"linePattern":u?"lineSDF":p?"lineGradient":"line",v=t.context,m=v.gl,g=!0;if(p){v.activeTexture.set(m.TEXTURE0);var y=n.gradientTexture;if(!n.gradient)return;y||(y=n.gradientTexture=new e.Texture(v,n.gradient,m.RGBA)),y.bind(m.LINEAR,m.CLAMP_TO_EDGE)}for(var b=0,x=i;b<x.length;b+=1){var A=x[b],w=r.getTile(A);if(!f||w.patternsLoaded()){var _=w.getBucket(n);if(_){var E=_.programConfigurations.get(n.id),k=t.context.program.get(),T=t.useProgram(h,E),C=g||T.program!==k,S=c.constantOr(null);if(S&&w.imageAtlas){var O=w.imageAtlas,M=O.patternPositions[S.to.toString()],P=O.patternPositions[S.from.toString()];M&&P&&E.setConstantPatternPositions(M,P)}var B=f?jr(t,w,n,d):u?Rr(t,w,n,u,d):p?Ir(t,w,n):Dr(t,w,n);f?(v.activeTexture.set(m.TEXTURE0),w.imageAtlasTexture.bind(m.LINEAR,m.CLAMP_TO_EDGE),E.updatePaintBuffers(d)):u&&(C||t.lineAtlas.dirty)&&(v.activeTexture.set(m.TEXTURE0),t.lineAtlas.bind(v)),T.draw(v,m.TRIANGLES,s,t.stencilModeForClipping(A),l,Se.disabled,B,n.id,_.layoutVertexBuffer,_.indexBuffer,_.segments,n.paint,t.transform.zoom,E),g=!1}}}}}},fill:function(t,r,n,i){var o=n.paint.get("fill-color"),a=n.paint.get("fill-opacity");if(0!==a.constantOr(1)){var s=t.colorModeForRenderPass(),l=n.paint.get("fill-pattern"),u=t.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(e.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(t.renderPass===u){var c=t.depthModeForSublayer(1,"opaque"===t.renderPass?ke.ReadWrite:ke.ReadOnly);rn(t,r,n,i,c,s,!1)}if("translucent"===t.renderPass&&n.paint.get("fill-antialias")){var f=t.depthModeForSublayer(n.getPaintProperty("fill-outline-color")?2:0,ke.ReadOnly);rn(t,r,n,i,f,s,!0)}}},"fill-extrusion":function(e,t,r,n){var i=r.paint.get("fill-extrusion-opacity");if(0!==i&&"translucent"===e.renderPass){var o=new ke(e.context.gl.LEQUAL,ke.ReadWrite,e.depthRangeFor3D);if(1!==i||r.paint.get("fill-extrusion-pattern").constantOr(1))nn(e,t,r,n,o,Te.disabled,Ce.disabled),nn(e,t,r,n,o,e.stencilModeFor3D(),e.colorModeForRenderPass());else{var a=e.colorModeForRenderPass();nn(e,t,r,n,o,Te.disabled,a)}}},hillshade:function(e,t,r,n){if("offscreen"===e.renderPass||"translucent"===e.renderPass){for(var i=e.context,o=t.getSource().maxzoom,a=e.depthModeForSublayer(0,ke.ReadOnly),s=e.colorModeForRenderPass(),l="translucent"===e.renderPass?e.stencilConfigForOverlap(n):[{},n],u=l[0],c=0,f=l[1];c<f.length;c+=1){var p=f[c],d=t.getTile(p);d.needsHillshadePrepare&&"offscreen"===e.renderPass?an(e,d,r,o,a,Te.disabled,s):"translucent"===e.renderPass&&on(e,d,r,a,u[p.overscaledZ],s)}i.viewport.set([0,0,e.width,e.height])}},raster:function(e,t,r,n){if("translucent"===e.renderPass&&0!==r.paint.get("raster-opacity")&&n.length)for(var i=e.context,o=i.gl,a=t.getSource(),s=e.useProgram("raster"),l=e.colorModeForRenderPass(),u=a instanceof B?[{},n]:e.stencilConfigForOverlap(n),c=u[0],f=u[1],p=f[f.length-1].overscaledZ,d=!e.options.moving,h=0,v=f;h<v.length;h+=1){var m=v[h],g=e.depthModeForSublayer(m.overscaledZ-p,1===r.paint.get("raster-opacity")?ke.ReadWrite:ke.ReadOnly,o.LESS),y=t.getTile(m),b=e.transform.calculatePosMatrix(m.toUnwrapped(),d);y.registerFadeDuration(r.paint.get("raster-fade-duration"));var x=t.findLoadedParent(m,0),A=sn(y,x,t,r,e.transform),w=void 0,_=void 0,E="nearest"===r.paint.get("raster-resampling")?o.NEAREST:o.LINEAR;i.activeTexture.set(o.TEXTURE0),y.texture.bind(E,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),i.activeTexture.set(o.TEXTURE1),x?(x.texture.bind(E,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),w=Math.pow(2,x.tileID.overscaledZ-y.tileID.overscaledZ),_=[y.tileID.canonical.x*w%1,y.tileID.canonical.y*w%1]):y.texture.bind(E,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var k=zr(b,_||[0,0],w||1,A,r);a instanceof B?s.draw(i,o.TRIANGLES,g,Te.disabled,l,Se.disabled,k,r.id,a.boundsBuffer,e.quadTriangleIndexBuffer,a.boundsSegments):s.draw(i,o.TRIANGLES,g,c[m.overscaledZ],l,Se.disabled,k,r.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments)}},background:function(e,t,r){var n=r.paint.get("background-color"),i=r.paint.get("background-opacity");if(0!==i){var o=e.context,a=o.gl,s=e.transform,l=s.tileSize,u=r.paint.get("background-pattern");if(!e.isPatternMissing(u)){var c=!u&&1===n.a&&1===i&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass===c){var f=Te.disabled,p=e.depthModeForSublayer(0,"opaque"===c?ke.ReadWrite:ke.ReadOnly),d=e.colorModeForRenderPass(),h=e.useProgram(u?"backgroundPattern":"background"),v=s.coveringTiles({tileSize:l});u&&(o.activeTexture.set(a.TEXTURE0),e.imageManager.bind(e.context));for(var m=r.getCrossfadeParameters(),g=0,y=v;g<y.length;g+=1){var b=y[g],x=e.transform.calculatePosMatrix(b.toUnwrapped()),A=u?qr(x,i,e,u,{tileID:b,tileSize:l},m):Kr(x,i,n);h.draw(o,a.TRIANGLES,p,f,d,Se.disabled,A,r.id,e.tileExtentBuffer,e.quadTriangleIndexBuffer,e.tileExtentSegments)}}}}},debug:function(e,t,r){for(var n=0;n<r.length;n++)mn(e,t,r[n])},custom:function(e,t,r){var n=e.context,i=r.implementation;if("offscreen"===e.renderPass){var o=i.prerender;o&&(e.setCustomLayerDefaults(),n.setColorMode(e.colorModeForRenderPass()),o.call(i,n.gl,e.transform.customLayerMatrix()),n.setDirty(),e.setBaseState())}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),n.setColorMode(e.colorModeForRenderPass()),n.setStencilMode(Te.disabled);var a="3d"===i.renderingMode?new ke(e.context.gl.LEQUAL,ke.ReadWrite,e.depthRangeFor3D):e.depthModeForSublayer(0,ke.ReadOnly);n.setDepthMode(a),i.render(n.gl,e.transform.customLayerMatrix()),n.setDirty(),e.setBaseState(),n.bindFramebuffer.set(null)}}},yn=function(e,t){this.context=new Oe(e),this.transform=t,this._tileTextures={},this.setup(),this.numSublayers=Me.maxUnderzooming+Me.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ft,this.gpuTimers={}};yn.prototype.resize=function(t,r){if(this.width=t*e.browser.devicePixelRatio,this.height=r*e.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,i=this.style._order;n<i.length;n+=1)this.style._layers[i[n]].resize()},yn.prototype.setup=function(){var t=this.context,r=new e.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(e.EXTENT,0),r.emplaceBack(0,e.EXTENT),r.emplaceBack(e.EXTENT,e.EXTENT),this.tileExtentBuffer=t.createVertexBuffer(r,Qt.members),this.tileExtentSegments=e.SegmentVector.simpleSegment(0,0,4,2);var n=new e.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(e.EXTENT,0),n.emplaceBack(0,e.EXTENT),n.emplaceBack(e.EXTENT,e.EXTENT),this.debugBuffer=t.createVertexBuffer(n,Qt.members),this.debugSegments=e.SegmentVector.simpleSegment(0,0,4,5);var i=new e.StructArrayLayout4i8;i.emplaceBack(0,0,0,0),i.emplaceBack(e.EXTENT,0,e.EXTENT,0),i.emplaceBack(0,e.EXTENT,0,e.EXTENT),i.emplaceBack(e.EXTENT,e.EXTENT,e.EXTENT,e.EXTENT),this.rasterBoundsBuffer=t.createVertexBuffer(i,P.members),this.rasterBoundsSegments=e.SegmentVector.simpleSegment(0,0,4,2);var o=new e.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(1,0),o.emplaceBack(0,1),o.emplaceBack(1,1),this.viewportBuffer=t.createVertexBuffer(o,Qt.members),this.viewportSegments=e.SegmentVector.simpleSegment(0,0,4,2);var a=new e.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=t.createIndexBuffer(a);var s=new e.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=t.createIndexBuffer(s),this.emptyTexture=new e.Texture(t,{width:1,height:1,data:new Uint8Array([0,0,0,0])},t.gl.RGBA);var l=this.context.gl;this.stencilClearMode=new Te({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},yn.prototype.clearStencil=function(){var t=this.context,r=t.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var n=e.create();e.ortho(n,0,this.width,this.height,0,0,1),e.scale(n,n,[r.drawingBufferWidth,r.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(t,r.TRIANGLES,ke.disabled,this.stencilClearMode,Ce.disabled,Se.disabled,Br(n),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},yn.prototype._renderTileClippingMasks=function(e,t){if(this.currentStencilSource!==e.source&&e.isTileClipped()&&t&&t.length){this.currentStencilSource=e.source;var r=this.context,n=r.gl;this.nextStencilID+t.length>256&&this.clearStencil(),r.setColorMode(Ce.disabled),r.setDepthMode(ke.disabled);var i=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=t;o<a.length;o+=1){var s=a[o],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;i.draw(r,n.TRIANGLES,ke.disabled,new Te({func:n.ALWAYS,mask:0},l,255,n.KEEP,n.KEEP,n.REPLACE),Ce.disabled,Se.disabled,Br(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},yn.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var e=this.nextStencilID++,t=this.context.gl;return new Te({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)},yn.prototype.stencilModeForClipping=function(e){var t=this.context.gl;return new Te({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)},yn.prototype.stencilConfigForOverlap=function(e){var t,r=this.context.gl,n=e.sort((function(e,t){return t.overscaledZ-e.overscaledZ})),i=n[n.length-1].overscaledZ,o=n[0].overscaledZ-i+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();for(var a={},s=0;s<o;s++)a[s+i]=new Te({func:r.GEQUAL,mask:255},s+this.nextStencilID,255,r.KEEP,r.KEEP,r.REPLACE);return this.nextStencilID+=o,[a,n]}return[(t={},t[i]=Te.disabled,t),n]},yn.prototype.colorModeForRenderPass=function(){var t=this.context.gl;return this._showOverdrawInspector?new Ce([t.CONSTANT_COLOR,t.ONE],new e.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?Ce.unblended:Ce.alphaBlended},yn.prototype.depthModeForSublayer=function(e,t,r){if(!this.opaquePassEnabledForLayer())return ke.disabled;var n=1-((1+this.currentLayer)*this.numSublayers+e)*this.depthEpsilon;return new ke(r||this.context.gl.LEQUAL,t,[n,n])},yn.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},yn.prototype.render=function(t,r){var n=this;this.style=t,this.options=r,this.lineAtlas=t.lineAtlas,this.imageManager=t.imageManager,this.glyphManager=t.glyphManager,this.symbolFadeChange=t.placement.symbolFadeChange(e.browser.now()),this.imageManager.beginFrame();var i=this.style._order,o=this.style.sourceCaches;for(var a in o){var s=o[a];s.used&&s.prepare(this.context)}var l,u,c={},f={},p={};for(var d in o){var h=o[d];c[d]=h.getVisibleCoordinates(),f[d]=c[d].slice().reverse(),p[d]=h.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var v=0;v<i.length;v++)if(this.style._layers[i[v]].is3D()){this.opaquePassCutoff=v;break}this.renderPass="offscreen";for(var m=0,g=i;m<g.length;m+=1){var y=this.style._layers[g[m]];if(y.hasOffscreenPass()&&!y.isHidden(this.transform.zoom)){var b=f[y.source];("custom"===y.type||b.length)&&this.renderLayer(this,o[y.source],y,b)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:r.showOverdrawInspector?e.Color.black:e.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.depthRangeFor3D=[0,1-(t._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=i.length-1;this.currentLayer>=0;this.currentLayer--){var x=this.style._layers[i[this.currentLayer]],A=o[x.source],w=c[x.source];this._renderTileClippingMasks(x,w),this.renderLayer(this,A,x,w)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<i.length;this.currentLayer++){var _=this.style._layers[i[this.currentLayer]],E=o[_.source],k=("symbol"===_.type?p:f)[_.source];this._renderTileClippingMasks(_,c[_.source]),this.renderLayer(this,E,_,k)}this.options.showTileBoundaries&&(e.values(this.style._layers).forEach((function(e){e.source&&!e.isHidden(n.transform.zoom)&&(e.source!==(u&&u.id)&&(u=n.style.sourceCaches[e.source]),(!l||l.getSource().maxzoom<u.getSource().maxzoom)&&(l=u))})),l&&gn.debug(this,l,l.getVisibleCoordinates())),this.options.showPadding&&function(e){var t=e.transform.padding;dn(e,e.transform.height-(t.top||0),3,ln),dn(e,t.bottom||0,3,un),hn(e,t.left||0,3,cn),hn(e,e.transform.width-(t.right||0),3,fn);var r=e.transform.centerPoint;!function(e,t,r,n){vn(e,t-1,r-10,2,20,n),vn(e,t-10,r-1,20,2,n)}(e,r.x,e.transform.height-r.y,pn)}(this),this.context.setDefault()},yn.prototype.renderLayer=function(e,t,r,n){r.isHidden(this.transform.zoom)||("background"===r.type||"custom"===r.type||n.length)&&(this.id=r.id,this.gpuTimingStart(r),gn[r.type](e,t,r,n,this.style.placement.variableOffsets),this.gpuTimingEnd())},yn.prototype.gpuTimingStart=function(e){if(this.options.gpuTiming){var t=this.context.extTimerQuery,r=this.gpuTimers[e.id];r||(r=this.gpuTimers[e.id]={calls:0,cpuTime:0,query:t.createQueryEXT()}),r.calls++,t.beginQueryEXT(t.TIME_ELAPSED_EXT,r.query)}},yn.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var e=this.context.extTimerQuery;e.endQueryEXT(e.TIME_ELAPSED_EXT)}},yn.prototype.collectGpuTimers=function(){var e=this.gpuTimers;return this.gpuTimers={},e},yn.prototype.queryGpuTimers=function(e){var t={};for(var r in e){var n=e[r],i=this.context.extTimerQuery,o=i.getQueryObjectEXT(n.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(n.query),t[r]=o}return t},yn.prototype.translatePosMatrix=function(t,r,n,i,o){if(!n[0]&&!n[1])return t;var a=o?"map"===i?this.transform.angle:0:"viewport"===i?-this.transform.angle:0;if(a){var s=Math.sin(a),l=Math.cos(a);n=[n[0]*l-n[1]*s,n[0]*s+n[1]*l]}var u=[o?n[0]:pt(r,n[0],this.transform.zoom),o?n[1]:pt(r,n[1],this.transform.zoom),0],c=new Float32Array(16);return e.translate(c,t,u),c},yn.prototype.saveTileTexture=function(e){var t=this._tileTextures[e.size[0]];t?t.push(e):this._tileTextures[e.size[0]]=[e]},yn.prototype.getTileTexture=function(e){var t=this._tileTextures[e];return t&&t.length>0?t.pop():null},yn.prototype.isPatternMissing=function(e){if(!e)return!1;if(!e.from||!e.to)return!0;var t=this.imageManager.getPattern(e.from.toString()),r=this.imageManager.getPattern(e.to.toString());return!t||!r},yn.prototype.useProgram=function(e,t){this.cache=this.cache||{};var r=""+e+(t?t.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[r]||(this.cache[r]=new xr(this.context,yr[e],t,Gr[e],this._showOverdrawInspector)),this.cache[r]},yn.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},yn.prototype.setBaseState=function(){var e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD)},yn.prototype.initDebugOverlayCanvas=function(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=e.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))},yn.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var bn=function(e,t){this.points=e,this.planes=t};bn.fromInvProjectionMatrix=function(t,r,n){var i=Math.pow(2,n),o=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((function(r){return e.transformMat4([],r,t)})).map((function(t){return e.scale$1([],t,1/t[3]/r*i)})),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((function(t){var r=e.sub([],o[t[0]],o[t[1]]),n=e.sub([],o[t[2]],o[t[1]]),i=e.normalize([],e.cross([],r,n)),a=-e.dot(i,o[t[1]]);return i.concat(a)}));return new bn(o,a)};var xn=function(t,r){this.min=t,this.max=r,this.center=e.scale$2([],e.add([],this.min,this.max),.5)};xn.prototype.quadrant=function(t){for(var r=[t%2==0,t<2],n=e.clone$2(this.min),i=e.clone$2(this.max),o=0;o<r.length;o++)n[o]=r[o]?this.min[o]:this.center[o],i[o]=r[o]?this.center[o]:this.max[o];return i[2]=this.max[2],new xn(n,i)},xn.prototype.distanceX=function(e){return Math.max(Math.min(this.max[0],e[0]),this.min[0])-e[0]},xn.prototype.distanceY=function(e){return Math.max(Math.min(this.max[1],e[1]),this.min[1])-e[1]},xn.prototype.intersects=function(t){for(var r=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],n=!0,i=0;i<t.planes.length;i++){for(var o=t.planes[i],a=0,s=0;s<r.length;s++)a+=e.dot$1(o,r[s])>=0;if(0===a)return 0;a!==r.length&&(n=!1)}if(n)return 2;for(var l=0;l<3;l++){for(var u=Number.MAX_VALUE,c=-Number.MAX_VALUE,f=0;f<t.points.length;f++){var p=t.points[f][l]-this.min[l];u=Math.min(u,p),c=Math.max(c,p)}if(c<0||u>this.max[l]-this.min[l])return 0}return 1};var An=function(e,t,r,n){if(void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),isNaN(e)||e<0||isNaN(t)||t<0||isNaN(r)||r<0||isNaN(n)||n<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=r,this.right=n};An.prototype.interpolate=function(t,r,n){return null!=r.top&&null!=t.top&&(this.top=e.number(t.top,r.top,n)),null!=r.bottom&&null!=t.bottom&&(this.bottom=e.number(t.bottom,r.bottom,n)),null!=r.left&&null!=t.left&&(this.left=e.number(t.left,r.left,n)),null!=r.right&&null!=t.right&&(this.right=e.number(t.right,r.right,n)),this},An.prototype.getCenter=function(t,r){var n=e.clamp((this.left+t-this.right)/2,0,t),i=e.clamp((this.top+r-this.bottom)/2,0,r);return new e.Point(n,i)},An.prototype.equals=function(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right},An.prototype.clone=function(){return new An(this.top,this.bottom,this.left,this.right)},An.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var wn=function(t,r,n,i,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=t||0,this._maxZoom=r||22,this._minPitch=null==n?0:n,this._maxPitch=null==i?60:i,this.setMaxBounds(),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new An,this._posMatrixCache={},this._alignedPosMatrixCache={}},_n={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};wn.prototype.clone=function(){var e=new wn(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return e.tileSize=this.tileSize,e.latRange=this.latRange,e.width=this.width,e.height=this.height,e._center=this._center,e.zoom=this.zoom,e.angle=this.angle,e._fov=this._fov,e._pitch=this._pitch,e._unmodified=this._unmodified,e._edgeInsets=this._edgeInsets.clone(),e._calcMatrices(),e},_n.minZoom.get=function(){return this._minZoom},_n.minZoom.set=function(e){this._minZoom!==e&&(this._minZoom=e,this.zoom=Math.max(this.zoom,e))},_n.maxZoom.get=function(){return this._maxZoom},_n.maxZoom.set=function(e){this._maxZoom!==e&&(this._maxZoom=e,this.zoom=Math.min(this.zoom,e))},_n.minPitch.get=function(){return this._minPitch},_n.minPitch.set=function(e){this._minPitch!==e&&(this._minPitch=e,this.pitch=Math.max(this.pitch,e))},_n.maxPitch.get=function(){return this._maxPitch},_n.maxPitch.set=function(e){this._maxPitch!==e&&(this._maxPitch=e,this.pitch=Math.min(this.pitch,e))},_n.renderWorldCopies.get=function(){return this._renderWorldCopies},_n.renderWorldCopies.set=function(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e},_n.worldSize.get=function(){return this.tileSize*this.scale},_n.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},_n.size.get=function(){return new e.Point(this.width,this.height)},_n.bearing.get=function(){return-this.angle/Math.PI*180},_n.bearing.set=function(t){var r=-e.wrap(t,-180,180)*Math.PI/180;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=e.create$2(),e.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},_n.pitch.get=function(){return this._pitch/Math.PI*180},_n.pitch.set=function(t){var r=e.clamp(t,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())},_n.fov.get=function(){return this._fov/Math.PI*180},_n.fov.set=function(e){e=Math.max(.01,Math.min(60,e)),this._fov!==e&&(this._unmodified=!1,this._fov=e/180*Math.PI,this._calcMatrices())},_n.zoom.get=function(){return this._zoom},_n.zoom.set=function(e){var t=Math.min(Math.max(e,this.minZoom),this.maxZoom);this._zoom!==t&&(this._unmodified=!1,this._zoom=t,this.scale=this.zoomScale(t),this.tileZoom=Math.floor(t),this.zoomFraction=t-this.tileZoom,this._constrain(),this._calcMatrices())},_n.center.get=function(){return this._center},_n.center.set=function(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this._constrain(),this._calcMatrices())},_n.padding.get=function(){return this._edgeInsets.toJSON()},_n.padding.set=function(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices())},_n.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},wn.prototype.isPaddingEqual=function(e){return this._edgeInsets.equals(e)},wn.prototype.interpolatePadding=function(e,t,r){this._unmodified=!1,this._edgeInsets.interpolate(e,t,r),this._constrain(),this._calcMatrices()},wn.prototype.coveringZoomLevel=function(e){var t=(e.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/e.tileSize));return Math.max(0,t)},wn.prototype.getVisibleUnwrappedCoordinates=function(t){var r=[new e.UnwrappedTileID(0,t)];if(this._renderWorldCopies)for(var n=this.pointCoordinate(new e.Point(0,0)),i=this.pointCoordinate(new e.Point(this.width,0)),o=this.pointCoordinate(new e.Point(this.width,this.height)),a=this.pointCoordinate(new e.Point(0,this.height)),s=Math.floor(Math.min(n.x,i.x,o.x,a.x)),l=Math.floor(Math.max(n.x,i.x,o.x,a.x)),u=s-1;u<=l+1;u++)0!==u&&r.push(new e.UnwrappedTileID(u,t));return r},wn.prototype.coveringTiles=function(t){var r=this.coveringZoomLevel(t),n=r;if(void 0!==t.minzoom&&r<t.minzoom)return[];void 0!==t.maxzoom&&r>t.maxzoom&&(r=t.maxzoom);var i=e.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,r),a=[o*i.x,o*i.y,0],s=bn.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,r),l=t.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(l=r);var u=function(e){return{aabb:new xn([e*o,0,0],[(e+1)*o,o,0]),zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}},c=[],f=[],p=r,d=t.reparseOverscaled?n:r;if(this._renderWorldCopies)for(var h=1;h<=3;h++)c.push(u(-h)),c.push(u(h));for(c.push(u(0));c.length>0;){var v=c.pop(),m=v.x,g=v.y,y=v.fullyVisible;if(!y){var b=v.aabb.intersects(s);if(0===b)continue;y=2===b}var x=v.aabb.distanceX(a),A=v.aabb.distanceY(a),w=Math.max(Math.abs(x),Math.abs(A));if(v.zoom===p||w>3+(1<<p-v.zoom)-2&&v.zoom>=l)f.push({tileID:new e.OverscaledTileID(v.zoom===p?d:v.zoom,v.wrap,v.zoom,m,g),distanceSq:e.sqrLen([a[0]-.5-m,a[1]-.5-g])});else for(var _=0;_<4;_++){var E=(m<<1)+_%2,k=(g<<1)+(_>>1);c.push({aabb:v.aabb.quadrant(_),zoom:v.zoom+1,x:E,y:k,wrap:v.wrap,fullyVisible:y})}}return f.sort((function(e,t){return e.distanceSq-t.distanceSq})).map((function(e){return e.tileID}))},wn.prototype.resize=function(e,t){this.width=e,this.height=t,this.pixelsToGLUnits=[2/e,-2/t],this._constrain(),this._calcMatrices()},_n.unmodified.get=function(){return this._unmodified},wn.prototype.zoomScale=function(e){return Math.pow(2,e)},wn.prototype.scaleZoom=function(e){return Math.log(e)/Math.LN2},wn.prototype.project=function(t){var r=e.clamp(t.lat,-this.maxValidLatitude,this.maxValidLatitude);return new e.Point(e.mercatorXfromLng(t.lng)*this.worldSize,e.mercatorYfromLat(r)*this.worldSize)},wn.prototype.unproject=function(t){return new e.MercatorCoordinate(t.x/this.worldSize,t.y/this.worldSize).toLngLat()},_n.point.get=function(){return this.project(this.center)},wn.prototype.setLocationAtPoint=function(t,r){var n=this.pointCoordinate(r),i=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(t),a=new e.MercatorCoordinate(o.x-(n.x-i.x),o.y-(n.y-i.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},wn.prototype.locationPoint=function(e){return this.coordinatePoint(this.locationCoordinate(e))},wn.prototype.pointLocation=function(e){return this.coordinateLocation(this.pointCoordinate(e))},wn.prototype.locationCoordinate=function(t){return e.MercatorCoordinate.fromLngLat(t)},wn.prototype.coordinateLocation=function(e){return e.toLngLat()},wn.prototype.pointCoordinate=function(t){var r=[t.x,t.y,0,1],n=[t.x,t.y,1,1];e.transformMat4(r,r,this.pixelMatrixInverse),e.transformMat4(n,n,this.pixelMatrixInverse);var i=r[3],o=n[3],a=r[1]/i,s=n[1]/o,l=r[2]/i,u=n[2]/o,c=l===u?0:(0-l)/(u-l);return new e.MercatorCoordinate(e.number(r[0]/i,n[0]/o,c)/this.worldSize,e.number(a,s,c)/this.worldSize)},wn.prototype.coordinatePoint=function(t){var r=[t.x*this.worldSize,t.y*this.worldSize,0,1];return e.transformMat4(r,r,this.pixelMatrix),new e.Point(r[0]/r[3],r[1]/r[3])},wn.prototype.getBounds=function(){return(new e.LngLatBounds).extend(this.pointLocation(new e.Point(0,0))).extend(this.pointLocation(new e.Point(this.width,0))).extend(this.pointLocation(new e.Point(this.width,this.height))).extend(this.pointLocation(new e.Point(0,this.height)))},wn.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new e.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},wn.prototype.setMaxBounds=function(e){e?(this.lngRange=[e.getWest(),e.getEast()],this.latRange=[e.getSouth(),e.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},wn.prototype.calculatePosMatrix=function(t,r){void 0===r&&(r=!1);var n=t.key,i=r?this._alignedPosMatrixCache:this._posMatrixCache;if(i[n])return i[n];var o=t.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*t.wrap,l=e.identity(new Float64Array(16));return e.translate(l,l,[s*a,o.y*a,0]),e.scale(l,l,[a/e.EXTENT,a/e.EXTENT,1]),e.multiply(l,r?this.alignedProjMatrix:this.projMatrix,l),i[n]=new Float32Array(l),i[n]},wn.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},wn.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var t,r,n,i,o=-90,a=90,s=-180,l=180,u=this.size,c=this._unmodified;if(this.latRange){var f=this.latRange;o=e.mercatorYfromLat(f[1])*this.worldSize,t=(a=e.mercatorYfromLat(f[0])*this.worldSize)-o<u.y?u.y/(a-o):0}if(this.lngRange){var p=this.lngRange;s=e.mercatorXfromLng(p[0])*this.worldSize,r=(l=e.mercatorXfromLng(p[1])*this.worldSize)-s<u.x?u.x/(l-s):0}var d=this.point,h=Math.max(r||0,t||0);if(h)return this.center=this.unproject(new e.Point(r?(l+s)/2:d.x,t?(a+o)/2:d.y)),this.zoom+=this.scaleZoom(h),this._unmodified=c,void(this._constraining=!1);if(this.latRange){var v=d.y,m=u.y/2;v-m<o&&(i=o+m),v+m>a&&(i=a-m)}if(this.lngRange){var g=d.x,y=u.x/2;g-y<s&&(n=s+y),g+y>l&&(n=l-y)}void 0===n&&void 0===i||(this.center=this.unproject(new e.Point(void 0!==n?n:d.x,void 0!==i?i:d.y))),this._unmodified=c,this._constraining=!1}},wn.prototype._calcMatrices=function(){if(this.height){var t=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var r=Math.PI/2+this._pitch,n=this._fov*(.5+t.y/this.height),i=Math.sin(n)*this.cameraToCenterDistance/Math.sin(e.clamp(Math.PI-r-n,.01,Math.PI-.01)),o=this.point,a=o.x,s=o.y,l=1.01*(Math.cos(Math.PI/2-this._pitch)*i+this.cameraToCenterDistance),u=this.height/50,c=new Float64Array(16);e.perspective(c,this._fov,this.width/this.height,u,l),c[8]=2*-t.x/this.width,c[9]=2*t.y/this.height,e.scale(c,c,[1,-1,1]),e.translate(c,c,[0,0,-this.cameraToCenterDistance]),e.rotateX(c,c,this._pitch),e.rotateZ(c,c,this.angle),e.translate(c,c,[-a,-s,0]),this.mercatorMatrix=e.scale([],c,[this.worldSize,this.worldSize,this.worldSize]),e.scale(c,c,[1,1,e.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=c,this.invProjMatrix=e.invert([],this.projMatrix);var f=this.width%2/2,p=this.height%2/2,d=Math.cos(this.angle),h=Math.sin(this.angle),v=a-Math.round(a)+d*f+h*p,m=s-Math.round(s)+d*p+h*f,g=new Float64Array(c);if(e.translate(g,g,[v>.5?v-1:v,m>.5?m-1:m,0]),this.alignedProjMatrix=g,c=e.create(),e.scale(c,c,[this.width/2,-this.height/2,1]),e.translate(c,c,[1,-1,0]),this.labelPlaneMatrix=c,c=e.create(),e.scale(c,c,[1,-1,1]),e.translate(c,c,[-1,-1,0]),e.scale(c,c,[2/this.width,2/this.height,1]),this.glCoordMatrix=c,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(c=e.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=c,this._posMatrixCache={},this._alignedPosMatrixCache={}}},wn.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var t=this.pointCoordinate(new e.Point(0,0)),r=[t.x*this.worldSize,t.y*this.worldSize,0,1];return e.transformMat4(r,r,this.pixelMatrix)[3]/this.cameraToCenterDistance},wn.prototype.getCameraPoint=function(){var t=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,t))},wn.prototype.getCameraQueryGeometry=function(t){var r=this.getCameraPoint();if(1===t.length)return[t[0],r];for(var n=r.x,i=r.y,o=r.x,a=r.y,s=0,l=t;s<l.length;s+=1){var u=l[s];n=Math.min(n,u.x),i=Math.min(i,u.y),o=Math.max(o,u.x),a=Math.max(a,u.y)}return[new e.Point(n,i),new e.Point(o,i),new e.Point(o,a),new e.Point(n,a),new e.Point(n,i)]},Object.defineProperties(wn.prototype,_n);var En=function(t){var r,n,i,o;this._hashName=t&&encodeURIComponent(t),e.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(r=this._updateHashUnthrottled.bind(this),n=!1,i=null,o=function(){i=null,n&&(r(),i=setTimeout(o,300),n=!1)},function(){return n=!0,i||o(),i})};En.prototype.addTo=function(t){return this._map=t,e.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},En.prototype.remove=function(){return e.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},En.prototype.getHashString=function(t){var r=this._map.getCenter(),n=Math.round(100*this._map.getZoom())/100,i=Math.ceil((n*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,i),a=Math.round(r.lng*o)/o,s=Math.round(r.lat*o)/o,l=this._map.getBearing(),u=this._map.getPitch(),c="";if(c+=t?"/"+a+"/"+s+"/"+n:n+"/"+s+"/"+a,(l||u)&&(c+="/"+Math.round(10*l)/10),u&&(c+="/"+Math.round(u)),this._hashName){var f=this._hashName,p=!1,d=e.window.location.hash.slice(1).split("&").map((function(e){var t=e.split("=")[0];return t===f?(p=!0,t+"="+c):e})).filter((function(e){return e}));return p||d.push(f+"="+c),"#"+d.join("&")}return"#"+c},En.prototype._getCurrentHash=function(){var t,r=this,n=e.window.location.hash.replace("#","");return this._hashName?(n.split("&").map((function(e){return e.split("=")})).forEach((function(e){e[0]===r._hashName&&(t=e)})),(t&&t[1]||"").split("/")):n.split("/")},En.prototype._onHashChange=function(){var e=this._getCurrentHash();if(e.length>=3&&!e.some((function(e){return isNaN(e)}))){var t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0}return!1},En.prototype._updateHashUnthrottled=function(){var t=this.getHashString();try{e.window.history.replaceState(e.window.history.state,"",t)}catch(e){}};var kn={linearity:.3,easing:e.bezier(0,0,.3,1)},Tn=e.extend({deceleration:2500,maxSpeed:1400},kn),Cn=e.extend({deceleration:20,maxSpeed:1400},kn),Sn=e.extend({deceleration:1e3,maxSpeed:360},kn),On=e.extend({deceleration:1e3,maxSpeed:90},kn),Mn=function(e){this._map=e,this.clear()};function Pn(e,t){(!e.duration||e.duration<t.duration)&&(e.duration=t.duration,e.easing=t.easing)}function Bn(t,r,n){var i=n.maxSpeed,o=n.linearity,a=n.deceleration,s=e.clamp(t*o/(r/1e3),-i,i),l=Math.abs(s)/(a*o);return{easing:n.easing,duration:1e3*l,amount:s*(l/2)}}Mn.prototype.clear=function(){this._inertiaBuffer=[]},Mn.prototype.record=function(t){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.browser.now(),settings:t})},Mn.prototype._drainInertiaBuffer=function(){for(var t=this._inertiaBuffer,r=e.browser.now();t.length>0&&r-t[0].time>160;)t.shift()},Mn.prototype._onMoveEnd=function(t){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var r={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0},n=0,i=this._inertiaBuffer;n<i.length;n+=1){var o=i[n].settings;r.zoom+=o.zoomDelta||0,r.bearing+=o.bearingDelta||0,r.pitch+=o.pitchDelta||0,o.panDelta&&r.pan._add(o.panDelta),o.around&&(r.around=o.around),o.pinchAround&&(r.pinchAround=o.pinchAround)}var a=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,s={};if(r.pan.mag()){var l=Bn(r.pan.mag(),a,e.extend({},Tn,t||{}));s.offset=r.pan.mult(l.amount/r.pan.mag()),s.center=this._map.transform.center,Pn(s,l)}if(r.zoom){var u=Bn(r.zoom,a,Cn);s.zoom=this._map.transform.zoom+u.amount,Pn(s,u)}if(r.bearing){var c=Bn(r.bearing,a,Sn);s.bearing=this._map.transform.bearing+e.clamp(c.amount,-179,179),Pn(s,c)}if(r.pitch){var f=Bn(r.pitch,a,On);s.pitch=this._map.transform.pitch+f.amount,Pn(s,f)}if(s.zoom||s.bearing){var p=void 0===r.pinchAround?r.around:r.pinchAround;s.around=p?this._map.unproject(p):this._map.getCenter()}return this.clear(),e.extend(s,{noMoveStart:!0})}};var Ln=function(t){function n(n,i,o,a){void 0===a&&(a={});var s=r.mousePos(i.getCanvasContainer(),o),l=i.unproject(s);t.call(this,n,e.extend({point:s,lngLat:l,originalEvent:o},a)),this._defaultPrevented=!1,this.target=i}t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n;var i={defaultPrevented:{configurable:!0}};return n.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(n.prototype,i),n}(e.Event),Dn=function(t){function n(n,i,o){var a="touchend"===n?o.changedTouches:o.touches,s=r.touchPos(i.getCanvasContainer(),a),l=s.map((function(e){return i.unproject(e)})),u=s.reduce((function(e,t,r,n){return e.add(t.div(n.length))}),new e.Point(0,0)),c=i.unproject(u);t.call(this,n,{points:s,point:u,lngLats:l,lngLat:c,originalEvent:o}),this._defaultPrevented=!1}t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n;var i={defaultPrevented:{configurable:!0}};return n.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(n.prototype,i),n}(e.Event),In=function(e){function t(t,r,n){e.call(this,t,{originalEvent:n}),this._defaultPrevented=!1}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={defaultPrevented:{configurable:!0}};return t.prototype.preventDefault=function(){this._defaultPrevented=!0},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(t.prototype,r),t}(e.Event),jn=function(e,t){this._map=e,this._clickTolerance=t.clickTolerance};jn.prototype.reset=function(){delete this._mousedownPos},jn.prototype.wheel=function(e){return this._firePreventable(new In(e.type,this._map,e))},jn.prototype.mousedown=function(e,t){return this._mousedownPos=t,this._firePreventable(new Ln(e.type,this._map,e))},jn.prototype.mouseup=function(e){this._map.fire(new Ln(e.type,this._map,e))},jn.prototype.click=function(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new Ln(e.type,this._map,e))},jn.prototype.dblclick=function(e){return this._firePreventable(new Ln(e.type,this._map,e))},jn.prototype.mouseover=function(e){this._map.fire(new Ln(e.type,this._map,e))},jn.prototype.mouseout=function(e){this._map.fire(new Ln(e.type,this._map,e))},jn.prototype.touchstart=function(e){return this._firePreventable(new Dn(e.type,this._map,e))},jn.prototype.touchmove=function(e){this._map.fire(new Dn(e.type,this._map,e))},jn.prototype.touchend=function(e){this._map.fire(new Dn(e.type,this._map,e))},jn.prototype.touchcancel=function(e){this._map.fire(new Dn(e.type,this._map,e))},jn.prototype._firePreventable=function(e){if(this._map.fire(e),e.defaultPrevented)return{}},jn.prototype.isEnabled=function(){return!0},jn.prototype.isActive=function(){return!1},jn.prototype.enable=function(){},jn.prototype.disable=function(){};var Rn=function(e){this._map=e};Rn.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Rn.prototype.mousemove=function(e){this._map.fire(new Ln(e.type,this._map,e))},Rn.prototype.mousedown=function(){this._delayContextMenu=!0},Rn.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Ln("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Rn.prototype.contextmenu=function(e){this._delayContextMenu?this._contextMenuEvent=e:this._map.fire(new Ln(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault()},Rn.prototype.isEnabled=function(){return!0},Rn.prototype.isActive=function(){return!1},Rn.prototype.enable=function(){},Rn.prototype.disable=function(){};var Fn=function(e,t){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1};function Nn(e,t){for(var r={},n=0;n<e.length;n++)r[e[n].identifier]=t[n];return r}Fn.prototype.isEnabled=function(){return!!this._enabled},Fn.prototype.isActive=function(){return!!this._active},Fn.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Fn.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Fn.prototype.mousedown=function(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(r.disableDrag(),this._startPos=this._lastPos=t,this._active=!0)},Fn.prototype.mousemoveWindow=function(e,t){if(this._active){var n=t;if(!(this._lastPos.equals(n)||!this._box&&n.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=n,this._box||(this._box=r.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",e));var o=Math.min(i.x,n.x),a=Math.max(i.x,n.x),s=Math.min(i.y,n.y),l=Math.max(i.y,n.y);r.setTransform(this._box,"translate("+o+"px,"+s+"px)"),this._box.style.width=a-o+"px",this._box.style.height=l-s+"px"}}},Fn.prototype.mouseupWindow=function(t,n){var i=this;if(this._active&&0===t.button){var o=this._startPos,a=n;if(this.reset(),r.suppressClick(),o.x!==a.x||o.y!==a.y)return this._map.fire(new e.Event("boxzoomend",{originalEvent:t})),{cameraAnimation:function(e){return e.fitScreenCoordinates(o,a,i._map.getBearing(),{linear:!0})}};this._fireEvent("boxzoomcancel",t)}},Fn.prototype.keydown=function(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e))},Fn.prototype.reset=function(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos},Fn.prototype._fireEvent=function(t,r){return this._map.fire(new e.Event(t,{originalEvent:r}))};var zn=function(e){this.reset(),this.numTouches=e.numTouches};zn.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},zn.prototype.touchstart=function(t,r,n){(this.centroid||n.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=t.timeStamp),n.length===this.numTouches&&(this.centroid=function(t){for(var r=new e.Point(0,0),n=0,i=t;n<i.length;n+=1)r._add(i[n]);return r.div(t.length)}(r),this.touches=Nn(n,r)))},zn.prototype.touchmove=function(e,t,r){if(!this.aborted&&this.centroid){var n=Nn(r,t);for(var i in this.touches){var o=n[i];(!o||o.dist(this.touches[i])>30)&&(this.aborted=!0)}}},zn.prototype.touchend=function(e,t,r){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===r.length){var n=!this.aborted&&this.centroid;if(this.reset(),n)return n}};var Un=function(e){this.singleTap=new zn(e),this.numTaps=e.numTaps,this.reset()};Un.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Un.prototype.touchstart=function(e,t,r){this.singleTap.touchstart(e,t,r)},Un.prototype.touchmove=function(e,t,r){this.singleTap.touchmove(e,t,r)},Un.prototype.touchend=function(e,t,r){var n=this.singleTap.touchend(e,t,r);if(n){var i=e.timeStamp-this.lastTime<500,o=!this.lastTap||this.lastTap.dist(n)<30;if(i&&o||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=n,this.count===this.numTaps)return this.reset(),n}};var Hn=function(){this._zoomIn=new Un({numTouches:1,numTaps:2}),this._zoomOut=new Un({numTouches:2,numTaps:1}),this.reset()};Hn.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},Hn.prototype.touchstart=function(e,t,r){this._zoomIn.touchstart(e,t,r),this._zoomOut.touchstart(e,t,r)},Hn.prototype.touchmove=function(e,t,r){this._zoomIn.touchmove(e,t,r),this._zoomOut.touchmove(e,t,r)},Hn.prototype.touchend=function(e,t,r){var n=this,i=this._zoomIn.touchend(e,t,r),o=this._zoomOut.touchend(e,t,r);return i?(this._active=!0,e.preventDefault(),setTimeout((function(){return n.reset()}),0),{cameraAnimation:function(t){return t.easeTo({duration:300,zoom:t.getZoom()+1,around:t.unproject(i)},{originalEvent:e})}}):o?(this._active=!0,e.preventDefault(),setTimeout((function(){return n.reset()}),0),{cameraAnimation:function(t){return t.easeTo({duration:300,zoom:t.getZoom()-1,around:t.unproject(o)},{originalEvent:e})}}):void 0},Hn.prototype.touchcancel=function(){this.reset()},Hn.prototype.enable=function(){this._enabled=!0},Hn.prototype.disable=function(){this._enabled=!1,this.reset()},Hn.prototype.isEnabled=function(){return this._enabled},Hn.prototype.isActive=function(){return this._active};var Vn=function(e){this.reset(),this._clickTolerance=e.clickTolerance||1};Vn.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Vn.prototype._correctButton=function(e,t){return!1},Vn.prototype._move=function(e,t){return{}},Vn.prototype.mousedown=function(e,t){if(!this._lastPoint){var n=r.mouseButton(e);this._correctButton(e,n)&&(this._lastPoint=t,this._eventButton=n)}},Vn.prototype.mousemoveWindow=function(e,t){var r=this._lastPoint;if(r&&(e.preventDefault(),this._moved||!(t.dist(r)<this._clickTolerance)))return this._moved=!0,this._lastPoint=t,this._move(r,t)},Vn.prototype.mouseupWindow=function(e){r.mouseButton(e)===this._eventButton&&(this._moved&&r.suppressClick(),this.reset())},Vn.prototype.enable=function(){this._enabled=!0},Vn.prototype.disable=function(){this._enabled=!1,this.reset()},Vn.prototype.isEnabled=function(){return this._enabled},Vn.prototype.isActive=function(){return this._active};var Qn=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.mousedown=function(t,r){e.prototype.mousedown.call(this,t,r),this._lastPoint&&(this._active=!0)},t.prototype._correctButton=function(e,t){return 0===t&&!e.ctrlKey},t.prototype._move=function(e,t){return{around:t,panDelta:t.sub(e)}},t}(Vn),Wn=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var r=.8*(t.x-e.x);if(r)return this._active=!0,{bearingDelta:r}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(Vn),Kn=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var r=-.5*(t.y-e.y);if(r)return this._active=!0,{pitchDelta:r}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(Vn),qn=function(e){this._minTouches=1,this._clickTolerance=e.clickTolerance||1,this.reset()};qn.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new e.Point(0,0)},qn.prototype.touchstart=function(e,t,r){return this._calculateTransform(e,t,r)},qn.prototype.touchmove=function(e,t,r){if(this._active)return e.preventDefault(),this._calculateTransform(e,t,r)},qn.prototype.touchend=function(e,t,r){this._calculateTransform(e,t,r),this._active&&r.length<this._minTouches&&this.reset()},qn.prototype.touchcancel=function(){this.reset()},qn.prototype._calculateTransform=function(t,r,n){n.length>0&&(this._active=!0);var i=Nn(n,r),o=new e.Point(0,0),a=new e.Point(0,0),s=0;for(var l in i){var u=i[l],c=this._touches[l];c&&(o._add(u),a._add(u.sub(c)),s++,i[l]=u)}if(this._touches=i,!(s<this._minTouches)&&a.mag()){var f=a.div(s);if(this._sum._add(f),!(this._sum.mag()<this._clickTolerance))return{around:o.div(s),panDelta:f}}},qn.prototype.enable=function(){this._enabled=!0},qn.prototype.disable=function(){this._enabled=!1,this.reset()},qn.prototype.isEnabled=function(){return this._enabled},qn.prototype.isActive=function(){return this._active};var Gn=function(){this.reset()};function $n(e,t,r){for(var n=0;n<e.length;n++)if(e[n].identifier===r)return t[n]}function Yn(e,t){return Math.log(e/t)/Math.LN2}Gn.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},Gn.prototype._start=function(e){},Gn.prototype._move=function(e,t,r){return{}},Gn.prototype.touchstart=function(e,t,r){this._firstTwoTouches||r.length<2||(this._firstTwoTouches=[r[0].identifier,r[1].identifier],this._start([t[0],t[1]]))},Gn.prototype.touchmove=function(e,t,r){if(this._firstTwoTouches){e.preventDefault();var n=this._firstTwoTouches,i=n[1],o=$n(r,t,n[0]),a=$n(r,t,i);if(o&&a){var s=this._aroundCenter?null:o.add(a).div(2);return this._move([o,a],s,e)}}},Gn.prototype.touchend=function(e,t,n){if(this._firstTwoTouches){var i=this._firstTwoTouches,o=i[1],a=$n(n,t,i[0]),s=$n(n,t,o);a&&s||(this._active&&r.suppressClick(),this.reset())}},Gn.prototype.touchcancel=function(){this.reset()},Gn.prototype.enable=function(e){this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around},Gn.prototype.disable=function(){this._enabled=!1,this.reset()},Gn.prototype.isEnabled=function(){return this._enabled},Gn.prototype.isActive=function(){return this._active};var Xn=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._distance,delete this._startDistance},t.prototype._start=function(e){this._startDistance=this._distance=e[0].dist(e[1])},t.prototype._move=function(e,t){var r=this._distance;if(this._distance=e[0].dist(e[1]),this._active||!(Math.abs(Yn(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Yn(this._distance,r),pinchAround:t}},t}(Gn);function Zn(e,t){return 180*e.angleWith(t)/Math.PI}var Jn=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},t.prototype._start=function(e){this._startVector=this._vector=e[0].sub(e[1]),this._minDiameter=e[0].dist(e[1])},t.prototype._move=function(e,t){var r=this._vector;if(this._vector=e[0].sub(e[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:Zn(this._vector,r),pinchAround:t}},t.prototype._isBelowThreshold=function(e){this._minDiameter=Math.min(this._minDiameter,e.mag());var t=25/(Math.PI*this._minDiameter)*360,r=Zn(e,this._startVector);return Math.abs(r)<t},t}(Gn);function ei(e){return Math.abs(e.y)>Math.abs(e.x)}var ti=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},t.prototype._start=function(e){this._lastPoints=e,ei(e[0].sub(e[1]))&&(this._valid=!1)},t.prototype._move=function(e,t,r){var n=e[0].sub(this._lastPoints[0]),i=e[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(n,i,r.timeStamp),this._valid)return this._lastPoints=e,this._active=!0,{pitchDelta:(n.y+i.y)/2*-.5}},t.prototype.gestureBeginsVertically=function(e,t,r){if(void 0!==this._valid)return this._valid;var n=e.mag()>=2,i=t.mag()>=2;if(n||i){if(!n||!i)return void 0===this._firstMove&&(this._firstMove=r),r-this._firstMove<100&&void 0;var o=e.y>0==t.y>0;return ei(e)&&ei(t)&&o}},t}(Gn),ri={panStep:100,bearingStep:15,pitchStep:10},ni=function(){var e=ri;this._panStep=e.panStep,this._bearingStep=e.bearingStep,this._pitchStep=e.pitchStep};function ii(e){return e*(2-e)}ni.prototype.reset=function(){this._active=!1},ni.prototype.keydown=function(e){var t=this;if(!(e.altKey||e.ctrlKey||e.metaKey)){var r=0,n=0,i=0,o=0,a=0;switch(e.keyCode){case 61:case 107:case 171:case 187:r=1;break;case 189:case 109:case 173:r=-1;break;case 37:e.shiftKey?n=-1:(e.preventDefault(),o=-1);break;case 39:e.shiftKey?n=1:(e.preventDefault(),o=1);break;case 38:e.shiftKey?i=1:(e.preventDefault(),a=-1);break;case 40:e.shiftKey?i=-1:(e.preventDefault(),a=1);break;default:return}return{cameraAnimation:function(s){var l=s.getZoom();s.easeTo({duration:300,easeId:"keyboardHandler",easing:ii,zoom:r?Math.round(l)+r*(e.shiftKey?2:1):l,bearing:s.getBearing()+n*t._bearingStep,pitch:s.getPitch()+i*t._pitchStep,offset:[-o*t._panStep,-a*t._panStep],center:s.getCenter()},{originalEvent:e})}}}},ni.prototype.enable=function(){this._enabled=!0},ni.prototype.disable=function(){this._enabled=!1,this.reset()},ni.prototype.isEnabled=function(){return this._enabled},ni.prototype.isActive=function(){return this._active};var oi=function(t,r){this._map=t,this._el=t.getCanvasContainer(),this._handler=r,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,e.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};oi.prototype.setZoomRate=function(e){this._defaultZoomRate=e},oi.prototype.setWheelZoomRate=function(e){this._wheelZoomRate=e},oi.prototype.isEnabled=function(){return!!this._enabled},oi.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},oi.prototype.isZooming=function(){return!!this._zooming},oi.prototype.enable=function(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=e&&"center"===e.around)},oi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},oi.prototype.wheel=function(t){if(this.isEnabled()){var r=t.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?40*t.deltaY:t.deltaY,n=e.browser.now(),i=n-(this._lastWheelEventTime||0);this._lastWheelEventTime=n,0!==r&&r%4.000244140625==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":i>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,t)):this._type||(this._type=Math.abs(i*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),t.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=t,this._delta-=r,this._active||this._start(t)),t.preventDefault()}},oi.prototype._onTimeout=function(e){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e)},oi.prototype._start=function(t){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var n=r.mousePos(this._el,t);this._around=e.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(n)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},oi.prototype.renderFrame=function(){return this._onScrollFrame()},oi.prototype._onScrollFrame=function(){var t=this;if(this._frameId&&(this._frameId=null,this.isActive())){var r=this._map.transform;if(0!==this._delta){var n="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,i=2/(1+Math.exp(-Math.abs(this._delta*n)));this._delta<0&&0!==i&&(i=1/i);var o="number"==typeof this._targetZoom?r.zoomScale(this._targetZoom):r.scale;this._targetZoom=Math.min(r.maxZoom,Math.max(r.minZoom,r.scaleZoom(o*i))),"wheel"===this._type&&(this._startZoom=r.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a,s="number"==typeof this._targetZoom?this._targetZoom:r.zoom,l=this._startZoom,u=this._easing,c=!1;if("wheel"===this._type&&l&&u){var f=Math.min((e.browser.now()-this._lastWheelEventTime)/200,1),p=u(f);a=e.number(l,s,p),f<1?this._frameId||(this._frameId=!0):c=!0}else a=s,c=!0;return this._active=!0,c&&(this._active=!1,this._finishTimeout=setTimeout((function(){t._zooming=!1,t._handler._triggerRenderFrame(),delete t._targetZoom,delete t._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!c,zoomDelta:a-r.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},oi.prototype._smoothOutEasing=function(t){var r=e.ease;if(this._prevEase){var n=this._prevEase,i=(e.browser.now()-n.start)/n.duration,o=n.easing(i+.01)-n.easing(i),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);r=e.bezier(a,s,.25,1)}return this._prevEase={start:e.browser.now(),duration:t,easing:r},r},oi.prototype.reset=function(){this._active=!1};var ai=function(e,t){this._clickZoom=e,this._tapZoom=t};ai.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},ai.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},ai.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},ai.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var si=function(){this.reset()};si.prototype.reset=function(){this._active=!1},si.prototype.dblclick=function(e,t){return e.preventDefault(),{cameraAnimation:function(r){r.easeTo({duration:300,zoom:r.getZoom()+(e.shiftKey?-1:1),around:r.unproject(t)},{originalEvent:e})}}},si.prototype.enable=function(){this._enabled=!0},si.prototype.disable=function(){this._enabled=!1,this.reset()},si.prototype.isEnabled=function(){return this._enabled},si.prototype.isActive=function(){return this._active};var li=function(){this._tap=new Un({numTouches:1,numTaps:1}),this.reset()};li.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},li.prototype.touchstart=function(e,t,r){this._swipePoint||(this._tapTime&&e.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?r.length>0&&(this._swipePoint=t[0],this._swipeTouch=r[0].identifier):this._tap.touchstart(e,t,r))},li.prototype.touchmove=function(e,t,r){if(this._tapTime){if(this._swipePoint){if(r[0].identifier!==this._swipeTouch)return;var n=t[0],i=n.y-this._swipePoint.y;return this._swipePoint=n,e.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(e,t,r)},li.prototype.touchend=function(e,t,r){this._tapTime?this._swipePoint&&0===r.length&&this.reset():this._tap.touchend(e,t,r)&&(this._tapTime=e.timeStamp)},li.prototype.touchcancel=function(){this.reset()},li.prototype.enable=function(){this._enabled=!0},li.prototype.disable=function(){this._enabled=!1,this.reset()},li.prototype.isEnabled=function(){return this._enabled},li.prototype.isActive=function(){return this._active};var ui=function(e,t,r){this._el=e,this._mousePan=t,this._touchPan=r};ui.prototype.enable=function(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},ui.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},ui.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},ui.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var ci=function(e,t,r){this._pitchWithRotate=e.pitchWithRotate,this._mouseRotate=t,this._mousePitch=r};ci.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},ci.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},ci.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},ci.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var fi=function(e,t,r,n){this._el=e,this._touchZoom=t,this._touchRotate=r,this._tapDragZoom=n,this._rotationDisabled=!1,this._enabled=!0};fi.prototype.enable=function(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},fi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},fi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},fi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},fi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},fi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var pi=function(e){return e.zoom||e.drag||e.pitch||e.rotate},di=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(e.Event);function hi(e){return e.panDelta&&e.panDelta.mag()||e.zoomDelta||e.bearingDelta||e.pitchDelta}var vi=function(t,n){this._map=t,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Mn(t),this._bearingSnap=n.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(n),e.bindAll(["handleEvent","handleWindowEvent"],this);var i=this._el;this._listeners=[[i,"touchstart",{passive:!1}],[i,"touchmove",{passive:!1}],[i,"touchend",void 0],[i,"touchcancel",void 0],[i,"mousedown",void 0],[i,"mousemove",void 0],[i,"mouseup",void 0],[e.window.document,"mousemove",{capture:!0}],[e.window.document,"mouseup",void 0],[i,"mouseover",void 0],[i,"mouseout",void 0],[i,"dblclick",void 0],[i,"click",void 0],[i,"keydown",{capture:!1}],[i,"keyup",void 0],[i,"wheel",{passive:!1}],[i,"contextmenu",void 0],[e.window,"blur",void 0]];for(var o=0,a=this._listeners;o<a.length;o+=1){var s=a[o],l=s[0];r.addEventListener(l,s[1],l===e.window.document?this.handleWindowEvent:this.handleEvent,s[2])}};vi.prototype.destroy=function(){for(var t=0,n=this._listeners;t<n.length;t+=1){var i=n[t],o=i[0];r.removeEventListener(o,i[1],o===e.window.document?this.handleWindowEvent:this.handleEvent,i[2])}},vi.prototype._addDefaultHandlers=function(e){var t=this._map,r=t.getCanvasContainer();this._add("mapEvent",new jn(t,e));var n=t.boxZoom=new Fn(t,e);this._add("boxZoom",n);var i=new Hn,o=new si;t.doubleClickZoom=new ai(o,i),this._add("tapZoom",i),this._add("clickZoom",o);var a=new li;this._add("tapDragZoom",a);var s=t.touchPitch=new ti;this._add("touchPitch",s);var l=new Wn(e),u=new Kn(e);t.dragRotate=new ci(e,l,u),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",u,["mouseRotate"]);var c=new Qn(e),f=new qn(e);t.dragPan=new ui(r,c,f),this._add("mousePan",c),this._add("touchPan",f,["touchZoom","touchRotate"]);var p=new Jn,d=new Xn;t.touchZoomRotate=new fi(r,d,p,a),this._add("touchRotate",p,["touchPan","touchZoom"]),this._add("touchZoom",d,["touchPan","touchRotate"]);var h=t.scrollZoom=new oi(t,this);this._add("scrollZoom",h,["mousePan"]);var v=t.keyboard=new ni;this._add("keyboard",v),this._add("blockableMapEvent",new Rn(t));for(var m=0,g=["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"];m<g.length;m+=1){var y=g[m];e.interactive&&e[y]&&t[y].enable(e[y])}},vi.prototype._add=function(e,t,r){this._handlers.push({handlerName:e,handler:t,allowed:r}),this._handlersById[e]=t},vi.prototype.stop=function(){if(!this._updatingCamera){for(var e=0,t=this._handlers;e<t.length;e+=1)t[e].handler.reset();this._inertia.clear(),this._fireEvents({},{}),this._changes=[]}},vi.prototype.isActive=function(){for(var e=0,t=this._handlers;e<t.length;e+=1)if(t[e].handler.isActive())return!0;return!1},vi.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},vi.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},vi.prototype.isMoving=function(){return Boolean(pi(this._eventsInProgress))||this.isZooming()},vi.prototype._blockedByActive=function(e,t,r){for(var n in e)if(n!==r&&(!t||t.indexOf(n)<0))return!0;return!1},vi.prototype.handleWindowEvent=function(e){this.handleEvent(e,e.type+"Window")},vi.prototype._getMapTouches=function(e){for(var t=[],r=0,n=e;r<n.length;r+=1){var i=n[r];this._el.contains(i.target)&&t.push(i)}return t},vi.prototype.handleEvent=function(e,t){if("blur"!==e.type){this._updatingCamera=!0;for(var n="renderFrame"===e.type?void 0:e,i={needsRenderFrame:!1},o={},a={},s=e.touches?this._getMapTouches(e.touches):void 0,l=s?r.touchPos(this._el,s):r.mousePos(this._el,e),u=0,c=this._handlers;u<c.length;u+=1){var f=c[u],p=f.handlerName,d=f.handler,h=f.allowed;if(d.isEnabled()){var v=void 0;this._blockedByActive(a,h,p)?d.reset():d[t||e.type]&&(v=d[t||e.type](e,l,s),this.mergeHandlerResult(i,o,v,p,n),v&&v.needsRenderFrame&&this._triggerRenderFrame()),(v||d.isActive())&&(a[p]=d)}}var m={};for(var g in this._previousActiveHandlers)a[g]||(m[g]=n);this._previousActiveHandlers=a,(Object.keys(m).length||hi(i))&&(this._changes.push([i,o,m]),this._triggerRenderFrame()),(Object.keys(a).length||hi(i))&&this._map._stop(!0),this._updatingCamera=!1;var y=i.cameraAnimation;y&&(this._inertia.clear(),this._fireEvents({},{}),this._changes=[],y(this._map))}else this.stop()},vi.prototype.mergeHandlerResult=function(t,r,n,i,o){if(n){e.extend(t,n);var a={handlerName:i,originalEvent:n.originalEvent||o};void 0!==n.zoomDelta&&(r.zoom=a),void 0!==n.panDelta&&(r.drag=a),void 0!==n.pitchDelta&&(r.pitch=a),void 0!==n.bearingDelta&&(r.rotate=a)}},vi.prototype._applyChanges=function(){for(var t={},r={},n={},i=0,o=this._changes;i<o.length;i+=1){var a=o[i],s=a[0],l=a[1],u=a[2];s.panDelta&&(t.panDelta=(t.panDelta||new e.Point(0,0))._add(s.panDelta)),s.zoomDelta&&(t.zoomDelta=(t.zoomDelta||0)+s.zoomDelta),s.bearingDelta&&(t.bearingDelta=(t.bearingDelta||0)+s.bearingDelta),s.pitchDelta&&(t.pitchDelta=(t.pitchDelta||0)+s.pitchDelta),void 0!==s.around&&(t.around=s.around),void 0!==s.pinchAround&&(t.pinchAround=s.pinchAround),s.noInertia&&(t.noInertia=s.noInertia),e.extend(r,l),e.extend(n,u)}this._updateMapTransform(t,r,n),this._changes=[]},vi.prototype._updateMapTransform=function(e,t,r){var n=this._map,i=n.transform;if(!hi(e))return this._fireEvents(t,r);var o=e.panDelta,a=e.zoomDelta,s=e.bearingDelta,l=e.pitchDelta,u=e.around,c=e.pinchAround;void 0!==c&&(u=c),n._stop(!0),u=u||n.transform.centerPoint;var f=i.pointLocation(o?u.sub(o):u);s&&(i.bearing+=s),l&&(i.pitch+=l),a&&(i.zoom+=a),i.setLocationAtPoint(f,u),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,r)},vi.prototype._fireEvents=function(t,r){var n=this,i=pi(this._eventsInProgress),o=pi(t),a={};for(var s in t)this._eventsInProgress[s]||(a[s+"start"]=t[s].originalEvent),this._eventsInProgress[s]=t[s];for(var l in!i&&o&&this._fireEvent("movestart",o.originalEvent),a)this._fireEvent(l,a[l]);for(var u in t.rotate&&(this._bearingChanged=!0),o&&this._fireEvent("move",o.originalEvent),t)this._fireEvent(u,t[u].originalEvent);var c,f={};for(var p in this._eventsInProgress){var d=this._eventsInProgress[p],h=d.handlerName,v=d.originalEvent;this._handlersById[h].isActive()||(delete this._eventsInProgress[p],f[p+"end"]=c=r[h]||v)}for(var m in f)this._fireEvent(m,f[m]);var g=pi(this._eventsInProgress);if((i||o)&&!g){this._updatingCamera=!0;var y=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),b=function(e){return 0!==e&&-n._bearingSnap<e&&e<n._bearingSnap};y?(b(y.bearing||this._map.getBearing())&&(y.bearing=0),this._map.easeTo(y,{originalEvent:c})):(this._map.fire(new e.Event("moveend",{originalEvent:c})),b(this._map.getBearing())&&this._map.resetNorth()),this._bearingChanged=!1,this._updatingCamera=!1}},vi.prototype._fireEvent=function(t,r){this._map.fire(new e.Event(t,r?{originalEvent:r}:{}))},vi.prototype._triggerRenderFrame=function(){var e=this;void 0===this._frameId&&(this._frameId=this._map._requestRenderFrame((function(t){delete e._frameId,e.handleEvent(new di("renderFrame",{timeStamp:t})),e._applyChanges()})))};var mi=function(t){function r(r,n){t.call(this),this._moving=!1,this._zooming=!1,this.transform=r,this._bearingSnap=n.bearingSnap,e.bindAll(["_renderFrameCallback"],this)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.prototype.getCenter=function(){return new e.LngLat(this.transform.center.lng,this.transform.center.lat)},r.prototype.setCenter=function(e,t){return this.jumpTo({center:e},t)},r.prototype.panBy=function(t,r,n){return t=e.Point.convert(t).mult(-1),this.panTo(this.transform.center,e.extend({offset:t},r),n)},r.prototype.panTo=function(t,r,n){return this.easeTo(e.extend({center:t},r),n)},r.prototype.getZoom=function(){return this.transform.zoom},r.prototype.setZoom=function(e,t){return this.jumpTo({zoom:e},t),this},r.prototype.zoomTo=function(t,r,n){return this.easeTo(e.extend({zoom:t},r),n)},r.prototype.zoomIn=function(e,t){return this.zoomTo(this.getZoom()+1,e,t),this},r.prototype.zoomOut=function(e,t){return this.zoomTo(this.getZoom()-1,e,t),this},r.prototype.getBearing=function(){return this.transform.bearing},r.prototype.setBearing=function(e,t){return this.jumpTo({bearing:e},t),this},r.prototype.getPadding=function(){return this.transform.padding},r.prototype.setPadding=function(e,t){return this.jumpTo({padding:e},t),this},r.prototype.rotateTo=function(t,r,n){return this.easeTo(e.extend({bearing:t},r),n)},r.prototype.resetNorth=function(t,r){return this.rotateTo(0,e.extend({duration:1e3},t),r),this},r.prototype.resetNorthPitch=function(t,r){return this.easeTo(e.extend({bearing:0,pitch:0,duration:1e3},t),r),this},r.prototype.snapToNorth=function(e,t){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(e,t):this},r.prototype.getPitch=function(){return this.transform.pitch},r.prototype.setPitch=function(e,t){return this.jumpTo({pitch:e},t),this},r.prototype.cameraForBounds=function(t,r){return t=e.LngLatBounds.convert(t),this._cameraForBoxAndBearing(t.getNorthWest(),t.getSouthEast(),0,r)},r.prototype._cameraForBoxAndBearing=function(t,r,n,i){var o={top:0,bottom:0,right:0,left:0};if("number"==typeof(i=e.extend({padding:o,offset:[0,0],maxZoom:this.transform.maxZoom},i)).padding){var a=i.padding;i.padding={top:a,bottom:a,right:a,left:a}}i.padding=e.extend(o,i.padding);var s=this.transform,l=s.padding,u=s.project(e.LngLat.convert(t)),c=s.project(e.LngLat.convert(r)),f=u.rotate(-n*Math.PI/180),p=c.rotate(-n*Math.PI/180),d=new e.Point(Math.max(f.x,p.x),Math.max(f.y,p.y)),h=new e.Point(Math.min(f.x,p.x),Math.min(f.y,p.y)),v=d.sub(h),m=(s.width-(l.left+l.right+i.padding.left+i.padding.right))/v.x,g=(s.height-(l.top+l.bottom+i.padding.top+i.padding.bottom))/v.y;if(!(g<0||m<0)){var y=Math.min(s.scaleZoom(s.scale*Math.min(m,g)),i.maxZoom),b=e.Point.convert(i.offset),x=new e.Point(b.x+(i.padding.left-i.padding.right)/2,b.y+(i.padding.top-i.padding.bottom)/2).mult(s.scale/s.zoomScale(y));return{center:s.unproject(u.add(c).div(2).sub(x)),zoom:y,bearing:n}}e.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")},r.prototype.fitBounds=function(e,t,r){return this._fitInternal(this.cameraForBounds(e,t),t,r)},r.prototype.fitScreenCoordinates=function(t,r,n,i,o){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(e.Point.convert(t)),this.transform.pointLocation(e.Point.convert(r)),n,i),i,o)},r.prototype._fitInternal=function(t,r,n){return t?(delete(r=e.extend(t,r)).padding,r.linear?this.easeTo(r,n):this.flyTo(r,n)):this},r.prototype.jumpTo=function(t,r){this.stop();var n=this.transform,i=!1,o=!1,a=!1;return"zoom"in t&&n.zoom!==+t.zoom&&(i=!0,n.zoom=+t.zoom),void 0!==t.center&&(n.center=e.LngLat.convert(t.center)),"bearing"in t&&n.bearing!==+t.bearing&&(o=!0,n.bearing=+t.bearing),"pitch"in t&&n.pitch!==+t.pitch&&(a=!0,n.pitch=+t.pitch),null==t.padding||n.isPaddingEqual(t.padding)||(n.padding=t.padding),this.fire(new e.Event("movestart",r)).fire(new e.Event("move",r)),i&&this.fire(new e.Event("zoomstart",r)).fire(new e.Event("zoom",r)).fire(new e.Event("zoomend",r)),o&&this.fire(new e.Event("rotatestart",r)).fire(new e.Event("rotate",r)).fire(new e.Event("rotateend",r)),a&&this.fire(new e.Event("pitchstart",r)).fire(new e.Event("pitch",r)).fire(new e.Event("pitchend",r)),this.fire(new e.Event("moveend",r))},r.prototype.easeTo=function(t,r){var n=this;this._stop(!1,t.easeId),(!1===(t=e.extend({offset:[0,0],duration:500,easing:e.ease},t)).animate||!t.essential&&e.browser.prefersReducedMotion)&&(t.duration=0);var i=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),l=this.getPadding(),u="zoom"in t?+t.zoom:o,c="bearing"in t?this._normalizeBearing(t.bearing,a):a,f="pitch"in t?+t.pitch:s,p="padding"in t?t.padding:i.padding,d=e.Point.convert(t.offset),h=i.centerPoint.add(d),v=i.pointLocation(h),m=e.LngLat.convert(t.center||v);this._normalizeCenter(m);var g,y,b=i.project(v),x=i.project(m).sub(b),A=i.zoomScale(u-o);t.around&&(g=e.LngLat.convert(t.around),y=i.locationPoint(g));var w={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||u!==o,this._rotating=this._rotating||a!==c,this._pitching=this._pitching||f!==s,this._padding=!i.isPaddingEqual(p),this._easeId=t.easeId,this._prepareEase(r,t.noMoveStart,w),clearTimeout(this._easeEndTimeoutID),this._ease((function(t){if(n._zooming&&(i.zoom=e.number(o,u,t)),n._rotating&&(i.bearing=e.number(a,c,t)),n._pitching&&(i.pitch=e.number(s,f,t)),n._padding&&(i.interpolatePadding(l,p,t),h=i.centerPoint.add(d)),g)i.setLocationAtPoint(g,y);else{var v=i.zoomScale(i.zoom-o),m=u>o?Math.min(2,A):Math.max(.5,A),w=Math.pow(m,1-t),_=i.unproject(b.add(x.mult(t*w)).mult(v));i.setLocationAtPoint(i.renderWorldCopies?_.wrap():_,h)}n._fireMoveEvents(r)}),(function(e){n._afterEase(r,e)}),t),this},r.prototype._prepareEase=function(t,r,n){void 0===n&&(n={}),this._moving=!0,r||n.moving||this.fire(new e.Event("movestart",t)),this._zooming&&!n.zooming&&this.fire(new e.Event("zoomstart",t)),this._rotating&&!n.rotating&&this.fire(new e.Event("rotatestart",t)),this._pitching&&!n.pitching&&this.fire(new e.Event("pitchstart",t))},r.prototype._fireMoveEvents=function(t){this.fire(new e.Event("move",t)),this._zooming&&this.fire(new e.Event("zoom",t)),this._rotating&&this.fire(new e.Event("rotate",t)),this._pitching&&this.fire(new e.Event("pitch",t))},r.prototype._afterEase=function(t,r){if(!this._easeId||!r||this._easeId!==r){delete this._easeId;var n=this._zooming,i=this._rotating,o=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,n&&this.fire(new e.Event("zoomend",t)),i&&this.fire(new e.Event("rotateend",t)),o&&this.fire(new e.Event("pitchend",t)),this.fire(new e.Event("moveend",t))}},r.prototype.flyTo=function(t,r){var n=this;if(!t.essential&&e.browser.prefersReducedMotion){var i=e.pick(t,["center","zoom","bearing","pitch","around"]);return this.jumpTo(i,r)}this.stop(),t=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},t);var o=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),u=this.getPadding(),c="zoom"in t?e.clamp(+t.zoom,o.minZoom,o.maxZoom):a,f="bearing"in t?this._normalizeBearing(t.bearing,s):s,p="pitch"in t?+t.pitch:l,d="padding"in t?t.padding:o.padding,h=o.zoomScale(c-a),v=e.Point.convert(t.offset),m=o.centerPoint.add(v),g=o.pointLocation(m),y=e.LngLat.convert(t.center||g);this._normalizeCenter(y);var b=o.project(g),x=o.project(y).sub(b),A=t.curve,w=Math.max(o.width,o.height),_=w/h,E=x.mag();if("minZoom"in t){var k=e.clamp(Math.min(t.minZoom,a,c),o.minZoom,o.maxZoom),T=w/o.zoomScale(k-a);A=Math.sqrt(T/E*2)}var C=A*A;function S(e){var t=(_*_-w*w+(e?-1:1)*C*C*E*E)/(2*(e?_:w)*C*E);return Math.log(Math.sqrt(t*t+1)-t)}function O(e){return(Math.exp(e)-Math.exp(-e))/2}function M(e){return(Math.exp(e)+Math.exp(-e))/2}var P=S(0),B=function(e){return M(P)/M(P+A*e)},L=function(e){return w*((M(P)*(O(t=P+A*e)/M(t))-O(P))/C)/E;var t},D=(S(1)-P)/A;if(Math.abs(E)<1e-6||!isFinite(D)){if(Math.abs(w-_)<1e-6)return this.easeTo(t,r);var I=_<w?-1:1;D=Math.abs(Math.log(_/w))/A,L=function(){return 0},B=function(e){return Math.exp(I*A*e)}}return t.duration="duration"in t?+t.duration:1e3*D/("screenSpeed"in t?+t.screenSpeed/A:+t.speed),t.maxDuration&&t.duration>t.maxDuration&&(t.duration=0),this._zooming=!0,this._rotating=s!==f,this._pitching=p!==l,this._padding=!o.isPaddingEqual(d),this._prepareEase(r,!1),this._ease((function(t){var i=t*D,h=1/B(i);o.zoom=1===t?c:a+o.scaleZoom(h),n._rotating&&(o.bearing=e.number(s,f,t)),n._pitching&&(o.pitch=e.number(l,p,t)),n._padding&&(o.interpolatePadding(u,d,t),m=o.centerPoint.add(v));var g=1===t?y:o.unproject(b.add(x.mult(L(i))).mult(h));o.setLocationAtPoint(o.renderWorldCopies?g.wrap():g,m),n._fireMoveEvents(r)}),(function(){return n._afterEase(r)}),t),this},r.prototype.isEasing=function(){return!!this._easeFrameId},r.prototype.stop=function(){return this._stop()},r.prototype._stop=function(e,t){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var r=this._onEaseEnd;delete this._onEaseEnd,r.call(this,t)}if(!e){var n=this.handlers;n&&n.stop()}return this},r.prototype._ease=function(t,r,n){!1===n.animate||0===n.duration?(t(1),r()):(this._easeStart=e.browser.now(),this._easeOptions=n,this._onEaseFrame=t,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},r.prototype._renderFrameCallback=function(){var t=Math.min((e.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(t)),t<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},r.prototype._normalizeBearing=function(t,r){t=e.wrap(t,-180,180);var n=Math.abs(t-r);return Math.abs(t-360-r)<n&&(t-=360),Math.abs(t+360-r)<n&&(t+=360),t},r.prototype._normalizeCenter=function(e){var t=this.transform;if(t.renderWorldCopies&&!t.lngRange){var r=e.lng-t.center.lng;e.lng+=r>180?-360:r<-180?360:0}},r}(e.Evented),gi=function(t){void 0===t&&(t={}),this.options=t,e.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};gi.prototype.getDefaultPosition=function(){return"bottom-right"},gi.prototype.onAdd=function(e){var t=this.options&&this.options.compact;return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),t&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===t&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},gi.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},gi.prototype._updateEditLink=function(){var t=this._editLink;t||(t=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(t){var n=r.reduce((function(e,t,n){return t.value&&(e+=t.key+"="+t.value+(n<r.length-1?"&":"")),e}),"?");t.href=e.config.FEEDBACK_URL+"/"+n+(this._map._hash?this._map._hash.getHashString(!0):""),t.rel="noopener nofollow"}},gi.prototype._updateData=function(e){!e||"metadata"!==e.sourceDataType&&"style"!==e.dataType||(this._updateAttributions(),this._updateEditLink())},gi.prototype._updateAttributions=function(){if(this._map.style){var e=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=e.concat(this.options.customAttribution.map((function(e){return"string"!=typeof e?"":e}))):"string"==typeof this.options.customAttribution&&e.push(this.options.customAttribution)),this._map.style.stylesheet){var t=this._map.style.stylesheet;this.styleOwner=t.owner,this.styleId=t.id}var r=this._map.style.sourceCaches;for(var n in r){var i=r[n];if(i.used){var o=i.getSource();o.attribution&&e.indexOf(o.attribution)<0&&e.push(o.attribution)}}e.sort((function(e,t){return e.length-t.length}));var a=(e=e.filter((function(t,r){for(var n=r+1;n<e.length;n++)if(e[n].indexOf(t)>=0)return!1;return!0}))).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,e.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},gi.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var yi=function(){e.bindAll(["_updateLogo"],this),e.bindAll(["_updateCompact"],this)};yi.prototype.onAdd=function(e){this._map=e,this._container=r.create("div","mapboxgl-ctrl");var t=r.create("a","mapboxgl-ctrl-logo");return t.target="_blank",t.rel="noopener nofollow",t.href="https://www.mapbox.com/",t.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),t.setAttribute("rel","noopener nofollow"),this._container.appendChild(t),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},yi.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},yi.prototype.getDefaultPosition=function(){return"bottom-left"},yi.prototype._updateLogo=function(e){e&&"metadata"!==e.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},yi.prototype._logoRequired=function(){if(this._map.style){var e=this._map.style.sourceCaches;for(var t in e)if(e[t].getSource().mapbox_logo)return!0;return!1}},yi.prototype._updateCompact=function(){var e=this._container.children;if(e.length){var t=e[0];this._map.getCanvasContainer().offsetWidth<250?t.classList.add("mapboxgl-compact"):t.classList.remove("mapboxgl-compact")}};var bi=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};bi.prototype.add=function(e){var t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t},bi.prototype.remove=function(e){for(var t=this._currentlyRunning,r=0,n=t?this._queue.concat(t):this._queue;r<n.length;r+=1){var i=n[r];if(i.id===e)return void(i.cancelled=!0)}},bi.prototype.run=function(e){void 0===e&&(e=0);var t=this._currentlyRunning=this._queue;this._queue=[];for(var r=0,n=t;r<n.length;r+=1){var i=n[r];if(!i.cancelled&&(i.callback(e),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},bi.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var xi={"FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},Ai=e.window.HTMLImageElement,wi=e.window.HTMLElement,_i=e.window.ImageBitmap,Ei={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},ki=function(n){function i(t){var r=this;if(null!=(t=e.extend({},Ei,t)).minZoom&&null!=t.maxZoom&&t.minZoom>t.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=t.minPitch&&null!=t.maxPitch&&t.minPitch>t.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=t.minPitch&&t.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=t.maxPitch&&t.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var i=new wn(t.minZoom,t.maxZoom,t.minPitch,t.maxPitch,t.renderWorldCopies);if(n.call(this,i,t),this._interactive=t.interactive,this._maxTileCacheSize=t.maxTileCacheSize,this._failIfMajorPerformanceCaveat=t.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=t.preserveDrawingBuffer,this._antialias=t.antialias,this._trackResize=t.trackResize,this._bearingSnap=t.bearingSnap,this._refreshExpiredTiles=t.refreshExpiredTiles,this._fadeDuration=t.fadeDuration,this._crossSourceCollisions=t.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=t.collectResourceTiming,this._renderTaskQueue=new bi,this._controls=[],this._mapId=e.uniqueId(),this._locale=e.extend({},xi,t.locale),this._requestManager=new e.RequestManager(t.transformRequest,t.accessToken),"string"==typeof t.container){if(this._container=e.window.document.getElementById(t.container),!this._container)throw new Error("Container '"+t.container+"' not found.")}else{if(!(t.container instanceof wi))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=t.container}if(t.maxBounds&&this.setMaxBounds(t.maxBounds),e.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return r._update(!1)})),this.on("moveend",(function(){return r._update(!1)})),this.on("zoom",(function(){return r._update(!0)})),void 0!==e.window&&(e.window.addEventListener("online",this._onWindowOnline,!1),e.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new vi(this,t),this._hash=t.hash&&new En("string"==typeof t.hash&&t.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:t.center,zoom:t.zoom,bearing:t.bearing,pitch:t.pitch}),t.bounds&&(this.resize(),this.fitBounds(t.bounds,e.extend({},t.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=t.localIdeographFontFamily,t.style&&this.setStyle(t.style,{localIdeographFontFamily:t.localIdeographFontFamily}),t.attributionControl&&this.addControl(new gi({customAttribution:t.customAttribution})),this.addControl(new yi,t.logoPosition),this.on("style.load",(function(){r.transform.unmodified&&r.jumpTo(r.style.stylesheet)})),this.on("data",(function(t){r._update("style"===t.dataType),r.fire(new e.Event(t.dataType+"data",t))})),this.on("dataloading",(function(t){r.fire(new e.Event(t.dataType+"dataloading",t))}))}n&&(i.__proto__=n),(i.prototype=Object.create(n&&n.prototype)).constructor=i;var o={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return i.prototype._getMapId=function(){return this._mapId},i.prototype.addControl=function(t,r){if(void 0===r&&t.getDefaultPosition&&(r=t.getDefaultPosition()),void 0===r&&(r="top-right"),!t||!t.onAdd)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var n=t.onAdd(this);this._controls.push(t);var i=this._controlPositions[r];return-1!==r.indexOf("bottom")?i.insertBefore(n,i.firstChild):i.appendChild(n),this},i.prototype.removeControl=function(t){if(!t||!t.onRemove)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var r=this._controls.indexOf(t);return r>-1&&this._controls.splice(r,1),t.onRemove(this),this},i.prototype.resize=function(t){var r=this._containerDimensions(),n=r[0],i=r[1];this._resizeCanvas(n,i),this.transform.resize(n,i),this.painter.resize(n,i);var o=!this._moving;return o&&(this.stop(),this.fire(new e.Event("movestart",t)).fire(new e.Event("move",t))),this.fire(new e.Event("resize",t)),o&&this.fire(new e.Event("moveend",t)),this},i.prototype.getBounds=function(){return this.transform.getBounds()},i.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},i.prototype.setMaxBounds=function(t){return this.transform.setMaxBounds(e.LngLatBounds.convert(t)),this._update()},i.prototype.setMinZoom=function(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom)return this.transform.minZoom=e,this._update(),this.getZoom()<e&&this.setZoom(e),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},i.prototype.getMinZoom=function(){return this.transform.minZoom},i.prototype.setMaxZoom=function(e){if((e=null==e?22:e)>=this.transform.minZoom)return this.transform.maxZoom=e,this._update(),this.getZoom()>e&&this.setZoom(e),this;throw new Error("maxZoom must be greater than the current minZoom")},i.prototype.getMaxZoom=function(){return this.transform.maxZoom},i.prototype.setMinPitch=function(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch)return this.transform.minPitch=e,this._update(),this.getPitch()<e&&this.setPitch(e),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},i.prototype.getMinPitch=function(){return this.transform.minPitch},i.prototype.setMaxPitch=function(e){if((e=null==e?60:e)>60)throw new Error("maxPitch must be less than or equal to 60");if(e>=this.transform.minPitch)return this.transform.maxPitch=e,this._update(),this.getPitch()>e&&this.setPitch(e),this;throw new Error("maxPitch must be greater than the current minPitch")},i.prototype.getMaxPitch=function(){return this.transform.maxPitch},i.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},i.prototype.setRenderWorldCopies=function(e){return this.transform.renderWorldCopies=e,this._update()},i.prototype.project=function(t){return this.transform.locationPoint(e.LngLat.convert(t))},i.prototype.unproject=function(t){return this.transform.pointLocation(e.Point.convert(t))},i.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},i.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},i.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},i.prototype._createDelegatedListener=function(e,t,r){var n,i=this;if("mouseenter"===e||"mouseover"===e){var o=!1;return{layer:t,listener:r,delegates:{mousemove:function(n){var a=i.getLayer(t)?i.queryRenderedFeatures(n.point,{layers:[t]}):[];a.length?o||(o=!0,r.call(i,new Ln(e,i,n.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if("mouseleave"===e||"mouseout"===e){var a=!1;return{layer:t,listener:r,delegates:{mousemove:function(n){(i.getLayer(t)?i.queryRenderedFeatures(n.point,{layers:[t]}):[]).length?a=!0:a&&(a=!1,r.call(i,new Ln(e,i,n.originalEvent)))},mouseout:function(t){a&&(a=!1,r.call(i,new Ln(e,i,t.originalEvent)))}}}}return{layer:t,listener:r,delegates:(n={},n[e]=function(e){var n=i.getLayer(t)?i.queryRenderedFeatures(e.point,{layers:[t]}):[];n.length&&(e.features=n,r.call(i,e),delete e.features)},n)}},i.prototype.on=function(e,t,r){if(void 0===r)return n.prototype.on.call(this,e,t);var i=this._createDelegatedListener(e,t,r);for(var o in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[e]=this._delegatedListeners[e]||[],this._delegatedListeners[e].push(i),i.delegates)this.on(o,i.delegates[o]);return this},i.prototype.once=function(e,t,r){if(void 0===r)return n.prototype.once.call(this,e,t);var i=this._createDelegatedListener(e,t,r);for(var o in i.delegates)this.once(o,i.delegates[o]);return this},i.prototype.off=function(e,t,r){var i=this;return void 0===r?n.prototype.off.call(this,e,t):(this._delegatedListeners&&this._delegatedListeners[e]&&function(n){for(var o=n[e],a=0;a<o.length;a++){var s=o[a];if(s.layer===t&&s.listener===r){for(var l in s.delegates)i.off(l,s.delegates[l]);return o.splice(a,1),i}}}(this._delegatedListeners),this)},i.prototype.queryRenderedFeatures=function(t,r){if(!this.style)return[];var n;if(void 0!==r||void 0===t||t instanceof e.Point||Array.isArray(t)||(r=t,t=void 0),r=r||{},(t=t||[[0,0],[this.transform.width,this.transform.height]])instanceof e.Point||"number"==typeof t[0])n=[e.Point.convert(t)];else{var i=e.Point.convert(t[0]),o=e.Point.convert(t[1]);n=[i,new e.Point(o.x,i.y),o,new e.Point(i.x,o.y),i]}return this.style.queryRenderedFeatures(n,r,this.transform)},i.prototype.querySourceFeatures=function(e,t){return this.style.querySourceFeatures(e,t)},i.prototype.setStyle=function(t,r){return!1!==(r=e.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&t?(this._diffStyle(t,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._updateStyle(t,r))},i.prototype._getUIString=function(e){var t=this._locale[e];if(null==t)throw new Error("Missing UI string '"+e+"'");return t},i.prototype._updateStyle=function(e,t){return this.style&&(this.style.setEventedParent(null),this.style._remove()),e?(this.style=new Vt(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e):this.style.loadJSON(e),this):(delete this.style,this)},i.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new Vt(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},i.prototype._diffStyle=function(t,r){var n=this;if("string"==typeof t){var i=this._requestManager.normalizeStyleURL(t),o=this._requestManager.transformRequest(i,e.ResourceType.Style);e.getJSON(o,(function(t,i){t?n.fire(new e.ErrorEvent(t)):i&&n._updateDiff(i,r)}))}else"object"==typeof t&&this._updateDiff(t,r)},i.prototype._updateDiff=function(t,r){try{this.style.setState(t)&&this._update(!0)}catch(n){e.warnOnce("Unable to perform style diff: "+(n.message||n.error||n)+". Rebuilding the style from scratch."),this._updateStyle(t,r)}},i.prototype.getStyle=function(){if(this.style)return this.style.serialize()},i.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():e.warnOnce("There is no style added to the map.")},i.prototype.addSource=function(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)},i.prototype.isSourceLoaded=function(t){var r=this.style&&this.style.sourceCaches[t];if(void 0!==r)return r.loaded();this.fire(new e.ErrorEvent(new Error("There is no source with ID '"+t+"'")))},i.prototype.areTilesLoaded=function(){var e=this.style&&this.style.sourceCaches;for(var t in e){var r=e[t]._tiles;for(var n in r){var i=r[n];if("loaded"!==i.state&&"errored"!==i.state)return!1}}return!0},i.prototype.addSourceType=function(e,t,r){return this._lazyInitEmptyStyle(),this.style.addSourceType(e,t,r)},i.prototype.removeSource=function(e){return this.style.removeSource(e),this._update(!0)},i.prototype.getSource=function(e){return this.style.getSource(e)},i.prototype.addImage=function(t,r,n){void 0===n&&(n={});var i=n.pixelRatio;void 0===i&&(i=1);var o=n.sdf;void 0===o&&(o=!1);var a=n.stretchX,s=n.stretchY,l=n.content;if(this._lazyInitEmptyStyle(),r instanceof Ai||_i&&r instanceof _i){var u=e.browser.getImageData(r);this.style.addImage(t,{data:new e.RGBAImage({width:u.width,height:u.height},u.data),pixelRatio:i,stretchX:a,stretchY:s,content:l,sdf:o,version:0})}else{if(void 0===r.width||void 0===r.height)return this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var c=r;this.style.addImage(t,{data:new e.RGBAImage({width:r.width,height:r.height},new Uint8Array(r.data)),pixelRatio:i,stretchX:a,stretchY:s,content:l,sdf:o,version:0,userImage:c}),c.onAdd&&c.onAdd(this,t)}},i.prototype.updateImage=function(t,r){var n=this.style.getImage(t);if(!n)return this.fire(new e.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var i=r instanceof Ai||_i&&r instanceof _i?e.browser.getImageData(r):r,o=i.width,a=i.height,s=i.data;return void 0===o||void 0===a?this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`"))):o!==n.data.width||a!==n.data.height?this.fire(new e.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image"))):(n.data.replace(s,!(r instanceof Ai||_i&&r instanceof _i)),void this.style.updateImage(t,n))},i.prototype.hasImage=function(t){return t?!!this.style.getImage(t):(this.fire(new e.ErrorEvent(new Error("Missing required image id"))),!1)},i.prototype.removeImage=function(e){this.style.removeImage(e)},i.prototype.loadImage=function(t,r){e.getImage(this._requestManager.transformRequest(t,e.ResourceType.Image),r)},i.prototype.listImages=function(){return this.style.listImages()},i.prototype.addLayer=function(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)},i.prototype.moveLayer=function(e,t){return this.style.moveLayer(e,t),this._update(!0)},i.prototype.removeLayer=function(e){return this.style.removeLayer(e),this._update(!0)},i.prototype.getLayer=function(e){return this.style.getLayer(e)},i.prototype.setLayerZoomRange=function(e,t,r){return this.style.setLayerZoomRange(e,t,r),this._update(!0)},i.prototype.setFilter=function(e,t,r){return void 0===r&&(r={}),this.style.setFilter(e,t,r),this._update(!0)},i.prototype.getFilter=function(e){return this.style.getFilter(e)},i.prototype.setPaintProperty=function(e,t,r,n){return void 0===n&&(n={}),this.style.setPaintProperty(e,t,r,n),this._update(!0)},i.prototype.getPaintProperty=function(e,t){return this.style.getPaintProperty(e,t)},i.prototype.setLayoutProperty=function(e,t,r,n){return void 0===n&&(n={}),this.style.setLayoutProperty(e,t,r,n),this._update(!0)},i.prototype.getLayoutProperty=function(e,t){return this.style.getLayoutProperty(e,t)},i.prototype.setLight=function(e,t){return void 0===t&&(t={}),this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)},i.prototype.getLight=function(){return this.style.getLight()},i.prototype.setFeatureState=function(e,t){return this.style.setFeatureState(e,t),this._update()},i.prototype.removeFeatureState=function(e,t){return this.style.removeFeatureState(e,t),this._update()},i.prototype.getFeatureState=function(e){return this.style.getFeatureState(e)},i.prototype.getContainer=function(){return this._container},i.prototype.getCanvasContainer=function(){return this._canvasContainer},i.prototype.getCanvas=function(){return this._canvas},i.prototype._containerDimensions=function(){var e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]},i.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==e.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&e.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},i.prototype._setupContainer=function(){var e=this._container;e.classList.add("mapboxgl-map"),(this._missingCSSCanary=r.create("div","mapboxgl-canary",e)).style.visibility="hidden",this._detectMissingCSS();var t=this._canvasContainer=r.create("div","mapboxgl-canvas-container",e);this._interactive&&t.classList.add("mapboxgl-interactive"),this._canvas=r.create("canvas","mapboxgl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var n=this._containerDimensions();this._resizeCanvas(n[0],n[1]);var i=this._controlContainer=r.create("div","mapboxgl-control-container",e),o=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(e){o[e]=r.create("div","mapboxgl-ctrl-"+e,i)}))},i.prototype._resizeCanvas=function(t,r){var n=e.browser.devicePixelRatio||1;this._canvas.width=n*t,this._canvas.height=n*r,this._canvas.style.width=t+"px",this._canvas.style.height=r+"px"},i.prototype._setupPainter=function(){var r=e.extend({},t.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),n=this._canvas.getContext("webgl",r)||this._canvas.getContext("experimental-webgl",r);n?(this.painter=new yn(n,this.transform),e.webpSupported.testSupport(n)):this.fire(new e.ErrorEvent(new Error("Failed to initialize WebGL")))},i.prototype._contextLost=function(t){t.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new e.Event("webglcontextlost",{originalEvent:t}))},i.prototype._contextRestored=function(t){this._setupPainter(),this.resize(),this._update(),this.fire(new e.Event("webglcontextrestored",{originalEvent:t}))},i.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},i.prototype._update=function(e){return this.style?(this._styleDirty=this._styleDirty||e,this._sourcesDirty=!0,this.triggerRepaint(),this):this},i.prototype._requestRenderFrame=function(e){return this._update(),this._renderTaskQueue.add(e)},i.prototype._cancelRenderFrame=function(e){this._renderTaskQueue.remove(e)},i.prototype._render=function(t){var r,n=this,i=0,o=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(r=o.createQueryEXT(),o.beginQueryEXT(o.TIME_ELAPSED_EXT,r),i=e.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(t),!this._removed){var a=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var s=this.transform.zoom,l=e.browser.now();this.style.zoomHistory.update(s,l);var u=new e.EvaluationParameters(s,{now:l,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),c=u.crossFadingFactor();1===c&&c===this._crossFadingFactor||(a=!0,this._crossFadingFactor=c),this.style.update(u)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new e.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new e.Event("load"))),this.style&&(this.style.hasTransitions()||a)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var f=e.browser.now()-i;o.endQueryEXT(o.TIME_ELAPSED_EXT,r),setTimeout((function(){var t=o.getQueryObjectEXT(r,o.QUERY_RESULT_EXT)/1e6;o.deleteQueryEXT(r),n.fire(new e.Event("gpu-timing-frame",{cpuTime:f,gpuTime:t}))}),50)}if(this.listens("gpu-timing-layer")){var p=this.painter.collectGpuTimers();setTimeout((function(){var t=n.painter.queryGpuTimers(p);n.fire(new e.Event("gpu-timing-layer",{layerTimes:t}))}),50)}return this._sourcesDirty||this._styleDirty||this._placementDirty||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&(this._fullyLoaded||(this._fullyLoaded=!0),this.fire(new e.Event("idle"))),this}},i.prototype.remove=function(){this._hash&&this._hash.remove();for(var t=0,r=this._controls;t<r.length;t+=1)r[t].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),void 0!==e.window&&(e.window.removeEventListener("resize",this._onWindowResize,!1),e.window.removeEventListener("online",this._onWindowOnline,!1));var n=this.painter.context.gl.getExtension("WEBGL_lose_context");n&&n.loseContext(),Ti(this._canvasContainer),Ti(this._controlContainer),Ti(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this._removed=!0,this.fire(new e.Event("remove"))},i.prototype.triggerRepaint=function(){var t=this;this.style&&!this._frame&&(this._frame=e.browser.frame((function(e){t._frame=null,t._render(e)})))},i.prototype._onWindowOnline=function(){this._update()},i.prototype._onWindowResize=function(e){this._trackResize&&this.resize({originalEvent:e})._update()},o.showTileBoundaries.get=function(){return!!this._showTileBoundaries},o.showTileBoundaries.set=function(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update())},o.showPadding.get=function(){return!!this._showPadding},o.showPadding.set=function(e){this._showPadding!==e&&(this._showPadding=e,this._update())},o.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},o.showCollisionBoxes.set=function(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update())},o.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},o.showOverdrawInspector.set=function(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update())},o.repaint.get=function(){return!!this._repaint},o.repaint.set=function(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint())},o.vertices.get=function(){return!!this._vertices},o.vertices.set=function(e){this._vertices=e,this._update()},i.prototype._setCacheLimits=function(t,r){e.setCacheLimits(t,r)},o.version.get=function(){return e.version},Object.defineProperties(i.prototype,o),i}(mi);function Ti(e){e.parentNode&&e.parentNode.removeChild(e)}var Ci={showCompass:!0,showZoom:!0,visualizePitch:!1},Si=function(t){var n=this;this.options=e.extend({},Ci,t),this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(e){return e.preventDefault()})),this.options.showZoom&&(e.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(function(e){return n._map.zoomIn({},{originalEvent:e})})),r.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(function(e){return n._map.zoomOut({},{originalEvent:e})})),r.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(e.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(function(e){n.options.visualizePitch?n._map.resetNorthPitch({},{originalEvent:e}):n._map.resetNorth({},{originalEvent:e})})),this._compassIcon=r.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};Si.prototype._updateZoomButtons=function(){var e=this._map.getZoom();this._zoomInButton.disabled=e===this._map.getMaxZoom(),this._zoomOutButton.disabled=e===this._map.getMinZoom()},Si.prototype._rotateCompassArrow=function(){var e=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=e},Si.prototype.onAdd=function(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new Oi(this._map,this._compass,this.options.visualizePitch)),this._container},Si.prototype.onRemove=function(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},Si.prototype._createButton=function(e,t){var n=r.create("button",e,this._container);return n.type="button",n.addEventListener("click",t),n},Si.prototype._setButtonTitle=function(e,t){var r=this._map._getUIString("NavigationControl."+t);e.title=r,e.setAttribute("aria-label",r)};var Oi=function(t,n,i){void 0===i&&(i=!1),this._clickTolerance=10,this.element=n,this.mouseRotate=new Wn({clickTolerance:t.dragRotate._mouseRotate._clickTolerance}),this.map=t,i&&(this.mousePitch=new Kn({clickTolerance:t.dragRotate._mousePitch._clickTolerance})),e.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),r.addEventListener(n,"mousedown",this.mousedown),r.addEventListener(n,"touchstart",this.touchstart,{passive:!1}),r.addEventListener(n,"touchmove",this.touchmove),r.addEventListener(n,"touchend",this.touchend),r.addEventListener(n,"touchcancel",this.reset)};function Mi(t,r,n){if(t=new e.LngLat(t.lng,t.lat),r){var i=new e.LngLat(t.lng-360,t.lat),o=new e.LngLat(t.lng+360,t.lat),a=n.locationPoint(t).distSqr(r);n.locationPoint(i).distSqr(r)<a?t=i:n.locationPoint(o).distSqr(r)<a&&(t=o)}for(;Math.abs(t.lng-n.center.lng)>180;){var s=n.locationPoint(t);if(s.x>=0&&s.y>=0&&s.x<=n.width&&s.y<=n.height)break;t.lng>n.center.lng?t.lng-=360:t.lng+=360}return t}Oi.prototype.down=function(e,t){this.mouseRotate.mousedown(e,t),this.mousePitch&&this.mousePitch.mousedown(e,t),r.disableDrag()},Oi.prototype.move=function(e,t){var r=this.map,n=this.mouseRotate.mousemoveWindow(e,t);if(n&&n.bearingDelta&&r.setBearing(r.getBearing()+n.bearingDelta),this.mousePitch){var i=this.mousePitch.mousemoveWindow(e,t);i&&i.pitchDelta&&r.setPitch(r.getPitch()+i.pitchDelta)}},Oi.prototype.off=function(){var e=this.element;r.removeEventListener(e,"mousedown",this.mousedown),r.removeEventListener(e,"touchstart",this.touchstart,{passive:!1}),r.removeEventListener(e,"touchmove",this.touchmove),r.removeEventListener(e,"touchend",this.touchend),r.removeEventListener(e,"touchcancel",this.reset),this.offTemp()},Oi.prototype.offTemp=function(){r.enableDrag(),r.removeEventListener(e.window,"mousemove",this.mousemove),r.removeEventListener(e.window,"mouseup",this.mouseup)},Oi.prototype.mousedown=function(t){this.down(e.extend({},t,{ctrlKey:!0,preventDefault:function(){return t.preventDefault()}}),r.mousePos(this.element,t)),r.addEventListener(e.window,"mousemove",this.mousemove),r.addEventListener(e.window,"mouseup",this.mouseup)},Oi.prototype.mousemove=function(e){this.move(e,r.mousePos(this.element,e))},Oi.prototype.mouseup=function(e){this.mouseRotate.mouseupWindow(e),this.mousePitch&&this.mousePitch.mouseupWindow(e),this.offTemp()},Oi.prototype.touchstart=function(e){1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=r.touchPos(this.element,e.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return e.preventDefault()}},this._startPos))},Oi.prototype.touchmove=function(e){1!==e.targetTouches.length?this.reset():(this._lastPos=r.touchPos(this.element,e.targetTouches)[0],this.move({preventDefault:function(){return e.preventDefault()}},this._lastPos))},Oi.prototype.touchend=function(e){0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},Oi.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};var Pi={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Bi(e,t,r){var n=e.classList;for(var i in Pi)n.remove("mapboxgl-"+r+"-anchor-"+i);n.add("mapboxgl-"+r+"-anchor-"+t)}var Li,Di=function(t){function n(n,i){var o=this;if(t.call(this),(n instanceof e.window.HTMLElement||i)&&(n=e.extend({element:n},i)),e.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=n&&n.anchor||"center",this._color=n&&n.color||"#3FB1CE",this._draggable=n&&n.draggable||!1,this._state="inactive",this._rotation=n&&n.rotation||0,this._rotationAlignment=n&&n.rotationAlignment||"auto",this._pitchAlignment=n&&n.pitchAlignment&&"auto"!==n.pitchAlignment?n.pitchAlignment:this._rotationAlignment,n&&n.element)this._element=n.element,this._offset=e.Point.convert(n&&n.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var a=r.createNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"display","block"),a.setAttributeNS(null,"height","41px"),a.setAttributeNS(null,"width","27px"),a.setAttributeNS(null,"viewBox","0 0 27 41");var s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"stroke","none"),s.setAttributeNS(null,"stroke-width","1"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"fill-rule","evenodd");var l=r.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"fill-rule","nonzero");var u=r.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"transform","translate(3.0, 29.0)"),u.setAttributeNS(null,"fill","#000000");for(var c=0,f=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];c<f.length;c+=1){var p=f[c],d=r.createNS("http://www.w3.org/2000/svg","ellipse");d.setAttributeNS(null,"opacity","0.04"),d.setAttributeNS(null,"cx","10.5"),d.setAttributeNS(null,"cy","5.80029008"),d.setAttributeNS(null,"rx",p.rx),d.setAttributeNS(null,"ry",p.ry),u.appendChild(d)}var h=r.createNS("http://www.w3.org/2000/svg","g");h.setAttributeNS(null,"fill",this._color);var v=r.createNS("http://www.w3.org/2000/svg","path");v.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),h.appendChild(v);var m=r.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"opacity","0.25"),m.setAttributeNS(null,"fill","#000000");var g=r.createNS("http://www.w3.org/2000/svg","path");g.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),m.appendChild(g);var y=r.createNS("http://www.w3.org/2000/svg","g");y.setAttributeNS(null,"transform","translate(6.0, 7.0)"),y.setAttributeNS(null,"fill","#FFFFFF");var b=r.createNS("http://www.w3.org/2000/svg","g");b.setAttributeNS(null,"transform","translate(8.0, 8.0)");var x=r.createNS("http://www.w3.org/2000/svg","circle");x.setAttributeNS(null,"fill","#000000"),x.setAttributeNS(null,"opacity","0.25"),x.setAttributeNS(null,"cx","5.5"),x.setAttributeNS(null,"cy","5.5"),x.setAttributeNS(null,"r","5.4999962");var A=r.createNS("http://www.w3.org/2000/svg","circle");A.setAttributeNS(null,"fill","#FFFFFF"),A.setAttributeNS(null,"cx","5.5"),A.setAttributeNS(null,"cy","5.5"),A.setAttributeNS(null,"r","5.4999962"),b.appendChild(x),b.appendChild(A),l.appendChild(u),l.appendChild(h),l.appendChild(m),l.appendChild(y),l.appendChild(b),a.appendChild(l),this._element.appendChild(a),this._offset=e.Point.convert(n&&n.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(e){e.preventDefault()})),this._element.addEventListener("mousedown",(function(e){e.preventDefault()})),this._element.addEventListener("focus",(function(){var e=o._map.getContainer();e.scrollTop=0,e.scrollLeft=0})),Bi(this._element,this._anchor,"marker"),this._popup=null}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.addTo=function(e){return this.remove(),this._map=e,e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},n.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this},n.prototype.getLngLat=function(){return this._lngLat},n.prototype.setLngLat=function(t){return this._lngLat=e.LngLat.convert(t),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},n.prototype.getElement=function(){return this._element},n.prototype.setPopup=function(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){var t=Math.sqrt(Math.pow(13.5,2)/2);e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[t,-1*(24.6+t)],"bottom-right":[-t,-1*(24.6+t)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=e,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},n.prototype._onKeyPress=function(e){var t=e.code,r=e.charCode||e.keyCode;"Space"!==t&&"Enter"!==t&&32!==r&&13!==r||this.togglePopup()},n.prototype._onMapClick=function(e){var t=e.originalEvent.target,r=this._element;this._popup&&(t===r||r.contains(t))&&this.togglePopup()},n.prototype.getPopup=function(){return this._popup},n.prototype.togglePopup=function(){var e=this._popup;return e?(e.isOpen()?e.remove():e.addTo(this._map),this):this},n.prototype._update=function(e){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Mi(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var t="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?t="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(t="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var n="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?n="rotateX(0deg)":"map"===this._pitchAlignment&&(n="rotateX("+this._map.getPitch()+"deg)"),e&&"moveend"!==e.type||(this._pos=this._pos.round()),r.setTransform(this._element,Pi[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+n+" "+t)}},n.prototype.getOffset=function(){return this._offset},n.prototype.setOffset=function(t){return this._offset=e.Point.convert(t),this._update(),this},n.prototype._onMove=function(t){this._pos=t.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new e.Event("dragstart"))),this.fire(new e.Event("drag"))},n.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new e.Event("dragend")),this._state="inactive"},n.prototype._addDragHandler=function(e){this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},n.prototype.setDraggable=function(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},n.prototype.isDraggable=function(){return this._draggable},n.prototype.setRotation=function(e){return this._rotation=e||0,this._update(),this},n.prototype.getRotation=function(){return this._rotation},n.prototype.setRotationAlignment=function(e){return this._rotationAlignment=e||"auto",this._update(),this},n.prototype.getRotationAlignment=function(){return this._rotationAlignment},n.prototype.setPitchAlignment=function(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this},n.prototype.getPitchAlignment=function(){return this._pitchAlignment},n}(e.Evented),Ii={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},ji=0,Ri=!1,Fi=function(t){function n(r){t.call(this),this.options=e.extend({},Ii,r),e.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.onAdd=function(t){var n;return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),n=this._setupUI,void 0!==Li?n(Li):void 0!==e.window.navigator.permissions?e.window.navigator.permissions.query({name:"geolocation"}).then((function(e){n(Li="denied"!==e.state)})):n(Li=!!e.window.navigator.geolocation),this._container},n.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,ji=0,Ri=!1},n.prototype._isOutOfMapMaxBounds=function(e){var t=this._map.getMaxBounds(),r=e.coords;return t&&(r.longitude<t.getWest()||r.longitude>t.getEast()||r.latitude<t.getSouth()||r.latitude>t.getNorth())},n.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},n.prototype._onSuccess=function(t){if(this._map){if(this._isOutOfMapMaxBounds(t))return this._setErrorState(),this.fire(new e.Event("outofmaxbounds",t)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=t,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(t),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(t),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("geolocate",t)),this._finish()}},n.prototype._updateCamera=function(t){var r=new e.LngLat(t.coords.longitude,t.coords.latitude),n=t.coords.accuracy,i=this._map.getBearing(),o=e.extend({bearing:i},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(n),o,{geolocateSource:!0})},n.prototype._updateMarker=function(t){if(t){var r=new e.LngLat(t.coords.longitude,t.coords.latitude);this._accuracyCircleMarker.setLngLat(r).addTo(this._map),this._userLocationDotMarker.setLngLat(r).addTo(this._map),this._accuracy=t.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},n.prototype._updateCircleRadius=function(){var e=this._map._container.clientHeight/2,t=this._map.unproject([0,e]),r=this._map.unproject([1,e]),n=t.distanceTo(r),i=Math.ceil(2*this._accuracy/n);this._circleElement.style.width=i+"px",this._circleElement.style.height=i+"px"},n.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},n.prototype._onError=function(t){if(this._map){if(this.options.trackUserLocation)if(1===t.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var r=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===t.code&&Ri)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("error",t)),this._finish()}},n.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},n.prototype._setupUI=function(t){var n=this;if(this._container.addEventListener("contextmenu",(function(e){return e.preventDefault()})),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===t){e.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var i=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=i,this._geolocateButton.setAttribute("aria-label",i)}else{var o=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=o,this._geolocateButton.setAttribute("aria-label",o)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Di(this._dotElement),this._circleElement=r.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Di({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(t){t.geolocateSource||"ACTIVE_LOCK"!==n._watchState||t.originalEvent&&"resize"===t.originalEvent.type||(n._watchState="BACKGROUND",n._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),n._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),n.fire(new e.Event("trackuserlocationend")))}))},n.prototype.trigger=function(){if(!this._setup)return e.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new e.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":ji--,Ri=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new e.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var t;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++ji>1?(t={maximumAge:6e5,timeout:0},Ri=!0):(t=this.options.positionOptions,Ri=!1),this._geolocationWatchID=e.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,t)}}else e.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},n.prototype._clearWatch=function(){e.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},n}(e.Evented),Ni={maxWidth:100,unit:"metric"},zi=function(t){this.options=e.extend({},Ni,t),e.bindAll(["_onMove","setUnit"],this)};function Ui(e,t,r){var n=r&&r.maxWidth||100,i=e._container.clientHeight/2,o=e.unproject([0,i]),a=e.unproject([n,i]),s=o.distanceTo(a);if(r&&"imperial"===r.unit){var l=3.2808*s;l>5280?Hi(t,n,l/5280,e._getUIString("ScaleControl.Miles")):Hi(t,n,l,e._getUIString("ScaleControl.Feet"))}else r&&"nautical"===r.unit?Hi(t,n,s/1852,e._getUIString("ScaleControl.NauticalMiles")):s>=1e3?Hi(t,n,s/1e3,e._getUIString("ScaleControl.Kilometers")):Hi(t,n,s,e._getUIString("ScaleControl.Meters"))}function Hi(e,t,r,n){var i,o,a,s=(i=r,(o=Math.pow(10,(""+Math.floor(i)).length-1))*(a=(a=i/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(e){var t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(a)));e.style.width=t*(s/r)+"px",e.innerHTML=s+" "+n}zi.prototype.getDefaultPosition=function(){return"bottom-left"},zi.prototype._onMove=function(){Ui(this._map,this._container,this.options)},zi.prototype.onAdd=function(e){return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},zi.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},zi.prototype.setUnit=function(e){this.options.unit=e,Ui(this._map,this._container,this.options)};var Vi=function(t){this._fullscreen=!1,t&&t.container&&(t.container instanceof e.window.HTMLElement?this._container=t.container:e.warnOnce("Full screen control 'container' must be a DOM element.")),e.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in e.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in e.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in e.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in e.window.document&&(this._fullscreenchange="MSFullscreenChange")};Vi.prototype.onAdd=function(t){return this._map=t,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",e.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Vi.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Vi.prototype._checkFullscreenSupport=function(){return!!(e.window.document.fullscreenEnabled||e.window.document.mozFullScreenEnabled||e.window.document.msFullscreenEnabled||e.window.document.webkitFullscreenEnabled)},Vi.prototype._setupUI=function(){var t=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",t).setAttribute("aria-hidden",!0),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Vi.prototype._updateTitle=function(){var e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e},Vi.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Vi.prototype._isFullscreen=function(){return this._fullscreen},Vi.prototype._changeIcon=function(){(e.window.document.fullscreenElement||e.window.document.mozFullScreenElement||e.window.document.webkitFullscreenElement||e.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Vi.prototype._onClickFullscreen=function(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.mozCancelFullScreen?e.window.document.mozCancelFullScreen():e.window.document.msExitFullscreen?e.window.document.msExitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Qi={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},Wi=function(t){function n(r){t.call(this),this.options=e.extend(Object.create(Qi),r),e.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.addTo=function(t){return this._map&&this.remove(),this._map=t,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new e.Event("open")),this},n.prototype.isOpen=function(){return!!this._map},n.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new e.Event("close")),this},n.prototype.getLngLat=function(){return this._lngLat},n.prototype.setLngLat=function(t){return this._lngLat=e.LngLat.convert(t),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},n.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},n.prototype.getElement=function(){return this._container},n.prototype.setText=function(t){return this.setDOMContent(e.window.document.createTextNode(t))},n.prototype.setHTML=function(t){var r,n=e.window.document.createDocumentFragment(),i=e.window.document.createElement("body");for(i.innerHTML=t;r=i.firstChild;)n.appendChild(r);return this.setDOMContent(n)},n.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},n.prototype.setMaxWidth=function(e){return this.options.maxWidth=e,this._update(),this},n.prototype.setDOMContent=function(e){return this._createContent(),this._content.appendChild(e),this._update(),this},n.prototype.addClassName=function(e){this._container&&this._container.classList.add(e)},n.prototype.removeClassName=function(e){this._container&&this._container.classList.remove(e)},n.prototype.toggleClassName=function(e){if(this._container)return this._container.classList.toggle(e)},n.prototype._createContent=function(){this._content&&r.remove(this._content),this._content=r.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},n.prototype._onMouseUp=function(e){this._update(e.point)},n.prototype._onMouseMove=function(e){this._update(e.point)},n.prototype._onDrag=function(e){this._update(e.point)},n.prototype._update=function(t){var n=this;if(this._map&&(this._lngLat||this._trackPointer)&&this._content&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(e){return n._container.classList.add(e)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Mi(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||t)){var i=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat),o=this.options.anchor,a=function t(r){if(r){if("number"==typeof r){var n=Math.round(Math.sqrt(.5*Math.pow(r,2)));return{center:new e.Point(0,0),top:new e.Point(0,r),"top-left":new e.Point(n,n),"top-right":new e.Point(-n,n),bottom:new e.Point(0,-r),"bottom-left":new e.Point(n,-n),"bottom-right":new e.Point(-n,-n),left:new e.Point(r,0),right:new e.Point(-r,0)}}if(r instanceof e.Point||Array.isArray(r)){var i=e.Point.convert(r);return{center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return{center:e.Point.convert(r.center||[0,0]),top:e.Point.convert(r.top||[0,0]),"top-left":e.Point.convert(r["top-left"]||[0,0]),"top-right":e.Point.convert(r["top-right"]||[0,0]),bottom:e.Point.convert(r.bottom||[0,0]),"bottom-left":e.Point.convert(r["bottom-left"]||[0,0]),"bottom-right":e.Point.convert(r["bottom-right"]||[0,0]),left:e.Point.convert(r.left||[0,0]),right:e.Point.convert(r.right||[0,0])}}return t(new e.Point(0,0))}(this.options.offset);if(!o){var s,l=this._container.offsetWidth,u=this._container.offsetHeight;s=i.y+a.bottom.y<u?["top"]:i.y>this._map.transform.height-u?["bottom"]:[],i.x<l/2?s.push("left"):i.x>this._map.transform.width-l/2&&s.push("right"),o=0===s.length?"bottom":s.join("-")}var c=i.add(a[o]).round();r.setTransform(this._container,Pi[o]+" translate("+c.x+"px,"+c.y+"px)"),Bi(this._container,o,"popup")}},n.prototype._onClose=function(){this.remove()},n}(e.Evented),Ki={version:e.version,supported:t,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:ki,NavigationControl:Si,GeolocateControl:Fi,AttributionControl:gi,ScaleControl:zi,FullscreenControl:Vi,Popup:Wi,Marker:Di,Style:Vt,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,Evented:e.Evented,config:e.config,prewarm:function(){Fe().acquire(De)},clearPrewarmedResources:function(){var e=je;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(De),je=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(t){e.config.ACCESS_TOKEN=t},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(t){e.config.API_URL=t},get workerCount(){return Ie.workerCount},set workerCount(e){Ie.workerCount=e},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(t){e.config.MAX_PARALLEL_IMAGE_REQUESTS=t},clearStorage:function(t){e.clearTileCache(t)},workerUrl:""};return Ki})),r}))},e19c:function(e,t,r){"use strict";var n,i=r("2160"),o=r("96ae"),a=Object.prototype.isPrototypeOf,s=Object.defineProperty,l={configurable:!0,enumerable:!1,writable:!0,value:void 0};n=function(e,t){if(o(e),null===t||i(t))return e;throw new TypeError("Prototype must be null or an object")},e.exports=function(e){var t,r;return e?(2===e.level?e.set?(r=e.set,t=function(e,t){return r.call(n(e,t),t),e}):t=function(e,t){return n(e,t).__proto__=t,e}:t=function e(t,r){var i;return n(t,r),i=a.call(e.nullPolyfill,t),i&&delete e.nullPolyfill.__proto__,null===r&&(r=e.nullPolyfill),t.__proto__=r,i&&s(e.nullPolyfill,"__proto__",l),t},Object.defineProperty(t,"level",{configurable:!1,enumerable:!1,writable:!1,value:e.level})):null}(function(){var e,t=Object.create(null),r={},n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(n){try{e=n.set,e.call(t,r)}catch(i){}if(Object.getPrototypeOf(t)===r)return{set:e,level:2}}return t.__proto__=r,Object.getPrototypeOf(t)===r?{level:2}:(t={},t.__proto__=r,Object.getPrototypeOf(t)===r&&{level:1})}()),r("ba4b")},e19f:function(e,t,r){(function(e){var r={not_string:/[^s]/,number:/[diefg]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijosuxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};function n(){var e=arguments[0],t=n.cache;return t[e]&&t.hasOwnProperty(e)||(t[e]=n.parse(e)),n.format.call(null,t[e],arguments)}n.format=function(e,t){var i,s,l,u,c,f,p,d=1,h=e.length,v="",m=[],g=!0,y="";for(s=0;s<h;s++)if(v=o(e[s]),"string"===v)m[m.length]=e[s];else if("array"===v){if(u=e[s],u[2])for(i=t[d],l=0;l<u[2].length;l++){if(!i.hasOwnProperty(u[2][l]))throw new Error(n("[sprintf] property '%s' does not exist",u[2][l]));i=i[u[2][l]]}else i=u[1]?t[u[1]]:t[d++];if("function"==o(i)&&(i=i()),r.not_string.test(u[8])&&r.not_json.test(u[8])&&"number"!=o(i)&&isNaN(i))throw new TypeError(n("[sprintf] expecting number but found %s",o(i)));switch(r.number.test(u[8])&&(g=i>=0),u[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,u[6]?parseInt(u[6]):0);break;case"e":i=u[7]?i.toExponential(u[7]):i.toExponential();break;case"f":i=u[7]?parseFloat(i).toFixed(u[7]):parseFloat(i);break;case"g":i=u[7]?parseFloat(i).toPrecision(u[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&u[7]?i.substring(0,u[7]):i;break;case"u":i>>>=0;break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase();break}r.json.test(u[8])?m[m.length]=i:(!r.number.test(u[8])||g&&!u[3]?y="":(y=g?"+":"-",i=i.toString().replace(r.sign,"")),f=u[4]?"0"===u[4]?"0":u[4].charAt(1):" ",p=u[6]-(y+i).length,c=u[6]&&p>0?a(f,p):"",m[m.length]=u[5]?y+i+c:"0"===f?y+c+i:c+y+i)}return m.join("")},n.cache={},n.parse=function(e){var t=e,n=[],i=[],o=0;while(t){if(null!==(n=r.text.exec(t)))i[i.length]=n[0];else if(null!==(n=r.modulo.exec(t)))i[i.length]="%";else{if(null===(n=r.placeholder.exec(t)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){o|=1;var a=[],s=n[2],l=[];if(null===(l=r.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a[a.length]=l[1];while(""!==(s=s.substring(l[0].length)))if(null!==(l=r.key_access.exec(s)))a[a.length]=l[1];else{if(null===(l=r.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a[a.length]=l[1]}n[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i[i.length]=n}t=t.substring(n[0].length)}return i};var i=function(e,t,r){return r=(t||[]).slice(0),r.splice(0,0,e),n.apply(null,r)};function o(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function a(e,t){return Array(t+1).join(e)}t.sprintf=n,t.vsprintf=i})("undefined"===typeof window||window)},e1bd:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));let n=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e));while(e--){let n=63&r[e];t+=n<36?n.toString(36):n<62?(n-26).toString(36).toUpperCase():n<63?"_":"-"}return t}},e1c7:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedTextPosition=void 0;var i=h(r("7515")),o=h(r("37cc")),a=h(r("5174")),s=h(r("d7bc")),l=d(r("ab5b")),u=r("4578"),c=h(r("88e7")),f=h(r("76fe"));function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function A(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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function _(e){var t=T();return function(){var r,n=C(e);if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?k(e):t}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var S=function(e){A(r,e);var t=_(r);function r(e){var n;return y(this,r),n=t.call(this,e),n.state={posType:"string"===typeof e.fullValue?"simple":"custom"},n}return x(r,[{key:"render",value:function(){var e=this,t=this.context.localize,r=[{label:t("All"),value:"simple"},{label:t("Custom"),value:"custom"}],n="simple"===this.state.posType?l.default.createElement(l.default.Fragment,null,l.default.createElement(c.default,null,t("This will position all text values on the plot according to the selected position.")),l.default.createElement(i.default,{options:this.props.options,attr:"textposition",clearable:!1})):l.default.createElement(l.default.Fragment,null,l.default.createElement(c.default,null,l.default.createElement("div",null,t("This will position text values individually, according to the provided data positions array. "))),l.default.createElement(f.default,{attr:"textposition"}),l.default.createElement(c.default,null,l.default.createElement("div",null,t('("Top", "Middle", "Bottom") + ("Left", "Center", "Right")'))));return l.default.createElement(a.default,this.props,l.default.createElement(o.default,{options:r,activeOption:this.state.posType,onOptionChange:function(t){e.setState({posType:t}),"simple"===t?e.props.updatePlot("middle center"):e.props.updateContainer({textpositionsrc:null})}}),n)}}]),r}(l.Component);t.UnconnectedTextPosition=S,S.propTypes=m(m({},a.default.propTypes),{},{options:s.default.array,fullValue:s.default.oneOfType([s.default.array,s.default.string])}),S.contextTypes={localize:s.default.func},S.displayName="UnconnectedTextPosition";var O=(0,u.connectToContainer)(S,{modifyPlotProps:function(e,t,r){var n=t.localize,i=[{label:n("Top Left"),value:"top left"},{label:n("Top Center"),value:"top center"},{label:n("Top Right"),value:"top right"},{label:n("Middle Left"),value:"middle left"},{label:n("Middle Center"),value:"middle center"},{label:n("Middle Right"),value:"middle right"},{label:n("Bottom Left"),value:"bottom left"},{label:n("Bottom Center"),value:"bottom center"},{label:n("Bottom Right"),value:"bottom right"}];["pie","bar","funnel","waterfall"].includes(t.container.type)&&(i=[{label:n("Inside"),value:"inside"},{label:n("Outside"),value:"outside"},{label:n("Auto"),value:"auto"},{label:n("None"),value:"none"}]),["funnelarea"].includes(t.container.type)&&(i=[{label:n("Inside"),value:"inside"},{label:n("None"),value:"none"}]),r.options=i,r.clearable=!1}});t.default=O},e1e5:function(e,t,r){"use strict";var n=r("fc26"),i=r("3aa8");function o(e,t){t._len=Math.min(t.u.length,t.v.length,t.w.length,t.x.length,t.y.length,t.z.length),t._u=l(t.u,t._len),t._v=l(t.v,t._len),t._w=l(t.w,t._len),t._x=l(t.x,t._len),t._y=l(t.y,t._len),t._z=l(t.z,t._len);var r=a(t);t._gridFill=r.fill,t._Xs=r.Xs,t._Ys=r.Ys,t._Zs=r.Zs,t._len=r.len;var n,o,s,u=0;t.starts&&(n=l(t.starts.x||[]),o=l(t.starts.y||[]),s=l(t.starts.z||[]),u=Math.min(n.length,o.length,s.length)),t._startsX=n||[],t._startsY=o||[],t._startsZ=s||[];var c,f=0,p=1/0;for(c=0;c<t._len;c++){var d=t._u[c],h=t._v[c],v=t._w[c],m=Math.sqrt(d*d+h*h+v*v);f=Math.max(f,m),p=Math.min(p,m)}for(i(e,t,{vals:[p,f],containerStr:"",cLetter:"c"}),c=0;c<u;c++){var g=n[c];r.xMax=Math.max(r.xMax,g),r.xMin=Math.min(r.xMin,g);var y=o[c];r.yMax=Math.max(r.yMax,y),r.yMin=Math.min(r.yMin,y);var b=s[c];r.zMax=Math.max(r.zMax,b),r.zMin=Math.min(r.zMin,b)}t._slen=u,t._normMax=f,t._xbnds=[r.xMin,r.xMax],t._ybnds=[r.yMin,r.yMax],t._zbnds=[r.zMin,r.zMax]}function a(e){var t,r,i,o,a,l,u,c,f,p,d,h,v=e._x,m=e._y,g=e._z,y=e._len,b=-1/0,x=1/0,A=-1/0,w=1/0,_=-1/0,E=1/0,k="";for(y&&(u=v[0],f=m[0],d=g[0]),y>1&&(c=v[y-1],p=m[y-1],h=g[y-1]),t=0;t<y;t++)b=Math.max(b,v[t]),x=Math.min(x,v[t]),A=Math.max(A,m[t]),w=Math.min(w,m[t]),_=Math.max(_,g[t]),E=Math.min(E,g[t]),o||v[t]===u||(o=!0,k+="x"),a||m[t]===f||(a=!0,k+="y"),l||g[t]===d||(l=!0,k+="z");o||(k+="x"),a||(k+="y"),l||(k+="z");var T=s(e._x),C=s(e._y),S=s(e._z);k=k.replace("x",(u>c?"-":"+")+"x"),k=k.replace("y",(f>p?"-":"+")+"y"),k=k.replace("z",(d>h?"-":"+")+"z");var O=function(){y=0,T=[],C=[],S=[]};(!y||y<T.length*C.length*S.length)&&O();var M=function(e){return"x"===e?v:"y"===e?m:g},P=function(e){return"x"===e?T:"y"===e?C:S},B=function(e){return e[y-1]<e[0]?-1:1},L=M(k[1]),D=M(k[3]),I=M(k[5]),j=P(k[1]).length,R=P(k[3]).length,F=P(k[5]).length,N=!1,z=function(e,t,r){return j*(R*e+t)+r},U=B(M(k[1])),H=B(M(k[3])),V=B(M(k[5]));for(t=0;t<F-1;t++){for(r=0;r<R-1;r++){for(i=0;i<j-1;i++){var Q=z(t,r,i),W=z(t,r,i+1),K=z(t,r+1,i),q=z(t+1,r,i);if(L[Q]*U<L[W]*U&&D[Q]*H<D[K]*H&&I[Q]*V<I[q]*V||(N=!0),N)break}if(N)break}if(N)break}return N&&(n.warn("Encountered arbitrary coordinates! Unable to input data grid."),O()),{xMin:x,yMin:w,zMin:E,xMax:b,yMax:A,zMax:_,Xs:T,Ys:C,Zs:S,len:y,fill:k}}function s(e){return n.distinctVals(e).vals}function l(e,t){if(void 0===t&&(t=e.length),n.isTypedArray(e))return e.subarray(0,t);for(var r=[],i=0;i<t;i++)r[i]=+e[i];return r}e.exports={calc:o,filter:l,processGrid:a}},e1f5:function(e,t,r){"use strict";e.exports=r("99fd")},e209:function(e,t,r){"use strict";function n(e,t,r){return r.indexOf(e)===t}function i(e,t){var r=e.props.group===t.props.group?0:e.props.group<t.props.group?-1:1,n=e.props.name===t.props.name?0:e.props.name<t.props.name?-1:1;return r||n}function o(e,t){if(!t)return e;for(var r=null,o=null,a=0;a<e.length;a++)if(e[a].props.group&&e[a].props.name&&!r){r=a;break}for(var s=r;s<e.length;s++){if(!(e[s].props.group||e[s].props.name||o)){o=s-1;break}s===e.length-1&&(o=s)}var l=0===r?[]:e.slice(0,r),u=r!==o?e.slice(r,o+1):[],c=o===e.length?[]:e.slice(o+1);t=t.filter((function(e){return u.some((function(t){return t.props.name===e.name&&t.props.group===e.group}))}));var f=t.map((function(e){return e.group})).filter(n);return u.sort((function(e,r){var o=f.includes(e.props.group),a=f.includes(r.props.group);if(o&&!a)return-1;if(!o&&a)return 1;if(!o&&!a)return i(e,r);if(o&&a){var s=f.indexOf(e.props.group),l=f.indexOf(r.props.group);if(s<l)return-1;if(s>l)return 1;if(s===l){var u=t.filter((function(t){return t.group===e.props.group})).map((function(e){return e.name})).filter(n),c=u.includes(e.props.name),p=u.includes(r.props.name);if(!c||!p){if(c&&!p)return-1;if(!c&&p)return 1;if(!c&&!p)return i(e,r)}if(c&&p)return u.indexOf(e.props.name)-u.indexOf(r.props.name)}}return 0})),l.concat(u).concat(c)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},e212:function(e,t,r){"use strict";var n,i,o=r("371e"),a=r("0642"),s=r("a5c4"),l=r("5dc6"),u=r("5f5f"),c=r("9fa4"),f=r("6ceb"),p=r("d3d4"),d=r("d7e2"),h=r("609c"),v=r("6add"),m=v.enforce,g=v.clean,y=r("ce56").doAutoRange,b=r("e21b"),x=b.drawMode,A=b.selectMode,w=["xaxis","yaxis"],_=r("d301").SUBPLOT_PATTERN;function E(e,t){this.container=e.container,this.graphDiv=e.graphDiv,this.pixelRatio=e.plotGlPixelRatio||window.devicePixelRatio,this.id=e.id,this.staticPlot=!!e.staticPlot,this.scrollZoom=this.graphDiv._context._scrollZoom.cartesian,this.fullData=null,this.updateRefs(t),this.makeFramework(),this.stopped||(this.glplotOptions=p(this),this.glplotOptions.merge(t),this.glplot=l(this.glplotOptions),this.camera=d(this),this.traces={},this.spikes=u(this.glplot),this.selectBox=c(this.glplot,{innerFill:!1,outerFill:!0}),this.lastButtonState=0,this.pickResult=null,this.isMouseOver=!0,this.stopped=!1,this.redraw=this.draw.bind(this),this.redraw())}e.exports=E;var k=E.prototype;function T(e,t){for(var r=0;r<2;++r){var n=e[r],i=t[r];if(n.length!==i.length)return!0;for(var o=0;o<n.length;++o)if(n[o].x!==i[o].x)return!0}return!1}k.makeFramework=function(){if(this.staticPlot){if(!i&&(n=document.createElement("canvas"),i=f({canvas:n,preserveDrawingBuffer:!1,premultipliedAlpha:!0,antialias:!0}),!i))throw new Error("Error creating static canvas/context for image server");this.canvas=n,this.gl=i}else{var e=this.container.querySelector(".gl-canvas-focus"),t=f({canvas:e,preserveDrawingBuffer:!0,premultipliedAlpha:!0});if(!t)return h(this),void(this.stopped=!0);this.canvas=e,this.gl=t}var r=this.canvas;r.style.width="100%",r.style.height="100%",r.style.position="absolute",r.style.top="0px",r.style.left="0px",r.style["pointer-events"]="none",this.updateSize(r);var o=this.svgContainer=document.createElementNS("http://www.w3.org/2000/svg","svg");o.style.position="absolute",o.style.top=o.style.left="0px",o.style.width=o.style.height="100%",o.style["z-index"]=20,o.style["pointer-events"]="none";var a=this.mouseContainer=document.createElement("div");a.style.position="absolute",a.style["pointer-events"]="auto",this.pickCanvas=this.container.querySelector(".gl-canvas-pick");var s=this.container;s.appendChild(o),s.appendChild(a);var l=this;a.addEventListener("mouseout",(function(){l.isMouseOver=!1,l.unhover()})),a.addEventListener("mouseover",(function(){l.isMouseOver=!0}))},k.toImage=function(e){e||(e="png"),this.stopped=!0,this.staticPlot&&this.container.appendChild(n),this.updateSize(this.canvas);var t=this.glplot.gl,r=t.drawingBufferWidth,i=t.drawingBufferHeight;t.clearColor(1,1,1,0),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),this.glplot.setDirty(),this.glplot.draw(),t.bindFramebuffer(t.FRAMEBUFFER,null);var o=new Uint8Array(r*i*4);t.readPixels(0,0,r,i,t.RGBA,t.UNSIGNED_BYTE,o);for(var a=0,s=i-1;a<s;++a,--s)for(var l=0;l<r;++l)for(var u=0;u<4;++u){var c=o[4*(r*a+l)+u];o[4*(r*a+l)+u]=o[4*(r*s+l)+u],o[4*(r*s+l)+u]=c}var f=document.createElement("canvas");f.width=r,f.height=i;var p,d=f.getContext("2d"),h=d.createImageData(r,i);switch(h.data.set(o),d.putImageData(h,0,0),e){case"jpeg":p=f.toDataURL("image/jpeg");break;case"webp":p=f.toDataURL("image/webp");break;default:p=f.toDataURL("image/png")}return this.staticPlot&&this.container.removeChild(n),p},k.updateSize=function(e){e||(e=this.canvas);var t=this.pixelRatio,r=this.fullLayout,n=r.width,i=r.height,o=0|Math.ceil(t*n),a=0|Math.ceil(t*i);return e.width===o&&e.height===a||(e.width=o,e.height=a),e},k.computeTickMarks=function(){this.xaxis.setScale(),this.yaxis.setScale();for(var e=[a.calcTicks(this.xaxis),a.calcTicks(this.yaxis)],t=0;t<2;++t)for(var r=0;r<e[t].length;++r)e[t][r].text=e[t][r].text+"";return e},k.updateRefs=function(e){this.fullLayout=e;var t=this.id.match(_),r="xaxis"+t[1],n="yaxis"+t[2];this.xaxis=this.fullLayout[r],this.yaxis=this.fullLayout[n]},k.relayoutCallback=function(){var e=this.graphDiv,t=this.xaxis,r=this.yaxis,n=e.layout,i={},a=i[t._name+".range"]=t.range.slice(),s=i[r._name+".range"]=r.range.slice();i[t._name+".autorange"]=t.autorange,i[r._name+".autorange"]=r.autorange,o.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,i);var l=n[t._name];l.range=a,l.autorange=t.autorange;var u=n[r._name];u.range=s,u.autorange=r.autorange,i.lastInputTime=this.camera.lastInputTime,e.emit("plotly_relayout",i)},k.cameraChanged=function(){var e=this.camera;this.glplot.setDataBox(this.calcDataBox());var t=this.computeTickMarks(),r=this.glplotOptions.ticks;T(t,r)&&(this.glplotOptions.ticks=t,this.glplotOptions.dataBox=e.dataBox,this.glplot.update(this.glplotOptions),this.handleAnnotations())},k.handleAnnotations=function(){for(var e=this.graphDiv,t=this.fullLayout.annotations,r=0;r<t.length;r++){var n=t[r];n.xref===this.xaxis._id&&n.yref===this.yaxis._id&&o.getComponentMethod("annotations","drawOne")(e,r)}},k.destroy=function(){if(this.glplot){var e=this.traces;e&&Object.keys(e).map((function(t){e[t].dispose(),delete e[t]})),this.glplot.dispose(),this.container.removeChild(this.svgContainer),this.container.removeChild(this.mouseContainer),this.fullData=null,this.glplot=null,this.stopped=!0,this.camera.mouseListener.enabled=!1,this.mouseContainer.removeEventListener("wheel",this.camera.wheelListener),this.camera=null}},k.plot=function(e,t,r){var n=this.glplot;this.updateRefs(r),this.xaxis.clearCalc(),this.yaxis.clearCalc(),this.updateTraces(e,t),this.updateFx(r.dragmode);var i=r.width,o=r.height;this.updateSize(this.canvas);var a=this.glplotOptions;a.merge(r),a.screenBox=[0,0,i,o];var s={_fullLayout:{_axisConstraintGroups:this.graphDiv._fullLayout._axisConstraintGroups,xaxis:this.xaxis,yaxis:this.yaxis}};g(s,this.xaxis),g(s,this.yaxis);var l,u,c=r._size,f=this.xaxis.domain,p=this.yaxis.domain;for(a.viewBox=[c.l+f[0]*c.w,c.b+p[0]*c.h,i-c.r-(1-f[1])*c.w,o-c.t-(1-p[1])*c.h],this.mouseContainer.style.width=c.w*(f[1]-f[0])+"px",this.mouseContainer.style.height=c.h*(p[1]-p[0])+"px",this.mouseContainer.height=c.h*(p[1]-p[0]),this.mouseContainer.style.left=c.l+f[0]*c.w+"px",this.mouseContainer.style.top=c.t+(1-p[1])*c.h+"px",u=0;u<2;++u)l=this[w[u]],l._length=a.viewBox[u+2]-a.viewBox[u],y(this.graphDiv,l),l.setScale();m(s),a.ticks=this.computeTickMarks(),a.dataBox=this.calcDataBox(),a.merge(r),n.update(a),this.glplot.draw()},k.calcDataBox=function(){var e=this.xaxis,t=this.yaxis,r=e.range,n=t.range,i=e.r2l,o=t.r2l;return[i(r[0]),o(n[0]),i(r[1]),o(n[1])]},k.setRanges=function(e){var t=this.xaxis,r=this.yaxis,n=t.l2r,i=r.l2r;t.range=[n(e[0]),n(e[2])],r.range=[i(e[1]),i(e[3])]},k.updateTraces=function(e,t){var r,n,i,o=Object.keys(this.traces);this.fullData=e;e:for(r=0;r<o.length;r++){var a=o[r],s=this.traces[a];for(n=0;n<e.length;n++)if(i=e[n],i.uid===a&&i.type===s.type)continue e;s.dispose(),delete this.traces[a]}for(r=0;r<e.length;r++){i=e[r];var l=t[r],u=this.traces[i.uid];u?u.update(i,l):(u=i._module.plot(this,i,l),this.traces[i.uid]=u)}this.glplot.objects.sort((function(e,t){return e._trace.index-t._trace.index}))},k.updateFx=function(e){A(e)||x(e)?(this.pickCanvas.style["pointer-events"]="none",this.mouseContainer.style["pointer-events"]="none"):(this.pickCanvas.style["pointer-events"]="auto",this.mouseContainer.style["pointer-events"]="auto"),this.mouseContainer.style.cursor="pan"===e?"move":"zoom"===e?"crosshair":null},k.emitPointAction=function(e,t){for(var r,n=e.trace.uid,i=e.pointIndex,o=0;o<this.fullData.length;o++)this.fullData[o].uid===n&&(r=this.fullData[o]);var a={x:e.traceCoord[0],y:e.traceCoord[1],curveNumber:r.index,pointNumber:i,data:r._input,fullData:this.fullData,xaxis:this.xaxis,yaxis:this.yaxis};s.appendArrayPointValue(a,r,i),this.graphDiv.emit(t,{points:[a]})},k.draw=function(){if(!this.stopped){requestAnimationFrame(this.redraw);var e=this.glplot,t=this.camera,r=t.mouseListener,n=1===this.lastButtonState&&0===r.buttons,i=this.fullLayout;this.lastButtonState=r.buttons,this.cameraChanged();var o,a=r.x*e.pixelRatio,l=this.canvas.height-e.pixelRatio*r.y;if(t.boxEnabled&&"zoom"===i.dragmode){this.selectBox.enabled=!0;for(var u=this.selectBox.selectBox=[Math.min(t.boxStart[0],t.boxEnd[0]),Math.min(t.boxStart[1],t.boxEnd[1]),Math.max(t.boxStart[0],t.boxEnd[0]),Math.max(t.boxStart[1],t.boxEnd[1])],c=0;c<2;c++)t.boxStart[c]===t.boxEnd[c]&&(u[c]=e.dataBox[c],u[c+2]=e.dataBox[c+2]);e.setDirty()}else if(!t.panning&&this.isMouseOver){this.selectBox.enabled=!1;var f=i._size,p=this.xaxis.domain,d=this.yaxis.domain;o=e.pick(a/e.pixelRatio+f.l+p[0]*f.w,l/e.pixelRatio-(f.t+(1-d[1])*f.h));var h=o&&o.object._trace.handlePick(o);if(h&&n&&this.emitPointAction(h,"plotly_click"),o&&"skip"!==o.object._trace.hoverinfo&&i.hovermode&&h&&(!this.lastPickResult||this.lastPickResult.traceUid!==h.trace.uid||this.lastPickResult.dataCoord[0]!==h.dataCoord[0]||this.lastPickResult.dataCoord[1]!==h.dataCoord[1])){var v=h;this.lastPickResult={traceUid:h.trace?h.trace.uid:null,dataCoord:h.dataCoord.slice()},this.spikes.update({center:o.dataCoord}),v.screenCoord=[((e.viewBox[2]-e.viewBox[0])*(o.dataCoord[0]-e.dataBox[0])/(e.dataBox[2]-e.dataBox[0])+e.viewBox[0])/e.pixelRatio,(this.canvas.height-(e.viewBox[3]-e.viewBox[1])*(o.dataCoord[1]-e.dataBox[1])/(e.dataBox[3]-e.dataBox[1])-e.viewBox[1])/e.pixelRatio],this.emitPointAction(h,"plotly_hover");var m=this.fullData[v.trace.index]||{},g=v.pointIndex,y=s.castHoverinfo(m,i,g);if(y&&"all"!==y){var b=y.split("+");-1===b.indexOf("x")&&(v.traceCoord[0]=void 0),-1===b.indexOf("y")&&(v.traceCoord[1]=void 0),-1===b.indexOf("z")&&(v.traceCoord[2]=void 0),-1===b.indexOf("text")&&(v.textLabel=void 0),-1===b.indexOf("name")&&(v.name=void 0)}s.loneHover({x:v.screenCoord[0],y:v.screenCoord[1],xLabel:this.hoverFormatter("xaxis",v.traceCoord[0]),yLabel:this.hoverFormatter("yaxis",v.traceCoord[1]),zLabel:v.traceCoord[2],text:v.textLabel,name:v.name,color:s.castHoverOption(m,g,"bgcolor")||v.color,borderColor:s.castHoverOption(m,g,"bordercolor"),fontFamily:s.castHoverOption(m,g,"font.family"),fontSize:s.castHoverOption(m,g,"font.size"),fontColor:s.castHoverOption(m,g,"font.color"),nameLength:s.castHoverOption(m,g,"namelength"),textAlign:s.castHoverOption(m,g,"align")},{container:this.svgContainer,gd:this.graphDiv})}}o||this.unhover(),e.draw()}},k.unhover=function(){this.lastPickResult&&(this.spikes.update({}),this.lastPickResult=null,this.graphDiv.emit("plotly_unhover"),s.loneUnhover(this.svgContainer))},k.hoverFormatter=function(e,t){if(void 0!==t){var r=this[e];return a.tickText(r,r.c2l(t),"hover").text}}},e21b:function(e,t,r){"use strict";t.selectMode=function(e){return"lasso"===e||"select"===e},t.drawMode=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},t.openMode=function(e){return"drawline"===e||"drawopenpath"===e},t.rectMode=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},t.freeMode=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},t.selectingOrDrawing=function(e){return t.freeMode(e)||t.rectMode(e)}},e23d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M1.438 24v-8.563h1.438l.313-.75h.688l.313.75h2.75v-.563l.25.563h1.438l.25-.563v.563h6.813v-1.25h.125c.125 0 .125.063.125.188v1.063h3.5v-.313c.813.438 1.938.313 2.813.313l.313-.75h.75l.313.75h2.813v-.75l.438.75h2.313v-4.75h-2.25v.563l-.313-.563h-2.375v.563l-.25-.563h-3.188c-.438 0-.938.063-1.375.25v-.25h-2.125v.25c-.25-.188-.625-.25-.938-.25H8.442l-.563 1.188-.5-1.188h-2.5v.563l-.313-.563H2.441l-1 2.25V8h29.125v8.563h-1.563c-.313 0-.688.063-1 .25v-.25h-2.25c-.313 0-.75.063-.938.25v-.25h-4v.25c-.313-.188-.75-.25-1.125-.25h-2.625v.25c-.25-.25-.813-.25-1.125-.25h-3l-.688.75-.625-.75H7.252v4.75h4.313l.688-.75.688.75h2.625v-1.125h.313c.375 0 .75 0 1.125-.125v1.25h2.188v-1.25h.125c.125 0 .125 0 .125.188v1.063h6.688c.375 0 .813-.063 1.125-.313v.313h2.125c.375 0 .813 0 1.188-.188v2.875zm8.812-9.25h-.813v-2.688L8.249 14.75h-.688l-1.188-2.688v2.688H4.685L4.372 14H2.684l-.313.75h-.938l1.5-3.438h1.188l1.438 3.25v-3.25h1.313l1.063 2.375 1-2.375h1.313zm-6.187-1.437L3.5 11.938l-.563 1.375zM14.875 19.5v1.188H13.25l-1-1.188-1.063 1.188H7.999V17.25h3.25l1 1.125 1.063-1.125h2.625c.75 0 1.375.25 1.375 1.125 0 1.375-1.5 1.125-2.438 1.125zm-3.125-.562l-.875-1H8.812v.625h1.75v.688h-1.75v.688h2l.938-1zm1.875-4.188h-2.75v-3.438h2.75v.75h-1.938v.625h1.875v.688h-1.875v.688h1.938zm.438 5.563v-2.688l-1.25 1.313zm2.812-7.125c.5.188.563.438.563.875v.688h-.813c0-.75.188-1.25-.75-1.25H15v1.25h-.813v-3.438l1.938.063c.688 0 1.375.063 1.375.875 0 .375-.25.813-.625.938zm-.937 4.75h-1.063v.875h1.063c.25 0 .5-.125.5-.438s-.25-.438-.5-.438zm.125-5.875H15v.75h1c.313 0 .563-.063.563-.375s-.25-.375-.5-.375zm4.312 7c.5.188.563.5.563.938v.688h-.813v-.625c0-.563-.188-.625-.75-.625H18.5v1.25h-.813v-3.438h1.938c.625 0 1.375.125 1.375.938a.94.94 0 0 1-.625.875zM18.75 14.75h-.813v-3.438h.813zm.813 3.188H18.5v.75h1.063c.25 0 .5-.063.5-.375s-.25-.375-.5-.375zm8.875-3.188h-1.125l-1.563-2.563v2.563h-1.688l-.313-.75h-1.688l-.313.75h-.938c-1.125 0-1.625-.563-1.625-1.688s.5-1.75 1.688-1.75h.813v.75c-.875 0-1.688-.188-1.688 1 0 .563.125 1 .813 1h.375l1.125-2.688h1.25l1.375 3.188v-3.188h1.25l1.438 2.375v-2.375h.813v3.375zm-4.25 5.938h-2.75V17.25h2.75v.688H22.25v.625h1.875v.688H22.25v.688h1.938zm-.688-7.375l-.563-1.375-.563 1.375zm2.75 7.375h-1.625v-.75h1.625c.188 0 .438-.063.438-.313 0-.75-2.125.25-2.125-1.375 0-.688.5-1 1.188-1h1.625v.688h-1.5c-.25 0-.438.063-.438.313 0 .75 2.063-.313 2.063 1.313 0 .813-.5 1.125-1.25 1.125zm4.313-.5c-.25.375-.75.5-1.125.5h-1.563v-.75h1.563c.188 0 .438-.063.438-.313 0-.75-2.125.25-2.125-1.375 0-.688.563-1 1.188-1h1.625v.688h-1.5c-.25 0-.438.063-.438.313 0 .625 1.375 0 1.938.688v1.25z"}))};t.default=u},e24b:function(e,t,r){var n=r("49f4"),i=r("1efc"),o=r("bbc0"),a=r("7a48"),s=r("2524");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("7dd0"),l="Array Iterator",u=a.set,c=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e299:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M0 8c0 1.5 1.188 2.688 2.688 2.688C4.126 10.688 5.313 9.5 5.313 8S4.125 5.312 2.688 5.312A2.668 2.668 0 0 0 0 8zm10.688 8c0 1.5 1.188 2.688 2.625 2.688 1.5 0 2.688-1.188 2.688-2.688s-1.188-2.688-2.688-2.688c-1.438 0-2.625 1.188-2.625 2.688zM16 9.313c0 1.5 1.188 2.688 2.688 2.688 1.438 0 2.625-1.188 2.625-2.688a2.64 2.64 0 0 0-2.625-2.625c-1.5 0-2.688 1.188-2.688 2.625zM5.313 24c0 1.5 1.188 2.688 2.688 2.688S10.689 25.5 10.689 24c0-1.5-1.188-2.688-2.688-2.688S5.313 22.5 5.313 24zm16-4c0 1.5 1.188 2.688 2.688 2.688S26.689 21.5 26.689 20c0-1.5-1.188-2.688-2.688-2.688S21.313 18.5 21.313 20zm5.375-8c0 1.5 1.188 2.688 2.625 2.688 1.5 0 2.688-1.188 2.688-2.688s-1.188-2.688-2.688-2.688c-1.438 0-2.625 1.188-2.625 2.688z"}))};t.default=u},e2a0:function(e,t,r){var n=r("3729"),i=r("6747"),o=r("1310"),a="[object String]";function s(e){return"string"==typeof e||!i(e)&&o(e)&&n(e)==a}e.exports=s},e2c0:function(e,t,r){var n=r("e2e4"),i=r("d370"),o=r("6747"),a=r("c098"),s=r("b218"),l=r("f4d6");function u(e,t,r){t=n(t,e);var u=-1,c=t.length,f=!1;while(++u<c){var p=l(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=c?f:(c=null==e?0:e.length,!!c&&s(c)&&a(p,c)&&(o(e)||i(e)))}e.exports=u},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e2d7:function(e,t,r){"use strict";var n=r("3aa8");e.exports=function(e,t){for(var r=t.u,i=t.v,o=t.w,a=Math.min(t.x.length,t.y.length,t.z.length,r.length,i.length,o.length),s=-1/0,l=1/0,u=0;u<a;u++){var c=r[u],f=i[u],p=o[u],d=Math.sqrt(c*c+f*f+p*p);s=Math.max(s,d),l=Math.min(l,d)}t._len=a,t._normMax=s,n(e,t,{vals:[l,s],containerStr:"",cLetter:"c"})}},e2e4:function(e,t,r){var n=r("6747"),i=r("f608"),o=r("18d8"),a=r("76dd");function s(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}e.exports=s},e2f3:function(e,t,r){"use strict";var n=r("fc26"),i=r("82d7"),o=r("d115"),a=r("66cb"),s=r("81f0").defaults,l=r("2093"),u=r("a651"),c=r("e5ac");function f(e,t){function r(r,o){return n.coerce(e,t,i.link.colorscales,r,o)}r("label"),r("cmin"),r("cmax"),r("colorscale")}e.exports=function(e,t,r,p){function d(r,o){return n.coerce(e,t,i,r,o)}var h=n.extendDeep(p.hoverlabel,e.hoverlabel),v=e.node,m=u.newContainer(t,"node");function g(e,t){return n.coerce(v,m,i.node,e,t)}g("label"),g("groups"),g("x"),g("y"),g("pad"),g("thickness"),g("line.color"),g("line.width"),g("hoverinfo",e.hoverinfo),l(v,m,g,h),g("hovertemplate");var y=p.colorway,b=function(e){return y[e%y.length]};g("color",m.label.map((function(e,t){return o.addOpacity(b(t),.8)}))),g("customdata");var x=e.link||{},A=u.newContainer(t,"link");function w(e,t){return n.coerce(x,A,i.link,e,t)}w("label"),w("source"),w("target"),w("value"),w("line.color"),w("line.width"),w("hoverinfo",e.hoverinfo),l(x,A,w,h),w("hovertemplate");var _,E=a(p.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";w("color",n.repeat(E,A.value.length)),w("customdata"),c(x,A,{name:"colorscales",handleItemDefaults:f}),s(t,p,d),d("orientation"),d("valueformat"),d("valuesuffix"),m.x.length&&m.y.length&&(_="freeform"),d("arrangement",_),n.coerceFont(d,"textfont",n.extendFlat({},p.font)),t._length=null}},e2f4:function(e,t,r){"use strict";e.exports=r("b7f7")},e319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M11.563 4.688h-2.25v-4c.063-.188 0-.313-.125-.438C9.125.125 8.938 0 8.813 0H7.438a.71.71 0 0 0-.5.188.568.568 0 0 0-.25.5v4h-2c-.938 0-2-.438-2 1.313v20a2.26 2.26 0 0 0 2 2h2v3.313c0 .188.063.375.25.5a.71.71 0 0 0 .5.188h1.375c.125 0 .313-.125.375-.25.125-.125.188-.25.125-.438v-3.313h2.25c1-.125 1.75-1 1.75-2v-20c0-.938-.875-1.313-1.75-1.313zM11.313 26H4.688V6.687h6.625zm16.25-17.312h-2.25v-8c.063-.188 0-.313-.125-.438-.063-.125-.25-.25-.375-.25h-1.375a.71.71 0 0 0-.5.188.568.568 0 0 0-.25.5v8h-2c-.938 0-2-.438-2 1.313v12a2.26 2.26 0 0 0 2 2h2v7.313c0 .188.063.375.25.5a.71.71 0 0 0 .5.188h1.375c.125 0 .313-.125.375-.25.125-.125.188-.25.125-.438v-7.313h2.25c1-.125 1.75-1 1.75-2v-12c0-.938-.875-1.313-1.75-1.313z"}))};t.default=u},e380:function(e,t,r){var n=r("7b83"),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},e38a:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("72a4").DESELECTDIM;function a(e){var t,r,a=e[0],s=a.trace,l=a.t,u=l._scene,c=l.index,f=u.selectBatch[c],p=u.unselectBatch[c],d=u.textOptions[c],h=u.textSelectedOptions[c]||{},v=u.textUnselectedOptions[c]||{},m=n.extendFlat({},d);if(f.length||p.length){var g=h.color,y=v.color,b=d.color,x=Array.isArray(b);for(m.color=new Array(s._length),t=0;t<f.length;t++)r=f[t],m.color[r]=g||(x?b[r]:b);for(t=0;t<p.length;t++){r=p[t];var A=x?b[r]:b;m.color[r]=y||(g?A:i.addOpacity(A,o))}}u.glText[c].update(m)}e.exports={styleTextSelection:a}},e38e:function(e,t,r){"use strict";var n=r("371e");function i(e,t,r,i){if(!t||!t.visible)return null;for(var o=n.getComponentMethod("errorbars","makeComputeError")(t),a=new Array(e.length),s=0;s<e.length;s++){var l=o(+e[s],s);if("log"===i.type){var u=i.c2l(e[s]),c=e[s]-l[0],f=e[s]+l[1];if(a[s]=[(i.c2l(c,!0)-u)*r,(i.c2l(f,!0)-u)*r],c>0){var p=i.c2l(c);i._lowerLogErrorBound||(i._lowerLogErrorBound=p),i._lowerErrorBound=Math.min(i._lowerLogErrorBound,p)}}else a[s]=[-l[0]*r,l[1]*r]}return a}function o(e){for(var t=0;t<e.length;t++)if(e[t])return e[t].length;return 0}function a(e,t,r){var n=[i(e.x,e.error_x,t[0],r.xaxis),i(e.y,e.error_y,t[1],r.yaxis),i(e.z,e.error_z,t[2],r.zaxis)],a=o(n);if(0===a)return null;for(var s=new Array(a),l=0;l<a;l++){for(var u=[[0,0,0],[0,0,0]],c=0;c<3;c++)if(n[c])for(var f=0;f<2;f++)u[f][c]=n[c][l][f];s[l]=u}return s}e.exports=a},e398:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("3fe8"),a=r("5793"),s=r("64c3");function l(e,t,r,n){var o=r(n+".line.color");r(n+".line.width",t.line.width),r(n+".fillcolor",i.addOpacity(o,.5))}e.exports=function(e,t,r,i){function u(r,i){return n.coerce(e,t,s,r,i)}var c=o(e,t,u,i);c?(a(e,t,i,u,{x:!0}),u("line.width"),l(e,t,u,"increasing"),l(e,t,u,"decreasing"),u("text"),u("hovertext"),u("whiskerwidth"),i._requestRangeslider[t.xaxis]=!0):t.visible=!1}},e3a8:function(e,t,r){"use strict";var n=r("0642"),i=r("fc26"),o=r("6921"),a=r("b1a4").pointsAccessorFunction,s=r("e806").BADNUM;t.moduleType="transform",t.name="aggregate";var l=t.attributes={enabled:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether this aggregate transform is enabled or disabled."].join(" ")},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",role:"info",editType:"calc",description:["Sets the grouping target to which the aggregation is applied.","Data points with matching group values will be coalesced into","one point, using the supplied aggregation functions to reduce data","in other data arrays.","If a string, `groups` is assumed to be a reference to a data array","in the parent trace object.","To aggregate by nested variables, use *.* to access them.","For example, set `groups` to *marker.color* to aggregate","about the marker color array.","If an array, `groups` is itself the data array by which we aggregate."].join(" ")},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",role:"info",editType:"calc",description:["A reference to the data array in the parent trace to aggregate.","To aggregate by nested variables, use *.* to access them.","For example, set `groups` to *marker.color* to aggregate","over the marker color array.","The referenced array must already exist, unless `func` is *count*,","and each array may only be referenced once."].join(" ")},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",role:"info",editType:"calc",description:["Sets the aggregation function.","All values from the linked `target`, corresponding to the same value","in the `groups` array, are collected and reduced by this function.","*count* is simply the number of values in the `groups` array, so does","not even require the linked array to exist. *first* (*last*) is just","the first (last) linked value.","Invalid values are ignored, so for example in *avg* they do not","contribute to either the numerator or the denominator.","Any data type (numeric, date, category) may be aggregated with any","function, even though in certain cases it is unlikely to make sense,","for example a sum of dates or average of categories.","*median* will return the average of the two central values if there is","an even count. *mode* will return the first value to reach the maximum","count, in case of a tie.","*change* will return the difference between the first and last linked values.","*range* will return the difference between the min and max linked values."].join(" ")},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",role:"info",editType:"calc",description:["*stddev* supports two formula variants: *sample* (normalize by N-1)","and *population* (normalize by N)."].join(" ")},enabled:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether this aggregation function is enabled or disabled."].join(" ")},editType:"calc"},editType:"calc"},u=l.aggregations;function c(e,t,r,o){if(o.enabled){for(var a=o.target,s=i.nestedProperty(t,a),l=s.get(),u=n.getDataConversions(e,t,a,l),c=f(o,u),p=new Array(r.length),d=0;d<r.length;d++)p[d]=c(l,r[d]);s.set(p),"count"===o.func&&i.pushUnique(t._arrayAttrs,a)}}function f(e,t){var r=e.func,n=t.d2c,o=t.c2d;switch(r){case"count":return p;case"first":return d;case"last":return h;case"sum":return function(e,t){for(var r=0,i=0;i<t.length;i++){var a=n(e[t[i]]);a!==s&&(r+=a)}return o(r)};case"avg":return function(e,t){for(var r=0,i=0,a=0;a<t.length;a++){var l=n(e[t[a]]);l!==s&&(r+=l,i++)}return i?o(r/i):s};case"min":return function(e,t){for(var r=1/0,i=0;i<t.length;i++){var a=n(e[t[i]]);a!==s&&(r=Math.min(r,a))}return r===1/0?s:o(r)};case"max":return function(e,t){for(var r=-1/0,i=0;i<t.length;i++){var a=n(e[t[i]]);a!==s&&(r=Math.max(r,a))}return r===-1/0?s:o(r)};case"range":return function(e,t){for(var r=1/0,i=-1/0,a=0;a<t.length;a++){var l=n(e[t[a]]);l!==s&&(r=Math.min(r,l),i=Math.max(i,l))}return i===-1/0||r===1/0?s:o(i-r)};case"change":return function(e,t){var r=n(e[t[0]]),i=n(e[t[t.length-1]]);return r===s||i===s?s:o(i-r)};case"median":return function(e,t){for(var r=[],a=0;a<t.length;a++){var l=n(e[t[a]]);l!==s&&r.push(l)}if(!r.length)return s;r.sort(i.sorterAsc);var u=(r.length-1)/2;return o((r[Math.floor(u)]+r[Math.ceil(u)])/2)};case"mode":return function(e,t){for(var r={},i=0,a=s,l=0;l<t.length;l++){var u=n(e[t[l]]);if(u!==s){var c=r[u]=(r[u]||0)+1;c>i&&(i=c,a=u)}}return i?o(a):s};case"rms":return function(e,t){for(var r=0,i=0,a=0;a<t.length;a++){var l=n(e[t[a]]);l!==s&&(r+=l*l,i++)}return i?o(Math.sqrt(r/i)):s};case"stddev":return function(t,r){var i,o=0,a=0,l=1,u=s;for(i=0;i<r.length&&u===s;i++)u=n(t[r[i]]);if(u===s)return s;for(;i<r.length;i++){var c=n(t[r[i]]);if(c!==s){var f=c-u;o+=f,a+=f*f,l++}}var p="sample"===e.funcmode?l-1:l;return p?Math.sqrt((a-o*o/l)/p):0}}}function p(e,t){return t.length}function d(e,t){return e[t[0]]}function h(e,t){return e[t[t.length-1]]}t.supplyDefaults=function(e,t){var r,n={};function a(t,r){return i.coerce(e,n,l,t,r)}var s=a("enabled");if(!s)return n;var c=o.findArrayAttributes(t),f={};for(r=0;r<c.length;r++)f[c[r]]=1;var p=a("groups");if(!Array.isArray(p)){if(!f[p])return n.enabled=!1,n;f[p]=0}var d,h=e.aggregations||[],v=n.aggregations=new Array(h.length);function m(e,t){return i.coerce(h[r],d,u,e,t)}for(r=0;r<h.length;r++){d={_index:r};var g=m("target"),y=m("func"),b=m("enabled");b&&g&&(f[g]||"count"===y&&void 0===f[g])?("stddev"===y&&m("funcmode"),f[g]=0,v[r]=d):v[r]={enabled:!1,_index:r}}for(r=0;r<c.length;r++)f[c[r]]&&v.push({target:c[r],func:u.func.dflt,enabled:!0,_index:-1});return n},t.calcTransform=function(e,t,r){if(r.enabled){var n=r.groups,o=i.getTargetArray(t,{target:n});if(o){var s,l,u,f,p={},d={},h=[],v=a(t.transforms,r),m=o.length;for(t._length&&(m=Math.min(m,t._length)),s=0;s<m;s++)l=o[s],u=p[l],void 0===u?(p[l]=h.length,f=[s],h.push(f),d[p[l]]=v(s)):(h[u].push(s),d[p[l]]=(d[p[l]]||[]).concat(v(s)));r._indexToPoints=d;var g=r.aggregations;for(s=0;s<g.length;s++)c(e,t,h,g[s]);"string"===typeof n&&c(e,t,h,{target:n,func:"first",enabled:!0}),t._length=h.length}}}},e3ce:function(e,t,r){"use strict";var n=r("fc26"),i=r("de81"),o=r("5047"),a=r("59be"),s=r("e9f7"),l=r("3802"),u=r("56f3");e.exports=function(e,t,r,c){function f(r,i){return n.coerce(e,t,u,r,i)}var p,d=f("locations");if(d&&d.length){var h,v=f("geojson");("string"===typeof v&&""!==v||n.isPlainObject(v))&&(h="geojson-id");var m=f("locationmode",h);"geojson-id"===m&&f("featureidkey"),p=d.length}else{var g=f("lon")||[],y=f("lat")||[];p=Math.min(g.length,y.length)}p?(t._length=p,f("text"),f("hovertext"),f("hovertemplate"),f("mode"),i.hasLines(t)&&(a(e,t,r,c,f),f("connectgaps")),i.hasMarkers(t)&&o(e,t,r,c,f,{gradient:!0}),i.hasText(t)&&(f("texttemplate"),s(e,t,c,f)),f("fill"),"none"!==t.fill&&l(e,t,r,f),n.coerceSelectionMarkerOpacity(t,f)):t.visible=!1}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e3e3:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10,4H4C2.89,4 2,4.89 2,6V18C2,19.1 2.9,20 4,20H20C21.1,20 22,19.1 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z"}))};e.exports=s},e3f8:function(e,t,r){var n=r("656b");function i(e){return function(t){return n(t,e)}}e.exports=i},e419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_COLORS=t.COLORS=t.TRACES_WITH_GL=t.TRANSFORMABLE_TRACES=t.TRANSFORMS_LIST=t.subplotName=t.SUBPLOT_TO_ATTR=t.TRACE_TO_AXIS=t.CONTROL_KEY=t.COMMAND_KEY=t.ESCAPE_KEY=t.RETURN_KEY=t.DEFAULT_FONTS=t.EDITOR_ACTIONS=t.getMultiValueText=t.MULTI_VALUED_PLACEHOLDER=t.MULTI_VALUED=t.baseClass=void 0;var n="plotly-editor";t.baseClass=n;var i="MIXED_VALUES";t.MULTI_VALUED=i;var o="---";t.MULTI_VALUED_PLACEHOLDER=o;var a=function(e,t){var r={title:t("Multiple Values"),text:t("This input has multiple values associated with it. Changing this setting will override these custom inputs."),subText:t("Common Case: An 'All' tab might display this message because the X and Y tabs contain different settings.")};return r[e]};t.getMultiValueText=a;var s={UPDATE_TRACES:"plotly-editor-update-traces",ADD_TRACE:"plotly-editor-add-trace",DELETE_TRACE:"plotly-editor-delete-trace",UPDATE_LAYOUT:"plotly-editor-update-layout",DELETE_ANNOTATION:"plotly-editor-delete-annotation",DELETE_SHAPE:"plotly-editor-delete-shape",DELETE_IMAGE:"plotly-editor-delete-image",DELETE_RANGESELECTOR:"plotly-editor-delete-rangeselector",DELETE_TRANSFORM:"plotly-editor-delete-transform",MOVE_TO:"plotly-editor-move-to"};t.EDITOR_ACTIONS=s;var l=[{label:"Sans Serif",value:"sans-serif"},{label:"Serif",value:"serif"},{label:"Monospaced",value:"monospace"}];t.DEFAULT_FONTS=l;var u="Enter";t.RETURN_KEY=u;var c="Escape";t.ESCAPE_KEY=c;var f="Meta";t.COMMAND_KEY=f;var p="Control";t.CONTROL_KEY=p;var d={cartesian:["scatter","scattergl","box","violin","bar","heatmap","heatmapgl","contour","ohlc","candlestick","histogram","histogram2d","histogram2dcontour","carpet","scattercarpet","contourcarpet","waterfall","funnel"],ternary:["scatterternary"],gl3d:["scatter3d","surface","mesh3d","cone","streamtube"],geo:["scattergeo","choropleth"],mapbox:["scattermapbox","choroplethmapbox","densitymapbox"],polar:["scatterpolar","scatterpolargl","barpolar"]};t.TRACE_TO_AXIS=d;var h={cartesian:{data:["xaxis","yaxis"],layout:["x","y"]},xaxis:{data:"xaxis",layout:"x"},yaxis:{data:"yaxis",layout:"y"},x:{data:"xaxis",layout:"x"},y:{data:"yaxis",layout:"y"},ternary:{data:"subplot",layout:"ternary"},gl3d:{data:"scene",layout:"scene"},scene:{data:"scene",layout:"scene"},geo:{data:"geo",layout:"geo"},mapbox:{data:"subplot",layout:"mapbox"},polar:{data:"subplot",layout:"polar"}};t.SUBPLOT_TO_ATTR=h;var v=function(e,t){return{x:t("X"),y:t("Y"),ternary:t("Ternary"),gl3d:t("Scene"),scene:t("Scene"),geo:t("Map"),mapbox:t("Tile Map"),polar:t("Polar")}[e]};t.subplotName=v;var m=["filter","groupby","aggregate","sort"];t.TRANSFORMS_LIST=m;var g=["scatter","scattergl","box","violin","bar","ohlc","candlestick","histogram","histogram2d","waterfall"];t.TRANSFORMABLE_TRACES=g;var y=["scatter","scatterpolar","scattergl","scatterpolargl"];t.TRACES_WITH_GL=y;var b={charcoal:"#444444",white:"#ffffff",mutedBlue:"#1f77b4",safetyOrange:"#ff7f0e",cookedAsparagusGreen:"#2ca02c",brickRed:"#d62728",mutedPurple:"#9467bd",chestnutBrown:"#8c564b",raspberryYogurtPink:"#e377c2",middleGray:"#7f7f7f",curryYellowGreen:"#bcbd22",blueTeal:"#17becf",editorLink:"#447bdc",black:"#000000"};t.COLORS=b;var x=Object.values(b);t.DEFAULT_COLORS=x},e41b:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var i=p(r("ab5b")),o=c(r("d7bc")),a=c(r("74d6")),s=r("4578"),l=r("976e"),u=r("e419");function c(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function E(e){var t=function(t){g(n,t);var r=b(n);function n(e,t){var i;return h(this,n),i=r.call(this,e,t),i.deleteTrace=i.deleteTrace.bind(A(i)),i.updateTrace=i.updateTrace.bind(A(i)),i.moveTrace=i.moveTrace.bind(A(i)),i.setLocals(e,t),i}return m(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=e.traceIndexes,n=t.data,i=t.fullData,o=t.plotly,u=n[r[0]],c=(0,s.getFullTrace)(e,t);if(this.childContext={getValObject:function(e){return o?o.PlotSchema.getTraceValObject(c,(0,a.default)({},e).parts):null},updateContainer:this.updateTrace,deleteContainer:this.deleteTrace,moveContainer:this.moveTrace,container:u,fullContainer:c,traceIndexes:this.props.traceIndexes},r.length>1){var f=(0,l.deepCopyPublic)(c);i.forEach((function(e){return Object.keys(e).forEach((function(t){return(0,l.setMultiValuedContainer)(f,(0,l.deepCopyPublic)(e),t,{searchArrays:!0})}))}));var p=(0,l.deepCopyPublic)(u);n.forEach((function(e){return Object.keys(e).forEach((function(t){return(0,l.setMultiValuedContainer)(p,(0,l.deepCopyPublic)(e),t,{searchArrays:!0})}))})),this.childContext.fullContainer=f,this.childContext.defaultContainer=c,this.childContext.container=p}u&&c&&(this.icon=(0,s.renderTraceIcon)((0,s.plotlyTraceToCustomTrace)(u)),this.name=(0,s.getParsedTemplateString)(c.name,{meta:c.meta}))}},{key:"getChildContext",value:function(){return this.childContext}},{key:"updateTrace",value:function(e){var t=this;if(this.context.onUpdate){var r=this.props.fullDataArrayPosition?this.props.fullDataArrayPosition.map((function(e){return t.context.fullData[e]._group})):null,n=Object.keys(e).filter((function(e){return e.endsWith("src")})).length>0;Array.isArray(e)?e.forEach((function(e,n){t.context.onUpdate({type:u.EDITOR_ACTIONS.UPDATE_TRACES,payload:{update:e,traceIndexes:[t.props.traceIndexes[n]],splitTraceGroup:r?r[n]:null}})})):r&&!n?this.props.traceIndexes.forEach((function(n,i){t.context.onUpdate({type:u.EDITOR_ACTIONS.UPDATE_TRACES,payload:{update:e,traceIndexes:[t.props.traceIndexes[i]],splitTraceGroup:r?r[i]:null}})})):this.context.onUpdate({type:u.EDITOR_ACTIONS.UPDATE_TRACES,payload:{update:e,traceIndexes:this.props.traceIndexes}})}}},{key:"deleteTrace",value:function(){var e=this,t=this.context.fullData[this.props.traceIndexes[0]];if(t||!this.context.onUpdate){var r=[],n=null,i=(0,s.traceTypeToAxisType)(t.type);if(i){var o="cartesian"===i?[t.xaxis||"xaxis",t.yaxis||"yaxis"]:t[u.SUBPLOT_TO_ATTR[i].data]||u.SUBPLOT_TO_ATTR[i].data,a=function(t,r){return e.context.fullData.some((function(n){return(n[u.SUBPLOT_TO_ATTR[t].data]===r||""===(("xaxis"===t||"yaxis"===t)&&r.charAt(1))||""===r.split(t)[1]&&null===n[u.SUBPLOT_TO_ATTR[t].data])&&n.index!==e.props.traceIndexes[0]}))};"cartesian"===i?(a("xaxis",o[0])||r.push(o[0]),a("yaxis",o[1])||r.push(o[1])):a(i,o)||(n=o)}this.context.onUpdate&&this.context.onUpdate({type:u.EDITOR_ACTIONS.DELETE_TRACE,payload:{axesToBeGarbageCollected:r,subplotToBeGarbageCollected:n,traceIndexes:this.props.traceIndexes}})}else this.context.onUpdate({type:u.EDITOR_ACTIONS.DELETE_TRACE,payload:{traceIndexes:this.props.traceIndexes}})}},{key:"moveTrace",value:function(e){var t=this.props.traceIndexes[0],r="up"===e?t-1:t+1;this.context.onUpdate({type:u.EDITOR_ACTIONS.MOVE_TO,payload:{fromIndex:t,toIndex:r,path:"data"}})}},{key:"render",value:function(){return i.default.createElement(e,d({name:this.name,icon:this.icon},this.props))}}]),n}(i.Component);t.displayName="TraceConnected".concat((0,s.getDisplayName)(e)),t.propTypes={traceIndexes:o.default.arrayOf(o.default.number).isRequired,fullDataArrayPosition:o.default.arrayOf(o.default.number)},t.contextTypes={fullData:o.default.array,data:o.default.array,plotly:o.default.object,onUpdate:o.default.func,layout:o.default.object},t.childContextTypes={getValObject:o.default.func,updateContainer:o.default.func,deleteContainer:o.default.func,defaultContainer:o.default.object,container:o.default.object,fullContainer:o.default.object,traceIndexes:o.default.array,moveContainer:o.default.func};var r=e.plotly_editor_traits;return t.plotly_editor_traits=r,t}},e433:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("50d4");var i=r("8704"),o=r("661c"),a=h(r("47d8")),s=h(r("d7bc")),l=d(r("ab5b")),u=h(r("0956")),c=h(r("f51b")),f=r("e419");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k="2000-01-01",T="00:00",C="yyyy-mm-dd",S="hh:mm:ss.xxx",O=function(e){y(r,e);var t=x(r);function r(e,n){var i;v(this,r),i=t.call(this,e,n);var a=i.parsePlotlyJSDateTime(e.value),s=a.time,l=a.date,u=(0,o.isDateTime)(k+" "+s)||["",S,f.MULTI_VALUED_PLACEHOLDER].includes(s),c=(0,o.isDateTime)(l+" "+T)||["",C,f.MULTI_VALUED_PLACEHOLDER].includes(l);return i.state={calendarOpen:!1,dateInputClassName:c?"datetimepicker-container-date-input":"datetimepicker-container-date-input +error",timeInputClassName:u?"datetimepicker-container-time-input":"datetimepicker-container-time-input +error",timeValue:s,dateValue:l,AMPM:i.getAMPM(l,s,n.localize)},i.toPlotlyJSDate=i.toPlotlyJSDate.bind(w(i)),i.onMonthChange=i.onMonthChange.bind(w(i)),i.onYearChange=i.onYearChange.bind(w(i)),i.onTimeChange=i.onTimeChange.bind(w(i)),i.onDateChange=i.onDateChange.bind(w(i)),i.onTimeUpdate=i.onTimeUpdate.bind(w(i)),i.onDateUpdate=i.onDateUpdate.bind(w(i)),i}return g(r,[{key:"toPlotlyJSDate",value:function(e){var t=(0,o.dateTime2ms)(e);return(0,o.ms2DateTime)(t)}},{key:"getYearOptions",value:function(e){var t=5,r=parseInt(e,10),n=new Array(t).fill(0).map((function(e,n){var i=r-(t-n);return{label:i,value:i}})),i=new Array(t).fill(0).map((function(e,t){var n=r+(t+1);return{label:n,value:n}}));return n.concat([{label:e,value:e}]).concat(i)}},{key:"getMonthOptions",value:function(){var e=this.context.localize;return[{label:e("January"),value:0},{label:e("February"),value:1},{label:e("March"),value:2},{label:e("April"),value:3},{label:e("May"),value:4},{label:e("June"),value:5},{label:e("July"),value:6},{label:e("August"),value:7},{label:e("September"),value:8},{label:e("October"),value:9},{label:e("November"),value:10},{label:e("December"),value:11}]}},{key:"onMonthChange",value:function(e){var t=new Date(this.getAdjustedPlotlyJSDateTime(this.props.value));t.setMonth(e);var r=this.toPlotlyJSDate(t);(0,o.isDateTime)(r)&&this.props.onChange(r);var n=this.parsePlotlyJSDateTime(r),i=n.time,a=n.date;this.setState({timeValue:i,dateValue:a})}},{key:"onYearChange",value:function(e){var t=new Date(this.getAdjustedPlotlyJSDateTime(this.props.value));t.setFullYear(e);var r=this.toPlotlyJSDate(t);(0,o.isDateTime)(r)&&this.props.onChange(r);var n=this.parsePlotlyJSDateTime(r),i=n.time,a=n.date;this.setState({timeValue:i,dateValue:a})}},{key:"parsePlotlyJSDateTime",value:function(e){var t=e.split(" ");return{date:t[0],time:t[1]?t[1]:""}}},{key:"getAMPM",value:function(e,t,r){var n=e+" "+t,i=(0,o.isDateTime)(n),a=new Date(this.getAdjustedPlotlyJSDateTime(n)),s=a.toLocaleTimeString("en-US").split(" "),l=t.split(":").reduce((function(e,t){var r=t.split(".");return e.concat(r)}),[]),u="12"===l[0]&&l.slice(1).every((function(e){return 0===parseInt(e,10)}));return i&&""!==t&&"Invalid Date"!==a.toDateString()?"PM"===s[1]?u?r("noon"):"PM":"AM":""}},{key:"adjustedTime",value:function(e){return e.toString().length<=2?e+":00":e}},{key:"onTimeChange",value:function(e){var t=this.parsePlotlyJSDateTime(this.props.value),r=t.date,n=(0,o.isDateTime)(k+" "+e);this.setState({timeInputClassName:n||""===e?"datetimepicker-container-time-input":"datetimepicker-container-time-input +error",timeValue:e,AMPM:this.getAMPM(r,e,this.context.localize)})}},{key:"onDateChange",value:function(e){var t=(0,o.isDateTime)(e+" "+T);this.setState({dateInputClassName:t||""===e?"datetimepicker-container-date-input":"datetimepicker-container-date-input +error",dateValue:e})}},{key:"onTimeUpdate",value:function(e){var t=this.parsePlotlyJSDateTime(this.props.value),r=t.time,n=t.date,i=(0,o.isDateTime)(k+" "+e);""!==e?i&&this.props.onChange(n+" "+e):this.setState({timeInputClassName:"datetimepicker-container-time-input",timeValue:r,AMPM:this.getAMPM(n,r,this.context.localize)})}},{key:"onDateUpdate",value:function(e){var t=this.parsePlotlyJSDateTime(this.props.value),r=t.date,n=t.time,i=(0,o.isDateTime)(e+" "+T);i?this.props.onChange(e+" "+n):""!==e||this.setState({dateValue:r,dateInputClassName:"datetimepicker-container-date-input"})}},{key:"getAdjustedPlotlyJSDateTime",value:function(e){var t=this.parsePlotlyJSDateTime(e),r=t.date,n=t.time;return r+" "+this.adjustedTime(n)}},{key:"render",value:function(){var e=this,t=new Date(this.getAdjustedPlotlyJSDateTime(this.state.dateValue+" "+T)),r="Invalid Date"!==t.toDateString(),n=r?t.getFullYear():(new Date).getFullYear(),o=r?t.getMonth():(new Date).getMonth();return l.default.createElement("div",{className:"datetimepicker-container"},l.default.createElement(u.default,{value:this.state.dateValue,editableClassName:this.state.dateInputClassName,onChange:this.onDateChange,onUpdate:this.onDateUpdate,placeholder:C}),l.default.createElement("div",{className:"datetimepicker-container-icons"},l.default.createElement(i.CalendarMultiselectIcon,{onClick:function(){return e.setState({calendarOpen:!e.state.calendarOpen})},className:this.state.calendarOpen?"datetimepicker-date-icon--selected":"datetimepicker-date-icon"})),this.state.calendarOpen?l.default.createElement("div",{className:"datetimepicker-container__content"},this.state.calendarOpen?l.default.createElement("div",{className:"datetimepicker-datepicker-container"},l.default.createElement("div",{className:"datetimepicker-datepicker-navbar"},l.default.createElement(c.default,{options:this.getMonthOptions(),value:o,className:"datimepicker-monthpicker",clearable:!1,onChange:this.onMonthChange}),l.default.createElement(c.default,{options:this.getYearOptions(n),value:n,className:"datimepicker-yearpicker",clearable:!1,onChange:this.onYearChange})),l.default.createElement(a.default,{className:"datepicker-container-rce",modifiers:{highlighted:r?t:""},month:r?t:new Date,onDayClick:function(t){var r=e.toPlotlyJSDate(t).split(" ")[0];e.onDateChange(r),e.onDateUpdate(r)}})):null):null,l.default.createElement("div",{className:"datetimepicker-container-time"},l.default.createElement(u.default,{value:this.state.timeValue,onChange:this.onTimeChange,onUpdate:this.onTimeUpdate,placeholder:S,editableClassName:this.state.timeInputClassName}),l.default.createElement("span",{className:"datetimepicker-date-units"},this.state.AMPM)))}}]),r}(l.Component);t.default=O,O.propTypes={value:s.default.string.isRequired,onChange:s.default.func.isRequired},O.contextTypes={localize:s.default.func}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),l=i((function(){a(1)})),u=!s||l;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e440:function(e,t){e.exports=i;var r={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},n=/([astvzqmhlc])([^astvzqmhlc]*)/gi;function i(e){var t=[];return e.replace(n,(function(e,n,i){var o=n.toLowerCase();i=a(i),"m"==o&&i.length>2&&(t.push([n].concat(i.splice(0,2))),o="l",n="m"==n?"l":"L");while(1){if(i.length==r[o])return i.unshift(n),t.push(i);if(i.length<r[o])throw new Error("malformed path data");t.push([n].concat(i.splice(0,r[o])))}})),t}var o=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;function a(e){var t=e.match(o);return t?t.map(Number):[]}},e448:function(e,t){function r(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}e.exports=r},e485:function(e,t,r){"use strict";var n=r("fc26"),i=r("ecc5"),o=r("81f0").defaults,a=r("1c1c").handleText,s=r("a9cd").handleLabelsAndValues;e.exports=function(e,t,r,l){function u(r,o){return n.coerce(e,t,i,r,o)}var c=u("labels"),f=u("values"),p=s(c,f),d=p.len;if(t._hasLabels=p.hasLabels,t._hasValues=p.hasValues,!t._hasLabels&&t._hasValues&&(u("label0"),u("dlabel")),d){t._length=d;var h=u("marker.line.width");h&&u("marker.line.color",l.paper_bgcolor),u("marker.colors"),u("scalegroup");var v,m=u("text"),g=u("texttemplate");if(g||(v=u("textinfo",Array.isArray(m)?"text+percent":"percent")),u("hovertext"),u("hovertemplate"),g||v&&"none"!==v){var y=u("textposition");a(e,t,l,u,y,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}o(t,l,u);var b=u("title.text");b&&(u("title.position"),n.coerceFont(u,"title.font",l.font)),u("aspectratio"),u("baseratio")}else t.visible=!1}},e4d3:function(e,t,r){"use strict";var n=r("fc26"),i=r("3c1c"),o=r("70b4").calcMarkerSize,a=r("70b4").calcAxisExpansion,s=r("09bd"),l=r("c879").markerSelection,u=r("c879").markerStyle,c=r("037d"),f=r("e806").BADNUM,p=r("b326").TOO_MANY_POINTS;e.exports=function(e,t){var r,d,h,v,m,g=t.dimensions,y=t._length,b={},x=b.cdata=[],A=b.data=[],w=t._visibleDims=[];function _(e,r){for(var i=e.makeCalcdata({v:r.values,vcalendar:t.calendar},"v"),o=0;o<i.length;o++)i[o]=i[o]===f?NaN:i[o];x.push(i),A.push("log"===e.type?n.simpleMap(i,e.c2l):i)}for(r=0;r<g.length;r++)if(h=g[r],h.visible){if(v=i.getFromId(e,t._diag[r][0]),m=i.getFromId(e,t._diag[r][1]),v&&m&&v.type!==m.type){n.log("Skipping splom dimension "+r+" with conflicting axis types");continue}v?(_(v,h),m&&"category"===m.type&&(m._categories=v._categories.slice())):_(m,h),w.push(r)}s(e,t),n.extendFlat(b,u(t));var E,k=x.length,T=k*y>p;for(E=T?2*(b.sizeAvg||Math.max(b.size,3)):o(t,y),d=0;d<w.length;d++)r=w[d],h=g[r],v=i.getFromId(e,t._diag[r][0])||{},m=i.getFromId(e,t._diag[r][1])||{},a(e,t,v,m,x[d],x[d],E);var C=c(e,t);return C.matrix||(C.matrix=!0),C.matrixOptions=b,C.selectedOptions=l(t,t.selected),C.unselectedOptions=l(t,t.unselected),[{x:!1,y:!1,t:{},trace:t}]}},e4eb:function(e,t,r){"use strict";var n=r("a945"),i=r("28dd"),o=n("./vertex.glsl"),a=n("./fragment.glsl");e.exports=function(e){return i(e,o,a,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},e514:function(e,t,r){"use strict";var n=r("22af"),i=r("8164");function o(e,t,r,o,a){var s=i(e.getSelection());if(!t||!o)return s;var l=n.decode(t),u=l.blockKey,c=e.getBlockTree(u),f=c&&c.getIn([l.decoratorKey,"leaves",l.leafKey]),p=n.decode(o),d=p.blockKey,h=e.getBlockTree(d),v=h&&h.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!v)return s;var m=f.get("start"),g=v.get("start"),y=f?m+r:null,b=v?g+a:null,x=s.getAnchorKey()===u&&s.getAnchorOffset()===y&&s.getFocusKey()===d&&s.getFocusOffset()===b;if(x)return s;var A=!1;if(u===d){var w=f.get("end"),_=v.get("end");A=g===m&&_===w?a<r:g<m}else{var E=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===u||e===d})).first();A=E===d}return s.merge({anchorKey:u,anchorOffset:y,focusKey:d,focusOffset:b,isBackward:A})}e.exports=o},e518:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnconnectedRadio=void 0;var i=f(r("d7bc")),o=c(r("ab5b")),a=f(r("37cc")),s=f(r("5174")),l=r("4578");function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}function y(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){var t=_();return function(){var r,n=E(e);if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var k=function(e){y(r,e);var t=x(r);function r(){return v(this,r),t.apply(this,arguments)}return g(r,[{key:"render",value:function(){return o.default.createElement(s.default,this.props,o.default.createElement(a.default,{options:this.props.options,activeOption:this.props.fullValue,onOptionChange:this.props.updatePlot}))}}]),r}(o.Component);t.UnconnectedRadio=k,k.propTypes=d({center:i.default.bool,fullValue:i.default.any,options:i.default.array.isRequired,updatePlot:i.default.func},s.default.propTypes),k.defaultProps={center:!0},k.displayName="UnconnectedRadio";var T=(0,l.connectToContainer)(k);t.default=T},e538:function(e,t,r){var n=r("b622");t.f=n},e5383:function(e,t,r){(function(e){var n=r("2b3e"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}e.exports=u}).call(this,r("62e4")(e))},e56e:function(e,t,r){"use strict";var n=r("f63b");function i(e,t){for(var r=e.length,i=new Array(r),o=0;o<r;++o)i[o]=n(e[o],t[o]);return i}e.exports=i},e581:function(e,t,r){var n=r("fec5");function i(e,t,r,i){var o,a,s,l,u,c,f,p,d,h,v=t[0],m=t[1],g=t[2],y=i[0],b=i[1],x=i[2],A=r[0],w=r[1],_=r[2];return Math.abs(v-A)<1e-6&&Math.abs(m-w)<1e-6&&Math.abs(g-_)<1e-6?n(e):(f=v-A,p=m-w,d=g-_,h=1/Math.sqrt(f*f+p*p+d*d),f*=h,p*=h,d*=h,o=b*d-x*p,a=x*f-y*d,s=y*p-b*f,h=Math.sqrt(o*o+a*a+s*s),h?(h=1/h,o*=h,a*=h,s*=h):(o=0,a=0,s=0),l=p*s-d*a,u=d*o-f*s,c=f*a-p*o,h=Math.sqrt(l*l+u*u+c*c),h?(h=1/h,l*=h,u*=h,c*=h):(l=0,u=0,c=0),e[0]=o,e[1]=l,e[2]=f,e[3]=0,e[4]=a,e[5]=u,e[6]=p,e[7]=0,e[8]=s,e[9]=c,e[10]=d,e[11]=0,e[12]=-(o*v+a*m+s*g),e[13]=-(l*v+u*m+c*g),e[14]=-(f*v+p*m+d*g),e[15]=1,e)}e.exports=i},e5a0:function(e,t,r){"use strict";var n=r("fc26"),i=r("5c33"),o=r("81f0").defaults;function a(e,t){for(var r=e.columnorder||[],n=e.header.values.length,i=r.slice(0,n),o=i.slice().sort((function(e,t){return e-t})),a=i.map((function(e){return o.indexOf(e)})),s=a.length;s<n;s++)a.push(s);t("columnorder",a)}e.exports=function(e,t,r,s){function l(r,o){return n.coerce(e,t,i,r,o)}o(t,s,l),l("columnwidth"),l("header.values"),l("header.format"),l("header.align"),l("header.prefix"),l("header.suffix"),l("header.height"),l("header.line.width"),l("header.line.color"),l("header.fill.color"),n.coerceFont(l,"header.font",n.extendFlat({},s.font)),a(t,l),l("cells.values"),l("cells.format"),l("cells.align"),l("cells.prefix"),l("cells.suffix"),l("cells.height"),l("cells.line.width"),l("cells.line.color"),l("cells.fill.color"),n.coerceFont(l,"cells.font",n.extendFlat({},s.font)),t._length=null}},e5ac:function(e,t,r){"use strict";var n=r("fc26"),i=r("a651");e.exports=function(e,t,r){var o,a,s=r.name,l=r.inclusionAttr||"visible",u=t[s],c=n.isArrayOrTypedArray(e[s])?e[s]:[],f=t[s]=[],p=i.arrayTemplater(t,s,l);for(o=0;o<c.length;o++){var d=c[o];n.isPlainObject(d)?a=p.newItem(d):(a=p.newItem({}),a[l]=!1),a._index=o,!1!==a[l]&&r.handleItemDefaults(d,a,t,r),f.push(a)}var h=p.defaultItems();for(o=0;o<h.length;o++)a=h[o],a._index=f.length,r.handleItemDefaults({},a,t,r,{}),f.push(a);if(n.isArrayOrTypedArray(u)){var v=Math.min(u.length,f.length);for(o=0;o<v;o++)n.relinkPrivateKeys(f[o],u[o])}return f}},e5c5:function(e,t){function r(e,t,r,n){var i,o,a,s,l,u=t[0],c=t[1],f=t[2],p=t[3],d=r[0],h=r[1],v=r[2],m=r[3];return o=u*d+c*h+f*v+p*m,o<0&&(o=-o,d=-d,h=-h,v=-v,m=-m),1-o>1e-6?(i=Math.acos(o),a=Math.sin(i),s=Math.sin((1-n)*i)/a,l=Math.sin(n*i)/a):(s=1-n,l=n),e[0]=s*u+l*d,e[1]=s*c+l*h,e[2]=s*f+l*v,e[3]=s*p+l*m,e}e.exports=r},e5cb:function(e,t,r){"use strict";var n=r("9776"),i=r("0642"),o=r("f977");function a(e,t){this.scene=e,this.uid=t,this.type="heatmapgl",this.name="",this.hoverinfo="all",this.xData=[],this.yData=[],this.zData=[],this.textLabels=[],this.idToIndex=[],this.bounds=[0,0,0,0],this.options={zsmooth:"fast",z:[],x:[],y:[],shape:[0,0],colorLevels:[0],colorValues:[0,0,0,1]},this.heatmap=n(e.glplot,this.options),this.heatmap._trace=this}var s=a.prototype;function l(e){for(var t=e.colorscale,r=e.zmin,n=e.zmax,i=t.length,a=new Array(i),s=new Array(4*i),l=0;l<i;l++){var u=t[l],c=o(u[1]);a[l]=r+u[0]*(n-r);for(var f=0;f<4;f++)s[4*l+f]=c[f]}return{colorLevels:a,colorValues:s}}function u(e,t,r){var n=new a(e,t.uid);return n.update(t,r),n}s.handlePick=function(e){var t=this.options,r=t.shape,n=e.pointId,i=n%r[0],o=Math.floor(n/r[0]),a=n;return{trace:this,dataCoord:e.dataCoord,traceCoord:[t.x[i],t.y[o],t.z[a]],textLabel:this.textLabels[n],name:this.name,pointIndex:[o,i],hoverinfo:this.hoverinfo}},s.update=function(e,t){var r=t[0];this.index=e.index,this.name=e.name,this.hoverinfo=e.hoverinfo;var n=r.z;this.options.z=[].concat.apply([],n);var o=n[0].length,a=n.length;this.options.shape=[o,a],this.options.x=r.x,this.options.y=r.y,this.options.zsmooth=e.zsmooth;var s=l(e);this.options.colorLevels=s.colorLevels,this.options.colorValues=s.colorValues,this.textLabels=[].concat.apply([],e.text),this.heatmap.update(this.options);var u,c,f=this.scene.xaxis,p=this.scene.yaxis;!1===e.zsmooth&&(u={ppad:r.x[1]-r.x[0]},c={ppad:r.y[1]-r.y[0]}),e._extremes[f._id]=i.findExtremes(f,r.x,u),e._extremes[p._id]=i.findExtremes(p,r.y,c)},s.dispose=function(){this.heatmap.dispose()},e.exports=u},e5d7:function(e,t,r){"use strict";var n=r("ac97").hoverPoints,i=r("0642").hoverLabelText;e.exports=function(e,t,r,o){var a=n(e,t,r,o);if(a){e=a[0];var s=e.cd[e.index],l=e.cd[0].trace;if(!l.cumulative.enabled){var u="h"===l.orientation?"y":"x";e[u+"Label"]=i(e[u+"a"],s.ph0,s.ph1)}return a}}},e607:function(e,t,r){},e639:function(e,t,r){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e688:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.LevelRendered=t.HoverColor=t.HovermodeDropdown=t.HoveronDropdown=t.MapboxStyleDropdown=t.MapboxSourceArray=t.FillDropdown=t.HoverInfo=t.HoverTemplateText=t.HoverTemplateSwitch=t.TextInfo=t.PositioningNumeric=t.PositioningRef=t.AnnotationRef=t.AnnotationArrowRef=t.NumericReciprocal=t.NumericFractionInverse=t.NumericFractionDomain=t.NumericFraction=t.DTicksInterval=t.DTicks=t.NTicks=t.AxesRange=t.Histogram2d=t.HistogramInfoHorizontal=t.HistogramInfoVertical=t.ShowInLegend=t.TickFormat=t.BinningDropdown=t.ContourNumeric=t.AxisSide=t.RangesliderVisible=t.AxisOverlayDropdown=t.AxisAnchorDropdown=void 0;var i=x(r("19b2")),o=r("7515"),a=r("1fb3"),s=r("7d2f"),l=r("134d"),u=r("7592"),c=r("7916"),f=r("e518"),p=r("79e5"),d=x(r("88e7")),h=r("bbf7"),v=r("d1bf"),m=r("6bd2"),g=r("4578"),y=x(r("d7bc")),b=x(r("090e"));function x(e){return e&&e.__esModule?e:{default:e}}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){return S(e)||C(e)||T(e)||k()}function k(){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 T(e,t){if(e){if("string"===typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function C(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function S(e){if(Array.isArray(e))return O(e)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(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&&B(e,t)}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function L(e){var t=j();return function(){var r,n=R(e);if(t){var i=R(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return D(this,r)}}function D(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var F=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize,i=[];e.attr.startsWith("xaxis")?i=t.fullLayout._subplots.yaxis.map((function(e){return{label:(0,g.getAxisTitle)(t.fullLayout[(0,g.axisIdToAxisName)(e)]),value:e}})):e.attr.startsWith("yaxis")&&(i=t.fullLayout._subplots.xaxis.map((function(e){return{label:(0,g.getAxisTitle)(t.fullLayout[(0,g.axisIdToAxisName)(e)]),value:e}}))),i.push({label:n("Free"),value:"free"}),r.options=i}});t.AxisAnchorDropdown=F;var N=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize,i=[];e.attr.startsWith("xaxis")?i=t.fullLayout._subplots.xaxis.map((function(e){return{label:(0,g.getAxisTitle)(t.fullLayout[(0,g.axisIdToAxisName)(e)]),value:e}})):e.attr.startsWith("yaxis")&&(i=t.fullLayout._subplots.yaxis.map((function(e){return{label:(0,g.getAxisTitle)(t.fullLayout[(0,g.axisIdToAxisName)(e)]),value:e}}))),i.unshift({label:n("None"),value:!1}),r.options=i.filter((function(e){return t.fullContainer&&t.fullContainer.xaxis&&t.fullContainer.yaxis&&t.fullContainer.xaxis._id!==e.value&&t.fullContainer.yaxis._id!==e.value})),r.clearable=!1}});t.AxisOverlayDropdown=N;var z=(0,g.connectToContainer)(f.UnconnectedRadio,{modifyPlotProps:function(e,t,r){if(!r.fullValue)return r.fullValue=!1,r.visible=!1,void(r.isVisible=!0)}});t.RangesliderVisible=z;var U=(0,g.connectToContainer)(f.UnconnectedRadio,{modifyPlotProps:function(e,t,r){var n=t.localize;"left"!==r.fullValue&&"right"!==r.fullValue?"top"!==r.fullValue&&"bottom"!==r.fullValue?"clockwise"!==r.fullValue&&"counterclockwise"!==r.fullValue?r.isVisible=!1:r.options=[{label:n("Clockwise"),value:"clockwise"},{label:n("Counterclockwise"),value:"counterclockwise"}]:r.options=[{label:n("Top"),value:"top"},{label:n("Bottom"),value:"bottom"}]:r.options=[{label:n("Left"),value:"left"},{label:n("Right"),value:"right"}]}});t.AxisSide=U;var H=(0,g.connectToContainer)(l.UnconnectedNumeric,{modifyPlotProps:function(e,t,r){var n=r.fullContainer;r.isVisible&&n&&n.autocontour&&(r.isVisible=!1)}});t.ContourNumeric=H;var V=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize,i="histogram2d"===r.fullContainer.type?"Z":"v"===r.fullContainer.orientation?"Y":"X";r.options=[{label:n("Count ")+i,value:"count"},{label:n("Sum ")+i,value:"sum"},{label:n("Average ")+i,value:"avg"},{label:n("Minimum ")+i,value:"min"},{label:n("Maximum ")+i,value:"max"}]}});t.BinningDropdown=V;var Q=(0,g.connectToContainer)(a.UnconnectedDropdownCustom,{modifyPlotProps:function(e,t,r){var n=t.localize;"date"===r.fullContainer.type?(r.options=[{label:n("Default"),value:""},{label:n("Advanced (d3-time-format)"),value:"%x"}],r.customOpt="%x"):(r.options=[{label:n("Simple"),value:""},{label:n("Advanced (d3-format)"),value:"s"}],r.customOpt="s")}});t.TickFormat=Q;var W=(0,g.connectToContainer)(m.UnconnectedVisibilitySelect,{modifyPlotProps:function(e,t,r){return t.container.type&&"sunburst"!==t.container.type&&"treemap"!==t.container.type&&(r.isVisible=t.fullLayout.showlegend),r}});t.ShowInLegend=W;var K=(0,g.connectToContainer)(d.default,{modifyPlotProps:function(e,t,r){return r.isVisible="histogram"===t.fullContainer.type&&"v"===t.fullContainer.orientation,r}});t.HistogramInfoVertical=K;var q=(0,g.connectToContainer)(d.default,{modifyPlotProps:function(e,t,r){return r.isVisible="histogram"===t.fullContainer.type&&"h"===t.fullContainer.orientation,r}});t.HistogramInfoHorizontal=q;var G=(0,g.connectToContainer)(d.default,{modifyPlotProps:function(e,t,r){return r.isVisible="histogram2d"===t.fullContainer.type,r}});t.Histogram2d=G;var $=(0,g.connectToContainer)(c.UnconnectedAxisRangeValue,{modifyPlotProps:function(e,t,r){var n=r.fullContainer;return r.isVisible&&n&&n.autorange&&(r.isVisible=!1),r}});t.AxesRange=$;var Y=(0,g.connectToContainer)(l.UnconnectedNumeric,{modifyPlotProps:function(e,t,r){var n=r.fullContainer;return r.isVisible&&n&&"auto"!==n.tickmode&&(r.isVisible=!1),r}});t.NTicks=Y;var X=(0,g.connectToContainer)(c.UnconnectedAxisRangeValue,{modifyPlotProps:function(e,t,r){var n=r.fullContainer;return n&&n._name&&(n._name.startsWith("lat")||n._name.startsWith("lon"))||r.isVisible&&n&&"linear"!==n.tickmode&&(r.isVisible=!1),r}});t.DTicks=X;var Z=(0,g.connectToContainer)(p.UnconnectedAxisInterval,{modifyPlotProps:function(e,t,r){var n=r.fullContainer;return n&&n._name&&(n._name.startsWith("lat")||n._name.startsWith("lon"))||r.isVisible&&n&&"linear"!==n.tickmode&&(r.isVisible=!1),r}});t.DTicksInterval=Z;var J=function(e){P(r,e);var t=L(r);function r(){return M(this,r),t.apply(this,arguments)}return r}(l.UnconnectedNumeric);J.propTypes=l.UnconnectedNumeric.propTypes,J.defaultProps={units:"%",showSlider:!0},J.displayName="UnconnectedNumericFraction";var ee=function(e,t,r){var n=r.attrMeta,o=r.fullValue,a=r.updatePlot,s=n&&n.min||0,l=n&&n.max||1;(0,i.default)(o)&&(r.fullValue=Math.round(100*(o-s)/(l-s))),r.updatePlot=function(e){(0,i.default)(e)?a(e/100*(l-s)+s):a(e)},r.max=100,r.min=0},te=(0,g.connectToContainer)(J,{modifyPlotProps:ee});t.NumericFraction=te;var re=(0,g.connectToContainer)(J,{modifyPlotProps:function(e,t,r){ee(e,t,r),t.container&&t.container.overlaying&&(r.isVisible=null)}});t.NumericFractionDomain=re;var ne=(0,g.connectToContainer)(J,{modifyPlotProps:function(e,t,r){var n=r.attrMeta,o=r.fullValue,a=r.updatePlot;(0,i.default)(o)&&(r.fullValue=Math.round(100*(1-o))),r.updatePlot=function(e){(0,i.default)(e)?a(1-e/100):a(e)},n&&((0,i.default)(n.min)&&(r.max=100*(1-n.min)),(0,i.default)(n.max)&&(r.min=100*(1-n.max)))}});t.NumericFractionInverse=ne;var ie=(0,g.connectToContainer)(l.UnconnectedNumeric,{modifyPlotProps:function(e,t,r){var n=r.fullValue,o=r.updatePlot;(0,i.default)(n)&&(r.fullValue=1/n),r.updatePlot=function(e){(0,i.default)(e)?o(1/e):o(e)},r.min=0}});t.NumericReciprocal=ie;var oe=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize;if(t.fullContainer){var i,o=t.fullContainer,a=o.xref,s=o.yref;if("axref"===e.attr)i=a;else{if("ayref"!==e.attr)throw new Error(n('AnnotationArrowRef must be given either "axref" or "ayref" as attrs. Instead was given')+e.attr);i=s}if("paper"===i){var l=(0,g.getAllAxes)(t.fullLayout).filter((function(e){return e._id}));l.length>0?r.options=[{label:n("in pixels"),value:"pixel"}].concat(E(ue(l,e.attr))):r.isVisible=!1}else r.options=[{label:n("in pixels"),value:"pixel"},{label:n("according to axis"),value:i}];r.clearable=!1}}});t.AnnotationArrowRef=oe;var ae=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){if(t.fullContainer){var n,i=t.fullContainer,o=i.axref,a=i.ayref,s=t.localize;if("xref"===e.attr)n=o;else{if("yref"!==e.attr)throw new Error(s('AnnotationRef must be given either "xref" or "yref" as attrs. Instead was given')+e.attr+".");n=a}var l=(0,g.getAllAxes)(t.fullLayout).filter((function(e){return e._id}));l.length>0?r.options=[{label:s("Canvas"),value:"paper"}].concat(E(ue(l,e.attr))):r.isVisible=!1,"pixel"!==n&&(r.updatePlot=function(t){if(r.updateContainer){var n=_({},e.attr,t);"paper"!==t&&(n["a".concat(e.attr)]=t),r.updateContainer(n)}}),r.clearable=!1}}});t.AnnotationRef=ae;var se=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=(0,g.getAllAxes)(t.fullLayout).filter((function(e){return e._id}));n.length>0?(r.options=[{label:"Canvas",value:"paper"}].concat(E(ue(n,e.attr))),r.clearable=!1):r.isVisible=!1}});t.PositioningRef=se;var le=(0,g.connectToContainer)(u.UnconnectedNumericOrDate,{modifyPlotProps:function(e,t,r){var n=r.fullContainer,o=r.fullValue,a=r.updatePlot;!n||"paper"!==n[e.attr[0]+"ref"]&&"paper"!==n[e.attr[e.attr.length-1]+"ref"]||(r.units="%",r.showSlider=!0,r.max=100,r.min=0,r.step=1,(0,i.default)(o)&&(r.fullValue=Math.round(100*o)),r.updatePlot=function(e){(0,i.default)(e)?a(e/100):a(e)})}});function ue(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];if(i._id.charAt(0)===t.charAt(0)||i._id.charAt(0)===t.charAt(1)){var o=(0,g.getAxisTitle)(i);r.push({label:o,value:i._id})}}return r}t.PositioningNumeric=le;var ce=(0,g.connectToContainer)(s.UnconnectedFlaglist,{modifyPlotProps:function(e,t,r){var n=t.localize,i=t.container,o=[{label:n("Label"),value:"label"},{label:n("Value"),value:"value"},{label:n("%"),value:"percent"}];"funnel"===i.type&&(o=[{label:n("Label"),value:"label"},{label:n("Value"),value:"value"},{label:n("% initial"),value:"percent initial"},{label:n("% previous"),value:"percent previous"},{label:n("% total"),value:"percent total"}]),i.text&&o.push({label:n("Text"),value:"text"}),r.options=o}});t.TextInfo=ce;var fe=(0,g.connectToContainer)(f.UnconnectedRadio,{modifyPlotProps:function(e,t,r){var n=t.localize;return r.options=[{label:n("Values"),value:""},{label:n("Template"),value:r.fullValue||" "}],r}});t.HoverTemplateSwitch=fe;var pe=(0,g.connectToContainer)(v.UnconnectedTextEditor,{modifyPlotProps:function(e,t,r){return r.isVisible&&""===r.fullValue&&(r.isVisible=!1),r}});t.HoverTemplateText=pe;var de=(0,g.connectToContainer)(s.UnconnectedFlaglist,{modifyPlotProps:function(e,t,r){var n=t.localize,i=t.container,o=[{label:n("X"),value:"x"},{label:n("Y"),value:"y"}];["heatmap","heatmapgl","histogram2d","histogram2dcontour","contour","contourcarpet","scatter3d","surface","mesh3d"].includes(i.type)?o.push({label:n("Z"),value:"z"}):"choropleth"===i.type?o=[{label:n("Location"),value:"location"},{label:n("Values"),value:"z"}]:"scattergeo"===i.type?i.locations?o=[{label:n("Location"),value:"location"}]:(i.lat||i.lon)&&(o=[{label:n("Longitude"),value:"lon"},{label:n("Latitude"),value:"lat"}]):"scattermapbox"===i.type?o=[{label:n("Longitude"),value:"lon"},{label:n("Latitude"),value:"lat"}]:"densitymapbox"===i.type?o=[{label:n("Longitude"),value:"lon"},{label:n("Latitude"),value:"lat"},{label:n("Z"),value:"z"}]:"scatterternary"===i.type?o=[{label:n("A"),value:"a"},{label:n("B"),value:"b"},{label:n("C"),value:"c"}]:["scatterpolar","scatterpolargl","barpolar"].includes(i.type)?o=[{label:n("R"),value:"r"},{label:n("Theta"),value:"theta"}]:"pie"===i.type?o=[{label:n("Percent"),value:"percent"}]:"table"===i.type?r.isVisible=!1:["cone","streamtube"].includes(i.type)?o=[{label:n("X"),value:"x"},{label:n("Y"),value:"y"},{label:n("Z"),value:"z"},{label:n("U"),value:"u"},{label:n("V"),value:"v"},{label:n("W"),value:"w"},{label:n("Norm"),value:"norm"},{label:n("Divergence"),value:"divergence"}]:"sunburst"!==i.type&&"treemap"!==i.type||(o=[]),i.labels&&["pie","sunburst","treemap","funnelarea"].includes(i.type)&&o.push({label:n("Label"),value:"label"}),i.values&&["pie","sunburst","treemap","funnelarea"].includes(i.type)&&o.push({label:n("Value"),value:"value"}),i.text&&o.push({label:n("Text"),value:"text"}),o.push({label:n("Trace name"),value:"name"}),r.options=o}});t.HoverInfo=de;var he=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize,i=[{label:n("None"),value:"none"},{label:n("Y = 0"),value:"tozeroy"},{label:n("X = 0"),value:"tozerox"},{label:n("Previous Y"),value:"tonexty"},{label:n("Previous X"),value:"tonextx"}];"scatterternary"===t.container.type||"scattercarpet"===t.container.type||"scatterpolar"===t.container.type?i=[{label:n("None"),value:"none"},{label:n("To Self"),value:"toself"},{label:n("To Next"),value:"tonext"}]:"scattergeo"!==t.container.type&&"scattermapbox"!==t.container.type||(i=[{label:n("None"),value:"none"},{label:n("To Self"),value:"toself"}]),r.options=i,r.clearable=!1}});t.FillDropdown=he;var ve=(0,g.connectToContainer)(b.default,{modifyPlotProps:function(e,t,r){var n=r.fullValue,i=r.updatePlot;r.fullValue&&r.fullValue.length>0&&(r.fullValue=n[0]),r.updatePlot=function(e){e.length?i([e]):i([])}}});t.MapboxSourceArray=ve;var me=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.mapBoxAccess,i=t.localize;r.options=(n?[{label:i("Mapbox Basic"),value:"basic"},{label:i("Mapbox Outdoors"),value:"outdoors"},{label:i("Mapbox Light"),value:"light"},{label:i("Mapbox Dark"),value:"dark"},{label:i("Mapbox Satellite"),value:"satellite"},{label:i("Mapbox Satellite with Streets"),value:"satellite-streets"}]:[]).concat([{label:i("No tiles (white background)"),value:"white-bg"},{label:i("Open Street Map"),value:"open-street-map"},{label:i("Carto Positron"),value:"carto-positron"},{label:i("Carto Dark Matter"),value:"carto-darkmatter"},{label:i("Stamen Terrain"),value:"stamen-terrain"},{label:i("Stamen Toner"),value:"stamen-toner"},{label:i("Stamen Watercolor"),value:"stamen-watercolor"}]),r.clearable=!1}});t.MapboxStyleDropdown=me,me.contextTypes=w({mapBoxAccess:y.default.bool},me.contextTypes);var ge=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n,i=t.localize;n="box"===t.container.type?[{label:i("Boxes"),value:"boxes"},{label:i("Points"),value:"points"},{label:i("Boxes and Points"),value:"boxes+points"}]:"violin"===t.container.type?[{label:i("Violins"),value:"violins"},{label:i("Points"),value:"points"},{label:i("KDE"),value:"kde"},{label:i("Violins and Points"),value:"violins+points"},{label:i("Violins, Points and KDE"),value:"violins+points+kde"}]:[{label:i("Points"),value:"points"},{label:i("Fills"),value:"fills"},{label:i("Points and Fills"),value:"points+fills"}],r.options=n,r.clearable=!1}});t.HoveronDropdown=ge;var ye=(0,g.connectToContainer)(m.UnconnectedVisibilitySelect,{modifyPlotProps:function(e,t,r){var n=t.localize;r.options=t.container.xaxis&&Object.keys(t.container.xaxis).length>0?[{label:n("Closest"),value:"closest"},{label:n("X Axis"),value:"x"},{label:n("Y Axis"),value:"y"},{label:n("Disable"),value:!1}]:[{label:n("Closest"),value:"closest"},{label:n("Disable"),value:!1}],r.clearable=!1,r.dropdown=!0,r.showOn=["closest","x","y"]}});t.HovermodeDropdown=ye;var be=(0,g.connectToContainer)(h.UnconnectedColorPicker,{modifyPlotProps:function(e,t,r){return r.isVisible=Boolean(t.fullLayout.hovermode),r}});t.HoverColor=be;var xe=(0,g.connectToContainer)(o.UnconnectedDropdown,{modifyPlotProps:function(e,t,r){var n=t.localize;t.container.ids&&t.container.ids.length&&(r.isVisible=!0,r.options=[{label:n("Root"),value:""}].concat(t.container.ids.map((function(e){return{label:e,value:e}}))))}});t.LevelRendered=xe},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),l=r("c430"),u=r("da84"),c=r("d066"),f=r("fea9"),p=r("6eeb"),d=r("e2cc"),h=r("d44e"),v=r("2626"),m=r("861d"),g=r("1c0b"),y=r("19aa"),b=r("c6b6"),x=r("8925"),A=r("2266"),w=r("1c7e"),_=r("4840"),E=r("2cf4").set,k=r("b575"),T=r("cdf9"),C=r("44de"),S=r("f069"),O=r("e667"),M=r("69f3"),P=r("94ca"),B=r("b622"),L=r("2d00"),D=B("species"),I="Promise",j=M.get,R=M.set,F=M.getterFor(I),N=f,z=u.TypeError,U=u.document,H=u.process,V=c("fetch"),Q=S.f,W=Q,K="process"==b(H),q=!!(U&&U.createEvent&&u.dispatchEvent),G="unhandledrejection",$="rejectionhandled",Y=0,X=1,Z=2,J=1,ee=2,te=P(I,(function(){var e=x(N)!==String(N);if(!e){if(66===L)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!N.prototype["finally"])return!0;if(L>=51&&/native code/.test(N))return!1;var t=N.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[D]=r,!(t.then((function(){}))instanceof r)})),re=te||!w((function(e){N.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;k((function(){var i=t.value,o=t.state==X,a=0;while(n.length>a){var s,l,u,c=n[a++],f=o?c.ok:c.fail,p=c.resolve,d=c.reject,h=c.domain;try{f?(o||(t.rejection===ee&&le(e,t),t.rejection=J),!0===f?s=i:(h&&h.enter(),s=f(i),h&&(h.exit(),u=!0)),s===c.promise?d(z("Promise-chain cycle")):(l=ne(s))?l.call(s,p,d):p(s)):d(i)}catch(v){h&&!u&&h.exit(),d(v)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ae(e,t)}))}},oe=function(e,t,r){var n,i;q?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},(i=u["on"+e])?i(n):e===G&&C("Unhandled promise rejection",r)},ae=function(e,t){E.call(u,(function(){var r,n=t.value,i=se(t);if(i&&(r=O((function(){K?H.emit("unhandledRejection",n,e):oe(G,e,n)})),t.rejection=K||se(t)?ee:J,r.error))throw r.value}))},se=function(e){return e.rejection!==J&&!e.parent},le=function(e,t){E.call(u,(function(){K?H.emit("rejectionHandled",e):oe($,e,t.value)}))},ue=function(e,t,r,n){return function(i){e(t,r,i,n)}},ce=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=Z,ie(e,t,!0))},fe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw z("Promise can't be resolved itself");var i=ne(r);i?k((function(){var n={done:!1};try{i.call(r,ue(fe,e,n,t),ue(ce,e,n,t))}catch(o){ce(e,n,o,t)}})):(t.value=r,t.state=X,ie(e,t,!1))}catch(o){ce(e,{done:!1},o,t)}}};te&&(N=function(e){y(this,N,I),g(e),n.call(this);var t=j(this);try{e(ue(fe,this,t),ue(ce,this,t))}catch(r){ce(this,t,r)}},n=function(e){R(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Y,value:void 0})},n.prototype=d(N.prototype,{then:function(e,t){var r=F(this),n=Q(_(this,N));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=K?H.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=Y&&ie(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ue(fe,e,t),this.reject=ue(ce,e,t)},S.f=Q=function(e){return e===N||e===o?new i(e):W(e)},l||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var r=this;return new N((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(N,V.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:N}),h(N,I,!1,!0),v(I),o=c(I),s({target:I,stat:!0,forced:te},{reject:function(e){var t=Q(this);return t.reject.call(void 0,e),t.promise}}),s({target:I,stat:!0,forced:l||te},{resolve:function(e){return T(l&&this===o?N:this,e)}}),s({target:I,stat:!0,forced:re},{all:function(e){var t=this,r=Q(t),n=r.resolve,i=r.reject,o=O((function(){var r=g(t.resolve),o=[],a=0,s=1;A(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=Q(t),n=r.reject,i=O((function(){var i=g(t.resolve);A(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e706:function(e,t,r){"use strict";e.exports=p;var n=r("c586"),i=r("9915"),o=r("4ae2"),a=r("c01c"),s=r("a026"),l=r("175e"),u=r("ce8f");function c(e,t){for(var r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function f(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=[];return t}function p(e,t){var r=u(e,t);e=r[0],t=r[1];for(var p=t.length,d=(e.length,n(e,t.length)),h=0;h<p;++h)if(d[h].length%2===1)throw new Error("planar-graph-to-polyline: graph must be manifold");var v=i(e,t);function m(e){for(var r=e.length,n=[0],i=0;i<r;++i){var o=t[e[i]],l=t[e[(i+1)%r]],u=a(-o[0],o[1]),c=a(-o[0],l[1]),f=a(l[0],o[1]),p=a(l[0],l[1]);n=s(n,s(s(u,c),s(f,p)))}return n[n.length-1]>0}v=v.filter(m);var g=v.length,y=new Array(g),b=new Array(g);for(h=0;h<g;++h){y[h]=h;var x=new Array(g),A=v[h].map((function(e){return t[e]})),w=o([A]),_=0;e:for(var E=0;E<g;++E)if(x[E]=0,h!==E){for(var k=v[E],T=k.length,C=0;C<T;++C){var S=w(t[k[C]]);if(0!==S){S<0&&(x[E]=1,_+=1);continue e}}x[E]=1,_+=1}b[h]=[_,h,x]}b.sort((function(e,t){return t[0]-e[0]}));for(h=0;h<g;++h){x=b[h];var O=x[1],M=x[2];for(E=0;E<g;++E)M[E]&&(y[E]=O)}var P=f(g);for(h=0;h<g;++h)P[h].push(y[h]),P[y[h]].push(h);var B={},L=c(p,!1);for(h=0;h<g;++h)for(k=v[h],T=k.length,E=0;E<T;++E){var D=k[E],I=k[(E+1)%T],j=Math.min(D,I)+":"+Math.max(D,I);if(j in B){var R=B[j];P[R].push(h),P[h].push(R),L[D]=L[I]=!0}else B[j]=h}function F(e){for(var t=e.length,r=0;r<t;++r)if(!L[e[r]])return!1;return!0}var N=[],z=c(g,-1);for(h=0;h<g;++h)y[h]!==h||F(v[h])?z[h]=-1:(N.push(h),z[h]=0);r=[];while(N.length>0){var U=N.pop(),H=P[U];l(H,(function(e,t){return e-t}));var V,Q=H.length,W=z[U];if(0===W){k=v[U];V=[k]}for(h=0;h<Q;++h){var K=H[h];if(!(z[K]>=0)&&(z[K]=1^W,N.push(K),0===W)){k=v[K];F(k)||(k.reverse(),V.push(k))}}0===W&&r.push(V)}return r}},e725:function(e,t,r){"use strict";var n=r("fc26"),i=r("0642"),o=r("83c1");function a(e,t,r){if(!e.hovertemplate){var i=t.hi||e.hoverinfo,o=i.split("+"),a=-1!==o.indexOf("all"),s=-1!==o.indexOf("lon"),l=-1!==o.indexOf("lat"),u=t.lonlat,c=[];return a||s&&l?c.push("("+f(u[0])+", "+f(u[1])+")"):s?c.push(r.lon+f(u[0])):l&&c.push(r.lat+f(u[1])),(a||-1!==o.indexOf("text"))&&n.fillText(t,e,c),c.join("<br>")}function f(e){return e+"°"}}e.exports=function(e,t,r){var n=o(e,t,r);if(n){var s=n[0],l=s.cd,u=l[0].trace,c=l[s.index];if(delete s.color,"z"in c){var f=s.subplot.mockAxis;s.z=c.z,s.zLabel=i.tickText(f,f.c2l(c.z),"hover").text}return s.extraText=a(u,c,l[0].t.labels),[s]}}},e750:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.traceHasColorbar=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){return t.marker&&void 0!==t.marker.showscale||void 0!==t.showscale};t.traceHasColorbar=s;var l=function(e,t){var r=t.localize;return n.default.createElement(o.TraceAccordion,{traceFilterCondition:s},["","marker."].map((function(e){return n.default.createElement(o.VisibilitySelect,{attr:e+"showscale",key:"x"+e,options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}],showOn:!0},n.default.createElement(o.PlotlyPanel,{key:e+" panel"},n.default.createElement(o.PlotlyFold,{name:r("Title")},n.default.createElement(o.TextEditor,{attr:e+"colorbar.title.text"}),n.default.createElement(o.Dropdown,{label:r("Location"),attr:e+"colorbar.title.side",options:[{label:r("Top"),value:"top"},{label:r("Right"),value:"right"},{label:r("Bottom"),value:"bottom"}]}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:e+"colorbar.title.font.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:e+"colorbar.title.font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Font Color"),attr:e+"colorbar.title.font.color"})),n.default.createElement(o.PlotlyFold,{name:r("Size and Positioning")},n.default.createElement(o.PlotlySection,{name:r("Size"),attr:e+"colorbar.len"},n.default.createElement(o.Numeric,{label:r("Height"),attr:e+"colorbar.len"}),n.default.createElement(o.Radio,{attr:e+"colorbar.lenmode",options:[{label:r("Fraction of Plot"),value:"fraction"},{label:r("Pixels"),value:"pixels"}]}),n.default.createElement(o.Numeric,{label:r("Width"),attr:e+"colorbar.thickness"}),n.default.createElement(o.Radio,{attr:e+"colorbar.thicknessmode",options:[{label:r("Fraction of Plot"),value:"fraction"},{label:r("Pixels"),value:"pixels"}]})),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning"),attr:e+"colorbar.x"},n.default.createElement(o.Numeric,{label:r("Position"),attr:e+"colorbar.x",showSlider:!0,step:.02}),n.default.createElement(o.Dropdown,{label:r("Anchor"),attr:e+"colorbar.xanchor",options:[{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning"),attr:e+"colorbar.y"},n.default.createElement(o.Numeric,{label:r("Position"),attr:e+"colorbar.y",showSlider:!0,step:.02}),n.default.createElement(o.Dropdown,{label:r("Anchor"),attr:e+"colorbar.yanchor",options:[{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]})),n.default.createElement(o.PlotlySection,{name:r("Padding"),attr:e+"colorbar.xpad"},n.default.createElement(o.Numeric,{label:r("Vertical"),attr:e+"colorbar.ypad",units:"px"}),n.default.createElement(o.Numeric,{label:r("Horizontal"),attr:e+"colorbar.xpad",units:"px"}))),n.default.createElement(o.PlotlyFold,{name:r("Labels")},n.default.createElement(o.VisibilitySelect,{attr:e+"colorbar.showticklabels",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}],showOn:!0,defaultOpt:!0},n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:e+"colorbar.tickfont.family"}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:e+"colorbar.tickfont.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Font Color"),attr:e+"colorbar.tickfont.color"}),n.default.createElement(o.Dropdown,{label:r("Angle"),attr:e+"colorbar.tickangle",clearable:!1,options:[{label:r("Auto"),value:"auto"},{label:r("45"),value:45},{label:r("90"),value:90},{label:r("135"),value:135},{label:r("180"),value:180}]}),n.default.createElement(o.Dropdown,{label:r("Exponents"),attr:e+"colorbar.exponentformat",clearable:!1,options:[{label:r("None"),value:"000"},{label:r("e+6"),value:"e"},{label:r("E+6"),value:"E"},{label:r("x10^6"),value:"power"},{label:r("k/M/G"),value:"SI"},{label:r("k/M/B"),value:"B"}]}),n.default.createElement(o.DropdownCustom,{label:r("Label Prefix"),attr:e+"colorbar.tickprefix",options:[{label:r("None"),value:""},{label:r("x"),value:"x"},{label:r("$"),value:"$"},{label:r("#"),value:"#"},{label:r("@"),value:"@"},{label:r("Custom"),value:"custom"}],customOpt:"custom",dafaultOpt:"",clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Show Prefix"),attr:e+"colorbar.showtickprefix",options:[{label:r("Every label"),value:"all"},{label:r("First label"),value:"first"},{label:r("Last label"),value:"last"},{label:r("None label"),value:"none"}]}),n.default.createElement(o.DropdownCustom,{label:r("Label Suffix"),attr:e+"colorbar.ticksuffix",options:[{label:r("None"),value:""},{label:r("C"),value:"C"},{label:r("%"),value:"%"},{label:r("^"),value:"^"},{label:r("Custom"),value:"custom"}],customOpt:"custom",dafaultOpt:"",clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Show Suffix"),attr:e+"colorbar.showticksuffix",options:[{label:r("Every label"),value:"all"},{label:r("First label"),value:"first"},{label:r("Last label"),value:"last"},{label:r("None label"),value:"none"}]}),n.default.createElement(o.Radio,{attr:e+"colorbar.tickmode",options:[{label:r("Auto"),value:"auto"},{label:r("Custom"),value:"linear"}],label:r("Tick spacing")}),n.default.createElement(o.NumericOrDate,{label:r("Step Offset"),attr:e+"colorbar.tick0"}),n.default.createElement(o.AxisInterval,{label:r("Step Size"),attr:e+"colorbar.dtick"}),n.default.createElement(o.Numeric,{label:r("Max Number of Labels"),attr:e+"colorbar.nticks"}))),n.default.createElement(o.PlotlyFold,{name:r("Ticks")},n.default.createElement(o.VisibilitySelect,{attr:e+"colorbar.ticks",options:[{label:r("Inside"),value:"inside"},{label:r("Outside"),value:"outside"},{label:r("Hide"),value:""}],showOn:["inside","outside"],defaultOpt:""},n.default.createElement(o.Numeric,{label:r("Length"),attr:e+"colorbar.ticklen",units:"px"}),n.default.createElement(o.Numeric,{label:r("Width"),attr:e+"colorbar.tickwidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:e+"colorbar.tickcolor"}),n.default.createElement(o.Radio,{attr:e+"colorbar.tickmode",options:[{label:r("Auto"),value:"auto"},{label:r("Custom"),value:"linear"}],label:r("Tick spacing")}),n.default.createElement(o.NumericOrDate,{label:r("Step Offset"),attr:e+"colorbar.tick0"}),n.default.createElement(o.AxisInterval,{label:r("Step Size"),attr:e+"colorbar.dtick"}),n.default.createElement(o.Numeric,{label:r("Max Number of Labels"),attr:e+"colorbar.nticks"}))),n.default.createElement(o.PlotlyFold,{name:r("Borders and Background")},n.default.createElement(o.PlotlySection,{name:r("Color Bar"),attr:e+"colorbar.outlinewidth"},n.default.createElement(o.Numeric,{label:r("Border Width"),attr:e+"colorbar.outlinewidth"}),n.default.createElement(o.ColorPicker,{label:r("Border Color"),attr:e+"colorbar.outlinecolor"})),n.default.createElement(o.PlotlySection,{name:r("Color Bar Container"),attr:e+"colorbar.bgcolor"},n.default.createElement(o.ColorPicker,{label:r("Background Color"),attr:e+"colorbar.bgcolor"}),n.default.createElement(o.Numeric,{label:r("Border Width"),attr:e+"colorbar.borderwidth"}),n.default.createElement(o.ColorPicker,{label:r("Border Color"),attr:e+"colorbar.bordercolor"})))))})))};l.contextTypes={localize:i.default.func};var u=l;t.default=u},e762:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M18,18H6V6H18M18,4H6C4.9,4 4,4.9 4,6V18C4,19.1 4.9,20 6,20H18C19.1,20 20,19.1 20,18V6C20,4.89 19.1,4 18,4Z"}))};e.exports=s},e76c:function(e,t,r){"use strict";e.exports=function(){}},e78b:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Panel=void 0;var i=d(r("a30a")),o=d(r("a36d")),a=d(r("d7bc")),s=p(r("ab5b")),l=d(r("46c3")),u=r("4578"),c=r("8704");function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function g(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&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=w();return function(){var r,n=_(e);if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var E=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return m(r,[{key:"render",value:function(){var e=this.context.localize;return s.default.createElement(o.default,{icon:c.EmbedIconIcon,heading:e("Well this is embarrassing.")},s.default.createElement("p",null,e("This panel could not be displayed due to an error.")))}}]),r}(s.Component);E.contextTypes={localize:a.default.func};var k=E,T=function(e){g(r,e);var t=b(r);function r(e){var n;return h(this,r),n=t.call(this,e),n.state={individualFoldStates:[],hasError:!1},n.toggleFolds=n.toggleFolds.bind(A(n)),n.toggleFold=n.toggleFold.bind(A(n)),n}return m(r,[{key:"getChildContext",value:function(){return{deleteContainer:this.props.deleteAction?this.props.deleteAction:null}}},{key:"componentDidCatch",value:function(){this.setState({hasError:!0})}},{key:"toggleFolds",value:function(){var e=this.state.individualFoldStates,t=e.length>0&&e.some((function(e){return!0!==e}));this.setState({individualFoldStates:e.map((function(){return t}))})}},{key:"toggleFold",value:function(e){this.setState((0,l.default)(this.state,{individualFoldStates:{$toggle:[e]}}))}},{key:"calculateFolds",value:function(){var e=0;if(s.default.Children.forEach(this.props.children,(function(t){(t&&t.type&&t.type.plotly_editor_traits||{}).foldable&&e++})),this.state.individualFoldStates.length!==e){var t=new Array(e).fill(!1);this.setState({individualFoldStates:this.props.addAction?t.map((function(t,r){return r!==e-1})):t})}}},{key:"componentDidUpdate",value:function(){this.calculateFolds()}},{key:"componentDidMount",value:function(){this.calculateFolds()}},{key:"render",value:function(){var e=this,t=this.state,r=t.individualFoldStates,n=t.hasError,o=this.props.canReorder;if(n)return s.default.createElement(k,null);var a=s.default.Children.map(this.props.children,(function(t,n){return(t&&t.type&&t.type.plotly_editor_traits||{}).foldable?(0,s.cloneElement)(t,{key:n,folded:r[n]||!1,toggleFold:function(){return e.toggleFold(n)},canMoveUp:o&&r.length>1&&n>0,canMoveDown:o&&r.length>1&&n!==r.length-1}):t}));return s.default.createElement("div",{className:"panel".concat(this.props.noPadding?" panel--no-padding":"")},s.default.createElement(i.default,{addAction:this.props.addAction,allowCollapse:this.props.showExpandCollapse&&r.length>1,toggleFolds:this.toggleFolds,hasOpen:r.some((function(e){return!1===e}))}),s.default.createElement("div",{className:(0,u.bem)("panel","content")},a))}}]),r}(s.Component);t.Panel=T,T.propTypes={addAction:a.default.object,children:a.default.node,deleteAction:a.default.func,noPadding:a.default.bool,showExpandCollapse:a.default.bool,canReorder:a.default.bool},T.defaultProps={showExpandCollapse:!0},T.contextTypes={localize:a.default.func},T.childContextTypes={deleteContainer:a.default.func};var C=function(e){g(r,e);var t=b(r);function r(){return h(this,r),t.apply(this,arguments)}return r}(T);C.plotly_editor_traits={no_visibility_forcing:!0};var S=C;t.default=S},e7ab:function(e,t,r){"use strict";var n=r("6e58"),i=r("d115"),o=r("83d1"),a=r("c258");function s(e,t){t&&l(e,t)}function l(e,t){var r=t[0].trace,s=t[0].node3,l=s.selectAll(".choroplethlocation"),u=r.marker||{},c=u.line||{},f=a.makeColorScaleFuncFromTrace(r);l.each((function(e){n.select(this).attr("fill",f(e.z)).call(i.stroke,e.mlc||c.color).call(o.dashLine,"",e.mlw||c.width||0).style("opacity",u.opacity)})),o.selectedPointStyle(l,r,e)}function u(e,t){var r=t[0].node3,n=t[0].trace;n.selectedpoints?o.selectedPointStyle(r.selectAll(".choroplethlocation"),n,e):l(e,t)}e.exports={style:s,styleOnSelect:u}},e7bd:function(e,t,r){"use strict";var n=r("9845"),i=r("c715"),o=r("dfb3"),a=n({editType:"calc",description:"The default font used for axis & tick labels on this carpet"});a.family.dflt='"Open Sans", verdana, arial, sans-serif',a.size.dflt=12,a.color.dflt=o.defaultLine,e.exports={carpet:{valType:"string",role:"info",editType:"calc",description:["An identifier for this carpet, so that `scattercarpet` and","`contourcarpet` traces can specify a carpet plot on which","they lie"].join(" ")},x:{valType:"data_array",editType:"calc+clearAxisTypes",description:["A two dimensional array of x coordinates at each carpet point.","If omitted, the plot is a cheater plot and the xaxis is hidden","by default."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",description:"A two dimensional array of y coordinates at each carpet point."},a:{valType:"data_array",editType:"calc",description:["An array containing values of the first parameter value"].join(" ")},a0:{valType:"number",dflt:0,role:"info",editType:"calc",description:["Alternate to `a`.","Builds a linear space of a coordinates.","Use with `da`","where `a0` is the starting coordinate and `da` the step."].join(" ")},da:{valType:"number",dflt:1,role:"info",editType:"calc",description:["Sets the a coordinate step.","See `a0` for more info."].join(" ")},b:{valType:"data_array",editType:"calc",description:"A two dimensional array of y coordinates at each carpet point."},b0:{valType:"number",dflt:0,role:"info",editType:"calc",description:["Alternate to `b`.","Builds a linear space of a coordinates.","Use with `db`","where `b0` is the starting coordinate and `db` the step."].join(" ")},db:{valType:"number",dflt:1,role:"info",editType:"calc",description:["Sets the b coordinate step.","See `b0` for more info."].join(" ")},cheaterslope:{valType:"number",role:"info",dflt:1,editType:"calc",description:["The shift applied to each successive row of data in creating a cheater plot.","Only used if `x` is been omitted."].join(" ")},aaxis:i,baxis:i,font:a,color:{valType:"color",dflt:o.defaultLine,role:"style",editType:"plot",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},transforms:void 0}},e7cb:function(e,t,r){"use strict";var n=r("4f4d");e.exports=o;var i={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function o(e){var t,r,o=[],a=1;if("string"===typeof e)if(n[e])o=n[e].slice(),r="rgb";else if("transparent"===e)a=0,r="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var s=e.slice(1),l=s.length,u=l<=4;a=1,u?(o=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===l&&(a=parseInt(s[3]+s[3],16)/255)):(o=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===l&&(a=parseInt(s[6]+s[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),r="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var c=t[1],f="rgb"===c;s=c.replace(/a$/,"");r=s;l="cmyk"===s?4:"gray"===s?1:3;o=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===l?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==i[e])return i[e]}return parseFloat(e)})),c===s&&o.push(1),a=f||void 0===o[l]?1:o[l],o=o.slice(0,l)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),r=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],r="rgb",a=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(r="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(r="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),a=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(a/=100)):(r="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:r,values:o,alpha:a}}},e7d5:function(e,t,r){"use strict";var n=r("f118");e.exports=function(e,t,r){var i=t.plotContainer;i.select(".scatterlayer").selectAll("*").remove();var o={xaxis:t.xaxis,yaxis:t.yaxis,plot:i,layerClipId:t._hasClipOnAxisFalse?t.clipIdRelative:null},a=t.layers.frontplot.select("g.scatterlayer");n(e,o,r,a)}},e806:function(e,t,r){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},e812:function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("66cb"),a=r("fc26"),s=a.strTranslate,l=a.strRotate,u=r("8741"),c=r("0379"),f=r("c953"),p=r("83d1"),d=r("d115"),h=r("4efe"),v=r("0642"),m=r("371e"),g=r("c4c7"),y=r("7fb7"),b=r("e813"),x=r("43d9"),A=y.YANGLE,w=Math.PI*A/180,_=1/Math.sin(w),E=Math.cos(w),k=Math.sin(w),T=y.HOVERARROWSIZE,C=y.HOVERTEXTPAD;function S(e,t,r,o){r||(r="xy");var s=Array.isArray(r)?r:[r],l=e._fullLayout,c=l._plots||[],p=c[r],v=l._has("cartesian");if(p){var y=p.overlays.map((function(e){return e.id}));s=s.concat(y)}for(var b=s.length,x=new Array(b),A=new Array(b),w=!1,_=0;_<b;_++){var E=s[_];if(c[E])w=!0,x[_]=c[E].xaxis,A[_]=c[E].yaxis;else{if(!l[E]||!l[E]._subplot)return void a.warn("Unrecognized subplot: "+E);var k=l[E]._subplot;x[_]=k.xaxis,A[_]=k.yaxis}}var T=t.hovermode||l.hovermode;if(T&&!w&&(T="closest"),-1===["x","y","closest","x unified","y unified"].indexOf(T)||!e.calcdata||e.querySelector(".zoombox")||e._dragging)return h.unhoverRaw(e,t);var C,S,M,B,N,z,U,H,V,Q,W,K,q,G=-1===l.hoverdistance?1/0:l.hoverdistance,$=-1===l.spikedistance?1/0:l.spikedistance,Y=[],X=[],Z={hLinePoint:null,vLinePoint:null},J=!1;if(Array.isArray(t))for(T="array",M=0;M<t.length;M++)N=e.calcdata[t[M].curveNumber||0],N&&(z=N[0].trace,"skip"!==N[0].trace.hoverinfo&&(X.push(N),"h"===z.orientation&&(J=!0)));else{for(B=0;B<e.calcdata.length;B++)N=e.calcdata[B],z=N[0].trace,"skip"!==z.hoverinfo&&g.isTraceInSubplots(z,s)&&(X.push(N),"h"===z.orientation&&(J=!0));var ee,te,re=!t.target;if(re)ee="xpx"in t?t.xpx:x[0]._length/2,te="ypx"in t?t.ypx:A[0]._length/2;else{if(!1===u.triggerHandler(e,"plotly_beforehover",t))return;var ne=t.target.getBoundingClientRect();ee=t.clientX-ne.left,te=t.clientY-ne.top,l._calcInverseTransform(e);var ie=a.apply3DTransform(l._invTransform)(ee,te);if(ee=ie[0],te=ie[1],ee<0||ee>x[0]._length||te<0||te>A[0]._length)return h.unhoverRaw(e,t)}if(t.pointerX=ee+x[0]._offset,t.pointerY=te+A[0]._offset,C="xval"in t?g.flat(s,t.xval):g.p2c(x,ee),S="yval"in t?g.flat(s,t.yval):g.p2c(A,te),!i(C[0])||!i(S[0]))return a.warn("Fx.hover failed",t,e),h.unhoverRaw(e,t)}var oe=1/0;function ae(e,r){for(B=0;B<X.length;B++)if(N=X[B],N&&N[0]&&N[0].trace&&(z=N[0].trace,!0===z.visible&&0!==z._length&&-1===["carpet","contourcarpet"].indexOf(z._module.name))){if("splom"===z.type?(H=0,U=s[H]):(U=g.getSubplot(z),H=s.indexOf(U)),V=T,g.isUnifiedHover(V)&&(V=V.charAt(0)),K={cd:N,trace:z,xa:x[H],ya:A[H],maxHoverDistance:G,maxSpikeDistance:$,index:!1,distance:Math.min(oe,G),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:d.defaultLine,name:z.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},l[U]&&(K.subplot=l[U]._subplot),l._splomScenes&&l._splomScenes[z.uid]&&(K.scene=l._splomScenes[z.uid]),q=Y.length,"array"===V){var n=t[B];"pointNumber"in n?(K.index=n.pointNumber,V="closest"):(V="","xval"in n&&(Q=n.xval,V="x"),"yval"in n&&(W=n.yval,V=V?"closest":"y"))}else void 0!==e&&void 0!==r?(Q=e,W=r):(Q=C[H],W=S[H]);if(0!==G)if(z._module&&z._module.hoverPoints){var o=z._module.hoverPoints(K,Q,W,V,l._hoverlayer);if(o)for(var u,c=0;c<o.length;c++)u=o[c],i(u.x0)&&i(u.y0)&&Y.push(I(u,T))}else a.log("Unrecognized trace type in hover:",z);if("closest"===T&&Y.length>q&&(Y.splice(0,q),oe=Y[0].distance),v&&0!==$&&0===Y.length){K.distance=$,K.index=!1;var f=z._module.hoverPoints(K,Q,W,"closest",l._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=$}))),f&&f.length){var p,h=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(h.length){var m=h[0];i(m.x0)&&i(m.y0)&&(p=le(m),(!Z.vLinePoint||Z.vLinePoint.spikeDistance>p.spikeDistance)&&(Z.vLinePoint=p))}var y=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(y.length){var b=y[0];i(b.x0)&&i(b.y0)&&(p=le(b),(!Z.hLinePoint||Z.hLinePoint.spikeDistance>p.spikeDistance)&&(Z.hLinePoint=p))}}}}}function se(e,t){for(var r,n=null,i=1/0,o=0;o<e.length;o++)r=e[o].spikeDistance,r<=i&&r<=t&&(n=e[o],i=r);return n}function le(e){return e?{xa:e.xa,ya:e.ya,x:void 0!==e.xSpike?e.xSpike:(e.x0+e.x1)/2,y:void 0!==e.ySpike?e.ySpike:(e.y0+e.y1)/2,distance:e.distance,spikeDistance:e.spikeDistance,curveNumber:e.trace.index,color:e.color,pointNumber:e.index}:null}ae();var ue={fullLayout:l,container:l._hoverlayer,outerContainer:l._paperdiv,event:t},ce=e._spikepoints,fe={vLinePoint:Z.vLinePoint,hLinePoint:Z.hLinePoint};if(e._spikepoints=fe,v&&0!==$&&0!==Y.length){var pe=Y.filter((function(e){return e.ya.showspikes})),de=se(pe,$);Z.hLinePoint=le(de);var he=Y.filter((function(e){return e.xa.showspikes})),ve=se(he,$);Z.vLinePoint=le(ve)}if(0===Y.length){var me=h.unhoverRaw(e,t);return!v||null===Z.hLinePoint&&null===Z.vLinePoint||F(ce)&&j(e,Z,ue),me}if(v&&F(ce)&&j(e,Z,ue),Y.sort((function(e,t){return e.distance-t.distance})),g.isXYhover(V)&&0!==Y[0].length&&"splom"!==Y[0].trace.type){var ge=Y[0],ye=ge.cd[ge.index],be="group"===l.boxmode||"group"===l.violinmode,xe=ge.xVal,Ae=ge.xa;"category"===Ae.type&&(xe=Ae._categoriesMap[xe]),"date"===Ae.type&&(xe=Ae.d2c(xe)),ye&&ye.t&&ye.t.posLetter===Ae._id&&be&&(xe+=ye.t.dPos);var we=ge.yVal;Ae=ge.ya,"category"===Ae.type&&(we=Ae._categoriesMap[we]),"date"===Ae.type&&(we=Ae.d2c(we)),ye&&ye.t&&ye.t.posLetter===Ae._id&&be&&(we+=ye.t.dPos),ae(xe,we);var _e={};Y=Y.filter((function(e){var t=O(e);if(!_e[t])return _e[t]=!0,_e[t]}))}var Ee=e._hoverdata,ke=[];for(M=0;M<Y.length;M++){var Te=Y[M],Ce=g.makeEventData(Te,Te.trace,Te.cd);if(!1!==Te.hovertemplate){var Se=!1;Te.cd[Te.index]&&Te.cd[Te.index].ht&&(Se=Te.cd[Te.index].ht),Te.hovertemplate=Se||Te.trace.hovertemplate||!1}Te.eventData=[Ce],ke.push(Ce)}e._hoverdata=ke;var Oe="y"===T&&(X.length>1||Y.length>1)||"closest"===T&&J&&Y.length>1,Me=d.combine(l.plot_bgcolor||d.background,l.paper_bgcolor),Pe={hovermode:T,rotateLabels:Oe,bgColor:Me,container:l._hoverlayer,outerContainer:l._paperdiv,commonLabelOpts:l.hoverlabel,hoverdistance:l.hoverdistance},Be=P(Y,Pe,e);if(g.isUnifiedHover(T)||(L(Be,Oe?"xa":"ya",l),D(Be,Oe,l._invScaleX,l._invScaleY)),t.target&&t.target.tagName){var Le=m.getComponentMethod("annotations","hasClickToShow")(e,ke);f(n.select(t.target),Le?"pointer":"")}t.target&&!o&&R(e,t,Ee)&&(Ee&&e.emit("plotly_unhover",{event:t,points:Ee}),e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:x,yaxes:A,xvals:C,yvals:S}))}function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}t.hover=function(e,t,r,n){e=a.getGraphDiv(e),a.throttle(e._fullLayout._uid+y.HOVERID,y.HOVERMINTIME,(function(){S(e,t,r,n)}))},t.loneHover=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var i=e.map((function(e){return{color:e.color||d.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),o=n.select(t.container),a=t.outerContainer?n.select(t.outerContainer):o,s={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||d.background,container:o,outerContainer:a},l=P(i,s,t.gd),u=5,c=0,f=0;l.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-u<c?c-n+u:0,c=n+e.by+e.offset,r===t.anchorIndex&&(f=e.offset)})).each((function(e){e.offset-=f}));var p=t.gd._fullLayout._invScaleX,h=t.gd._fullLayout._invScaleY;return D(l,s.rotateLabels,p,h),r?l:l.node()};var M=/<extra>([\s\S]*)<\/extra>/;function P(e,t,r){var i=r._fullLayout,o=t.hovermode,u=t.rotateLabels,f=t.bgColor,h=t.container,v=t.outerContainer,m=t.commonLabelOpts||{},w=t.fontFamily||y.HOVERFONT,_=t.fontSize||y.HOVERFONTSIZE,E=e[0],k=E.xa,S=E.ya,M="y"===o.charAt(0)?"yLabel":"xLabel",P=E[M],L=(String(P)||"").split(" ")[0],D=v.node().getBoundingClientRect(),I=D.top,j=D.width,R=D.height,F=void 0!==P&&E.distance<=t.hoverdistance&&("x"===o||"y"===o);if(F){var N,z,U=!0;for(N=0;N<e.length;N++)if(U&&void 0===e[N].zLabel&&(U=!1),z=e[N].hoverinfo||e[N].trace.hoverinfo,z){var H=Array.isArray(z)?z:z.split("+");if(-1===H.indexOf("all")&&-1===H.indexOf(o)){F=!1;break}}U&&(F=!1)}var V=h.selectAll("g.axistext").data(F?[0]:[]);function Q(e){return e.filter((function(e){return void 0!==e.zLabelVal||(e[M]||"").split(" ")[0]===L}))}if(V.enter().append("g").classed("axistext",!0),V.exit().remove(),V.each((function(){var t=n.select(this),l=a.ensureSingle(t,"path","",(function(e){e.style({"stroke-width":"1px"})})),u=a.ensureSingle(t,"text","",(function(e){e.attr("data-notex",1)})),f=m.bgcolor||d.defaultLine,h=m.bordercolor||d.contrast(f),v=d.contrast(f),g={family:m.font.family||w,size:m.font.size||_,color:m.font.color||v};l.style({fill:f,stroke:h}),u.text(P).call(p.font,g).call(c.positionText,0,0).call(c.convertToTspans,r),t.attr("transform","");var y,b,x=u.node().getBoundingClientRect();if("x"===o){var A="top"===k.side?"-":"";u.attr("text-anchor","middle").call(c.positionText,0,"top"===k.side?I-x.bottom-T-C:I-x.top+T+C),y=k._offset+(E.x0+E.x1)/2,b=S._offset+("top"===k.side?0:S._length);var O=x.width/2+C;y<O?(y=O,l.attr("d","M-"+(O-T)+",0L-"+(O-2*T)+","+A+T+"H"+(C+x.width/2)+"v"+A+(2*C+x.height)+"H-"+O+"V"+A+T+"Z")):y>i.width-O?(y=i.width-O,l.attr("d","M"+(O-T)+",0L"+O+","+A+T+"v"+A+(2*C+x.height)+"H-"+O+"V"+A+T+"H"+(O-2*T)+"Z")):l.attr("d","M0,0L"+T+","+A+T+"H"+(C+x.width/2)+"v"+A+(2*C+x.height)+"H-"+(C+x.width/2)+"V"+A+T+"H-"+T+"Z")}else{var M,B,L;"right"===S.side?(M="start",B=1,L="",y=k._offset+k._length):(M="end",B=-1,L="-",y=k._offset),b=S._offset+(E.y0+E.y1)/2,u.attr("text-anchor",M),l.attr("d","M0,0L"+L+T+","+T+"V"+(C+x.height/2)+"h"+L+(2*C+x.width)+"V-"+(C+x.height/2)+"H"+L+T+"V-"+T+"Z");var D,j=x.height/2,R=I-x.top-j,F="clip"+i._uid+"commonlabel"+S._id;if(y<x.width+2*C+T){D="M-"+(T+C)+"-"+j+"h-"+(x.width-C)+"V"+j+"h"+(x.width-C)+"Z";var N=x.width-y+C;c.positionText(u,N,R),"end"===M&&u.selectAll("tspan").each((function(){var e=n.select(this),t=p.tester.append("text").text(e.text()).call(p.font,g),r=t.node().getBoundingClientRect();Math.round(r.width)<Math.round(x.width)&&e.attr("x",N-r.width),t.remove()}))}else c.positionText(u,B*(C+T),R),D=null;var z=i._topclips.selectAll("#"+F).data(D?[0]:[]);z.enter().append("clipPath").attr("id",F).append("path"),z.exit().remove(),z.select("path").attr("d",D),p.setClipUrl(u,D?F:null,r)}t.attr("transform",s(y,b)),e=Q(e)})),g.isUnifiedHover(o)){if(h.selectAll("g.hovertext").remove(),void 0!==P&&E.distance<=t.hoverdistance&&(e=Q(e)),0===e.length)return;var W={showlegend:!0,legend:{title:{text:P,font:i.hoverlabel.font},font:i.hoverlabel.font,bgcolor:i.hoverlabel.bgcolor,bordercolor:i.hoverlabel.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:i.legend?i.legend.traceorder:void 0,orientation:"v"}},K={};b(W,K,r._fullData);var q=K.legend;q.entries=[];for(var G=0;G<e.length;G++){var $=B(e[G],!0,o,i,P),Y=$[0],X=$[1],Z=e[G];Z.name=X,Z.text=""!==X?X+" : "+Y:Y;var J=Z.cd[Z.index];J&&(J.mc&&(Z.mc=J.mc),J.mcc&&(Z.mc=J.mcc),J.mlc&&(Z.mlc=J.mlc),J.mlcc&&(Z.mlc=J.mlcc),J.mlw&&(Z.mlw=J.mlw),J.mrc&&(Z.mrc=J.mrc),J.dir&&(Z.dir=J.dir)),Z._distinct=!0,q.entries.push([Z])}q.entries.sort((function(e,t){return e[0].trace.index-t[0].trace.index})),q.layer=h,x(r,q);var ee=a.mean(e.map((function(e){return(e.y0+e.y1)/2}))),te=a.mean(e.map((function(e){return(e.x0+e.x1)/2}))),re=h.select("g.legend"),ne=re.node().getBoundingClientRect();te+=k._offset,ee+=S._offset-ne.height/2;var ie=ne.width+2*C,oe=te+ie<=j,ae=te-ie>=0;!oe&&ae?te-=ie:te+=2*C;var se=ne.height+2*C,le=ee<=I,ue=ee+se>=R,ce=se<=R;return ce&&(le?ee=S._offset+2*C:ue&&(ee=R-se)),re.attr("transform",s(te,ee)),re}var fe=h.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return fe.enter().append("g").classed("hovertext",!0).each((function(){var e=n.select(this);e.append("rect").call(d.fill,d.addOpacity(f,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(p.font,w,_)})),fe.exit().remove(),fe.each((function(e){var t=n.select(this).attr("transform",""),a=e.color;Array.isArray(a)&&(a=a[e.eventData[0].pointNumber]);var h=e.bgcolor||a,v=d.combine(d.opacity(h)?h:d.defaultLine,f),m=d.combine(d.opacity(a)?a:d.defaultLine,f),g=e.borderColor||d.contrast(v),y=B(e,F,o,i,P,t),b=y[0],x=y[1],E=t.select("text.nums").call(p.font,e.fontFamily||w,e.fontSize||_,e.fontColor||g).text(b).attr("data-notex",1).call(c.positionText,0,0).call(c.convertToTspans,r),k=t.select("text.name"),S=0,O=0;if(x&&x!==b){k.call(p.font,e.fontFamily||w,e.fontSize||_,m).text(x).attr("data-notex",1).call(c.positionText,0,0).call(c.convertToTspans,r);var M=k.node().getBoundingClientRect();S=M.width+2*C,O=M.height+2*C}else k.remove(),t.select("rect").remove();t.select("path").style({fill:v,stroke:g});var L,D,N=E.node().getBoundingClientRect(),z=e.xa._offset+(e.x0+e.x1)/2,U=e.ya._offset+(e.y0+e.y1)/2,H=Math.abs(e.x1-e.x0),V=Math.abs(e.y1-e.y0),Q=N.width+T+C+S;if(e.ty0=I-N.top,e.bx=N.width+2*C,e.by=Math.max(N.height+2*C,O),e.anchor="start",e.txwidth=N.width,e.tx2width=S,e.offset=0,u)e.pos=z,L=U+V/2+Q<=R,D=U-V/2-Q>=0,"top"!==e.idealAlign&&L||!D?L?(U+=V/2,e.anchor="start"):e.anchor="middle":(U-=V/2,e.anchor="end");else if(e.pos=U,L=z+H/2+Q<=j,D=z-H/2-Q>=0,"left"!==e.idealAlign&&L||!D)if(L)z+=H/2,e.anchor="start";else{e.anchor="middle";var W=Q/2,K=z+W-j,q=z-W;K>0&&(z-=K),q<0&&(z+=-q)}else z-=H/2,e.anchor="end";E.attr("text-anchor",e.anchor),S&&k.attr("text-anchor",e.anchor),t.attr("transform",s(z,U)+(u?l(A):""))})),fe}function B(e,t,r,n,i,o){var s="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=a.templateString(e.name,e.trace._meta)),s=N(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"<br>"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"<br>"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===i?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"<br>":"")+e.text),void 0!==e.extraText&&(l+=(l?"<br>":"")+e.extraText),o&&""===l&&!e.hovertemplate&&(""===s&&o.remove(),l=s);var u=n._d3locale,c=e.hovertemplate||!1,f=e.hovertemplateLabels||e,p=e.eventData[0]||{};return c&&(l=a.hovertemplateString(c,f,u,p,e.trace._meta),l=l.replace(M,(function(t,r){return s=N(r,e.nameLength),""}))),[l,s]}function L(e,t,r){var n,i,o,a,s,l,u,c=0,f=1,p=e.size(),d=new Array(p),h=0;function v(e){var t=e[0],r=e[e.length-1];if(i=t.pmin-t.pos-t.dp+t.size,o=r.pos+r.dp+r.size-t.pmax,i>.01){for(s=e.length-1;s>=0;s--)e[s].dp+=i;n=!1}if(!(o<.01)){if(i<-.01){for(s=e.length-1;s>=0;s--)e[s].dp-=o;n=!1}if(n){var u=0;for(a=0;a<e.length;a++)l=e[a],l.pos+l.dp+l.size>t.pmax&&u++;for(a=e.length-1;a>=0;a--){if(u<=0)break;l=e[a],l.pos>t.pmax-1&&(l.del=!0,u--)}for(a=0;a<e.length;a++){if(u<=0)break;if(l=e[a],l.pos<t.pmin+1)for(l.del=!0,u--,o=2*l.size,s=e.length-1;s>=0;s--)e[s].dp-=o}for(a=e.length-1;a>=0;a--){if(u<=0)break;l=e[a],l.pos+l.dp+l.size>t.pmax&&(l.del=!0,u--)}}}}e.each((function(e){var n=e[t],i="x"===n._id.charAt(0),o=n.range;0===h&&o&&o[0]>o[1]!==i&&(f=-1),d[h++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(i?_:1)/2,pmin:0,pmax:i?r.width:r.height}]})),d.sort((function(e,t){return e[0].posref-t[0].posref||f*(t[0].traceIndex-e[0].traceIndex)}));while(!n&&c<=p){c++,n=!0,a=0;while(a<d.length-1){var m=d[a],g=d[a+1],y=m[m.length-1],b=g[0];if(i=y.pos+y.dp+y.size-b.pos-b.dp+b.size,i>.01&&y.pmin===b.pmin&&y.pmax===b.pmax){for(s=g.length-1;s>=0;s--)g[s].dp+=i;for(m.push.apply(m,g),d.splice(a+1,1),u=0,s=m.length-1;s>=0;s--)u+=m[s].dp;for(o=u/m.length,s=m.length-1;s>=0;s--)m[s].dp-=o;n=!1}else a++}d.forEach(v)}for(a=d.length-1;a>=0;a--){var x=d[a];for(s=x.length-1;s>=0;s--){var A=x[s],w=A.datum;w.offset=A.dp,w.del=A.del}}}function D(e,t,r,i){var o=function(e){return e*r},a=function(e){return e*i};e.each((function(e){var r=n.select(this);if(e.del)return r.remove();var i=r.select("text.nums"),s=e.anchor,l="end"===s?-1:1,u={start:1,end:-1,middle:0}[s],f=u*(T+C),d=f+u*(e.txwidth+C),h=0,v=e.offset,m="middle"===s;m&&(f-=e.tx2width/2,d+=e.txwidth/2+C),t&&(v*=-k,h=e.offset*E),r.select("path").attr("d",m?"M-"+o(e.bx/2+e.tx2width/2)+","+a(v-e.by/2)+"h"+o(e.bx)+"v"+a(e.by)+"h-"+o(e.bx)+"Z":"M0,0L"+o(l*T+h)+","+a(T+v)+"v"+a(e.by/2-T)+"h"+o(l*e.bx)+"v-"+a(e.by)+"H"+o(l*T+h)+"V"+a(v-T)+"Z");var g=h+f,y=v+e.ty0-e.by/2+C,b=e.textAlign||"auto";"auto"!==b&&("left"===b&&"start"!==s?(i.attr("text-anchor","start"),g=m?-e.bx/2-e.tx2width/2+C:-e.bx-C):"right"===b&&"end"!==s&&(i.attr("text-anchor","end"),g=m?e.bx/2-e.tx2width/2-C:e.bx+C)),i.call(c.positionText,o(g),a(y)),e.tx2width&&(r.select("text.name").call(c.positionText,o(d+u*C+h),a(v+e.ty0-e.by/2+C)),r.select("rect").call(p.setRect,o(d+(u-1)*e.tx2width/2+h),a(v-e.by/2-1),o(e.tx2width),a(e.by+2)))}))}function I(e,t){var r=e.index,n=e.trace||{},o=e.cd[0],s=e.cd[r]||{};function l(e){return e||i(e)&&0===e}var u=Array.isArray(r)?function(e,t){var i=a.castOption(o,r,e);return l(i)?i:a.extractOption({},n,"",t)}:function(e,t){return a.extractOption(s,n,e,t)};function c(t,r,n){var i=u(r,n);l(i)&&(e[t]=i)}if(c("hoverinfo","hi","hoverinfo"),c("bgcolor","hbg","hoverlabel.bgcolor"),c("borderColor","hbc","hoverlabel.bordercolor"),c("fontFamily","htf","hoverlabel.font.family"),c("fontSize","hts","hoverlabel.font.size"),c("fontColor","htc","hoverlabel.font.color"),c("nameLength","hnl","hoverlabel.namelength"),c("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=a.constrain(e.x0,0,e.xa._length),e.x1=a.constrain(e.x1,0,e.xa._length),e.y0=a.constrain(e.y0,0,e.ya._length),e.y1=a.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:v.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:v.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!isNaN(e.xerr)&&!("log"===e.xa.type&&e.xerr<=0)){var f=v.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+f+" / -"+v.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ± "+f,"x"===t&&(e.distance+=1)}if(!isNaN(e.yerr)&&!("log"===e.ya.type&&e.yerr<=0)){var p=v.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+p+" / -"+v.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ± "+p,"y"===t&&(e.distance+=1)}var d=e.hoverinfo||e.trace.hoverinfo;return d&&"all"!==d&&(d=Array.isArray(d)?d:d.split("+"),-1===d.indexOf("x")&&(e.xLabel=void 0),-1===d.indexOf("y")&&(e.yLabel=void 0),-1===d.indexOf("z")&&(e.zLabel=void 0),-1===d.indexOf("text")&&(e.text=void 0),-1===d.indexOf("name")&&(e.name=void 0)),e}function j(e,t,r){var n,i,a=r.container,s=r.fullLayout,l=s._size,u=r.event,c=!!t.hLinePoint,f=!!t.vLinePoint;if(a.selectAll(".spikeline").remove(),f||c){var h=d.combine(s.plot_bgcolor,s.paper_bgcolor);if(c){var m,g,y=t.hLinePoint;n=y&&y.xa,i=y&&y.ya;var b=i.spikesnap;"cursor"===b?(m=u.pointerX,g=u.pointerY):(m=n._offset+y.x,g=i._offset+y.y);var x,A,w=o.readability(y.color,h)<1.5?d.contrast(h):y.color,_=i.spikemode,E=i.spikethickness,k=i.spikecolor||w,T=v.getPxPosition(e,i);if(-1!==_.indexOf("toaxis")||-1!==_.indexOf("across")){if(-1!==_.indexOf("toaxis")&&(x=T,A=m),-1!==_.indexOf("across")){var C=i._counterDomainMin,S=i._counterDomainMax;"free"===i.anchor&&(C=Math.min(C,i.position),S=Math.max(S,i.position)),x=l.l+C*l.w,A=l.l+S*l.w}a.insert("line",":first-child").attr({x1:x,x2:A,y1:g,y2:g,"stroke-width":E,stroke:k,"stroke-dasharray":p.dashStyle(i.spikedash,E)}).classed("spikeline",!0).classed("crisp",!0),a.insert("line",":first-child").attr({x1:x,x2:A,y1:g,y2:g,"stroke-width":E+2,stroke:h}).classed("spikeline",!0).classed("crisp",!0)}-1!==_.indexOf("marker")&&a.insert("circle",":first-child").attr({cx:T+("right"!==i.side?E:-E),cy:g,r:E,fill:k}).classed("spikeline",!0)}if(f){var O,M,P=t.vLinePoint;n=P&&P.xa,i=P&&P.ya;var B=n.spikesnap;"cursor"===B?(O=u.pointerX,M=u.pointerY):(O=n._offset+P.x,M=i._offset+P.y);var L,D,I=o.readability(P.color,h)<1.5?d.contrast(h):P.color,j=n.spikemode,R=n.spikethickness,F=n.spikecolor||I,N=v.getPxPosition(e,n);if(-1!==j.indexOf("toaxis")||-1!==j.indexOf("across")){if(-1!==j.indexOf("toaxis")&&(L=N,D=M),-1!==j.indexOf("across")){var z=n._counterDomainMin,U=n._counterDomainMax;"free"===n.anchor&&(z=Math.min(z,n.position),U=Math.max(U,n.position)),L=l.t+(1-U)*l.h,D=l.t+(1-z)*l.h}a.insert("line",":first-child").attr({x1:O,x2:O,y1:L,y2:D,"stroke-width":R,stroke:F,"stroke-dasharray":p.dashStyle(n.spikedash,R)}).classed("spikeline",!0).classed("crisp",!0),a.insert("line",":first-child").attr({x1:O,x2:O,y1:L,y2:D,"stroke-width":R+2,stroke:h}).classed("spikeline",!0).classed("crisp",!0)}-1!==j.indexOf("marker")&&a.insert("circle",":first-child").attr({cx:O,cy:N-("top"!==n.side?R:-R),r:R,fill:F}).classed("spikeline",!0)}}}function R(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var i=r[n],o=e._hoverdata[n];if(i.curveNumber!==o.curveNumber||String(i.pointNumber)!==String(o.pointNumber)||String(i.pointNumbers)!==String(o.pointNumbers))return!0}return!1}function F(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function N(e,t){return c.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}},e813:function(e,t,r){"use strict";var n=r("371e"),i=r("fc26"),o=r("a651"),a=r("e827"),s=r("a685"),l=r("79f1");e.exports=function(e,t,r){for(var u=e.legend||{},c=0,f=!1,p="normal",d=0;d<r.length;d++){var h=r[d];h.visible&&((h.showlegend||h._dfltShowLegend&&!(h._module&&h._module.attributes&&h._module.attributes.showlegend&&!1===h._module.attributes.showlegend.dflt))&&(c++,h.showlegend&&(f=!0,(n.traceIs(h,"pie-like")||!0===h._input.showlegend)&&c++)),(n.traceIs(h,"bar")&&"stack"===t.barmode||-1!==["tonextx","tonexty"].indexOf(h.fill))&&(p=l.isGrouped({traceorder:p})?"grouped+reversed":"reversed"),void 0!==h.legendgroup&&""!==h.legendgroup&&(p=l.isReversed({traceorder:p})?"reversed+grouped":"grouped"))}var v=i.coerce(e,t,s,"showlegend",f&&c>1);if(!1!==v||u.uirevision){var m=o.newContainer(t,"legend");if(w("uirevision",t.uirevision),!1!==v){w("bgcolor",t.paper_bgcolor),w("bordercolor"),w("borderwidth"),i.coerceFont(w,"font",t.font);var g,y,b,x=w("orientation");"h"===x?(g=0,n.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,b="bottom"):(y=-.1,b="top")):(g=1.02,y=1,b="auto"),w("traceorder",p),l.isGrouped(t.legend)&&w("tracegroupgap"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("x",g),w("xanchor"),w("y",y),w("yanchor",b),w("valign"),i.noneOrAll(u,m,["x","y"]);var A=w("title.text");A&&(w("title.side","h"===x?"left":"top"),i.coerceFont(w,"title.font",t.font))}}function w(e,t){return i.coerce(u,m,a,e,t)}}},e827:function(e,t,r){"use strict";var n=r("9845"),i=r("dfb3");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:i.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:n({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,role:"style",editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:n({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}},e874:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(r("ab5b")),o=a(r("d7bc"));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(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&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=g();return function(){var r,n=y(e);if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(r,e);var t=h(r);function r(e){var n;return u(this,r),n=t.call(this,e),n.state={value:n.props.value},n.onChange=n.onChange.bind(m(n)),n}return f(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.state.value&&this.setState({value:e.value})}},{key:"onChange",value:function(e){var t=e.target.value;this.setState({value:t}),this.props.onChange(t)}},{key:"render",value:function(){return i.default.createElement("span",null,i.default.createElement("textarea",{value:this.state.value,rows:this.props.visibleRows,cols:this.props.areaWidth,placeholder:this.props.placeholder,onChange:this.onChange,className:this.props.textareaClass}))}}]),r}(i.Component);t.default=b,b.propTypes={value:o.default.string.isRequired,onChange:o.default.func.isRequired,placeholder:o.default.string.isRequired,visibleRows:o.default.number,areaWidth:o.default.number,textareaClass:o.default.string},b.defaultProps={visibleRows:10,areaWidth:30}},e893:function(e,t,r){var n=r("5135"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=a.f,l=o.f,u=0;u<r.length;u++){var c=r[u];n(e,c)||s(e,c,l(t,c))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e8b50:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r("ab5b")),i=l(r("d7bc")),o=r("c85e"),a=r("e688"),s=l(r("76fe"));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){var r=t.localize;return n.default.createElement(o.LayoutPanel,null,n.default.createElement(o.PlotlyFold,{name:r("Defaults")},n.default.createElement(o.ColorPicker,{label:r("Plot Background"),attr:"plot_bgcolor"}),n.default.createElement(o.ColorPicker,{label:r("Margin Color"),attr:"paper_bgcolor"}),n.default.createElement(o.PlotlySection,{name:r("Colorscales"),attr:"colorway"},n.default.createElement(o.ColorwayPicker,{label:r("Categorical"),attr:"colorway",disableCategorySwitch:!0,labelWidth:80}),n.default.createElement(o.ColorscalePicker,{label:r("Sequential"),attr:"colorscale.sequential",disableCategorySwitch:!0,labelWidth:80}),n.default.createElement(o.ColorscalePicker,{label:r("Diverging"),attr:"colorscale.diverging",initialCategory:"divergent",disableCategorySwitch:!0,labelWidth:80}),n.default.createElement(o.ColorscalePicker,{label:r("Negative Sequential"),attr:"colorscale.sequentialminus",disableCategorySwitch:!0,labelWidth:80})),n.default.createElement(o.PlotlySection,{name:r("Text"),attr:"font.family"},n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"font.family",clearable:!1}),n.default.createElement(o.Numeric,{label:r("Base Font Size"),attr:"font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Font Color"),attr:"font.color"}),n.default.createElement(o.Dropdown,{label:r("Number format"),attr:"separators",options:[{label:r("1,234.56"),value:".,"},{label:r("1 234.56"),value:", "},{label:r("1 234,56"),value:", "},{label:r("1.234,56"),value:",."}],clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Uniform Text Mode"),attr:"uniformtext.mode",options:[{label:r("Off"),value:!1},{label:r("Show"),value:"show"},{label:r("Hide"),value:"hide"}],clearable:!1}),n.default.createElement(o.Numeric,{label:r("Uniform Text Size Minimum"),attr:"uniformtext.minsize",units:"px"}))),n.default.createElement(o.PlotlyFold,{name:r("Title")},n.default.createElement(o.TextEditor,{attr:"title.text"}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"title.font.family",clearable:!1}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"title.font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Font Color"),attr:"title.font.color"}),n.default.createElement(o.Numeric,{label:r("Horizontal Position"),showSlider:!0,step:.02,attr:"title.x"})),n.default.createElement(o.PlotlyFold,{name:r("Modebar")},n.default.createElement(o.Radio,{label:r("Orientation"),attr:"modebar.orientation",options:[{label:r("Horizontal"),value:"h"},{label:r("Vertical"),value:"v"}]}),n.default.createElement(o.ColorPicker,{label:r("Icon Color"),attr:"modebar.color"}),n.default.createElement(o.ColorPicker,{label:r("Active Icon Color"),attr:"modebar.activecolor"}),n.default.createElement(o.ColorPicker,{label:r("Background Color"),attr:"modebar.bgcolor"})),n.default.createElement(o.PlotlyFold,{name:r("Size and Margins")},n.default.createElement(o.VisibilitySelect,{attr:"autosize",label:r("Size"),options:[{label:r("Auto"),value:!0},{label:r("Custom"),value:!1}],showOn:!1,defaultOpt:!0},n.default.createElement(o.Numeric,{label:r("Fixed Width"),attr:"width",units:"px"}),n.default.createElement(o.Numeric,{label:r("Fixed height"),attr:"height",units:"px"})),n.default.createElement(o.Numeric,{label:r("Top"),attr:"margin.t",units:"px"}),n.default.createElement(o.Numeric,{label:r("Bottom"),attr:"margin.b",units:"px"}),n.default.createElement(o.Numeric,{label:r("Left"),attr:"margin.l",units:"px"}),n.default.createElement(o.Numeric,{label:r("Right"),attr:"margin.r",units:"px"}),n.default.createElement(o.Numeric,{label:r("Padding"),attr:"margin.pad",units:"px"})),n.default.createElement(o.PlotlyFold,{name:r("Interactions")},n.default.createElement(o.PlotlySection,{name:r("Drag"),attr:"dragmode"},n.default.createElement(o.Dropdown,{label:r("Mode"),attr:"dragmode",options:[{label:r("Zoom"),value:"zoom"},{label:r("Select"),value:"select"},{label:r("Pan"),value:"pan"},{label:r("Lasso"),value:"lasso"},{label:r("Orbit"),value:"orbit"},{label:r("Turntable"),value:"turntable"}],clearable:!1}),n.default.createElement(o.Dropdown,{label:r("Select Direction"),attr:"selectdirection",options:[{label:r("Any"),value:"any"},{label:r("Horizontal"),value:"h"},{label:r("Vertical"),value:"v"},{label:r("Diagonal"),value:"d"}],clearable:!1})),n.default.createElement(o.PlotlySection,{name:r("Click"),attr:"clickmode"},n.default.createElement(o.Flaglist,{label:r("Mode"),attr:"clickmode",options:[{label:r("Click Event"),value:"event"},{label:r("Select Data Point"),value:"select"}]})),n.default.createElement(o.PlotlySection,{name:r("Hover")},n.default.createElement(o.HovermodeDropdown,{label:r("Mode"),attr:"hovermode"},n.default.createElement(o.Dropdown,{label:r("Text Alignment"),attr:"hoverlabel.align",options:[{label:r("Auto"),value:"auto"},{label:r("Left"),value:"left"},{label:r("Right"),value:"right"}],clearable:!1}),n.default.createElement(a.HoverColor,{label:r("Background Color"),attr:"hoverlabel.bgcolor",defaultColor:"#FFF",handleEmpty:!0}),n.default.createElement(a.HoverColor,{label:r("Border Color"),attr:"hoverlabel.bordercolor",defaultColor:"#000",handleEmpty:!0}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"hoverlabel.font.family",clearable:!0}),n.default.createElement(o.Numeric,{label:r("Font Size"),attr:"hoverlabel.font.size"}),n.default.createElement(a.HoverColor,{label:r("Font Color"),attr:"hoverlabel.font.color",defaultColor:"#000",handleEmpty:!0})))),n.default.createElement(o.PlotlyFold,{name:r("Meta Text")},n.default.createElement(s.default,{label:r("Custom Data"),attr:"meta"}),n.default.createElement(o.Info,null,n.default.createElement("p",null,r("You can refer to the items in this column in any text fields of the editor like so: ")),n.default.createElement("p",null,r("Ex: "),n.default.createElement("span",{style:{letterSpacing:"1px",fontStyle:"italic",userSelect:"text"}},r("My custom title %{meta[1]}"))))))};u.contextTypes={localize:i.default.func};var c=u;t.default=c},e8cf:function(e,t,r){"use strict";var n=r("fc26"),i=r("4248");function o(e,t,r){var o=document.createElement("a"),a="download"in o,s=new Promise((function(s,l){var u,c;if(n.isIE9orBelow()&&l(new Error("IE < 10 unsupported")),n.isSafari()){var f="svg"===r?",":";base64,";return i.octetStream(f+encodeURIComponent(e)),s(t)}return n.isIE()?(u=i.createBlob(e,"svg"),window.navigator.msSaveBlob(u,t),u=null,s(t)):a?(u=i.createBlob(e,r),c=i.createObjectURL(u),o.href=c,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o),i.revokeObjectURL(c),u=null,s(t)):void l(new Error("download error"))}));return s}e.exports=o},e8ee:function(e,t,r){"use strict";const n=r("0103"),i=r("be00"),o=r("320c"),a=r("e98f"),s=r("b7d1"),l=r("37cd"),u=r("5664"),c=r("a2bb"),{float32:f,fract32:p}=r("1d19"),d=r("d345"),h=r("3de2");function v(e,t){if(!(this instanceof v))return new v(e,t);if("function"===typeof e?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=e._gl,this.regl=e,this.passes=[],this.shaders=v.shaders.has(e)?v.shaders.get(e):v.shaders.set(e,v.createShaders(e)).get(e),this.update(t)}e.exports=v,v.dashMult=2,v.maxPatternLength=256,v.precisionThreshold=3e6,v.maxPoints=1e4,v.maxLines=2048,v.shaders=new d,v.createShaders=function(e){let t,r=e.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),n={primitive:"triangle strip",instances:e.prop("count"),count:4,offset:0,uniforms:{miterMode:(e,t)=>"round"===t.join?2:1,miterLimit:e.prop("miterLimit"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),thickness:e.prop("thickness"),dashPattern:e.prop("dashTexture"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),dashSize:e.prop("dashLength"),viewport:(e,t)=>[t.viewport.x,t.viewport.y,e.viewportWidth,e.viewportHeight],depth:e.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(e,t)=>!t.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},i=e(o({vert:a("./rect-vert.glsl"),frag:a("./rect-frag.glsl"),attributes:{lineEnd:{buffer:r,divisor:0,stride:8,offset:0},lineTop:{buffer:r,divisor:0,stride:8,offset:4},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},n));try{t=e(o({cull:{enable:!0,face:"back"},vert:a("./miter-vert.glsl"),frag:a("./miter-frag.glsl"),attributes:{lineEnd:{buffer:r,divisor:0,stride:8,offset:0},lineTop:{buffer:r,divisor:0,stride:8,offset:4},aColor:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:e.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},n))}catch(l){t=i}let s=e({primitive:"triangle",elements:(e,t)=>t.triangles,offset:0,vert:a("./fill-vert.glsl"),frag:a("./fill-frag.glsl"),uniforms:{scale:e.prop("scale"),color:e.prop("fill"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),viewport:(e,t)=>[t.viewport.x,t.viewport.y,e.viewportWidth,e.viewportHeight]},attributes:{position:{buffer:e.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8}},blend:n.blend,depth:{enable:!1},scissor:n.scissor,stencil:n.stencil,viewport:n.viewport});return{fill:s,rect:i,miter:t}},v.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},v.prototype.render=function(...e){e.length&&this.update(...e),this.draw()},v.prototype.draw=function(...e){return(e.length?e:this.passes).forEach((e,t)=>{if(e&&Array.isArray(e))return this.draw(...e);"number"===typeof e&&(e=this.passes[e]),e&&e.count>1&&e.opacity&&(this.regl._refresh(),e.fill&&e.triangles&&e.triangles.length>2&&this.shaders.fill(e),e.thickness&&(e.scale[0]*e.viewport.width>v.precisionThreshold||e.scale[1]*e.viewport.height>v.precisionThreshold||"rect"===e.join||!e.join&&(e.thickness<=2||e.count>=v.maxPoints)?this.shaders.rect(e):this.shaders.miter(e)))}),this},v.prototype.update=function(e){if(!e)return;null!=e.length?"number"===typeof e[0]&&(e=[{positions:e}]):Array.isArray(e)||(e=[e]);let{regl:t,gl:r}=this;if(e.forEach((e,a)=>{let d=this.passes[a];if(void 0!==e)if(null!==e){if("number"===typeof e[0]&&(e={positions:e}),e=s(e,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow"}),d||(this.passes[a]=d={id:a,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:t.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:t.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},e=o({},v.defaults,e)),null!=e.thickness&&(d.thickness=parseFloat(e.thickness)),null!=e.opacity&&(d.opacity=parseFloat(e.opacity)),null!=e.miterLimit&&(d.miterLimit=parseFloat(e.miterLimit)),null!=e.overlay&&(d.overlay=!!e.overlay,a<v.maxLines&&(d.depth=2*(v.maxLines-1-a%v.maxLines)/v.maxLines-1)),null!=e.join&&(d.join=e.join),null!=e.hole&&(d.hole=e.hole),null!=e.fill&&(d.fill=e.fill?n(e.fill,"uint8"):null),null!=e.viewport&&(d.viewport=h(e.viewport)),d.viewport||(d.viewport=h([r.drawingBufferWidth,r.drawingBufferHeight])),null!=e.close&&(d.close=e.close),null===e.positions&&(e.positions=[]),e.positions){let t,r;if(e.positions.x&&e.positions.y){let n=e.positions.x,i=e.positions.y;r=d.count=Math.max(n.length,i.length),t=new Float64Array(2*r);for(let e=0;e<r;e++)t[2*e]=n[e],t[2*e+1]=i[e]}else t=l(e.positions,"float64"),r=d.count=Math.floor(t.length/2);let n=d.bounds=i(t,2);if(d.fill){let e=[],r={},n=0;for(let o=0,a=0,s=d.count;o<s;o++){let i=t[2*o],s=t[2*o+1];isNaN(i)||isNaN(s)||null==i||null==s?(i=t[2*n],s=t[2*n+1],r[o]=n):n=o,e[a++]=i,e[a++]=s}let i=u(e,d.hole||[]);for(let t=0,o=i.length;t<o;t++)null!=r[i[t]]&&(i[t]=r[i[t]]);d.triangles=i}let o=new Float64Array(t);c(o,2,n);let a=new Float64Array(2*r+6);d.close?t[0]===t[2*r-2]&&t[1]===t[2*r-1]?(a[0]=o[2*r-4],a[1]=o[2*r-3]):(a[0]=o[2*r-2],a[1]=o[2*r-1]):(a[0]=o[0],a[1]=o[1]),a.set(o,2),d.close?t[0]===t[2*r-2]&&t[1]===t[2*r-1]?(a[2*r+2]=o[2],a[2*r+3]=o[3],d.count-=1):(a[2*r+2]=o[0],a[2*r+3]=o[1],a[2*r+4]=o[2],a[2*r+5]=o[3]):(a[2*r+2]=o[2*r-2],a[2*r+3]=o[2*r-1],a[2*r+4]=o[2*r-2],a[2*r+5]=o[2*r-1]),d.positionBuffer(f(a)),d.positionFractBuffer(p(a))}if(e.range?d.range=e.range:d.range||(d.range=d.bounds),(e.range||e.positions)&&d.count){let e=d.bounds,t=e[2]-e[0],r=e[3]-e[1],n=d.range[2]-d.range[0],i=d.range[3]-d.range[1];d.scale=[t/n,r/i],d.translate=[-d.range[0]/n+e[0]/n||0,-d.range[1]/i+e[1]/i||0],d.scaleFract=p(d.scale),d.translateFract=p(d.translate)}if(e.dashes){let t,r=0;if(!e.dashes||e.dashes.length<2)r=1,t=new Uint8Array([255,255,255,255,255,255,255,255]);else{r=0;for(let t=0;t<e.dashes.length;++t)r+=e.dashes[t];t=new Uint8Array(r*v.dashMult);let n=0,i=255;for(let r=0;r<2;r++)for(let o=0;o<e.dashes.length;++o){for(let r=0,a=e.dashes[o]*v.dashMult*.5;r<a;++r)t[n++]=i;i^=255}}d.dashLength=r,d.dashTexture({channels:1,data:t,width:t.length,height:1,mag:"linear",min:"linear"},0,0)}if(e.color){let t=d.count,r=e.color;r||(r="transparent");let i=new Uint8Array(4*t+4);if(Array.isArray(r)&&"number"!==typeof r[0]){for(let e=0;e<t;e++){let t=n(r[e],"uint8");i.set(t,4*e)}i.set(n(r[0],"uint8"),4*t)}else{let e=n(r,"uint8");for(let r=0;r<t+1;r++)i.set(e,4*r)}d.colorBuffer({usage:"dynamic",type:"uint8",data:i})}}else this.passes[a]=null}),e.length<this.passes.length){for(let t=e.length;t<this.passes.length;t++){let e=this.passes[t];e&&(e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy())}this.passes.length=e.length}let a=[];for(let n=0;n<this.passes.length;n++)null!==this.passes[n]&&a.push(this.passes[n]);return this.passes=a,this},v.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this}},e92c:function(e,t,r){"use strict";var n=r("391b"),i=r("fc26").fillText;e.exports=function(e,t,r,o){var a=n(e,t,r,o);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index){var l=1-s.y0/e.ya._length,u=e.xa._length,c=u*l/2,f=u-c;return s.x0=Math.max(Math.min(s.x0,f),c),s.x1=Math.max(Math.min(s.x1,f),c),a}var p=s.cd[s.index];s.a=p.a,s.b=p.b,s.xLabelVal=void 0,s.yLabelVal=void 0;var d=s.trace,h=d._carpet,v=d._module.formatLabels(p,d);s.yLabel=v.yLabel,delete s.text;var m=[];if(!d.hovertemplate){var g=p.hi||d.hoverinfo,y=g.split("+");-1!==y.indexOf("all")&&(y=["a","b","text"]),-1!==y.indexOf("a")&&b(h.aaxis,p.a),-1!==y.indexOf("b")&&b(h.baxis,p.b),m.push("y: "+s.yLabel),-1!==y.indexOf("text")&&i(p,d,m),s.extraText=m.join("<br>")}return a}function b(e,t){var r;r=e.labelprefix&&e.labelprefix.length>0?e.labelprefix.replace(/ = $/,""):e._hovertitle,m.push(r+": "+t.toFixed(3)+e.labelsuffix)}}},e92d:function(e,t,r){"use strict";r.r(t),r.d(t,"sankey",(function(){return w})),r.d(t,"sankeyCenter",(function(){return u})),r.d(t,"sankeyLeft",(function(){return a})),r.d(t,"sankeyRight",(function(){return s})),r.d(t,"sankeyJustify",(function(){return l})),r.d(t,"sankeyLinkHorizontal",(function(){return T}));var n=r("bc17"),i=r("6f04");function o(e){return e.target.depth}function a(e){return e.depth}function s(e,t){return t-1-e.height}function l(e,t){return e.sourceLinks.length?e.depth:t-1}function u(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?Object(n["d"])(e.sourceLinks,o)-1:0}function c(e){return function(){return e}}function f(e,t){return d(e.source,t.source)||e.index-t.index}function p(e,t){return d(e.target,t.target)||e.index-t.index}function d(e,t){return e.y0-t.y0}function h(e){return e.value}function v(e){return(e.y0+e.y1)/2}function m(e){return v(e.source)*e.value}function g(e){return v(e.target)*e.value}function y(e){return e.index}function b(e){return e.nodes}function x(e){return e.links}function A(e,t){var r=e.get(t);if(!r)throw new Error("missing: "+t);return r}var w=function(){var e=0,t=0,r=1,o=1,a=24,s=8,u=y,w=l,_=b,E=x,k=32,T=2/3;function C(){var e={nodes:_.apply(null,arguments),links:E.apply(null,arguments)};return S(e),O(e),M(e),P(e,k),B(e),e}function S(e){e.nodes.forEach((function(e,t){e.index=t,e.sourceLinks=[],e.targetLinks=[]}));var t=Object(i["a"])(e.nodes,u);e.links.forEach((function(e,r){e.index=r;var n=e.source,i=e.target;"object"!==typeof n&&(n=e.source=A(t,n)),"object"!==typeof i&&(i=e.target=A(t,i)),n.sourceLinks.push(e),i.targetLinks.push(e)}))}function O(e){e.nodes.forEach((function(e){e.value=Math.max(Object(n["e"])(e.sourceLinks,h),Object(n["e"])(e.targetLinks,h))}))}function M(t){var n,i,o;for(n=t.nodes,i=[],o=0;n.length;++o,n=i,i=[])n.forEach((function(e){e.depth=o,e.sourceLinks.forEach((function(e){i.indexOf(e.target)<0&&i.push(e.target)}))}));for(n=t.nodes,i=[],o=0;n.length;++o,n=i,i=[])n.forEach((function(e){e.height=o,e.targetLinks.forEach((function(e){i.indexOf(e.source)<0&&i.push(e.source)}))}));var s=(r-e-a)/(o-1);t.nodes.forEach((function(t){t.x1=(t.x0=e+Math.max(0,Math.min(o-1,Math.floor(w.call(null,t,o))))*s)+a}))}function P(e){var r=Object(i["b"])().key((function(e){return e.x0})).sortKeys(n["a"]).entries(e.nodes).map((function(e){return e.values}));u(),p();for(var a=1,l=k;l>0;--l)f(a*=.99),p(),c(a),p();function u(){var i=Object(n["b"])(r,(function(e){return e.length})),a=T*(o-t)/(i-1);s>a&&(s=a);var l=Object(n["d"])(r,(function(e){return(o-t-(e.length-1)*s)/Object(n["e"])(e,h)}));r.forEach((function(e){e.forEach((function(e,t){e.y1=(e.y0=t)+e.value*l}))})),e.links.forEach((function(e){e.width=e.value*l}))}function c(e){r.forEach((function(t){t.forEach((function(t){if(t.targetLinks.length){var r=(Object(n["e"])(t.targetLinks,m)/Object(n["e"])(t.targetLinks,h)-v(t))*e;t.y0+=r,t.y1+=r}}))}))}function f(e){r.slice().reverse().forEach((function(t){t.forEach((function(t){if(t.sourceLinks.length){var r=(Object(n["e"])(t.sourceLinks,g)/Object(n["e"])(t.sourceLinks,h)-v(t))*e;t.y0+=r,t.y1+=r}}))}))}function p(){r.forEach((function(e){var r,n,i,a=t,l=e.length;for(e.sort(d),i=0;i<l;++i)r=e[i],n=a-r.y0,n>0&&(r.y0+=n,r.y1+=n),a=r.y1+s;if(n=a-s-o,n>0)for(a=r.y0-=n,r.y1-=n,i=l-2;i>=0;--i)r=e[i],n=r.y1+s-a,n>0&&(r.y0-=n,r.y1-=n),a=r.y0}))}}function B(e){e.nodes.forEach((function(e){e.sourceLinks.sort(p),e.targetLinks.sort(f)})),e.nodes.forEach((function(e){var t=e.y0,r=t;e.sourceLinks.forEach((function(e){e.y0=t+e.width/2,t+=e.width})),e.targetLinks.forEach((function(e){e.y1=r+e.width/2,r+=e.width}))}))}return C.update=function(e){return B(e),e},C.nodeId=function(e){return arguments.length?(u="function"===typeof e?e:c(e),C):u},C.nodeAlign=function(e){return arguments.length?(w="function"===typeof e?e:c(e),C):w},C.nodeWidth=function(e){return arguments.length?(a=+e,C):a},C.nodePadding=function(e){return arguments.length?(s=+e,C):s},C.nodes=function(e){return arguments.length?(_="function"===typeof e?e:c(e),C):_},C.links=function(e){return arguments.length?(E="function"===typeof e?e:c(e),C):E},C.size=function(n){return arguments.length?(e=t=0,r=+n[0],o=+n[1],C):[r-e,o-t]},C.extent=function(n){return arguments.length?(e=+n[0][0],r=+n[1][0],t=+n[0][1],o=+n[1][1],C):[[e,t],[r,o]]},C.iterations=function(e){return arguments.length?(k=+e,C):k},C},_=r("1a88");function E(e){return[e.source.x1,e.y0]}function k(e){return[e.target.x0,e.y1]}var T=function(){return Object(_["a"])().source(E).target(k)}},e944:function(e,t,r){"use strict";var n={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};t["a"]=n},e947:function(e,t,r){"use strict";function n(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()}function i(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}e.exports={clearOutlineControllers:n,clearSelect:i}},e957:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r("e419");function i(e,t,r){var i,o,a=[];if(!e)return n.baseClass;if(Array.isArray(e))throw new Error("bem error: Argument `block` cannot be an array");Array.isArray(t)&&(r=t,t=null);var s=e;if(t&&t.length&&(s+="__"+t),a.push(s),r)for(i=0;i<r.length;i++)o=r[i],o&&o.length&&a.push(s+"--"+o);return a.join(" ")}},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},e97a:function(e,t,r){"use strict";var n=r("4b96");function i(e,t){var r=o.get(e,t);return"auto"===r||"scroll"===r}var o={get:n,getScrollParent:function(e){if(!e)return null;var t=e.ownerDocument;while(e&&e!==t.body){if(i(e,"overflow")||i(e,"overflowY")||i(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},e98f:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},e9b4:function(e,t,r){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n<r;n++)if(t=e.charCodeAt(n),(t<9||t>13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}},e9bd:function(e,t,r){"use strict";var n=Object.prototype.toString,i=n.call(function(){return arguments}());e.exports=function(e){return n.call(e)===i}},e9d4:function(e,t,r){"use strict";var n=r("f4b3").setPositionOffset,i=["v","h"];e.exports=function(e,t){for(var r=e.calcdata,o=t.xaxis,a=t.yaxis,s=0;s<i.length;s++){for(var l=i[s],u="h"===l?a:o,c=[],f=0;f<r.length;f++){var p=r[f],d=p[0].t,h=p[0].trace;!0!==h.visible||"violin"!==h.type||d.empty||h.orientation!==l||h.xaxis!==o._id||h.yaxis!==a._id||c.push(f)}n("violin",e,c,u)}}},e9dc:function(e,t,r){"use strict";e.exports=s;var n=r("cea5"),i=r("f3a4"),o={};function a(e){var t=0,r=new Array(e+1);r[0]=[[]];for(var o=1;o<=e;++o)for(var a=r[o]=i(o),s=0;s<a.length;++s)t=Math.max(t,a[o].length);var l=["function B(C,E,i,j){","var a=Math.min(i,j)|0,b=Math.max(i,j)|0,l=C[2*a],h=C[2*a+1];","while(l<h){","var m=(l+h)>>1,v=E[2*m+1];","if(v===b){return m}","if(b<v){h=m}else{l=m+1}","}","return l;","};","function getContour",e,"d(F,E,C,S){","var n=F.length,R=[];","for(var i=0;i<n;++i){var c=F[i],l=c.length;"];function u(e){if(!(e.length<=0)){l.push("R.push(");for(var t=0;t<e.length;++t){var r=e[t];t>0&&l.push(","),l.push("[");for(var n=0;n<r.length;++n){var i=r[n];n>0&&l.push(","),l.push("B(C,E,c[",i[0],"],c[",i[1],"])")}l.push("]")}l.push(");")}}for(o=e+1;o>1;--o){o<e+1&&l.push("else "),l.push("if(l===",o,"){");var c=[];for(s=0;s<o;++s)c.push("(S[c["+s+"]]<<"+s+")");l.push("var M=",c.join("+"),";if(M===0||M===",(1<<o)-1,"){continue}switch(M){");for(a=r[o-1],s=0;s<a.length;++s)l.push("case ",s,":"),u(a[s]),l.push("break;");l.push("}}")}l.push("}return R;};return getContour",e,"d");var f=new Function("pool",l.join(""));return f(n)}function s(e){var t=o[e];return t||(t=o[e]=a(e)),t}},e9e1:function(e,t){function r(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],f=t[10],p=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+u*n,e[5]=a*i+c*n,e[6]=s*i+f*n,e[7]=l*i+p*n,e[8]=u*i-o*n,e[9]=c*i-a*n,e[10]=f*i-s*n,e[11]=p*i-l*n,e}e.exports=r},e9e9:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M29.313 0H2.688A2.668 2.668 0 0 0 0 2.688v26.625c0 1.5 1.188 2.688 2.688 2.688h26.625c1.5 0 2.688-1.188 2.688-2.688V2.688c0-1.5-1.188-2.688-2.688-2.688zM18.125 2.938c.125.125.25.125.438.125h.375c0 .125 0 .125-.125.25h-.125l-.125.125s0 .188-.188.188h.313v-.313-.125c-.125-.125-.125-.125-.313 0-.125.125-.125.125-.25 0 0 0 0-.125-.125-.125 0-.125-.125-.125-.125-.125l-.25-.125-.188-.125h-.125H18c.125.125.125.125.125.25zm-.812.125v.375l-.125.188c-.125.125-.125 0-.125-.188v-.25h-.25-.125s-.125.125 0 .125.125.125.125.313h-1.376v-.188h.188c.25 0 .375 0 .5-.125.125-.375-.125-.375-.25-.375s-.125 0-.25-.125l-.188-.125h1.75c0 .125.125.25.125.375zm-4.375 0c.125 0 .125.125.25.125 0 0 0 .25-.125.125s-.375-.125-.5-.125c-.188-.125-.313-.125-.438-.125h-.688c-.125 0-.125.125-.25.125v-.25h-.125s-.125 0-.125.125c-.125-.125-.25-.125-.375-.125h-.938s0 .125-.188.125c0 .125-.125.25-.25 0h-.625c-.188 0-.438-.125-.563-.25-.25 0-.563.125-.813.125-.125 0-.25-.125-.5-.125h-.813-.125c-.125 0-.125-.125-.313-.125h6c.313.125.438.125.563.25.125 0 .375 0 .563-.125v-.125h.125zM12 8c-.125 0-.125-.125-.125-.25s-.125-.125-.25-.125h-.188v-.188l.188.188c.125 0 .25 0 .375.125V8zM2.688 2.688h2.75s0 .125-.125.125-.25.125-.375.125-.25.125-.563.125H4s-.125.125-.125.25.125.313.25.313.25 0 .438.125c.125 0 .25.125.25.25.125 0 .125.125 0 .125-.25-.125-.438-.125-.563-.25l-.125-.125L4 3.876c-.25 0-.375.125-.563.125 0 .125.188.25.313.25.125.125.25.125.375.125h.563s0 .313-.313.313c-.125 0-.375 0-.5.125 0 .125-.125.125-.125.25.125.125.25.375.25.563 0 .125.125 0 .25 0 0 0 .125 0 .125-.188 0-.125.313-.125.188.188 0 .125 0 .25.125.25 0-.125.125-.25.125-.25l.25.25s.125-.125.125 0 0 0-.125.125-.375.125-.5.25h-.188c-.125 0-.125.125-.25.125s-.125.313 0 .313c.25 0 .563-.125.813-.313.125 0 .125.188.375 0l.125-.125c.188-.125.313-.125.313-.25.125.125.125.125.25.125h.125c.125 0 .125-.125.25-.125v-.125h-.25c.125 0 .125-.125.25-.25v-.188c0-.125.188-.125.188-.125.125 0 .125 0 0 .313-.188.25.125-.188.25-.188h.375c0-.125 0-.125.125-.125 0-.125 0-.125.125-.25.188.125.313.125.438.125s.25 0 .375.125c.125 0 .688.125.813.125.25 0 .375.188.375.438s.188.25.188.25c.125 0 .25.125.375.25 0 .188 0 .438.125.563s.25.125.438.25v-.125c0-.125 0-.125-.188-.125v-.125c0-.125.188-.125.188 0 0-.125.125 0 .25.125s.125.25.125.25 0 .438.125.438.25.125.375.25c0 0 .188.125.188.25s.125.25.125.438v.75c0 .313.125.563.25.813 0 .25 0 .563.125.688s.25.125.563.125c.125 0 .25.125.375.375 0 .438.125.563.25.813.125 0 .313.125.125.25-.125.188-.125.313 0 .313.188 0 .188-.125.313.125.125.125.125.25.25.375 0 .125.125.125.125.125.125 0 .125.313.438.313v-.188c-.188-.125-.188-.125-.313-.25 0-.125-.125-.25-.125-.25 0-.125-.125-.25-.125-.25h-.125c-.125-.125-.125-.313-.25-.438l-.188-.125s-.125-.125 0-.25c.188-.125.188.125.313.25.125.25.375.563.5.688.125.25.313.375.563.625.125.188.25.188.25.313s.125.25.125.25c0 .125 0 .25.125.375a.77.77 0 0 1 .688.438c0 .125.125.375.25.375h.438s.125.125.25 0c0-.125.125-.125.25-.125s.25.125.25.25c.188.125.313.313.438.313s.25.125.25.125c.125 0 .125 0 .25.125.188.125.313.25.188.375 0 .125.125.313.25.313.125.125.25.125.25.25.125 0 .25.125.25.125s.125.125.313.125l.125-.125v-.125h.25c.125.125.125.25.125.375.125.125.125.438.125.563s0 .25-.125.375-.25.125-.25.25c-.125.188-.25.313-.25.438v.5c-.188.125-.188.313-.188.563s.438.25.438.375.25.688.25.813c.125.25.125.375.125.688.125.25.313.375.563.375.125 0 .25.125.25.25.125.188.25.188.25.313s.125.25 0 .375c0 0 0 .688-.125.938v.813c-.125.125-.25.125-.125.25s.375.25.375.25c0 .125.188.313 0 .563 0 .125-.125.25-.125.375-.125.125-.125.313-.125.438s-.125.125-.125.25.125.125.125.25-.125.25-.125.438c0 .125 0 .25.125.375 0 .125-.125.25-.125.375-.125.188-.125.313-.125.313 0 .125.125.125.125.25 0 0 0 .125-.125.25H2.696zm26.625 26.625h-6.625v-.125-.25h-.313v-.125l.188-.125.125-.125c.125-.188.125-.313.25-.313 0 0 .125-.125.125-.25s0 0-.125 0-.125-.125-.125-.25c.125 0 .25 0 .375.125h.125v-.25-.188-.125h.688c.125 0 .125-.125.125-.25l.125-.125s.125-.125 0-.25h-.25l-.125-.125v-.188c0-.125 0-.25.125-.375 0 .25 0 .375.25.563.125.125.438 0 .563-.188l.125-.125c.125-.125.25-.25.25-.375v-.25s0-.188.125-.188l.125-.125c0-.125.188-.125.313-.25v-.25-.25l.125-.188.25-.125c.125 0 .125-.125.25-.125.188 0 .313 0 .438-.125 0-.125.125-.25.125-.375l.125-.188.125-.125c.125-.125.125-.25.125-.25v-.25c0-.125 0-.25.125-.25v-.313c0-.125 0-.25.188-.25l.625-.813c.125-.125.125-.25.313-.375l.125-.25c0-.188.125-.313.125-.438s0-.125-.125-.25c0-.125-.125-.125-.313-.25-.125 0-.25 0-.25-.188 0 0-.125 0-.125-.125l-.125-.125c-.125-.125-.25-.125-.25-.125h-.438l-.375-.25c-.125-.125-.25-.125-.438-.125-.125 0-.125-.125-.25.125 0 .125-.125.125-.125.25h-.25-.125l.125-.125v-.25-.313c0 .188-.125.188-.313.313-.25 0-.25-.125-.125-.125s.313-.188.438-.188.125-.125.125-.125c0-.125 0-.125-.125-.25s-.125-.25-.313-.375l-.25-.438c-.125-.125-.25-.25-.5-.25-.125 0-.313.25-.438 0v-.125l-.25-.25h-.25s-.313 0-.125-.188v-.125-.25-.125c0 .125-.188.125-.313.25l-.25-.25h-.25s-.125 0-.125.125v.125s0-.125-.125-.125c-.188-.125-.313-.125-.438 0 0 0-.125 0-.125-.125s-.125-.125-.125-.25h-.125c-.125 0-.125.125-.125.25s-.188.25-.188.375v-.125-.25c0-.125.188-.25 0-.25h-.125l.125.375h-.125c-.125.125-.25.125-.25.25s-.125.313-.25.313h-.125c0-.188-.125-.188-.125-.188h-.313-.125l-.25.188c-.125.125-.25 0-.438 0 0-.188-.125-.188-.125-.313v-.125-.25-.438c0-.125 0-.125-.125-.25 0-.125-.125-.125-.25-.125s-.25.125-.25.125h-.313c-.125 0 0 0 0-.125v-.125-.25c0-.125 0-.125.188-.313.125-.125.125-.25.125-.375 0 0 0-.125-.125-.125h-.563a.269.269 0 0 0-.25.25v.125c0 .125 0 .313-.125.313-.188-.188-.313-.188-.313 0 0 .125 0 0-.25-.188h-.125c-.125-.125-.25-.25-.25-.375v-.125-.438-.25-.375s0-.125.125-.125l.125-.313c.125 0 .125-.125.25-.25h.438c.125 0 .25 0 .375.125h.25v-.125s.125-.125.313-.125c.125 0 .375-.125.5-.125 0 0 .125.25.25.25.125-.125.125-.25.125 0s.188.438.313.688c0 .125.125.25.25.25.125-.125.125-.125.125-.25v-.25c0-.188-.125-.313-.125-.438 0 0 0-.125-.125-.125v-.125c0-.125.125-.25.125-.25.125-.188.125-.188.25-.313s.125-.25.313-.25c.125-.125.375-.125.25-.25s-.125-.25-.125-.563c0-.125.125-.125.125 0s.25-.125.125-.25v-.125h.125v-.125c0-.125.125-.125.25-.125h.563v-.188c0-.125-.125-.125-.125-.25v-.125c0-.125.125-.25.25-.25h.25l.125-.125h.188s0 .375.125.375.25-.125.25-.125l.375-.125c.125 0 .313 0 .438-.125v-.313s0-.125-.125-.125c0 0-.188 0-.188.125h-.125c0-.125 0-.25-.125-.25l-.125.125-.125-.125c.125 0 .125-.125 0-.25h-.25s-.125.125-.313.125c-.125 0-.125 0-.25.125C22 7.99 22 7.865 22 7.865c0-.125 0-.125.125-.125s.438-.125.563-.125c.125 0 .25 0 .25.125v.375s.375-.125.25-.125 0 0 0-.125l.125-.125h.438l.125-.125c.125 0 .125.125 0 .25s-.125.25-.25.5c-.188.188 0 .188.125.188h.375c.125 0 .125 0 .25.125h.563v-.125l-.125-.313v-.5-.125h-.125v-.188c-.125 0-.125.188-.125 0 .125-.125.125-.125.125-.25s.125-.125.125-.25v-.125a.269.269 0 0 1-.25-.25c0-.188-.188-.188-.313-.313h-.5c0-.125 0-.125-.125-.25 0 0 0-.125-.188-.125l-.125-.125-.25-.438v-.125s-.125 0-.25.25l-.125.188h-.125c-.188 0-.313-.188-.438-.313v-.125l.125-.125c-.125-.125-.25-.125-.375-.125-.125-.125-.25-.125-.563-.25h-.625c-.125.125-.125.25-.125.25v.25h-.188v.125c.188.125.313.313.313.438s0 .125-.125.25c-.188.25-.313.25-.438.25h-.125c.125.125.125.125.125.313v.5h-.25c-.125 0-.125-.125-.125-.125v-.25l-.125.125v-.25-.188c0-.125-.188-.25-.313-.25 0-.125-.125-.125-.25-.125h-.5c-.188 0-.313-.125-.438-.25h-.25-.25c0-.125 0-.125-.188-.313-.125 0 0-.125-.125-.25v-.25l.313-.125.25-.125c0-.125.125-.313.25-.313.25 0 .438.188.438.188v-.188-.25c0 .125.25.125.125.25-.125.188 0 .188 0 .188.125 0 .25-.188.25-.188s.25-.125.25 0c0 .188 0 .313.125.313s.313-.125.125-.313c-.125-.125-.25-.125-.25-.25l.25-.125h-.125-.125-.125s0-.125.125-.125h.563c.125 0 .125 0 .25-.125l.125-.125c0-.188-.125-.188-.125-.188l.125-.125h.438v-.125c.125 0 0 .25.125.125h.25c0 .125 0 .313-.125.313h-.125s-.125.125 0 .125h.25c0-.125.125-.125.125-.313h.125s.25.188.125.188l-.125.125c-.125 0-.125.125-.125.125v.125h-.25-.125-.125v.375s.125 0 .25-.125h.5c.125 0 .313.125.313.125.125 0 .125.188.25.188H22c.125 0 .125.125.125.125h.25v-.125h.188c.125.125.125.125.25.125v-.125c0-.188 0-.188-.125-.313s-.313-.125-.438-.25v-.125c.125 0 .313 0 .438.125s.25.125.25.125l.125-.125h.125l.438-.25h-.188c-.125 0-.25 0-.25-.125-.125-.188-.25-.188-.375-.313 0 0-.25.125-.25 0v-.25c0-.125 0-.125-.188-.25l-.625-.125h7.563zM19.875 8.375c0-.125-.125.313 0 .438 0 .125 0 .125-.125.25h-.125s-.188-.125-.188-.25v-.125c0-.125 0-.313-.125-.313h-.125c-.125 0-.125.188-.25.313v.625c-.125 0-.25-.125-.25-.375v-.125-.438c.125-.125.25-.125.375-.25.125 0 .375.125.375.125h.438c.125.125.25.313.25.438-.125 0-.25-.125-.25-.313zm.375.438c.313-.125.438-.125.563-.125.125.125-.125.125-.125.25-.125 0-.125.125-.313.125l-.25.125H20v.125c-.125.125-.25.125-.25.125l.25-.125v-.125zM19.063 8h-.375s-.125 0-.125-.125c-.188 0-.313 0-.313.125H18v-.125l.25-.125c.125-.125.313-.313.563-.313.125.188.25.313.375.313 0 0 0 .25-.125.25z"}))};t.default=u},e9ef:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16H5V14H3V3H14V5H16V3C16,1.89 15.11,1 14,1H3M9,7C7.89,7 7,7.89 7,9V11H9V9H11V7H9M13,7V9H14V10H16V7H13M18,7V9H20V20H9V18H7V20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7H18M14,12V14H12V16H14C15.11,16 16,15.11 16,14V12H14M7,13V16H10V14H9V13H7Z"}))};e.exports=s},e9f7:function(e,t,r){"use strict";var n=r("fc26");e.exports=function(e,t,r,i,o){o=o||{},i("textposition"),n.coerceFont(i,"textfont",r.font),o.noSelect||(i("selected.textfont.color"),i("unselected.textfont.color"))}},ea27:function(e,t,r){"use strict";e.exports={attributes:r("f67b"),supplyDefaults:r("d494"),calc:r("0c85"),plot:r("7988"),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:r("aa89"),categories:["gl","regl","noOpacity","noHover"],meta:{description:["Parallel coordinates for multidimensional exploratory data analysis.","The samples are specified in `dimensions`.","The colors are set in `line.color`."].join(" ")}}},ea39:function(e,t,r){"use strict";e.exports={parse:r("df0c"),stringify:r("c243")}},eac5:function(e,t){var r=Object.prototype;function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}e.exports=n},eadc:function(e,t,r){"use strict";(function(t){var n=r("320c");function i(){return i=n||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){s(e,t,r[t])}))}return e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u=r("ac05"),c=r("d134"),f=r("8e5d5"),p=r("21db"),d=r("2124"),h=r("d496f"),v=r("b9b6f"),m=r("1dd9"),g=r("9bbe"),y=r("dec3"),b=r("ab5b"),x=r("a6b3"),A=r("e97a"),w=r("0984"),_=r("6152"),E=r("ac96"),k=r("0320"),T=r("0de2"),C=r("7301"),S=r("d8db"),O=r("38bc"),M=r("8164"),P=w.isBrowser("IE"),B=!P,L={edit:h,composite:f,drag:d,cut:null,render:null},D=!1,I=function(e){function t(){return e.apply(this,arguments)||this}l(t,e);var r=t.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(b.Component),j=function(e){function r(t){var r;return r=e.call(this,t)||this,s(a(r),"_blockSelectEvents",void 0),s(a(r),"_clipboard",void 0),s(a(r),"_handler",void 0),s(a(r),"_dragCount",void 0),s(a(r),"_internalDrag",void 0),s(a(r),"_editorKey",void 0),s(a(r),"_placeholderAccessibilityID",void 0),s(a(r),"_latestEditorState",void 0),s(a(r),"_latestCommittedEditorState",void 0),s(a(r),"_pendingStateFromBeforeInput",void 0),s(a(r),"_onBeforeInput",void 0),s(a(r),"_onBlur",void 0),s(a(r),"_onCharacterData",void 0),s(a(r),"_onCompositionEnd",void 0),s(a(r),"_onCompositionStart",void 0),s(a(r),"_onCopy",void 0),s(a(r),"_onCut",void 0),s(a(r),"_onDragEnd",void 0),s(a(r),"_onDragOver",void 0),s(a(r),"_onDragStart",void 0),s(a(r),"_onDrop",void 0),s(a(r),"_onInput",void 0),s(a(r),"_onFocus",void 0),s(a(r),"_onKeyDown",void 0),s(a(r),"_onKeyPress",void 0),s(a(r),"_onKeyUp",void 0),s(a(r),"_onMouseDown",void 0),s(a(r),"_onMouseUp",void 0),s(a(r),"_onPaste",void 0),s(a(r),"_onSelect",void 0),s(a(r),"editor",void 0),s(a(r),"editorContainer",void 0),s(a(r),"focus",void 0),s(a(r),"blur",void 0),s(a(r),"setMode",void 0),s(a(r),"exitCurrentMode",void 0),s(a(r),"restoreEditorDOM",void 0),s(a(r),"setClipboard",void 0),s(a(r),"getClipboard",void 0),s(a(r),"getEditorKey",void 0),s(a(r),"update",void 0),s(a(r),"onDragEnter",void 0),s(a(r),"onDragLeave",void 0),s(a(r),"_handleEditorContainerRef",(function(e){r.editorContainer=e,r.editor=null!==e?e.firstChild:null})),s(a(r),"focus",(function(e){var t=r.props.editorState,n=t.getSelection().getHasFocus(),i=r.editor;if(i){var o=A.getScrollParent(i),a=e||T(o),s=a.x,l=a.y;O(i)||S(!1),i.focus(),o===window?window.scrollTo(s,l):x.setTop(o,l),n||r.update(y.forceSelection(t,t.getSelection()))}})),s(a(r),"blur",(function(){var e=r.editor;e&&(O(e)||S(!1),e.blur())})),s(a(r),"setMode",(function(e){var t=r.props,n=t.onPaste,i=t.onCut,a=t.onCopy,s=o({},L.edit);n&&(s.onPaste=n),i&&(s.onCut=i),a&&(s.onCopy=a);var l=o({},L,{edit:s});r._handler=l[e]})),s(a(r),"exitCurrentMode",(function(){r.setMode("edit")})),s(a(r),"restoreEditorDOM",(function(e){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(e)}))})),s(a(r),"setClipboard",(function(e){r._clipboard=e})),s(a(r),"getClipboard",(function(){return r._clipboard})),s(a(r),"update",(function(e){r._latestEditorState=e,r.props.onChange(e)})),s(a(r),"onDragEnter",(function(){r._dragCount++})),s(a(r),"onDragLeave",(function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()})),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=t.editorKey||E(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=t.editorState,r._latestCommittedEditorState=t.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}l(r,e);var n=r.prototype;return n._buildHandler=function(e){var t=this;return function(r){if(!t.props.readOnly){var n=t._handler&&t._handler[e];n&&(v?v((function(){return n(t,r)})):n(t,r))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:M(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(m,e)}return null},n._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},n.render=function(){var e=this.props,t=e.blockRenderMap,r=e.blockRendererFn,n=e.blockStyleFn,a=e.customStyleFn,s=e.customStyleMap,l=e.editorState,u=e.preventScroll,f=e.readOnly,d=e.textAlignment,h=e.textDirectionality,v=_({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),m={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},g=this.props.role||"textbox",y="combobox"===g?!!this.props.ariaExpanded:null,x={blockRenderMap:t,blockRendererFn:r,blockStyleFn:n,customStyleMap:o({},c,s),customStyleFn:a,editorKey:this._editorKey,editorState:l,preventScroll:u,textDirectionality:h};return b.createElement("div",{className:v},this._renderPlaceholder(),b.createElement("div",{className:_("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":f?null:y,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:_({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:f?null:g,spellCheck:B&&this.props.spellCheck,style:m,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(I,{editor:this,editorState:l}),b.createElement(p,i({},x,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!D&&C("draft_ods_enabled")&&(D=!0,g.initODS()),this.setMode("edit"),P&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):t.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(b.Component);s(j,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:u,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:k,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),e.exports=j}).call(this,r("c8ba"))},eae0:function(e,t,r){"use strict";var n=r("936a"),i=r("5edd"),o=Object.prototype.toString;e.exports=function(e){if(!n(e))return null;if(i(e)){var t=e.toString;if("function"!==typeof t)return null;if(t===o)return null}try{return""+e}catch(r){return null}}},eae8:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.LineDashSelector=t.LineShapeSelector=void 0;var i=p(r("7515")),o=p(r("d7bc")),a=f(r("ab5b")),s=p(r("74d6")),l=r("4578"),u=r("e419");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function b(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)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function A(e){var t=E();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}var C=[{value:"solid",strokeDasharray:""},{value:"dot",strokeDasharray:"3px, 3px"},{value:"dash",strokeDasharray:"9px, 9px"},{value:"longdash",strokeDasharray:"15px, 15px"},{value:"dashdot",strokeDasharray:"9px, 3px, 3px, 3px"},{value:"longdashdot",strokeDasharray:"15px, 6px, 3px, 6px"}],S=[{d:"M2,14L14,2",value:"linear"},{d:"M2,14C4,4 16,16 18,2",value:"spline"},{d:"M2,14H14V2",value:"hv"},{d:"M2,14V2H14",value:"vh"},{d:"M2,14H8V2H14",value:"hvh"},{d:"M2,14V8H14V2",value:"vhv"}],O=function(e,t){return e.map((function(e){var r=e.value,n=e.strokeDasharray,i=e.d,o=void 0===i?"M0,8h100":i;return{label:a.default.createElement("svg",{width:"100",height:"16"},a.default.createElement("g",null,a.default.createElement("path",{d:o,style:{fill:"none",strokeWidth:"4px",stroke:t&&t!==u.MULTI_VALUED?t:u.COLORS.mutedBlue,strokeDasharray:n}}))),value:r}}))},M=function(e){return a.default.createElement(B,T({},e,{computeOptions:O.bind(null,S)}))};t.LineShapeSelector=M;var P=function(e){return a.default.createElement(B,T({},e,{computeOptions:function(e){return O(C,e).concat([{label:"",value:null}])}}))};t.LineDashSelector=P;var B=function(e){b(r,e);var t=A(r);function r(e,n){var i;return m(this,r),i=t.call(this,e,n),i.setLocals(e,n),i}return y(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){this.setLocals(e,t)}},{key:"setLocals",value:function(e,t){var r=t.fullContainer,n=(0,s.default)(r,"line.color").get();this.options&&this.lineColor===n||(this.options=this.props.computeOptions(n),this.lineColor=n)}},{key:"render",value:function(){return a.default.createElement(i.default,T({},this.props,{options:this.options,backgroundDark:(0,l.tooLight)(this.lineColor)}))}}]),r}(a.Component);B.propTypes=h({computeOptions:o.default.func},i.default.propTypes),B.defaultProps={clearable:!1},B.contextTypes={fullContainer:o.default.object}},eaff:function(e,t){e.exports=function(e){return atob(e)}},eb07:function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r("line.shape");"spline"===n&&r("line.smoothing")}},eb12:function(e,t,r){"use strict";var n=r("fc26"),i=r("41e0"),o=r("3044"),a=r("86df"),s=r("d61b"),l=r("41f8");e.exports=function(e,t,r,u){function c(r,i){return n.coerce(e,t,o,r,i)}function f(r){return n.coerce2(e,t,o,r)}if(c("carpet"),e.a&&e.b){var p=i(e,t,c,u,"a","b");if(!p)return void(t.visible=!1);c("text");var d="constraint"===c("contours.type");d?a(e,t,c,u,r,{hasHover:!1}):(s(e,t,c,f),l(e,t,c,u,{hasHover:!1}))}else t._defaultColor=r,t._length=null}},eb73:function(e,t,r){"use strict";function n(e,t){for(var r={},n=0;n<e.length;++n)for(var i=e[n].name,o=i.split("."),a=r,s=0;s<o.length;++s){var l=o[s].split("[");if(l.length>1){l[0]in a||(a[l[0]]=[]),a=a[l[0]];for(var u=1;u<l.length;++u){var c=parseInt(l[u]);u<l.length-1||s<o.length-1?(c in a||(u<l.length-1?a[c]=[]:a[c]={}),a=a[c]):a[c]=t?n:e[n].type}}else s<o.length-1?(l[0]in a||(a[l[0]]={}),a=a[l[0]]):a[l[0]]=t?n:e[n].type}return r}e.exports=n},ebb0:function(e,t,r){"use strict";var n=0;function i(e,t){var r=t.data;if(Array.isArray(r)&&!(r.length<2)){var n=r[0],i=r[1],o=r[2],a=e._callbacks[n];a&&(delete e._callbacks[n],a(i,o))}}function o(e){var t=this;t._worker=e,t._callbacks={},e.addEventListener("message",(function(e){i(t,e)}))}o.prototype.postMessage=function(e){var t=this,r=n++,o=[r,e];return new Promise((function(e,n){if(t._callbacks[r]=function(t,r){if(t)return n(new Error(t.message));e(r)},"undefined"!==typeof t._worker.controller){var a=new MessageChannel;a.port1.onmessage=function(e){i(t,e)},t._worker.controller.postMessage(o,[a.port2])}else t._worker.postMessage(o)}))},e.exports=o},ebc4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 10.78 10.78"},e),o.default.createElement("path",{class:"cls-1",d:"M5.39 0a5.39 5.39 0 0 0 0 10.78.92.92 0 0 0 .9-.9.77.77 0 0 0-.24-.6 1.07 1.07 0 0 1-.24-.6.92.92 0 0 1 .9-.9h1.07a3 3 0 0 0 3-3C10.78 2.16 8.38 0 5.39 0zM2.1 5.39a.92.92 0 0 1-.9-.9.92.92 0 0 1 .9-.9.9.9 0 0 1 0 1.8zM3.89 3A.92.92 0 0 1 3 2.1a.92.92 0 0 1 .9-.9.92.92 0 0 1 .9.9.92.92 0 0 1-.91.9zm3 0A.92.92 0 0 1 6 2.1a.9.9 0 1 1 1.79 0 .92.92 0 0 1-.9.9zm1.79 2.4a.92.92 0 0 1-.9-.9.9.9 0 1 1 1.8 0 .92.92 0 0 1-.9.89z"}))};t.default=u},ec0c:function(e,t,r){"use strict";var n=r("d115"),i=r("a651"),o=r("fc26"),a=r("119e"),s=r("5008"),l=r("27e3"),u=r("d92f"),c=r("743b"),f=r("45a2"),p=["aaxis","baxis","caxis"];function d(e,t,r,o){var a,s,l,u=r("bgcolor"),c=r("sum");o.bgColor=n.combine(u,o.paper_bgcolor);for(var f=0;f<p.length;f++)a=p[f],s=e[a]||{},l=i.newContainer(t,a),l._name=a,h(s,l,o,t);var d=t.aaxis,v=t.baxis,m=t.caxis;d.min+v.min+m.min>=c&&(d.min=0,v.min=0,m.min=0,e.aaxis&&delete e.aaxis.min,e.baxis&&delete e.baxis.min,e.caxis&&delete e.caxis.min)}function h(e,t,r,n){var i=f[t._name];function a(r,n){return o.coerce(e,t,i,r,n)}a("uirevision",n.uirevision),t.type="linear";var p=a("color"),d=p!==i.color.dflt?p:r.font.color,h=t._name,v=h.charAt(0).toUpperCase(),m="Component "+v,g=a("title.text",m);t._hovertitle=g===m?g:v,o.coerceFont(a,"title.font",{family:r.font.family,size:Math.round(1.2*r.font.size),color:d}),a("min"),u(e,t,a,"linear"),s(e,t,a,"linear",{}),l(e,t,a,{outerTicks:!0});var y=a("showticklabels");y&&(o.coerceFont(a,"tickfont",{family:r.font.family,size:r.font.size,color:d}),a("tickangle"),a("tickformat")),c(e,t,a,{dfltColor:p,bgColor:r.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:i}),a("hoverformat"),a("layer")}e.exports=function(e,t,r){a(e,t,r,{type:"ternary",attributes:f,handleDefaults:d,font:t.font,paper_bgcolor:t.paper_bgcolor})}},ec16:function(e,t,r){"use strict";var n=r("6e58"),i=r("19b2"),o=r("fc26"),a=r("83d1"),s=r("a60f");function l(e){var t=e.cxx,r=e.cyy;return e.vangles?function(n,i,a,l){var u,c;o.angleDelta(a,l)>0?(u=a,c=l):(u=l,c=a);var f=s.findEnclosingVertexAngles(u,e.vangles)[0],p=s.findEnclosingVertexAngles(c,e.vangles)[1],d=[f,(u+c)/2,p];return s.pathPolygonAnnulus(n,i,u,c,d,t,r)}:function(e,n,i,a){return o.pathAnnulus(e,n,i,a,t,r)}}e.exports=function(e,t,r){var s=t.xaxis,u=t.yaxis,c=t.radialAxis,f=t.angularAxis,p=l(t),d=t.layers.frontplot.select("g.barlayer");o.makeTraceGroups(d,r,"trace bars").each((function(){var r=n.select(this),l=o.ensureSingle(r,"g","points"),d=l.selectAll("g.point").data(o.identity);d.enter().append("g").style("vector-effect","non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),d.exit().remove(),d.each((function(e){var t,r=n.select(this),a=e.rp0=c.c2p(e.s0),l=e.rp1=c.c2p(e.s1),d=e.thetag0=f.c2g(e.p0),h=e.thetag1=f.c2g(e.p1);if(i(a)&&i(l)&&i(d)&&i(h)&&a!==l&&d!==h){var v=c.c2g(e.s1),m=(d+h)/2;e.ct=[s.c2p(v*Math.cos(m)),u.c2p(v*Math.sin(m))],t=p(a,l,d,h)}else t="M0,0Z";o.ensureSingle(r,"path").attr("d",t)})),a.setClipUrl(r,t._hasClipOnAxisFalse?t.clipIds.forTraces:null,e)}))}},ec20:function(e,t,r){"use strict";var n=r("4607");t.init2dArray=function(e,t){for(var r=new Array(e),n=0;n<e;n++)r[n]=new Array(t);return r},t.transposeRagged=function(e){var t,r,n=0,i=e.length;for(t=0;t<i;t++)n=Math.max(n,e[t].length);var o=new Array(n);for(t=0;t<n;t++)for(o[t]=new Array(i),r=0;r<i;r++)o[t][r]=e[r][t];return o},t.dot=function(e,r){if(!e.length||!r.length||e.length!==r.length)return null;var n,i,o=e.length;if(e[0].length)for(n=new Array(o),i=0;i<o;i++)n[i]=t.dot(e[i],r);else if(r[0].length){var a=t.transposeRagged(r);for(n=new Array(a.length),i=0;i<a.length;i++)n[i]=t.dot(e,a[i])}else for(n=0,i=0;i<o;i++)n+=e[i]*r[i];return n},t.translationMatrix=function(e,t){return[[1,0,e],[0,1,t],[0,0,1]]},t.rotationMatrix=function(e){var t=e*Math.PI/180;return[[Math.cos(t),-Math.sin(t),0],[Math.sin(t),Math.cos(t),0],[0,0,1]]},t.rotationXYMatrix=function(e,r,n){return t.dot(t.dot(t.translationMatrix(r,n),t.rotationMatrix(e)),t.translationMatrix(-r,-n))},t.apply3DTransform=function(e){return function(){var r=arguments,n=1===arguments.length?r[0]:[r[0],r[1],r[2]||0];return t.dot(e,[n[0],n[1],n[2],1]).slice(0,3)}},t.apply2DTransform=function(e){return function(){var r=arguments;3===r.length&&(r=r[0]);var n=1===arguments.length?r[0]:[r[0],r[1]];return t.dot(e,[n[0],n[1],1]).slice(0,2)}},t.apply2DTransform2=function(e){var r=t.apply2DTransform(e);return function(e){return r(e.slice(0,2)).concat(r(e.slice(2,4)))}},t.convertCssMatrix=function(e){if(e){var t=e.length;if(16===t)return e;if(6===t)return[e[0],e[1],0,0,e[2],e[3],0,0,0,0,1,0,e[4],e[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},t.inverseTransformMatrix=function(e){var t=[];return n.invert(t,e),[[t[0],t[1],t[2],t[3]],[t[4],t[5],t[6],t[7]],[t[8],t[9],t[10],t[11]],[t[12],t[13],t[14],t[15]]]}},ec69:function(e,t,r){var n=r("6fcd"),i=r("03dd"),o=r("30c9");function a(e){return o(e)?n(e):i(e)}e.exports=a},ec76:function(e,t,r){"use strict";e.exports=v;var n=r("8f9c"),i=r("9343"),o=r("9969"),a=r("27a4"),s=r("913b"),l=r("e448");function u(e,t,r){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(r,2))}function c(e){return Math.min(1,Math.max(-1,e))}function f(e){var t=Math.abs(e[0]),r=Math.abs(e[1]),n=Math.abs(e[2]),i=[0,0,0];t>Math.max(r,n)?i[2]=1:r>Math.max(t,n)?i[0]=1:i[1]=1;for(var o=0,a=0,l=0;l<3;++l)o+=e[l]*e[l],a+=i[l]*e[l];for(l=0;l<3;++l)i[l]-=a/o*e[l];return s(i,i),i}function p(e,t,r,i,o,a,s,l){this.center=n(r),this.up=n(i),this.right=n(o),this.radius=n([a]),this.angle=n([s,l]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(e,t),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var u=0;u<16;++u)this.computedMatrix[u]=.5;this.recalcMatrix(0)}var d=p.prototype;d.setDistanceLimits=function(e,t){e=e>0?Math.log(e):-1/0,t=t>0?Math.log(t):1/0,t=Math.max(t,e),this.radius.bounds[0][0]=e,this.radius.bounds[1][0]=t},d.getDistanceLimits=function(e){var t=this.radius.bounds[0];return e?(e[0]=Math.exp(t[0][0]),e[1]=Math.exp(t[1][0]),e):[Math.exp(t[0][0]),Math.exp(t[1][0])]},d.recalcMatrix=function(e){this.center.curve(e),this.up.curve(e),this.right.curve(e),this.radius.curve(e),this.angle.curve(e);for(var t=this.computedUp,r=this.computedRight,n=0,i=0,o=0;o<3;++o)i+=t[o]*r[o],n+=t[o]*t[o];var l=Math.sqrt(n),c=0;for(o=0;o<3;++o)r[o]-=t[o]*i/n,c+=r[o]*r[o],t[o]/=l;var f=Math.sqrt(c);for(o=0;o<3;++o)r[o]/=f;var p=this.computedToward;a(p,t,r),s(p,p);var d=Math.exp(this.computedRadius[0]),h=this.computedAngle[0],v=this.computedAngle[1],m=Math.cos(h),g=Math.sin(h),y=Math.cos(v),b=Math.sin(v),x=this.computedCenter,A=m*y,w=g*y,_=b,E=-m*b,k=-g*b,T=y,C=this.computedEye,S=this.computedMatrix;for(o=0;o<3;++o){var O=A*r[o]+w*p[o]+_*t[o];S[4*o+1]=E*r[o]+k*p[o]+T*t[o],S[4*o+2]=O,S[4*o+3]=0}var M=S[1],P=S[5],B=S[9],L=S[2],D=S[6],I=S[10],j=P*I-B*D,R=B*L-M*I,F=M*D-P*L,N=u(j,R,F);j/=N,R/=N,F/=N,S[0]=j,S[4]=R,S[8]=F;for(o=0;o<3;++o)C[o]=x[o]+S[2+4*o]*d;for(o=0;o<3;++o){c=0;for(var z=0;z<3;++z)c+=S[o+4*z]*C[z];S[12+o]=-c}S[15]=1},d.getMatrix=function(e,t){this.recalcMatrix(e);var r=this.computedMatrix;if(t){for(var n=0;n<16;++n)t[n]=r[n];return t}return r};var h=[0,0,0];function v(e){e=e||{};var t=e.center||[0,0,0],r=e.up||[0,1,0],n=e.right||f(r),i=e.radius||1,o=e.theta||0,c=e.phi||0;if(t=[].slice.call(t,0,3),r=[].slice.call(r,0,3),s(r,r),n=[].slice.call(n,0,3),s(n,n),"eye"in e){var d=e.eye,h=[d[0]-t[0],d[1]-t[1],d[2]-t[2]];a(n,h,r),u(n[0],n[1],n[2])<1e-6?n=f(r):s(n,n),i=u(h[0],h[1],h[2]);var v=l(r,h)/i,m=l(n,h)/i;c=Math.acos(v),o=Math.acos(m)}return i=Math.log(i),new p(e.zoomMin,e.zoomMax,t,r,n,i,o,c)}d.rotate=function(e,t,r,n){if(this.angle.move(e,t,r),n){this.recalcMatrix(e);var i=this.computedMatrix;h[0]=i[2],h[1]=i[6],h[2]=i[10];for(var a=this.computedUp,s=this.computedRight,l=this.computedToward,u=0;u<3;++u)i[4*u]=a[u],i[4*u+1]=s[u],i[4*u+2]=l[u];o(i,i,n,h);for(u=0;u<3;++u)a[u]=i[4*u],s[u]=i[4*u+1];this.up.set(e,a[0],a[1],a[2]),this.right.set(e,s[0],s[1],s[2])}},d.pan=function(e,t,r,n){t=t||0,r=r||0,n=n||0,this.recalcMatrix(e);var i=this.computedMatrix,o=(Math.exp(this.computedRadius[0]),i[1]),a=i[5],s=i[9],l=u(o,a,s);o/=l,a/=l,s/=l;var c=i[0],f=i[4],p=i[8],d=c*o+f*a+p*s;c-=o*d,f-=a*d,p-=s*d;var h=u(c,f,p);c/=h,f/=h,p/=h;var v=c*t+o*r,m=f*t+a*r,g=p*t+s*r;this.center.move(e,v,m,g);var y=Math.exp(this.computedRadius[0]);y=Math.max(1e-4,y+n),this.radius.set(e,Math.log(y))},d.translate=function(e,t,r,n){this.center.move(e,t||0,r||0,n||0)},d.setMatrix=function(e,t,r,n){var o=1;"number"===typeof r&&(o=0|r),(o<0||o>3)&&(o=1);var a=(o+2)%3;t||(this.recalcMatrix(e),t=this.computedMatrix);var s=t[o],l=t[o+4],f=t[o+8];if(n){var p=Math.abs(s),d=Math.abs(l),h=Math.abs(f),v=Math.max(p,d,h);p===v?(s=s<0?-1:1,l=f=0):h===v?(f=f<0?-1:1,s=l=0):(l=l<0?-1:1,s=f=0)}else{var m=u(s,l,f);s/=m,l/=m,f/=m}var g=t[a],y=t[a+4],b=t[a+8],x=g*s+y*l+b*f;g-=s*x,y-=l*x,b-=f*x;var A=u(g,y,b);g/=A,y/=A,b/=A;var w,_,E=l*b-f*y,k=f*g-s*b,T=s*y-l*g,C=u(E,k,T);if(E/=C,k/=C,T/=C,this.center.jump(e,Q,W,K),this.radius.idle(e),this.up.jump(e,s,l,f),this.right.jump(e,g,y,b),2===o){var S=t[1],O=t[5],M=t[9],P=S*g+O*y+M*b,B=S*E+O*k+M*T;w=j<0?-Math.PI/2:Math.PI/2,_=Math.atan2(B,P)}else{var L=t[2],D=t[6],I=t[10],j=L*s+D*l+I*f,R=L*g+D*y+I*b,F=L*E+D*k+I*T;w=Math.asin(c(j)),_=Math.atan2(F,R)}this.angle.jump(e,_,w),this.recalcMatrix(e);var N=t[2],z=t[6],U=t[10],H=this.computedMatrix;i(H,t);var V=H[15],Q=H[12]/V,W=H[13]/V,K=H[14]/V,q=Math.exp(this.computedRadius[0]);this.center.jump(e,Q-N*q,W-z*q,K-U*q)},d.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},d.idle=function(e){this.center.idle(e),this.up.idle(e),this.right.idle(e),this.radius.idle(e),this.angle.idle(e)},d.flush=function(e){this.center.flush(e),this.up.flush(e),this.right.flush(e),this.radius.flush(e),this.angle.flush(e)},d.setDistance=function(e,t){t>0&&this.radius.set(e,Math.log(t))},d.lookAt=function(e,t,r,n){this.recalcMatrix(e),t=t||this.computedEye,r=r||this.computedCenter,n=n||this.computedUp;var i=n[0],o=n[1],a=n[2],s=u(i,o,a);if(!(s<1e-6)){i/=s,o/=s,a/=s;var l=t[0]-r[0],f=t[1]-r[1],p=t[2]-r[2],d=u(l,f,p);if(!(d<1e-6)){l/=d,f/=d,p/=d;var h=this.computedRight,v=h[0],m=h[1],g=h[2],y=i*v+o*m+a*g;v-=y*i,m-=y*o,g-=y*a;var b=u(v,m,g);if(!(b<.01&&(v=o*p-a*f,m=a*l-i*p,g=i*f-o*l,b=u(v,m,g),b<1e-6))){v/=b,m/=b,g/=b,this.up.set(e,i,o,a),this.right.set(e,v,m,g),this.center.set(e,r[0],r[1],r[2]),this.radius.set(e,Math.log(d));var x=o*g-a*m,A=a*v-i*g,w=i*m-o*v,_=u(x,A,w);x/=_,A/=_,w/=_;var E=i*l+o*f+a*p,k=v*l+m*f+g*p,T=x*l+A*f+w*p,C=Math.asin(c(E)),S=Math.atan2(T,k),O=this.angle._state,M=O[O.length-1],P=O[O.length-2];M%=2*Math.PI;var B=Math.abs(M+2*Math.PI-S),L=Math.abs(M-S),D=Math.abs(M-2*Math.PI-S);B<L&&(M+=2*Math.PI),D<L&&(M-=2*Math.PI),this.angle.jump(this.angle.lastT(),M,P),this.angle.set(e,S,C)}}}}},ec8c:function(e,t){function r(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}e.exports=r},ecc5:function(e,t,r){"use strict";var n=r("919e"),i=r("a876"),o=r("81f0").attributes,a=r("94d5").hovertemplateAttrs,s=r("94d5").texttemplateAttrs,l=r("9092").extendFlat;e.exports={labels:n.labels,label0:n.label0,dlabel:n.dlabel,values:n.values,marker:{colors:n.marker.colors,line:{color:l({},n.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:l({},n.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:n.text,hovertext:n.hovertext,scalegroup:l({},n.scalegroup,{description:["If there are multiple funnelareas that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")}),textinfo:l({},n.textinfo,{flags:["label","text","value","percent"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:l({},i.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:a({},{keys:["label","color","value","text","percent"]}),textposition:l({},n.textposition,{values:["inside","none"],dflt:"inside"}),textfont:n.textfont,insidetextfont:n.insidetextfont,title:{text:n.title.text,font:n.title.font,position:l({},n.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:o({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",role:"info",min:0,dflt:1,editType:"plot",description:["Sets the ratio between height and width"].join(" ")},baseratio:{valType:"number",role:"info",min:0,max:1,dflt:.333,editType:"plot",description:["Sets the ratio between bottom length and maximum top length."].join(" ")}}},ecf9:function(e,t,r){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},ecfb:function(e,t,r){},ed0e:function(e,t,r){"use strict";var n=r("19b2"),i=r("09bd"),o=r("106b"),a=r("4136"),s=r("70b4").calcMarkerSize,l=["a","b","c"],u={a:["b","c"],b:["a","c"],c:["a","b"]};e.exports=function(e,t){var r,c,f,p,d,h,v=e._fullLayout[t.subplot],m=v.sum,g=t.sum||m,y={a:t.a,b:t.b,c:t.c};for(r=0;r<l.length;r++)if(f=l[r],!y[f]){for(d=y[u[f][0]],h=y[u[f][1]],p=new Array(d.length),c=0;c<d.length;c++)p[c]=g-d[c]-h[c];y[f]=p}var b,x,A,w,_,E,k=t._length,T=new Array(k);for(r=0;r<k;r++)b=y.a[r],x=y.b[r],A=y.c[r],n(b)&&n(x)&&n(A)?(b=+b,x=+x,A=+A,w=m/(b+x+A),1!==w&&(b*=w,x*=w,A*=w),E=b,_=A-x,T[r]={x:_,y:E,a:b,b:x,c:A}):T[r]={x:!1,y:!1};return s(t,k),i(e,t),o(T,t),a(T,t),T}},ed16:function(e,t,r){"use strict";var n=r("371e"),i=r("0642"),o=r("fc26"),a=r("37e3");e.exports=function(e,t,r){function s(r,n){return o.coerce(e,t,a,r,n)}for(var l=!1,u=!1,c=!1,f={},p=s("barmode"),d=0;d<r.length;d++){var h=r[d];if(n.traceIs(h,"bar")&&h.visible){if(l=!0,"group"===p){var v=h.xaxis+h.yaxis;f[v]&&(c=!0),f[v]=!0}if(h.visible&&"histogram"===h.type){var m=i.getFromId({_fullLayout:t},h["v"===h.orientation?"xaxis":"yaxis"]);"category"!==m.type&&(u=!0)}}}l?("overlay"!==p&&s("barnorm"),s("bargap",u&&!c?0:.2),s("bargroupgap")):delete t.barmode}},ed2e:function(e,t){function r(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],o=t[6],a=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=r,e[6]=t[9],e[7]=t[13],e[8]=n,e[9]=o,e[11]=t[14],e[12]=i,e[13]=a,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}e.exports=r},ed8d:function(e,t,r){"use strict";e.exports=c;var n=r("efce"),i=r("28dd"),o=r("6178"),a=r("b44d");function s(e,t,r,n){this.plot=e,this.vbo=t,this.shader=r,this.tickShader=n,this.ticks=[[],[]]}function l(e,t){return e-t}var u=s.prototype;function c(e){var t=e.gl,r=n(t),o=i(t,a.gridVert,a.gridFrag),l=i(t,a.tickVert,a.gridFrag),u=new s(e,r,o,l);return u}u.draw=function(){var e=[0,0],t=[0,0],r=[0,0];return function(){for(var n=this.plot,i=this.vbo,o=this.shader,a=this.ticks,s=n.gl,l=n._tickBounds,u=n.dataBox,c=n.viewBox,f=n.gridLineWidth,p=n.gridLineColor,d=n.gridLineEnable,h=n.pixelRatio,v=0;v<2;++v){var m=l[v],g=l[v+2],y=g-m,b=.5*(u[v+2]+u[v]),x=u[v+2]-u[v];t[v]=2*y/x,e[v]=2*(m-b)/x}o.bind(),i.bind(),o.attributes.dataCoord.pointer(),o.uniforms.dataShift=e,o.uniforms.dataScale=t;var A=0;for(v=0;v<2;++v){r[0]=r[1]=0,r[v]=1,o.uniforms.dataAxis=r,o.uniforms.lineWidth=f[v]/(c[v+2]-c[v])*h,o.uniforms.color=p[v];var w=6*a[v].length;d[v]&&w&&s.drawArrays(s.TRIANGLES,A,w),A+=w}}}(),u.drawTickMarks=function(){var e=[0,0],t=[0,0],r=[1,0],n=[0,1],i=[0,0],a=[0,0];return function(){for(var s=this.plot,u=this.vbo,c=this.tickShader,f=this.ticks,p=s.gl,d=s._tickBounds,h=s.dataBox,v=s.viewBox,m=s.pixelRatio,g=s.screenBox,y=g[2]-g[0],b=g[3]-g[1],x=v[2]-v[0],A=v[3]-v[1],w=0;w<2;++w){var _=d[w],E=d[w+2],k=E-_,T=.5*(h[w+2]+h[w]),C=h[w+2]-h[w];t[w]=2*k/C,e[w]=2*(_-T)/C}t[0]*=x/y,e[0]*=x/y,t[1]*=A/b,e[1]*=A/b,c.bind(),u.bind(),c.attributes.dataCoord.pointer();var S=c.uniforms;S.dataShift=e,S.dataScale=t;var O=s.tickMarkLength,M=s.tickMarkWidth,P=s.tickMarkColor,B=0,L=6*f[0].length,D=Math.min(o.ge(f[0],(h[0]-d[0])/(d[2]-d[0]),l),f[0].length),I=Math.min(o.gt(f[0],(h[2]-d[0])/(d[2]-d[0]),l),f[0].length),j=B+6*D,R=6*Math.max(0,I-D),F=Math.min(o.ge(f[1],(h[1]-d[1])/(d[3]-d[1]),l),f[1].length),N=Math.min(o.gt(f[1],(h[3]-d[1])/(d[3]-d[1]),l),f[1].length),z=L+6*F,U=6*Math.max(0,N-F);i[0]=2*(v[0]-O[1])/y-1,i[1]=(v[3]+v[1])/b-1,a[0]=O[1]*m/y,a[1]=M[1]*m/b,U&&(S.color=P[1],S.tickScale=a,S.dataAxis=n,S.screenOffset=i,p.drawArrays(p.TRIANGLES,z,U)),i[0]=(v[2]+v[0])/y-1,i[1]=2*(v[1]-O[0])/b-1,a[0]=M[0]*m/y,a[1]=O[0]*m/b,R&&(S.color=P[0],S.tickScale=a,S.dataAxis=r,S.screenOffset=i,p.drawArrays(p.TRIANGLES,j,R)),i[0]=2*(v[2]+O[3])/y-1,i[1]=(v[3]+v[1])/b-1,a[0]=O[3]*m/y,a[1]=M[3]*m/b,U&&(S.color=P[3],S.tickScale=a,S.dataAxis=n,S.screenOffset=i,p.drawArrays(p.TRIANGLES,z,U)),i[0]=(v[2]+v[0])/y-1,i[1]=2*(v[3]+O[2])/b-1,a[0]=M[2]*m/y,a[1]=O[2]*m/b,R&&(S.color=P[2],S.tickScale=a,S.dataAxis=r,S.screenOffset=i,p.drawArrays(p.TRIANGLES,j,R))}}(),u.update=function(){var e=[1,1,-1,-1,1,-1],t=[1,-1,1,1,-1,-1];return function(r){for(var n=r.ticks,i=r.bounds,o=new Float32Array(18*(n[0].length+n[1].length)),a=(this.plot.zeroLineEnable,0),s=[[],[]],l=0;l<2;++l)for(var u=s[l],c=n[l],f=i[l],p=i[l+2],d=0;d<c.length;++d){var h=(c[d].x-f)/(p-f);u.push(h);for(var v=0;v<6;++v)o[a++]=h,o[a++]=e[v],o[a++]=t[v]}this.ticks=s,this.vbo.update(o)}}(),u.dispose=function(){this.vbo.dispose(),this.shader.dispose(),this.tickShader.dispose()}},ed98:function(e,t){e.exports=function(e,t){var r=t[15];if(0===r)return!1;for(var n=1/r,i=0;i<16;i++)e[i]=t[i]*n;return!0}},edf7:function(e,t,r){"use strict";var n=r("3aa8"),i=r("e1e5").processGrid,o=r("e1e5").filter;e.exports=function(e,t){t._len=Math.min(t.x.length,t.y.length,t.z.length,t.value.length),t._x=o(t.x,t._len),t._y=o(t.y,t._len),t._z=o(t.z,t._len),t._value=o(t.value,t._len);var r=i(t);t._gridFill=r.fill,t._Xs=r.Xs,t._Ys=r.Ys,t._Zs=r.Zs,t._len=r.len;for(var a=1/0,s=-1/0,l=0;l<t._len;l++){var u=t._value[l];a=Math.min(a,u),s=Math.max(s,u)}t._minValues=a,t._maxValues=s,t._vMin=void 0===t.isomin||null===t.isomin?a:t.isomin,t._vMax=void 0===t.isomax||null===t.isomin?s:t.isomax,n(e,t,{vals:[t._vMin,t._vMax],containerStr:"",cLetter:"c"})}},edfa:function(e,t){function r(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}e.exports=r},ee6b:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("c437"),a=r("bc7f");e.exports=function(e){var t=n.select(e).selectAll("g.contour");t.style("opacity",(function(e){return e[0].trace.opacity})),t.each((function(e){var t=n.select(this),r=e[0].trace,o=r.contours,s=r.line,l=o.size||1,u=o.start,c="constraint"===o.type,f=!c&&"lines"===o.coloring,p=!c&&"fill"===o.coloring,d=f||p?a(r):null;t.selectAll("g.contourlevel").each((function(e){n.select(this).selectAll("path").call(i.lineGroupStyle,s.width,f?d(e.level):s.color,s.dash)}));var h=o.labelfont;if(t.selectAll("g.contourlabels text").each((function(e){i.font(n.select(this),{family:h.family,size:h.size,color:h.color||(f?d(e.level):s.color)})})),c)t.selectAll("g.contourfill path").style("fill",r.fillcolor);else if(p){var v;t.selectAll("g.contourfill path").style("fill",(function(e){return void 0===v&&(v=e.level),d(e.level+.5*l)})),void 0===v&&(v=u),t.selectAll("g.contourbg path").style("fill",d(v-.5*l))}})),o(e)}},ee77:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("fc26"),a=o.strTranslate,s=r("83d1"),l=r("d115"),u=r("215c").extractOpts,c=r("de81"),f=r("a708"),p=r("59e0").castOption,d=r("baf5"),h=12,v=5,m=2,g=10,y=5;function b(e,t){var r=t?"radial":"horizontal";return r+(e?"":"reversed")}e.exports=function(e,t,r){var x=t._fullLayout;r||(r=x.legend);var A="constant"===r.itemsizing,w=r.itemwidth,_=(w+2*d.itemGap)/2,E=a(_,0),k=function(e,t,r,n){var i;if(e+1)i=e;else{if(!(t&&t.width>0))return 0;i=t.width}return A?n:Math.min(i,r)};function T(e){var r,i,a=e[0],l=a.trace,f=l.visible&&l.fill&&"none"!==l.fill,p=c.hasLines(l),d=l.contours,h=!1,m=!1,y=u(l),x=y.colorscale,A=y.reversescale,_=function(e){if(e.size()){var r="legendfill-"+l.uid;s.gradient(e,t,r,b(A),x,"fill")}},E=function(e){if(e.size()){var r="legendline-"+l.uid;s.lineGroupStyle(e),s.gradient(e,t,r,b(A),x,"stroke")}};if(d){var T=d.coloring;"lines"===T?h=!0:p="none"===T||"heatmap"===T||d.showlines,"constraint"===d.type?f="="!==d._operation:"fill"!==T&&"heatmap"!==T||(m=!0)}var C=c.hasMarkers(l)||c.hasText(l),S=f||m,O=p||h,M=C||!S?"M5,0":O?"M5,-2":"M5,-3",P=n.select(this),B=P.select(".legendfill").selectAll("path").data(f||m?[e]:[]);if(B.enter().append("path").classed("js-fill",!0),B.exit().remove(),B.attr("d",M+"h"+w+"v6h-"+w+"z").call(f?s.fillGroupStyle:_),p||h){var L=k(void 0,l.line,g,v);i=o.minExtend(l,{line:{width:L}}),r=[o.minExtend(a,{trace:i})]}var D=P.select(".legendlines").selectAll("path").data(p||h?[r]:[]);D.enter().append("path").classed("js-line",!0),D.exit().remove(),D.attr("d",M+(h?"l"+w+",0.0001":"h"+w)).call(p?s.lineGroupStyle:E)}function C(e){var r,i,a=e[0],l=a.trace,u=c.hasMarkers(l),f=c.hasText(l),p=c.hasLines(l);function d(e,t,r,n){var i=o.nestedProperty(l,e).get(),a=o.isArrayOrTypedArray(i)&&t?t(i):i;if(A&&a&&void 0!==n&&(a=n),r){if(a<r[0])return r[0];if(a>r[1])return r[1]}return a}function g(e){return a._distinct&&a.index&&e[a.index]?e[a.index]:e[0]}if(u||f||p){var y={},b={};if(u){y.mc=d("marker.color",g),y.mx=d("marker.symbol",g),y.mo=d("marker.opacity",o.mean,[.2,1]),y.mlc=d("marker.line.color",g),y.mlw=d("marker.line.width",o.mean,[0,5],m),b.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var x=d("marker.size",o.mean,[2,16],h);y.ms=x,b.marker.size=x}p&&(b.line={width:d("line.width",g,[0,10],v)}),f&&(y.tx="Aa",y.tp=d("textposition",g),y.ts=10,y.tc=d("textfont.color",g),y.tf=d("textfont.family",g)),r=[o.minExtend(a,y)],i=o.minExtend(l,b),i.selectedpoints=null,i.texttemplate=null}var w=n.select(this).select("g.legendpoints"),_=w.selectAll("path.scatterpts").data(u?r:[]);_.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",E),_.exit().remove(),_.call(s.pointStyle,i,t),u&&(r[0].mrc=3);var k=w.selectAll("g.pointtext").data(f?r:[]);k.enter().append("g").classed("pointtext",!0).append("text").attr("transform",E),k.exit().remove(),k.selectAll("text").call(s.textPointStyle,i,t)}function S(e){var t=e[0].trace,r="waterfall"===t.type;if(e[0]._distinct&&r){var i=e[0].trace[e[0].dir].marker;return e[0].mc=i.color,e[0].mlw=i.line.width,e[0].mlc=i.line.color,P(e,this,"waterfall")}var o=[];t.visible&&r&&(o=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var a=n.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(o);a.enter().append("path").classed("legendwaterfall",!0).attr("transform",E).style("stroke-miterlimit",1),a.exit().remove(),a.each((function(e){var r=n.select(this),i=t[e[0]].marker,o=k(void 0,i.line,y,m);r.attr("d",e[1]).style("stroke-width",o+"px").call(l.fill,i.color),o&&r.call(l.stroke,i.line.color)}))}function O(e){P(e,this)}function M(e){P(e,this,"funnel")}function P(e,t,r){var o=e[0].trace,a=o.marker||{},s=a.line||{},u=r?o.visible&&o.type===r:i.traceIs(o,"bar"),c=n.select(t).select("g.legendpoints").selectAll("path.legend"+r).data(u?[e]:[]);c.enter().append("path").classed("legend"+r,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",E),c.exit().remove(),c.each((function(e){var t=n.select(this),r=e[0],i=k(r.mlw,a.line,y,m);t.style("stroke-width",i+"px").call(l.fill,r.mc||a.color),i&&l.stroke(t,r.mlc||s.color)}))}function B(e){var r=e[0].trace,a=n.select(this).select("g.legendpoints").selectAll("path.legendbox").data(r.visible&&i.traceIs(r,"box-violin")?[e]:[]);a.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",E),a.exit().remove(),a.each((function(){var e=n.select(this);if("all"!==r.boxpoints&&"all"!==r.points||0!==l.opacity(r.fillcolor)||0!==l.opacity((r.line||{}).color)){var i=k(void 0,r.line,y,m);e.style("stroke-width",i+"px").call(l.fill,r.fillcolor),i&&l.stroke(e,r.line.color)}else{var u=o.minExtend(r,{marker:{size:A?h:o.constrain(r.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});a.call(s.pointStyle,u,t)}}))}function L(e){var t=e[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);r.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",E).style("stroke-miterlimit",1),r.exit().remove(),r.each((function(e,r){var i=n.select(this),o=t[r?"increasing":"decreasing"],a=k(void 0,o.line,y,m);i.style("stroke-width",a+"px").call(l.fill,o.fillcolor),a&&l.stroke(i,o.line.color)}))}function D(e){var t=e[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);r.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",E).style("stroke-miterlimit",1),r.exit().remove(),r.each((function(e,r){var i=n.select(this),o=t[r?"increasing":"decreasing"],a=k(void 0,o.line,y,m);i.style("fill","none").call(s.dashLine,o.line.dash,a),a&&l.stroke(i,o.line.color)}))}function I(e){R(e,this,"pie")}function j(e){R(e,this,"funnelarea")}function R(e,t,r){var a=e[0],s=a.trace,l=r?s.visible&&s.type===r:i.traceIs(s,r),u=n.select(t).select("g.legendpoints").selectAll("path.legend"+r).data(l?[e]:[]);if(u.enter().append("path").classed("legend"+r,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",E),u.exit().remove(),u.size()){var c=(s.marker||{}).line,d=k(p(c.width,a.pts),c,y,m),h=o.minExtend(s,{marker:{line:{width:d}}});h.marker.line.color=c.color;var v=o.minExtend(a,{trace:h});f(u,v,h)}}function F(e){var r,i=e[0].trace,a=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":a=[["M-15,-2V4H15V-2Z"]],r=!0;break;case"choropleth":case"choroplethmapbox":a=[["M-6,-6V6H6V-6Z"]],r=!0;break;case"densitymapbox":a=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],r="radial";break;case"cone":a=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],r=!1;break;case"streamtube":a=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],r=!1;break;case"surface":a=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],r=!0;break;case"mesh3d":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!1;break;case"volume":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!0;break;case"isosurface":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],r=!1;break}var c=n.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(a);c.enter().append("path").classed("legend3dandfriends",!0).attr("transform",E).style("stroke-miterlimit",1),c.exit().remove(),c.each((function(e,a){var c,f=n.select(this),p=u(i),d=p.colorscale,h=p.reversescale,v=function(e){if(e.size()){var n="legendfill-"+i.uid;s.gradient(e,t,n,b(h,"radial"===r),d,"fill")}};if(d){if(!r){var m=d.length;c=0===a?d[h?m-1:0][1]:1===a?d[h?0:m-1][1]:d[Math.floor((m-1)/2)][1]}}else{var g=i.vertexcolor||i.facecolor||i.color;c=o.isArrayOrTypedArray(g)?g[a]||g[0]:g}f.attr("d",e[0]),c?f.call(l.fill,c):f.call(v)}))}e.each((function(e){var t=n.select(this),i=o.ensureSingle(t,"g","layers");i.style("opacity",e[0].trace.opacity);var s=r.valign,l=e[0].lineHeight,u=e[0].height;if("middle"!==s&&l&&u){var c={top:1,bottom:-1}[s],f=c*(.5*(l-u+3));i.attr("transform",a(0,f))}else i.attr("transform",null);var p=i.selectAll("g.legendfill").data([e]);p.enter().append("g").classed("legendfill",!0);var d=i.selectAll("g.legendlines").data([e]);d.enter().append("g").classed("legendlines",!0);var h=i.selectAll("g.legendsymbols").data([e]);h.enter().append("g").classed("legendsymbols",!0),h.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each(F).each(S).each(M).each(O).each(B).each(j).each(I).each(T).each(C).each(L).each(D)}},ee92:function(e,t,r){"use strict";var n=r("faa1").EventEmitter,i=r("371e"),o=r("fc26"),a=r("4248"),s=r("d18e"),l=r("cb04"),u=r("4ebd");function c(e,t){var r=new n,c=s(e,{format:"png"}),f=c.gd;function p(){var e=a.getDelay(f._fullLayout);setTimeout((function(){var e=l(f),n=document.createElement("canvas");n.id=o.randstr(),r=u({format:t.format,width:f._fullLayout.width,height:f._fullLayout.height,canvas:n,emitter:r,svg:e}),r.clean=function(){f&&document.body.removeChild(f)}}),e)}f.style.position="absolute",f.style.left="-5000px",document.body.appendChild(f);var d=a.getRedrawFunc(f);return i.call("plot",f,c.data,c.layout,c.config).then(d).then(p).catch((function(e){r.emit("error",e)})),r}e.exports=c},eeb3:function(e,t,r){"use strict";var n=r("e639");e.exports={moduleType:"component",name:n.name,layoutAttributes:r("9c5f"),supplyLayoutDefaults:r("7210"),draw:r("f103")}},eebb:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return i}));var n=r("232b");function i(e){for(var t,r=[],i=0,s=0,l=0,u=0,c=null,f=null,p=0,d=0,h=0,v=e.length;h<v;h++){var m=e[h],g=m[0];switch(g){case"M":l=m[1],u=m[2];break;case"A":var y=n({px:p,py:d,cx:m[6],cy:m[7],rx:m[1],ry:m[2],xAxisRotation:m[3],largeArcFlag:m[4],sweepFlag:m[5]});if(!y.length)continue;for(var b,x=0;x<y.length;x++)b=y[x],m=["C",b.x1,b.y1,b.x2,b.y2,b.x,b.y],x<y.length-1&&r.push(m);break;case"S":var A=p,w=d;"C"!=t&&"S"!=t||(A+=A-i,w+=w-s),m=["C",A,w,m[1],m[2],m[3],m[4]];break;case"T":"Q"==t||"T"==t?(c=2*p-c,f=2*d-f):(c=p,f=d),m=a(p,d,c,f,m[1],m[2]);break;case"Q":c=m[1],f=m[2],m=a(p,d,m[1],m[2],m[3],m[4]);break;case"L":m=o(p,d,m[1],m[2]);break;case"H":m=o(p,d,m[1],d);break;case"V":m=o(p,d,p,m[1]);break;case"Z":m=o(p,d,l,u);break}t=g,p=m[m.length-2],d=m[m.length-1],m.length>4?(i=m[m.length-4],s=m[m.length-3]):(i=p,s=d),r.push(m)}return r}function o(e,t,r,n){return["C",e,t,r,n,r,n]}function a(e,t,r,n,i,o){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,o/3+2/3*n,i,o]}},eec7:function(e,t,r){"use strict";var n=r("0642"),i=r("fc26").isArray1D,o=r("4eee"),a=r("7a4a"),s=r("7fbb"),l=r("8b79"),u=r("d577"),c=r("1b6a"),f=r("25f9"),p=r("d064"),d=r("dfb0");e.exports=function(e,t){var r=n.getFromId(e,t.xaxis),h=n.getFromId(e,t.yaxis),v=t.aaxis,m=t.baxis,g=t.x,y=t.y,b=[];g&&i(g)&&b.push("x"),y&&i(y)&&b.push("y"),b.length&&p(t,v,m,"a","b",b);var x=t._a=t._a||t.a,A=t._b=t._b||t.b;g=t._x||t.x,y=t._y||t.y;var w={};if(t._cheater){var _="index"===v.cheatertype?x.length:x,E="index"===m.cheatertype?A.length:A;g=o(_,E,t.cheaterslope)}t._x=g=c(g),t._y=y=c(y),f(g,x,A),f(y,x,A),d(t),t.setScale();var k=a(g),T=a(y),C=.5*(k[1]-k[0]),S=.5*(k[1]+k[0]),O=.5*(T[1]-T[0]),M=.5*(T[1]+T[0]),P=1.3;return k=[S-C*P,S+C*P],T=[M-O*P,M+O*P],t._extremes[r._id]=n.findExtremes(r,k,{padded:!0}),t._extremes[h._id]=n.findExtremes(h,T,{padded:!0}),s(t,"a","b"),s(t,"b","a"),l(t,v),l(t,m),w.clipsegments=u(t._xctrl,t._yctrl,v,m),w.x=g,w.y=y,w.a=x,w.b=A,[w]}},ef00:function(e,t,r){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},ef33:function(e,t,r){"use strict";var n=.5;e.exports=function(e,t,r,i){var o=e[0]-t[0],a=e[1]-t[1],s=r[0]-t[0],l=r[1]-t[1],u=Math.pow(o*o+a*a,n/2),c=Math.pow(s*s+l*l,n/2),f=(c*c*o-u*u*s)*i,p=(c*c*a-u*u*l)*i,d=c*(u+c)*3,h=u*(u+c)*3;return[[t[0]+(d&&f/d),t[1]+(d&&p/d)],[t[0]-(h&&f/h),t[1]-(h&&p/h)]]}},ef49:function(e,t){function r(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}e.exports=r},ef5d:function(e,t){function r(e){return function(t){return null==t?void 0:t[e]}}e.exports=r},ef6e:function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,a,s=e.cd,l=e.xaxis,u=e.yaxis,c=[];if(!1===t)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)n=s[r],i=n.ct,i&&(o=l.c2p(i),a=u.c2p(i),t.contains([o,a],null,r,e)?(c.push({pointNumber:r,lon:i[0],lat:i[1]}),n.selected=1):n.selected=0);return c}},ef7a:function(e,t,r){"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}},efaa:function(e,t,r){"use strict";e.exports=function(e,t,r){if(0===e.length)return"";var n,i=[],o=r?3:1;for(n=0;n<e.length;n+=o)i.push(e[n]+","+t[n]),r&&n<e.length-o&&(i.push("C"),i.push([e[n+1]+","+t[n+1],e[n+2]+","+t[n+2]+" "].join(" ")));return i.join(r?"":"L")}},efb6:function(e,t,r){var n=r("5e2e");function i(){this.__data__=new n,this.size=0}e.exports=i},efcd:function(e,t,r){"use strict";var n=r("391b");function i(e,t,r,i){var a=n(e,t,r,i);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index)return a;var l=e.subplot,u=s.cd[s.index],c=s.trace;if(l.isPtInside(u))return s.xLabelVal=void 0,s.yLabelVal=void 0,o(u,c,l,s),s.hovertemplate=c.hovertemplate,a}}function o(e,t,r,n){var i=r.radialAxis,o=r.angularAxis;i._hovertitle="r",o._hovertitle="θ";var a={};a[t.subplot]={_subplot:r};var s=t._module.formatLabels(e,t,a);n.rLabel=s.rLabel,n.thetaLabel=s.thetaLabel;var l=e.hi||t.hoverinfo,u=[];function c(e,t){u.push(e._hovertitle+": "+t)}if(!t.hovertemplate){var f=l.split("+");-1!==f.indexOf("all")&&(f=["r","theta","text"]),-1!==f.indexOf("r")&&c(i,n.rLabel),-1!==f.indexOf("theta")&&c(o,n.thetaLabel),-1!==f.indexOf("text")&&n.text&&(u.push(n.text),delete n.text),n.extraText=u.join("<br>")}}e.exports={hoverPoints:i,makeHoverPointText:o}},efce:function(e,t,r){"use strict";var n=r("cea5"),i=r("62d6"),o=r("b5bb"),a=["uint8","uint8_clamped","uint16","uint32","int8","int16","int32","float32"];function s(e,t,r,n,i){this.gl=e,this.type=t,this.handle=r,this.length=n,this.usage=i}var l=s.prototype;function u(e,t,r,n,i,o){var a=i.length*i.BYTES_PER_ELEMENT;if(o<0)return e.bufferData(t,i,n),a;if(a+o>r)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return e.bufferSubData(t,o,i),r}function c(e,t){for(var r=n.malloc(e.length,t),i=e.length,o=0;o<i;++o)r[o]=e[o];return r}function f(e,t){for(var r=1,n=t.length-1;n>=0;--n){if(t[n]!==r)return!1;r*=e[n]}return!0}function p(e,t,r,n){if(r=r||e.ARRAY_BUFFER,n=n||e.DYNAMIC_DRAW,r!==e.ARRAY_BUFFER&&r!==e.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(n!==e.DYNAMIC_DRAW&&n!==e.STATIC_DRAW&&n!==e.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var i=e.createBuffer(),o=new s(e,r,i,0,n);return o.update(t),o}l.bind=function(){this.gl.bindBuffer(this.type,this.handle)},l.unbind=function(){this.gl.bindBuffer(this.type,null)},l.dispose=function(){this.gl.deleteBuffer(this.handle)},l.update=function(e,t){if("number"!==typeof t&&(t=-1),this.bind(),"object"===typeof e&&"undefined"!==typeof e.shape){var r=e.dtype;if(a.indexOf(r)<0&&(r="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var s=gl.getExtension("OES_element_index_uint");r=s&&"uint16"!==r?"uint32":"uint16"}if(r===e.dtype&&f(e.shape,e.stride))0===e.offset&&e.data.length===e.shape[0]?this.length=u(this.gl,this.type,this.length,this.usage,e.data,t):this.length=u(this.gl,this.type,this.length,this.usage,e.data.subarray(e.offset,e.shape[0]),t);else{var l=n.malloc(e.size,r),p=o(l,e.shape);i.assign(p,e),this.length=u(this.gl,this.type,this.length,this.usage,t<0?l:l.subarray(0,e.size),t),n.free(l)}}else if(Array.isArray(e)){var d;d=this.type===this.gl.ELEMENT_ARRAY_BUFFER?c(e,"uint16"):c(e,"float32"),this.length=u(this.gl,this.type,this.length,this.usage,t<0?d:d.subarray(0,e.length),t),n.free(d)}else if("object"===typeof e&&"number"===typeof e.length)this.length=u(this.gl,this.type,this.length,this.usage,e,t);else{if("number"!==typeof e&&void 0!==e)throw new Error("gl-buffer: Invalid data type");if(t>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");e|=0,e<=0&&(e=1),this.gl.bufferData(this.type,0|e,this.usage),this.length=e}},e.exports=p},eff1:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=f(r("14e0")),o=u(r("f51b")),a=u(r("88e7")),s=u(r("d7bc")),l=f(r("ab5b"));function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=240,_=function(e){v(r,e);var t=g(r);function r(e){var n;return p(this,r),n=t.call(this,e),n.state={selectedColorscaleType:e.initialCategory||"sequential",showColorscalePicker:!1},n.onChange=n.onChange.bind(b(n)),n.onClick=n.onClick.bind(b(n)),n}return h(r,[{key:"onClick",value:function(){this.setState({showColorscalePicker:!this.state.showColorscalePicker})}},{key:"onChange",value:function(e){this.setState({selectedColorscaleType:e})}},{key:"render",value:function(){var e=this.props,t=e.onColorscaleChange,r=e.selected,n=e.disableCategorySwitch,s=this.state,u=s.selectedColorscaleType,c=s.showColorscalePicker,f=i.COLOR_PICKER_CONSTANTS.COLORSCALE_DESCRIPTIONS[u],p=i.COLOR_PICKER_CONSTANTS.COLORSCALE_TYPES.filter((function(e){return"custom"!==e})).map((function(e){return{label:e+" scales",value:e}})),d=this.context.localize;return l.default.createElement("div",{className:"customPickerContainer"},l.default.createElement("div",{className:"customPickerContainer__clickable"},l.default.createElement(i.Colorscale,{colorscale:r,onClick:this.onClick})),c?l.default.createElement("div",{className:"customPickerContainer__expanded-content"},n?null:l.default.createElement(o.default,{options:p,value:u,onChange:this.onChange,clearable:!1,searchable:!1,placeholder:d("Select a Colorscale Type"),className:"customPickerContainer__category-dropdown"}),f?l.default.createElement("div",{className:"customPickerContainer__palettes"},l.default.createElement(i.default,{onChange:t,colorscale:r,width:w,colorscaleType:this.state.selectedColorscaleType,onColorscaleTypeChange:this.onColorscaleTypeChange,disableSwatchControls:!0,scaleLength:7}),l.default.createElement(a.default,{className:"customPickerContainer__info"},f)):null):null)}}]),r}(l.Component);_.propTypes={onColorscaleChange:s.default.func,selected:s.default.array,label:s.default.string,initialCategory:s.default.string,disableCategorySwitch:s.default.bool},_.contextTypes={localize:s.default.func};var E=_;t.default=E},effd:function(e,t,r){"use strict";var n=r("1b23");function i(e){return!(!e||!e.ownerDocument)&&(n(e)&&"A"===e.nodeName)}e.exports=i},f027:function(e,t,r){"use strict";var n=r("e7bd"),i=r("d115").addOpacity,o=r("371e"),a=r("fc26"),s=r("d92f"),l=r("5008"),u=r("d18b"),c=r("1a40"),f=r("0b77");function p(e,t){if("-"===e.type){var r=e._id,n=r.charAt(0),i=n+"calendar",o=e[i];e.type=f(t,o,{autotypenumbers:e.autotypenumbers})}}e.exports=function(e,t,r){var f=r.letter,d=r.font||{},h=n[f+"axis"];function v(r,n){return a.coerce(e,t,h,r,n)}function m(r,n){return a.coerce2(e,t,h,r,n)}r.name&&(t._name=r.name,t._id=r.name),v("autotypenumbers",r.autotypenumbersDflt);var g=v("type");if("-"===g&&(r.data&&p(t,r.data),"-"===t.type?t.type="linear":g=e.type=t.type),v("smoothing"),v("cheatertype"),v("showticklabels"),v("labelprefix",f+" = "),v("labelsuffix"),v("showtickprefix"),v("showticksuffix"),v("separatethousands"),v("tickformat"),v("exponentformat"),v("minexponent"),v("showexponent"),v("categoryorder"),v("tickmode"),v("tickvals"),v("ticktext"),v("tick0"),v("dtick"),"array"===t.tickmode&&(v("arraytick0"),v("arraydtick")),v("labelpadding"),t._hovertitle=f,"date"===g){var y=o.getComponentMethod("calendars","handleDefaults");y(e,t,"calendar",r.calendar)}c(t,r.fullLayout),t.c2p=a.identity;var b=v("color",r.dfltColor),x=b===e.color?b:d.color,A=v("title.text");A&&(a.coerceFont(v,"title.font",{family:d.family,size:Math.round(1.2*d.size),color:x}),v("title.offset")),v("tickangle");var w=v("autorange",!t.isValidRange(e.range));w&&v("rangemode"),v("range"),t.cleanRange(),v("fixedrange"),s(e,t,v,g),l(e,t,v,g,r),u(e,t,v,{data:r.data,dataAttr:f});var _=m("gridcolor",i(b,.3)),E=m("gridwidth"),k=v("showgrid");k||(delete t.gridcolor,delete t.gridwidth);var T=m("startlinecolor",b),C=m("startlinewidth",E),S=v("startline",t.showgrid||!!T||!!C);S||(delete t.startlinecolor,delete t.startlinewidth);var O=m("endlinecolor",b),M=m("endlinewidth",E),P=v("endline",t.showgrid||!!O||!!M);return P||(delete t.endlinecolor,delete t.endlinewidth),k?(v("minorgridcount"),v("minorgridwidth",E),v("minorgridcolor",i(_,.06)),t.minorgridcount||(delete t.minorgridwidth,delete t.minorgridcolor)):(delete t.gridcolor,delete t.gridWidth),"none"===t.showticklabels&&(delete t.tickfont,delete t.tickangle,delete t.showexponent,delete t.exponentformat,delete t.minexponent,delete t.tickformat,delete t.showticksuffix,delete t.showtickprefix),t.showticksuffix||delete t.ticksuffix,t.showtickprefix||delete t.tickprefix,v("tickmode"),t}},f05f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M26 5.625l-3.875 4.5A8.43 8.43 0 0 1 24.5 16a8.93 8.93 0 0 1-.188 1.813L30 19.501c.25-1.125.375-2.313.375-3.5A14.49 14.49 0 0 0 26 5.626zM12 8.5a8.622 8.622 0 0 1 4-1c1.75 0 3.313.5 4.688 1.438l3.813-4.563c-2.375-1.75-5.313-2.75-8.5-2.75-2.625 0-5.063.688-7.188 1.875zm11.625 11.125c-1.25 2.625-3.813 4.563-7 4.813v5.938a14.51 14.51 0 0 0 12.688-9.063zm-8.875 4.813c-4.188-.563-7.313-4.125-7.313-8.438 0-2.563 1.188-4.875 2.938-6.438l-3.188-5C3.749 7.25 1.499 11.375 1.499 16c0 7.563 5.875 13.75 13.25 14.375z"}))};t.default=u},f069:function(e,t,r){"use strict";var n=r("1c0b"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f09f:function(e,t,r){"use strict";e.exports=function(e,t,r){return t&&r?function(t,r,n,i,o){var a,s,l,u,c,f;t||(t=[]),r*=3,n*=3;var p=i*i,d=1-i,h=d*d,v=d*i*2,m=-3*h,g=3*(h-v),y=3*(v-p),b=3*p,x=o*o,A=x*o,w=1-o,_=w*w,E=_*w;for(f=0;f<e.length;f++)c=e[f],a=m*c[n][r]+g*c[n][r+1]+y*c[n][r+2]+b*c[n][r+3],s=m*c[n+1][r]+g*c[n+1][r+1]+y*c[n+1][r+2]+b*c[n+1][r+3],l=m*c[n+2][r]+g*c[n+2][r+1]+y*c[n+2][r+2]+b*c[n+2][r+3],u=m*c[n+3][r]+g*c[n+3][r+1]+y*c[n+3][r+2]+b*c[n+3][r+3],t[f]=E*a+3*(_*o*s+w*x*l)+A*u;return t}:t?function(t,r,n,i,o){var a,s,l,u;t||(t=[]),r*=3;var c=i*i,f=1-i,p=f*f,d=f*i*2,h=-3*p,v=3*(p-d),m=3*(d-c),g=3*c,y=1-o;for(l=0;l<e.length;l++)u=e[l],a=h*u[n][r]+v*u[n][r+1]+m*u[n][r+2]+g*u[n][r+3],s=h*u[n+1][r]+v*u[n+1][r+1]+m*u[n+1][r+2]+g*u[n+1][r+3],t[l]=y*a+o*s;return t}:r?function(t,r,n,i,o){var a,s,l,u,c,f;t||(t=[]),n*=3;var p=o*o,d=p*o,h=1-o,v=h*h,m=v*h;for(c=0;c<e.length;c++)f=e[c],a=f[n][r+1]-f[n][r],s=f[n+1][r+1]-f[n+1][r],l=f[n+2][r+1]-f[n+2][r],u=f[n+3][r+1]-f[n+3][r],t[c]=m*a+3*(v*o*s+h*p*l)+d*u;return t}:function(t,r,n,i,o){var a,s,l,u;t||(t=[]);var c=1-o;for(l=0;l<e.length;l++)u=e[l],a=u[n][r+1]-u[n][r],s=u[n+1][r+1]-u[n+1][r],t[l]=c*a+o*s;return t}}},f0f7:function(e,t,r){"use strict";t.__esModule=!0,t.getChildMapping=i,t.mergeChildMappings=o,t.getInitialChildMapping=s,t.getNextChildMapping=l;var n=r("ab5b");function i(e,t){var r=function(e){return t&&(0,n.isValidElement)(e)?t(e):e},i=Object.create(null);return e&&n.Children.map(e,(function(e){return e})).forEach((function(e){i[e.key]=r(e)})),i}function o(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var u=i[l][n];s[i[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}function a(e,t,r){return null!=r[t]?r[t]:e.props[t]}function s(e,t){return i(e.children,(function(r){return(0,n.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:a(r,"appear",e),enter:a(r,"enter",e),exit:a(r,"exit",e)})}))}function l(e,t,r){var s=i(e.children),l=o(t,s);return Object.keys(l).forEach((function(i){var o=l[i];if((0,n.isValidElement)(o)){var u=i in t,c=i in s,f=t[i],p=(0,n.isValidElement)(f)&&!f.props.in;!c||u&&!p?c||!u||p?c&&u&&(0,n.isValidElement)(f)&&(l[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:f.props.in,exit:a(o,"exit",e),enter:a(o,"enter",e)})):l[i]=(0,n.cloneElement)(o,{in:!1}):l[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:a(o,"exit",e),enter:a(o,"enter",e)})}})),l}},f103:function(e,t,r){"use strict";var n=r("6e58"),i=r("bb71"),o=r("d115"),a=r("83d1"),s=r("fc26"),l=s.strTranslate,u=r("0379"),c=r("a651").arrayEditor,f=r("e639"),p=r("63dc"),d=p.LINE_SPACING,h=p.FROM_TL,v=p.FROM_BR;function m(e){return f.autoMarginIdRoot+e._index}function g(e,t){for(var r=e[f.name],n=[],i=0;i<r.length;i++){var o=r[i];o.visible&&(o._gd=t,n.push(o))}return n}function y(e){return e._index}function b(e,t){var r=a.tester.selectAll("g."+f.labelGroupClass).data(t._visibleSteps);r.enter().append("g").classed(f.labelGroupClass,!0);var o=0,l=0;r.each((function(e){var r=n.select(this),i=_(r,{step:e},t),s=i.node();if(s){var u=a.bBox(s);l=Math.max(l,u.height),o=Math.max(o,u.width)}})),r.remove();var c=t._dims={};c.inputAreaWidth=Math.max(f.railWidth,f.gripHeight);var p=e._fullLayout._size;c.lx=p.l+p.w*t.x,c.ly=p.t+p.h*(1-t.y),"fraction"===t.lenmode?c.outerLength=Math.round(p.w*t.len):c.outerLength=t.len,c.inputAreaStart=0,c.inputAreaLength=Math.round(c.outerLength-t.pad.l-t.pad.r);var d=c.inputAreaLength-2*f.stepInset,g=d/(t._stepCount-1),y=o+f.labelPadding;if(c.labelStride=Math.max(1,Math.ceil(y/g)),c.labelHeight=l,c.currentValueMaxWidth=0,c.currentValueHeight=0,c.currentValueTotalHeight=0,c.currentValueMaxLines=1,t.currentvalue.visible){var b=a.tester.append("g");r.each((function(e){var r=A(b,t,e.label),n=r.node()&&a.bBox(r.node())||{width:0,height:0},i=u.lineCount(r);c.currentValueMaxWidth=Math.max(c.currentValueMaxWidth,Math.ceil(n.width)),c.currentValueHeight=Math.max(c.currentValueHeight,Math.ceil(n.height)),c.currentValueMaxLines=Math.max(c.currentValueMaxLines,i)})),c.currentValueTotalHeight=c.currentValueHeight+t.currentvalue.offset,b.remove()}c.height=c.currentValueTotalHeight+f.tickOffset+t.ticklen+f.labelOffset+c.labelHeight+t.pad.t+t.pad.b;var x="left";s.isRightAnchor(t)&&(c.lx-=c.outerLength,x="right"),s.isCenterAnchor(t)&&(c.lx-=c.outerLength/2,x="center");var w="top";s.isBottomAnchor(t)&&(c.ly-=c.height,w="bottom"),s.isMiddleAnchor(t)&&(c.ly-=c.height/2,w="middle"),c.outerLength=Math.ceil(c.outerLength),c.height=Math.ceil(c.height),c.lx=Math.round(c.lx),c.ly=Math.round(c.ly);var E={y:t.y,b:c.height*v[w],t:c.height*h[w]};"fraction"===t.lenmode?(E.l=0,E.xl=t.x-t.len*h[x],E.r=0,E.xr=t.x+t.len*v[x]):(E.x=t.x,E.l=c.outerLength*h[x],E.r=c.outerLength*v[x]),i.autoMargin(e,m(t),E)}function x(e,t,r){(r.steps[r.active]||{}).visible||(r.active=r._visibleSteps[0]._index),t.call(A,r).call(D,r).call(E,r).call(S,r).call(L,e,r).call(w,e,r);var n=r._dims;a.setTranslate(t,n.lx+r.pad.l,n.ly+r.pad.t),t.call(M,r,!1),t.call(A,r)}function A(e,t,r){if(t.currentvalue.visible){var n,i,o=t._dims;switch(t.currentvalue.xanchor){case"right":n=o.inputAreaLength-f.currentValueInset-o.currentValueMaxWidth,i="left";break;case"center":n=.5*o.inputAreaLength,i="middle";break;default:n=f.currentValueInset,i="left"}var l=s.ensureSingle(e,"text",f.labelClass,(function(e){e.attr({"text-anchor":i,"data-notex":1})})),c=t.currentvalue.prefix?t.currentvalue.prefix:"";if("string"===typeof r)c+=r;else{var p=t.steps[t.active].label,h=t._gd._fullLayout._meta;h&&(p=s.templateString(p,h)),c+=p}t.currentvalue.suffix&&(c+=t.currentvalue.suffix),l.call(a.font,t.currentvalue.font).text(c).call(u.convertToTspans,t._gd);var v=u.lineCount(l),m=(o.currentValueMaxLines+1-v)*t.currentvalue.font.size*d;return u.positionText(l,n,m),l}}function w(e,t,r){var n=s.ensureSingle(e,"rect",f.gripRectClass,(function(n){n.call(C,t,e,r).style("pointer-events","all")}));n.attr({width:f.gripWidth,height:f.gripHeight,rx:f.gripRadius,ry:f.gripRadius}).call(o.stroke,r.bordercolor).call(o.fill,r.bgcolor).style("stroke-width",r.borderwidth+"px")}function _(e,t,r){var n=s.ensureSingle(e,"text",f.labelClass,(function(e){e.attr({"text-anchor":"middle","data-notex":1})})),i=t.step.label,o=r._gd._fullLayout._meta;return o&&(i=s.templateString(i,o)),n.call(a.font,r.font).text(i).call(u.convertToTspans,r._gd),n}function E(e,t){var r=s.ensureSingle(e,"g",f.labelsClass),i=t._dims,o=r.selectAll("g."+f.labelGroupClass).data(i.labelSteps);o.enter().append("g").classed(f.labelGroupClass,!0),o.exit().remove(),o.each((function(e){var r=n.select(this);r.call(_,e,t),a.setTranslate(r,P(t,e.fraction),f.tickOffset+t.ticklen+t.font.size*d+f.labelOffset+i.currentValueTotalHeight)}))}function k(e,t,r,n,i){var o=Math.round(n*(r._stepCount-1)),a=r._visibleSteps[o]._index;a!==r.active&&T(e,t,r,a,!0,i)}function T(e,t,r,n,o,a){var s=r.active;r.active=n,c(e.layout,f.name,r).applyUpdate("active",n);var l=r.steps[r.active];t.call(M,r,a),t.call(A,r),e.emit("plotly_sliderchange",{slider:r,step:r.steps[r.active],interaction:o,previousActive:s}),l&&l.method&&o&&(t._nextMethod?(t._nextMethod.step=l,t._nextMethod.doCallback=o,t._nextMethod.doTransition=a):(t._nextMethod={step:l,doCallback:o,doTransition:a},t._nextMethodRaf=window.requestAnimationFrame((function(){var r=t._nextMethod.step;r.method&&(r.execute&&i.executeAPICommand(e,r.method,r.args),t._nextMethod=null,t._nextMethodRaf=null)}))))}function C(e,t,r){var i=r.node(),a=n.select(t);function s(){return r.data()[0]}e.on("mousedown",(function(){var e=s();t.emit("plotly_sliderstart",{slider:e});var l=r.select("."+f.gripRectClass);n.event.stopPropagation(),n.event.preventDefault(),l.call(o.fill,e.activebgcolor);var u=B(e,n.mouse(i)[0]);k(t,r,e,u,!0),e._dragging=!0,a.on("mousemove",(function(){var e=s(),o=B(e,n.mouse(i)[0]);k(t,r,e,o,!1)})),a.on("mouseup",(function(){var e=s();e._dragging=!1,l.call(o.fill,e.bgcolor),a.on("mouseup",null),a.on("mousemove",null),t.emit("plotly_sliderend",{slider:e,step:e.steps[e.active]})}))}))}function S(e,t){var r=e.selectAll("rect."+f.tickRectClass).data(t._visibleSteps),i=t._dims;r.enter().append("rect").classed(f.tickRectClass,!0),r.exit().remove(),r.attr({width:t.tickwidth+"px","shape-rendering":"crispEdges"}),r.each((function(e,r){var s=r%i.labelStride===0,l=n.select(this);l.attr({height:s?t.ticklen:t.minorticklen}).call(o.fill,t.tickcolor),a.setTranslate(l,P(t,r/(t._stepCount-1))-.5*t.tickwidth,(s?f.tickOffset:f.minorTickOffset)+i.currentValueTotalHeight)}))}function O(e){var t=e._dims;t.labelSteps=[];for(var r=e._stepCount,n=0;n<r;n+=t.labelStride)t.labelSteps.push({fraction:n/(r-1),step:e._visibleSteps[n]})}function M(e,t,r){for(var n=e.select("rect."+f.gripRectClass),i=0,o=0;o<t._stepCount;o++)if(t._visibleSteps[o]._index===t.active){i=o;break}var a=P(t,i/(t._stepCount-1));if(!t._invokingCommand){var s=n;r&&t.transition.duration>0&&(s=s.transition().duration(t.transition.duration).ease(t.transition.easing)),s.attr("transform",l(a-.5*f.gripWidth,t._dims.currentValueTotalHeight))}}function P(e,t){var r=e._dims;return r.inputAreaStart+f.stepInset+(r.inputAreaLength-2*f.stepInset)*Math.min(1,Math.max(0,t))}function B(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-f.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*f.stepInset-2*r.inputAreaStart)))}function L(e,t,r){var n=r._dims,i=s.ensureSingle(e,"rect",f.railTouchRectClass,(function(n){n.call(C,t,e,r).style("pointer-events","all")}));i.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,f.tickOffset+r.ticklen+n.labelHeight)}).call(o.fill,r.bgcolor).attr("opacity",0),a.setTranslate(i,0,n.currentValueTotalHeight)}function D(e,t){var r=t._dims,n=r.inputAreaLength-2*f.railInset,i=s.ensureSingle(e,"rect",f.railRectClass);i.attr({width:n,height:f.railWidth,rx:f.railRadius,ry:f.railRadius,"shape-rendering":"crispEdges"}).call(o.stroke,t.bordercolor).call(o.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),a.setTranslate(i,f.railInset,.5*(r.inputAreaWidth-f.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,r=g(t,e),o=t._infolayer.selectAll("g."+f.containerClassName).data(r.length>0?[0]:[]);function a(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),i.autoMargin(e,m(t))}if(o.enter().append("g").classed(f.containerClassName,!0).style("cursor","ew-resize"),o.exit().each((function(){n.select(this).selectAll("g."+f.groupClassName).each(a)})).remove(),0!==r.length){var s=o.selectAll("g."+f.groupClassName).data(r,y);s.enter().append("g").classed(f.groupClassName,!0),s.exit().each(a).remove();for(var l=0;l<r.length;l++){var u=r[l];b(e,u)}s.each((function(t){var r=n.select(this);O(t),i.manageCommandObserver(e,t,t._visibleSteps,(function(t){var n=r.data()[0];n.active!==t.index&&(n._dragging||T(e,r,n,t.index,!1,!0))})),x(e,n.select(this),t)}))}}},f118:function(e,t,r){"use strict";var n=r("6e58"),i=r("371e"),o=r("fc26"),a=o.ensureSingle,s=o.identity,l=r("83d1"),u=r("de81"),c=r("9cf1"),f=r("00bd"),p=r("b68b").tester;function d(e,t,r){t.each((function(t){var i=a(n.select(this),"g","fills");l.setClipUrl(i,r.layerClipId,e);var o=t[0].trace,u=[];o._ownfill&&u.push("_ownFill"),o._nexttrace&&u.push("_nextFill");var c=i.selectAll("g").data(u,s);c.enter().append("g"),c.exit().each((function(e){o[e]=null})).remove(),c.order().each((function(e){o[e]=a(n.select(this),"path","js-fill")}))}))}function h(e,t,r,f,d,h,m){var g;v(e,t,r,f,d);var y=!!m&&m.duration>0;function b(e){return y?e.transition():e}var x=r.xaxis,A=r.yaxis,w=f[0].trace,_=w.line,E=n.select(h),k=a(E,"g","errorbars"),T=a(E,"g","lines"),C=a(E,"g","points"),S=a(E,"g","text");if(i.getComponentMethod("errorbars","plot")(e,k,r,m),!0===w.visible){var O,M;b(E).style("opacity",w.opacity);var P=w.fill.charAt(w.fill.length-1);"x"!==P&&"y"!==P&&(P=""),f[0][r.isRangePlot?"nodeRangePlot3":"node3"]=E;var B,L,D="",I=[],j=w._prevtrace;j&&(D=j._prevRevpath||"",M=j._nextFill,I=j._polygons);var R,F,N,z,U,H,V,Q="",W="",K=[],q=o.noop;if(O=w._ownFill,u.hasLines(w)||"none"!==w.fill){for(M&&M.datum(f),-1!==["hv","vh","hvh","vhv"].indexOf(_.shape)?(R=l.steps(_.shape),F=l.steps(_.shape.split("").reverse().join(""))):R=F="spline"===_.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),_.smoothing):l.smoothopen(e,_.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return F(e.reverse())},K=c(f,{xaxis:x,yaxis:A,connectGaps:w.connectgaps,baseTolerance:Math.max(_.width||1,3)/4,shape:_.shape,simplify:_.simplify,fill:w.fill}),V=w._polygons=new Array(K.length),g=0;g<K.length;g++)w._polygons[g]=p(K[g]);K.length&&(z=K[0][0],U=K[K.length-1],H=U[U.length-1]),q=function(e){return function(t){if(B=R(t),L=N(t),Q?P?(Q+="L"+B.substr(1),W=L+"L"+W.substr(1)):(Q+="Z"+B,W=L+"Z"+W):(Q=B,W=L),u.hasLines(w)&&t.length>1){var r=n.select(this);if(r.datum(f),e)b(r.style("opacity",0).attr("d",B).call(l.lineGroupStyle)).style("opacity",1);else{var i=b(r);i.attr("d",B),l.singleLineStyle(f,i)}}}}}var G=T.selectAll(".js-line").data(K);b(G.exit()).style("opacity",0).remove(),G.each(q(!1)),G.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(q(!0)),l.setClipUrl(G,r.layerClipId,e),K.length?(O?(O.datum(f),z&&H&&(P?("y"===P?z[1]=H[1]=A.c2p(0,!0):"x"===P&&(z[0]=H[0]=x.c2p(0,!0)),b(O).attr("d","M"+H+"L"+z+"L"+Q.substr(1)).call(l.singleFillStyle)):b(O).attr("d",Q+"Z").call(l.singleFillStyle))):M&&("tonext"===w.fill.substr(0,6)&&Q&&D?("tonext"===w.fill?b(M).attr("d",Q+"Z"+D+"Z").call(l.singleFillStyle):b(M).attr("d",Q+"L"+D.substr(1)+"Z").call(l.singleFillStyle),w._polygons=w._polygons.concat(I)):(X(M),w._polygons=null)),w._prevRevpath=W,w._prevPolygons=V):(O?X(O):M&&X(M),w._polygons=w._prevRevpath=w._prevPolygons=null),C.datum(f),S.datum(f),ie(C,S,f);var $=!1===w.cliponaxis,Y=$?null:r.layerClipId;l.setClipUrl(C,Y,e),l.setClipUrl(S,Y,e)}function X(e){b(e).attr("d","M0,0Z")}function Z(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function ee(e){return e.filter((function(e){return!e.gap}))}function te(e){return e.id}function re(e){if(e.ids)return te}function ne(){return!1}function ie(t,i,o){var a,c,f,p=o[0].trace,d=u.hasMarkers(p),h=u.hasText(p),v=re(p),m=ne,g=ne;if(d||h){var w=s,_=p.stackgroup,E=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+A._id][_].stackgaps;p.marker.maxdisplayed||p._needsCull?w=E?J:Z:_&&!E&&(w=ee),d&&(m=w),h&&(g=w)}c=t.selectAll("path.point"),a=c.data(m,v);var k,T=a.enter().append("path").classed("point",!0);y&&T.call(l.pointStyle,p,e).call(l.translatePoints,x,A).style("opacity",0).transition().style("opacity",1),a.order(),d&&(k=l.makePointStyleFns(p)),a.each((function(t){var i=n.select(this),o=b(i);f=l.translatePoint(t,o,x,A),f?(l.singlePointStyle(t,o,p,k,e),r.layerClipId&&l.hideOutsideRangePoint(t,o,x,A,p.xcalendar,p.ycalendar),p.customdata&&i.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):o.remove()})),y?a.exit().transition().style("opacity",0).remove():a.exit().remove(),c=i.selectAll("g"),a=c.data(g,v),a.enter().append("g").classed("textpoint",!0).append("text"),a.order(),a.each((function(e){var t=n.select(this),i=b(t.select("text"));f=l.translatePoint(e,i,x,A),f?r.layerClipId&&l.hideOutsideRangePoint(e,t,x,A,p.xcalendar,p.ycalendar):t.remove()})),a.selectAll("text").call(l.textPointStyle,p,e).each((function(e){var t=x.c2p(e.x),r=A.c2p(e.y);n.select(this).selectAll("tspan.line").each((function(){b(n.select(this)).attr({x:t,y:r})}))})),a.exit().remove()}}function v(e,t,r,i,a){var s=r.xaxis,l=r.yaxis,c=n.extent(o.simpleMap(s.range,s.r2c)),f=n.extent(o.simpleMap(l.range,l.r2c)),p=i[0].trace;if(u.hasMarkers(p)){var d=p.marker.maxdisplayed;if(0!==d){var h=i.filter((function(e){return e.x>=c[0]&&e.x<=c[1]&&e.y>=f[0]&&e.y<=f[1]})),v=Math.ceil(h.length/d),m=0;a.forEach((function(e,r){var n=e[0].trace;u.hasMarkers(n)&&n.marker.maxdisplayed>0&&r<t&&m++}));var g=Math.round(m*v/3+Math.floor(m/3)*v/7.1);i.forEach((function(e){delete e.vis})),h.forEach((function(e,t){0===Math.round((t+g)%v)&&(e.vis=!0)}))}}}e.exports=function(e,t,r,i,o,a){var s,l,u=!o,c=!!o&&o.duration>0,p=f(e,t,r);if(s=i.selectAll("g.trace").data(p,(function(e){return e[0].trace.uid})),s.enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),s.order(),d(e,s,t),c){a&&(l=a());var v=n.transition().duration(o.duration).ease(o.easing).each("end",(function(){l&&l()})).each("interrupt",(function(){l&&l()}));v.each((function(){i.selectAll("g.trace").each((function(r,n){h(e,n,t,r,p,this,o)}))}))}else s.each((function(r,n){h(e,n,t,r,p,this,o)}));u&&s.exit().remove(),i.selectAll("path:not([d])").remove()}},f11b:function(e,t,r){"use strict";var n=r("a5c4"),i=r("fc26"),o=r("ac97").getTraceColor,a=i.fillText,s=r("efcd").makeHoverPointText,l=r("a60f").isPtInsidePolygon;e.exports=function(e,t,r){var u=e.cd,c=u[0].trace,f=e.subplot,p=f.radialAxis,d=f.angularAxis,h=f.vangles,v=h?l:i.isPtInsideSector,m=e.maxHoverDistance,g=d._period||2*Math.PI,y=Math.abs(p.g2p(Math.sqrt(t*t+r*r))),b=Math.atan2(r,t);p.range[0]>p.range[1]&&(b+=Math.PI);var x=function(e){return v(y,b,[e.rp0,e.rp1],[e.thetag0,e.thetag1],h)?m+Math.min(1,Math.abs(e.thetag1-e.thetag0)/g)-1+(e.rp1-y)/(e.rp1-e.rp0)-1:1/0};if(n.getClosest(u,x,e),!1!==e.index){var A=e.index,w=u[A];e.x0=e.x1=w.ct[0],e.y0=e.y1=w.ct[1];var _=i.extendFlat({},w,{r:w.s,theta:w.p});return a(w,c,e),s(_,c,f,e),e.hovertemplate=c.hovertemplate,e.color=o(c,w),e.xLabelVal=e.yLabelVal=void 0,w.s<0&&(e.idealAlign="left"),[e]}}},f144:function(e,t,r){"use strict";e.exports=E;var n=r("dca5"),i=r("a069"),o=r("6e1f"),a=r("f7bf"),s=r("41a1"),l=r("5aa9"),u=r("973c"),c=r("085f"),f=r("3029");function p(e){var t=l(e);return[c(t,-1/0),c(t,1/0)]}function d(e,t){for(var r=new Array(t.length),n=0;n<t.length;++n){var i=t[n],o=e[i[0]],a=e[i[1]];r[n]=[c(Math.min(o[0],a[0]),-1/0),c(Math.min(o[1],a[1]),-1/0),c(Math.max(o[0],a[0]),1/0),c(Math.max(o[1],a[1]),1/0)]}return r}function h(e){for(var t=new Array(e.length),r=0;r<e.length;++r){var n=e[r];t[r]=[c(n[0],-1/0),c(n[1],-1/0),c(n[0],1/0),c(n[1],1/0)]}return t}function v(e,t,r){var n=[];return i(r,(function(r,i){var a=t[r],s=t[i];if(a[0]!==s[0]&&a[0]!==s[1]&&a[1]!==s[0]&&a[1]!==s[1]){var l=e[a[0]],u=e[a[1]],c=e[s[0]],f=e[s[1]];o(l,u,c,f)&&n.push([r,i])}})),n}function m(e,t,r,n){var a=[];return i(r,n,(function(r,n){var i=t[r];if(i[0]!==n&&i[1]!==n){var s=e[n],l=e[i[0]],u=e[i[1]];o(l,u,s,s)&&a.push([r,n])}})),a}function g(e,t,r,n,i){var o,c,p=e.map((function(e){return[a(e[0]),a(e[1])]}));for(o=0;o<r.length;++o){var d=r[o];c=d[0];var h=d[1],v=t[c],m=t[h],g=f(u(e[v[0]]),u(e[v[1]]),u(e[m[0]]),u(e[m[1]]));if(g){var y=e.length;e.push([l(g[0]),l(g[1])]),p.push(g),n.push([c,y],[h,y])}}for(n.sort((function(e,t){if(e[0]!==t[0])return e[0]-t[0];var r=p[e[1]],n=p[t[1]];return s(r[0],n[0])||s(r[1],n[1])})),o=n.length-1;o>=0;--o){var b=n[o];c=b[0];var x=t[c],A=x[0],w=x[1],_=e[A],E=e[w];if((_[0]-E[0]||_[1]-E[1])<0){var k=A;A=w,w=k}x[0]=A;var T,C=x[1]=b[1];i&&(T=x[2]);while(o>0&&n[o-1][0]===c){b=n[--o];var S=b[1];i?t.push([C,S,T]):t.push([C,S]),C=S}i?t.push([C,w,T]):t.push([C,w])}return p}function y(e,t,r){for(var o=t.length,a=new n(o),s=[],l=0;l<t.length;++l){var u=t[l],f=p(u[0]),d=p(u[1]);s.push([c(f[0],-1/0),c(d[0],-1/0),c(f[1],1/0),c(d[1],1/0)])}i(s,(function(e,t){a.link(e,t)}));var h=!0,v=new Array(o);for(l=0;l<o;++l){var m=a.find(l);m!==l&&(h=!1,e[m]=[Math.min(e[l][0],e[m][0]),Math.min(e[l][1],e[m][1])])}if(h)return null;var g=0;for(l=0;l<o;++l){m=a.find(l);m===l?(v[l]=g,e[g++]=e[l]):v[l]=-1}e.length=g;for(l=0;l<o;++l)v[l]<0&&(v[l]=v[a.find(l)]);return v}function b(e,t){return e[0]-t[0]||e[1]-t[1]}function x(e,t){var r=e[0]-t[0]||e[1]-t[1];return r||(e[2]<t[2]?-1:e[2]>t[2]?1:0)}function A(e,t,r){if(0!==e.length){if(t)for(var n=0;n<e.length;++n){var i=e[n],o=t[i[0]],a=t[i[1]];i[0]=Math.min(o,a),i[1]=Math.max(o,a)}else for(n=0;n<e.length;++n){i=e[n],o=i[0],a=i[1];i[0]=Math.min(o,a),i[1]=Math.max(o,a)}r?e.sort(x):e.sort(b);var s=1;for(n=1;n<e.length;++n){var l=e[n-1],u=e[n];(u[0]!==l[0]||u[1]!==l[1]||r&&u[2]!==l[2])&&(e[s++]=u)}e.length=s}}function w(e,t,r){var n=y(e,[],h(e));return A(t,n,r),!!n}function _(e,t,r){var n=d(e,t),i=v(e,t,n),o=h(e),a=m(e,t,n,o),s=g(e,t,i,a,r),l=y(e,s,o);return A(t,l,r),!!l||(i.length>0||a.length>0)}function E(e,t,r){var n;if(r){n=t;for(var i=new Array(t.length),o=0;o<t.length;++o){var a=t[o];i[o]=[a[0],a[1],r[o]]}t=i}var s=w(e,t,!!r);while(_(e,t,!!r))s=!0;if(r&&s){n.length=0,r.length=0;for(o=0;o<t.length;++o){a=t[o];n.push([a[0],a[1]]),r.push(a[2])}}return s}},f177:function(e,t,r){"use strict";var n=r("de81"),i=r("e38a").styleTextSelection;e.exports=function(e,t){var r=e.cd,o=[],a=r[0].trace,s=r[0].t,l=a._length,u=s.x,c=s.y,f=s._scene,p=s.index;if(!f)return o;var d=n.hasText(a),h=n.hasMarkers(a),v=!h&&!d;if(!0!==a.visible||v)return o;var m=[],g=[];if(!1!==t&&!t.degenerate)for(var y=0;y<l;y++)t.contains([s.xpx[y],s.ypx[y]],!1,y,e)?(m.push(y),o.push({pointNumber:y,x:u[y],y:c[y]})):g.push(y);if(h){var b=f.scatter2d;if(m.length||g.length){if(!f.selectBatch[p].length&&!f.unselectBatch[p].length){var x=new Array(f.count);x[p]=f.markerUnselectedOptions[p],b.update.apply(b,x)}}else{var A=new Array(f.count);A[p]=f.markerOptions[p],b.update.apply(b,A)}}return f.selectBatch[p]=m,f.unselectBatch[p]=g,d&&i(r),o}},f17e:function(e,t,r){"use strict";e.exports=r("52d80")},f183:function(e,t,r){var n=r("d012"),i=r("861d"),o=r("5135"),a=r("9bf2").f,s=r("90e3"),l=r("bb2f"),u=s("meta"),c=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[u].objectID},h=function(e,t){if(!o(e,u)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[u].weakData},v=function(e){return l&&m.REQUIRED&&f(e)&&!o(e,u)&&p(e),e},m=e.exports={REQUIRED:!1,fastKey:d,getWeakData:h,onFreeze:v};n[u]=!0},f197:function(e,t,r){var n=r("ed98"),i=r("dcc8"),o=r("fb566"),a=r("b1c9"),s=r("9343"),l=r("ed2e"),u={length:r("8be6"),normalize:r("913b"),dot:r("e448"),cross:r("27a4")},c=i(),f=i(),p=[0,0,0,0],d=[[0,0,0],[0,0,0],[0,0,0]],h=[0,0,0];function v(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*a,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*a,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*a,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*a,e}function m(e,t){e[0][0]=t[0],e[0][1]=t[1],e[0][2]=t[2],e[1][0]=t[4],e[1][1]=t[5],e[1][2]=t[6],e[2][0]=t[8],e[2][1]=t[9],e[2][2]=t[10]}function g(e,t,r,n,i){e[0]=t[0]*n+r[0]*i,e[1]=t[1]*n+r[1]*i,e[2]=t[2]*n+r[2]*i}e.exports=function(e,t,r,i,y,b){if(t||(t=[0,0,0]),r||(r=[0,0,0]),i||(i=[0,0,0]),y||(y=[0,0,0,1]),b||(b=[0,0,0,1]),!n(c,e))return!1;if(o(f,c),f[3]=0,f[7]=0,f[11]=0,f[15]=1,Math.abs(a(f)<1e-8))return!1;var x=c[3],A=c[7],w=c[11],_=c[12],E=c[13],k=c[14],T=c[15];if(0!==x||0!==A||0!==w){p[0]=x,p[1]=A,p[2]=w,p[3]=T;var C=s(f,f);if(!C)return!1;l(f,f),v(y,p,f)}else y[0]=y[1]=y[2]=0,y[3]=1;if(t[0]=_,t[1]=E,t[2]=k,m(d,c),r[0]=u.length(d[0]),u.normalize(d[0],d[0]),i[0]=u.dot(d[0],d[1]),g(d[1],d[1],d[0],1,-i[0]),r[1]=u.length(d[1]),u.normalize(d[1],d[1]),i[0]/=r[1],i[1]=u.dot(d[0],d[2]),g(d[2],d[2],d[0],1,-i[1]),i[2]=u.dot(d[1],d[2]),g(d[2],d[2],d[1],1,-i[2]),r[2]=u.length(d[2]),u.normalize(d[2],d[2]),i[1]/=r[2],i[2]/=r[2],u.cross(h,d[1],d[2]),u.dot(d[0],h)<0)for(var S=0;S<3;S++)r[S]*=-1,d[S][0]*=-1,d[S][1]*=-1,d[S][2]*=-1;return b[0]=.5*Math.sqrt(Math.max(1+d[0][0]-d[1][1]-d[2][2],0)),b[1]=.5*Math.sqrt(Math.max(1-d[0][0]+d[1][1]-d[2][2],0)),b[2]=.5*Math.sqrt(Math.max(1-d[0][0]-d[1][1]+d[2][2],0)),b[3]=.5*Math.sqrt(Math.max(1+d[0][0]+d[1][1]+d[2][2],0)),d[2][1]>d[1][2]&&(b[0]=-b[0]),d[0][2]>d[2][0]&&(b[1]=-b[1]),d[1][0]>d[0][1]&&(b[2]=-b[2]),!0}},f1c3:function(e,t,r){"use strict";var n=r("371e"),i=r("79746");e.exports={moduleType:"trace",name:"splom",basePlotModule:r("f214"),categories:["gl","regl","cartesian","symbols","showLegend","scatter-like"],attributes:r("26e4"),supplyDefaults:r("22926"),colorbar:r("f3cf"),calc:r("e4d3"),plot:r("9d8f"),hoverPoints:r("4051").hoverPoints,selectPoints:r("806e"),editStyle:r("de96"),meta:{description:["Splom traces generate scatter plot matrix visualizations.","Each splom `dimensions` items correspond to a generated axis.","Values for each of those dimensions are set in `dimensions[i].values`.","Splom traces support all `scattergl` marker style attributes.","Specify `layout.grid` attributes and/or layout x-axis and y-axis attributes","for more control over the axis positioning and style. "].join(" ")}},n.register(i)},f1cd:function(e,t,r){"use strict";e.exports={attributes:r("e7bd"),supplyDefaults:r("4190"),plot:r("af2d"),calc:r("eec7"),animatable:!0,isContainer:!0,moduleType:"trace",name:"carpet",basePlotModule:r("91cd"),categories:["cartesian","svg","carpet","carpetAxis","notLegendIsolatable","noMultiCategory","noHover","noSortingByValue"],meta:{description:["The data describing carpet axis layout is set in `y` and (optionally)","also `x`. If only `y` is present, `x` the plot is interpreted as a","cheater plot and is filled in using the `y` values.","`x` and `y` may either be 2D arrays matching with each dimension matching","that of `a` and `b`, or they may be 1D arrays with total length equal to","that of `a` and `b`."].join(" ")}}},f1df:function(e,t,r){"use strict";var n=r("7f23"),i=r("7301"),o=i("draft_tree_data_support");function a(e,t,r){var i=e.getSelection(),a=e.getCurrentContent(),s=i,l=i.getAnchorKey(),u=i.getFocusKey(),c=a.getBlockForKey(l);if(o&&"forward"===r&&l!==u)return a;if(i.isCollapsed()){if("forward"===r){if(e.isSelectionAtEndOfContent())return a;if(o){var f=i.getAnchorOffset()===a.getBlockForKey(l).getLength();if(f){var p=a.getBlockForKey(c.nextSibling);if(!p||0===p.getLength())return a}}}else if(e.isSelectionAtStartOfContent())return a;if(s=t(e),s===i)return a}return n.removeRange(a,s,r)}e.exports=a},f200:function(e,t,r){"use strict";var n=r("a876"),i=r("94d5").hovertemplateAttrs,o=r("94d5").texttemplateAttrs,a=r("f4e9"),s=r("81f0").attributes,l=r("919e"),u=r("8ba9"),c=r("9092").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:c({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:c({},l.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:c({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:o({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:c({},n.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:i({},{keys:u.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:c({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",role:"style",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:l.sort,root:{color:{valType:"color",editType:"calc",role:"style",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst or a treemap trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:s({name:"sunburst",trace:!0,editType:"calc"})}},f214:function(e,t,r){"use strict";var n=r("e8ee"),i=r("371e"),o=r("cf42"),a=r("ad62").getModuleCalcData,s=r("91cd"),l=r("3c1c").getFromId,u=r("0642").shouldShowZeroLine,c="splom";function f(e){var t=e._fullLayout,r=i.getModule(c),n=a(e.calcdata,r)[0],s=o(e,["ANGLE_instanced_arrays","OES_element_index_uint"]);s&&(t._hasOnlyLargeSploms&&h(e),r.plot(e,{},n))}function p(e){var t=e.calcdata,r=e._fullLayout;r._hasOnlyLargeSploms&&h(e);for(var n=0;n<t.length;n++){var i=t[n][0],o=i.trace,a=r._splomScenes[o.uid];"splom"===o.type&&a&&a.matrix&&d(e,o,a)}}function d(e,t,r){for(var n=r.matrixOptions.data.length,i=t._visibleDims,o=r.viewOpts.ranges=new Array(n),a=0;a<i.length;a++){var s=i[a],u=o[a]=new Array(4),c=l(e,t._diag[s][0]);c&&(u[0]=c.r2l(c.range[0]),u[2]=c.r2l(c.range[1]));var f=l(e,t._diag[s][1]);f&&(u[1]=f.r2l(f.range[0]),u[3]=f.r2l(f.range[1]))}r.selectBatch.length||r.unselectBatch.length?r.matrix.update({ranges:o},{ranges:o}):r.matrix.update({ranges:o})}function h(e){var t=e._fullLayout,r=t._glcanvas.data()[0].regl,i=t._splomGrid;i||(i=t._splomGrid=n(r)),i.update(v(e))}function v(e){var t,r=e._fullLayout,n=r._size,i=[0,0,r.width,r.height],o={};function a(e,t,r,n,a,s){var l=t[e+"color"],u=t[e+"width"],c=String(l+u);c in o?o[c].data.push(NaN,NaN,r,n,a,s):o[c]={data:[r,n,a,s],join:"rect",thickness:u,color:l,viewport:i,range:i,overlay:!1}}for(t in r._splomSubplots){var s,l,c=r._plots[t],f=c.xaxis,p=c.yaxis,d=f._gridVals,h=p._gridVals,v=n.b+p.domain[0]*n.h,m=-p._m,g=-m*p.r2l(p.range[0],p.calendar);if(f.showgrid)for(t=0;t<d.length;t++)s=f._offset+f.l2p(d[t].x),a("grid",f,s,v,s,v+p._length);if(p.showgrid)for(t=0;t<h.length;t++)l=v+g+m*h[t].x,a("grid",p,f._offset,l,f._offset+f._length,l);u(e,f,p)&&(s=f._offset+f.l2p(0),a("zeroline",f,s,v,s,v+p._length)),u(e,p,f)&&(l=v+g+0,a("zeroline",p,f._offset,l,f._offset+f._length,l))}var y=[];for(t in o)y.push(o[t]);return y}function m(e,t,r,n){var i,o={};if(n._splomScenes){for(i=0;i<e.length;i++){var a=e[i];"splom"===a.type&&(o[a.uid]=1)}for(i=0;i<r.length;i++){var l=r[i];if(!o[l.uid]){var u=n._splomScenes[l.uid];u&&u.destroy&&u.destroy(),n._splomScenes[l.uid]=null,delete n._splomScenes[l.uid]}}}0===Object.keys(n._splomScenes||{}).length&&delete n._splomScenes,n._splomGrid&&!t._hasOnlyLargeSploms&&n._hasOnlyLargeSploms&&(n._splomGrid.destroy(),n._splomGrid=null,delete n._splomGrid),s.clean(e,t,r,n)}e.exports={name:c,attr:s.attr,attrRegex:s.attrRegex,layoutAttributes:s.layoutAttributes,supplyLayoutDefaults:s.supplyLayoutDefaults,drawFramework:s.drawFramework,plot:f,drag:p,updateGrid:h,clean:m,updateFx:s.updateFx,toSVG:s.toSVG}},f26d:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4C10,2.9 10.9,2 12,2C13.1,2 14,2.9 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21C14,22.1 13.1,23 12,23C10.9,23 10,22.1 10,21"}))};e.exports=s},f280:function(e,t,r){var n=r("db96"),i=n("./triangle-vertex.glsl"),o=n("./triangle-fragment.glsl"),a=n("./pick-vertex.glsl"),s=n("./pick-fragment.glsl");t.meshShader={vertex:i,fragment:o,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},t.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},f28b:function(e,t){function r(e,t){t=t||1;var r=2*Math.random()*Math.PI,n=2*Math.random()-1,i=Math.sqrt(1-n*n)*t;return e[0]=Math.cos(r)*i,e[1]=Math.sin(r)*i,e[2]=n*t,e}e.exports=r},f28e:function(e,t,r){"use strict";var n=r("371e"),i=r("79f1");e.exports=function(e,t){var r,o,a={},s=[],l=!1,u={},c=0,f=0,p=t._main;function d(e,r){if(""!==e&&i.isGrouped(t))-1===s.indexOf(e)?(s.push(e),l=!0,a[e]=[[r]]):a[e].push([r]);else{var n="~~i"+c;s.push(n),a[n]=[[r]],c++}}for(r=0;r<e.length;r++){var h=e[r],v=h[0],m=v.trace,g=m.legendgroup;if(!p||m.visible&&m.showlegend)if(n.traceIs(m,"pie-like"))for(u[g]||(u[g]={}),o=0;o<h.length;o++){var y=h[o].label;u[g][y]||(d(g,{label:y,color:h[o].color,i:h[o].i,trace:m,pts:h[o].pts}),u[g][y]=!0,f=Math.max(f,(y||"").length))}else d(g,v),f=Math.max(f,(m.name||"").length)}if(!s.length)return[];var b,x,A=s.length;if(l&&i.isGrouped(t))for(x=new Array(A),r=0;r<A;r++)b=a[s[r]],x[r]=i.isReversed(t)?b.reverse():b;else{for(x=[new Array(A)],r=0;r<A;r++)b=a[s[r]][0],x[0][i.isReversed(t)?A-r-1:r]=b;A=1}return t._lgroupsLength=A,t._maxNameLength=f,x}},f2a9:function(e,t,r){"use strict";e.exports=r("f1cd")},f2da:function(e,t,r){"use strict";var n=r("19b2"),i=r("e806").BADNUM,o=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"===typeof e&&(e=e.replace(o,"")),n(e)?Number(e):i}},f2e4:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i=r("9452"),o=r("4da8"),a=r("24f7"),s=a.List,l=a.Map,u=a.OrderedSet,c=a.Record,f=a.Repeat,p=u(),d={key:"",type:"unstyled",text:"",characterList:s(),depth:0,data:l()},h=c(d),v=function(e){if(!e)return e;var t=e.characterList,r=e.text;return r&&!t&&(e.characterList=s(f(i.EMPTY,r.length))),e},m=function(e){function t(t){return e.call(this,v(t))||this}n(t,e);var r=t.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():p},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){o(this.getCharacterList(),g,e,t)},r.findEntityRanges=function(e,t){o(this.getCharacterList(),y,e,t)},t}(h);function g(e,t){return e.getStyle()===t.getStyle()}function y(e,t){return e.getEntity()===t.getEntity()}e.exports=m},f31a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 26.3 21.6"},e),o.default.createElement("path",{class:"st0",d:"M21.8 2.1h-20C.9 2.1.1 2.7 0 3.7v16.4c.1.9.9 1.6 1.8 1.5h19.9c.9.1 1.7-.6 1.8-1.5V3.7c0-1-.8-1.7-1.7-1.6zm1.1 18c0 .6-.5 1-1.1.9h-20c-.5.1-1-.3-1.1-.9V3.7c0-.6.5-1 1.1-.9h19.9c.5-.1 1 .3 1.1.9v16.4z"}),o.default.createElement("path",{class:"st0",d:"M2.6 4c-.4 0-.7.3-.7.7v1.5h.7V4.7h1.8V4H2.6zM19.5 5.8H4.1c-.2 0-.4.2-.4.4v4.4c0 .2.1.4.3.4h15.5c.2 0 .4-.2.4-.3V6.2c0-.2-.1-.4-.4-.4.1 0 0 0 0 0zm-.3 4.4H4.4V6.6h14.8v3.6zM9.6 12.1H4c-.2 0-.3.1-.3.3V18c0 .2.1.3.3.4h5.6c.2 0 .4-.1.4-.3v-5.6c0-.2-.1-.4-.4-.4.1 0 0 0 0 0zm-5.2 5.6v-4.4l4.4 4.4H4.4zm4.9-.5l-4.4-4.4h4.4v4.4zM11.1 12.8h8.8v.7h-8.8zM12.5 14.5H20v.9h-7.5zM11.5 16.9h1v1h-1zM13.5 16.9h1v1h-1zM5.5.8L5.2.5c.1-.1.3-.2.5-.3l.2.5c-.2 0-.3 0-.4.1zM25.8 17.9l-.4-.4c.2-.2.3-.4.3-.7h.5c0 .5-.2.8-.4 1.1zm.4-2h-.5v-1h.5v1zm0-2h-.5v-1h.5v1zm0-2h-.5v-1h.5v1zm0-1.9h-.5V9h.5v1zm0-2h-.5V7h.5v1zm0-1.9h-.5v-1h.5v1zm0-2h-.5v-1h.5v1zm0-2h-.5v-.4c0-.1 0-.3-.1-.4l.5-.2c.1.2.1.4.1.6v.4zm-1-1.4c-.2-.1-.4-.2-.6-.2h-.3V0h.3c.3 0 .6.1.8.2l-.2.5zM23.4.5h-1V0h1v.5zm-2 0h-1V0h1v.5zm-1.9 0h-1V0h1v.5zm-2 0h-1V0h1v.5zm-2 0h-1V0h1v.5zm-1.9 0h-1V0h1v.5zm-2 0h-1V0h1v.5zm-2 0h-1V0h1v.5zM7.7.5h-1V0h1v.5zM24.2 17.8h.5v.5h-.5z"}))};t.default=u},f31e:function(e,t,r){"use strict";function n(e,t){t=t||new Array(e.length);for(var r=0;r<e.length;++r)t[e[r]]=r;return t}e.exports=n},f352:function(e,t,r){"use strict";var n=r("24f7"),i=r("65ff"),o=r("d8db"),a=n.Repeat;function s(e,t,r,n){t.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return e;var l=e.getBlockMap(),u=t.getStartKey(),c=t.getStartOffset(),f=l.get(u),p=f.getText(),d=f.merge({text:p.slice(0,c)+r+p.slice(c,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),c)}),h=c+s;return e.merge({blockMap:l.set(u,d),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}e.exports=s},f366:function(e,t,r){"use strict";e.exports=r("8755")},f36e:function(e,t,r){"use strict";e.exports=r("d831")},f372:function(e,t,r){"use strict";var n="undefined"!==typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;function i(e){return e=e||document,e.scrollingElement?e.scrollingElement:n||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}e.exports=i},f389:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=r("24f7"),o=i.List,a=".",s=function(){function e(e){n(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var r=Array(e.getText().length).fill(null);return this._decorators.forEach((function(n,i){var o=0,s=n.strategy,c=function(e,t){l(r,e,t)&&(u(r,e,t,i+a+o),o++)};s(e,c,t)})),o(r)},t.getComponentForKey=function(e){var t=parseInt(e.split(a)[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(a)[0],10);return this._decorators[t].props},e}();function l(e,t,r){for(var n=t;n<r;n++)if(null!=e[n])return!1;return!0}function u(e,t,r,n){for(var i=t;i<r;i++)e[i]=n}e.exports=s},f3a2:function(e,t,r){"use strict";var n=r("19b2"),i=r("fc26");e.exports=function(e,t,r,o){var a,s,l,u,c=o.counterAxes||[],f=o.overlayableAxes||[],p=o.letter,d=o.grid;d&&(s=d._domains[p][d._axisMap[t._id]],a=d._anchors[t._id],s&&(l=d[p+"side"].split(" ")[0],u=d.domain[p]["right"===l||"top"===l?1:0])),s=s||[0,1],a=a||(n(e.position)?"free":c[0]||"free"),l=l||("x"===p?"bottom":"left"),u=u||0;var h=i.coerce(e,t,{anchor:{valType:"enumerated",values:["free"].concat(c),dflt:a}},"anchor");"free"===h&&r("position",u),i.coerce(e,t,{side:{valType:"enumerated",values:"x"===p?["bottom","top"]:["left","right"],dflt:l}},"side");var v=!1;if(f.length&&(v=i.coerce(e,t,{overlaying:{valType:"enumerated",values:[!1].concat(f),dflt:!1}},"overlaying")),!v){var m=r("domain",s);m[0]>m[1]-1/4096&&(t.domain=s),i.noneOrAll(e.domain,t.domain,s)}return r("layer"),t}},f3a4:function(e,t,r){"use strict";e.exports=a;var n=r("1a3f");function i(e,t,r){for(var n=new Array(e),i=0;i<e;++i)n[i]=0,i===t&&(n[i]+=.5),i===r&&(n[i]+=.5);return n}function o(e,t){if(0===t||t===(1<<e+1)-1)return[];for(var r=[],o=[],a=0;a<=e;++a)if(t&1<<a){r.push(i(e,a-1,a-1)),o.push(null);for(var s=0;s<=e;++s)~t&1<<s&&(r.push(i(e,a-1,s-1)),o.push([a,s]))}var l=n(r),u=[];e:for(a=0;a<l.length;++a){var c=l[a],f=[];for(s=0;s<c.length;++s){if(!o[c[s]])continue e;f.push(o[c[s]].slice())}u.push(f)}return u}function a(e){for(var t=1<<e+1,r=new Array(t),n=0;n<t;++n)r[n]=o(e,n);return r}},f3a6:function(e,t,r){"use strict";var n=r("62c4"),i=Array.prototype.forEach,o=Object.create,a=function(e,t){var r;for(r in e)t[r]=e[r]};e.exports=function(e){var t=o(null);return i.call(arguments,(function(e){n(e)&&a(Object(e),t)})),t}},f3c1:function(e,t){var r=800,n=16,i=Date.now;function o(e){var t=0,o=0;return function(){var a=i(),s=n-(a-o);if(o=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=o},f3ca:function(e,t,r){"use strict";e.exports=r("a1d4")},f3cf:function(e,t,r){"use strict";e.exports={container:"marker",min:"cmin",max:"cmax"}},f3df:function(e,t,r){"use strict";var n=r("78d8").hiddenlabels;e.exports={hiddenlabels:n,funnelareacolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default funnelarea slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendfunnelareacolors`."].join(" ")},extendfunnelareacolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},f409:function(e,t,r){"use strict";var n=r("bf38"),i=r("81f0").attributes,o=r("9092").extendFlat,a=r("fc26").counterRegex;function s(e,t,r){return{x:{valType:"number",role:"info",dflt:e,editType:"camera"},y:{valType:"number",role:"info",dflt:t,editType:"camera"},z:{valType:"number",role:"info",dflt:r,editType:"camera"},editType:"camera"}}e.exports={_arrayAttrRegexps:[a("scene",".annotations",!0)],bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:o(s(0,0,1),{description:["Sets the (x,y,z) components of the 'up' camera vector.","This vector determines the up direction of this scene","with respect to the page.","The default is *{x: 0, y: 0, z: 1}* which means that","the z axis points up."].join(" ")}),center:o(s(0,0,0),{description:["Sets the (x,y,z) components of the 'center' camera vector","This vector determines the translation (x,y,z) space","about the center of this scene.","By default, there is no such translation."].join(" ")}),eye:o(s(1.25,1.25,1.25),{description:["Sets the (x,y,z) components of the 'eye' camera vector.","This vector determines the view point about the origin","of this scene."].join(" ")}),projection:{type:{valType:"enumerated",role:"info",values:["perspective","orthographic"],dflt:"perspective",editType:"calc",description:["Sets the projection type. The projection type could be","either *perspective* or *orthographic*. The default is","*perspective*."].join(" ")},editType:"calc"},editType:"camera"},domain:i({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",role:"info",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0},description:["If *cube*, this scene's axes are drawn as a cube,","regardless of the axes' ranges.","If *data*, this scene's axes are drawn","in proportion with the axes' ranges.","If *manual*, this scene's axes are drawn","in proportion with the input of *aspectratio*","(the default behavior if *aspectratio* is provided).","If *auto*, this scene's axes are drawn","using the results of *data* except when one axis","is more than four times the size of the two others,","where in that case the results of *cube* are used."].join(" ")},aspectratio:{x:{valType:"number",role:"info",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",role:"info",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",role:"info",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"},description:["Sets this scene's axis aspectratio."].join(" ")},xaxis:n,yaxis:n,zaxis:n,dragmode:{valType:"enumerated",role:"info",values:["orbit","turntable","zoom","pan",!1],editType:"plot",description:["Determines the mode of drag interactions for this scene."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["closest",!1],dflt:"closest",editType:"modebar",description:["Determines the mode of hover interactions for this scene."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in camera attributes.","Defaults to `layout.uirevision`."].join(" ")},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",role:"info",editType:"camera",description:"Obsolete. Use `camera` instead."}}}},f422:function(e,t,r){"use strict";var n=r("2595").drawRaw,i=r("f98d"),o=["x","y","z"];e.exports=function(e){for(var t=e.fullSceneLayout,r=e.dataScale,a=t.annotations,s=0;s<a.length;s++){for(var l=a[s],u=!1,c=0;c<3;c++){var f=o[c],p=l[f],d=t[f+"axis"],h=d.r2fraction(p);if(h<0||h>1){u=!0;break}}u?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+s+'"]').remove():(l._pdata=i(e.glplot.cameraParams,[t.xaxis.r2l(l.x)*r[0],t.yaxis.r2l(l.y)*r[1],t.zaxis.r2l(l.z)*r[2]]),n(e.graphDiv,l,s,e.id,l._xa,l._ya))}}},f44f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M31.875 4.063L20.937 15.001l-7-6.938-9.938 9.938v6l9.938-10 7 7 10.938-11zM4 27.938V.063H0v31.875h32v-4z"}))};t.default=u},f45d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var l=24;t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,i=e.width,a=void 0===i?l:i,u=e.height,c=void 0===u?l:u,f=e.style,p=void 0===f?{}:f,d=s(e,["fill","width","height","style"]);return o.default.createElement("svg",n({viewBox:"0 0 "+l+" "+l,style:n({fill:r,width:a,height:c},p)},d),o.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},f49e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32.25 29.47"},e),o.default.createElement("path",{d:"M2.84 21.31S-9-4.93 17.14 1.43c0 0 15.29 1.65 14.37 17.55 0 0-3.62 13.33-21.24 9.2z"}),o.default.createElement("path",{fill:"currentColor",d:"M11 1.43c5.37 0 11.63 1.77 14.22 4.08a15.43 15.43 0 0 1 5.51 10.75 9.29 9.29 0 0 1-2.45 7.21 19 19 0 0 1-12.66 4.7A11.68 11.68 0 0 1 7.14 25C.88 18.71-.14 7.21 3.6 3.47c1.36-1.29 4-2 7.42-2M11 0C7.55 0 4.35.68 2.58 2.45c-4.49 4.35-3 16.81 3.54 23.34a12.91 12.91 0 0 0 9.52 3.67 20.68 20.68 0 0 0 13.68-5.1c4.49-4.49 4.08-14.09-3.06-20.14C23.4 1.7 16.66 0 11 0zm1.9 6.94c4.22 0 7.83 1.16 8.85 2.18a8.15 8.15 0 0 1 2.58 6.12 6.92 6.92 0 0 1-2 5.51 6.79 6.79 0 0 1-5 1.7 9.45 9.45 0 0 1-6.53-2.72c-4-4.08-5.8-9.46-3.87-11.5a11.31 11.31 0 0 1 6-1.29m2.18 3.61a3.15 3.15 0 0 1 1.56.61c2 2 3.07 4.9 2.79 5.37a2.16 2.16 0 0 1-1.9 1.16 6.8 6.8 0 0 1-3.2-1.43c-2.45-2-2.59-3.33-2.45-4.22a.87.87 0 0 1 .09-.34 4.7 4.7 0 0 1 3.06-1.15m-2.18-5c-2.93 0-5.51.55-6.8 1.7-2.89 2.89-.44 9.28 3.92 13.5A10.61 10.61 0 0 0 17.55 24a8.64 8.64 0 0 0 6-2.31 10 10 0 0 0-.75-13.81c-1.57-1.3-5.92-2.32-9.87-2.32zm2.22 3.57c-2 0-4.36 1.15-4.63 2.31-.75 2.18.68 4.08 2.86 5.85A7.72 7.72 0 0 0 17.55 19a3.46 3.46 0 0 0 3.06-1.56c1-1.63-.89-5.24-2.93-7.28a3.24 3.24 0 0 0-2.58-1"}))};t.default=u},f4b3:function(e,t,r){"use strict";var n=r("0642"),i=r("fc26"),o=r("6add").getAxisGroup,a=["v","h"];function s(e,t){for(var r=e.calcdata,n=t.xaxis,i=t.yaxis,o=0;o<a.length;o++){for(var s=a[o],u="h"===s?i:n,c=[],f=0;f<r.length;f++){var p=r[f],d=p[0].t,h=p[0].trace;!0!==h.visible||"box"!==h.type&&"candlestick"!==h.type||d.empty||(h.orientation||"v")!==s||h.xaxis!==n._id||h.yaxis!==i._id||c.push(f)}l("box",e,c,u)}}function l(e,t,r,a){var s,l,u,c=t.calcdata,f=t._fullLayout,p=a._id,d=p.charAt(0),h=[],v=0;for(s=0;s<r.length;s++)for(u=c[r[s]],l=0;l<u.length;l++)h.push(a.c2l(u[l].pos,!0)),v+=(u[l].pts2||[]).length;if(h.length){var m=i.distinctVals(h,{unitMinDiff:"category"===a.type||"multicategory"===a.type}),g=m.minDiff/2;n.minDtick(a,m.minDiff,m.vals[0],!0);var y="violin"===e?"_numViolins":"_numBoxes",b=f[y],x="group"===f[e+"mode"]&&b>1,A=1-f[e+"gap"],w=1-f[e+"groupgap"];for(s=0;s<r.length;s++){u=c[r[s]];var _,E,k,T,C,S,O=u[0].trace,M=u[0].t,P=O.width,B=O.side;if(P)_=E=T=P/2,k=0;else if(_=g,x){var L=o(f,a._id)+O.orientation,D=f._alignmentOpts[L]||{},I=D[O.alignmentgroup]||{},j=Object.keys(I.offsetGroups||{}).length,R=j||b,F=j?O._offsetIndex:M.num;E=_*A*w/R,k=2*_*((F+.5)/R-.5)*A,T=_*A/R}else E=_*A*w,k=0,T=_;M.dPos=_,M.bPos=k,M.bdPos=E,M.wHover=T;var N,z,U,H,V,Q,W=k+E,K=Boolean(P),q=(O.boxpoints||O.points)&&v>0;if("positive"===B?(C=_*(P?1:.5),N=W,S=N=k):"negative"===B?(C=N=k,S=_*(P?1:.5),z=W):(C=S=_,N=z=W),q){var G=O.pointpos,$=O.jitter,Y=O.marker.size/2,X=0;G+$>=0&&(X=W*(G+$),X>C?(K=!0,V=Y,U=X):X>N&&(V=Y,U=C)),X<=C&&(U=C);var Z=0;G-$<=0&&(Z=-W*(G-$),Z>S?(K=!0,Q=Y,H=Z):Z>z&&(Q=Y,H=S)),Z<=S&&(H=S)}else U=C,H=S;var J=new Array(u.length);for(l=0;l<u.length;l++)J[l]=u[l].pos;O._extremes[p]=n.findExtremes(a,J,{padded:K,vpadminus:H,vpadplus:U,vpadLinearized:!0,ppadminus:{x:Q,y:V}[d],ppadplus:{x:V,y:Q}[d]})}}}e.exports={crossTraceCalc:s,setPositionOffset:l}},f4ba:function(e,t,r){(function(e){e(r("56b3"))})((function(e){"use strict";function t(t,n){function i(){t.display.wrapper.offsetHeight?(r(t,n),t.display.lastWrapHeight!=t.display.wrapper.clientHeight&&t.refresh()):n.timeout=setTimeout(i,n.delay)}n.timeout=setTimeout(i,n.delay),n.hurry=function(){clearTimeout(n.timeout),n.timeout=setTimeout(i,50)},e.on(window,"mouseup",n.hurry),e.on(window,"keyup",n.hurry)}function r(t,r){clearTimeout(r.timeout),e.off(window,"mouseup",r.hurry),e.off(window,"keyup",r.hurry)}e.defineOption("autoRefresh",!1,(function(e,n){e.state.autoRefresh&&(r(e,e.state.autoRefresh),e.state.autoRefresh=null),n&&0==e.display.wrapper.offsetHeight&&t(e,e.state.autoRefresh={delay:n.delay||250})}))}))},f4d6:function(e,t,r){var n=r("ffd6"),i=1/0;function o(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}e.exports=o},f4e9:function(e,t,r){"use strict";var n=r("67c4"),i=r("055a").counter,o=r("4852").scales,a=Object.keys(o);function s(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"",t=t||{};var r,l,u=t.cLetter||"c",c="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),f="noScale"in t?t.noScale:"marker.line"===e,p="showScaleDflt"in t?t.showScaleDflt:"z"===u,d="string"===typeof t.colorscaleDflt?o[t.colorscaleDflt]:null,h=t.editTypeOverride||"",v=e?e+".":"";"colorAttr"in t?(r=t.colorAttr,l=t.colorAttr):(r={z:"z",c:"color"}[u],l="in "+s(v+r));var m=c?" Has an effect only if "+l+"is set to a numerical array.":"",g=u+"auto",y=u+"min",b=u+"max",x=u+"mid",A=s(v+g),w=s(v+y),_=s(v+b),E=w+" and "+_,k={};k[y]=k[b]=void 0;var T={};T[g]=!1;var C={};return"color"===r&&(C.color={valType:"color",arrayOk:!0,role:"style",editType:h||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+E+" if set."].join("")},t.anim&&(C.color.anim=!0)),C[g]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:k,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+l+") or the bounds set in"," ",E," ",m," Defaults to `false` when ",E," are set by the user."].join("")},C[y]={valType:"number",role:"info",dflt:null,editType:h||"plot",impliedEdits:T,description:["Sets the lower bound of the color domain.",m," Value should have the same units as ",l," and if set, ",_," must be set as well."].join("")},C[b]={valType:"number",role:"info",dflt:null,editType:h||"plot",impliedEdits:T,description:["Sets the upper bound of the color domain.",m," Value should have the same units as ",l," and if set, ",w," must be set as well."].join("")},C[x]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:k,description:["Sets the mid-point of the color domain by scaling ",w," and/or ",_," to be equidistant to this point.",m," Value should have the same units as ",l,". ","Has no effect when ",A," is `false`."].join("")},C.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:d,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",m," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",E,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+a+"."].join("")},C.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",s(v+"colorscale"),".",m," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},C.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",m," If true, ",w," will correspond to the last color"," in the array and ",_," will correspond to the first color."].join("")},f||(C.showscale={valType:"boolean",role:"info",dflt:p,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",m].join("")},C.colorbar=n),t.noColorAxis||(C.coloraxis={valType:"subplotid",role:"info",regex:i("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),C}},f508:function(e,t,r){"use strict";var n=r("936a"),i=r("1793"),o=r("2031"),a=r("f3a6"),s=r("f973"),l=e.exports=function(e,t){var r,i,l,u,c;return arguments.length<2||"string"!==typeof e?(u=t,t=e,e=null):u=arguments[2],n(e)?(r=s.call(e,"c"),i=s.call(e,"e"),l=s.call(e,"w")):(r=l=!0,i=!1),c={value:t,configurable:r,enumerable:i,writable:l},u?o(a(u),c):c};l.gs=function(e,t,r){var l,u,c,f;return"string"!==typeof e?(c=r,r=t,t=e,e=null):c=arguments[3],n(t)?i(t)?n(r)?i(r)||(c=r,r=void 0):r=void 0:(c=t,t=r=void 0):t=void 0,n(e)?(l=s.call(e,"c"),u=s.call(e,"e")):(l=!0,u=!1),f={get:t,set:r,configurable:l,enumerable:u},c?o(a(c),f):f}},f50a:function(e,t,r){"use strict";var n=r("fc26"),i=r("8e43");function o(e,t,r,n){return Math.abs(e[0]-t[0])<r&&Math.abs(e[1]-t[1])<n}function a(e,t){var r=e[2]-t[2],n=e[3]-t[3];return Math.sqrt(r*r+n*n)}function s(e,t,r,s,c){var f,p=t.join(","),d=e.crossings[p],h=l(d,r,t),v=[u(e,t,[-h[0],-h[1]])],m=e.z.length,g=e.z[0].length,y=t.slice(),b=h.slice();for(f=0;f<1e4;f++){if(d>20?(d=i.CHOOSESADDLE[d][(h[0]||h[1])<0?0:1],e.crossings[p]=i.SADDLEREMAINDER[d]):delete e.crossings[p],h=i.NEWDELTA[d],!h){n.log("Found bad marching index:",d,t,e.level);break}v.push(u(e,t,h)),t[0]+=h[0],t[1]+=h[1],p=t.join(","),o(v[v.length-1],v[v.length-2],s,c)&&v.pop();var x=h[0]&&(t[0]<0||t[0]>g-2)||h[1]&&(t[1]<0||t[1]>m-2),A=t[0]===y[0]&&t[1]===y[1]&&h[0]===b[0]&&h[1]===b[1];if(A||r&&x)break;d=e.crossings[p]}1e4===f&&n.log("Infinite loop in contour?");var w,_,E,k,T,C,S,O,M,P,B,L=o(v[0],v[v.length-1],s,c),D=0,I=.2*e.smoothing,j=[],R=0;for(f=1;f<v.length;f++)S=a(v[f],v[f-1]),D+=S,j.push(S);var F=D/j.length*I;function N(e){return v[e%v.length]}for(f=v.length-2;f>=R;f--)if(w=j[f],w<F){for(E=0,_=f-1;_>=R;_--){if(!(w+j[_]<F))break;w+=j[_]}if(L&&f===v.length-2)for(E=0;E<_;E++){if(!(w+j[E]<F))break;w+=j[E]}T=f-_+E+1,C=Math.floor((f+_+E+2)/2),k=L||f!==v.length-2?L||-1!==_?T%2?N(C):[(N(C)[0]+N(C+1)[0])/2,(N(C)[1]+N(C+1)[1])/2]:v[0]:v[v.length-1],v.splice(_+1,f-_+1,k),f=_+1,E&&(R=E),L&&(f===v.length-2?v[E]=v[v.length-1]:0===f&&(v[v.length-1]=v[0]))}for(v.splice(0,R),f=0;f<v.length;f++)v[f].length=2;if(!(v.length<2))if(L)v.pop(),e.paths.push(v);else{r||n.log("Unclosed interior contour?",e.level,y.join(","),v.join("L"));var z=!1;for(O=0;O<e.edgepaths.length;O++)if(P=e.edgepaths[O],!z&&o(P[0],v[v.length-1],s,c)){v.pop(),z=!0;var U=!1;for(M=0;M<e.edgepaths.length;M++)if(B=e.edgepaths[M],o(B[B.length-1],v[0],s,c)){U=!0,v.shift(),e.edgepaths.splice(O,1),M===O?e.paths.push(v.concat(B)):(M>O&&M--,e.edgepaths[M]=B.concat(v,P));break}U||(e.edgepaths[O]=v.concat(P))}for(O=0;O<e.edgepaths.length;O++){if(z)break;P=e.edgepaths[O],o(P[P.length-1],v[0],s,c)&&(v.shift(),e.edgepaths[O]=P.concat(v),z=!0)}z||e.edgepaths.push(v)}}function l(e,t,r){var n=0,o=0;return e>20&&t?208===e||1114===e?n=0===r[0]?1:-1:o=0===r[1]?1:-1:-1!==i.BOTTOMSTART.indexOf(e)?o=1:-1!==i.LEFTSTART.indexOf(e)?n=1:-1!==i.TOPSTART.indexOf(e)?o=-1:n=-1,[n,o]}function u(e,t,r){var n=t[0]+Math.max(r[0],0),i=t[1]+Math.max(r[1],0),o=e.z[i][n],a=e.xaxis,s=e.yaxis;if(r[1]){var l=(e.level-o)/(e.z[i][n+1]-o);return[a.c2p((1-l)*e.x[n]+l*e.x[n+1],!0),s.c2p(e.y[i],!0),n+l,i]}var u=(e.level-o)/(e.z[i+1][n]-o);return[a.c2p(e.x[n],!0),s.c2p((1-u)*e.y[i]+u*e.y[i+1],!0),n,i+u]}e.exports=function(e,t,r){var i,o,a,l,u;for(t=t||.01,r=r||.01,a=0;a<e.length;a++){for(l=e[a],u=0;u<l.starts.length;u++)o=l.starts[u],s(l,o,"edge",t,r);i=0;while(Object.keys(l.crossings).length&&i<1e4)i++,o=Object.keys(l.crossings)[0].split(",").map(Number),s(l,o,void 0,t,r);1e4===i&&n.log("Infinite loop in contour?")}}},f50f:function(e,t,r){"use strict";var n=r("de81"),i=r("e806").BADNUM;e.exports=function(e,t){var r,o,a,s,l,u=e.cd,c=e.xaxis,f=e.yaxis,p=[],d=u[0].trace,h=!n.hasMarkers(d)&&!n.hasText(d);if(h)return[];if(!1===t)for(l=0;l<u.length;l++)u[l].selected=0;else for(l=0;l<u.length;l++)r=u[l],o=r.lonlat,o[0]!==i&&(a=c.c2p(o),s=f.c2p(o),t.contains([a,s],null,l,e)?(p.push({pointNumber:l,lon:o[0],lat:o[1]}),r.selected=1):r.selected=0);return p}},f510:function(e,t,r){"use strict";e.exports={attr:"subplot",name:"polar",axisNames:["angularaxis","radialaxis"],axisName2dataArray:{angularaxis:"theta",radialaxis:"r"},layerNames:["draglayer","plotbg","backplot","angular-grid","radial-grid","frontplot","angular-line","radial-line","angular-axis","radial-axis"],radialDragBoxSize:50,angularDragBoxSize:30,cornerLen:25,cornerHalfWidth:2,MINDRAG:8,MINZOOM:20,OFFEDGE:20}},f517:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("path",{fill:"#25fdfc",stroke:"#1d9bfb",d:"M38.985 32.246l-16 9.221L7 32.221l.015-18.467 16-9.221L39 13.779l-.015 18.467z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M33.99 29.357l-11 6.339L12 29.339l.01-12.696 11-6.339L34 16.661l-.01 12.696z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),o.default.createElement("path",{fill:"none",stroke:"#1d9bfb",d:"M28.994 26.467l-6 3.458L17 26.458l.006-6.925 6-3.458L29 19.542l-.006 6.925zM39 32L7 14m0 18l32-18M23 5v36.185",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))};t.default=u},f518:function(e,t,r){"use strict";var n=r("fc26"),i=r("119e"),o=r("e5ac"),a=r("f7e9");function s(e,t,r,n){r("accesstoken",n.accessToken),r("style"),r("center.lon"),r("center.lat"),r("zoom"),r("bearing"),r("pitch"),o(e,t,{name:"layers",handleItemDefaults:l}),t._input=e}function l(e,t){function r(r,i){return n.coerce(e,t,a.layers,r,i)}var i=r("visible");if(i){var o,s=r("sourcetype"),l="raster"===s||"image"===s;r("source"),r("sourceattribution"),"vector"===s&&r("sourcelayer"),"image"===s&&r("coordinates"),l&&(o="raster");var u=r("type",o);l&&"raster"!==u&&(u=t.type="raster",n.log("Source types *raster* and *image* must drawn *raster* layer type.")),r("below"),r("color"),r("opacity"),r("minzoom"),r("maxzoom"),"circle"===u&&r("circle.radius"),"line"===u&&(r("line.width"),r("line.dash")),"fill"===u&&r("fill.outlinecolor"),"symbol"===u&&(r("symbol.icon"),r("symbol.iconsize"),r("symbol.text"),n.coerceFont(r,"symbol.textfont"),r("symbol.textposition"),r("symbol.placement"))}}e.exports=function(e,t,r){i(e,t,r,{type:"mapbox",attributes:a,handleDefaults:s,partition:"y",accessToken:t._mapboxAccessToken})}},f51b:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r("d7bc")),o=u(r("ab5b")),a=c(r("cb65")),s=c(r("4d26"));function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function v(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=x();return function(){var r,n=A(e);if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var w=function(e){v(r,e);var t=g(r);function r(e){var n;return p(this,r),n=t.call(this,e),n.onChange=n.onChange.bind(b(n)),n}return h(r,[{key:"onChange",value:function(e){var t=this.props,r=t.multi,n=t.onChange,i=t.valueKey;return n(e?r?e.map((function(e){return e[i]})):e[i]:null)}},{key:"render",value:function(){var e=this.props,t=e.minWidth,r=e.placeholder,n=e.clearable,i=e.value,l=e.options,u=e.searchable,c=e.multi,p=e.noResultsText,d=e.valueKey,h=e.disabled,v=e.className,m=e.width,g=this.context.localize,y={minWidth:t};m&&(y.width=m);var b=l.map((function(e){return"string"===typeof e?f({label:e},d,e):e})),x=(0,s.default)("dropdown-container",f({"dropdown--dark":this.props.backgroundDark},v,v));return o.default.createElement("div",{className:x,style:y},o.default.createElement(a.default,{placeholder:r||g("Select an Option"),isClearable:n,value:b.filter((function(e){return Array.isArray(i)?i.includes(e[d]):i===e[d]})),options:b,isSearchable:u,onChange:this.onChange,isMulti:c,noOptionsMessage:function(){return p||g("No Results")},getOptionValue:function(e){return e[d]},getOptionLabel:function(e){return e.label},isDisabled:h,className:x,classNamePrefix:"Select",components:this.props.components}))}}]),r}(o.Component);w.defaultProps={clearable:!0,multi:!1,searchable:!1,minWidth:"120px",valueKey:"value",disabled:!1},w.propTypes={backgroundDark:i.default.bool,clearable:i.default.bool,onChange:i.default.func.isRequired,options:i.default.array.isRequired,placeholder:i.default.oneOfType([i.default.string,i.default.object]),searchable:i.default.bool,minWidth:i.default.oneOfType([i.default.string,i.default.number]),valueKey:i.default.string,value:i.default.any,multi:i.default.bool,components:i.default.object,noResultsText:i.default.string,disabled:i.default.bool,className:i.default.string,width:i.default.oneOfType([i.default.string,i.default.number])},w.contextTypes={localize:i.default.func};var _=w;t.default=_},f522:function(e,t,r){"use strict";e.exports=r("bf14")},f552:function(e,t,r){"use strict";var n=r("fc26"),i=r("4183"),o=r("8bd8");e.exports=function(e,t,r,a){function s(r,i){return n.coerce(e,t,o,r,i)}var l=s("locations"),u=s("z");if(l&&l.length&&n.isArrayOrTypedArray(u)&&u.length){t._length=Math.min(l.length,u.length);var c,f=s("geojson");("string"===typeof f&&""!==f||n.isPlainObject(f))&&(c="geojson-id");var p=s("locationmode",c);"geojson-id"===p&&s("featureidkey"),s("text"),s("hovertext"),s("hovertemplate");var d=s("marker.line.width");d&&s("marker.line.color"),s("marker.opacity"),i(e,t,a,s,{prefix:"",cLetter:"z"}),n.coerceSelectionMarkerOpacity(t,s)}else t.visible=!1}},f5df:function(e,t,r){var n=r("00ee"),i=r("c6b6"),o=r("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},f5e6:function(e,t,r){"use strict";e.exports=function(e,t,r){return t&&r?function(t,r,n,i,o){var a,s,l,u,c,f;t||(t=[]),r*=3,n*=3;var p=i*i,d=p*i,h=1-i,v=h*h,m=v*h,g=o*o,y=1-o,b=y*y,x=y*o*2,A=-3*b,w=3*(b-x),_=3*(x-g),E=3*g;for(f=0;f<e.length;f++)c=e[f],a=A*c[n][r]+w*c[n+1][r]+_*c[n+2][r]+E*c[n+3][r],s=A*c[n][r+1]+w*c[n+1][r+1]+_*c[n+2][r+1]+E*c[n+3][r+1],l=A*c[n][r+2]+w*c[n+1][r+2]+_*c[n+2][r+2]+E*c[n+3][r+2],u=A*c[n][r+3]+w*c[n+1][r+3]+_*c[n+2][r+3]+E*c[n+3][r+3],t[f]=m*a+3*(v*i*s+h*p*l)+d*u;return t}:t?function(t,r,n,i,o){var a,s,l,u,c,f;t||(t=[]),r*=3;var p=o*o,d=p*o,h=1-o,v=h*h,m=v*h;for(c=0;c<e.length;c++)f=e[c],a=f[n+1][r]-f[n][r],s=f[n+1][r+1]-f[n][r+1],l=f[n+1][r+2]-f[n][r+2],u=f[n+1][r+3]-f[n][r+3],t[c]=m*a+3*(v*o*s+h*p*l)+d*u;return t}:r?function(t,r,n,i,o){var a,s,l,u;t||(t=[]),n*=3;var c=1-i,f=o*o,p=1-o,d=p*p,h=p*o*2,v=-3*d,m=3*(d-h),g=3*(h-f),y=3*f;for(l=0;l<e.length;l++)u=e[l],a=v*u[n][r]+m*u[n+1][r]+g*u[n+2][r]+y*u[n+3][r],s=v*u[n][r+1]+m*u[n+1][r+1]+g*u[n+2][r+1]+y*u[n+3][r+1],t[l]=c*a+i*s;return t}:function(t,r,n,i,o){var a,s,l,u;t||(t=[]);var c=1-i;for(l=0;l<e.length;l++)u=e[l],a=u[n+1][r]-u[n][r],s=u[n+1][r+1]-u[n][r+1],t[l]=c*a+i*s;return t}}},f5f2:function(e,t,r){var n=r("1936");e.exports=n.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},f604:function(e,t,r){"use strict";var n=r("05d6"),i=r("6e58"),o=r("66cb"),a=r("d115"),s=r("83d1"),l=r("e92d"),u=r("2e22"),c=r("0a4a"),f=r("fc26"),p=f.strTranslate,d=r("0a3e"),h=d.keyFun,v=d.repeat,m=d.unwrap,g=r("a43d").interpolateNumber,y=r("371e");function b(e,t,r){var i,a=m(t),s=a.trace,c=s.domain,p="h"===s.orientation,d=s.node.pad,h=s.node.thickness,v=e.width*(c.x[1]-c.x[0]),g=e.height*(c.y[1]-c.y[0]),y=a._nodes,b=a._links,x=a.circular;i=x?u.sankeyCircular().circularLinkGap(0):l.sankey(),i.iterations(n.sankeyIterations).size(p?[v,g]:[g,v]).nodeWidth(h).nodePadding(d).nodeId((function(e){return e.pointNumber})).nodes(y).links(b);var A,w,_,E=i();for(var k in i.nodePadding()<d&&f.warn("node.pad was reduced to ",i.nodePadding()," to fit within the figure."),a._groupLookup){var T,C=parseInt(a._groupLookup[k]);for(A=0;A<E.nodes.length;A++)if(E.nodes[A].pointNumber===C){T=E.nodes[A];break}if(T){var S={pointNumber:parseInt(k),x0:T.x0,x1:T.x1,y0:T.y0,y1:T.y1,partOfGroup:!0,sourceLinks:[],targetLinks:[]};E.nodes.unshift(S),T.childrenNodes.unshift(S)}}function O(){for(A=0;A<E.nodes.length;A++){var e,t,r=E.nodes[A],n={};for(w=0;w<r.targetLinks.length;w++)t=r.targetLinks[w],e=t.source.pointNumber+":"+t.target.pointNumber,n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t);var i=Object.keys(n);for(w=0;w<i.length;w++){e=i[w];var a=n[e],s=0,l={};for(_=0;_<a.length;_++)t=a[_],l[t.label]||(l[t.label]=0),l[t.label]+=t.value,s+=t.value;for(_=0;_<a.length;_++)t=a[_],t.flow={value:s,labelConcentration:l[t.label]/s,concentration:t.value/s,links:a},t.concentrationscale&&(t.color=o(t.concentrationscale(t.flow.labelConcentration)))}var u=0;for(w=0;w<r.sourceLinks.length;w++)u+=r.sourceLinks[w].value;for(w=0;w<r.sourceLinks.length;w++)t=r.sourceLinks[w],t.concentrationOut=t.value/u;var c=0;for(w=0;w<r.targetLinks.length;w++)c+=r.targetLinks[w].value;for(w=0;w<r.targetLinks.length;w++)t=r.targetLinks[w],t.concenrationIn=t.value/c}}function M(e){e.forEach((function(e){var t,r,n,i=0,o=e.length;for(e.sort((function(e,t){return e.y0-t.y0})),n=0;n<o;++n)t=e[n],t.y0>=i||(r=i-t.y0,r>1e-6&&(t.y0+=r,t.y1+=r)),i=t.y1+d}))}function P(e){var t,r,n=e.map((function(e,t){return{x0:e.x0,index:t}})).sort((function(e,t){return e.x0-t.x0})),i=[],o=-1,a=-1/0;for(A=0;A<n.length;A++){var s=e[n[A].index];s.x0>a+h&&(o+=1,t=s.x0),a=s.x0,i[o]||(i[o]=[]),i[o].push(s),r=t-s.x0,s.x0+=r,s.x1+=r}return i}if(O(),s.node.x.length&&s.node.y.length){for(A=0;A<Math.min(s.node.x.length,s.node.y.length,E.nodes.length);A++)if(s.node.x[A]&&s.node.y[A]){var B=[s.node.x[A]*v,s.node.y[A]*g];E.nodes[A].x0=B[0]-h/2,E.nodes[A].x1=B[0]+h/2;var L=E.nodes[A].y1-E.nodes[A].y0;E.nodes[A].y0=B[1]-L/2,E.nodes[A].y1=B[1]+L/2}if("snap"===s.arrangement){y=E.nodes;var D=P(y);M(D)}i.update(E)}return{circular:x,key:r,trace:s,guid:f.randstr(),horizontal:p,width:v,height:g,nodePad:s.node.pad,nodeLineColor:s.node.line.color,nodeLineWidth:s.node.line.width,linkLineColor:s.link.line.color,linkLineWidth:s.link.line.width,valueFormat:s.valueformat,valueSuffix:s.valuesuffix,textFont:s.textfont,translateX:c.x[0]*e.width+e.margin.l,translateY:e.height-c.y[1]*e.height+e.margin.t,dragParallel:p?g:v,dragPerpendicular:p?v:g,arrangement:s.arrangement,sankey:i,graph:E,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function x(e,t,r){var n=o(t.color),i=t.source.label+"|"+t.target.label,s=i+"__"+r;return t.trace=e.trace,t.curveNumber=e.trace.index,{circular:e.circular,key:s,traceId:e.key,pointNumber:t.pointNumber,link:t,tinyColorHue:a.tinyRGB(n),tinyColorAlpha:n.getAlpha(),linkPath:w,linkLineColor:e.linkLineColor,linkLineWidth:e.linkLineWidth,valueFormat:e.valueFormat,valueSuffix:e.valueSuffix,sankey:e.sankey,parent:e,interactionState:e.interactionState,flow:t.flow}}function A(e){var t="",r=e.width/2,n=e.circularPathData;return t="top"===e.circularLinkType?"M "+n.targetX+" "+(n.targetY+r)+" L"+n.rightInnerExtent+" "+(n.targetY+r)+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightSmallArcRadius+r)+" 0 0 1 "+(n.rightFullExtent-r)+" "+(n.targetY-n.rightSmallArcRadius)+"L"+(n.rightFullExtent-r)+" "+n.verticalRightInnerExtent+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightLargeArcRadius+r)+" 0 0 1 "+n.rightInnerExtent+" "+(n.verticalFullExtent-r)+"L"+n.leftInnerExtent+" "+(n.verticalFullExtent-r)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftLargeArcRadius+r)+" 0 0 1 "+(n.leftFullExtent+r)+" "+n.verticalLeftInnerExtent+"L"+(n.leftFullExtent+r)+" "+(n.sourceY-n.leftSmallArcRadius)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftSmallArcRadius+r)+" 0 0 1 "+n.leftInnerExtent+" "+(n.sourceY+r)+"L"+n.sourceX+" "+(n.sourceY+r)+"L"+n.sourceX+" "+(n.sourceY-r)+"L"+n.leftInnerExtent+" "+(n.sourceY-r)+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftSmallArcRadius-r)+" 0 0 0 "+(n.leftFullExtent-r)+" "+(n.sourceY-n.leftSmallArcRadius)+"L"+(n.leftFullExtent-r)+" "+n.verticalLeftInnerExtent+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftLargeArcRadius-r)+" 0 0 0 "+n.leftInnerExtent+" "+(n.verticalFullExtent+r)+"L"+n.rightInnerExtent+" "+(n.verticalFullExtent+r)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightLargeArcRadius-r)+" 0 0 0 "+(n.rightFullExtent+r)+" "+n.verticalRightInnerExtent+"L"+(n.rightFullExtent+r)+" "+(n.targetY-n.rightSmallArcRadius)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightSmallArcRadius-r)+" 0 0 0 "+n.rightInnerExtent+" "+(n.targetY-r)+"L"+n.targetX+" "+(n.targetY-r)+"Z":"M "+n.targetX+" "+(n.targetY-r)+" L"+n.rightInnerExtent+" "+(n.targetY-r)+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightSmallArcRadius+r)+" 0 0 0 "+(n.rightFullExtent-r)+" "+(n.targetY+n.rightSmallArcRadius)+"L"+(n.rightFullExtent-r)+" "+n.verticalRightInnerExtent+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightLargeArcRadius+r)+" 0 0 0 "+n.rightInnerExtent+" "+(n.verticalFullExtent+r)+"L"+n.leftInnerExtent+" "+(n.verticalFullExtent+r)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftLargeArcRadius+r)+" 0 0 0 "+(n.leftFullExtent+r)+" "+n.verticalLeftInnerExtent+"L"+(n.leftFullExtent+r)+" "+(n.sourceY+n.leftSmallArcRadius)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftSmallArcRadius+r)+" 0 0 0 "+n.leftInnerExtent+" "+(n.sourceY-r)+"L"+n.sourceX+" "+(n.sourceY-r)+"L"+n.sourceX+" "+(n.sourceY+r)+"L"+n.leftInnerExtent+" "+(n.sourceY+r)+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftSmallArcRadius-r)+" 0 0 1 "+(n.leftFullExtent-r)+" "+(n.sourceY+n.leftSmallArcRadius)+"L"+(n.leftFullExtent-r)+" "+n.verticalLeftInnerExtent+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftLargeArcRadius-r)+" 0 0 1 "+n.leftInnerExtent+" "+(n.verticalFullExtent-r)+"L"+n.rightInnerExtent+" "+(n.verticalFullExtent-r)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightLargeArcRadius-r)+" 0 0 1 "+(n.rightFullExtent+r)+" "+n.verticalRightInnerExtent+"L"+(n.rightFullExtent+r)+" "+(n.targetY+n.rightSmallArcRadius)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightSmallArcRadius-r)+" 0 0 1 "+n.rightInnerExtent+" "+(n.targetY+r)+"L"+n.targetX+" "+(n.targetY+r)+"Z",t}function w(){var e=.5;function t(t){if(t.link.circular)return A(t.link);var r=t.link.source.x1,n=t.link.target.x0,i=g(r,n),o=i(e),a=i(1-e),s=t.link.y0-t.link.width/2,l=t.link.y0+t.link.width/2,u=t.link.y1-t.link.width/2,c=t.link.y1+t.link.width/2;return"M"+r+","+s+"C"+o+","+s+" "+a+","+u+" "+n+","+u+"L"+n+","+c+"C"+a+","+c+" "+o+","+l+" "+r+","+l+"Z"}return t}function _(e,t){var r=o(t.color),i=n.nodePadAcross,s=e.nodePad/2;t.dx=t.x1-t.x0,t.dy=t.y1-t.y0;var l=t.dx,u=Math.max(.5,t.dy),c="node_"+t.pointNumber;return t.group&&(c=f.randstr()),t.trace=e.trace,t.curveNumber=e.trace.index,{index:t.pointNumber,key:c,partOfGroup:t.partOfGroup||!1,group:t.group,traceId:e.key,trace:e.trace,node:t,nodePad:e.nodePad,nodeLineColor:e.nodeLineColor,nodeLineWidth:e.nodeLineWidth,textFont:e.textFont,size:e.horizontal?e.height:e.width,visibleWidth:Math.ceil(l),visibleHeight:u,zoneX:-i,zoneY:-s,zoneWidth:l+2*i,zoneHeight:u+2*s,labelY:e.horizontal?t.dy/2+1:t.dx/2+1,left:1===t.originalLayer,sizeAcross:e.width,forceLayouts:e.forceLayouts,horizontal:e.horizontal,darkBackground:r.getBrightness()<=128,tinyColorHue:a.tinyRGB(r),tinyColorAlpha:r.getAlpha(),valueFormat:e.valueFormat,valueSuffix:e.valueSuffix,sankey:e.sankey,graph:e.graph,arrangement:e.arrangement,uniqueNodeLabelPathId:[e.guid,e.key,c].join("_"),interactionState:e.interactionState,figure:e}}function E(e){e.attr("transform",(function(e){return p(e.node.x0.toFixed(3),e.node.y0.toFixed(3))}))}function k(e){e.call(E)}function T(e,t){e.call(k),t.attr("d",w())}function C(e){e.attr("width",(function(e){return e.node.x1-e.node.x0})).attr("height",(function(e){return e.visibleHeight}))}function S(e){return e.link.width>1||e.linkLineWidth>0}function O(e){var t=p(e.translateX,e.translateY);return t+(e.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function M(e){return p(e.horizontal?0:e.labelY,e.horizontal?e.labelY:0)}function P(e){return i.svg.line()([[e.horizontal?e.left?-e.sizeAcross:e.visibleWidth+n.nodeTextOffsetHorizontal:n.nodeTextOffsetHorizontal,0],[e.horizontal?e.left?-n.nodeTextOffsetHorizontal:e.sizeAcross:e.visibleHeight-n.nodeTextOffsetHorizontal,0]])}function B(e){return e.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)"}function L(e){return e.horizontal?"scale(1 1)":"scale(-1 1)"}function D(e){return e.darkBackground&&!e.horizontal?"rgb(255,255,255)":"rgb(0,0,0)"}function I(e){return e.horizontal&&e.left?"100%":"0%"}function j(e,t,r){e.on(".basic",null).on("mouseover.basic",(function(e){e.interactionState.dragInProgress||e.partOfGroup||(r.hover(this,e,t),e.interactionState.hovered=[this,e])})).on("mousemove.basic",(function(e){e.interactionState.dragInProgress||e.partOfGroup||(r.follow(this,e),e.interactionState.hovered=[this,e])})).on("mouseout.basic",(function(e){e.interactionState.dragInProgress||e.partOfGroup||(r.unhover(this,e,t),e.interactionState.hovered=!1)})).on("click.basic",(function(e){e.interactionState.hovered&&(r.unhover(this,e,t),e.interactionState.hovered=!1),e.interactionState.dragInProgress||e.partOfGroup||r.select(this,e,t)}))}function R(e,t,r,n){var o=i.behavior.drag().origin((function(e){return{x:e.node.x0+e.visibleWidth/2,y:e.node.y0+e.visibleHeight/2}})).on("dragstart",(function(i){if("fixed"!==i.arrangement&&(f.ensureSingle(n._fullLayout._infolayer,"g","dragcover",(function(e){n._fullLayout._dragCover=e})),f.raiseToTop(this),i.interactionState.dragInProgress=i.node,V(i.node),i.interactionState.hovered&&(r.nodeEvents.unhover.apply(0,i.interactionState.hovered),i.interactionState.hovered=!1),"snap"===i.arrangement)){var o=i.traceId+"|"+i.key;i.forceLayouts[o]?i.forceLayouts[o].alpha(1):F(e,o,i,n),N(e,t,i,o,n)}})).on("drag",(function(r){if("fixed"!==r.arrangement){var n=i.event.x,o=i.event.y;"snap"===r.arrangement?(r.node.x0=n-r.visibleWidth/2,r.node.x1=n+r.visibleWidth/2,r.node.y0=o-r.visibleHeight/2,r.node.y1=o+r.visibleHeight/2):("freeform"===r.arrangement&&(r.node.x0=n-r.visibleWidth/2,r.node.x1=n+r.visibleWidth/2),o=Math.max(0,Math.min(r.size-r.visibleHeight/2,o)),r.node.y0=o-r.visibleHeight/2,r.node.y1=o+r.visibleHeight/2),V(r.node),"snap"!==r.arrangement&&(r.sankey.update(r.graph),T(e.filter(Q(r)),t))}})).on("dragend",(function(e){if("fixed"!==e.arrangement){e.interactionState.dragInProgress=!1;for(var t=0;t<e.node.childrenNodes.length;t++)e.node.childrenNodes[t].x=e.node.x,e.node.childrenNodes[t].y=e.node.y;"snap"!==e.arrangement&&U(e,n)}}));e.on(".drag",null).call(o)}function F(e,t,r,i){W(r.graph.nodes);var o=r.graph.nodes.filter((function(e){return e.originalX===r.node.originalX})).filter((function(e){return!e.partOfGroup}));r.forceLayouts[t]=c.forceSimulation(o).alphaDecay(0).force("collide",c.forceCollide().radius((function(e){return e.dy/2+r.nodePad/2})).strength(1).iterations(n.forceIterations)).force("constrain",z(e,t,o,r,i)).stop()}function N(e,t,r,i,o){window.requestAnimationFrame((function a(){var s;for(s=0;s<n.forceTicksPerFrame;s++)r.forceLayouts[i].tick();var l=r.graph.nodes;if(K(l),r.sankey.update(r.graph),T(e.filter(Q(r)),t),r.forceLayouts[i].alpha()>0)window.requestAnimationFrame(a);else{var u=r.node.originalX;r.node.x0=u-r.visibleWidth/2,r.node.x1=u+r.visibleWidth/2,U(r,o)}}))}function z(e,t,r,i){return function(){for(var e=0,o=0;o<r.length;o++){var a=r[o];a===i.interactionState.dragInProgress?(a.x=a.lastDraggedX,a.y=a.lastDraggedY):(a.vx=(a.originalX-a.x)/n.forceTicksPerFrame,a.y=Math.min(i.size-a.dy/2,Math.max(a.dy/2,a.y))),e=Math.max(e,Math.abs(a.vx),Math.abs(a.vy))}!i.interactionState.dragInProgress&&e<.1&&i.forceLayouts[t].alpha()>0&&i.forceLayouts[t].alpha(0)}}function U(e,t){for(var r=[],n=[],i=0;i<e.graph.nodes.length;i++){var o=(e.graph.nodes[i].x0+e.graph.nodes[i].x1)/2,a=(e.graph.nodes[i].y0+e.graph.nodes[i].y1)/2;r.push(o/e.figure.width),n.push(a/e.figure.height)}y.call("_guiRestyle",t,{"node.x":[r],"node.y":[n]},e.trace.index).then((function(){t._fullLayout._dragCover&&t._fullLayout._dragCover.remove()}))}function H(e){var t,r=[];for(t=0;t<e.length;t++)e[t].originalX=(e[t].x0+e[t].x1)/2,e[t].originalY=(e[t].y0+e[t].y1)/2,-1===r.indexOf(e[t].originalX)&&r.push(e[t].originalX);for(r.sort((function(e,t){return e-t})),t=0;t<e.length;t++)e[t].originalLayerIndex=r.indexOf(e[t].originalX),e[t].originalLayer=e[t].originalLayerIndex/(r.length-1)}function V(e){e.lastDraggedX=e.x0+e.dx/2,e.lastDraggedY=e.y0+e.dy/2}function Q(e){return function(t){return t.node.originalX===e.node.originalX}}function W(e){for(var t=0;t<e.length;t++)e[t].y=(e[t].y0+e[t].y1)/2,e[t].x=(e[t].x0+e[t].x1)/2}function K(e){for(var t=0;t<e.length;t++)e[t].y0=e[t].y-e[t].dy/2,e[t].y1=e[t].y0+e[t].dy,e[t].x0=e[t].x-e[t].dx/2,e[t].x1=e[t].x0+e[t].dx}e.exports=function(e,t,r,l,u){var c=!1;f.ensureSingle(e._fullLayout._infolayer,"g","first-render",(function(){c=!0}));var p=e._fullLayout._dragCover,d=r.filter((function(e){return m(e).trace.visible})).map(b.bind(null,l)),g=t.selectAll("."+n.cn.sankey).data(d,h);g.exit().remove(),g.enter().append("g").classed(n.cn.sankey,!0).style("box-sizing","content-box").style("position","absolute").style("left",0).style("shape-rendering","geometricPrecision").style("pointer-events","auto").attr("transform",O),g.each((function(t,r){e._fullData[r]._sankey=t;var n="bgsankey-"+t.trace.uid+"-"+r;f.ensureSingle(e._fullLayout._draggers,"rect",n),e._fullData[r]._bgRect=i.select("."+n),e._fullData[r]._bgRect.style("pointer-events","all").attr("width",t.width).attr("height",t.height).attr("x",t.translateX).attr("y",t.translateY).classed("bgsankey",!0).style({fill:"transparent","stroke-width":0})})),g.transition().ease(n.ease).duration(n.duration).attr("transform",O);var y=g.selectAll("."+n.cn.sankeyLinks).data(v,h);y.enter().append("g").classed(n.cn.sankeyLinks,!0).style("fill","none");var A=y.selectAll("."+n.cn.sankeyLink).data((function(e){var t=e.graph.links;return t.filter((function(e){return e.value})).map(x.bind(null,e))}),h);A.enter().append("path").classed(n.cn.sankeyLink,!0).call(j,g,u.linkEvents),A.style("stroke",(function(e){return S(e)?a.tinyRGB(o(e.linkLineColor)):e.tinyColorHue})).style("stroke-opacity",(function(e){return S(e)?a.opacity(e.linkLineColor):e.tinyColorAlpha})).style("fill",(function(e){return e.tinyColorHue})).style("fill-opacity",(function(e){return e.tinyColorAlpha})).style("stroke-width",(function(e){return S(e)?e.linkLineWidth:1})).attr("d",w()),A.style("opacity",(function(){return e._context.staticPlot||c||p?1:0})).transition().ease(n.ease).duration(n.duration).style("opacity",1),A.exit().transition().ease(n.ease).duration(n.duration).style("opacity",0).remove();var k=g.selectAll("."+n.cn.sankeyNodeSet).data(v,h);k.enter().append("g").classed(n.cn.sankeyNodeSet,!0),k.style("cursor",(function(e){switch(e.arrangement){case"fixed":return"default";case"perpendicular":return"ns-resize";default:return"move"}}));var T=k.selectAll("."+n.cn.sankeyNode).data((function(e){var t=e.graph.nodes;return H(t),t.map(_.bind(null,e))}),h);T.enter().append("g").classed(n.cn.sankeyNode,!0).call(E).style("opacity",(function(t){return!e._context.staticPlot&&!c||t.partOfGroup?0:1})),T.call(j,g,u.nodeEvents).call(R,A,u,e),T.transition().ease(n.ease).duration(n.duration).call(E).style("opacity",(function(e){return e.partOfGroup?0:1})),T.exit().transition().ease(n.ease).duration(n.duration).style("opacity",0).remove();var F=T.selectAll("."+n.cn.nodeRect).data(v);F.enter().append("rect").classed(n.cn.nodeRect,!0).call(C),F.style("stroke-width",(function(e){return e.nodeLineWidth})).style("stroke",(function(e){return a.tinyRGB(o(e.nodeLineColor))})).style("stroke-opacity",(function(e){return a.opacity(e.nodeLineColor)})).style("fill",(function(e){return e.tinyColorHue})).style("fill-opacity",(function(e){return e.tinyColorAlpha})),F.transition().ease(n.ease).duration(n.duration).call(C);var N=T.selectAll("."+n.cn.nodeCapture).data(v);N.enter().append("rect").classed(n.cn.nodeCapture,!0).style("fill-opacity",0),N.attr("x",(function(e){return e.zoneX})).attr("y",(function(e){return e.zoneY})).attr("width",(function(e){return e.zoneWidth})).attr("height",(function(e){return e.zoneHeight}));var z=T.selectAll("."+n.cn.nodeCentered).data(v);z.enter().append("g").classed(n.cn.nodeCentered,!0).attr("transform",M),z.transition().ease(n.ease).duration(n.duration).attr("transform",M);var U=z.selectAll("."+n.cn.nodeLabelGuide).data(v);U.enter().append("path").classed(n.cn.nodeLabelGuide,!0).attr("id",(function(e){return e.uniqueNodeLabelPathId})).attr("d",P).attr("transform",B),U.transition().ease(n.ease).duration(n.duration).attr("d",P).attr("transform",B);var V=z.selectAll("."+n.cn.nodeLabel).data(v);V.enter().append("text").classed(n.cn.nodeLabel,!0).attr("transform",L).style("cursor","default").style("fill","black"),V.style("text-shadow",(function(e){return e.horizontal?"-1px 1px 1px #fff, 1px 1px 1px #fff, 1px -1px 1px #fff, -1px -1px 1px #fff":"none"})).each((function(e){s.font(V,e.textFont)})),V.transition().ease(n.ease).duration(n.duration).attr("transform",L);var Q=V.selectAll("."+n.cn.nodeLabelTextPath).data(v);Q.enter().append("textPath").classed(n.cn.nodeLabelTextPath,!0).attr("alignment-baseline","middle").attr("xlink:href",(function(e){return"#"+e.uniqueNodeLabelPathId})).attr("startOffset",I).style("fill",D),Q.text((function(e){return e.horizontal||e.node.dy>5?e.node.label:""})).attr("text-anchor",(function(e){return e.horizontal&&e.left?"end":"start"})),Q.transition().ease(n.ease).duration(n.duration).attr("startOffset",I).style("fill",D)}},f608:function(e,t,r){var n=r("6747"),i=r("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}e.exports=s},f60e:function(e,t,r){"use strict";var n=r("7bdf"),i=r("96ae"),o=Math.max;e.exports=function(e,t){var r,a,s,l=o(arguments.length,2);for(e=Object(i(e)),s=function(n){try{e[n]=t[n]}catch(i){r||(r=i)}},a=1;a<l;++a)t=arguments[a],n(t).forEach(s);if(void 0!==r)throw r;return e}},f60e4:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M4,4H20C21.1,4 22,4.9 22,6V18C22,19.1 21.1,20 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4M12,11L20,6H4L12,11M4,18H20V8.37L12,13.36L4,8.37V18Z"}))};e.exports=s},f63b:function(e,t,r){"use strict";var n=r("2195");function i(e,t){return n(e[0].mul(t[1]).add(t[0].mul(e[1])),e[1].mul(t[1]))}e.exports=i},f654:function(e,t,r){"use strict";(function(t){var n=r("320c");
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
* @license MIT
|
||
*/function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function o(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=r("3022"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=function(){return"foo"===function(){}.name}();function c(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var p=e.exports=b,d=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(a.isFunction(e)){if(u)return e.name;var t=e.toString(),r=t.match(d);return r&&r[1]}}function v(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function m(e){if(u||!a.isFunction(e))return a.inspect(e);var t=h(e),r=t?": "+t:"";return"[Function"+r+"]"}function g(e){return v(m(e.actual),128)+" "+e.operator+" "+v(m(e.expected),128)}function y(e,t,r,n,i){throw new p.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function b(e,t){e||y(e,!0,t,"==",p.ok)}function x(e,t,r,n){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(f(e)&&f(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;n=n||{actual:[],expected:[]};var s=n.actual.indexOf(e);return-1!==s&&s===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),w(e,t,r,n))}return r?e===t:e==t}function A(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function w(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=A(e),o=A(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),x(e,t,r);var s,u,c=S(e),f=S(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),u=c.length-1;u>=0;u--)if(c[u]!==f[u])return!1;for(u=c.length-1;u>=0;u--)if(s=c[u],!x(e[s],t[s],r,n))return!1;return!0}function _(e,t,r){x(e,t,!0)&&y(e,t,r,"notDeepStrictEqual",_)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function k(e){var t;try{e()}catch(r){t=r}return t}function T(e,t,r,n){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof r&&(n=r,r=null),i=k(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&y(i,r,"Missing expected exception"+n);var o="string"===typeof n,s=!e&&a.isError(i),l=!e&&i&&!r;if((s&&o&&E(i,r)||l)&&y(i,r,"Got unwanted exception"+n),e&&i&&r&&!E(i,r)||!e&&i)throw i}function C(e,t){e||y(e,!0,t,"==",C)}p.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=g(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=h(t),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},a.inherits(p.AssertionError,Error),p.fail=y,p.ok=b,p.equal=function(e,t,r){e!=t&&y(e,t,r,"==",p.equal)},p.notEqual=function(e,t,r){e==t&&y(e,t,r,"!=",p.notEqual)},p.deepEqual=function(e,t,r){x(e,t,!1)||y(e,t,r,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(e,t,r){x(e,t,!0)||y(e,t,r,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(e,t,r){x(e,t,!1)&&y(e,t,r,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=_,p.strictEqual=function(e,t,r){e!==t&&y(e,t,r,"===",p.strictEqual)},p.notStrictEqual=function(e,t,r){e===t&&y(e,t,r,"!==",p.notStrictEqual)},p.throws=function(e,t,r){T(!0,e,t,r)},p.doesNotThrow=function(e,t,r){T(!1,e,t,r)},p.ifError=function(e){if(e)throw e},p.strict=n(C,p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var S=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r("c8ba"))},f657:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"sunburst",basePlotModule:r("b353"),categories:[],animatable:!0,attributes:r("f200"),layoutAttributes:r("7ba3"),supplyDefaults:r("8dbe"),supplyLayoutDefaults:r("2dd7"),calc:r("13a0").calc,crossTraceCalc:r("13a0").crossTraceCalc,plot:r("e17d").plot,style:r("7594").style,colorbar:r("f3cf"),meta:{description:["Visualize hierarchal data spanning outward radially from root to leaves.","The sunburst sectors are determined by the entries in *labels* or *ids*","and in *parents*."].join(" ")}}},f67b:function(e,t,r){"use strict";var n=r("f4e9"),i=r("d798"),o=r("9845"),a=r("81f0").attributes,s=r("9092").extendFlat,l=r("a651").templatedArray;e.exports={domain:a({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,role:"info",editType:"plot",description:["Sets the angle of the labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the labels vertically.","Tilted labels with *labelangle* may be positioned better","inside margins when `labelposition` is set to *bottom*."].join(" ")},labelside:{valType:"enumerated",role:"info",values:["top","bottom"],dflt:"top",editType:"plot",description:["Specifies the location of the `label`.","*top* positions labels above, next to the title","*bottom* positions labels below the graph","Tilted labels with *labelangle* may be positioned better","inside margins when `labelposition` is set to *bottom*."].join(" ")},labelfont:o({editType:"plot",description:"Sets the font for the `dimension` labels."}),tickfont:o({editType:"plot",description:"Sets the font for the `dimension` tick values."}),rangefont:o({editType:"plot",description:"Sets the font for the `dimension` range values."}),dimensions:l("dimension",{label:{valType:"string",role:"info",editType:"plot",description:"The shown name of the dimension."},tickvals:s({},i.tickvals,{editType:"plot",description:["Sets the values at which ticks on this axis appear."].join(" ")}),ticktext:s({},i.ticktext,{editType:"plot",description:["Sets the text displayed at the ticks position via `tickvals`."].join(" ")}),tickformat:s({},i.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:"Shows the dimension when set to `true` (the default). Hides the dimension for `false`."},range:{valType:"info_array",role:"info",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot",description:["The domain range that represents the full, shown axis extent. Defaults to the `values` extent.","Must be an array of `[fromValue, toValue]` with finite numbers as elements."].join(" ")},constraintrange:{valType:"info_array",role:"info",freeLength:!0,dimensions:"1-2",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot",description:["The domain range to which the filter on the dimension is constrained. Must be an array","of `[fromValue, toValue]` with `fromValue <= toValue`, or if `multiselect` is not","disabled, you may give an array of arrays, where each inner array is `[fromValue, toValue]`."].join(" ")},multiselect:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:"Do we allow multiple selection ranges or just a single range?"},values:{valType:"data_array",role:"info",editType:"calc",description:["Dimension values. `values[n]` represents the value of the `n`th point in the dataset,","therefore the `values` vector for all dimensions must be the same (longer vectors","will be truncated). Each value must be a finite number."].join(" ")},editType:"calc",description:"The dimensions (variables) of the parallel coordinates chart. 2..60 dimensions are supported."}),line:s({editType:"calc"},n("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"}))}},f6ae:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19C6,20.1 6.9,21 8,21H16C17.1,21 18,20.1 18,19V7H6V19Z"}))};e.exports=s},f6b0:function(e,t,r){"use strict";var n=r("19b2");e.exports=function(e,t){if(e>0)return Math.log(e)/Math.LN10;var r=Math.log(Math.min(t[0],t[1]))/Math.LN10;return n(r)||(r=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),r}},f6b6:function(e,t,r){},f6d3:function(e,t,r){"use strict";var n=r("6e58"),i=r("8b85"),o=r("efaa"),a=r("83d1"),s=r("fc26"),l=r("da89"),u=r("f50a"),c=r("6954"),f=r("8e43"),p=r("849d"),d=r("3511"),h=r("c997"),v=r("9b68"),m=r("fa75");function g(e,t){var r,n,i,o,a,s,l,u,c;for(r=0;r<e.length;r++){for(o=e[r],a=o.pedgepaths=[],s=o.ppaths=[],n=0;n<o.edgepaths.length;n++){for(c=o.edgepaths[n],l=[],i=0;i<c.length;i++)l[i]=t(c[i]);a.push(l)}for(n=0;n<o.paths.length;n++){for(c=o.paths[n],u=[],i=0;i<c.length;i++)u[i]=t(c[i]);s.push(u)}}}function y(e,t,r,i,o,l,u){var p=s.ensureSingle(e,"g","contourlines"),d=!1!==o.showlines,h=o.showlabels,v=d&&h,m=c.createLines(p,d||h,t),g=c.createLineClip(p,v,r,i.trace.uid),y=e.selectAll("g.contourlabels").data(h?[0]:[]);if(y.exit().remove(),y.enter().append("g").classed("contourlabels",!0),h){var x=l.xaxis,A=l.yaxis,w=x._length,_=A._length,E=[[[0,0],[w,0],[w,_],[0,_]]],k=[];s.clearLocationCache();var T=c.labelFormatter(r,i),C=a.tester.append("text").attr("data-notex",1).call(a.font,o.labelfont),S={left:0,right:w,center:w/2,top:0,bottom:_,middle:_/2},O=Math.sqrt(w*w+_*_),M=f.LABELDISTANCE*O/Math.max(1,t.length/f.LABELINCREASE);m.each((function(e){var t=c.calcTextOpts(e.level,T,C,r);n.select(this).selectAll("path").each((function(r){var n=this,i=s.getVisibleSegment(n,S,t.height/2);if(i&&(b(n,r,e,i,u,t.height),!(i.len<(t.width+t.height)*f.LABELMIN)))for(var o=Math.min(Math.ceil(i.len/M),f.LABELMAX),a=0;a<o;a++){var l=c.findBestTextLocation(n,i,t,k,S);if(!l)break;c.addLabelData(l,t,k,E)}}))})),C.remove(),c.drawLabels(y,k,r,g,v?E:null)}h&&!d&&m.remove()}function b(e,t,r,n,i,o){for(var a,s=0;s<r.pedgepaths.length;s++)t===r.pedgepaths[s]&&(a=r.edgepaths[s]);if(a){var l=i.a[0],u=i.a[i.a.length-1],c=i.b[0],f=i.b[i.b.length-1],p=x(e,0,1),d=x(e,n.total,n.total-1),h=m(a[0],p),v=n.total-m(a[a.length-1],d);n.min<h&&(n.min=h),n.max>v&&(n.max=v),n.len=n.max-n.min}function m(e,t){var r,n=0,a=.1;return(Math.abs(e[0]-l)<a||Math.abs(e[0]-u)<a)&&(r=A(i.dxydb_rough(e[0],e[1],a)),n=Math.max(n,o*w(t,r)/2)),(Math.abs(e[1]-c)<a||Math.abs(e[1]-f)<a)&&(r=A(i.dxyda_rough(e[0],e[1],a)),n=Math.max(n,o*w(t,r)/2)),n}}function x(e,t,r){var n=e.getPointAtLength(t),i=e.getPointAtLength(r),o=i.x-n.x,a=i.y-n.y,s=Math.sqrt(o*o+a*a);return[o/s,a/s]}function A(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]);return[e[0]/t,e[1]/t]}function w(e,t){var r=Math.abs(e[0]*t[0]+e[1]*t[1]),n=Math.sqrt(1-r*r);return n/r}function _(e,t,r,n,a,l){var u,c,f,p,d=s.ensureSingle(e,"g","contourbg"),h=d.selectAll("path").data("fill"!==l||a?[]:[0]);h.enter().append("path"),h.exit().remove();var v=[];for(p=0;p<t.length;p++)u=t[p],c=i([],u.x,r.c2p),f=i([],u.y,n.c2p),v.push(o(c,f,u.bicubic));h.attr("d","M"+v.join("L")+"Z").style("stroke","none")}function E(e,t,r,i,o,a,l,u,c,f,p){var d="fill"===f;d&&h(o,e.contours);var v=s.ensureSingle(t,"g","contourfill"),m=v.selectAll("path").data(d?o:[]);m.enter().append("path"),m.exit().remove(),m.each((function(t){var o=(t.prefixBoundary?p:"")+k(e,t,a,l,u,c,r,i);o?n.select(this).attr("d",o).style("stroke","none"):n.select(this).remove()}))}function k(e,t,r,n,i,o,l,u){var c,f,p,d,h,v,g,y="",b=t.edgepaths.map((function(e,t){return t})),x=!0,A=1e-4*Math.abs(r[0][0]-r[2][0]),w=1e-4*Math.abs(r[0][1]-r[2][1]);function _(e){return Math.abs(e[1]-r[0][1])<w}function E(e){return Math.abs(e[1]-r[2][1])<w}function k(e){return Math.abs(e[0]-r[0][0])<A}function T(e){return Math.abs(e[0]-r[2][0])<A}function C(e,t){var r,n,a,s,c="";for(_(e)&&!T(e)||E(e)&&!k(e)?(s=i.aaxis,a=m(i,o,[e[0],t[0]],.5*(e[1]+t[1]))):(s=i.baxis,a=m(i,o,.5*(e[0]+t[0]),[e[1],t[1]])),r=1;r<a.length;r++)for(c+=s.smoothing?"C":"L",n=0;n<a[r].length;n++){var f=a[r][n];c+=[l.c2p(f[0]),u.c2p(f[1])]+" "}return c}c=0,f=null;while(b.length){var S=t.edgepaths[c][0];for(f&&(y+=C(f,S)),g=a.smoothopen(t.edgepaths[c].map(n),t.smoothing),y+=x?g:g.replace(/^M/,"L"),b.splice(b.indexOf(c),1),f=t.edgepaths[c][t.edgepaths[c].length-1],h=-1,d=0;d<4;d++){if(!f){s.log("Missing end?",c,t);break}for(_(f)&&!T(f)?p=r[1]:k(f)?p=r[0]:E(f)?p=r[3]:T(f)&&(p=r[2]),v=0;v<t.edgepaths.length;v++){var O=t.edgepaths[v][0];Math.abs(f[0]-p[0])<A?Math.abs(f[0]-O[0])<A&&(O[1]-f[1])*(p[1]-O[1])>=0&&(p=O,h=v):Math.abs(f[1]-p[1])<w?Math.abs(f[1]-O[1])<w&&(O[0]-f[0])*(p[0]-O[0])>=0&&(p=O,h=v):s.log("endpt to newendpt is not vert. or horz.",f,p,O)}if(h>=0)break;y+=C(f,p),f=p}if(h===t.edgepaths.length){s.log("unclosed perimeter path");break}c=h,x=-1===b.indexOf(c),x&&(c=b[0],y+=C(f,p)+"Z",f=null)}for(c=0;c<t.paths.length;c++)y+=a.smoothclosed(t.paths[c].map(n),t.smoothing);return y}e.exports=function(e,t,r,c){var f=t.xaxis,h=t.yaxis;s.makeTraceGroups(c,r,"contour").each((function(r){var s=n.select(this),c=r[0],m=c.trace,b=m._carpetTrace=v(e,m),x=e.calcdata[b.index][0];if(b.visible&&"legendonly"!==b.visible){var A=c.a,w=c.b,k=m.contours,T=d(k,t,c),C="constraint"===k.type,S=k._operation,O=C?"="===S?"lines":"fill":k.coloring,M=[[A[0],w[w.length-1]],[A[A.length-1],w[w.length-1]],[A[A.length-1],w[0]],[A[0],w[0]]];l(T);var P=1e-8*(A[A.length-1]-A[0]),B=1e-8*(w[w.length-1]-w[0]);u(T,P,B);var L,D,I,j,R=T;"constraint"===k.type&&(R=p(T,S)),g(T,z);var F=[];for(j=x.clipsegments.length-1;j>=0;j--)L=x.clipsegments[j],D=i([],L.x,f.c2p),I=i([],L.y,h.c2p),D.reverse(),I.reverse(),F.push(o(D,I,L.bicubic));var N="M"+F.join("L")+"Z";_(s,x.clipsegments,f,h,C,O),E(m,s,f,h,R,M,z,b,x,O,N),y(s,T,e,c,k,t,b),a.setClipUrl(s,b._clipPathId,e)}function z(e){var t=b.ab2xy(e[0],e[1],!0);return[f.c2p(t[0]),h.c2p(t[1])]}}))}},f6dc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r("ab5b")),i=a(r("d7bc")),o=r("c85e");function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var r=t.localize;return n.default.createElement(o.TraceRequiredPanel,null,n.default.createElement(o.PlotlyFold,{name:r("Legend")},n.default.createElement(o.Radio,{attr:"showlegend",options:[{label:r("Show"),value:!0},{label:r("Hide"),value:!1}]}),n.default.createElement(o.PlotlySection,{name:r("Legend Title")},n.default.createElement(o.TextEditor,{label:r("Text"),attr:"legend.title.text",richTextOnly:!0}),n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"legend.title.font.family"}),n.default.createElement(o.Numeric,{label:r("Size"),attr:"legend.title.font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"legend.title.font.color"})),n.default.createElement(o.PlotlySection,{name:r("Text")},n.default.createElement(o.FontSelector,{label:r("Typeface"),attr:"legend.font.family"}),n.default.createElement(o.Numeric,{label:r("Size"),attr:"legend.font.size",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Color"),attr:"legend.font.color"})),n.default.createElement(o.PlotlySection,{name:r("Legend Box")},n.default.createElement(o.Numeric,{label:r("Border Width"),attr:"legend.borderwidth",units:"px"}),n.default.createElement(o.ColorPicker,{label:r("Border Color"),attr:"legend.bordercolor"}),n.default.createElement(o.ColorPicker,{label:r("Background Color"),attr:"legend.bgcolor"})),n.default.createElement(o.PlotlySection,{name:r("Horizontal Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"legend.xanchor",options:[{label:r("Auto"),value:"auto"},{label:r("Left"),value:"left"},{label:r("Center"),value:"center"},{label:r("Right"),value:"right"}]}),n.default.createElement(o.Numeric,{label:r("Position"),showSlider:!0,step:.02,attr:"legend.x"})),n.default.createElement(o.PlotlySection,{name:r("Vertical Positioning")},n.default.createElement(o.Dropdown,{label:r("Anchor Point"),clearable:!1,attr:"legend.yanchor",options:[{label:r("Auto"),value:"auto"},{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]}),n.default.createElement(o.Numeric,{label:r("Position"),showSlider:!0,step:.02,attr:"legend.y"}),n.default.createElement(o.Dropdown,{label:r("Text Alignment"),clearable:!1,attr:"legend.valign",options:[{label:r("Top"),value:"top"},{label:r("Middle"),value:"middle"},{label:r("Bottom"),value:"bottom"}]})),n.default.createElement(o.PlotlySection,{name:r("Orientation")},n.default.createElement(o.Radio,{attr:"legend.orientation",options:[{label:r("Vertical"),value:"v"},{label:r("Horizontal"),value:"h"}]})),n.default.createElement(o.PlotlySection,{name:r("Traces")},n.default.createElement(o.Dropdown,{label:r("Trace Order"),attr:"legend.traceorder",options:[{label:r("Normal"),value:"normal"},{label:r("Reversed"),value:"reversed"},{label:r("Grouped"),value:"grouped"},{label:r("Reversed and Grouped"),value:"reversed+grouped"}]}),n.default.createElement(o.Dropdown,{label:r("Item Sizing"),attr:"legend.itemsizing",options:[{label:r("Trace"),value:"trace"},{label:r("Constant"),value:"constant"}]}),n.default.createElement(o.Numeric,{label:r("Gap Between Groups"),attr:"legend.tracegroupgap",units:"px"}))))};s.contextTypes={localize:i.default.func};var l=s;t.default=l},f6e7:function(e,t,r){"use strict";var n=r("e9b4"),i=r("efce"),o=r("b205"),a=r("cea5"),s=r("1417"),l=r("7f9b"),u=r("3d78"),c=r("cbbe"),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function p(e,t){var r=e[0],n=e[1],i=e[2],o=e[3];return e[0]=t[0]*r+t[4]*n+t[8]*i+t[12]*o,e[1]=t[1]*r+t[5]*n+t[9]*i+t[13]*o,e[2]=t[2]*r+t[6]*n+t[10]*i+t[14]*o,e[3]=t[3]*r+t[7]*n+t[11]*i+t[15]*o,e}function d(e,t,r,n){return p(n,n,r),p(n,n,t),p(n,n,e)}function h(e,t){this.index=e,this.dataCoordinate=this.position=t}function v(e){return!0===e||e>1?1:e}function m(e,t,r,n,i,o,a,s,l,u,c,f){this.gl=e,this.pixelRatio=1,this.shader=t,this.orthoShader=r,this.projectShader=n,this.pointBuffer=i,this.colorBuffer=o,this.glyphBuffer=a,this.idBuffer=s,this.vao=l,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[2/3,2/3,2/3],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=u,this.pickOrthoShader=c,this.pickProjectShader=f,this.points=[],this._selectResult=new h(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}e.exports=j;var g=m.prototype;g.pickSlots=1,g.setPickBase=function(e){this.pickId=e},g.isTransparent=function(){if(this.hasAlpha)return!0;for(var e=0;e<3;++e)if(this.axesProject[e]&&this.projectHasAlpha)return!0;return!1},g.isOpaque=function(){if(!this.hasAlpha)return!0;for(var e=0;e<3;++e)if(this.axesProject[e]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],b=[0,0,0],x=[0,0,0],A=[0,0,0,1],w=[0,0,0,1],_=f.slice(),E=[0,0,0],k=[[0,0,0],[0,0,0]];function T(e){return e[0]=e[1]=e[2]=0,e}function C(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=1,e}function S(e,t,r,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[r]=n,e}function O(e){for(var t=k,r=0;r<2;++r)for(var n=0;n<3;++n)t[r][n]=Math.max(Math.min(e[r][n],1e8),-1e8);return t}function M(e,t,r,n){var i,o=t.axesProject,a=t.gl,l=e.uniforms,u=r.model||f,c=r.view||f,p=r.projection||f,h=t.axesBounds,v=O(t.clipBounds);i=t.axes&&t.axes.lastCubeProps?t.axes.lastCubeProps.axis:[1,1,1],y[0]=2/a.drawingBufferWidth,y[1]=2/a.drawingBufferHeight,e.bind(),l.view=c,l.projection=p,l.screenSize=y,l.highlightId=t.highlightId,l.highlightScale=t.highlightScale,l.clipBounds=v,l.pickGroup=t.pickId/255,l.pixelRatio=n;for(var m=0;m<3;++m)if(o[m]){l.scale=t.projectScale[m],l.opacity=t.projectOpacity[m];for(var g=_,k=0;k<16;++k)g[k]=0;for(k=0;k<4;++k)g[5*k]=1;g[5*m]=0,i[m]<0?g[12+m]=h[0][m]:g[12+m]=h[1][m],s(g,u,g),l.model=g;var M=(m+1)%3,P=(m+2)%3,B=T(b),L=T(x);B[M]=1,L[P]=1;var D=d(p,c,u,C(A,B)),I=d(p,c,u,C(w,L));if(Math.abs(D[1])>Math.abs(I[1])){var j=D;D=I,I=j,j=B,B=L,L=j;var R=M;M=P,P=R}D[0]<0&&(B[M]=-1),I[1]>0&&(L[P]=-1);var F=0,N=0;for(k=0;k<4;++k)F+=Math.pow(u[4*M+k],2),N+=Math.pow(u[4*P+k],2);B[M]/=Math.sqrt(F),L[P]/=Math.sqrt(N),l.axes[0]=B,l.axes[1]=L,l.fragClipBounds[0]=S(E,v[0],m,-1e8),l.fragClipBounds[1]=S(E,v[1],m,1e8),t.vao.bind(),t.vao.draw(a.TRIANGLES,t.vertexCount),t.lineWidth>0&&(a.lineWidth(t.lineWidth*n),t.vao.draw(a.LINES,t.lineVertexCount,t.vertexCount)),t.vao.unbind()}}var P=[-1e8,-1e8,-1e8],B=[1e8,1e8,1e8],L=[P,B];function D(e,t,r,n,i,o,a){var s=r.gl;if((o===r.projectHasAlpha||a)&&M(t,r,n,i),o===r.hasAlpha||a){e.bind();var l=e.uniforms;l.model=n.model||f,l.view=n.view||f,l.projection=n.projection||f,y[0]=2/s.drawingBufferWidth,y[1]=2/s.drawingBufferHeight,l.screenSize=y,l.highlightId=r.highlightId,l.highlightScale=r.highlightScale,l.fragClipBounds=L,l.clipBounds=r.axes.bounds,l.opacity=r.opacity,l.pickGroup=r.pickId/255,l.pixelRatio=i,r.vao.bind(),r.vao.draw(s.TRIANGLES,r.vertexCount),r.lineWidth>0&&(s.lineWidth(r.lineWidth*i),r.vao.draw(s.LINES,r.lineVertexCount,r.vertexCount)),r.vao.unbind()}}function I(e,t,r,i){var o;o=Array.isArray(e)?t<e.length?e[t]:void 0:e,o=c(o);var a=!0;n(o)&&(o="▼",a=!1);var s=u(o,r,i);return{mesh:s[0],lines:s[1],bounds:s[2],visible:a}}function j(e){var t=e.gl,r=l.createPerspective(t),n=l.createOrtho(t),a=l.createProject(t),s=l.createPickPerspective(t),u=l.createPickOrtho(t),c=l.createPickProject(t),f=i(t),p=i(t),d=i(t),h=i(t),v=o(t,[{buffer:f,size:3,type:t.FLOAT},{buffer:p,size:4,type:t.FLOAT},{buffer:d,size:2,type:t.FLOAT},{buffer:h,size:4,type:t.UNSIGNED_BYTE,normalized:!0}]),g=new m(t,r,n,a,f,p,d,h,v,s,u,c);return g.update(e),g}g.draw=function(e){var t=this.useOrtho?this.orthoShader:this.shader;D(t,this.projectShader,this,e,this.pixelRatio,!1,!1)},g.drawTransparent=function(e){var t=this.useOrtho?this.orthoShader:this.shader;D(t,this.projectShader,this,e,this.pixelRatio,!0,!1)},g.drawPick=function(e){var t=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;D(t,this.pickProjectShader,this,e,1,!0,!0)},g.pick=function(e){if(!e)return null;if(e.id!==this.pickId)return null;var t=e.value[2]+(e.value[1]<<8)+(e.value[0]<<16);if(t>=this.pointCount||t<0)return null;var r=this.points[t],n=this._selectResult;n.index=t;for(var i=0;i<3;++i)n.position[i]=n.dataCoordinate[i]=r[i];return n},g.highlight=function(e){if(e){var t=e.index,r=255&t,n=t>>8&255,i=t>>16&255;this.highlightId=[r/255,n/255,i/255,0]}else this.highlightId=[1,1,1,1]},g.update=function(e){if(e=e||{},"perspective"in e&&(this.useOrtho=!e.perspective),"orthographic"in e&&(this.useOrtho=!!e.orthographic),"lineWidth"in e&&(this.lineWidth=e.lineWidth),"project"in e)if(Array.isArray(e.project))this.axesProject=e.project;else{var t=!!e.project;this.axesProject=[t,t,t]}if("projectScale"in e)if(Array.isArray(e.projectScale))this.projectScale=e.projectScale.slice();else{var r=+e.projectScale;this.projectScale=[r,r,r]}if(this.projectHasAlpha=!1,"projectOpacity"in e){if(Array.isArray(e.projectOpacity))this.projectOpacity=e.projectOpacity.slice();else{r=+e.projectOpacity;this.projectOpacity=[r,r,r]}for(var n=0;n<3;++n)this.projectOpacity[n]=v(this.projectOpacity[n]),this.projectOpacity[n]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in e&&(this.opacity=v(e.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var i,o,s=e.position,l=e.font||"normal",u=e.alignment||[0,0];if(2===u.length)i=u[0],o=u[1];else{i=[],o=[];for(n=0;n<u.length;++n)i[n]=u[n][0],o[n]=u[n][1]}var c=[1/0,1/0,1/0],f=[-1/0,-1/0,-1/0],p=e.glyph,d=e.color,h=e.size,m=e.angle,g=e.lineColor,y=-1,b=0,x=0,A=0;if(s.length){A=s.length;e:for(n=0;n<A;++n){for(var w=s[n],_=0;_<3;++_)if(isNaN(w[_])||!isFinite(w[_]))continue e;var E=I(p,n,l,this.pixelRatio),k=E.mesh,T=E.lines,C=E.bounds;b+=3*k.cells.length,x+=2*T.edges.length}}var S=b+x,O=a.mallocFloat(3*S),M=a.mallocFloat(4*S),P=a.mallocFloat(2*S),B=a.mallocUint32(S);if(S>0){var L=0,D=b,j=[0,0,0,1],R=[0,0,0,1],F=Array.isArray(d)&&Array.isArray(d[0]),N=Array.isArray(g)&&Array.isArray(g[0]);e:for(n=0;n<A;++n){y+=1;for(w=s[n],_=0;_<3;++_){if(isNaN(w[_])||!isFinite(w[_]))continue e;f[_]=Math.max(f[_],w[_]),c[_]=Math.min(c[_],w[_])}E=I(p,n,l,this.pixelRatio),k=E.mesh,T=E.lines,C=E.bounds;var z=E.visible;if(z)if(Array.isArray(d)){if(U=F?n<d.length?d[n]:[0,0,0,0]:d,3===U.length){for(_=0;_<3;++_)j[_]=U[_];j[3]=1}else if(4===U.length){for(_=0;_<4;++_)j[_]=U[_];!this.hasAlpha&&U[3]<1&&(this.hasAlpha=!0)}}else j[0]=j[1]=j[2]=0,j[3]=1;else j=[1,1,1,0];if(z)if(Array.isArray(g)){var U;if(U=N?n<g.length?g[n]:[0,0,0,0]:g,3===U.length){for(_=0;_<3;++_)R[_]=U[_];R[_]=1}else if(4===U.length){for(_=0;_<4;++_)R[_]=U[_];!this.hasAlpha&&U[3]<1&&(this.hasAlpha=!0)}}else R[0]=R[1]=R[2]=0,R[3]=1;else R=[1,1,1,0];var H=.5;z?Array.isArray(h)?H=n<h.length?+h[n]:12:h?H=+h:this.useOrtho&&(H=12):H=0;var V=0;Array.isArray(m)?V=n<m.length?+m[n]:0:m&&(V=+m);var Q=Math.cos(V),W=Math.sin(V);for(w=s[n],_=0;_<3;++_)f[_]=Math.max(f[_],w[_]),c[_]=Math.min(c[_],w[_]);var K=i,q=o;K=0;Array.isArray(i)?K=n<i.length?i[n]:0:i&&(K=i);q=0;Array.isArray(o)?q=n<o.length?o[n]:0:o&&(q=o),K*=K>0?1-C[0][0]:K<0?1+C[1][0]:1,q*=q>0?1-C[0][1]:q<0?1+C[1][1]:1;var G=[K,q],$=k.cells||[],Y=k.positions||[];for(_=0;_<$.length;++_)for(var X=$[_],Z=0;Z<3;++Z){for(var J=0;J<3;++J)O[3*L+J]=w[J];for(J=0;J<4;++J)M[4*L+J]=j[J];B[L]=y;var ee=Y[X[Z]];P[2*L]=H*(Q*ee[0]-W*ee[1]+G[0]),P[2*L+1]=H*(W*ee[0]+Q*ee[1]+G[1]),L+=1}for($=T.edges,Y=T.positions,_=0;_<$.length;++_)for(X=$[_],Z=0;Z<2;++Z){for(J=0;J<3;++J)O[3*D+J]=w[J];for(J=0;J<4;++J)M[4*D+J]=R[J];B[D]=y;ee=Y[X[Z]];P[2*D]=H*(Q*ee[0]-W*ee[1]+G[0]),P[2*D+1]=H*(W*ee[0]+Q*ee[1]+G[1]),D+=1}}}this.bounds=[c,f],this.points=s,this.pointCount=s.length,this.vertexCount=b,this.lineVertexCount=x,this.pointBuffer.update(O),this.colorBuffer.update(M),this.glyphBuffer.update(P),this.idBuffer.update(B),a.free(O),a.free(M),a.free(P),a.free(B)},g.dispose=function(){this.shader.dispose(),this.orthoShader.dispose(),this.pickPerspectiveShader.dispose(),this.pickOrthoShader.dispose(),this.vao.dispose(),this.pointBuffer.dispose(),this.colorBuffer.dispose(),this.glyphBuffer.dispose(),this.idBuffer.dispose()}},f6e8:function(e,t,r){"use strict";function n(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var i=n,o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=i((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t["a"]=a},f6f8:function(e,t){function r(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},f725:function(e,t,r){"use strict";e.exports=r("ff0d")},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f786:function(e,t,r){"use strict";function n(e){var t=e?e.ownerDocument||e:document,r=t.defaultView||window;return!(!e||!("function"===typeof r.Node?e instanceof r.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=n},f78b:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r("9903")),o=p(r("201b")),a=p(r("d7bc")),s=f(r("ab5b")),l=r("4578"),u=r("e419");function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){var t=A();return function(){var r,n=w(e);if(t){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var _=(0,l.connectTraceToPlot)(i.default),E=(0,l.connectNonCartesianSubplotToLayout)(i.default),k=(0,l.connectCartesianSubplotToLayout)(i.default),T=function(e){m(r,e);var t=y(r);function r(){return d(this,r),t.apply(this,arguments)}return v(r,[{key:"render",value:function(){var e=this.context,t=e.data,r=void 0===t?[]:t,n=e.layout,i=void 0===n?{}:n,a=e.localize,c=this.props.children,f=[],p=r.reduce((function(e,t,r){if(u.TRACE_TO_AXIS.cartesian.some((function(e){return e===t.type}))){var n="xaxis"+(t.xaxis?t.xaxis.substring(1):""),i="yaxis"+(t.yaxis?t.yaxis.substring(1):""),o=e.findIndex((function(e){return e.xaxis===n&&e.yaxis===i}));-1===o?e.push({xaxis:n,yaxis:i,xaxisName:t.xaxis?(0,l.getSubplotTitle)(t.xaxis,"x",a):"X 1",yaxisName:t.yaxis?(0,l.getSubplotTitle)(t.yaxis,"y",a):"Y 1",index:[r]}):e[o].index.push(r)}return e}),[]);p.forEach((function(e){return f[e.index[0]]=s.default.createElement(k,{key:e.index[0],traceIndexes:e.index,canDelete:!1,xaxis:e.xaxis,yaxis:e.yaxis,name:"".concat(e.xaxisName," | ").concat(e.yaxisName)},c)})),Object.keys(i).forEach((function(e){var t,n=[];["geo","mapbox","polar","gl3d","ternary"].some((function(i){t=(0,l.getSubplotTitle)(e,i,a);var o=u.SUBPLOT_TO_ATTR[i].layout===e?r.findIndex((function(e){return u.TRACE_TO_AXIS[i].some((function(t){return t===e.type}))})):r.findIndex((function(t){return t[u.SUBPLOT_TO_ATTR[i].data]===e}));return-1!==o&&n.push(o),e.startsWith(u.SUBPLOT_TO_ATTR[i].layout)}))&&(f[n[0]]=s.default.createElement(E,{key:e,traceIndexes:n,canDelete:!1,subplot:e,name:t},c))}));var d={pie:0,table:0,sunburst:0,treemap:0,sankey:0,parcoords:0,parcats:0};return r.forEach((function(e,t){if("pie"===e.type&&e.values||["pie","table","sunburst","treemap","sankey","parcoords","parcats","funnelarea"].includes(e.type)){d[e.type]++;var r=d[e.type];f[t]=s.default.createElement(_,{key:t,traceIndexes:[t],canDelete:!1,name:(0,l.capitalize)(e.type)+(r>1?" "+r:"")},c)}})),s.default.createElement(o.default,null,f)}}]),r}(s.Component);T.contextTypes={fullData:a.default.array,data:a.default.array,layout:a.default.object,localize:a.default.func},T.propTypes={children:a.default.node};var C=T;t.default=C},f7a4:function(e,t,r){"use strict";e.exports={maxDimensionCount:60,overdrag:45,verticalPadding:2,tickDistance:50,canvasPixelRatio:1,blockLineCount:5e3,layers:["contextLineLayer","focusLineLayer","pickLineLayer"],axisTitleOffset:28,axisExtentOffset:10,deselectedLineColor:"#777",bar:{width:4,captureWidth:10,fillColor:"magenta",fillOpacity:1,snapDuration:150,snapRatio:.25,snapClose:.01,strokeColor:"white",strokeOpacity:1,strokeWidth:1,handleHeight:8,handleOpacity:1,handleOverlap:0},cn:{axisExtentText:"axis-extent-text",parcoordsLineLayers:"parcoords-line-layers",parcoordsLineLayer:"parcoords-lines",parcoords:"parcoords",parcoordsControlView:"parcoords-control-view",yAxis:"y-axis",axisOverlays:"axis-overlays",axis:"axis",axisHeading:"axis-heading",axisTitle:"axis-title",axisExtent:"axis-extent",axisExtentTop:"axis-extent-top",axisExtentTopText:"axis-extent-top-text",axisExtentBottom:"axis-extent-bottom",axisExtentBottomText:"axis-extent-bottom-text",axisBrush:"axis-brush"},id:{filterBarPattern:"filter-bar-pattern"}}},f7bf:function(e,t,r){"use strict";var n=r("7327"),i=r("4e7e"),o=r("def6"),a=r("5752"),s=r("2195"),l=r("18a2");function u(e,t){if(n(e))return t?l(e,u(t)):[e[0].clone(),e[1].clone()];var r,c,f=0;if(i(e))r=e.clone();else if("string"===typeof e)r=a(e);else{if(0===e)return[o(0),o(1)];if(e===Math.floor(e))r=o(e);else{while(e!==Math.floor(e))e*=Math.pow(2,256),f-=256;r=o(e)}}if(n(t))r.mul(t[1]),c=t[0].clone();else if(i(t))c=t.clone();else if("string"===typeof t)c=a(t);else if(t)if(t===Math.floor(t))c=o(t);else{while(t!==Math.floor(t))t*=Math.pow(2,256),f+=256;c=o(t)}else c=o(1);return f>0?r=r.ushln(f):f<0&&(c=c.ushln(-f)),s(r,c)}e.exports=u},f7c1:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("a651"),a=r("e5ac"),s=r("d2d9"),l=r("b19b");function u(e,t,r,i){var o=i.calendar;function a(r,i){return n.coerce(e,t,s.buttons,r,i)}var l=a("visible");if(l){var u=a("step");"all"!==u&&(!o||"gregorian"===o||"month"!==u&&"year"!==u?a("stepmode"):t.stepmode="backward",a("count")),a("label")}}function c(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),i=0,o=0;o<n.length;o++){var a=t[n[o]].domain;a&&(i=Math.max(a[1],i))}return[e.domain[0],i+l.yPad]}e.exports=function(e,t,r,f,p){var d=e.rangeselector||{},h=o.newContainer(t,"rangeselector");function v(e,t){return n.coerce(d,h,s,e,t)}var m=a(d,h,{name:"buttons",handleItemDefaults:u,calendar:p}),g=v("visible",m.length>0);if(g){var y=c(t,r,f);v("x",y[0]),v("y",y[1]),n.noneOrAll(e,t,["x","y"]),v("xanchor"),v("yanchor"),n.coerceFont(v,"font",r.font);var b=v("bgcolor");v("activecolor",i.contrast(b,l.lightAmount,l.darkAmount)),v("bordercolor"),v("borderwidth")}}},f7c3:function(e,t,r){e.exports=r("a469")},f7e9:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115").defaultLine,o=r("81f0").attributes,a=r("9845"),s=r("107c").textposition,l=r("cb34").overrideAll,u=r("a651").templatedArray,c=r("b5e4"),f=a({description:["Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size).","Has an effect only when `type` is set to *symbol*."].join(" ")});f.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var p=e.exports=l({_arrayAttrRegexps:[n.counterRegex("mapbox",".layers",!0)],domain:o({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0,role:"info",description:["Sets the mapbox access token to be used for this mapbox map.","Alternatively, the mapbox access token can be set in the","configuration options under `mapboxAccessToken`.","Note that accessToken are only required when `style`","(e.g with values :",c.styleValuesMapbox.join(", "),")","and/or a layout layer references the Mapbox server."].join(" ")},style:{valType:"any",values:c.styleValuesMapbox.concat(c.styleValuesNonMapbox),dflt:c.styleValueDflt,role:"style",description:["Defines the map layers that are rendered by default below the trace layers defined in `data`,","which are themselves by default rendered below the layers defined in `layout.mapbox.layers`.","","These layers can be defined either explicitly as a Mapbox Style object which can contain multiple","layer definitions that load data from any public or private Tile Map Service (TMS or XYZ) or Web Map Service (WMS)","or implicitly by using one of the built-in style objects which use WMSes which do not require any","access tokens, or by using a default Mapbox style or custom Mapbox style URL, both of","which require a Mapbox access token","","Note that Mapbox access token can be set in the `accesstoken` attribute","or in the `mapboxAccessToken` config option.","","Mapbox Style objects are of the form described in the Mapbox GL JS documentation available at","https://docs.mapbox.com/mapbox-gl-js/style-spec","","The built-in plotly.js styles objects are:",c.styleValuesNonMapbox.join(", "),"","The built-in Mapbox styles are:",c.styleValuesMapbox.join(", "),"","Mapbox style URLs are of the form: mapbox://mapbox.mapbox-<name>-<version>"].join(" ")},center:{lon:{valType:"number",dflt:0,role:"info",description:"Sets the longitude of the center of the map (in degrees East)."},lat:{valType:"number",dflt:0,role:"info",description:"Sets the latitude of the center of the map (in degrees North)."}},zoom:{valType:"number",dflt:1,role:"info",description:"Sets the zoom level of the map (mapbox.zoom)."},bearing:{valType:"number",dflt:0,role:"info",description:"Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing)."},pitch:{valType:"number",dflt:0,role:"info",description:["Sets the pitch angle of the map","(in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch)."].join(" ")},layers:u("layer",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether this layer is displayed"].join(" ")},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson",role:"info",description:["Sets the source type for this layer,","that is the type of the layer data."].join(" ")},source:{valType:"any",role:"info",description:["Sets the source data for this layer (mapbox.layer.source).","When `sourcetype` is set to *geojson*, `source` can be a URL to a GeoJSON","or a GeoJSON object.","When `sourcetype` is set to *vector* or *raster*, `source` can be a URL or","an array of tile URLs.","When `sourcetype` is set to *image*, `source` can be a URL to an image."].join(" ")},sourcelayer:{valType:"string",dflt:"",role:"info",description:["Specifies the layer to use from a vector tile source (mapbox.layer.source-layer).","Required for *vector* source type that supports multiple layers."].join(" ")},sourceattribution:{valType:"string",role:"info",description:["Sets the attribution for this source."].join(" ")},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle",role:"info",description:["Sets the layer type,","that is the how the layer data set in `source` will be rendered","With `sourcetype` set to *geojson*, the following values are allowed:","*circle*, *line*, *fill* and *symbol*.","but note that *line* and *fill* are not compatible with Point","GeoJSON geometries.","With `sourcetype` set to *vector*, the following values are allowed:"," *circle*, *line*, *fill* and *symbol*.","With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed."].join(" ")},coordinates:{valType:"any",role:"info",description:["Sets the coordinates array contains [longitude, latitude] pairs","for the image corners listed in clockwise order:","top left, top right, bottom right, bottom left.","Only has an effect for *image* `sourcetype`."].join(" ")},below:{valType:"string",role:"info",description:["Determines if the layer will be inserted","before the layer with the specified ID.","If omitted or set to '',","the layer will be inserted above every existing layer."].join(" ")},color:{valType:"color",dflt:i,role:"style",description:["Sets the primary layer color.","If `type` is *circle*, color corresponds to the circle color (mapbox.layer.paint.circle-color)","If `type` is *line*, color corresponds to the line color (mapbox.layer.paint.line-color)","If `type` is *fill*, color corresponds to the fill color (mapbox.layer.paint.fill-color)","If `type` is *symbol*, color corresponds to the icon color (mapbox.layer.paint.icon-color)"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",description:["Sets the opacity of the layer.","If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity)","If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity)","If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity)","If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity)"].join(" ")},minzoom:{valType:"number",min:0,max:24,dflt:0,role:"info",description:["Sets the minimum zoom level (mapbox.layer.minzoom).","At zoom levels less than the minzoom, the layer will be hidden."].join(" ")},maxzoom:{valType:"number",min:0,max:24,dflt:24,role:"info",description:["Sets the maximum zoom level (mapbox.layer.maxzoom).","At zoom levels equal to or greater than the maxzoom, the layer will be hidden."].join(" ")},circle:{radius:{valType:"number",dflt:15,role:"style",description:["Sets the circle radius (mapbox.layer.paint.circle-radius).","Has an effect only when `type` is set to *circle*."].join(" ")}},line:{width:{valType:"number",dflt:2,role:"style",description:["Sets the line width (mapbox.layer.paint.line-width).","Has an effect only when `type` is set to *line*."].join(" ")},dash:{valType:"data_array",role:"style",description:["Sets the length of dashes and gaps (mapbox.layer.paint.line-dasharray).","Has an effect only when `type` is set to *line*."].join(" ")}},fill:{outlinecolor:{valType:"color",dflt:i,role:"style",description:["Sets the fill outline color (mapbox.layer.paint.fill-outline-color).","Has an effect only when `type` is set to *fill*."].join(" ")}},symbol:{icon:{valType:"string",dflt:"marker",role:"style",description:["Sets the symbol icon image (mapbox.layer.layout.icon-image).","Full list: https://www.mapbox.com/maki-icons/"].join(" ")},iconsize:{valType:"number",dflt:10,role:"style",description:["Sets the symbol icon size (mapbox.layer.layout.icon-size).","Has an effect only when `type` is set to *symbol*."].join(" ")},text:{valType:"string",dflt:"",role:"info",description:["Sets the symbol text (mapbox.layer.layout.text-field)."].join(" ")},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point",role:"info",description:["Sets the symbol and/or text placement (mapbox.layer.layout.symbol-placement).","If `placement` is *point*, the label is placed where the geometry is located","If `placement` is *line*, the label is placed along the line of the geometry","If `placement` is *line-center*, the label is placed on the center of the geometry"].join(" ")},textfont:f,textposition:n.extendFlat({},s,{arrayOk:!1})}})},"plot","from-root");p.uirevision={valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in the view:","`center`, `zoom`, `bearing`, `pitch`. Defaults to `layout.uirevision`."].join(" ")}},f825:function(e,t,r){"use strict";r.r(t),r.d(t,"BLOCK_TYPE",(function(){return n})),r.d(t,"ENTITY_TYPE",(function(){return i})),r.d(t,"INLINE_STYLE",(function(){return o})),r.d(t,"Constants",(function(){return a})),r.d(t,"getEntityRanges",(function(){return u})),r.d(t,"getSelectedBlocks",(function(){return f})),r.d(t,"selectionContainsEntity",(function(){return p})),r.d(t,"callModifierForSelectedBlocks",(function(){return h}));var n={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},i={LINK:"LINK",IMAGE:"IMAGE",EMBED:"embed"},o={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"},a={BLOCK_TYPE:n,ENTITY_TYPE:i,INLINE_STYLE:o},s=r("24f7"),l=new s["OrderedSet"];function u(e,t){for(var r=null,n=null,i=[],o=0,a=0,s=e.length;a<s;a++){n=r;var l=t.get(a);r=l?l.getEntity():null,a>0&&r!==n&&(i.push([n,c(e.slice(o,a),t.slice(o,a))]),o=a)}return i.push([r,c(e.slice(o),t.slice(o))]),i}function c(e,t){for(var r=l,n=l,i=[],o=0,a=0,u=e.length;a<u;a++){n=r;var c=t.get(a);r=c?c.getStyle():l,a>0&&!Object(s["is"])(r,n)&&(i.push([e.slice(o,a),n]),o=a)}return i.push([e.slice(o),r]),i}var f=function(e,t,r){var n=t===r,i=e.getBlockForKey(t);if(!i)return[];var o=[i];if(!n){var a=t;while(a!==r){var s=e.getBlockAfter(a);if(!s){o=[];break}o.push(s),a=s.getKey()}}return o},p=function(e){return function(t,r){var n=t.getCurrentContent(),i=r||t.getSelection(),o=i.getStartKey(),a=i.getEndKey(),s=i.getStartOffset(),l=i.getEndOffset(),u=o===a,c=f(n,o,a),p=!1,d=s+1,h=l-1;return c.forEach((function(t){e(t,(function(e,r){if(!p){var n=t.getKey();u&&(r<d||e>h)||n===o&&r<d||n===a&&e>h||(p=!0)}}),n)})),p}},d=r("bfcd"),h=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var o=e.getCurrentContent(),a=e.getSelection(),s=a.getStartKey(),l=a.getEndKey(),u=a.getStartOffset(),c=a.getEndOffset(),p=s===l,h=f(o,s,l),v=e;return h.forEach((function(e){var r=e.getKey(),i=u,o=c;r===s?(i=u,o=p?c:e.getText().length):r===l?(i=p?u:0,o=c):(i=0,o=e.getText().length);var a=new d["SelectionState"]({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:o});v=t.apply(void 0,[v,a].concat(n))})),d["EditorState"].forceSelection(v,a)}},f846:function(e,t,r){"use strict";e.exports=r("77bc")},f889:function(e,t){function r(e,t,r,n,i,o,a){var s=1/(t-r),l=1/(n-i),u=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+r)*s,e[13]=(i+n)*l,e[14]=(a+o)*u,e[15]=1,e}e.exports=r},f8a5:function(e,t){function r(e){"number"!==typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"===typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var i=r[0],o=r[1],a=n[0],s=n[1],l=t[0],u=t[1];return(a-i)*(u-o)-(s-o)*(l-i)>=-e},pointBetween:function(t,r,n){var i=t[1]-r[1],o=n[0]-r[0],a=t[0]-r[0],s=n[1]-r[1],l=a*o+i*s;if(l<e)return!1;var u=o*o+s*s;return!(l-u>-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])<e},pointsSameY:function(t,r){return Math.abs(t[1]-r[1])<e},pointsSame:function(e,r){return t.pointsSameX(e,r)&&t.pointsSameY(e,r)},pointsCompare:function(e,r){return t.pointsSameX(e,r)?t.pointsSameY(e,r)?0:e[1]<r[1]?-1:1:e[0]<r[0]?-1:1},pointsCollinear:function(t,r,n){var i=t[0]-r[0],o=t[1]-r[1],a=r[0]-n[0],s=r[1]-n[1];return Math.abs(i*s-a*o)<e},linesIntersect:function(t,r,n,i){var o=r[0]-t[0],a=r[1]-t[1],s=i[0]-n[0],l=i[1]-n[1],u=o*l-a*s;if(Math.abs(u)<e)return!1;var c=t[0]-n[0],f=t[1]-n[1],p=(s*f-l*c)/u,d=(o*f-a*c)/u,h={alongA:0,alongB:0,pt:[t[0]+p*o,t[1]+p*a]};return h.alongA=p<=-e?-2:p<e?-1:p-1<=-e?0:p-1<e?1:2,h.alongB=d<=-e?-2:d<e?-1:d-1<=-e?0:d-1<e?1:2,h},pointInsideRegion:function(t,r){for(var n=t[0],i=t[1],o=r[r.length-1][0],a=r[r.length-1][1],s=!1,l=0;l<r.length;l++){var u=r[l][0],c=r[l][1];c-i>e!=a-i>e&&(o-u)*(i-c)/(a-c)+u-n>e&&(s=!s),o=u,a=c}return s}};return t}e.exports=r},f8af:function(e,t,r){var n=r("2474");function i(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}e.exports=i},f8b5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 16 16"},e),o.default.createElement("path",{d:"M.013 1.012V15h13.999V1.012H.013zm10.999 7.995H8.013v2.999h-2V9.007h-3V7.008h3V4.01h2v2.998h2.999v1.999z"}))};t.default=u},f8f6:function(e,t,r){"use strict";e.exports=function(e,t){return e.lon=t.lon,e.lat=t.lat,e}},f8ff:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("g",{fill:"none"},o.default.createElement("path",{d:"M0 0h46v46H0z"}),o.default.createElement("path",{d:"M40.616 19.3a16.387 16.387 0 0 0-1.352-3.904 9.836 9.836 0 0 0-4.225-4.015c-6.17-3.152-13.563-4.731-20.021-1.298a23.665 23.665 0 0 0-4.74 3.47 14.357 14.357 0 0 0-3.28 3.934c-1.636 3.205-.982 6.997-.015 10.433a7.81 7.81 0 0 0 1.083 2.555 8.344 8.344 0 0 0 2.63 2.1c2.611 1.526 5.352 2.845 8.089 4.161a13.223 13.223 0 0 0 2.59 1.028 11.867 11.867 0 0 0 3.048.229 8.678 8.678 0 0 0 3.538-.623 8.95 8.95 0 0 0 2.162-1.622l6.115-5.645c2.223-2.053 4.584-4.37 4.83-7.288a10.951 10.951 0 0 0-.452-3.515zm-5.174 2.942c-.29 1.988-1.825 3.679-3.153 4.984a88.579 88.579 0 0 1-3.648 3.367 5.915 5.915 0 0 1-1.32.94 5.617 5.617 0 0 1-2.098.423 7.835 7.835 0 0 1-1.807-.076 9.038 9.038 0 0 1-1.8-.557 31.794 31.794 0 0 1-5.487-2.889 7.104 7.104 0 0 1-1.758-1.487q-.114-.146-.212-.3a5.426 5.426 0 0 1-.622-1.396 11.172 11.172 0 0 1-.476-3.496 6.775 6.775 0 0 1 .752-2.988 9.108 9.108 0 0 1 2.07-2.44 13.848 13.848 0 0 1 3.042-2.08 11.145 11.145 0 0 1 1.363-.556c3.693-1.236 7.762-.478 11.257 1.23a7.12 7.12 0 0 1 2.765 2.381 6.918 6.918 0 0 1 .995 2.566 6.94 6.94 0 0 1 .137 2.374z",stroke:"#1d9bfb",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M34.31 17.302a7.12 7.12 0 0 0-2.765-2.382c-3.495-1.709-7.564-2.466-11.257-1.23a11.145 11.145 0 0 0-1.363.556 13.848 13.848 0 0 0-3.043 2.081 9.108 9.108 0 0 0-2.07 2.44 6.775 6.775 0 0 0-.75 2.987 11.172 11.172 0 0 0 .475 3.496 5.426 5.426 0 0 0 .622 1.397q.099.153.212.3a7.104 7.104 0 0 0 1.758 1.486 31.794 31.794 0 0 0 5.486 2.889 9.038 9.038 0 0 0 1.801.558 7.835 7.835 0 0 0 1.807.075 5.617 5.617 0 0 0 2.099-.423 5.915 5.915 0 0 0 1.319-.94 88.299 88.299 0 0 0 3.648-3.366c1.328-1.306 2.863-2.996 3.153-4.985a6.94 6.94 0 0 0-.137-2.373 6.918 6.918 0 0 0-.995-2.566z",stroke:"#1d9bfb",opacity:".25",strokeMiterlimit:"10",strokeWidth:"2"}),o.default.createElement("path",{d:"M25.457 25.996c-1.787.083-3.494-1.142-4.914-2.724a2.032 2.032 0 0 1-.452-.69 2.44 2.44 0 0 1 .028-1.4 3.985 3.985 0 0 1 1.368-2.08 4.888 4.888 0 0 1 1.922-.854 6.99 6.99 0 0 1 5.948.96c1.604 1.233-.197 4.086-1.018 5.142a3.975 3.975 0 0 1-2.882 1.646z",stroke:"#1d9bfb",strokeMiterlimit:"10",strokeWidth:"2"})))};t.default=u},f909:function(e,t,r){var n=r("7e64"),i=r("b760"),o=r("72af"),a=r("4f50"),s=r("1a8c"),l=r("9934"),u=r("8adb");function c(e,t,r,f,p){e!==t&&o(t,(function(o,l){if(p||(p=new n),s(o))a(e,t,l,r,c,f,p);else{var d=f?f(u(e,l),o,l+"",e,t,p):void 0;void 0===d&&(d=o),i(e,l,d)}}),l)}e.exports=c},f90d:function(e,t,r){"use strict";e.exports={attributes:r("5c33"),supplyDefaults:r("e5a0"),calc:r("6aa3"),plot:r("26dd"),moduleType:"trace",name:"table",basePlotModule:r("182a"),categories:["noOpacity"],meta:{description:["Table view for detailed data viewing.","The data are arranged in a grid of rows and columns.","Most styling can be specified for columns, rows or individual cells.","Table is using a column-major order, ie. the grid is represented as a vector of column vectors."].join(" ")}}},f967:function(e,t,r){"use strict";var n=String.prototype.indexOf;e.exports=function(e){return n.call(this,e,arguments[1])>-1}},f973:function(e,t,r){"use strict";e.exports=r("18ec")()?String.prototype.contains:r("f967")},f977:function(e,t,r){"use strict";var n=r("7092");function i(e){return e?n(e):[0,0,0,1]}e.exports=i},f98d:function(e,t,r){"use strict";function n(e,t){var r,n,i=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)i[n]+=e[4*r+n]*t[r];return i}function i(e,t){var r=n(e.projection,n(e.view,n(e.model,[t[0],t[1],t[2],1])));return r}e.exports=i},f9a1:function(e,t,r){"use strict";var n=/([A-Z])/g;function i(e){return e.replace(n,"-$1").toLowerCase()}e.exports=i},f9a3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 46 46"},e),o.default.createElement("path",{fill:"none",d:"M0 0h46v46H0z"}),o.default.createElement("circle",{cx:"13.5",cy:"31.5",r:"7",fill:"#25fdfc",opacity:".4"}),o.default.createElement("circle",{cx:"17.875",cy:"27.125",r:"7",fill:"#23e5fc",opacity:".55"}),o.default.createElement("circle",{cx:"22.25",cy:"22.75",r:"7",fill:"#21ccfc",opacity:".7"}),o.default.createElement("circle",{cx:"26.625",cy:"18.375",r:"7",fill:"#1fb3fb",opacity:".85"}),o.default.createElement("circle",{cx:"31",cy:"14",r:"7",fill:"#1d9bfb"}))};t.default=u},f9ce:function(e,t,r){var n=r("ef5d"),i=r("e3f8"),o=r("f608"),a=r("f4d6");function s(e){return o(e)?n(a(e)):i(e)}e.exports=s},f9d8:function(e,t,r){e.exports={EPSILON:r("cc12a"),create:r("cf8b"),clone:r("0365"),angle:r("2325"),fromValues:r("9573"),copy:r("9070"),set:r("fedf"),equals:r("dc6f"),exactEquals:r("4a35"),add:r("d28d"),subtract:r("a469"),sub:r("f7c3"),multiply:r("ef49"),mul:r("d40d"),divide:r("615d"),div:r("cac1"),min:r("ce83"),max:r("a901"),floor:r("9576"),ceil:r("5714"),round:r("3a19"),scale:r("2a16"),scaleAndAdd:r("738f"),distance:r("fb8f"),dist:r("99f7"),squaredDistance:r("e13b"),sqrDist:r("91ae"),length:r("8be6"),len:r("5053"),squaredLength:r("2456"),sqrLen:r("2c66"),negate:r("2d1c"),inverse:r("4bba"),normalize:r("913b"),dot:r("e448"),cross:r("27a4"),lerp:r("1b06"),random:r("f28b"),transformMat4:r("c29d"),transformMat3:r("ff0b"),transformQuat:r("26d1"),rotateX:r("422c"),rotateY:r("4f65"),rotateZ:r("b73f"),forEach:r("b882")}},f9f9:function(e,t){function r(e,t,r,n){var i=new Float32Array(4);return i[0]=e,i[1]=t,i[2]=r,i[3]=n,i}e.exports=r},fa06:function(e,t,r){"use strict";var n=r("107c"),i=n.marker,o=r("9092").extendFlat,a=["Area traces are deprecated!","Please switch to the *barpolar* trace type."].join(" ");e.exports={r:o({},n.r,{description:[a,"Sets the radial coordinates","for legacy polar chart only."].join(" ")}),t:o({},n.t,{description:[a,"Sets the angular coordinates","for legacy polar chart only."].join(" ")}),marker:{color:o({},i.color,{description:[a,i.color.description].join(" ")}),size:o({},i.size,{description:[a,i.size.description].join(" ")}),symbol:o({},i.symbol,{description:[a,i.symbol.description].join(" ")}),opacity:o({},i.opacity,{description:[a,i.opacity.description].join(" ")}),editType:"calc"}}},fa10:function(e,t,r){"use strict";var n=r("0642"),i=r("fc26"),o=r("a5c4"),a=r("d115"),s=i.fillText;function l(e,t,r,n){var i,o=e.cd,a=o[0].trace,s=a.hoveron,l=[];return-1!==s.indexOf("boxes")&&(l=l.concat(u(e,t,r,n))),-1!==s.indexOf("points")&&(i=c(e,t,r)),"closest"===n?i?[i]:l:i?(l.push(i),l):l}function u(e,t,r,s){var l,u,c,f,p,d,h,v,m,g,y,b,x,A,w=e.cd,_=e.xa,E=e.ya,k=w[0].trace,T=w[0].t,C="violin"===k.type,S=[],O=T.bdPos,M=T.wHover,P=function(e){return c.c2l(e.pos)+T.bPos-c.c2l(d)};C&&"both"!==k.side?("positive"===k.side&&(m=function(e){var t=P(e);return o.inbox(t,t+M,g)},b=O,x=0),"negative"===k.side&&(m=function(e){var t=P(e);return o.inbox(t-M,t,g)},b=0,x=O)):(m=function(e){var t=P(e);return o.inbox(t-M,t+M,g)},b=x=O),A=C?function(e){return o.inbox(e.span[0]-p,e.span[1]-p,g)}:function(e){return o.inbox(e.min-p,e.max-p,g)},"h"===k.orientation?(p=t,d=r,h=A,v=m,l="y",c=E,u="x",f=_):(p=r,d=t,h=m,v=A,l="x",c=_,u="y",f=E);var B=Math.min(1,O/Math.abs(c.r2c(c.range[1])-c.r2c(c.range[0])));function L(e){return(h(e)+v(e))/2}g=e.maxHoverDistance-B,y=e.maxSpikeDistance-B;var D=o.getDistanceFunction(s,h,v,L);if(o.getClosest(w,D,e),!1===e.index)return[];var I=w[e.index],j=k.line.color,R=(k.marker||{}).color;a.opacity(j)&&k.line.width?e.color=j:a.opacity(R)&&k.boxpoints?e.color=R:e.color=k.fillcolor,e[l+"0"]=c.c2p(I.pos+T.bPos-x,!0),e[l+"1"]=c.c2p(I.pos+T.bPos+b,!0),e[l+"LabelVal"]=void 0!==I.orig_p?I.orig_p:I.pos;var F=l+"Spike";e.spikeDistance=L(I)*y/g,e[F]=c.c2p(I.pos,!0);var N={},z=["med","q1","q3","min","max"];(k.boxmean||(k.meanline||{}).visible)&&z.push("mean"),(k.boxpoints||k.points)&&z.push("lf","uf");for(var U=0;U<z.length;U++){var H=z[U];if(H in I&&!(I[H]in N)){N[I[H]]=!0;var V=I[H],Q=f.c2p(V,!0),W=i.extendFlat({},e);W.attr=H,W[u+"0"]=W[u+"1"]=Q,W[u+"LabelVal"]=V,W[u+"Label"]=(T.labels?T.labels[H]+" ":"")+n.hoverLabelText(f,V),W.hoverOnBox=!0,"mean"===H&&"sd"in I&&"sd"===k.boxmean&&(W[u+"err"]=I.sd),e.name="",e.spikeDistance=void 0,e[F]=void 0,W.hovertemplate=!1,S.push(W)}}return S}function c(e,t,r){for(var n,a,l,u=e.cd,c=e.xa,f=e.ya,p=u[0].trace,d=c.c2p(t),h=f.c2p(r),v=function(e){var t=Math.max(3,e.mrc||0);return Math.max(Math.abs(c.c2p(e.x)-d)-t,1-3/t)},m=function(e){var t=Math.max(3,e.mrc||0);return Math.max(Math.abs(f.c2p(e.y)-h)-t,1-3/t)},g=o.quadrature(v,m),y=!1,b=0;b<u.length;b++){a=u[b];for(var x=0;x<(a.pts||[]).length;x++){l=a.pts[x];var A=g(l);A<=e.distance&&(e.distance=A,y=[b,x])}}if(!y)return!1;a=u[y[0]],l=a.pts[y[1]];var w=c.c2p(l.x,!0),_=f.c2p(l.y,!0),E=l.mrc||1;n=i.extendFlat({},e,{index:l.i,color:(p.marker||{}).color,name:p.name,x0:w-E,x1:w+E,y0:_-E,y1:_+E,spikeDistance:e.distance,hovertemplate:p.hovertemplate});var k,T=a.orig_p,C=void 0!==T?T:a.pos;"h"===p.orientation?(k=f,n.xLabelVal=l.x,n.yLabelVal=C):(k=c,n.xLabelVal=C,n.yLabelVal=l.y);var S=k._id.charAt(0);return n[S+"Spike"]=k.c2p(a.pos,!0),s(l,p,n),n}e.exports={hoverPoints:l,hoverOnBoxes:u,hoverOnPoints:c}},fa11:function(e,t){function r(e,t){var r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.sqrt(r*r+n*n+i*i+o*o)}e.exports=r},fa21:function(e,t,r){var n=r("7530"),i=r("2dcb"),o=r("eac5");function a(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}e.exports=a},fa33:function(e,t){e.exports=function(e){"string"===typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},fa59:function(e,t,r){"use strict";var n=r("6e58");e.exports=function(e,t,r){var i=e.selectAll("g."+r.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));i.exit().remove(),i.enter().append("g").attr("class",r),i.order();var o=e.classed("rangeplot")?"nodeRangePlot3":"node3";return i.each((function(e){e[0][o]=n.select(this)})),i}},fa75:function(e,t,r){"use strict";var n=r("fc26").isArrayOrTypedArray;e.exports=function(e,t,r,i){var o,a,s,l,u,c,f,p,d,h,v,m,g,y=n(r)?"a":"b",b="a"===y?e.aaxis:e.baxis,x=b.smoothing,A="a"===y?e.a2i:e.b2j,w="a"===y?r:i,_="a"===y?i:r,E="a"===y?t.a.length:t.b.length,k="a"===y?t.b.length:t.a.length,T=Math.floor("a"===y?e.b2j(_):e.a2i(_)),C="a"===y?function(t){return e.evalxy([],t,T)}:function(t){return e.evalxy([],T,t)};x&&(s=Math.max(0,Math.min(k-2,T)),l=T-s,a="a"===y?function(t,r){return e.dxydi([],t,s,r,l)}:function(t,r){return e.dxydj([],s,t,l,r)});var S=A(w[0]),O=A(w[1]),M=S<O?1:-1,P=1e-8*(O-S),B=M>0?Math.floor:Math.ceil,L=M>0?Math.ceil:Math.floor,D=M>0?Math.min:Math.max,I=M>0?Math.max:Math.min,j=B(S+P),R=L(O-P);f=C(S);var F=[[f]];for(o=j;o*M<R*M;o+=M)u=[],v=I(S,o),m=D(O,o+M),g=m-v,c=Math.max(0,Math.min(E-2,Math.floor(.5*(v+m)))),p=C(m),x&&(d=a(c,v-c),h=a(c,m-c),u.push([f[0]+d[0]/3*g,f[1]+d[1]/3*g]),u.push([p[0]-h[0]/3*g,p[1]-h[1]/3*g])),u.push(p),F.push(u),f=p;return F}},fa8a:function(e,t,r){"use strict";var n=r("6e58"),i=r("66cb"),o=r("371e"),a=r("fc26"),s=r("c258").makeColorScaleFuncFromTrace,l=r("73c9");function u(e,t){var r=t.length-2,n=a.constrain(a.findBin(e,t),0,r),i=t[n],o=t[n+1],s=a.constrain(n+(e-i)/(o-i)-.5,0,r),l=Math.round(s),u=Math.abs(s-l);return s&&s!==r&&u?{bin0:l,frac:u,bin1:Math.round(l+u/(s-l))}:{bin0:l,bin1:l,frac:0}}function c(e,t){var r=t.length-1,n=a.constrain(a.findBin(e,t),0,r),i=t[n],o=t[n+1],s=(e-i)/(o-i)||0;return s<=0?{bin0:n,bin1:n,frac:0}:s<.5?{bin0:n,bin1:n+1,frac:s}:{bin0:n+1,bin1:n,frac:1-s}}function f(e,t,r){e[t]=r[0],e[t+1]=r[1],e[t+2]=r[2],e[t+3]=Math.round(255*r[3])}e.exports=function(e,t,r,p){var d=t.xaxis,h=t.yaxis;a.makeTraceGroups(p,r,"hm").each((function(t){var r,p,v,m,g,y,b=n.select(this),x=t[0],A=x.trace,w=x.z,_=x.x,E=x.y,k=x.xCenter,T=x.yCenter,C=o.traceIs(A,"contour"),S=C?"best":A.zsmooth,O=w.length,M=a.maxRowLength(w),P=!1,B=!1;y=0;while(void 0===r&&y<_.length-1)r=d.c2p(_[y]),y++;y=_.length-1;while(void 0===p&&y>0)p=d.c2p(_[y]),y--;p<r&&(v=p,p=r,r=v,P=!0),y=0;while(void 0===m&&y<E.length-1)m=h.c2p(E[y]),y++;y=E.length-1;while(void 0===g&&y>0)g=h.c2p(E[y]),y--;if(g<m&&(v=m,m=g,g=v,B=!0),C&&(k=_,T=E,_=x.xfill,E=x.yfill),"fast"!==S){var L="best"===S?0:.5;r=Math.max(-L*d._length,r),p=Math.min((1+L)*d._length,p),m=Math.max(-L*h._length,m),g=Math.min((1+L)*h._length,g)}var D=Math.round(p-r),I=Math.round(g-m),j=D<=0||I<=0;if(j){var R=b.selectAll("image").data([]);R.exit().remove()}else{var F,N;"fast"===S?(F=M,N=O):(F=D,N=I);var z=document.createElement("canvas");z.width=F,z.height=N;var U,H,V=z.getContext("2d"),Q=s(A,{noNumericCheck:!0,returnArray:!0});"fast"===S?(U=P?function(e){return M-1-e}:a.identity,H=B?function(e){return O-1-e}:a.identity):(U=function(e){return a.constrain(Math.round(d.c2p(_[e])-r),0,D)},H=function(e){return a.constrain(Math.round(h.c2p(E[e])-m),0,I)});var W,K,q,G,$,Y,X=H(0),Z=[X,X],J=P?0:1,ee=B?0:1,te=0,re=0,ne=0,ie=0;if(S){var oe,ae=0;try{oe=new Uint8Array(D*I*4)}catch(Se){oe=new Array(D*I*4)}if("best"===S){var se,le,ue,ce=k||_,fe=T||E,pe=new Array(ce.length),de=new Array(fe.length),he=new Array(D),ve=k?c:u,me=T?c:u;for(y=0;y<ce.length;y++)pe[y]=Math.round(d.c2p(ce[y])-r);for(y=0;y<fe.length;y++)de[y]=Math.round(h.c2p(fe[y])-m);for(y=0;y<D;y++)he[y]=ve(y,pe);for(K=0;K<I;K++)for(se=me(K,de),le=w[se.bin0],ue=w[se.bin1],y=0;y<D;y++,ae+=4)Y=Ce(le,ue,he[y],se),f(oe,ae,Y)}else for(K=0;K<O;K++)for($=w[K],Z=H(K),y=0;y<D;y++)Y=Te($[y],1),ae=4*(Z*D+U(y)),f(oe,ae,Y);var ge=V.createImageData(D,I);try{ge.data.set(oe)}catch(Se){var ye=ge.data,be=ye.length;for(K=0;K<be;K++)ye[K]=oe[K]}V.putImageData(ge,0,0)}else{var xe=A.xgap,Ae=A.ygap,we=Math.floor(xe/2),_e=Math.floor(Ae/2);for(K=0;K<O;K++)if($=w[K],Z.reverse(),Z[ee]=H(K+1),Z[0]!==Z[1]&&void 0!==Z[0]&&void 0!==Z[1])for(q=U(0),W=[q,q],y=0;y<M;y++)W.reverse(),W[J]=U(y+1),W[0]!==W[1]&&void 0!==W[0]&&void 0!==W[1]&&(G=$[y],Y=Te(G,(W[1]-W[0])*(Z[1]-Z[0])),V.fillStyle="rgba("+Y.join(",")+")",V.fillRect(W[0]+we,Z[0]+_e,W[1]-W[0]-xe,Z[1]-Z[0]-Ae))}re=Math.round(re/te),ne=Math.round(ne/te),ie=Math.round(ie/te);var Ee=i("rgb("+re+","+ne+","+ie+")");e._hmpixcount=(e._hmpixcount||0)+te,e._hmlumcount=(e._hmlumcount||0)+te*Ee.getLuminance();var ke=b.selectAll("image").data(t);ke.enter().append("svg:image").attr({xmlns:l.svg,preserveAspectRatio:"none"}),ke.attr({height:I,width:D,x:r,y:m,"xlink:href":z.toDataURL("image/png")})}function Te(e,t){if(void 0!==e){var r=Q(e);return r[0]=Math.round(r[0]),r[1]=Math.round(r[1]),r[2]=Math.round(r[2]),te+=t,re+=r[0]*t,ne+=r[1]*t,ie+=r[2]*t,r}return[0,0,0,0]}function Ce(e,t,r,n){var i=e[r.bin0];if(void 0===i)return Te(void 0,1);var o,a=e[r.bin1],s=t[r.bin0],l=t[r.bin1],u=a-i||0,c=s-i||0;return o=void 0===a?void 0===l?0:void 0===s?2*(l-i):2*(2*l-s-i)/3:void 0===l?void 0===s?0:2*(2*i-a-s)/3:void 0===s?2*(2*l-a-i)/3:l+i-a-s,Te(i+r.frac*u+n.frac*(c+r.frac*o))}}))}},faa1:function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function a(e){console&&console.warn&&console.warn(e)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=x,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function p(e,t,r,n){var i,o,s;if(c(r),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"===typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a(l)}return e}function d(){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 h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function v(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?b(i):g(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function b(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function x(e,t){return new Promise((function(r,n){function i(){void 0!==o&&e.removeListener("error",o),r([].slice.call(arguments))}var o;"error"!==t&&(o=function(r){e.removeListener(t,i),n(r)},e.once("error",o)),e.once(t,i)}))}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var u=l.length,c=g(l,u);for(r=0;r<u;++r)o(c[r],this,t)}return!0},l.prototype.addListener=function(e,t){return p(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return p(this,e,t,!0)},l.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},l.prototype.removeListener=function(e,t){var r,n,i,o,a;if(c(t),n=this._events,void 0===n)return this;if(r=n[e],void 0===r)return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():y(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)i=o[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=r[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},l.prototype.listeners=function(e){return v(this,e,!0)},l.prototype.rawListeners=function(e){return v(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},l.prototype.listenerCount=m,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},faf6:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18C2,19.1 2.9,20 4,20H20C21.1,20 22,19.1 22,18V6C22,4.89 21.1,4 20,4Z"}))};e.exports=s},fb07:function(e,t,r){"use strict";
|
||
/** @license React v0.19.1
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var n,i,o,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(r){throw setTimeout(c,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(c,0))},i=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,v=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof p&&"function"===typeof p.now)t.unstable_now=function(){return p.now()};else{var g=d.now();t.unstable_now=function(){return d.now()-g}}var y=!1,b=null,x=-1,A=5,w=0;a=function(){return t.unstable_now()>=w},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):A=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,E=_.port2;_.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();w=e+A;try{b(!0,e)?E.postMessage(null):(y=!1,b=null)}catch(r){throw E.postMessage(null),r}}else y=!1},n=function(e){b=e,y||(y=!0,E.postMessage(null))},i=function(e,r){x=h((function(){e(t.unstable_now())}),r)},o=function(){v(x),x=-1}}function k(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,i=e[n];if(!(void 0!==i&&0<S(i,t)))break e;e[n]=t,e[r]=i,r=n}}function T(e){return e=e[0],void 0===e?null:e}function C(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length;n<i;){var o=2*(n+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>S(a,r))void 0!==l&&0>S(l,a)?(e[n]=l,e[s]=r,n=s):(e[n]=a,e[o]=r,n=o);else{if(!(void 0!==l&&0>S(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function S(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var O=[],M=[],P=1,B=null,L=3,D=!1,I=!1,j=!1;function R(e){for(var t=T(M);null!==t;){if(null===t.callback)C(M);else{if(!(t.startTime<=e))break;C(M),t.sortIndex=t.expirationTime,k(O,t)}t=T(M)}}function F(e){if(j=!1,R(e),!I)if(null!==T(O))I=!0,n(N);else{var t=T(M);null!==t&&i(F,t.startTime-e)}}function N(e,r){I=!1,j&&(j=!1,o()),D=!0;var n=L;try{for(R(r),B=T(O);null!==B&&(!(B.expirationTime>r)||e&&!a());){var s=B.callback;if(null!==s){B.callback=null,L=B.priorityLevel;var l=s(B.expirationTime<=r);r=t.unstable_now(),"function"===typeof l?B.callback=l:B===T(O)&&C(O),R(r)}else C(O);B=T(O)}if(null!==B)var u=!0;else{var c=T(M);null!==c&&i(F,c.startTime-r),u=!1}return u}finally{B=null,L=n,D=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||D||(I=!0,n(N))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return T(O)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var r=L;L=t;try{return e()}finally{L=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=L;L=e;try{return t()}finally{L=r}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();if("object"===typeof a&&null!==a){var l=a.delay;l="number"===typeof l&&0<l?s+l:s,a="number"===typeof a.timeout?a.timeout:z(e)}else a=z(e),l=s;return a=l+a,e={id:P++,callback:r,priorityLevel:e,startTime:l,expirationTime:a,sortIndex:-1},l>s?(e.sortIndex=l,k(M,e),null===T(O)&&e===T(M)&&(j?o():j=!0,i(F,l-s))):(e.sortIndex=a,k(O,e),I||D||(I=!0,n(N))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var r=T(O);return r!==B&&null!==B&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<B.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=L;return function(){var r=L;L=t;try{return e.apply(this,arguments)}finally{L=r}}}},fb14:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2C22,19.4 19.4,22 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8C2,4.6 4.6,2 7.8,2M7.6,4C5.61,4 4,5.61 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4C18.39,20 20,18.39 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5C17.94,5.5 18.5,6.06 18.5,6.75C18.5,7.44 17.94,8 17.25,8C16.56,8 16,7.44 16,6.75C16,6.06 16.56,5.5 17.25,5.5M12,7C14.76,7 17,9.24 17,12C17,14.76 14.76,17 12,17C9.24,17 7,14.76 7,12C7,9.24 9.24,7 12,7M12,9C10.34,9 9,10.34 9,12C9,13.66 10.34,15 12,15C13.66,15 15,13.66 15,12C15,10.34 13.66,9 12,9Z"}))};e.exports=s},fb34:function(e,t,r){"use strict";e.exports={attributes:r("348d"),supplyDefaults:r("0c5d"),crossTraceDefaults:r("722f"),calc:r("6bd5"),plot:r("6954").plot,layerName:"contourlayer",style:r("ee6b"),colorbar:r("a5e1"),hoverPoints:r("510f"),moduleType:"trace",name:"histogram2dcontour",basePlotModule:r("91cd"),categories:["cartesian","svg","2dMap","contour","histogram","showLegend"],meta:{hrName:"histogram_2d_contour",description:["The sample data from which statistics are computed is set in `x`","and `y` (where `x` and `y` represent marginal distributions,","binning is set in `xbins` and `ybins` in this case)","or `z` (where `z` represent the 2D distribution and binning set,","binning is set by `x` and `y` in this case).","The resulting distribution is visualized as a contour plot."].join(" ")}}},fb56:function(e,t,r){"use strict";var n=r("fc26"),i=r("d115"),o=r("0f37"),a=r("59e0");function s(e,r,n){return{color:t.getOutsideTextFontKey("color",e,r,n),family:t.getOutsideTextFontKey("family",e,r,n),size:t.getOutsideTextFontKey("size",e,r,n)}}function l(e,r,o,a){var s=(a||{}).onPathbar,l=r.data.data,u=l.i,c=n.castOption(e,u,(s?"pathbar.textfont":"insidetextfont")+".color");return!c&&e._input.textfont&&(c=n.castOption(e._input,u,"textfont.color")),{color:c||i.contrast(l.color),family:t.getInsideTextFontKey("family",e,r,o,a),size:t.getInsideTextFontKey("size",e,r,o,a)}}function u(e){return e.data.data.pid}t.findEntryWithLevel=function(e,r){var n;return r&&e.eachAfter((function(e){if(t.getPtId(e)===r)return n=e.copy()})),n||e},t.findEntryWithChild=function(e,r){var n;return e.eachAfter((function(e){for(var i=e.children||[],o=0;o<i.length;o++){var a=i[o];if(t.getPtId(a)===r)return n=e.copy()}})),n||e},t.isEntry=function(e){return!e.parent},t.isLeaf=function(e){return!e.children},t.getPtId=function(e){return e.data.data.id},t.getPtLabel=function(e){return e.data.data.label},t.getValue=function(e){return e.value},t.isHierarchyRoot=function(e){return""===u(e)},t.setSliceCursor=function(e,r,n){var i=n.isTransitioning;if(!i){var a=e.datum();i=n.hideOnRoot&&t.isHierarchyRoot(a)||n.hideOnLeaves&&t.isLeaf(a)}o(e,i?null:"pointer")},t.getInsideTextFontKey=function(e,t,r,i,o){var a=(o||{}).onPathbar,s=a?"pathbar.textfont":"insidetextfont",l=r.data.data.i;return n.castOption(t,l,s+"."+e)||n.castOption(t,l,"textfont."+e)||i.size},t.getOutsideTextFontKey=function(e,t,r,i){var o=r.data.data.i;return n.castOption(t,o,"outsidetextfont."+e)||n.castOption(t,o,"textfont."+e)||i.size},t.isOutsideText=function(e,r){return!e._hasColorscale&&t.isHierarchyRoot(r)},t.determineTextFont=function(e,r,n,i){return t.isOutsideText(e,r)?s(e,r,n):l(e,r,n,i)},t.hasTransition=function(e){return!!(e&&e.duration>0)},t.getMaxDepth=function(e){return e.maxdepth>=0?e.maxdepth:1/0},t.isHeader=function(e,r){return!(t.isLeaf(e)||e.depth===r._maxDepth-1)},t.getParent=function(e,r){return t.findEntryWithLevel(e,u(r))},t.listPath=function(e,r){var n=e.parent;if(!n)return[];var i=r?[n.data[r]]:[n];return t.listPath(n,r).concat(i)},t.getPath=function(e){return t.listPath(e,"label").join("/")+"/"},t.formatValue=a.formatPieValue,t.formatPercent=function(e,t){var r=n.formatPercent(e,0);return"0%"===r&&(r=a.formatPiePercent(e,t)),r}},fb566:function(e,t){function r(e){var t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}e.exports=r},fb5a:function(e,t,r){"use strict";var n=r("107c"),i=r("94d5").hovertemplateAttrs,o=r("94d5").texttemplateAttrs,a=r("f4e9"),s=r("9845"),l=r("1a5e"),u=r("9092").extendFlat,c=s({editType:"calc",arrayOk:!0,colorEditType:"style",description:""}),f=n.marker,p=f.line,d=u({},p.width,{dflt:0}),h=u({width:d,editType:"calc"},a("marker.line")),v=u({line:h,editType:"calc"},a("marker"),{opacity:{valType:"number",arrayOk:!0,dflt:1,min:0,max:1,role:"style",editType:"style",description:"Sets the opacity of the bars."}});e.exports={x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,text:n.text,texttemplate:o({editType:"plot"},{keys:l.eventDataKeys}),hovertext:n.hovertext,hovertemplate:i({},{keys:l.eventDataKeys}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"none",arrayOk:!0,editType:"calc",description:["Specifies the location of the `text`.","*inside* positions `text` inside, next to the bar end","(rotated and scaled if needed).","*outside* positions `text` outside, next to the bar end","(scaled if needed), unless there is another bar stacked on","this one, then the text gets pushed inside.","*auto* tries to position `text` inside the bar, but if","the bar is too small and no bar is stacked on this one","the text is moved outside."].join(" ")},insidetextanchor:{valType:"enumerated",values:["end","middle","start"],dflt:"end",role:"info",editType:"plot",description:["Determines if texts are kept at center or start/end points in `textposition` *inside* mode."].join(" ")},textangle:{valType:"angle",dflt:"auto",role:"info",editType:"plot",description:["Sets the angle of the tick labels with respect to the bar.","For example, a `tickangle` of -90 draws the tick labels","vertically. With *auto* the texts may automatically be","rotated to fit with the maximum size in bars."].join(" ")},textfont:u({},c,{description:"Sets the font used for `text`."}),insidetextfont:u({},c,{description:"Sets the font used for `text` lying inside the bar."}),outsidetextfont:u({},c,{description:"Sets the font used for `text` lying outside the bar."}),constraintext:{valType:"enumerated",values:["inside","outside","both","none"],role:"info",dflt:"both",editType:"calc",description:["Constrain the size of text inside or outside a bar to be no","larger than the bar itself."].join(" ")},cliponaxis:u({},n.cliponaxis,{description:["Determines whether the text nodes","are clipped about the subplot axes.","To show the text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")}),orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc+clearAxisTypes",description:["Sets the orientation of the bars.","With *v* (*h*), the value of the each bar spans","along the vertical (horizontal)."].join(" ")},base:{valType:"any",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Sets where the bar base is drawn (in position axis units).","In *stack* or *relative* barmode,","traces that set *base* will be excluded","and drawn in *overlay* mode instead."].join(" ")},offset:{valType:"number",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Shifts the position where the bar is drawn","(in position axis units).","In *group* barmode,","traces that set *offset* will be excluded","and drawn in *overlay* mode instead."].join(" ")},width:{valType:"number",dflt:null,min:0,arrayOk:!0,role:"info",editType:"calc",description:["Sets the bar width (in position axis units)."].join(" ")},marker:v,offsetgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","offsetgroup where bars of the same position coordinate will line up."].join(" ")},alignmentgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","alignmentgroup. This controls whether bars compute their positional","range dependently or independently."].join(" ")},selected:{marker:{opacity:n.selected.marker.opacity,color:n.selected.marker.color,editType:"style"},textfont:n.selected.textfont,editType:"style"},unselected:{marker:{opacity:n.unselected.marker.opacity,color:n.unselected.marker.color,editType:"style"},textfont:n.unselected.textfont,editType:"style"},r:n.r,t:n.t,_deprecated:{bardir:{valType:"enumerated",role:"info",editType:"calc",values:["v","h"],description:"Renamed to `orientation`."}}}},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),o=r("e8b5"),a=r("23cb"),s=r("50c4"),l=r("fc6a"),u=r("8418"),c=r("b622"),f=r("1dde"),p=r("ae40"),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),v=c("species"),m=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var r,n,c,f=l(this),p=s(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(o(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?i(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return m.call(f,d,h);for(n=new(void 0===r?Array:r)(g(h-d,0)),c=0;d<h;d++,c++)d in f&&u(n,c,f[d]);return n.length=c,n}})},fb8f:function(e,t){function r(e,t){var r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}e.exports=r},fb94:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"}))};e.exports=s},fba5:function(e,t,r){var n=r("cb5a");function i(e){return n(this.__data__,e)>-1}e.exports=i},fbbc:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z"}))};e.exports=s},fbf9:function(e,t,r){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.substr(1)}function i(e,t,r){return Math.min(Math.max(e,t),r)}Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=n,t.clamp=i},fc03:function(e,t,r){"use strict";var n=r("1676"),i=n.createTubeMesh,o=r("fc26"),a=r("765f").parseColorScale,s=r("c258").extractOpts,l=r("569b"),u={xaxis:0,yaxis:1,zaxis:2};function c(e,t){this.scene=e,this.uid=t,this.mesh=null,this.data=null}var f=c.prototype;function p(e){var t,r=e.length;return t=r>2?e.slice(1,r-1):2===r?[(e[0]+e[1])/2]:e,t}function d(e){var t=e.length;return 1===t?[.5,.5]:[e[1]-e[0],e[t-1]-e[t-2]]}function h(e,t){var r=e.fullSceneLayout,i=e.dataScale,c=t._len,f={};function h(e,t){var n=r[t],a=i[u[t]];return o.simpleMap(e,(function(e){return n.d2l(e)*a}))}if(f.vectors=l(h(t._u,"xaxis"),h(t._v,"yaxis"),h(t._w,"zaxis"),c),!c)return{positions:[],cells:[]};var v=h(t._Xs,"xaxis"),m=h(t._Ys,"yaxis"),g=h(t._Zs,"zaxis");f.meshgrid=[v,m,g],f.gridFill=t._gridFill;var y=t._slen;if(y)f.startingPositions=l(h(t._startsX,"xaxis"),h(t._startsY,"yaxis"),h(t._startsZ,"zaxis"));else{for(var b=m[0],x=p(v),A=p(g),w=new Array(x.length*A.length),_=0,E=0;E<x.length;E++)for(var k=0;k<A.length;k++)w[_++]=[x[E],b,A[k]];f.startingPositions=w}f.colormap=a(t),f.tubeSize=t.sizeref,f.maxLength=t.maxdisplayed;var T=h(t._xbnds,"xaxis"),C=h(t._ybnds,"yaxis"),S=h(t._zbnds,"zaxis"),O=d(v),M=d(m),P=d(g),B=[[T[0]-O[0],C[0]-M[0],S[0]-P[0]],[T[1]+O[1],C[1]+M[1],S[1]+P[1]]],L=n(f,B),D=s(t);L.vertexIntensityBounds=[D.min/t._normMax,D.max/t._normMax];var I=t.lightposition;return L.lightPosition=[I.x,I.y,I.z],L.ambient=t.lighting.ambient,L.diffuse=t.lighting.diffuse,L.specular=t.lighting.specular,L.roughness=t.lighting.roughness,L.fresnel=t.lighting.fresnel,L.opacity=t.opacity,t._pad=L.tubeScale*t.sizeref*2,L}function v(e,t){var r=e.glplot.gl,n=h(e,t),o=i(r,n),a=new c(e,t.uid);return a.mesh=o,a.data=t,o._trace=a,e.glplot.add(o),a}f.handlePick=function(e){var t=this.scene.fullSceneLayout,r=this.scene.dataScale;function n(e,n){var i=t[n],o=r[u[n]];return i.l2c(e)/o}if(e.object===this.mesh){var i=e.data.position,o=e.data.velocity;return e.traceCoordinate=[n(i[0],"xaxis"),n(i[1],"yaxis"),n(i[2],"zaxis"),n(o[0],"xaxis"),n(o[1],"yaxis"),n(o[2],"zaxis"),e.data.intensity*this.data._normMax,e.data.divergence],e.textLabel=this.data.hovertext||this.data.text,!0}},f.update=function(e){this.data=e;var t=h(this.scene,e);this.mesh.update(t)},f.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=v},fc11:function(e,t){function r(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[0],a=t[1],s=t[2],l=t[3],u=t[4],c=t[5],f=t[6],p=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i+u*n,e[1]=a*i+c*n,e[2]=s*i+f*n,e[3]=l*i+p*n,e[4]=u*i-o*n,e[5]=c*i-a*n,e[6]=f*i-s*n,e[7]=p*i-l*n,e}e.exports=r},fc26:function(e,t,r){"use strict";var n=r("6e58"),i=r("70e1").utcFormat,o=r("19b2"),a=r("e806"),s=a.FP_SAFE,l=a.BADNUM,u=e.exports={};u.nestedProperty=r("74d6"),u.keyedContainer=r("5def"),u.relativeAttr=r("2e3d"),u.isPlainObject=r("1385"),u.toLogRange=r("f6b0"),u.relinkPrivateKeys=r("4358");var c=r("6af8");u.isTypedArray=c.isTypedArray,u.isArrayOrTypedArray=c.isArrayOrTypedArray,u.isArray1D=c.isArray1D,u.ensureArray=c.ensureArray,u.concat=c.concat,u.maxRowLength=c.maxRowLength,u.minRowLength=c.minRowLength;var f=r("d3dc");u.mod=f.mod,u.modHalf=f.modHalf;var p=r("6672");u.valObjectMeta=p.valObjectMeta,u.coerce=p.coerce,u.coerce2=p.coerce2,u.coerceFont=p.coerceFont,u.coerceHoverinfo=p.coerceHoverinfo,u.coerceSelectionMarkerOpacity=p.coerceSelectionMarkerOpacity,u.validate=p.validate;var d=r("661c");u.dateTime2ms=d.dateTime2ms,u.isDateTime=d.isDateTime,u.ms2DateTime=d.ms2DateTime,u.ms2DateTimeLocal=d.ms2DateTimeLocal,u.cleanDate=d.cleanDate,u.isJSDate=d.isJSDate,u.formatDate=d.formatDate,u.incrementMonth=d.incrementMonth,u.dateTick0=d.dateTick0,u.dfltRange=d.dfltRange,u.findExactDates=d.findExactDates,u.MIN_MS=d.MIN_MS,u.MAX_MS=d.MAX_MS;var h=r("dc75");u.findBin=h.findBin,u.sorterAsc=h.sorterAsc,u.sorterDes=h.sorterDes,u.distinctVals=h.distinctVals,u.roundUp=h.roundUp,u.sort=h.sort,u.findIndexOfMin=h.findIndexOfMin;var v=r("a011");u.aggNums=v.aggNums,u.len=v.len,u.mean=v.mean,u.median=v.median,u.midRange=v.midRange,u.variance=v.variance,u.stdev=v.stdev,u.interp=v.interp;var m=r("ec20");u.init2dArray=m.init2dArray,u.transposeRagged=m.transposeRagged,u.dot=m.dot,u.translationMatrix=m.translationMatrix,u.rotationMatrix=m.rotationMatrix,u.rotationXYMatrix=m.rotationXYMatrix,u.apply3DTransform=m.apply3DTransform,u.apply2DTransform=m.apply2DTransform,u.apply2DTransform2=m.apply2DTransform2,u.convertCssMatrix=m.convertCssMatrix,u.inverseTransformMatrix=m.inverseTransformMatrix;var g=r("6e40");u.deg2rad=g.deg2rad,u.rad2deg=g.rad2deg,u.angleDelta=g.angleDelta,u.angleDist=g.angleDist,u.isFullCircle=g.isFullCircle,u.isAngleInsideSector=g.isAngleInsideSector,u.isPtInsideSector=g.isPtInsideSector,u.pathArc=g.pathArc,u.pathSector=g.pathSector,u.pathAnnulus=g.pathAnnulus;var y=r("6c5a");u.isLeftAnchor=y.isLeftAnchor,u.isCenterAnchor=y.isCenterAnchor,u.isRightAnchor=y.isRightAnchor,u.isTopAnchor=y.isTopAnchor,u.isMiddleAnchor=y.isMiddleAnchor,u.isBottomAnchor=y.isBottomAnchor;var b=r("19e1");u.segmentsIntersect=b.segmentsIntersect,u.segmentDistance=b.segmentDistance,u.getTextLocation=b.getTextLocation,u.clearLocationCache=b.clearLocationCache,u.getVisibleSegment=b.getVisibleSegment,u.findPointOnPath=b.findPointOnPath;var x=r("9092");u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=r("ae13");u.log=A.log,u.warn=A.warn,u.error=A.error;var w=r("055a");u.counterRegex=w.counter;var _=r("7df2");u.throttle=_.throttle,u.throttleDone=_.done,u.clearThrottle=_.clear;var E=r("1b88");function k(e){var t={};for(var r in e)for(var n=e[r],i=0;i<n.length;i++)t[n[i]]=+r;return t}u.getGraphDiv=E.getGraphDiv,u.isPlotDiv=E.isPlotDiv,u.removeElement=E.removeElement,u.addStyleRule=E.addStyleRule,u.addRelatedStyleRule=E.addRelatedStyleRule,u.deleteRelatedStyleRule=E.deleteRelatedStyleRule,u.getFullTransformMatrix=E.getFullTransformMatrix,u.getElementTransformMatrix=E.getElementTransformMatrix,u.getElementAndAncestors=E.getElementAndAncestors,u.equalDomRects=E.equalDomRects,u.clearResponsive=r("a22f"),u.preserveDrawingBuffer=r("fda0"),u.makeTraceGroups=r("fa59"),u._=r("a4c0"),u.notifier=r("0082"),u.filterUnique=r("5567"),u.filterVisible=r("6fc3"),u.pushUnique=r("5a1b"),u.increment=r("cec5"),u.cleanNumber=r("f2da"),u.ensureNumber=function(e){return o(e)?(e=Number(e),e<-s||e>s?l:o(e)?Number(e):l):l},u.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&(o(e)&&e>=0&&e%1===0)},u.noop=r("b778"),u.identity=r("306c"),u.repeat=function(e,t){for(var r=new Array(t),n=0;n<t;n++)r[n]=e;return r},u.swapAttrs=function(e,t,r,n){r||(r="x"),n||(n="y");for(var i=0;i<t.length;i++){var o=t[i],a=u.nestedProperty(e,o.replace("?",r)),s=u.nestedProperty(e,o.replace("?",n)),l=a.get();a.set(s.get()),s.set(l)}},u.raiseToTop=function(e){e.parentNode.appendChild(e)},u.cancelTransition=function(e){return e.transition().duration(0)},u.constrain=function(e,t,r){return t>r?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},u.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},u.simpleMap=function(e,t,r,n,i){for(var o=e.length,a=new Array(o),s=0;s<o;s++)a[s]=t(e[s],r,n,i);return a},u.randstr=function e(t,r,n,i){if(n||(n=16),void 0===r&&(r=24),r<=0)return"0";var o,a,s,l=Math.log(Math.pow(2,r))/Math.log(n),c="";for(o=2;l===1/0;o*=2)l=Math.log(Math.pow(2,r/o))/Math.log(n)*o;var f=l-Math.floor(l);for(o=0;o<Math.floor(l);o++)s=Math.floor(Math.random()*n).toString(n),c=s+c;f&&(a=Math.pow(n,f),s=Math.floor(Math.random()*a).toString(n),c=s+c);var p=parseInt(c,n);return t&&t[c]||p!==1/0&&p>=Math.pow(2,r)?i>10?(u.warn("randstr failed uniqueness"),c):e(t,r,n,(i||0)+1):c},u.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},u.smooth=function(e,t){if(t=Math.round(t)||0,t<2)return e;var r,n,i,o,a=e.length,s=2*a,l=2*t-1,u=new Array(l),c=new Array(a);for(r=0;r<l;r++)u[r]=(1-Math.cos(Math.PI*(r+1)/t))/(2*t);for(r=0;r<a;r++){for(o=0,n=0;n<l;n++)i=r+n+1-t,i<-a?i-=s*Math.round(i/s):i>=s&&(i-=s*Math.floor(i/s)),i<0?i=-1-i:i>=a&&(i=s-1-i),o+=e[i]*u[n];c[r]=o}return c},u.syncOrAsync=function(e,t,r){var n,i;function o(){return u.syncOrAsync(e,t,r)}while(e.length)if(i=e.splice(0,1)[0],n=i(t),n&&n.then)return n.then(o).then(void 0,u.promiseError);return r&&r(t)},u.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},u.noneOrAll=function(e,t,r){if(e){var n,i,o=!1,a=!0;for(n=0;n<r.length;n++)i=e[r[n]],void 0!==i&&null!==i?o=!0:a=!1;if(o&&!a)for(n=0;n<r.length;n++)e[r[n]]=t[r[n]]}},u.mergeArray=function(e,t,r,n){var i="function"===typeof n;if(u.isArrayOrTypedArray(e))for(var o=Math.min(e.length,t.length),a=0;a<o;a++){var s=e[a];t[a][r]=i?n(s):s}},u.mergeArrayCastPositive=function(e,t,r){return u.mergeArray(e,t,r,(function(e){var t=+e;return isFinite(t)&&t>0?t:0}))},u.fillArray=function(e,t,r,n){if(n=n||u.identity,u.isArrayOrTypedArray(e))for(var i=0;i<t.length;i++)t[i][r]=n(e[i])},u.castOption=function(e,t,r,n){n=n||u.identity;var i=u.nestedProperty(e,r).get();return u.isArrayOrTypedArray(i)?Array.isArray(t)&&u.isArrayOrTypedArray(i[t[0]])?n(i[t[0]][t[1]]):n(i[t]):i},u.extractOption=function(e,t,r,n){if(r in e)return e[r];var i=u.nestedProperty(t,n).get();return Array.isArray(i)?void 0:i},u.tagSelected=function(e,t,r){var n,i=t.selectedpoints,o=t._indexToPoints;function a(t){return void 0!==t&&t<e.length}o&&(n=k(o));for(var s=0;s<i.length;s++){var l=i[s];if(u.isIndex(l)||u.isArrayOrTypedArray(l)&&u.isIndex(l[0])&&u.isIndex(l[1])){var c=n?n[l]:l,f=r?r[c]:c;a(f)&&(e[f].selected=1)}}},u.selIndices2selPoints=function(e){var t=e.selectedpoints,r=e._indexToPoints;if(r){for(var n=k(r),i=[],o=0;o<t.length;o++){var a=t[o];if(u.isIndex(a)){var s=n[a];u.isIndex(s)&&i.push(s)}}return i}return t},u.getTargetArray=function(e,t){var r=t.target;if("string"===typeof r&&r){var n=u.nestedProperty(e,r).get();return!!Array.isArray(n)&&n}return!!Array.isArray(r)&&r},u.minExtend=function(e,t){var r={};"object"!==typeof t&&(t={});var n,i,o,a=3,s=Object.keys(e);for(n=0;n<s.length;n++)i=s[n],o=e[i],"_"!==i.charAt(0)&&"function"!==typeof o&&("module"===i?r[i]=o:Array.isArray(o)?r[i]="colorscale"===i?o.slice():o.slice(0,a):u.isTypedArray(o)?r[i]=o.subarray(0,a):r[i]=o&&"object"===typeof o?u.minExtend(e[i],t[i]):o);for(s=Object.keys(t),n=0;n<s.length;n++)i=s[n],o=t[i],"object"===typeof o&&i in r&&"object"===typeof r[i]||(r[i]=o);return r},u.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},u.containsAny=function(e,t){for(var r=0;r<t.length;r++)if(-1!==e.indexOf(t[r]))return!0;return!1},u.isIE=function(){return"undefined"!==typeof window.navigator.msSaveBlob};var T=/MSIE [1-9]\./;u.isIE9orBelow=function(){return u.isIE()&&T.test(window.navigator.userAgent)};var C=/Version\/[\d\.]+.*Safari/;u.isSafari=function(){return C.test(window.navigator.userAgent)};var S=/iPad|iPhone|iPod/;u.isIOS=function(){return S.test(window.navigator.userAgent)},u.isD3Selection=function(e){return e&&"function"===typeof e.classed},u.ensureSingle=function(e,t,r,n){var i=e.select(t+(r?"."+r:""));if(i.size())return i;var o=e.append(t);return r&&o.classed(r,!0),n&&o.call(n),o},u.ensureSingleById=function(e,t,r,n){var i=e.select(t+"#"+r);if(i.size())return i;var o=e.append(t).attr("id",r);return n&&o.call(n),o},u.objectFromPath=function(e,t){for(var r,n=e.split("."),i=r={},o=0;o<n.length;o++){var a=n[o],s=null,l=n[o].match(/(.*)\[([0-9]+)\]/);l?(a=l[1],s=l[2],r=r[a]=[],o===n.length-1?r[s]=t:r[s]={},r=r[s]):(o===n.length-1?r[a]=t:r[a]={},r=r[a])}return i};var O=/^([^\[\.]+)\.(.+)?/,M=/^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;u.expandObjectPaths=function(e){var t,r,n,i,o,a,s;if("object"===typeof e&&!Array.isArray(e))for(r in e)e.hasOwnProperty(r)&&((t=r.match(O))?(i=e[r],n=t[1],delete e[r],e[n]=u.extendDeepNoArrays(e[n]||{},u.objectFromPath(r,u.expandObjectPaths(i))[n])):(t=r.match(M))?(i=e[r],n=t[1],o=parseInt(t[2]),delete e[r],e[n]=e[n]||[],"."===t[3]?(s=t[4],a=e[n][o]=e[n][o]||{},u.extendDeepNoArrays(a,u.objectFromPath(s,u.expandObjectPaths(i)))):e[n][o]=u.expandObjectPaths(i)):e[r]=u.expandObjectPaths(e[r]));return e},u.numSeparate=function(e,t,r){if(r||(r=!1),"string"!==typeof t||0===t.length)throw new Error("Separator string required for formatting!");"number"===typeof e&&(e=String(e));var n=/(\d+)(\d{3})/,i=t.charAt(0),o=t.charAt(1),a=e.split("."),s=a[0],l=a.length>1?i+a[1]:"";if(o&&(a.length>1||s.length>4||r))while(n.test(s))s=s.replace(n,"$1"+o+"$2");return s+l},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var P=/^\w*$/;u.templateString=function(e,t){var r={};return e.replace(u.TEMPLATE_STRING_REGEX,(function(e,n){var i;return P.test(n)?i=t[n]:(r[n]=r[n]||u.nestedProperty(t,n).get,i=r[n]()),u.isValidTextValue(i)?i:""}))};var B={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return I.apply(B,arguments)};var L={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return I.apply(L,arguments)};var D=/^[:|\|]/;function I(e,t,r){var o=this,a=arguments;t||(t={});var s={};return e.replace(u.TEMPLATE_STRING_REGEX,(function(e,l,c){var f,p,d,h;for(d=3;d<a.length;d++)if(f=a[d],f){if(f.hasOwnProperty(l)){p=f[l];break}if(P.test(l)||(p=s[l]||u.nestedProperty(f,l).get(),p&&(s[l]=p)),void 0!==p)break}if(void 0===p&&o)return o.count<o.max&&(u.warn("Variable '"+l+"' in "+o.name+" could not be found!"),p=e),o.count===o.max&&u.warn("Too many "+o.name+" warnings - additional warnings will be suppressed"),o.count++,e;if(c){if(":"===c[0]&&(h=r?r.numberFormat:n.format,p=h(c.replace(D,""))(p)),"|"===c[0]){h=r?r.timeFormat:i;var v=u.dateTime2ms(p);p=u.formatDate(v,c.replace(D,""),!1,h)}}else t.hasOwnProperty(l+"Label")&&(p=t[l+"Label"]);return p}))}var j=48,R=57;u.subplotSort=function(e,t){for(var r=Math.min(e.length,t.length)+1,n=0,i=0,o=0;o<r;o++){var a=e.charCodeAt(o)||0,s=t.charCodeAt(o)||0,l=a>=j&&a<=R,u=s>=j&&s<=R;if(l&&(n=10*n+a-j),u&&(i=10*i+s-j),!l||!u){if(n!==i)return n-i;if(a!==s)return a-s}}return i-n};var F=2e9;u.seedPseudoRandom=function(){F=2e9},u.pseudoRandom=function(){var e=F;return F=(69069*F+1)%4294967296,Math.abs(F-e)<429496729?u.pseudoRandom():F/4294967296},u.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},i=u.extractOption(e,t,"htx","hovertext");if(u.isValidTextValue(i))return n(i);var o=u.extractOption(e,t,"tx","text");return u.isValidTextValue(o)?n(o):void 0},u.isValidTextValue=function(e){return e||0===e},u.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n<t;n++)-1!==r.indexOf(".")&&(r=r.replace("0%","%"),r=r.replace(".%","%"));return r},u.isHidden=function(e){var t=window.getComputedStyle(e).display;return!t||"none"===t},u.strTranslate=function(e,t){return e||t?"translate("+e+","+t+")":""},u.strRotate=function(e){return e?"rotate("+e+")":""},u.strScale=function(e){return 1!==e?"scale("+e+")":""},u.getTextTransform=function(e){var t=e.noCenter,r=e.textX,n=e.textY,i=e.targetX,o=e.targetY,a=e.anchorX||0,s=e.anchorY||0,l=e.rotate,c=e.scale;return c?c>1&&(c=1):c=0,u.strTranslate(i-c*(r+a),o-c*(n+s))+u.strScale(c)+(l?"rotate("+l+(t?"":" "+r+" "+n)+")":"")},u.ensureUniformFontSize=function(e,t){var r=u.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},u.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)}},fc55:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var n=r("5b71"),i=v(n),o=r("96b7"),a=v(o),s=r("29f4"),l=v(s),u=r("558b"),c=v(u),f=r("5d0b"),p=v(f),d=r("0793"),h=v(d);function v(e){return e&&e.__esModule?e:{default:e}}t.hover=c.default,t.handleHover=c.default,t.handleActive=p.default,t.loop=h.default;var m=t.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=(0,i.default)(r),s=(0,a.default)(e,o);return(0,l.default)(s)};t.default=m},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fc7b:function(e,t,r){"use strict";var n=r("13a0");t.calc=function(e,t){return n.calc(e,t)},t.crossTraceCalc=function(e){return n._runCrossTraceCalc("treemap",e)}},fcb2:function(e,t,r){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:r("67c4"),supplyDefaults:r("8f2a"),draw:r("8dec").draw,hasColorbar:r("7089")}},fcb3:function(e,t,r){"use strict";e.exports={min:"zmin",max:"zmax"}},fcb7:function(e,t,r){"use strict";var n=r("19b2"),i=r("09bd"),o=r("106b"),a=r("4136"),s=r("70b4").calcMarkerSize,l=r("9b68");e.exports=function(e,t){var r=t._carpetTrace=l(e,t);if(r&&r.visible&&"legendonly"!==r.visible){var u;t.xaxis=r.xaxis,t.yaxis=r.yaxis;var c,f,p=t._length,d=new Array(p),h=!1;for(u=0;u<p;u++)if(c=t.a[u],f=t.b[u],n(c)&&n(f)){var v=r.ab2xy(+c,+f,!0),m=r.isVisible(+c,+f);m||(h=!0),d[u]={x:v[0],y:v[1],a:c,b:f,vis:m}}else d[u]={x:!1,y:!1};return t._needsCull=h,d[0].carpet=r,d[0].trace=t,s(t,p),i(e,t),o(d,t),a(d,t),d}}},fcc5:function(e,t,r){var n=r("6649");function i(){var e=n();return{get:function(t,r){var n=e(t);return n.hasOwnProperty("value")?n.value:r},set:function(t,r){return e(t).value=r,this},has:function(t){return"value"in e(t)},delete:function(t){return delete e(t).value}}}e.exports=i},fcd6:function(e,t,r){"use strict";var n=r("fc26"),i=r("f3df");e.exports=function(e,t){function r(r,o){return n.coerce(e,t,i,r,o)}r("hiddenlabels"),r("funnelareacolorway",t.colorway),r("extendfunnelareacolors")}},fd01:function(e,t,r){var n=r("6f7e"),i=r("28dd"),o=n("../shaders/vertex.glsl"),a=n("../shaders/fragment.glsl"),s=n("../shaders/pick.glsl"),l=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];t.createShader=function(e){return i(e,o,a,null,l)},t.createPickShader=function(e){return i(e,o,s,null,l)}},fd3b:function(e,t,r){var n=r("0230"),i=r("320c");function o(e){this.local=this.regionalOptions[e||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Ethiopian",jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,n.local.invalidYear);e=t.year()+(t.year()<0?1:0);return e%4===3||e%4===-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear),13},weekOfYear:function(e,t,r){var n=this.newDate(e,t,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var r=this._validate(e,t,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(13===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(e,t,r){return(this.dayOfWeek(e,t,r)||7)<6},toJD:function(e,t,r){var i=this._validate(e,t,r,n.local.invalidDate);return e=i.year(),e<0&&e++,i.day()+30*(i.month()-1)+365*(e-1)+Math.floor(e/4)+this.jdEpoch-1},fromJD:function(e){var t=Math.floor(e)+.5-this.jdEpoch,r=Math.floor((t-Math.floor((t+366)/1461))/365)+1;r<=0&&r--,t=Math.floor(e)+.5-this.newDate(r,1,1).toJD();var n=Math.floor(t/30)+1,i=t-30*(n-1)+1;return this.newDate(r,n,i)}}),n.calendars.ethiopian=o},fd4a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 17 13.79"},e),o.default.createElement("path",{class:"cls-1",d:"M16.66.44a.26.26 0 0 0-.19-.15.25.25 0 0 0-.23.1 2.1 2.1 0 0 1-1.14.72 4.42 4.42 0 0 0-1.1.55 1.47 1.47 0 0 0-.71 1.52 6.8 6.8 0 0 0-.78-1A7.29 7.29 0 0 0 7.47 0h-.25A7.29 7.29 0 0 0 .08 8.31c0 .17.06.34.1.51a6.42 6.42 0 0 0 3.58 4.7 3.45 3.45 0 0 0 1.31.27 2.89 2.89 0 0 0 2.56-1.57A3.43 3.43 0 0 0 8 11.06a3.17 3.17 0 0 0 0-.69 2.22 2.22 0 0 1 0-.68.89.89 0 0 1 1-.8 1.41 1.41 0 0 1 .41.11c-.18.32-.34.62-.47.9a8.16 8.16 0 0 0-.6 1.48c-.07.23-.24.85.18 1.14a.61.61 0 0 0 .48.1c.16 0 .64-.12 2-1.69.37-.42.77-.91 1.19-1.45a3.21 3.21 0 0 0 2.12-2.28 3.68 3.68 0 0 0 .07-.82c.4-.62.75-1.2 1.1-1.82a1.92 1.92 0 0 0 1.21-1.1 3.72 3.72 0 0 0-.03-3.02zm-5.78 3.85a1 1 0 0 1-.86.47 1 1 0 0 1-.53-.15A1 1 0 0 1 9 4a1 1 0 0 1 .13-.76 1 1 0 0 1 .87-.49.92.92 0 0 1 .53.16 1 1 0 0 1 .45.62 1 1 0 0 1-.1.76zm1.3 1.83a44.9 44.9 0 0 1 1.56-2.16l.28.22a2.11 2.11 0 0 0 .52.26c-.44.74-.9 1.47-1.46 2.3a39.84 39.84 0 0 1-2.71 3.56 9.82 9.82 0 0 1-1.16 1.17A10.24 10.24 0 0 1 9.87 10a39 39 0 0 1 2.31-3.88zm-8.93 0A1 1 0 0 1 2.71 6a1 1 0 0 1-.44-.63 1 1 0 0 1 1-1.23 1 1 0 0 1 .53.15 1 1 0 0 1 .3 1.35 1 1 0 0 1-.85.47zM2.19 8.33A1 1 0 0 1 3 7.86a1 1 0 0 1 1 .78 1.07 1.07 0 0 1-.13.76 1 1 0 0 1-.87.47 1 1 0 0 1-.53-.15 1 1 0 0 1-.32-1.39zm3.23-6a1 1 0 0 1 .85-.47A1 1 0 0 1 6.8 2a1 1 0 0 1 .32 1.39 1 1 0 0 1-.85.47 1 1 0 0 1-.54-.15 1 1 0 0 1-.44-.63 1 1 0 0 1 .13-.73z"}))};t.default=u},fd4c:function(e,t){function r(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}e.exports=r},fd4c1:function(e,t,r){"use strict";e.exports=Math.log2||function(e){return Math.log(e)*Math.LOG2E}},fd80:function(e,t,r){"use strict";var n=r("6e58"),i=r("bb71"),o=r("d115"),a=r("83d1"),s=r("fc26"),l=r("0379"),u=r("a651").arrayEditor,c=r("63dc").LINE_SPACING,f=r("3d2e"),p=r("8ff1");function d(e){return e._index}function h(e){return-1===+e.attr(f.menuIndexAttrName)}function v(e,t){return+e.attr(f.menuIndexAttrName)===t._index}function m(e,t,r,n,i,o,a,s){t.active=a,u(e.layout,f.name,t).applyUpdate("active",a),"buttons"===t.type?y(e,n,null,null,t):"dropdown"===t.type&&(i.attr(f.menuIndexAttrName,"-1"),g(e,n,i,o,t),s||y(e,n,i,o,t))}function g(e,t,r,n,i){var o=s.ensureSingle(t,"g",f.headerClassName,(function(e){e.style("pointer-events","all")})),l=i._dims,u=i.active,c=i.buttons[u]||f.blankHeaderOpts,p={y:i.pad.t,yPad:0,x:i.pad.l,xPad:0,index:0},d={width:l.headerWidth,height:l.headerHeight};o.call(A,i,c,e).call(O,i,p,d);var h=s.ensureSingle(t,"text",f.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(a.font,i.font).text(f.arrowSymbol[i.direction])}));h.attr({x:l.headerWidth-f.arrowOffsetX+i.pad.l,y:l.headerHeight/2+f.textOffsetY+i.pad.t}),o.on("click",(function(){r.call(M,String(v(r,i)?-1:i._index)),y(e,t,r,n,i)})),o.on("mouseover",(function(){o.call(k)})),o.on("mouseout",(function(){o.call(T,i)})),a.setTranslate(t,l.lx,l.ly)}function y(e,t,r,o,a){r||(r=t,r.attr("pointer-events","all"));var l=h(r)&&"buttons"!==a.type?[]:a.buttons,u="dropdown"===a.type?f.dropdownButtonClassName:f.buttonClassName,c=r.selectAll("g."+u).data(s.filterVisible(l)),p=c.enter().append("g").classed(u,!0),d=c.exit();"dropdown"===a.type?(p.attr("opacity","0").transition().attr("opacity","1"),d.transition().attr("opacity","0").remove()):d.remove();var v=0,g=0,y=a._dims,w=-1!==["up","down"].indexOf(a.direction);"dropdown"===a.type&&(w?g=y.headerHeight+f.gapButtonHeader:v=y.headerWidth+f.gapButtonHeader),"dropdown"===a.type&&"up"===a.direction&&(g=-f.gapButtonHeader+f.gapButton-y.openHeight),"dropdown"===a.type&&"left"===a.direction&&(v=-f.gapButtonHeader+f.gapButton-y.openWidth);var _={x:y.lx+v+a.pad.l,y:y.ly+g+a.pad.t,yPad:f.gapButton,xPad:f.gapButton,index:0},C={l:_.x+a.borderwidth,t:_.y+a.borderwidth};c.each((function(s,l){var u=n.select(this);u.call(A,a,s,e).call(O,a,_),u.on("click",(function(){n.event.defaultPrevented||(s.execute&&(s.args2&&a.active===l?(m(e,a,s,t,r,o,-1),i.executeAPICommand(e,s.method,s.args2)):(m(e,a,s,t,r,o,l),i.executeAPICommand(e,s.method,s.args))),e.emit("plotly_buttonclicked",{menu:a,button:s,active:a.active}))})),u.on("mouseover",(function(){u.call(k)})),u.on("mouseout",(function(){u.call(T,a),c.call(E,a)}))})),c.call(E,a),w?(C.w=Math.max(y.openWidth,y.headerWidth),C.h=_.y-C.t):(C.w=_.x-C.l,C.h=Math.max(y.openHeight,y.headerHeight)),C.direction=a.direction,o&&(c.size()?b(e,t,r,o,a,C):x(o))}function b(e,t,r,n,i,o){var a,s,l,u=i.direction,c="up"===u||"down"===u,p=i._dims,d=i.active;if(c)for(s=0,l=0;l<d;l++)s+=p.heights[l]+f.gapButton;else for(a=0,l=0;l<d;l++)a+=p.widths[l]+f.gapButton;n.enable(o,a,s),n.hbar&&n.hbar.attr("opacity","0").transition().attr("opacity","1"),n.vbar&&n.vbar.attr("opacity","0").transition().attr("opacity","1")}function x(e){var t=!!e.hbar,r=!!e.vbar;t&&e.hbar.transition().attr("opacity","0").each("end",(function(){t=!1,r||e.disable()})),r&&e.vbar.transition().attr("opacity","0").each("end",(function(){r=!1,t||e.disable()}))}function A(e,t,r,n){e.call(w,t).call(_,t,r,n)}function w(e,t){var r=s.ensureSingle(e,"rect",f.itemRectClassName,(function(e){e.attr({rx:f.rx,ry:f.ry,"shape-rendering":"crispEdges"})}));r.call(o.stroke,t.bordercolor).call(o.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px")}function _(e,t,r,n){var i=s.ensureSingle(e,"text",f.itemTextClassName,(function(e){e.attr({"text-anchor":"start","data-notex":1})})),o=r.label,u=n._fullLayout._meta;u&&(o=s.templateString(o,u)),i.call(a.font,t.font).text(o).call(l.convertToTspans,n)}function E(e,t){var r=t.active;e.each((function(e,i){var a=n.select(this);i===r&&t.showactive&&a.select("rect."+f.itemRectClassName).call(o.fill,f.activeColor)}))}function k(e){e.select("rect."+f.itemRectClassName).call(o.fill,f.hoverColor)}function T(e,t){e.select("rect."+f.itemRectClassName).call(o.fill,t.bgcolor)}function C(e,t){var r=t._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},o=a.tester.selectAll("g."+f.dropdownButtonClassName).data(s.filterVisible(t.buttons));o.enter().append("g").classed(f.dropdownButtonClassName,!0);var u=-1!==["up","down"].indexOf(t.direction);o.each((function(i,o){var s=n.select(this);s.call(A,t,i,e);var p=s.select("."+f.itemTextClassName),d=p.node()&&a.bBox(p.node()).width,h=Math.max(d+f.textPadX,f.minWidth),v=t.font.size*c,m=l.lineCount(p),g=Math.max(v*m,f.minHeight)+f.textOffsetY;g=Math.ceil(g),h=Math.ceil(h),r.widths[o]=h,r.heights[o]=g,r.height1=Math.max(r.height1,g),r.width1=Math.max(r.width1,h),u?(r.totalWidth=Math.max(r.totalWidth,h),r.openWidth=r.totalWidth,r.totalHeight+=g+f.gapButton,r.openHeight+=g+f.gapButton):(r.totalWidth+=h+f.gapButton,r.openWidth+=h+f.gapButton,r.totalHeight=Math.max(r.totalHeight,g),r.openHeight=r.totalHeight)})),u?r.totalHeight-=f.gapButton:r.totalWidth-=f.gapButton,r.headerWidth=r.width1+f.arrowPadX,r.headerHeight=r.height1,"dropdown"===t.type&&(u?(r.width1+=f.arrowPadX,r.totalHeight=r.height1):r.totalWidth=r.width1,r.totalWidth+=f.arrowPadX),o.remove();var p=r.totalWidth+t.pad.l+t.pad.r,d=r.totalHeight+t.pad.t+t.pad.b,h=e._fullLayout._size;r.lx=h.l+h.w*t.x,r.ly=h.t+h.h*(1-t.y);var v="left";s.isRightAnchor(t)&&(r.lx-=p,v="right"),s.isCenterAnchor(t)&&(r.lx-=p/2,v="center");var m="top";s.isBottomAnchor(t)&&(r.ly-=d,m="bottom"),s.isMiddleAnchor(t)&&(r.ly-=d/2,m="middle"),r.totalWidth=Math.ceil(r.totalWidth),r.totalHeight=Math.ceil(r.totalHeight),r.lx=Math.round(r.lx),r.ly=Math.round(r.ly),i.autoMargin(e,S(t),{x:t.x,y:t.y,l:p*({right:1,center:.5}[v]||0),r:p*({left:1,center:.5}[v]||0),b:d*({top:1,middle:.5}[m]||0),t:d*({bottom:1,middle:.5}[m]||0)})}function S(e){return f.autoMarginIdRoot+e._index}function O(e,t,r,n){n=n||{};var i=e.select("."+f.itemRectClassName),o=e.select("."+f.itemTextClassName),s=t.borderwidth,u=r.index,p=t._dims;a.setTranslate(e,s+r.x,s+r.y);var d=-1!==["up","down"].indexOf(t.direction),h=n.height||(d?p.heights[u]:p.height1);i.attr({x:0,y:0,width:n.width||(d?p.width1:p.widths[u]),height:h});var v=t.font.size*c,m=l.lineCount(o),g=(m-1)*v/2;l.positionText(o,f.textOffsetX,h/2-g+f.textOffsetY),d?r.y+=p.heights[u]+r.yPad:r.x+=p.widths[u]+r.xPad,r.index++}function M(e,t){e.attr(f.menuIndexAttrName,t||"-1").selectAll("g."+f.dropdownButtonClassName).remove()}e.exports=function(e){var t=e._fullLayout,r=s.filterVisible(t[f.name]);function o(t){i.autoMargin(e,S(t))}var a=t._menulayer.selectAll("g."+f.containerClassName).data(r.length>0?[0]:[]);if(a.enter().append("g").classed(f.containerClassName,!0).style("cursor","pointer"),a.exit().each((function(){n.select(this).selectAll("g."+f.headerGroupClassName).each(o)})).remove(),0!==r.length){var l=a.selectAll("g."+f.headerGroupClassName).data(r,d);l.enter().append("g").classed(f.headerGroupClassName,!0);for(var u=s.ensureSingle(a,"g",f.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),c=0;c<r.length;c++){var h=r[c];C(e,h)}var b="updatemenus"+t._uid,x=new p(e,u,b);l.enter().size()&&(u.node().parentNode.appendChild(u.node()),u.call(M)),l.exit().each((function(e){u.call(M),o(e)})).remove(),l.each((function(t){var r=n.select(this),o="dropdown"===t.type?u:null;i.manageCommandObserver(e,t,t.buttons,(function(n){m(e,t,t.buttons[n.index],r,o,x,n.index,!0)})),"dropdown"===t.type?(g(e,r,u,x,t),v(u,t)&&y(e,r,u,x,t)):y(e,r,null,null,t)}))}}},fda0:function(e,t,r){"use strict";var n=r("19b2"),i=r("8df8");function o(){var e;return"undefined"!==typeof navigator&&(e=navigator.userAgent),e&&e.headers&&"string"===typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),e}e.exports=function(e){var t;if(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:o(),"string"!==typeof t)return!0;var r=i({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!r)for(var a=t.split(" "),s=1;s<a.length;s++){var l=a[s];if(-1!==l.indexOf("Safari"))for(var u=s-1;u>-1;u--){var c=a[u];if("Version/"===c.substr(0,8)){var f=c.substr(8).split(".")[0];if(n(f)&&(f=+f),f>=13)return!0}}}return r}},fda9:function(e,t){function r(e,t){if("string"!==typeof e)throw new TypeError("must specify type string");if(t=t||{},"undefined"===typeof document&&!t.canvas)return null;var r=t.canvas||document.createElement("canvas");"number"===typeof t.width&&(r.width=t.width),"number"===typeof t.height&&(r.height=t.height);var n,i=t;try{var o=[e];0===e.indexOf("webgl")&&o.push("experimental-"+e);for(var a=0;a<o.length;a++)if(n=r.getContext(o[a],i),n)return n}catch(s){n=null}return n||null}e.exports=r},fdb9:function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=n(r("ab5b")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e){var t=e.color,r=void 0===t?"currentColor":t,n=e.size,s=void 0===n?24:n,l=(e.children,a(e,["color","size","children"])),u="mdi-icon "+(l.className||"");return i.createElement("svg",o({},l,{className:u,width:s,height:s,fill:r,viewBox:"0 0 24 24"}),i.createElement("path",{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}))};e.exports=s},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fdc7:function(e,t,r){"use strict";var n=r("d858"),i=r("fc26");t.rangeToShapePosition=function(e){return"log"===e.type?e.r2d:function(e){return e}},t.shapePositionToRange=function(e){return"log"===e.type?e.d2r:function(e){return e}},t.decodeDate=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},t.encodeDate=function(e){return function(t){return e(t).replace(" ","_")}},t.extractPathCoords=function(e,t){var r=[],o=e.match(n.segmentRE);return o.forEach((function(e){var o=t[e.charAt(0)].drawn;if(void 0!==o){var a=e.substr(1).match(n.paramRE);!a||a.length<o||r.push(i.cleanNumber(a[o]))}})),r},t.getDataToPixel=function(e,r,n,i){var o,a=e._fullLayout._size;if(r)if("domain"===i)o=function(e){return r._length*(n?1-e:e)+r._offset};else{var s=t.shapePositionToRange(r);o=function(e){return r._offset+r.r2p(s(e,!0))},"date"===r.type&&(o=t.decodeDate(o))}else o=n?function(e){return a.t+a.h*(1-e)}:function(e){return a.l+a.w*e};return o},t.getPixelToData=function(e,r,n,i){var o,a=e._fullLayout._size;if(r)if("domain"===i)o=function(e){var t=(e-r._offset)/r._length;return n?1-t:t};else{var s=t.rangeToShapePosition(r);o=function(e){return s(r.p2r(e-r._offset))}}else o=n?function(e){return 1-(e-a.t)/a.h}:function(e){return(e-a.l)/a.w};return o},t.roundPositionForSharpStrokeRendering=function(e,t){var r=1===Math.round(t%2),n=Math.round(e);return r?n+.5:n},t.makeOptionsAndPlotinfo=function(e,t){var r=e._fullLayout.shapes[t]||{},n=e._fullLayout._plots[r.xref+r.yref],i=!!n;return i?n._hadPlotinfo=!0:(n={},r.xref&&"paper"!==r.xref&&(n.xaxis=e._fullLayout[r.xref+"axis"]),r.yref&&"paper"!==r.yref&&(n.yaxis=e._fullLayout[r.yref+"axis"])),n.xsizemode=r.xsizemode,n.ysizemode=r.ysizemode,n.xanchor=r.xanchor,n.yanchor=r.yanchor,{options:r,plotinfo:n}}},fde6:function(e){e.exports=JSON.parse('["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]')},fe46:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 24 16"},e),o.default.createElement("path",{d:"M6 2L0 8l6 5.991V14l18-.004V2H6z"}))};t.default=u},fe58:function(e,t,r){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=v(r("bbf7")),o=r("b74c"),a=v(r("5174")),s=v(r("88e7")),l=v(r("d7bc")),u=v(r("37cc")),c=h(r("ab5b")),f=v(r("74d6")),p=r("4578");function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t,r){return t&&A(e.prototype,t),r&&A(e,r),e}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&&E(e,t)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(e){var t=S();return function(){var r,n=O(e);if(t){var i=O(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var M=(0,p.connectToContainer)(o.UnconnectedColorscalePicker,{modifyPlotProps:function(e,t,r){"marker.color"===e.attr&&t.fullData.filter((function(e){return t.traceIndexes.includes(e.index)})).every((function(e){return e.marker&&e.marker.color}))&&r.fullValue&&"string"===typeof r.fullValue&&(r.fullValue=t.fullData&&t.fullData.filter((function(e){return t.traceIndexes.includes(e.index)})).map((function(e){return[0,e.marker.color]})))}}),P=function(e){_(r,e);var t=k(r);function r(e,n){var i;return x(this,r),i=t.call(this,e,n),i.state={selectedConstantColorOption:n.traceIndexes.length>1&&e.fullValue&&e.fullValue.every((function(t){return t[1]===e.fullValue[0][1]}))?"single":"multiple"},i.setColor=i.setColor.bind(C(i)),i.setColors=i.setColors.bind(C(i)),i}return w(r,[{key:"setColor",value:function(e){this.props.setColor?this.props.setColor(e):this.props.updatePlot(e)}},{key:"setColors",value:function(e,t){var r=this,n=this.props.tracesToColor.length,i=e.map((function(e){return e[1]})),o=i;"categorical"!==t&&(o=(0,p.adjustColorscale)(i,n,t)),(o.every((function(e){return e===o[0]}))||"categorical"===t)&&(o=(0,p.adjustColorscale)(i,n,t,{repeat:!0}));var a=o.map((function(e){return b({},r.props.attr,e)}));this.context.updateContainer(a)}},{key:"render",value:function(){var e=this,t=this.context.localize,r=[{label:t("Single"),value:"single"},{label:t("Multiple"),value:"multiple"}],n=this.props.parentSelectedConstantColorOption?this.props.parentSelectedConstantColorOption:this.state.selectedConstantColorOption,o=this.props.multiColorMessage?this.props.multiColorMessage:t("Each will be colored according to the selected colors."),l=this.props.singleColorMessage?this.props.singleColorMessage:t("All will be colored in the same color.");return this.context.traceIndexes.length>1?c.default.createElement(a.default,y({},this.props,{suppressMultiValuedMessage:!0}),c.default.createElement(u.default,{options:r,activeOption:n,onOptionChange:this.props.onConstantColorOptionChange?this.props.onConstantColorOptionChange:function(t){return e.setState({selectedConstantColorOption:t})}}),c.default.createElement(s.default,null,"single"===n?l:o),"single"===n?c.default.createElement(i.default,{attr:this.props.attr,updatePlot:this.setColor}):c.default.createElement(M,{suppressMultiValuedMessage:!0,attr:this.props.attr,updatePlot:this.setColors,fullValue:this.props.fullValue,initialCategory:"categorical"})):c.default.createElement(i.default,{attr:this.props.attr,updatePlot:this.setColor,label:this.props.label})}}]),r}(c.Component);P.propTypes=g({multiColorMessage:l.default.string,singleColorMessage:l.default.string,updatePlot:l.default.func,attr:l.default.string,parentSelectedConstantColorOption:l.default.string,onConstantColorOptionChange:l.default.func,messageKeyWordSingle:l.default.string,messageKeyWordPlural:l.default.string,tracesToColor:l.default.array},a.default.propTypes),P.contextTypes={localize:l.default.func,updateContainer:l.default.func,traceIndexes:l.default.array,fullData:l.default.array},P.displayName="UnconnectedMultiColorPicker";var B=(0,p.connectToContainer)(P,{modifyPlotProps:function(e,t,r){if(r.isVisible){var n=[],i=[],o=[];t.traceIndexes.forEach((function(e){o.includes(e)||o.push(e)})),o.forEach((function(r){var o=t.fullData.filter((function(e){return e.index===r}));i=i.concat(o),o.forEach((function(t){var r=(0,f.default)(t,e.attr).get();r&&n.push(r)}))})),r.tracesToColor=i,r.fullValue=n.map((function(e){return[0,e]}))}}});t.default=B},fe73:function(e){e.exports=JSON.parse('["inherit","initial","unset"]')},fe94:function(e,t,r){"use strict";var n=r("84af"),i=r("35b1");function o(e,t){for(var r=0,n=e.length,i=0;i<n;++i)r+=e[i]*t[i];return r}function a(e){var t=e.length;if(0===t)return[];e[0].length;var r=n([e.length+1,e.length+1],1),a=n([e.length+1],1);r[t][t]=0;for(var s=0;s<t;++s){for(var l=0;l<=s;++l)r[l][s]=r[s][l]=2*o(e[s],e[l]);a[s]=o(e[s],e[s])}var u=i(r,a),c=0,f=u[t+1];for(s=0;s<f.length;++s)c+=f[s];var p=new Array(t);for(s=0;s<t;++s){f=u[s];var d=0;for(l=0;l<f.length;++l)d+=f[l];p[s]=d/c}return p}function s(e){if(0===e.length)return[];for(var t=e[0].length,r=n([t]),i=a(e),o=0;o<e.length;++o)for(var s=0;s<t;++s)r[s]+=e[o][s]*i[o];return r}s.barycenetric=a,e.exports=s},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise},feb0:function(e,t,r){"use strict";e.exports={attributes:r("56f3"),supplyDefaults:r("e3ce"),colorbar:r("f3cf"),formatLabels:r("5d0a"),calc:r("824b"),calcGeoJSON:r("1085").calcGeoJSON,plot:r("1085").plot,style:r("cebf"),styleOnSelect:r("52e8").styleOnSelect,hoverPoints:r("8a9f"),eventData:r("a074"),selectPoints:r("f50f"),moduleType:"trace",name:"scattergeo",basePlotModule:r("9e9a"),categories:["geo","symbols","showLegend","scatter-like"],meta:{hrName:"scatter_geo",description:["The data visualized as scatter point or lines on a geographic map","is provided either by longitude/latitude pairs in `lon` and `lat`","respectively or by geographic location IDs or names in `locations`."].join(" ")}}},feb7:function(e,t,r){"use strict";function n(e,t,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=t||{},n.geometry=e,n}function i(e,t,r){switch(void 0===r&&(r={}),e){case"Point":return o(t).geometry;case"LineString":return u(t).geometry;case"Polygon":return s(t).geometry;case"MultiPoint":return d(t).geometry;case"MultiLineString":return p(t).geometry;case"MultiPolygon":return h(t).geometry;default:throw new Error(e+" is invalid")}}function o(e,t,r){void 0===r&&(r={});var i={type:"Point",coordinates:e};return n(i,t,r)}function a(e,t,r){return void 0===r&&(r={}),f(e.map((function(e){return o(e,t)})),r)}function s(e,t,r){void 0===r&&(r={});for(var i=0,o=e;i<o.length;i++){var a=o[i];if(a.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var s=0;s<a[a.length-1].length;s++)if(a[a.length-1][s]!==a[0][s])throw new Error("First and last Position are not equivalent.")}var l={type:"Polygon",coordinates:e};return n(l,t,r)}function l(e,t,r){return void 0===r&&(r={}),f(e.map((function(e){return s(e,t)})),r)}function u(e,t,r){if(void 0===r&&(r={}),e.length<2)throw new Error("coordinates must be an array of two or more positions");var i={type:"LineString",coordinates:e};return n(i,t,r)}function c(e,t,r){return void 0===r&&(r={}),f(e.map((function(e){return u(e,t)})),r)}function f(e,t){void 0===t&&(t={});var r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}function p(e,t,r){void 0===r&&(r={});var i={type:"MultiLineString",coordinates:e};return n(i,t,r)}function d(e,t,r){void 0===r&&(r={});var i={type:"MultiPoint",coordinates:e};return n(i,t,r)}function h(e,t,r){void 0===r&&(r={});var i={type:"MultiPolygon",coordinates:e};return n(i,t,r)}function v(e,t,r){void 0===r&&(r={});var i={type:"GeometryCollection",geometries:e};return n(i,t,r)}function m(e,t){if(void 0===t&&(t=0),t&&!(t>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,t||0);return Math.round(e*r)/r}function g(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e*n}function y(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e/n}function b(e,t){return A(y(e,t))}function x(e){var t=e%360;return t<0&&(t+=360),t}function A(e){var t=e%(2*Math.PI);return 180*t/Math.PI}function w(e){var t=e%360;return t*Math.PI/180}function _(e,t,r){if(void 0===t&&(t="kilometers"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("length must be a positive number");return g(y(e,t),r)}function E(e,r,n){if(void 0===r&&(r="meters"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("area must be a positive number");var i=t.areaFactors[r];if(!i)throw new Error("invalid original units");var o=t.areaFactors[n];if(!o)throw new Error("invalid final units");return e/i*o}function k(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)&&!/^\s*$/.test(e)}function T(e){return!!e&&e.constructor===Object}function C(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!k(e))throw new Error("bbox must only contain numbers")}))}function S(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")}function O(){throw new Error("method has been renamed to `radiansToDegrees`")}function M(){throw new Error("method has been renamed to `degreesToRadians`")}function P(){throw new Error("method has been renamed to `lengthToDegrees`")}function B(){throw new Error("method has been renamed to `lengthToRadians`")}function L(){throw new Error("method has been renamed to `radiansToLength`")}function D(){throw new Error("method has been renamed to `bearingToAzimuth`")}function I(){throw new Error("method has been renamed to `convertLength`")}Object.defineProperty(t,"__esModule",{value:!0}),t.earthRadius=6371008.8,t.factors={centimeters:100*t.earthRadius,centimetres:100*t.earthRadius,degrees:t.earthRadius/111325,feet:3.28084*t.earthRadius,inches:39.37*t.earthRadius,kilometers:t.earthRadius/1e3,kilometres:t.earthRadius/1e3,meters:t.earthRadius,metres:t.earthRadius,miles:t.earthRadius/1609.344,millimeters:1e3*t.earthRadius,millimetres:1e3*t.earthRadius,nauticalmiles:t.earthRadius/1852,radians:1,yards:t.earthRadius/1.0936},t.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/t.earthRadius,yards:1/1.0936},t.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},t.feature=n,t.geometry=i,t.point=o,t.points=a,t.polygon=s,t.polygons=l,t.lineString=u,t.lineStrings=c,t.featureCollection=f,t.multiLineString=p,t.multiPoint=d,t.multiPolygon=h,t.geometryCollection=v,t.round=m,t.radiansToLength=g,t.lengthToRadians=y,t.lengthToDegrees=b,t.bearingToAzimuth=x,t.radiansToDegrees=A,t.degreesToRadians=w,t.convertLength=_,t.convertArea=E,t.isNumber=k,t.isObject=T,t.validateBBox=C,t.validateId=S,t.radians2degrees=O,t.degrees2radians=M,t.distanceToDegrees=P,t.distanceToRadians=B,t.radiansToDistance=L,t.bearingToAngle=D,t.convertDistance=I},fec5:function(e,t){function r(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}e.exports=r},fedf:function(e,t){function r(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}e.exports=r},feed:function(e,t,r){"use strict";var n=r("d115"),i=r("de81");e.exports=function(e,t){var r,o;if("lines"===e.mode)return r=e.line.color,r&&n.opacity(r)?r:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var a=t.mcc||(e.marker||{}).color,s=t.mlcc||((e.marker||{}).line||{}).color;return o=a&&n.opacity(a)?a:s&&n.opacity(s)&&(t.mlw||((e.marker||{}).line||{}).width)?s:"",o?n.opacity(o)<.3?n.addOpacity(o,.3):o:(r=(e.line||{}).color,r&&n.opacity(r)&&i.hasLines(e)&&e.line.width?r:e.fillcolor)}},ff0b:function(e,t){function r(e,t,r){var n=t[0],i=t[1],o=t[2];return e[0]=n*r[0]+i*r[3]+o*r[6],e[1]=n*r[1]+i*r[4]+o*r[7],e[2]=n*r[2]+i*r[5]+o*r[8],e}e.exports=r},ff0d:function(e,t,r){"use strict";e.exports={attributes:r("fb5a"),layoutAttributes:r("37e3"),supplyDefaults:r("1c1c").supplyDefaults,crossTraceDefaults:r("1c1c").crossTraceDefaults,supplyLayoutDefaults:r("ed16"),calc:r("d78f"),crossTraceCalc:r("0cec").crossTraceCalc,colorbar:r("f3cf"),arraysToCalcdata:r("424b"),plot:r("c791").plot,style:r("2df3").style,styleOnSelect:r("2df3").styleOnSelect,hoverPoints:r("ac97").hoverPoints,eventData:r("d41c"),selectPoints:r("7000"),moduleType:"trace",name:"bar",basePlotModule:r("91cd"),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{description:["The data visualized by the span of the bars is set in `y`","if `orientation` is set th *v* (the default)","and the labels are set in `x`.","By setting `orientation` to *h*, the roles are interchanged."].join(" ")}}},ff2d:function(e,t,r){"use strict";var n={getRemovalRange:function(e,t,r,n,i){var o=r.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s,l=n,u=null,c=null,f=0;f<o.length;f++){if(s=o[f],a=l+s.length,e<a&&l<t)null!==u||(u=l),c=a;else if(null!==u)break;l=a}var p=n+r.length,d=u===n,h=c===p;return(!d&&h||d&&!h)&&("forward"===i?c!==p&&c++:u!==n&&u--),{start:u,end:c}}};e.exports=n},ff2f:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r("f2e4"),a=r("24be"),s=r("772c"),l=r("53ce"),u=r("cb1c"),c=r("d8db"),f=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:u(e),entityRanges:l(e,t),data:e.getData().toObject()}},p=function(e,t,r,i){if(e instanceof o)r.push(f(e,t));else{e instanceof a||c(!1);var s=e.getParentKey(),l=i[e.getKey()]=n({},f(e,t),{children:[]});s?i[s].children.push(l):r.push(l)}},d=function(e,t){var r=t.entityMap,n=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var n=e.getEntityAt(t),i=s.stringify(n);o[i]||(o[i]=n,r[i]="".concat(a),a++)})),p(e,r,n,i)})),{blocks:n,entityMap:r}},h=function(e,t){var r=t.blocks,n=t.entityMap,i={};return Object.keys(n).forEach((function(t,r){var n=e.getEntity(s.unstringify(t));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}})),{blocks:r,entityMap:i}},v=function(e){var t={entityMap:{},blocks:[]};return t=d(e,t),t=h(e,t),t};e.exports=v},ff43:function(e,t,r){"use strict";function n(e){return n="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},n(e)}function i(e){return e&&!Array.isArray(e)&&"object"===n(e)}function o(e,t,r,n){return!!Array.isArray(t)&&!!(r||n&&n.includes(e))}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"array",t=arguments.length>1?arguments[1]:void 0;return{_path:t||("array"===e?[]:""),set:function(t,r){var n;switch(e){case"array":n=this._path.concat([r]);break;case"nestedProperty":n=0===this._path.length?r:Array.isArray(t)?this._path+"[".concat(r,"]"):this._path+"."+r;break;default:throw new Error("unrecognized pathType "+e)}return a(e,n)},get:function(t,r){return"array"===e?this._path:this.set(t,r)._path}}}function s(e){var t="",r=0;"_fullData"===e[r]&&(r+=2),"_fullInput"===e[r]&&r++,"_fullLayout"===e[r]&&r++;for(var n=r;n<e.length;n++)"number"===typeof e[n]||Array.isArray(e[n])?t+="["+(Array.isArray(e[n])?e[n][0]:e[n])+"]":t+=(n>r?".":"")+e[n];return t}function l(e,t,r,n){var a=n.walkArrays,s=n.walkArraysMatchingKeys;Object.keys(e).forEach((function(u){if(!t(u,e,r.get(e,u))){var c=e[u];(i(c)||o(u,c,a,s))&&l(c,t,r.set(e,u),n)}}))}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!i(e)&&!Array.isArray(e))throw new Error("The input must be an object.");var n=a(r.pathType);l(e,t,n,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=i,t.makeAttrSetterPath=s,t.default=u},ff49:function(e,t,r){"use strict";var n=r("6e58"),i=r("83d1"),o=r("0642"),a=r("3c1c"),s=r("73c9");e.exports=function(e){var t,r,l=e._fullLayout,u=[],c={},f=[];for(r=0;r<l.images.length;r++){var p=l.images[r];if(p.visible)if("below"===p.layer&&"paper"!==p.xref&&"paper"!==p.yref){t=a.ref2id(p.xref)+a.ref2id(p.yref);var d=l._plots[t];if(!d){f.push(p);continue}d.mainplot&&(t=d.mainplot.id),c[t]||(c[t]=[]),c[t].push(p)}else"above"===p.layer?u.push(p):f.push(p)}var h={x:{left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-.5},right:{sizing:"xMax",offset:-1}},y:{top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-.5},bottom:{sizing:"YMax",offset:-1}}};function v(t){var r=n.select(this);if(this._imgSrc!==t.source)if(r.attr("xmlns",s.svg),t.source&&"data:"===t.source.slice(0,5))r.attr("xlink:href",t.source),this._imgSrc=t.source;else{var i=new Promise(function(e){var n=new Image;function i(){r.remove(),e()}this.img=n,n.setAttribute("crossOrigin","anonymous"),n.onerror=i,n.onload=function(){var t=document.createElement("canvas");t.width=this.width,t.height=this.height;var n=t.getContext("2d");n.drawImage(this,0,0);var i=t.toDataURL("image/png");r.attr("xlink:href",i),e()},r.on("error",i),n.src=t.source,this._imgSrc=t.source}.bind(this));e._promises.push(i)}}function m(t){var r,a,s=n.select(this),u=o.getFromId(e,t.xref),c=o.getFromId(e,t.yref),f="domain"===o.getRefType(t.xref),p="domain"===o.getRefType(t.yref),d=l._size;r=void 0!==u?"string"===typeof t.xref&&f?u._length*t.sizex:Math.abs(u.l2p(t.sizex)-u.l2p(0)):t.sizex*d.w,a=void 0!==c?"string"===typeof t.yref&&p?c._length*t.sizey:Math.abs(c.l2p(t.sizey)-c.l2p(0)):t.sizey*d.h;var v,m,g=r*h.x[t.xanchor].offset,y=a*h.y[t.yanchor].offset,b=h.x[t.xanchor].sizing+h.y[t.yanchor].sizing;switch(v=void 0!==u?"string"===typeof t.xref&&f?u._length*t.x+u._offset:u.r2p(t.x)+u._offset:t.x*d.w+d.l,v+=g,m=void 0!==c?"string"===typeof t.yref&&p?c._length*(1-t.y)+c._offset:c.r2p(t.y)+c._offset:d.h-t.y*d.h+d.t,m+=y,t.sizing){case"fill":b+=" slice";break;case"stretch":b="none";break}s.attr({x:v,y:m,width:r,height:a,preserveAspectRatio:b,opacity:t.opacity});var x=u&&"domain"!==o.getRefType(t.xref)?u._id:"",A=c&&"domain"!==o.getRefType(t.yref)?c._id:"",w=x+A;i.setClipUrl(s,w?"clip"+l._uid+w:null,e)}var g=l._imageLowerLayer.selectAll("image").data(f),y=l._imageUpperLayer.selectAll("image").data(u);g.enter().append("image"),y.enter().append("image"),g.exit().remove(),y.exit().remove(),g.each((function(e){v.bind(this)(e),m.bind(this)(e)})),y.each((function(e){v.bind(this)(e),m.bind(this)(e)}));var b=Object.keys(l._plots);for(r=0;r<b.length;r++){t=b[r];var x=l._plots[t];if(x.imagelayer){var A=x.imagelayer.selectAll("image").data(c[t]||[]);A.enter().append("image"),A.exit().remove(),A.each((function(e){v.bind(this)(e),m.bind(this)(e)}))}}}},ff55:function(e,t,r){"use strict";e.exports=function(){return"object"===typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},ff5b:function(e,t,r){"use strict";e.exports=r("c029")},ff85:function(e,t,r){"use strict";var n=r("b00d"),i=r("7797");function o(e){for(var t=0,r=Math.max,n=0,i=e.length;n<i;++n)t=r(t,e[n].length);return t-1}function a(e){for(var t=-1,r=Math.max,n=0,i=e.length;n<i;++n)for(var o=e[n],a=0,s=o.length;a<s;++a)t=r(t,o[a]);return t+1}function s(e){for(var t=new Array(e.length),r=0,n=e.length;r<n;++r)t[r]=e[r].slice(0);return t}function l(e,t){var r=e.length,n=e.length-t.length,i=Math.min;if(n)return n;switch(r){case 0:return 0;case 1:return e[0]-t[0];case 2:var o=e[0]+e[1]-t[0]-t[1];return o||i(e[0],e[1])-i(t[0],t[1]);case 3:var a=e[0]+e[1],s=t[0]+t[1];if(o=a+e[2]-(s+t[2]),o)return o;var l=i(e[0],e[1]),u=i(t[0],t[1]);o=i(l,e[2])-i(u,t[2]);return o||i(l+e[2],a)-i(u+t[2],s);default:var c=e.slice(0);c.sort();var f=t.slice(0);f.sort();for(var p=0;p<r;++p)if(n=c[p]-f[p],n)return n;return 0}}function u(e,t){return l(e[0],t[0])}function c(e,t){if(t){for(var r=e.length,n=new Array(r),i=0;i<r;++i)n[i]=[e[i],t[i]];n.sort(u);for(i=0;i<r;++i)e[i]=n[i][0],t[i]=n[i][1];return e}return e.sort(l),e}function f(e){if(0===e.length)return[];for(var t=1,r=e.length,n=1;n<r;++n){var i=e[n];if(l(i,e[n-1])){if(n===t){t++;continue}e[t++]=i}}return e.length=t,e}function p(e,t){var r=0,n=e.length-1,i=-1;while(r<=n){var o=r+n>>1,a=l(e[o],t);a<=0?(0===a&&(i=o),r=o+1):a>0&&(n=o-1)}return i}function d(e,t){for(var r=new Array(e.length),i=0,o=r.length;i<o;++i)r[i]=[];for(var a=[],s=(i=0,t.length);i<s;++i)for(var u=t[i],c=u.length,f=1,d=1<<c;f<d;++f){a.length=n.popCount(f);for(var h=0,v=0;v<c;++v)f&1<<v&&(a[h++]=u[v]);var m=p(e,a);if(!(m<0))while(1)if(r[m++].push(i),m>=e.length||0!==l(e[m],a))break}return r}function h(e,t){if(!t)return d(f(m(e,0)),e,0);for(var r=new Array(t),n=0;n<t;++n)r[n]=[];n=0;for(var i=e.length;n<i;++n)for(var o=e[n],a=0,s=o.length;a<s;++a)r[o[a]].push(n);return r}function v(e){for(var t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0|i.length,a=1,s=1<<o;a<s;++a){for(var l=[],u=0;u<o;++u)a>>>u&1&&l.push(i[u]);t.push(l)}return c(t)}function m(e,t){if(t<0)return[];for(var r=[],i=(1<<t+1)-1,o=0;o<e.length;++o)for(var a=e[o],s=i;s<1<<a.length;s=n.nextCombination(s)){for(var l=new Array(t+1),u=0,f=0;f<a.length;++f)s&1<<f&&(l[u++]=a[f]);r.push(l)}return c(r)}function g(e){for(var t=[],r=0,n=e.length;r<n;++r)for(var i=e[r],o=0,a=i.length;o<a;++o){for(var s=new Array(i.length-1),l=0,u=0;l<a;++l)l!==o&&(s[u++]=i[l]);t.push(s)}return c(t)}function y(e,t){for(var r=new i(t),n=0;n<e.length;++n)for(var o=e[n],a=0;a<o.length;++a)for(var s=a+1;s<o.length;++s)r.link(o[a],o[s]);var l=[],u=r.ranks;for(n=0;n<u.length;++n)u[n]=-1;for(n=0;n<e.length;++n){var c=r.find(e[n][0]);u[c]<0?(u[c]=l.length,l.push([e[n].slice(0)])):l[u[c]].push(e[n].slice(0))}return l}function b(e){for(var t=f(c(m(e,0))),r=new i(t.length),n=0;n<e.length;++n)for(var o=e[n],a=0;a<o.length;++a)for(var s=p(t,[o[a]]),l=a+1;l<o.length;++l)r.link(s,p(t,[o[l]]));var u=[],d=r.ranks;for(n=0;n<d.length;++n)d[n]=-1;for(n=0;n<e.length;++n){var h=r.find(p(t,[e[n][0]]));d[h]<0?(d[h]=u.length,u.push([e[n].slice(0)])):u[d[h]].push(e[n].slice(0))}return u}function x(e,t){return t?y(e,t):b(e)}t.dimension=o,t.countVertices=a,t.cloneCells=s,t.compareCells=l,t.normalize=c,t.unique=f,t.findCell=p,t.incidence=d,t.dual=h,t.explode=v,t.skeleton=m,t.boundary=g,t.connectedComponents=x},ffd6:function(e,t,r){var n=r("3729"),i=r("1310"),o="[object Symbol]";function a(e){return"symbol"==typeof e||i(e)&&n(e)==o}e.exports=a},ffda:function(e,t,r){(function(e){e(r("56b3"))})((function(e){"use strict";function t(e){var t;while(null!=(t=e.next()))if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){var t;while(null!=(t=e.next()))if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function i(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}e.defineMode("sql",(function(t,r){var n=r.client||{},i=r.atoms||{false:!0,true:!0,null:!0},l=r.builtin||a(s),u=r.keywords||a(o),c=r.operatorChars||/^[*+\-%<>!=&|~^\/]/,f=r.support||{},p=r.hooks||{},d=r.dateSQL||{date:!0,time:!0,timestamp:!0},h=!1!==r.backslashStringEscapes,v=r.brackets||/^[\{}\(\)\[\]]/,m=r.punctuation||/^[;.,:]/;function g(e,t){var r=e.next();if(p[r]){var o=p[r](e,t);if(!1!==o)return o}if(f.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(f.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),f.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&f.doubleQuote)return t.tokenize=y(r),t.tokenize(e,t);if((f.nCharCast&&("n"==r||"N"==r)||f.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(f.escapeConstant&&("e"==r||"E"==r)&&("'"==e.peek()||'"'==e.peek()&&f.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=y(e.next(),!0))(e,t)},"keyword";if(f.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(f.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!f.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=b(1),t.tokenize(e,t);if("."!=r){if(c.test(r))return e.eatWhile(c),"operator";if(v.test(r))return"bracket";if(m.test(r))return e.eatWhile(m),"punctuation";if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var a=e.current().toLowerCase();return d.hasOwnProperty(a)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":i.hasOwnProperty(a)?"atom":l.hasOwnProperty(a)?"builtin":u.hasOwnProperty(a)?"keyword":n.hasOwnProperty(a)?"string-2":null}return f.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:f.ODBCdotTable&&e.match(/^[\w\d_$#]+/)?"variable-2":void 0}function y(e,t){return function(r,n){var i,o=!1;while(null!=(i=r.next())){if(i==e&&!o){n.tokenize=g;break}o=(h||t)&&!o&&"\\"==i}return"string"}}function b(e){return function(t,r){var n=t.match(/^.*?(\/\*|\*\/)/);return n?"/*"==n[1]?r.tokenize=b(e+1):r.tokenize=e>1?b(e-1):g:t.skipToEnd(),"comment"}}function x(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}function A(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:g,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==g&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var n=e.current();return"("==n?x(e,t,")"):"["==n?x(e,t,"]"):t.context&&t.context.type==n&&A(t),r},indent:function(r,n){var i=r.context;if(!i)return e.Pass;var o=n.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:f.commentSlashSlash?"//":f.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}}));var o="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function a(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}var s="bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric";e.defineMIME("text/x-sql",{name:"sql",keywords:a(o+"begin"),builtin:a(s),atoms:a("false true null unknown"),dateSQL:a("date time timestamp"),support:a("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:a("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"),keywords:a(o+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"),builtin:a("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:a("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:a("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":n}}),e.defineMIME("text/x-mysql",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(o+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":n,"`":t,"\\":i}}),e.defineMIME("text/x-mariadb",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(o+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":n,"`":t,"\\":i}}),e.defineMIME("text/x-sqlite",{name:"sql",client:a("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:a(o+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:a("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:a("date time timestamp datetime"),support:a("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":n,":":n,"?":n,$:n,'"':r,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:a("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:a("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:a("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:a("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:a("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:a("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:a("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:a("date time timestamp"),support:a("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:a("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:a("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:a("date timestamp"),support:a("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:a("source"),keywords:a(o+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),e.defineMIME("text/x-gql",{name:"sql",keywords:a("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:a("false true"),builtin:a("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:a("source"),keywords:a("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:a("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:a("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:a("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:a("source"),keywords:a("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:a("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("time"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber")})}))},ffda1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r("ab5b"),o=l(i),a=r("8a2b"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return o.default.createElement(s.default,n({viewBox:"0 0 32 32"},e),o.default.createElement("path",{d:"M3.563 15.313c-.688-.25-1.063-.438-1.063-.75 0-.25.188-.375.563-.375.75 0 1.438.25 1.938.5l.313-1.75c-.375-.188-1.188-.5-2.313-.5-.813 0-1.5.188-1.938.563-.5.438-.75 1-.75 1.75 0 1.25.75 1.813 2.063 2.25.813.313 1.063.5 1.063.875 0 .313-.25.438-.75.438-.563 0-1.563-.25-2.188-.625l-.313 1.75c.563.313 1.563.625 2.625.625.875 0 1.563-.188 2.063-.563.5-.438.75-1.063.75-1.813 0-1.313-.75-1.875-2.063-2.375zm7-2.75h-1.5v-2.125l-2 .313-.313 1.813-.688.125-.313 1.625h1v3.375c0 .938.25 1.5.688 1.875.375.313.938.5 1.75.5.563 0 .938-.125 1.188-.188v-1.813c-.125 0-.438.125-.688.125-.438 0-.625-.25-.625-.813v-3.063h1.188zm4.625-.063h-.438c-.625 0-1.188.313-1.375.938l-.188-.875h-2v7.375H13.5v-4.813c.313-.375.75-.438 1.313-.438h.375v-2.188zm1.75-3.125c-.688 0-1.25.563-1.25 1.188 0 .688.563 1.25 1.25 1.25s1.25-.5 1.25-1.25c0-.688-.563-1.188-1.25-1.188zm1.187 10.563v-7.375H15.75v7.375zm6.688-6.688c-.438-.563-1-.813-1.75-.813-.688 0-1.25.25-1.813.875l-.125-.75h-2.063v10.063l2.313-.375v-2.375c.375.125.75.188 1.063.188.563 0 1.438-.188 2.125-.875.625-.688.938-1.75.938-3.188 0-1.188-.25-2.188-.688-2.75zm-2 4.5c-.188.375-.438.563-.813.563-.188 0-.438-.063-.625-.125v-3.5c.438-.438.75-.5.875-.5.625 0 .938.688.938 1.938 0 .688-.125 1.25-.375 1.625zm8.625-4.312c-.5-.688-1.25-1-2.25-1-2 0-3.188 1.438-3.188 3.813 0 1.313.313 2.313.938 2.938.625.563 1.438.875 2.563.875 1 0 1.875-.25 2.5-.625l-.25-1.625c-.625.313-1.25.5-2 .5-.5 0-.813-.125-1-.313-.25-.188-.375-.563-.438-1h3.875v-.813c0-1.188-.25-2.125-.75-2.75zm-3.125 2.125c.063-1.063.313-1.563.875-1.563.5 0 .813.5.813 1.563z"}))};t.default=u}}]);
|
||
//# sourceMappingURL=chunk-vendors.bb2c58c6.js.map |